@adcp/sdk 16.6.1 → 16.7.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/CONTRIBUTING.md +1 -0
- package/bin/adcp.js +21 -8
- package/compliance/cache/3.1.32/domains/brand/index.yaml +160 -0
- package/compliance/cache/3.1.32/domains/brand/scenarios/distributed_brand_resolution.yaml +415 -0
- package/compliance/cache/3.1.32/domains/brand/scenarios/single_side_trust_extension.yaml +454 -0
- package/compliance/cache/3.1.32/domains/creative/index.yaml +355 -0
- package/compliance/cache/3.1.32/domains/creative/scenarios/billing_out_of_band.yaml +152 -0
- package/compliance/cache/3.1.32/domains/creative/scenarios/canonical_supported_formats.yaml +207 -0
- package/compliance/cache/3.1.32/domains/creative/scenarios/creative_lifecycle_webhooks.yaml +564 -0
- package/compliance/cache/3.1.32/domains/creative/scenarios/evaluator_auth.yaml +558 -0
- package/compliance/cache/3.1.32/domains/creative/scenarios/native_in_feed.yaml +544 -0
- package/compliance/cache/3.1.32/domains/governance/index.yaml +704 -0
- package/compliance/cache/3.1.32/domains/media-buy/index.yaml +760 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/audience_buy_flow.yaml +382 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/available_actions.yaml +638 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/billing_finality_delivery.yaml +358 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/canonical_custom_formats.yaml +207 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/canonical_experimental_formats.yaml +192 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/canonical_formats.yaml +750 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/clicks_buy_flow.yaml +264 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/completed_views_buy_flow.yaml +346 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/create_media_buy_async.yaml +248 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/creative_fate_after_cancellation.yaml +443 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/creative_reception.yaml +262 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/delivery_reporting.yaml +375 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/dependency_impairment.yaml +698 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/dependency_impairment_audience.yaml +318 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/dependency_impairment_cardinality.yaml +943 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/event_dedup_flow.yaml +399 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/frequency_cap_enforcement.yaml +309 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/get_products_async.yaml +441 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/governance_approved.yaml +242 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/governance_conditions.yaml +223 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/governance_denied.yaml +242 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/governance_denied_recovery.yaml +339 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/inline_creatives_without_sync.yaml +1157 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/invalid_transitions.yaml +287 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/inventory_list_no_match.yaml +228 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/inventory_list_targeting.yaml +274 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/measurement_accountability.yaml +358 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/measurement_terms_rejected.yaml +136 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/package_correlation_legacy_fallback.yaml +113 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/pending_creatives_to_start.yaml +308 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/per_creative_conversion_attribution.yaml +500 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/performance_buy_flow.yaml +428 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/performance_buy_flow_roas.yaml +470 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/pricing_currency_filter.yaml +258 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/product_filter_behavior.yaml +321 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/product_signal_targeting.yaml +379 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/proposal_finalize.yaml +399 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/proposal_finalize_asap_timing.yaml +264 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/proposal_not_found_errors.yaml +257 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/provenance_audit_observation.yaml +407 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/provenance_enforcement.yaml +586 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/provenance_truth_of_claim.yaml +356 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/reach_buy_flow.yaml +829 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/refine_finalize_exclusivity.yaml +407 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/refine_products.yaml +152 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/vendor_metric_accountability.yaml +400 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +323 -0
- package/compliance/cache/3.1.32/domains/media-buy/scenarios/vendor_metric_optimization_flow.yaml +580 -0
- package/compliance/cache/3.1.32/domains/media-buy/state-machine.yaml +519 -0
- package/compliance/cache/3.1.32/domains/signals/index.yaml +148 -0
- package/compliance/cache/3.1.32/domains/signals/scenarios/get_signals_async.yaml +430 -0
- package/compliance/cache/3.1.32/domains/sponsored-intelligence/index.yaml +256 -0
- package/compliance/cache/3.1.32/domains/sponsored-intelligence/sponsored-context-accountability.yaml +444 -0
- package/compliance/cache/3.1.32/index.json +367 -0
- package/compliance/cache/3.1.32/protocols/brand/index.yaml +160 -0
- package/compliance/cache/3.1.32/protocols/brand/scenarios/distributed_brand_resolution.yaml +415 -0
- package/compliance/cache/3.1.32/protocols/brand/scenarios/single_side_trust_extension.yaml +454 -0
- package/compliance/cache/3.1.32/protocols/creative/index.yaml +355 -0
- package/compliance/cache/3.1.32/protocols/creative/scenarios/billing_out_of_band.yaml +152 -0
- package/compliance/cache/3.1.32/protocols/creative/scenarios/canonical_supported_formats.yaml +207 -0
- package/compliance/cache/3.1.32/protocols/creative/scenarios/creative_lifecycle_webhooks.yaml +564 -0
- package/compliance/cache/3.1.32/protocols/creative/scenarios/evaluator_auth.yaml +558 -0
- package/compliance/cache/3.1.32/protocols/creative/scenarios/native_in_feed.yaml +544 -0
- package/compliance/cache/3.1.32/protocols/governance/index.yaml +704 -0
- package/compliance/cache/3.1.32/protocols/media-buy/index.yaml +760 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/audience_buy_flow.yaml +382 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/available_actions.yaml +638 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/billing_finality_delivery.yaml +358 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/canonical_custom_formats.yaml +207 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/canonical_experimental_formats.yaml +192 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/canonical_formats.yaml +750 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/clicks_buy_flow.yaml +264 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/completed_views_buy_flow.yaml +346 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/create_media_buy_async.yaml +248 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/creative_fate_after_cancellation.yaml +443 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/creative_reception.yaml +262 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/delivery_reporting.yaml +375 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/dependency_impairment.yaml +698 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/dependency_impairment_audience.yaml +318 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/dependency_impairment_cardinality.yaml +943 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/event_dedup_flow.yaml +399 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/frequency_cap_enforcement.yaml +309 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/get_products_async.yaml +441 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/governance_approved.yaml +242 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/governance_conditions.yaml +223 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/governance_denied.yaml +242 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/governance_denied_recovery.yaml +339 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/inline_creatives_without_sync.yaml +1157 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/invalid_transitions.yaml +287 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/inventory_list_no_match.yaml +228 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/inventory_list_targeting.yaml +274 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/measurement_accountability.yaml +358 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/measurement_terms_rejected.yaml +136 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/package_correlation_legacy_fallback.yaml +113 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/pending_creatives_to_start.yaml +308 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/per_creative_conversion_attribution.yaml +500 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/performance_buy_flow.yaml +428 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/performance_buy_flow_roas.yaml +470 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/pricing_currency_filter.yaml +258 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/product_filter_behavior.yaml +321 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/product_signal_targeting.yaml +379 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/proposal_finalize.yaml +399 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/proposal_finalize_asap_timing.yaml +264 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/proposal_not_found_errors.yaml +257 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/provenance_audit_observation.yaml +407 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/provenance_enforcement.yaml +586 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/provenance_truth_of_claim.yaml +356 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/reach_buy_flow.yaml +829 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/refine_finalize_exclusivity.yaml +407 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/refine_products.yaml +152 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/vendor_metric_accountability.yaml +400 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/vendor_metric_catalog_precondition.yaml +323 -0
- package/compliance/cache/3.1.32/protocols/media-buy/scenarios/vendor_metric_optimization_flow.yaml +580 -0
- package/compliance/cache/3.1.32/protocols/media-buy/state-machine.yaml +519 -0
- package/compliance/cache/3.1.32/protocols/signals/index.yaml +148 -0
- package/compliance/cache/3.1.32/protocols/signals/scenarios/get_signals_async.yaml +430 -0
- package/compliance/cache/3.1.32/protocols/sponsored-intelligence/index.yaml +256 -0
- package/compliance/cache/3.1.32/protocols/sponsored-intelligence/sponsored-context-accountability.yaml +444 -0
- package/compliance/cache/3.1.32/specialisms/audience-sync/index.yaml +321 -0
- package/compliance/cache/3.1.32/specialisms/brand-rights/index.yaml +358 -0
- package/compliance/cache/3.1.32/specialisms/brand-rights/scenarios/governance_denied.yaml +226 -0
- package/compliance/cache/3.1.32/specialisms/collection-lists/index.yaml +367 -0
- package/compliance/cache/3.1.32/specialisms/content-standards/index.yaml +580 -0
- package/compliance/cache/3.1.32/specialisms/creative-ad-server/index.yaml +417 -0
- package/compliance/cache/3.1.32/specialisms/creative-generative/generative-seller.yaml +772 -0
- package/compliance/cache/3.1.32/specialisms/creative-generative/index.yaml +766 -0
- package/compliance/cache/3.1.32/specialisms/creative-template/index.yaml +525 -0
- package/compliance/cache/3.1.32/specialisms/creative-transformers/index.yaml +439 -0
- package/compliance/cache/3.1.32/specialisms/governance-aware-seller/index.yaml +151 -0
- package/compliance/cache/3.1.32/specialisms/governance-aware-seller/scenarios/governance_multi_agent_rejected.yaml +117 -0
- package/compliance/cache/3.1.32/specialisms/governance-delivery-monitor/index.yaml +457 -0
- package/compliance/cache/3.1.32/specialisms/governance-spend-authority/denied.yaml +221 -0
- package/compliance/cache/3.1.32/specialisms/governance-spend-authority/index.yaml +338 -0
- package/compliance/cache/3.1.32/specialisms/property-lists/index.yaml +490 -0
- package/compliance/cache/3.1.32/specialisms/sales-broadcast-tv/index.yaml +714 -0
- package/compliance/cache/3.1.32/specialisms/sales-catalog-driven/index.yaml +809 -0
- package/compliance/cache/3.1.32/specialisms/sales-guaranteed/index.yaml +575 -0
- package/compliance/cache/3.1.32/specialisms/sales-non-guaranteed/index.yaml +519 -0
- package/compliance/cache/3.1.32/specialisms/sales-proposal-mode/index.yaml +598 -0
- package/compliance/cache/3.1.32/specialisms/sales-social/index.yaml +927 -0
- package/compliance/cache/3.1.32/specialisms/signal-marketplace/index.yaml +433 -0
- package/compliance/cache/3.1.32/specialisms/signal-marketplace/scenarios/governance_denied.yaml +174 -0
- package/compliance/cache/3.1.32/specialisms/signal-owned/index.yaml +204 -0
- package/compliance/cache/3.1.32/specialisms/sponsored-intelligence/index.yaml +59 -0
- package/compliance/cache/3.1.32/test-kits/acme-outdoor-live.yaml +78 -0
- package/compliance/cache/3.1.32/test-kits/acme-outdoor.yaml +233 -0
- package/compliance/cache/3.1.32/test-kits/billing-gate-runner.yaml +119 -0
- package/compliance/cache/3.1.32/test-kits/bistro-oranje.yaml +126 -0
- package/compliance/cache/3.1.32/test-kits/distributed-brand-runner.yaml +281 -0
- package/compliance/cache/3.1.32/test-kits/hosted-grader.yaml +56 -0
- package/compliance/cache/3.1.32/test-kits/nova-motors.yaml +262 -0
- package/compliance/cache/3.1.32/test-kits/osei-natural.yaml +126 -0
- package/compliance/cache/3.1.32/test-kits/parallel-dispatch-runner.yaml +196 -0
- package/compliance/cache/3.1.32/test-kits/rate-limit-trip-runner.yaml +180 -0
- package/compliance/cache/3.1.32/test-kits/signed-requests-runner.yaml +155 -0
- package/compliance/cache/3.1.32/test-kits/single-side-trust-runner.yaml +294 -0
- package/compliance/cache/3.1.32/test-kits/substitution-observer-runner.yaml +691 -0
- package/compliance/cache/3.1.32/test-kits/summit-foods.yaml +125 -0
- package/compliance/cache/3.1.32/test-kits/webhook-receiver-runner.yaml +271 -0
- package/compliance/cache/3.1.32/test-vectors/catalog-macro-substitution.json +96 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/001-minimal-plan.json +43 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/002-full-plan.json +217 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/003-bookkeeping-stripped.json +60 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/004a-human-review-omitted.json +43 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/004b-human-review-explicit-null.json +49 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/005a-policy-categories-order-1.json +53 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/005b-policy-categories-order-2.json +57 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/006a-ext-trace-v1.json +49 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/006b-ext-trace-v2.json +53 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/007-unicode-objectives.json +43 -0
- package/compliance/cache/3.1.32/test-vectors/plan-hash/008-numeric-canonicalization.json +65 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/README.md +220 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/canonicalization.json +241 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/keys.json +60 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/001-no-signature-header.json +24 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/002-wrong-tag.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/003-expired-signature.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/004-window-too-long.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/005-alg-not-allowed.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/006-missing-covered-component.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/007-missing-content-digest.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/008-unknown-keyid.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/009-key-ops-missing-verify.json +27 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/010-content-digest-mismatch.json +33 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/011-malformed-header.json +27 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/012-missing-expires-param.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/013-expires-le-created.json +27 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/014-missing-nonce-param.json +27 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/015-signature-invalid.json +28 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/016-replayed-nonce.json +35 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/017-key-revoked.json +38 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/018-digest-covered-when-forbidden.json +32 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/019-signature-without-signature-input.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/020-rate-abuse.json +34 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/021-duplicate-signature-input-label.json +31 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/022-multi-valued-content-type.json +31 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/023-multi-valued-content-digest.json +32 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/024-unquoted-string-param.json +31 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/025-jwk-alg-crv-mismatch.json +43 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/026-non-ascii-host.json +31 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/027-webhook-registration-authentication-unsigned.json +25 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/negative/028-unsigned-protocol-method-required.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/001-basic-post.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/002-post-with-content-digest.json +31 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/003-es256-post.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/004-multiple-signature-labels.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/005-default-port-stripped.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/006-dot-segment-path.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/007-query-byte-preserved.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/008-percent-encoded-path.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/009-percent-encoded-unreserved-decoded.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/010-percent-encoded-slash-preserved.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/011-ipv6-authority.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/request-signing/positive/012-ipv6-authority-default-port-stripped.json +30 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-receiver-envelope.json +135 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/README.md +215 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/keys.json +75 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/001-wrong-tag.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/002-expired-signature.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/003-window-too-long.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/004-alg-not-allowed.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/005-missing-authority-component.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/006-missing-content-digest.json +25 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/007-unknown-keyid.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/008-wrong-adcp-use.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/009-content-digest-mismatch.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/010-malformed-signature-input.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/011-signature-without-input.json +25 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/012-missing-expires-param.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/013-expires-le-created.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/014-missing-nonce-param.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/015-signature-invalid.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/016-replayed-nonce.json +37 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/017-key-revoked.json +32 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/018-rate-abuse.json +33 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/019-revocation-stale.json +32 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/020-key-ops-missing-verify.json +41 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/negative/021-base64-alphabet-mixing.json +26 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/positive/001-basic-post.json +24 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/positive/002-es256-post.json +24 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/positive/003-multiple-signature-labels.json +24 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/positive/004-default-port-stripped.json +24 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/positive/005-percent-encoded-path.json +24 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/positive/006-query-byte-preserved.json +24 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/positive/007-body-without-idempotency-key.json +25 -0
- package/compliance/cache/3.1.32/test-vectors/webhook-signing/positive/008-request-signing-key-reuse.json +24 -0
- package/compliance/cache/3.1.32/universal/billing-gate-dispatch.yaml +461 -0
- package/compliance/cache/3.1.32/universal/canonical-format-validate-input.yaml +650 -0
- package/compliance/cache/3.1.32/universal/capability-discovery.yaml +125 -0
- package/compliance/cache/3.1.32/universal/collection-lists-pagination-integrity.yaml +306 -0
- package/compliance/cache/3.1.32/universal/comply-controller-mode-gate.yaml +141 -0
- package/compliance/cache/3.1.32/universal/content-standards-pagination-integrity.yaml +326 -0
- package/compliance/cache/3.1.32/universal/deterministic-testing.yaml +1504 -0
- package/compliance/cache/3.1.32/universal/error-compliance-signals.yaml +377 -0
- package/compliance/cache/3.1.32/universal/error-compliance.yaml +528 -0
- package/compliance/cache/3.1.32/universal/fictional-entities.yaml +307 -0
- package/compliance/cache/3.1.32/universal/get-media-buys-pagination-integrity.yaml +163 -0
- package/compliance/cache/3.1.32/universal/get-products-pagination-integrity.yaml +292 -0
- package/compliance/cache/3.1.32/universal/get-signals-pagination-integrity.yaml +210 -0
- package/compliance/cache/3.1.32/universal/idempotency.yaml +811 -0
- package/compliance/cache/3.1.32/universal/notification-config-event-scope.yaml +119 -0
- package/compliance/cache/3.1.32/universal/notification-config-lifecycle.yaml +337 -0
- package/compliance/cache/3.1.32/universal/notification-config-rejections.yaml +107 -0
- package/compliance/cache/3.1.32/universal/pagination-integrity-creative-formats.yaml +268 -0
- package/compliance/cache/3.1.32/universal/pagination-integrity-list-accounts.yaml +317 -0
- package/compliance/cache/3.1.32/universal/pagination-integrity.yaml +276 -0
- package/compliance/cache/3.1.32/universal/property-lists-pagination-integrity.yaml +307 -0
- package/compliance/cache/3.1.32/universal/read-tool-idempotency.yaml +309 -0
- package/compliance/cache/3.1.32/universal/runner-output-contract.yaml +1465 -0
- package/compliance/cache/3.1.32/universal/schema-validation-signals.yaml +181 -0
- package/compliance/cache/3.1.32/universal/schema-validation.yaml +454 -0
- package/compliance/cache/3.1.32/universal/security.yaml +540 -0
- package/compliance/cache/3.1.32/universal/signed-requests.yaml +217 -0
- package/compliance/cache/3.1.32/universal/stale-response-advisory.yaml +303 -0
- package/compliance/cache/3.1.32/universal/storyboard-schema.yaml +2428 -0
- package/compliance/cache/3.1.32/universal/v3-envelope-integrity.yaml +117 -0
- package/compliance/cache/3.1.32/universal/version-negotiation.yaml +138 -0
- package/compliance/cache/3.1.32/universal/webhook-emission.yaml +877 -0
- package/compliance/cache/3.1.32/universal/webhook-receiver-envelope.yaml +129 -0
- package/compliance/cache/3.1.32/universal/wholesale-feed-bulk-webhooks.yaml +82 -0
- package/compliance/cache/3.1.32/universal/wholesale-feed-product-webhooks.yaml +83 -0
- package/compliance/cache/3.1.32/universal/wholesale-feed-products.yaml +151 -0
- package/compliance/cache/3.1.32/universal/wholesale-feed-signal-webhooks.yaml +83 -0
- package/compliance/cache/3.1.32/universal/wholesale-feed-signals.yaml +149 -0
- package/dist/lib/protocols/mcp-modern.js +2 -0
- package/dist/lib/protocols/mcp-modern.mjs +2 -0
- package/dist/lib/protocols/mcp-schema-validator.d.mts +13 -0
- package/dist/lib/protocols/mcp-schema-validator.d.ts +13 -0
- package/dist/lib/protocols/mcp-schema-validator.js +111 -0
- package/dist/lib/protocols/mcp-schema-validator.mjs +90 -0
- package/dist/lib/protocols/mcp.js +17 -7
- package/dist/lib/protocols/mcp.mjs +17 -7
- package/dist/lib/registry/types.generated.d.mts +4 -0
- package/dist/lib/registry/types.generated.d.ts +4 -0
- package/dist/lib/schemas-data/3.0/compliance/comply-test-controller-request.json +647 -0
- package/dist/lib/schemas-data/3.0/compliance/comply-test-controller-response.json +486 -0
- package/dist/lib/schemas-data/3.1/a2ui/bound-value.json +1 -1
- package/dist/lib/schemas-data/3.1/a2ui/component.json +1 -1
- package/dist/lib/schemas-data/3.1/a2ui/si-catalog.json +25 -25
- package/dist/lib/schemas-data/3.1/a2ui/surface.json +2 -2
- package/dist/lib/schemas-data/3.1/a2ui/user-action.json +1 -1
- package/dist/lib/schemas-data/3.1/aao/agent-publishers.json +1 -1
- package/dist/lib/schemas-data/3.1/account/get-account-financials-request.json +6 -6
- package/dist/lib/schemas-data/3.1/account/get-account-financials-response.json +12 -12
- package/dist/lib/schemas-data/3.1/account/list-accounts-request.json +6 -6
- package/dist/lib/schemas-data/3.1/account/list-accounts-response.json +8 -8
- package/dist/lib/schemas-data/3.1/account/report-usage-request.json +6 -6
- package/dist/lib/schemas-data/3.1/account/report-usage-response.json +6 -6
- package/dist/lib/schemas-data/3.1/account/sync-accounts-request.json +12 -12
- package/dist/lib/schemas-data/3.1/account/sync-accounts-response.json +16 -16
- package/dist/lib/schemas-data/3.1/account/sync-governance-request.json +6 -6
- package/dist/lib/schemas-data/3.1/account/sync-governance-response.json +10 -10
- package/dist/lib/schemas-data/3.1/adagents.json +29 -29
- package/dist/lib/schemas-data/3.1/brand/acquire-rights-request.json +10 -10
- package/dist/lib/schemas-data/3.1/brand/acquire-rights-response.json +16 -16
- package/dist/lib/schemas-data/3.1/brand/creative-approval-request.json +5 -5
- package/dist/lib/schemas-data/3.1/brand/creative-approval-response.json +12 -12
- package/dist/lib/schemas-data/3.1/brand/get-brand-identity-request.json +4 -4
- package/dist/lib/schemas-data/3.1/brand/get-brand-identity-response.json +10 -10
- package/dist/lib/schemas-data/3.1/brand/get-rights-request.json +8 -8
- package/dist/lib/schemas-data/3.1/brand/get-rights-response.json +11 -11
- package/dist/lib/schemas-data/3.1/brand/revocation-notification.json +4 -4
- package/dist/lib/schemas-data/3.1/brand/rights-pricing-option.json +5 -5
- package/dist/lib/schemas-data/3.1/brand/rights-terms.json +3 -3
- package/dist/lib/schemas-data/3.1/brand/search-brands-request.json +6 -6
- package/dist/lib/schemas-data/3.1/brand/search-brands-response.json +11 -11
- package/dist/lib/schemas-data/3.1/brand/update-rights-request.json +6 -6
- package/dist/lib/schemas-data/3.1/brand/update-rights-response.json +11 -11
- package/dist/lib/schemas-data/3.1/brand/verification-status.json +1 -1
- package/dist/lib/schemas-data/3.1/brand/verify-brand-claim-request.json +2 -2
- package/dist/lib/schemas-data/3.1/brand/verify-brand-claim-response.json +13 -13
- package/dist/lib/schemas-data/3.1/brand/verify-brand-claims-request.json +2 -2
- package/dist/lib/schemas-data/3.1/brand/verify-brand-claims-response.json +13 -13
- package/dist/lib/schemas-data/3.1/brand.json +21 -21
- package/dist/lib/schemas-data/3.1/bundled.schemas.br +0 -0
- package/dist/lib/schemas-data/3.1/collection/base-collection-source.json +3 -3
- package/dist/lib/schemas-data/3.1/collection/collection-list-changed-webhook.json +2 -2
- package/dist/lib/schemas-data/3.1/collection/collection-list-filters.json +7 -7
- package/dist/lib/schemas-data/3.1/collection/collection-list.json +5 -5
- package/dist/lib/schemas-data/3.1/collection/create-collection-list-request.json +8 -8
- package/dist/lib/schemas-data/3.1/collection/create-collection-list-response.json +6 -6
- package/dist/lib/schemas-data/3.1/collection/delete-collection-list-request.json +5 -5
- package/dist/lib/schemas-data/3.1/collection/delete-collection-list-response.json +5 -5
- package/dist/lib/schemas-data/3.1/collection/get-collection-list-request.json +5 -5
- package/dist/lib/schemas-data/3.1/collection/get-collection-list-response.json +12 -12
- package/dist/lib/schemas-data/3.1/collection/list-collection-lists-request.json +6 -6
- package/dist/lib/schemas-data/3.1/collection/list-collection-lists-response.json +7 -7
- package/dist/lib/schemas-data/3.1/collection/update-collection-list-request.json +8 -8
- package/dist/lib/schemas-data/3.1/collection/update-collection-list-response.json +6 -6
- package/dist/lib/schemas-data/3.1/compliance/comply-test-controller-request.json +1073 -0
- package/dist/lib/schemas-data/3.1/compliance/comply-test-controller-response.json +940 -0
- package/dist/lib/schemas-data/3.1/content-standards/artifact-webhook-payload.json +3 -3
- package/dist/lib/schemas-data/3.1/content-standards/artifact.json +7 -7
- package/dist/lib/schemas-data/3.1/content-standards/calibrate-content-request.json +5 -5
- package/dist/lib/schemas-data/3.1/content-standards/calibrate-content-response.json +10 -10
- package/dist/lib/schemas-data/3.1/content-standards/content-standards.json +7 -7
- package/dist/lib/schemas-data/3.1/content-standards/create-content-standards-request.json +8 -8
- package/dist/lib/schemas-data/3.1/content-standards/create-content-standards-response.json +8 -8
- package/dist/lib/schemas-data/3.1/content-standards/get-content-standards-request.json +4 -4
- package/dist/lib/schemas-data/3.1/content-standards/get-content-standards-response.json +9 -9
- package/dist/lib/schemas-data/3.1/content-standards/get-media-buy-artifacts-request.json +5 -5
- package/dist/lib/schemas-data/3.1/content-standards/get-media-buy-artifacts-response.json +10 -10
- package/dist/lib/schemas-data/3.1/content-standards/list-content-standards-request.json +6 -6
- package/dist/lib/schemas-data/3.1/content-standards/list-content-standards-response.json +10 -10
- package/dist/lib/schemas-data/3.1/content-standards/update-content-standards-request.json +8 -8
- package/dist/lib/schemas-data/3.1/content-standards/update-content-standards-response.json +8 -8
- package/dist/lib/schemas-data/3.1/content-standards/validate-content-delivery-request.json +5 -5
- package/dist/lib/schemas-data/3.1/content-standards/validate-content-delivery-response.json +10 -10
- package/dist/lib/schemas-data/3.1/core/account-authorization.json +1 -1
- package/dist/lib/schemas-data/3.1/core/account-ref.json +2 -2
- package/dist/lib/schemas-data/3.1/core/account-with-authorization.json +3 -3
- package/dist/lib/schemas-data/3.1/core/account.json +10 -10
- package/dist/lib/schemas-data/3.1/core/activation-key.json +1 -1
- package/dist/lib/schemas-data/3.1/core/ad-inventory-config.json +1 -1
- package/dist/lib/schemas-data/3.1/core/agent-encryption-key.json +1 -1
- package/dist/lib/schemas-data/3.1/core/agent-signing-key.json +1 -1
- package/dist/lib/schemas-data/3.1/core/app-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/asset-group-vocabulary.json +1 -1
- package/dist/lib/schemas-data/3.1/core/assets/asset-union.json +21 -21
- package/dist/lib/schemas-data/3.1/core/assets/audio-asset.json +3 -3
- package/dist/lib/schemas-data/3.1/core/assets/brief-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/card-asset.json +6 -6
- package/dist/lib/schemas-data/3.1/core/assets/catalog-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/css-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/daast-asset.json +5 -5
- package/dist/lib/schemas-data/3.1/core/assets/daast-tracker-asset.json +4 -4
- package/dist/lib/schemas-data/3.1/core/assets/html-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/image-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/javascript-asset.json +3 -3
- package/dist/lib/schemas-data/3.1/core/assets/markdown-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/pixel-tracker-asset.json +3 -3
- package/dist/lib/schemas-data/3.1/core/assets/published-post-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/text-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/assets/url-asset.json +4 -4
- package/dist/lib/schemas-data/3.1/core/assets/vast-asset.json +5 -5
- package/dist/lib/schemas-data/3.1/core/assets/vast-tracker-asset.json +4 -4
- package/dist/lib/schemas-data/3.1/core/assets/video-asset.json +7 -7
- package/dist/lib/schemas-data/3.1/core/assets/webhook-asset.json +7 -7
- package/dist/lib/schemas-data/3.1/core/assets/zip-asset.json +2 -2
- package/dist/lib/schemas-data/3.1/core/async-response-data.json +29 -29
- package/dist/lib/schemas-data/3.1/core/async-response-refs/creative/sync-creatives-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/creative/sync-creatives-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/creative/sync-creatives-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/build-creative-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/build-creative-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/build-creative-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/create-media-buy-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/create-media-buy-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/create-media-buy-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/get-products-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/get-products-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/get-products-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/sync-catalogs-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/sync-catalogs-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/sync-catalogs-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/update-media-buy-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/update-media-buy-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/media-buy/update-media-buy-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/async-response-refs/signals/get-signals-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/core/async-response-refs/signals/get-signals-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/core/attribution-window.json +4 -4
- package/dist/lib/schemas-data/3.1/core/audience-member.json +3 -3
- package/dist/lib/schemas-data/3.1/core/audience-selector.json +7 -7
- package/dist/lib/schemas-data/3.1/core/authorized-agent-base.json +3 -3
- package/dist/lib/schemas-data/3.1/core/brand-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/brand-ref.json +3 -3
- package/dist/lib/schemas-data/3.1/core/business-entity.json +2 -2
- package/dist/lib/schemas-data/3.1/core/cancellation-policy.json +2 -2
- package/dist/lib/schemas-data/3.1/core/canonical-format-kind.json +1 -1
- package/dist/lib/schemas-data/3.1/core/canonical-projection-ref.json +3 -3
- package/dist/lib/schemas-data/3.1/core/canonical-projection-slot-override.json +1 -1
- package/dist/lib/schemas-data/3.1/core/catalog-field-mapping.json +2 -2
- package/dist/lib/schemas-data/3.1/core/catalog-item-delivery-metrics.json +3 -3
- package/dist/lib/schemas-data/3.1/core/catalog.json +7 -7
- package/dist/lib/schemas-data/3.1/core/catchment.json +5 -5
- package/dist/lib/schemas-data/3.1/core/collection-distribution.json +2 -2
- package/dist/lib/schemas-data/3.1/core/collection-list-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/collection-selector.json +1 -1
- package/dist/lib/schemas-data/3.1/core/collection.json +13 -13
- package/dist/lib/schemas-data/3.1/core/committed-metric.json +9 -9
- package/dist/lib/schemas-data/3.1/core/content-rating.json +2 -2
- package/dist/lib/schemas-data/3.1/core/context.json +1 -1
- package/dist/lib/schemas-data/3.1/core/creative-asset.json +10 -10
- package/dist/lib/schemas-data/3.1/core/creative-assignment.json +2 -2
- package/dist/lib/schemas-data/3.1/core/creative-brief.json +4 -4
- package/dist/lib/schemas-data/3.1/core/creative-consumption.json +1 -1
- package/dist/lib/schemas-data/3.1/core/creative-delivery-metrics.json +2 -2
- package/dist/lib/schemas-data/3.1/core/creative-filters.json +5 -5
- package/dist/lib/schemas-data/3.1/core/creative-item.json +1 -1
- package/dist/lib/schemas-data/3.1/core/creative-manifest.json +11 -11
- package/dist/lib/schemas-data/3.1/core/creative-policy.json +3 -3
- package/dist/lib/schemas-data/3.1/core/creative-variable.json +1 -1
- package/dist/lib/schemas-data/3.1/core/creative-variant.json +5 -5
- package/dist/lib/schemas-data/3.1/core/data-provider-signal-selector.json +1 -1
- package/dist/lib/schemas-data/3.1/core/date-range.json +1 -1
- package/dist/lib/schemas-data/3.1/core/datetime-range.json +1 -1
- package/dist/lib/schemas-data/3.1/core/daypart-target.json +2 -2
- package/dist/lib/schemas-data/3.1/core/deadline-policy.json +1 -1
- package/dist/lib/schemas-data/3.1/core/delivery-forecast.json +7 -7
- package/dist/lib/schemas-data/3.1/core/delivery-metric-aggregate.json +9 -9
- package/dist/lib/schemas-data/3.1/core/delivery-metrics.json +8 -8
- package/dist/lib/schemas-data/3.1/core/deployment.json +3 -3
- package/dist/lib/schemas-data/3.1/core/destination-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/destination.json +1 -1
- package/dist/lib/schemas-data/3.1/core/diagnostic-issue.json +1 -1
- package/dist/lib/schemas-data/3.1/core/downstream-connection-requirement.json +1 -1
- package/dist/lib/schemas-data/3.1/core/duration.json +1 -1
- package/dist/lib/schemas-data/3.1/core/education-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/error.json +1 -1
- package/dist/lib/schemas-data/3.1/core/evaluator-spec.json +5 -5
- package/dist/lib/schemas-data/3.1/core/event-custom-data.json +2 -2
- package/dist/lib/schemas-data/3.1/core/event-source-health.json +3 -3
- package/dist/lib/schemas-data/3.1/core/event-surface.json +2 -2
- package/dist/lib/schemas-data/3.1/core/event.json +8 -8
- package/dist/lib/schemas-data/3.1/core/ext.json +1 -1
- package/dist/lib/schemas-data/3.1/core/feature-requirement.json +1 -1
- package/dist/lib/schemas-data/3.1/core/flight-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-audience.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-device-platform.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-device-type.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-geo.json +5 -5
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-placement.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-dimension-signal.json +2 -2
- package/dist/lib/schemas-data/3.1/core/forecast-point-dimensions.json +7 -7
- package/dist/lib/schemas-data/3.1/core/forecast-point.json +27 -27
- package/dist/lib/schemas-data/3.1/core/forecast-range.json +1 -1
- package/dist/lib/schemas-data/3.1/core/forecast-vendor-metric-value.json +5 -5
- package/dist/lib/schemas-data/3.1/core/format-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/format-option-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/format-shape-vocabulary.json +1 -1
- package/dist/lib/schemas-data/3.1/core/format.json +45 -45
- package/dist/lib/schemas-data/3.1/core/frequency-cap.json +4 -4
- package/dist/lib/schemas-data/3.1/core/generation-credential.json +3 -3
- package/dist/lib/schemas-data/3.1/core/geo-breakdown-support.json +3 -3
- package/dist/lib/schemas-data/3.1/core/geo-delivery-metrics.json +6 -6
- package/dist/lib/schemas-data/3.1/core/hotel-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/identifier.json +2 -2
- package/dist/lib/schemas-data/3.1/core/impairment.json +3 -3
- package/dist/lib/schemas-data/3.1/core/industry-identifier.json +2 -2
- package/dist/lib/schemas-data/3.1/core/insertion-order.json +1 -1
- package/dist/lib/schemas-data/3.1/core/installment-deadlines.json +2 -2
- package/dist/lib/schemas-data/3.1/core/installment.json +9 -9
- package/dist/lib/schemas-data/3.1/core/job-item.json +3 -3
- package/dist/lib/schemas-data/3.1/core/keyword-delivery-metrics.json +3 -3
- package/dist/lib/schemas-data/3.1/core/limited-series.json +1 -1
- package/dist/lib/schemas-data/3.1/core/macro-bearing-url.json +1 -1
- package/dist/lib/schemas-data/3.1/core/material-deadline.json +1 -1
- package/dist/lib/schemas-data/3.1/core/mcp-webhook-payload.json +5 -5
- package/dist/lib/schemas-data/3.1/core/measurement-readiness.json +5 -5
- package/dist/lib/schemas-data/3.1/core/measurement-terms.json +3 -3
- package/dist/lib/schemas-data/3.1/core/measurement-window.json +1 -1
- package/dist/lib/schemas-data/3.1/core/media-buy-available-action.json +4 -4
- package/dist/lib/schemas-data/3.1/core/media-buy-features.json +1 -1
- package/dist/lib/schemas-data/3.1/core/media-buy.json +10 -10
- package/dist/lib/schemas-data/3.1/core/missing-metric.json +9 -9
- package/dist/lib/schemas-data/3.1/core/notification-config.json +4 -4
- package/dist/lib/schemas-data/3.1/core/offering-asset-group.json +16 -16
- package/dist/lib/schemas-data/3.1/core/offering.json +5 -5
- package/dist/lib/schemas-data/3.1/core/optimization-goal.json +7 -7
- package/dist/lib/schemas-data/3.1/core/outcome-measurement.json +2 -2
- package/dist/lib/schemas-data/3.1/core/overlay.json +1 -1
- package/dist/lib/schemas-data/3.1/core/package-signal-targeting-group.json +2 -2
- package/dist/lib/schemas-data/3.1/core/package-signal-targeting-groups.json +2 -2
- package/dist/lib/schemas-data/3.1/core/package-signal-targeting.json +3 -3
- package/dist/lib/schemas-data/3.1/core/package.json +17 -17
- package/dist/lib/schemas-data/3.1/core/pagination-request.json +1 -1
- package/dist/lib/schemas-data/3.1/core/pagination-response.json +1 -1
- package/dist/lib/schemas-data/3.1/core/performance-feedback.json +12 -12
- package/dist/lib/schemas-data/3.1/core/performance-standard.json +4 -4
- package/dist/lib/schemas-data/3.1/core/placement-definition.json +10 -10
- package/dist/lib/schemas-data/3.1/core/placement-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/placement.json +7 -7
- package/dist/lib/schemas-data/3.1/core/planned-delivery.json +5 -5
- package/dist/lib/schemas-data/3.1/core/platform-extension-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/postal-area-support.json +2 -2
- package/dist/lib/schemas-data/3.1/core/postal-area.json +4 -4
- package/dist/lib/schemas-data/3.1/core/postal-country-system.json +2 -2
- package/dist/lib/schemas-data/3.1/core/price.json +1 -1
- package/dist/lib/schemas-data/3.1/core/pricing-option.json +10 -10
- package/dist/lib/schemas-data/3.1/core/product-allocation.json +4 -4
- package/dist/lib/schemas-data/3.1/core/product-allowed-action.json +5 -5
- package/dist/lib/schemas-data/3.1/core/product-filters.json +27 -27
- package/dist/lib/schemas-data/3.1/core/product-format-declaration.json +16 -16
- package/dist/lib/schemas-data/3.1/core/product-signal-targeting-option.json +3 -3
- package/dist/lib/schemas-data/3.1/core/product.json +40 -40
- package/dist/lib/schemas-data/3.1/core/property-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/property-list-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/property-tag.json +1 -1
- package/dist/lib/schemas-data/3.1/core/property.json +6 -6
- package/dist/lib/schemas-data/3.1/core/proposal.json +6 -6
- package/dist/lib/schemas-data/3.1/core/protocol-envelope.json +5 -5
- package/dist/lib/schemas-data/3.1/core/provenance.json +9 -9
- package/dist/lib/schemas-data/3.1/core/publisher-property-selector.json +3 -3
- package/dist/lib/schemas-data/3.1/core/push-notification-config.json +2 -2
- package/dist/lib/schemas-data/3.1/core/real-estate-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/reference-asset.json +1 -1
- package/dist/lib/schemas-data/3.1/core/registry-event.json +14 -14
- package/dist/lib/schemas-data/3.1/core/registry-feed-response.json +2 -2
- package/dist/lib/schemas-data/3.1/core/reporting-capabilities.json +8 -8
- package/dist/lib/schemas-data/3.1/core/reporting-webhook.json +3 -3
- package/dist/lib/schemas-data/3.1/core/requirements/asset-requirements.json +13 -13
- package/dist/lib/schemas-data/3.1/core/requirements/audio-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/catalog-field-binding.json +4 -4
- package/dist/lib/schemas-data/3.1/core/requirements/catalog-requirements.json +5 -5
- package/dist/lib/schemas-data/3.1/core/requirements/css-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/daast-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/html-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/image-asset-requirements.json +2 -2
- package/dist/lib/schemas-data/3.1/core/requirements/javascript-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/markdown-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/offering-asset-constraint.json +4 -4
- package/dist/lib/schemas-data/3.1/core/requirements/text-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/url-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/vast-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/requirements/video-asset-requirements.json +6 -6
- package/dist/lib/schemas-data/3.1/core/requirements/webhook-asset-requirements.json +1 -1
- package/dist/lib/schemas-data/3.1/core/response-payload-jws-envelope.json +1 -1
- package/dist/lib/schemas-data/3.1/core/response.json +1 -1
- package/dist/lib/schemas-data/3.1/core/rights-constraint.json +4 -4
- package/dist/lib/schemas-data/3.1/core/seller-agent-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-coverage-forecast.json +5 -5
- package/dist/lib/schemas-data/3.1/core/signal-definition-enrichment.json +4 -4
- package/dist/lib/schemas-data/3.1/core/signal-definition.json +5 -5
- package/dist/lib/schemas-data/3.1/core/signal-filters.json +3 -3
- package/dist/lib/schemas-data/3.1/core/signal-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-listing.json +4 -4
- package/dist/lib/schemas-data/3.1/core/signal-modeling-disclosure.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-pricing-option.json +2 -2
- package/dist/lib/schemas-data/3.1/core/signal-pricing.json +6 -6
- package/dist/lib/schemas-data/3.1/core/signal-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-selection-group-rule.json +1 -1
- package/dist/lib/schemas-data/3.1/core/signal-targeting-expression.json +4 -4
- package/dist/lib/schemas-data/3.1/core/signal-targeting-rules.json +2 -2
- package/dist/lib/schemas-data/3.1/core/signal-targeting.json +7 -7
- package/dist/lib/schemas-data/3.1/core/sla-window.json +1 -1
- package/dist/lib/schemas-data/3.1/core/special.json +2 -2
- package/dist/lib/schemas-data/3.1/core/start-timing.json +1 -1
- package/dist/lib/schemas-data/3.1/core/store-item.json +3 -3
- package/dist/lib/schemas-data/3.1/core/talent.json +2 -2
- package/dist/lib/schemas-data/3.1/core/targeting.json +22 -22
- package/dist/lib/schemas-data/3.1/core/tasks-get-request.json +5 -5
- package/dist/lib/schemas-data/3.1/core/tasks-get-response.json +10 -10
- package/dist/lib/schemas-data/3.1/core/tasks-list-request.json +13 -13
- package/dist/lib/schemas-data/3.1/core/tasks-list-response.json +8 -8
- package/dist/lib/schemas-data/3.1/core/transformer-param.json +1 -1
- package/dist/lib/schemas-data/3.1/core/transformer.json +5 -5
- package/dist/lib/schemas-data/3.1/core/truncation-sentinel.json +1 -1
- package/dist/lib/schemas-data/3.1/core/user-match.json +3 -3
- package/dist/lib/schemas-data/3.1/core/vehicle-item.json +4 -4
- package/dist/lib/schemas-data/3.1/core/vendor-metric-id.json +1 -1
- package/dist/lib/schemas-data/3.1/core/vendor-metric-optimization-supported-metric.json +3 -3
- package/dist/lib/schemas-data/3.1/core/vendor-metric-optimization.json +2 -2
- package/dist/lib/schemas-data/3.1/core/vendor-metric-value.json +3 -3
- package/dist/lib/schemas-data/3.1/core/vendor-pricing-option.json +3 -3
- package/dist/lib/schemas-data/3.1/core/version-envelope.json +1 -1
- package/dist/lib/schemas-data/3.1/core/webhook-activity-record.json +3 -3
- package/dist/lib/schemas-data/3.1/core/webhook-challenge-response.json +1 -1
- package/dist/lib/schemas-data/3.1/core/webhook-challenge.json +2 -2
- package/dist/lib/schemas-data/3.1/core/wholesale-feed-event.json +17 -17
- package/dist/lib/schemas-data/3.1/core/wholesale-feed-webhook.json +3 -3
- package/dist/lib/schemas-data/3.1/core/x-entity-types.json +1 -1
- package/dist/lib/schemas-data/3.1/creative/asset-types/index.json +6 -6
- package/dist/lib/schemas-data/3.1/creative/audit-observation.json +2 -2
- package/dist/lib/schemas-data/3.1/creative/creative-feature-result.json +2 -2
- package/dist/lib/schemas-data/3.1/creative/creative-purged-webhook.json +3 -3
- package/dist/lib/schemas-data/3.1/creative/creative-status-changed-webhook.json +4 -4
- package/dist/lib/schemas-data/3.1/creative/get-creative-delivery-request.json +6 -6
- package/dist/lib/schemas-data/3.1/creative/get-creative-delivery-response.json +9 -9
- package/dist/lib/schemas-data/3.1/creative/get-creative-features-request.json +6 -6
- package/dist/lib/schemas-data/3.1/creative/get-creative-features-response.json +11 -11
- package/dist/lib/schemas-data/3.1/creative/list-creative-formats-request.json +13 -13
- package/dist/lib/schemas-data/3.1/creative/list-creative-formats-response.json +9 -9
- package/dist/lib/schemas-data/3.1/creative/list-creatives-request.json +9 -9
- package/dist/lib/schemas-data/3.1/creative/list-creatives-response.json +21 -21
- package/dist/lib/schemas-data/3.1/creative/list-transformers-request.json +8 -8
- package/dist/lib/schemas-data/3.1/creative/list-transformers-response.json +8 -8
- package/dist/lib/schemas-data/3.1/creative/preview-creative-request.json +12 -12
- package/dist/lib/schemas-data/3.1/creative/preview-creative-response.json +14 -14
- package/dist/lib/schemas-data/3.1/creative/preview-render.json +1 -1
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-request.json +8 -8
- package/dist/lib/schemas-data/3.1/creative/sync-creatives-response.json +15 -15
- package/dist/lib/schemas-data/3.1/creative/validate-input-request.json +4 -4
- package/dist/lib/schemas-data/3.1/creative/validate-input-response.json +4 -4
- package/dist/lib/schemas-data/3.1/creative/validate-input-result.json +1 -1
- package/dist/lib/schemas-data/3.1/creative/video-brief.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/account-scope.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/account-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/action-not-allowed-reason.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/action-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/adcp-protocol.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/adjustment-kind.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/advertiser-industry.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/age-verification-method.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/assessment-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/asset-content-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/attestation-claim.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/attribution-methodology.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/attribution-model.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/audience-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/audience-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/audio-channel-layout.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/audio-distribution-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/auth-scheme.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/available-metric.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/billing-party.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/binary-verdict.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/brand-agent-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/c2pa-watermark-action.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/canceled-by.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/catalog-action.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/catalog-item-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/catalog-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/channels.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/cloud-storage-protocol.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/co-branding-requirement.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/collection-cadence.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/collection-kind.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/collection-relationship.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/collection-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/completion-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/consent-basis.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/content-id-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/content-rating-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-action.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-agent-capability.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-approval-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-event-reason-code.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-identifier-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-quality.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-selection-strategy.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-sort-field.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/creative-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/daast-tracking-event.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/daast-version.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/day-of-week.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/delegation-authority.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/delivery-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/demographic-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/derivative-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/device-platform.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/device-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/digital-source-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/dimension-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/disclosure-persistence.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/disclosure-position.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/distance-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/distribution-identifier-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/embedded-provenance-method.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/error-code.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/error-scope.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/escalation-severity.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/event-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/exclusivity.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/feature-check-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/feed-format.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/feedback-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/forecast-method.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/forecast-range-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/forecastable-metric.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/format-id-parameter.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/frame-rate-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/frequency-cap-scope.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/genre-taxonomy.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/geo-level.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/gop-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/governance-decision.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/governance-domain.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/governance-mode.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/governance-phase.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/history-entry-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/http-method.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/identifier-types.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/impairment-offline-state.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/impairment-reason-code.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/installment-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/javascript-module-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/landing-page-requirement.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/legacy-postal-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/lift-dimension.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/logo-slot.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/makegood-remedy.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/markdown-flavor.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/match-id-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/match-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/media-buy-action-mode.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/media-buy-health.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/media-buy-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/media-buy-valid-action.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/metric-scope.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/metric-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/metro-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/moov-atom-position.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/notification-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/offering-availability-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/outcome-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/pacing.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/payment-terms.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/performance-standard-metric.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/policy-category.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/policy-enforcement.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/postal-system.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/preview-output-format.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/pricing-model.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/production-quality.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/property-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/proposal-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/publisher-identifier-types.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/purchase-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/reach-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/reporting-frequency.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/response-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/restricted-attribute.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/right-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/right-use.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/rights-billing-period.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/scan-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/si-session-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/signal-catalog-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/signal-source.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/signal-value-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/snapshot-unavailable-reason.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/social-placement-surface.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/sort-direction.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/sort-metric.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/special-category.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/specialism.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/sponsored-placement-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/talent-role.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/task-status.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/task-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/transport-mode.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/travel-time-unit.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/uid-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/universal-macro.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/update-frequency.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/url-asset-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/validation-mode.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/vast-tracking-event.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/vast-version.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/video-placement-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/viewability-standard.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/watermark-media-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/wcag-level.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/webhook-response-type.json +1 -1
- package/dist/lib/schemas-data/3.1/enums/webhook-security-method.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/account-setup-required.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/action-not-allowed.json +4 -4
- package/dist/lib/schemas-data/3.1/error-details/agent-permission-denied.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/audience-too-small.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/authorization-required.json +3 -3
- package/dist/lib/schemas-data/3.1/error-details/billing-not-permitted-for-agent.json +3 -3
- package/dist/lib/schemas-data/3.1/error-details/billing-not-supported.json +2 -2
- package/dist/lib/schemas-data/3.1/error-details/budget-too-low.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/conflict.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/creative-rejected.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/policy-violation.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/rate-limited.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/stale-response.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/vendor-error-codes.json +1 -1
- package/dist/lib/schemas-data/3.1/error-details/version-unsupported.json +2 -2
- package/dist/lib/schemas-data/3.1/extensions/extension-meta.json +1 -1
- package/dist/lib/schemas-data/3.1/extensions/index.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/_base.json +5 -5
- package/dist/lib/schemas-data/3.1/formats/canonical/agent_placement.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/audio_daast.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/audio_hosted.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/display_tag.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/html5.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/image.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/image_carousel.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/native_in_feed.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/responsive_creative.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/sponsored_placement.json +3 -3
- package/dist/lib/schemas-data/3.1/formats/canonical/video_hosted.json +2 -2
- package/dist/lib/schemas-data/3.1/formats/canonical/video_vast.json +2 -2
- package/dist/lib/schemas-data/3.1/governance/attribute-definition.json +1 -1
- package/dist/lib/schemas-data/3.1/governance/audience-constraints.json +3 -3
- package/dist/lib/schemas-data/3.1/governance/check-governance-request.json +8 -8
- package/dist/lib/schemas-data/3.1/governance/check-governance-response.json +7 -7
- package/dist/lib/schemas-data/3.1/governance/get-plan-audit-logs-request.json +5 -5
- package/dist/lib/schemas-data/3.1/governance/get-plan-audit-logs-response.json +11 -11
- package/dist/lib/schemas-data/3.1/governance/policy-category-definition.json +2 -2
- package/dist/lib/schemas-data/3.1/governance/policy-entry.json +6 -6
- package/dist/lib/schemas-data/3.1/governance/policy-ref.json +1 -1
- package/dist/lib/schemas-data/3.1/governance/report-plan-outcome-request.json +7 -7
- package/dist/lib/schemas-data/3.1/governance/report-plan-outcome-response.json +5 -5
- package/dist/lib/schemas-data/3.1/governance/sync-plans-request.json +14 -14
- package/dist/lib/schemas-data/3.1/governance/sync-plans-response.json +6 -6
- package/dist/lib/schemas-data/3.1/index.json +443 -443
- package/dist/lib/schemas-data/3.1/manifest.json +3 -3
- package/dist/lib/schemas-data/3.1/manifest.schema.json +1 -1
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-request.json +16 -16
- package/dist/lib/schemas-data/3.1/media-buy/build-creative-response.json +35 -35
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-request.json +13 -13
- package/dist/lib/schemas-data/3.1/media-buy/create-media-buy-response.json +19 -19
- package/dist/lib/schemas-data/3.1/media-buy/get-media-buy-delivery-request.json +23 -23
- package/dist/lib/schemas-data/3.1/media-buy/get-media-buy-delivery-response.json +27 -27
- package/dist/lib/schemas-data/3.1/media-buy/get-media-buys-request.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/get-media-buys-response.json +30 -30
- package/dist/lib/schemas-data/3.1/media-buy/get-products-async-response-input-required.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/get-products-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/get-products-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/get-products-request.json +13 -13
- package/dist/lib/schemas-data/3.1/media-buy/get-products-response.json +10 -10
- package/dist/lib/schemas-data/3.1/media-buy/list-creative-formats-request.json +13 -13
- package/dist/lib/schemas-data/3.1/media-buy/list-creative-formats-response.json +9 -9
- package/dist/lib/schemas-data/3.1/media-buy/log-event-request.json +5 -5
- package/dist/lib/schemas-data/3.1/media-buy/log-event-response.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/media-buy-delivery-webhook-result.json +9 -9
- package/dist/lib/schemas-data/3.1/media-buy/package-request.json +23 -23
- package/dist/lib/schemas-data/3.1/media-buy/package-update.json +13 -13
- package/dist/lib/schemas-data/3.1/media-buy/provide-performance-feedback-request.json +7 -7
- package/dist/lib/schemas-data/3.1/media-buy/provide-performance-feedback-response.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/sync-audiences-request.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/sync-audiences-response.json +14 -14
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-request.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/sync-catalogs-response.json +14 -14
- package/dist/lib/schemas-data/3.1/media-buy/sync-event-sources-request.json +8 -8
- package/dist/lib/schemas-data/3.1/media-buy/sync-event-sources-response.json +14 -14
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-async-response-input-required.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-request.json +11 -11
- package/dist/lib/schemas-data/3.1/media-buy/update-media-buy-response.json +17 -17
- package/dist/lib/schemas-data/3.1/pricing-options/cpa-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/cpc-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/cpcv-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/cpm-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/cpp-option.json +5 -5
- package/dist/lib/schemas-data/3.1/pricing-options/cpv-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/flat-rate-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/price-breakdown.json +2 -2
- package/dist/lib/schemas-data/3.1/pricing-options/price-guidance.json +1 -1
- package/dist/lib/schemas-data/3.1/pricing-options/time-option.json +4 -4
- package/dist/lib/schemas-data/3.1/pricing-options/vcpm-option.json +4 -4
- package/dist/lib/schemas-data/3.1/property/authorization-result.json +1 -1
- package/dist/lib/schemas-data/3.1/property/base-property-source.json +4 -4
- package/dist/lib/schemas-data/3.1/property/create-property-list-request.json +8 -8
- package/dist/lib/schemas-data/3.1/property/create-property-list-response.json +6 -6
- package/dist/lib/schemas-data/3.1/property/delete-property-list-request.json +5 -5
- package/dist/lib/schemas-data/3.1/property/delete-property-list-response.json +5 -5
- package/dist/lib/schemas-data/3.1/property/delivery-record.json +3 -3
- package/dist/lib/schemas-data/3.1/property/get-property-list-request.json +5 -5
- package/dist/lib/schemas-data/3.1/property/get-property-list-response.json +9 -9
- package/dist/lib/schemas-data/3.1/property/list-property-lists-request.json +6 -6
- package/dist/lib/schemas-data/3.1/property/list-property-lists-response.json +7 -7
- package/dist/lib/schemas-data/3.1/property/property-error.json +2 -2
- package/dist/lib/schemas-data/3.1/property/property-feature-definition.json +2 -2
- package/dist/lib/schemas-data/3.1/property/property-feature-result.json +4 -4
- package/dist/lib/schemas-data/3.1/property/property-feature-value.json +2 -2
- package/dist/lib/schemas-data/3.1/property/property-feature.json +1 -1
- package/dist/lib/schemas-data/3.1/property/property-list-changed-webhook.json +2 -2
- package/dist/lib/schemas-data/3.1/property/property-list-filters.json +5 -5
- package/dist/lib/schemas-data/3.1/property/property-list.json +6 -6
- package/dist/lib/schemas-data/3.1/property/update-property-list-request.json +8 -8
- package/dist/lib/schemas-data/3.1/property/update-property-list-response.json +6 -6
- package/dist/lib/schemas-data/3.1/property/validate-property-delivery-request.json +6 -6
- package/dist/lib/schemas-data/3.1/property/validate-property-delivery-response.json +6 -6
- package/dist/lib/schemas-data/3.1/property/validation-result.json +5 -5
- package/dist/lib/schemas-data/3.1/protocol/get-adcp-capabilities-request.json +4 -4
- package/dist/lib/schemas-data/3.1/protocol/get-adcp-capabilities-response.json +34 -34
- package/dist/lib/schemas-data/3.1/protocol/get-task-status-request.json +5 -5
- package/dist/lib/schemas-data/3.1/protocol/get-task-status-response.json +10 -10
- package/dist/lib/schemas-data/3.1/protocol/list-tasks-request.json +13 -13
- package/dist/lib/schemas-data/3.1/protocol/list-tasks-response.json +8 -8
- package/dist/lib/schemas-data/3.1/registries/v1-canonical-mapping.json +2 -2
- package/dist/lib/schemas-data/3.1/signals/activate-signal-request.json +6 -6
- package/dist/lib/schemas-data/3.1/signals/activate-signal-response.json +9 -9
- package/dist/lib/schemas-data/3.1/signals/get-signals-async-response-submitted.json +4 -4
- package/dist/lib/schemas-data/3.1/signals/get-signals-async-response-working.json +3 -3
- package/dist/lib/schemas-data/3.1/signals/get-signals-request.json +11 -11
- package/dist/lib/schemas-data/3.1/signals/get-signals-response.json +17 -17
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-capabilities.json +1 -1
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-context-use.json +1 -1
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-get-offering-request.json +4 -4
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-get-offering-response.json +9 -9
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-identity.json +1 -1
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-initiate-session-request.json +7 -7
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-initiate-session-response.json +10 -10
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-send-message-request.json +5 -5
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-send-message-response.json +10 -10
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-sponsored-context-receipt.json +4 -4
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-sponsored-context.json +4 -4
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-terminate-session-request.json +4 -4
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-terminate-session-response.json +7 -7
- package/dist/lib/schemas-data/3.1/sponsored-intelligence/si-ui-element.json +1 -1
- package/dist/lib/schemas-data/3.1/trusted-match/available-package.json +4 -4
- package/dist/lib/schemas-data/3.1/trusted-match/context-match-request.json +5 -5
- package/dist/lib/schemas-data/3.1/trusted-match/context-match-response.json +4 -4
- package/dist/lib/schemas-data/3.1/trusted-match/error.json +1 -1
- package/dist/lib/schemas-data/3.1/trusted-match/identity-match-request.json +4 -4
- package/dist/lib/schemas-data/3.1/trusted-match/identity-match-response.json +4 -4
- package/dist/lib/schemas-data/3.1/trusted-match/offer-price.json +1 -1
- package/dist/lib/schemas-data/3.1/trusted-match/offer.json +5 -5
- package/dist/lib/schemas-data/3.1/trusted-match/provider-identity-match-response.json +4 -4
- package/dist/lib/schemas-data/3.1/trusted-match/provider-registration.json +2 -2
- package/dist/lib/schemas-data/3.1/trusted-match/publisher-tmpx-config.json +1 -1
- package/dist/lib/schemas-data/3.1/trusted-match/tmpx-chunk.json +1 -1
- package/dist/lib/schemas-data/3.2/compliance/comply-test-controller-request.json +1778 -0
- package/dist/lib/schemas-data/3.2/compliance/comply-test-controller-response.json +1013 -0
- package/dist/lib/schemas-data/3.2/compliance/get-creative-features-completion.json +44 -0
- package/dist/lib/schemas-data/3.2/compliance/task-completion-data.json +24 -0
- package/dist/lib/server/decisioning/runtime/from-platform.js +12 -2
- package/dist/lib/server/decisioning/runtime/from-platform.mjs +12 -2
- package/dist/lib/server/test-controller.d.mts +7 -35
- package/dist/lib/server/test-controller.d.ts +7 -35
- package/dist/lib/server/test-controller.js +6 -0
- package/dist/lib/server/test-controller.mjs +6 -0
- package/dist/lib/testing/comply-controller.d.mts +8 -10
- package/dist/lib/testing/comply-controller.d.ts +8 -10
- package/dist/lib/testing/storyboard/account-policy.d.mts +38 -0
- package/dist/lib/testing/storyboard/account-policy.d.ts +38 -0
- package/dist/lib/testing/storyboard/account-policy.js +45 -2
- package/dist/lib/testing/storyboard/account-policy.mjs +43 -1
- package/dist/lib/testing/storyboard/path.d.mts +6 -0
- package/dist/lib/testing/storyboard/path.d.ts +6 -0
- package/dist/lib/testing/storyboard/path.js +22 -0
- package/dist/lib/testing/storyboard/path.mjs +21 -0
- package/dist/lib/testing/storyboard/probes.js +5 -1
- package/dist/lib/testing/storyboard/probes.mjs +5 -1
- package/dist/lib/testing/storyboard/property-list-reference.js +5 -1
- package/dist/lib/testing/storyboard/property-list-reference.mjs +5 -1
- package/dist/lib/testing/storyboard/request-builder.js +1 -1
- package/dist/lib/testing/storyboard/request-builder.mjs +1 -1
- package/dist/lib/testing/storyboard/request-signing/probe.js +5 -1
- package/dist/lib/testing/storyboard/request-signing/probe.mjs +5 -1
- package/dist/lib/testing/storyboard/runner-owned-task.d.mts +3 -0
- package/dist/lib/testing/storyboard/runner-owned-task.d.ts +3 -0
- package/dist/lib/testing/storyboard/runner-owned-task.js +38 -0
- package/dist/lib/testing/storyboard/runner-owned-task.mjs +13 -0
- package/dist/lib/testing/storyboard/runner.d.mts +1 -36
- package/dist/lib/testing/storyboard/runner.d.ts +1 -36
- package/dist/lib/testing/storyboard/runner.js +13 -43
- package/dist/lib/testing/storyboard/runner.mjs +7 -37
- package/dist/lib/testing/storyboard/seeding.js +169 -2
- package/dist/lib/testing/storyboard/seeding.mjs +169 -2
- package/dist/lib/testing/storyboard/types.d.mts +4 -2
- package/dist/lib/testing/storyboard/types.d.ts +4 -2
- 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 +60 -1
- package/dist/lib/testing/storyboard/validations.mjs +61 -1
- package/dist/lib/testing/storyboard/webhook-assertions.js +10 -9
- package/dist/lib/testing/storyboard/webhook-assertions.mjs +11 -10
- package/dist/lib/v2/projection/creative-delivery.js +120 -7
- package/dist/lib/v2/projection/creative-delivery.mjs +120 -7
- package/dist/lib/validation/compact-schema.d.mts +10 -0
- package/dist/lib/validation/compact-schema.d.ts +10 -0
- package/dist/lib/validation/compact-schema.js +173 -23
- package/dist/lib/validation/compact-schema.mjs +178 -24
- package/dist/lib/version.d.mts +5 -5
- package/dist/lib/version.d.ts +5 -5
- package/dist/lib/version.js +5 -3
- package/dist/lib/version.mjs +5 -3
- package/docs/TYPE-SUMMARY.md +2 -2
- package/docs/guides/VALIDATE-YOUR-AGENT.md +51 -0
- package/docs/llms.txt +3 -3
- package/docs/migration-14.x-rc-worksheet.md +5 -5
- package/package.json +5 -2
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
parsePathWithWildcards,
|
|
18
18
|
resolvePath,
|
|
19
19
|
resolvePathAll,
|
|
20
|
+
iteratePathAll,
|
|
20
21
|
resolvePortableIdentifierPathAll,
|
|
21
22
|
toJsonPointer,
|
|
22
23
|
validatePortableIdentifierPath,
|
|
@@ -88,6 +89,7 @@ function runValidation(validation, ctx) {
|
|
|
88
89
|
return validateFieldValueOrAbsent(validation, resolveTarget(ctx));
|
|
89
90
|
case "field_pattern":
|
|
90
91
|
return validateFieldPattern(validation, resolveTarget(ctx));
|
|
92
|
+
case "field_excludes":
|
|
91
93
|
case "field_contains":
|
|
92
94
|
return validateFieldContains(validation, resolveTarget(ctx));
|
|
93
95
|
case "status_code":
|
|
@@ -949,7 +951,7 @@ function validateFieldPattern(validation, taskResult) {
|
|
|
949
951
|
}
|
|
950
952
|
function validateFieldContains(validation, taskResult) {
|
|
951
953
|
const checkName = validation.check;
|
|
952
|
-
if (!validation.path) {
|
|
954
|
+
if (typeof validation.path !== "string" || !validation.path) {
|
|
953
955
|
return {
|
|
954
956
|
check: checkName,
|
|
955
957
|
passed: false,
|
|
@@ -961,6 +963,18 @@ function validateFieldContains(validation, taskResult) {
|
|
|
961
963
|
actual: null
|
|
962
964
|
};
|
|
963
965
|
}
|
|
966
|
+
if (validation.allowed_values !== void 0 && !Array.isArray(validation.allowed_values)) {
|
|
967
|
+
return {
|
|
968
|
+
check: checkName,
|
|
969
|
+
passed: false,
|
|
970
|
+
description: validation.description,
|
|
971
|
+
path: validation.path,
|
|
972
|
+
json_pointer: toJsonPointer(validation.path),
|
|
973
|
+
error: `${checkName} allowed_values must be an array`,
|
|
974
|
+
expected: "an array of values",
|
|
975
|
+
actual: validation.allowed_values
|
|
976
|
+
};
|
|
977
|
+
}
|
|
964
978
|
if (validation.value === void 0 && !validation.allowed_values?.length) {
|
|
965
979
|
return {
|
|
966
980
|
check: checkName,
|
|
@@ -973,6 +987,9 @@ function validateFieldContains(validation, taskResult) {
|
|
|
973
987
|
actual: null
|
|
974
988
|
};
|
|
975
989
|
}
|
|
990
|
+
if (checkName === "field_excludes") {
|
|
991
|
+
return validateFieldExcludes(validation, taskResult);
|
|
992
|
+
}
|
|
976
993
|
const resolved = resolvePathAll(taskResult.data, validation.path);
|
|
977
994
|
const pointer = toJsonPointer(validation.path);
|
|
978
995
|
const candidates = validation.allowed_values?.length ? validation.allowed_values : [validation.value];
|
|
@@ -1000,6 +1017,49 @@ function validateFieldContains(validation, taskResult) {
|
|
|
1000
1017
|
actual: resolved
|
|
1001
1018
|
};
|
|
1002
1019
|
}
|
|
1020
|
+
function validateFieldExcludes(validation, taskResult) {
|
|
1021
|
+
const path = validation.path;
|
|
1022
|
+
const candidates = validation.allowed_values?.length ? validation.allowed_values : [validation.value];
|
|
1023
|
+
const expected = { excludes: validation.allowed_values?.length ? validation.allowed_values : validation.value };
|
|
1024
|
+
const base = {
|
|
1025
|
+
check: validation.check,
|
|
1026
|
+
description: validation.description,
|
|
1027
|
+
path,
|
|
1028
|
+
json_pointer: toJsonPointer(path)
|
|
1029
|
+
};
|
|
1030
|
+
const unresolvedContext = (value) => {
|
|
1031
|
+
if (typeof value === "string") return /^\$context\./.test(value);
|
|
1032
|
+
if (Array.isArray(value)) return value.some(unresolvedContext);
|
|
1033
|
+
return value !== null && typeof value === "object" && Object.values(value).some(unresolvedContext);
|
|
1034
|
+
};
|
|
1035
|
+
if (candidates.some(unresolvedContext)) {
|
|
1036
|
+
return {
|
|
1037
|
+
...base,
|
|
1038
|
+
passed: false,
|
|
1039
|
+
error: "field_excludes comparator contains an unresolved context reference",
|
|
1040
|
+
expected: "a resolved value or allowed_values comparator",
|
|
1041
|
+
actual: candidates
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
if (path.length > 1024 || !/^[^.[\]]+(?:\[(?:\d+|\*)?\]|\.[^.[\]]+)*$/.test(path) || parsePathWithWildcards(path).some(
|
|
1045
|
+
(segment) => typeof segment === "string" && ["__proto__", "constructor", "prototype"].includes(segment)
|
|
1046
|
+
)) {
|
|
1047
|
+
return {
|
|
1048
|
+
...base,
|
|
1049
|
+
passed: false,
|
|
1050
|
+
error: "Invalid field_excludes path",
|
|
1051
|
+
expected: "a valid safe storyboard path",
|
|
1052
|
+
actual: path
|
|
1053
|
+
};
|
|
1054
|
+
}
|
|
1055
|
+
const comparisonKey = comparisonKeyFromPath(path);
|
|
1056
|
+
for (const actual of iteratePathAll(taskResult.data, path)) {
|
|
1057
|
+
if (candidates.some((candidate) => containsValueMatches(actual, candidate, comparisonKey))) {
|
|
1058
|
+
return { ...base, passed: false, error: `Prohibited value found at ${path}`, expected, actual: [actual] };
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
return { ...base, passed: true };
|
|
1062
|
+
}
|
|
1003
1063
|
function validateArrayLength(validation, taskResult) {
|
|
1004
1064
|
const checkName = "array_length";
|
|
1005
1065
|
if (!validation.path) {
|
|
@@ -362,7 +362,7 @@ async function executeWebhookAssertionStep(step, phaseId, context, allSteps, opt
|
|
|
362
362
|
} else
|
|
363
363
|
switch (step.task) {
|
|
364
364
|
case "expect_webhook": {
|
|
365
|
-
const outcome = await runExpectWebhook(step, filter, receiver);
|
|
365
|
+
const outcome = await runExpectWebhook(step, filter, receiver, options.adcpVersion ?? import_version.ADCP_VERSION);
|
|
366
366
|
validations = outcome.validations;
|
|
367
367
|
passed = outcome.passed;
|
|
368
368
|
let changeKey;
|
|
@@ -523,7 +523,7 @@ async function runExpectNoWebhook(step, filter, receiver) {
|
|
|
523
523
|
passed: true
|
|
524
524
|
};
|
|
525
525
|
}
|
|
526
|
-
async function runExpectWebhook(step, filter, receiver) {
|
|
526
|
+
async function runExpectWebhook(step, filter, receiver, adcpVersion) {
|
|
527
527
|
const timeoutMs = clampTimeoutSeconds(step.timeout_seconds, DEFAULT_TIMEOUT_SECONDS) * 1e3;
|
|
528
528
|
const checkIdempotency = step.expect_idempotency_key !== false;
|
|
529
529
|
const capCount = step.expect_max_deliveries_per_logical_event;
|
|
@@ -553,7 +553,7 @@ async function runExpectWebhook(step, filter, receiver) {
|
|
|
553
553
|
first.raw_body.slice(0, 256)
|
|
554
554
|
);
|
|
555
555
|
}
|
|
556
|
-
const schemaCheck = validateWebhookPayloadSchema(step, first);
|
|
556
|
+
const schemaCheck = validateWebhookPayloadSchema(step, first, adcpVersion);
|
|
557
557
|
if (schemaCheck && !schemaCheck.passed) return { validations: [schemaCheck], passed: false };
|
|
558
558
|
if (checkIdempotency) {
|
|
559
559
|
const idempotencyCheck = assertIdempotencyKey(first);
|
|
@@ -759,11 +759,11 @@ function mapSignatureErrorCode(code) {
|
|
|
759
759
|
}
|
|
760
760
|
}
|
|
761
761
|
}
|
|
762
|
-
function validateWebhookPayloadSchema(step, webhook) {
|
|
762
|
+
function validateWebhookPayloadSchema(step, webhook, adcpVersion) {
|
|
763
763
|
const schemaRef = step.webhook_payload_schema_ref ?? step.response_schema_webhook_ref;
|
|
764
764
|
if (!schemaRef) return void 0;
|
|
765
|
-
const { schema_id, schema_url } = resolveWebhookSchemaIdentity(schemaRef);
|
|
766
|
-
const validator = (0, import_schema_loader.getSchemaValidatorByRef)(schemaRef);
|
|
765
|
+
const { schema_id, schema_url } = resolveWebhookSchemaIdentity(schemaRef, adcpVersion);
|
|
766
|
+
const validator = (0, import_schema_loader.getSchemaValidatorByRef)(schemaRef, adcpVersion);
|
|
767
767
|
if (!validator) {
|
|
768
768
|
return {
|
|
769
769
|
check: "expect_webhook",
|
|
@@ -818,9 +818,10 @@ function validateWebhookPayloadSchema(step, webhook) {
|
|
|
818
818
|
schema_url
|
|
819
819
|
};
|
|
820
820
|
}
|
|
821
|
-
function resolveWebhookSchemaIdentity(schemaRef) {
|
|
822
|
-
const
|
|
823
|
-
const
|
|
821
|
+
function resolveWebhookSchemaIdentity(schemaRef, adcpVersion) {
|
|
822
|
+
const document = (0, import_schema_loader.getSchemaDocumentByRef)(schemaRef, adcpVersion);
|
|
823
|
+
const ref = document?.schemaRef ?? schemaRef.replace(/^\/+/, "");
|
|
824
|
+
const schemaId = `/schemas/${document?.resolvedVersion ?? adcpVersion}/${ref}`;
|
|
824
825
|
return { schema_id: schemaId, schema_url: `${SCHEMA_URL_BASE}${schemaId}` };
|
|
825
826
|
}
|
|
826
827
|
function ajvErrorToSchemaError(error) {
|
|
@@ -7,7 +7,7 @@ import { verifyWebhookSignature } from "../../signing/webhook-verifier.mjs";
|
|
|
7
7
|
import { WebhookSignatureError } from "../../signing/errors.mjs";
|
|
8
8
|
import { InMemoryReplayStore } from "../../signing/replay.mjs";
|
|
9
9
|
import { InMemoryRevocationStore } from "../../signing/revocation.mjs";
|
|
10
|
-
import { getSchemaValidatorByRef } from "../../validation/schema-loader.mjs";
|
|
10
|
+
import { getSchemaDocumentByRef, getSchemaValidatorByRef } from "../../validation/schema-loader.mjs";
|
|
11
11
|
import { ADCP_VERSION } from "../../version.mjs";
|
|
12
12
|
import { ConfigurationError } from "../../errors/index.mjs";
|
|
13
13
|
const RUN_STATE_REPLAY_KEY = "__webhook_signing_replay_store";
|
|
@@ -337,7 +337,7 @@ async function executeWebhookAssertionStep(step, phaseId, context, allSteps, opt
|
|
|
337
337
|
} else
|
|
338
338
|
switch (step.task) {
|
|
339
339
|
case "expect_webhook": {
|
|
340
|
-
const outcome = await runExpectWebhook(step, filter, receiver);
|
|
340
|
+
const outcome = await runExpectWebhook(step, filter, receiver, options.adcpVersion ?? ADCP_VERSION);
|
|
341
341
|
validations = outcome.validations;
|
|
342
342
|
passed = outcome.passed;
|
|
343
343
|
let changeKey;
|
|
@@ -498,7 +498,7 @@ async function runExpectNoWebhook(step, filter, receiver) {
|
|
|
498
498
|
passed: true
|
|
499
499
|
};
|
|
500
500
|
}
|
|
501
|
-
async function runExpectWebhook(step, filter, receiver) {
|
|
501
|
+
async function runExpectWebhook(step, filter, receiver, adcpVersion) {
|
|
502
502
|
const timeoutMs = clampTimeoutSeconds(step.timeout_seconds, DEFAULT_TIMEOUT_SECONDS) * 1e3;
|
|
503
503
|
const checkIdempotency = step.expect_idempotency_key !== false;
|
|
504
504
|
const capCount = step.expect_max_deliveries_per_logical_event;
|
|
@@ -528,7 +528,7 @@ async function runExpectWebhook(step, filter, receiver) {
|
|
|
528
528
|
first.raw_body.slice(0, 256)
|
|
529
529
|
);
|
|
530
530
|
}
|
|
531
|
-
const schemaCheck = validateWebhookPayloadSchema(step, first);
|
|
531
|
+
const schemaCheck = validateWebhookPayloadSchema(step, first, adcpVersion);
|
|
532
532
|
if (schemaCheck && !schemaCheck.passed) return { validations: [schemaCheck], passed: false };
|
|
533
533
|
if (checkIdempotency) {
|
|
534
534
|
const idempotencyCheck = assertIdempotencyKey(first);
|
|
@@ -734,11 +734,11 @@ function mapSignatureErrorCode(code) {
|
|
|
734
734
|
}
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
|
-
function validateWebhookPayloadSchema(step, webhook) {
|
|
737
|
+
function validateWebhookPayloadSchema(step, webhook, adcpVersion) {
|
|
738
738
|
const schemaRef = step.webhook_payload_schema_ref ?? step.response_schema_webhook_ref;
|
|
739
739
|
if (!schemaRef) return void 0;
|
|
740
|
-
const { schema_id, schema_url } = resolveWebhookSchemaIdentity(schemaRef);
|
|
741
|
-
const validator = getSchemaValidatorByRef(schemaRef);
|
|
740
|
+
const { schema_id, schema_url } = resolveWebhookSchemaIdentity(schemaRef, adcpVersion);
|
|
741
|
+
const validator = getSchemaValidatorByRef(schemaRef, adcpVersion);
|
|
742
742
|
if (!validator) {
|
|
743
743
|
return {
|
|
744
744
|
check: "expect_webhook",
|
|
@@ -793,9 +793,10 @@ function validateWebhookPayloadSchema(step, webhook) {
|
|
|
793
793
|
schema_url
|
|
794
794
|
};
|
|
795
795
|
}
|
|
796
|
-
function resolveWebhookSchemaIdentity(schemaRef) {
|
|
797
|
-
const
|
|
798
|
-
const
|
|
796
|
+
function resolveWebhookSchemaIdentity(schemaRef, adcpVersion) {
|
|
797
|
+
const document = getSchemaDocumentByRef(schemaRef, adcpVersion);
|
|
798
|
+
const ref = document?.schemaRef ?? schemaRef.replace(/^\/+/, "");
|
|
799
|
+
const schemaId = `/schemas/${document?.resolvedVersion ?? adcpVersion}/${ref}`;
|
|
799
800
|
return { schema_id: schemaId, schema_url: `${SCHEMA_URL_BASE}${schemaId}` };
|
|
800
801
|
}
|
|
801
802
|
function ajvErrorToSchemaError(error) {
|
|
@@ -65,9 +65,10 @@ function stripLegacyCreativeIdentity(value) {
|
|
|
65
65
|
const nonCreativeAgentContext = (key) => typeof key === "string" && !/(^|_)(?:creative|format|legacy)($|_)/.test(key) && /(^|_)(?:agents?|agent_details|agent_info)($|_)/.test(key);
|
|
66
66
|
const nonCreativeSignalContext = (owner, key) => ownDataValue(owner, "source") === "agent" && typeof key === "string" && /(^|_)signal_ids?($|_)/.test(key);
|
|
67
67
|
const nonCreativeListContext = (owner, key) => typeof ownDataValue(owner, "list_id") === "string" && typeof key === "string" && /(^|_)(?:property_list|collection_list|list_ref)($|_)/.test(key);
|
|
68
|
-
const
|
|
68
|
+
const nonCreativeVerifierContext = (key) => key === "accepted_verifiers";
|
|
69
|
+
const explicitNonCreativeContextKey = (key) => nonCreativeAgentContext(key) || nonCreativeVerifierContext(key) || typeof key === "string" && /(^|_)(?:signal_ids?|property_list|collection_list|list_ref)($|_)/.test(key);
|
|
69
70
|
const standaloneLegacyTuple = (owner, ownerKey) => {
|
|
70
|
-
if (nonCreativeAgentContext(ownerKey) || nonCreativeSignalContext(owner, ownerKey) || nonCreativeListContext(owner, ownerKey)) {
|
|
71
|
+
if (nonCreativeAgentContext(ownerKey) || nonCreativeVerifierContext(ownerKey) || nonCreativeSignalContext(owner, ownerKey) || nonCreativeListContext(owner, ownerKey)) {
|
|
71
72
|
return false;
|
|
72
73
|
}
|
|
73
74
|
if (typeof ownDataValue(owner, "agent_url") !== "string" || typeof ownDataValue(owner, "id") !== "string") {
|
|
@@ -78,7 +79,7 @@ function stripLegacyCreativeIdentity(value) {
|
|
|
78
79
|
const preservesNonCreativeAgentUrl = (key, owner, ownerKey) => {
|
|
79
80
|
if (!/(^|_)agent_url($|_)/.test(key)) return false;
|
|
80
81
|
if (key === "agent_url") {
|
|
81
|
-
return nonCreativeAgentContext(ownerKey) || nonCreativeSignalContext(owner, ownerKey) || nonCreativeListContext(owner, ownerKey) || typeof ownDataValue(owner, "id") === "string" && !standaloneLegacyTuple(owner, ownerKey);
|
|
82
|
+
return nonCreativeAgentContext(ownerKey) || nonCreativeVerifierContext(ownerKey) || nonCreativeSignalContext(owner, ownerKey) || nonCreativeListContext(owner, ownerKey) || typeof ownDataValue(owner, "id") === "string" && !standaloneLegacyTuple(owner, ownerKey);
|
|
82
83
|
}
|
|
83
84
|
return !/(^|_)(?:creative|format|legacy|offending|target|input|output)($|_)/.test(key);
|
|
84
85
|
};
|
|
@@ -588,8 +589,7 @@ function preferMostConstrainedLegacyCandidates(candidates, creative) {
|
|
|
588
589
|
const specific = remaining.filter((candidate) => legacyIdPinsDimensions(candidate.ref) === true);
|
|
589
590
|
return specific.length > 0 && specific.length < remaining.length ? specific : remaining;
|
|
590
591
|
}
|
|
591
|
-
function selectLegacyRef(creative, container, canonicalFormatLegacyResolver, operation = "creative_delivery") {
|
|
592
|
-
let candidates = candidatesFromContainer(container, canonicalFormatLegacyResolver, operation);
|
|
592
|
+
function selectLegacyRef(creative, container, canonicalFormatLegacyResolver, operation = "creative_delivery", candidates = candidatesFromContainer(container, canonicalFormatLegacyResolver, operation)) {
|
|
593
593
|
const creativeOptionRef = optionReference(creative.format_option_ref);
|
|
594
594
|
const selectedOptionRefs = Array.isArray(container.format_option_refs) ? container.format_option_refs.flatMap((value) => {
|
|
595
595
|
const ref = optionReference(value);
|
|
@@ -1089,6 +1089,112 @@ function projectMediaBuyCreativesForDelivery(request, wireMode = "canonical", op
|
|
|
1089
1089
|
}
|
|
1090
1090
|
return changed ? next : request;
|
|
1091
1091
|
}
|
|
1092
|
+
function memoizePackageResolver(resolver) {
|
|
1093
|
+
if (!resolver) return void 0;
|
|
1094
|
+
const cache = /* @__PURE__ */ new WeakMap();
|
|
1095
|
+
return (context) => {
|
|
1096
|
+
const owner = context.source === "product" ? context.declaration : context.source === "creative" ? context.creative : context.selector;
|
|
1097
|
+
const key = JSON.stringify([
|
|
1098
|
+
context.source,
|
|
1099
|
+
context.field,
|
|
1100
|
+
context.source === "product" ? context.productId : context.operation
|
|
1101
|
+
]);
|
|
1102
|
+
let answers = cache.get(owner);
|
|
1103
|
+
if (!answers) {
|
|
1104
|
+
answers = /* @__PURE__ */ new Map();
|
|
1105
|
+
cache.set(owner, answers);
|
|
1106
|
+
}
|
|
1107
|
+
let answer = answers.get(key);
|
|
1108
|
+
if (!answer) {
|
|
1109
|
+
try {
|
|
1110
|
+
answer = {
|
|
1111
|
+
ok: true,
|
|
1112
|
+
value: (0, import_v2_to_v1.resolveCanonicalFormatLegacyRefs)(resolver, context, context.source === "creative")
|
|
1113
|
+
};
|
|
1114
|
+
} catch (error) {
|
|
1115
|
+
answer = { ok: false, error };
|
|
1116
|
+
}
|
|
1117
|
+
answers.set(key, answer);
|
|
1118
|
+
}
|
|
1119
|
+
if (!answer.ok) throw answer.error;
|
|
1120
|
+
return answer.value;
|
|
1121
|
+
};
|
|
1122
|
+
}
|
|
1123
|
+
function projectSharedLegacyCreative(creative, selectors, assigned, resolver, definitions) {
|
|
1124
|
+
if (typeof creative.format_kind !== "string" || creative.format_id !== void 0 || selectors.length < 2)
|
|
1125
|
+
return void 0;
|
|
1126
|
+
const formatKind = creative.format_kind;
|
|
1127
|
+
if (!CANONICAL_FORMAT_KINDS.has(formatKind)) return void 0;
|
|
1128
|
+
if (selectors.some((selector) => typeof selector.package_id !== "string")) return void 0;
|
|
1129
|
+
const byPackage = /* @__PURE__ */ new Map();
|
|
1130
|
+
for (const selector of selectors) {
|
|
1131
|
+
const group = byPackage.get(selector.package_id) ?? [];
|
|
1132
|
+
group.push(selector);
|
|
1133
|
+
byPackage.set(selector.package_id, group);
|
|
1134
|
+
}
|
|
1135
|
+
if (byPackage.size < 2) return void 0;
|
|
1136
|
+
const packages = [...byPackage].map(
|
|
1137
|
+
([package_id, containers]) => containers.length === 1 ? containers[0] : { package_id, selector_containers: containers }
|
|
1138
|
+
);
|
|
1139
|
+
const compatible = [];
|
|
1140
|
+
const fail = (message) => {
|
|
1141
|
+
throw new CreativeFormatProjectionError("sync_creatives", String(creative.creative_id), message);
|
|
1142
|
+
};
|
|
1143
|
+
for (const selector of packages) {
|
|
1144
|
+
const known = candidatesFromContainer(selector, resolver, "sync_creatives");
|
|
1145
|
+
if (known.length === 0 || known.some((candidate) => candidate.formatKind === void 0)) return void 0;
|
|
1146
|
+
const constraints = creativeFormatParameterConstraints(creative) ?? primaryMediaConstraints(creative);
|
|
1147
|
+
const mediaKind = ["image", "video_hosted", "audio_hosted"].includes(String(formatKind));
|
|
1148
|
+
const scopedCandidates = (container) => {
|
|
1149
|
+
const children = container.selector_containers;
|
|
1150
|
+
const available = Array.isArray(children) ? children.flatMap((child) => scopedCandidates(child)) : candidatesFromContainer(container, resolver, "sync_creatives");
|
|
1151
|
+
if (containerOptsOutOfLegacy(
|
|
1152
|
+
{ ...container, selector_containers: void 0 },
|
|
1153
|
+
formatKind,
|
|
1154
|
+
optionReference(creative.format_option_ref)
|
|
1155
|
+
))
|
|
1156
|
+
return [];
|
|
1157
|
+
return available.filter(
|
|
1158
|
+
(candidate) => candidate.formatKind === formatKind && (!constraints || !refContradictsConstraints(candidate.ref, constraints, mediaKind ? candidate.selectorParams : void 0)) && selectLegacyRef(creative, container, void 0, "sync_creatives", [candidate]) !== void 0
|
|
1159
|
+
);
|
|
1160
|
+
};
|
|
1161
|
+
const candidates2 = scopedCandidates(selector);
|
|
1162
|
+
if (candidates2.length === 0) {
|
|
1163
|
+
if (assigned) fail("the canonical creative has no compatible legacy reference for every assigned package");
|
|
1164
|
+
continue;
|
|
1165
|
+
}
|
|
1166
|
+
compatible.push({ selector, candidates: candidates2 });
|
|
1167
|
+
}
|
|
1168
|
+
if (compatible.length === 0) return void 0;
|
|
1169
|
+
let shared = compatible[0].candidates.map((candidate) => candidate.ref);
|
|
1170
|
+
for (const { candidates: candidates2 } of compatible.slice(1))
|
|
1171
|
+
shared = shared.filter((ref) => candidates2.some((candidate) => sameLegacyIdentity(ref, candidate.ref)));
|
|
1172
|
+
if (shared.length === 0) fail("the compatible packages do not share a legacy format identity");
|
|
1173
|
+
const candidates = uniqueCandidates(
|
|
1174
|
+
compatible.flatMap(
|
|
1175
|
+
(item) => item.candidates.filter((candidate) => shared.some((ref) => sameLegacyIdentity(ref, candidate.ref)))
|
|
1176
|
+
)
|
|
1177
|
+
);
|
|
1178
|
+
const selected = selectLegacyRef(
|
|
1179
|
+
creative,
|
|
1180
|
+
{ selector_containers: compatible.map((item) => item.selector) },
|
|
1181
|
+
void 0,
|
|
1182
|
+
"sync_creatives",
|
|
1183
|
+
candidates
|
|
1184
|
+
);
|
|
1185
|
+
if (!selected) fail("the compatible packages do not share one unambiguous legacy format reference");
|
|
1186
|
+
for (const { selector, candidates: candidates2 } of compatible) {
|
|
1187
|
+
const matching = candidates2.filter((candidate) => sameLegacyIdentity(candidate.ref, selected));
|
|
1188
|
+
const ref = selectLegacyRef(creative, selector, void 0, "sync_creatives", matching);
|
|
1189
|
+
if (!ref || ["width", "height", "duration_ms"].some((key) => {
|
|
1190
|
+
const left = selected[key];
|
|
1191
|
+
const right = ref[key];
|
|
1192
|
+
return left !== void 0 && right !== void 0 && left !== right;
|
|
1193
|
+
}))
|
|
1194
|
+
fail("the shared legacy identity has incompatible package constraints");
|
|
1195
|
+
}
|
|
1196
|
+
return projectCreative(creative, selected, definitions);
|
|
1197
|
+
}
|
|
1092
1198
|
function projectSyncCreativesForDelivery(request, selectorContainers, wireMode = "canonical", legacyFormatConverter, canonicalFormatLegacyResolver, legacyFormatDefinitions) {
|
|
1093
1199
|
const requestRecord = record(request);
|
|
1094
1200
|
if (!requestRecord || !Array.isArray(requestRecord.creatives)) {
|
|
@@ -1109,16 +1215,23 @@ function projectSyncCreativesForDelivery(request, selectorContainers, wireMode =
|
|
|
1109
1215
|
const relevant = assignedPackageIds.size === 0 ? selectorContainers : selectorContainers.filter(
|
|
1110
1216
|
(container) => typeof container.package_id === "string" && assignedPackageIds.has(container.package_id)
|
|
1111
1217
|
);
|
|
1218
|
+
const scopedResolver = memoizePackageResolver(canonicalFormatLegacyResolver);
|
|
1112
1219
|
const combined = {
|
|
1113
1220
|
selector_containers: relevant
|
|
1114
1221
|
};
|
|
1115
|
-
const projected =
|
|
1222
|
+
const projected = (wireMode !== "canonical" ? projectSharedLegacyCreative(
|
|
1223
|
+
creative,
|
|
1224
|
+
relevant,
|
|
1225
|
+
assignedPackageIds.size > 0,
|
|
1226
|
+
scopedResolver,
|
|
1227
|
+
legacyFormatDefinitions
|
|
1228
|
+
) : void 0) ?? projectCreativeForDelivery(
|
|
1116
1229
|
creative,
|
|
1117
1230
|
combined,
|
|
1118
1231
|
wireMode,
|
|
1119
1232
|
"sync_creatives",
|
|
1120
1233
|
legacyFormatConverter,
|
|
1121
|
-
|
|
1234
|
+
scopedResolver,
|
|
1122
1235
|
legacyFormatDefinitions
|
|
1123
1236
|
);
|
|
1124
1237
|
if (projected !== creativeValue) changed = true;
|
|
@@ -48,9 +48,10 @@ function stripLegacyCreativeIdentity(value) {
|
|
|
48
48
|
const nonCreativeAgentContext = (key) => typeof key === "string" && !/(^|_)(?:creative|format|legacy)($|_)/.test(key) && /(^|_)(?:agents?|agent_details|agent_info)($|_)/.test(key);
|
|
49
49
|
const nonCreativeSignalContext = (owner, key) => ownDataValue(owner, "source") === "agent" && typeof key === "string" && /(^|_)signal_ids?($|_)/.test(key);
|
|
50
50
|
const nonCreativeListContext = (owner, key) => typeof ownDataValue(owner, "list_id") === "string" && typeof key === "string" && /(^|_)(?:property_list|collection_list|list_ref)($|_)/.test(key);
|
|
51
|
-
const
|
|
51
|
+
const nonCreativeVerifierContext = (key) => key === "accepted_verifiers";
|
|
52
|
+
const explicitNonCreativeContextKey = (key) => nonCreativeAgentContext(key) || nonCreativeVerifierContext(key) || typeof key === "string" && /(^|_)(?:signal_ids?|property_list|collection_list|list_ref)($|_)/.test(key);
|
|
52
53
|
const standaloneLegacyTuple = (owner, ownerKey) => {
|
|
53
|
-
if (nonCreativeAgentContext(ownerKey) || nonCreativeSignalContext(owner, ownerKey) || nonCreativeListContext(owner, ownerKey)) {
|
|
54
|
+
if (nonCreativeAgentContext(ownerKey) || nonCreativeVerifierContext(ownerKey) || nonCreativeSignalContext(owner, ownerKey) || nonCreativeListContext(owner, ownerKey)) {
|
|
54
55
|
return false;
|
|
55
56
|
}
|
|
56
57
|
if (typeof ownDataValue(owner, "agent_url") !== "string" || typeof ownDataValue(owner, "id") !== "string") {
|
|
@@ -61,7 +62,7 @@ function stripLegacyCreativeIdentity(value) {
|
|
|
61
62
|
const preservesNonCreativeAgentUrl = (key, owner, ownerKey) => {
|
|
62
63
|
if (!/(^|_)agent_url($|_)/.test(key)) return false;
|
|
63
64
|
if (key === "agent_url") {
|
|
64
|
-
return nonCreativeAgentContext(ownerKey) || nonCreativeSignalContext(owner, ownerKey) || nonCreativeListContext(owner, ownerKey) || typeof ownDataValue(owner, "id") === "string" && !standaloneLegacyTuple(owner, ownerKey);
|
|
65
|
+
return nonCreativeAgentContext(ownerKey) || nonCreativeVerifierContext(ownerKey) || nonCreativeSignalContext(owner, ownerKey) || nonCreativeListContext(owner, ownerKey) || typeof ownDataValue(owner, "id") === "string" && !standaloneLegacyTuple(owner, ownerKey);
|
|
65
66
|
}
|
|
66
67
|
return !/(^|_)(?:creative|format|legacy|offending|target|input|output)($|_)/.test(key);
|
|
67
68
|
};
|
|
@@ -571,8 +572,7 @@ function preferMostConstrainedLegacyCandidates(candidates, creative) {
|
|
|
571
572
|
const specific = remaining.filter((candidate) => legacyIdPinsDimensions(candidate.ref) === true);
|
|
572
573
|
return specific.length > 0 && specific.length < remaining.length ? specific : remaining;
|
|
573
574
|
}
|
|
574
|
-
function selectLegacyRef(creative, container, canonicalFormatLegacyResolver, operation = "creative_delivery") {
|
|
575
|
-
let candidates = candidatesFromContainer(container, canonicalFormatLegacyResolver, operation);
|
|
575
|
+
function selectLegacyRef(creative, container, canonicalFormatLegacyResolver, operation = "creative_delivery", candidates = candidatesFromContainer(container, canonicalFormatLegacyResolver, operation)) {
|
|
576
576
|
const creativeOptionRef = optionReference(creative.format_option_ref);
|
|
577
577
|
const selectedOptionRefs = Array.isArray(container.format_option_refs) ? container.format_option_refs.flatMap((value) => {
|
|
578
578
|
const ref = optionReference(value);
|
|
@@ -1072,6 +1072,112 @@ function projectMediaBuyCreativesForDelivery(request, wireMode = "canonical", op
|
|
|
1072
1072
|
}
|
|
1073
1073
|
return changed ? next : request;
|
|
1074
1074
|
}
|
|
1075
|
+
function memoizePackageResolver(resolver) {
|
|
1076
|
+
if (!resolver) return void 0;
|
|
1077
|
+
const cache = /* @__PURE__ */ new WeakMap();
|
|
1078
|
+
return (context) => {
|
|
1079
|
+
const owner = context.source === "product" ? context.declaration : context.source === "creative" ? context.creative : context.selector;
|
|
1080
|
+
const key = JSON.stringify([
|
|
1081
|
+
context.source,
|
|
1082
|
+
context.field,
|
|
1083
|
+
context.source === "product" ? context.productId : context.operation
|
|
1084
|
+
]);
|
|
1085
|
+
let answers = cache.get(owner);
|
|
1086
|
+
if (!answers) {
|
|
1087
|
+
answers = /* @__PURE__ */ new Map();
|
|
1088
|
+
cache.set(owner, answers);
|
|
1089
|
+
}
|
|
1090
|
+
let answer = answers.get(key);
|
|
1091
|
+
if (!answer) {
|
|
1092
|
+
try {
|
|
1093
|
+
answer = {
|
|
1094
|
+
ok: true,
|
|
1095
|
+
value: resolveCanonicalFormatLegacyRefs(resolver, context, context.source === "creative")
|
|
1096
|
+
};
|
|
1097
|
+
} catch (error) {
|
|
1098
|
+
answer = { ok: false, error };
|
|
1099
|
+
}
|
|
1100
|
+
answers.set(key, answer);
|
|
1101
|
+
}
|
|
1102
|
+
if (!answer.ok) throw answer.error;
|
|
1103
|
+
return answer.value;
|
|
1104
|
+
};
|
|
1105
|
+
}
|
|
1106
|
+
function projectSharedLegacyCreative(creative, selectors, assigned, resolver, definitions) {
|
|
1107
|
+
if (typeof creative.format_kind !== "string" || creative.format_id !== void 0 || selectors.length < 2)
|
|
1108
|
+
return void 0;
|
|
1109
|
+
const formatKind = creative.format_kind;
|
|
1110
|
+
if (!CANONICAL_FORMAT_KINDS.has(formatKind)) return void 0;
|
|
1111
|
+
if (selectors.some((selector) => typeof selector.package_id !== "string")) return void 0;
|
|
1112
|
+
const byPackage = /* @__PURE__ */ new Map();
|
|
1113
|
+
for (const selector of selectors) {
|
|
1114
|
+
const group = byPackage.get(selector.package_id) ?? [];
|
|
1115
|
+
group.push(selector);
|
|
1116
|
+
byPackage.set(selector.package_id, group);
|
|
1117
|
+
}
|
|
1118
|
+
if (byPackage.size < 2) return void 0;
|
|
1119
|
+
const packages = [...byPackage].map(
|
|
1120
|
+
([package_id, containers]) => containers.length === 1 ? containers[0] : { package_id, selector_containers: containers }
|
|
1121
|
+
);
|
|
1122
|
+
const compatible = [];
|
|
1123
|
+
const fail = (message) => {
|
|
1124
|
+
throw new CreativeFormatProjectionError("sync_creatives", String(creative.creative_id), message);
|
|
1125
|
+
};
|
|
1126
|
+
for (const selector of packages) {
|
|
1127
|
+
const known = candidatesFromContainer(selector, resolver, "sync_creatives");
|
|
1128
|
+
if (known.length === 0 || known.some((candidate) => candidate.formatKind === void 0)) return void 0;
|
|
1129
|
+
const constraints = creativeFormatParameterConstraints(creative) ?? primaryMediaConstraints(creative);
|
|
1130
|
+
const mediaKind = ["image", "video_hosted", "audio_hosted"].includes(String(formatKind));
|
|
1131
|
+
const scopedCandidates = (container) => {
|
|
1132
|
+
const children = container.selector_containers;
|
|
1133
|
+
const available = Array.isArray(children) ? children.flatMap((child) => scopedCandidates(child)) : candidatesFromContainer(container, resolver, "sync_creatives");
|
|
1134
|
+
if (containerOptsOutOfLegacy(
|
|
1135
|
+
{ ...container, selector_containers: void 0 },
|
|
1136
|
+
formatKind,
|
|
1137
|
+
optionReference(creative.format_option_ref)
|
|
1138
|
+
))
|
|
1139
|
+
return [];
|
|
1140
|
+
return available.filter(
|
|
1141
|
+
(candidate) => candidate.formatKind === formatKind && (!constraints || !refContradictsConstraints(candidate.ref, constraints, mediaKind ? candidate.selectorParams : void 0)) && selectLegacyRef(creative, container, void 0, "sync_creatives", [candidate]) !== void 0
|
|
1142
|
+
);
|
|
1143
|
+
};
|
|
1144
|
+
const candidates2 = scopedCandidates(selector);
|
|
1145
|
+
if (candidates2.length === 0) {
|
|
1146
|
+
if (assigned) fail("the canonical creative has no compatible legacy reference for every assigned package");
|
|
1147
|
+
continue;
|
|
1148
|
+
}
|
|
1149
|
+
compatible.push({ selector, candidates: candidates2 });
|
|
1150
|
+
}
|
|
1151
|
+
if (compatible.length === 0) return void 0;
|
|
1152
|
+
let shared = compatible[0].candidates.map((candidate) => candidate.ref);
|
|
1153
|
+
for (const { candidates: candidates2 } of compatible.slice(1))
|
|
1154
|
+
shared = shared.filter((ref) => candidates2.some((candidate) => sameLegacyIdentity(ref, candidate.ref)));
|
|
1155
|
+
if (shared.length === 0) fail("the compatible packages do not share a legacy format identity");
|
|
1156
|
+
const candidates = uniqueCandidates(
|
|
1157
|
+
compatible.flatMap(
|
|
1158
|
+
(item) => item.candidates.filter((candidate) => shared.some((ref) => sameLegacyIdentity(ref, candidate.ref)))
|
|
1159
|
+
)
|
|
1160
|
+
);
|
|
1161
|
+
const selected = selectLegacyRef(
|
|
1162
|
+
creative,
|
|
1163
|
+
{ selector_containers: compatible.map((item) => item.selector) },
|
|
1164
|
+
void 0,
|
|
1165
|
+
"sync_creatives",
|
|
1166
|
+
candidates
|
|
1167
|
+
);
|
|
1168
|
+
if (!selected) fail("the compatible packages do not share one unambiguous legacy format reference");
|
|
1169
|
+
for (const { selector, candidates: candidates2 } of compatible) {
|
|
1170
|
+
const matching = candidates2.filter((candidate) => sameLegacyIdentity(candidate.ref, selected));
|
|
1171
|
+
const ref = selectLegacyRef(creative, selector, void 0, "sync_creatives", matching);
|
|
1172
|
+
if (!ref || ["width", "height", "duration_ms"].some((key) => {
|
|
1173
|
+
const left = selected[key];
|
|
1174
|
+
const right = ref[key];
|
|
1175
|
+
return left !== void 0 && right !== void 0 && left !== right;
|
|
1176
|
+
}))
|
|
1177
|
+
fail("the shared legacy identity has incompatible package constraints");
|
|
1178
|
+
}
|
|
1179
|
+
return projectCreative(creative, selected, definitions);
|
|
1180
|
+
}
|
|
1075
1181
|
function projectSyncCreativesForDelivery(request, selectorContainers, wireMode = "canonical", legacyFormatConverter, canonicalFormatLegacyResolver, legacyFormatDefinitions) {
|
|
1076
1182
|
const requestRecord = record(request);
|
|
1077
1183
|
if (!requestRecord || !Array.isArray(requestRecord.creatives)) {
|
|
@@ -1092,16 +1198,23 @@ function projectSyncCreativesForDelivery(request, selectorContainers, wireMode =
|
|
|
1092
1198
|
const relevant = assignedPackageIds.size === 0 ? selectorContainers : selectorContainers.filter(
|
|
1093
1199
|
(container) => typeof container.package_id === "string" && assignedPackageIds.has(container.package_id)
|
|
1094
1200
|
);
|
|
1201
|
+
const scopedResolver = memoizePackageResolver(canonicalFormatLegacyResolver);
|
|
1095
1202
|
const combined = {
|
|
1096
1203
|
selector_containers: relevant
|
|
1097
1204
|
};
|
|
1098
|
-
const projected =
|
|
1205
|
+
const projected = (wireMode !== "canonical" ? projectSharedLegacyCreative(
|
|
1206
|
+
creative,
|
|
1207
|
+
relevant,
|
|
1208
|
+
assignedPackageIds.size > 0,
|
|
1209
|
+
scopedResolver,
|
|
1210
|
+
legacyFormatDefinitions
|
|
1211
|
+
) : void 0) ?? projectCreativeForDelivery(
|
|
1099
1212
|
creative,
|
|
1100
1213
|
combined,
|
|
1101
1214
|
wireMode,
|
|
1102
1215
|
"sync_creatives",
|
|
1103
1216
|
legacyFormatConverter,
|
|
1104
|
-
|
|
1217
|
+
scopedResolver,
|
|
1105
1218
|
legacyFormatDefinitions
|
|
1106
1219
|
);
|
|
1107
1220
|
if (projected !== creativeValue) changed = true;
|
|
@@ -17,6 +17,9 @@ export declare const COMPACT_DEFINITIONS_KEY = "x-adcp-compact-definitions";
|
|
|
17
17
|
*/
|
|
18
18
|
export declare function compactBundledSchema(root: JsonObject, options?: {
|
|
19
19
|
maxInlineSchemaBytes?: number;
|
|
20
|
+
referencePrefix?: string;
|
|
21
|
+
referenceRoots?: readonly JsonObject[];
|
|
22
|
+
canFactor?: (schema: JsonObject) => boolean;
|
|
20
23
|
}): JsonObject;
|
|
21
24
|
/**
|
|
22
25
|
* Prepare a self-contained bundled schema for bounded AJV compilation. Nested
|
|
@@ -24,4 +27,11 @@ export declare function compactBundledSchema(root: JsonObject, options?: {
|
|
|
24
27
|
* Walk schema positions only so IDs in enum/default/example data stay intact.
|
|
25
28
|
*/
|
|
26
29
|
export declare function compactSchemaForValidation(schema: JsonObject): JsonObject;
|
|
30
|
+
/**
|
|
31
|
+
* Factor a remote schema without treating its $ids as removable annotations.
|
|
32
|
+
* Absolute references preserve their original scope when a node is hoisted.
|
|
33
|
+
* Anchors stay in their resource; dynamic scopes and unusual URIs use the
|
|
34
|
+
* original document so the official compiler retains its normal behavior.
|
|
35
|
+
*/
|
|
36
|
+
export declare function compactMcpSchemaForValidation(schema: JsonObject): JsonObject;
|
|
27
37
|
export {};
|
|
@@ -17,6 +17,9 @@ export declare const COMPACT_DEFINITIONS_KEY = "x-adcp-compact-definitions";
|
|
|
17
17
|
*/
|
|
18
18
|
export declare function compactBundledSchema(root: JsonObject, options?: {
|
|
19
19
|
maxInlineSchemaBytes?: number;
|
|
20
|
+
referencePrefix?: string;
|
|
21
|
+
referenceRoots?: readonly JsonObject[];
|
|
22
|
+
canFactor?: (schema: JsonObject) => boolean;
|
|
20
23
|
}): JsonObject;
|
|
21
24
|
/**
|
|
22
25
|
* Prepare a self-contained bundled schema for bounded AJV compilation. Nested
|
|
@@ -24,4 +27,11 @@ export declare function compactBundledSchema(root: JsonObject, options?: {
|
|
|
24
27
|
* Walk schema positions only so IDs in enum/default/example data stay intact.
|
|
25
28
|
*/
|
|
26
29
|
export declare function compactSchemaForValidation(schema: JsonObject): JsonObject;
|
|
30
|
+
/**
|
|
31
|
+
* Factor a remote schema without treating its $ids as removable annotations.
|
|
32
|
+
* Absolute references preserve their original scope when a node is hoisted.
|
|
33
|
+
* Anchors stay in their resource; dynamic scopes and unusual URIs use the
|
|
34
|
+
* original document so the official compiler retains its normal behavior.
|
|
35
|
+
*/
|
|
36
|
+
export declare function compactMcpSchemaForValidation(schema: JsonObject): JsonObject;
|
|
27
37
|
export {};
|