@adcp/sdk 5.25.1 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +45 -7
- package/dist/lib/compliance-fixtures/index.d.ts +1 -1
- package/dist/lib/compliance-fixtures/index.js +1 -1
- package/dist/lib/core/AgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.d.ts.map +1 -1
- package/dist/lib/core/SingleAgentClient.js +15 -0
- package/dist/lib/core/SingleAgentClient.js.map +1 -1
- package/dist/lib/core/TaskExecutor.d.ts +7 -0
- package/dist/lib/core/TaskExecutor.d.ts.map +1 -1
- package/dist/lib/core/TaskExecutor.js +9 -2
- package/dist/lib/core/TaskExecutor.js.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +7 -8
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/schemas/index.d.ts +1 -1
- package/dist/lib/schemas/index.js +1 -1
- package/dist/lib/server/create-adcp-server.d.ts +129 -11
- package/dist/lib/server/create-adcp-server.d.ts.map +1 -1
- package/dist/lib/server/create-adcp-server.js +112 -2
- package/dist/lib/server/create-adcp-server.js.map +1 -1
- package/dist/lib/server/ctx-metadata/backends/memory.d.ts +27 -0
- package/dist/lib/server/ctx-metadata/backends/memory.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/backends/memory.js +72 -0
- package/dist/lib/server/ctx-metadata/backends/memory.js.map +1 -0
- package/dist/lib/server/ctx-metadata/backends/pg.d.ts +62 -0
- package/dist/lib/server/ctx-metadata/backends/pg.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/backends/pg.js +145 -0
- package/dist/lib/server/ctx-metadata/backends/pg.js.map +1 -0
- package/dist/lib/server/ctx-metadata/index.d.ts +15 -0
- package/dist/lib/server/ctx-metadata/index.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/index.js +28 -0
- package/dist/lib/server/ctx-metadata/index.js.map +1 -0
- package/dist/lib/server/ctx-metadata/store.d.ts +177 -0
- package/dist/lib/server/ctx-metadata/store.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/store.js +327 -0
- package/dist/lib/server/ctx-metadata/store.js.map +1 -0
- package/dist/lib/server/ctx-metadata/wire-shape.d.ts +55 -0
- package/dist/lib/server/ctx-metadata/wire-shape.d.ts.map +1 -0
- package/dist/lib/server/ctx-metadata/wire-shape.js +121 -0
- package/dist/lib/server/ctx-metadata/wire-shape.js.map +1 -0
- package/dist/lib/server/decisioning/account.d.ts +309 -0
- package/dist/lib/server/decisioning/account.d.ts.map +1 -0
- package/dist/lib/server/decisioning/account.js +102 -0
- package/dist/lib/server/decisioning/account.js.map +1 -0
- package/dist/lib/server/decisioning/admin-router.d.ts +75 -0
- package/dist/lib/server/decisioning/admin-router.d.ts.map +1 -0
- package/dist/lib/server/decisioning/admin-router.js +120 -0
- package/dist/lib/server/decisioning/admin-router.js.map +1 -0
- package/dist/lib/server/decisioning/assembly-helpers.d.ts +204 -0
- package/dist/lib/server/decisioning/assembly-helpers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/assembly-helpers.js +173 -0
- package/dist/lib/server/decisioning/assembly-helpers.js.map +1 -0
- package/dist/lib/server/decisioning/async-outcome.d.ts +154 -0
- package/dist/lib/server/decisioning/async-outcome.d.ts.map +1 -0
- package/dist/lib/server/decisioning/async-outcome.js +239 -0
- package/dist/lib/server/decisioning/async-outcome.js.map +1 -0
- package/dist/lib/server/decisioning/capabilities.d.ts +251 -0
- package/dist/lib/server/decisioning/capabilities.d.ts.map +1 -0
- package/dist/lib/server/decisioning/capabilities.js +16 -0
- package/dist/lib/server/decisioning/capabilities.js.map +1 -0
- package/dist/lib/server/decisioning/context.d.ts +212 -0
- package/dist/lib/server/decisioning/context.d.ts.map +1 -0
- package/dist/lib/server/decisioning/context.js +26 -0
- package/dist/lib/server/decisioning/context.js.map +1 -0
- package/dist/lib/server/decisioning/errors-typed.d.ts +104 -0
- package/dist/lib/server/decisioning/errors-typed.d.ts.map +1 -0
- package/dist/lib/server/decisioning/errors-typed.js +304 -0
- package/dist/lib/server/decisioning/errors-typed.js.map +1 -0
- package/dist/lib/server/decisioning/helpers.d.ts +131 -0
- package/dist/lib/server/decisioning/helpers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/helpers.js +134 -0
- package/dist/lib/server/decisioning/helpers.js.map +1 -0
- package/dist/lib/server/decisioning/index.d.ts +46 -0
- package/dist/lib/server/decisioning/index.d.ts.map +1 -0
- package/dist/lib/server/decisioning/index.js +120 -0
- package/dist/lib/server/decisioning/index.js.map +1 -0
- package/dist/lib/server/decisioning/list-helpers.d.ts +53 -0
- package/dist/lib/server/decisioning/list-helpers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/list-helpers.js +96 -0
- package/dist/lib/server/decisioning/list-helpers.js.map +1 -0
- package/dist/lib/server/decisioning/manifest-helpers.d.ts +56 -0
- package/dist/lib/server/decisioning/manifest-helpers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/manifest-helpers.js +78 -0
- package/dist/lib/server/decisioning/manifest-helpers.js.map +1 -0
- package/dist/lib/server/decisioning/pagination.d.ts +21 -0
- package/dist/lib/server/decisioning/pagination.d.ts.map +1 -0
- package/dist/lib/server/decisioning/pagination.js +12 -0
- package/dist/lib/server/decisioning/pagination.js.map +1 -0
- package/dist/lib/server/decisioning/platform.d.ts +188 -0
- package/dist/lib/server/decisioning/platform.d.ts.map +1 -0
- package/dist/lib/server/decisioning/platform.js +19 -0
- package/dist/lib/server/decisioning/platform.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/from-platform.d.ts +510 -0
- package/dist/lib/server/decisioning/runtime/from-platform.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/from-platform.js +2196 -0
- package/dist/lib/server/decisioning/runtime/from-platform.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.d.ts +114 -0
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.js +247 -0
- package/dist/lib/server/decisioning/runtime/postgres-task-registry.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/protocol-for-tool.d.ts +32 -0
- package/dist/lib/server/decisioning/runtime/protocol-for-tool.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/protocol-for-tool.js +127 -0
- package/dist/lib/server/decisioning/runtime/protocol-for-tool.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/task-registry.d.ts +105 -0
- package/dist/lib/server/decisioning/runtime/task-registry.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/task-registry.js +96 -0
- package/dist/lib/server/decisioning/runtime/task-registry.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/to-context.d.ts +54 -0
- package/dist/lib/server/decisioning/runtime/to-context.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/to-context.js +166 -0
- package/dist/lib/server/decisioning/runtime/to-context.js.map +1 -0
- package/dist/lib/server/decisioning/runtime/validate-platform.d.ts +20 -0
- package/dist/lib/server/decisioning/runtime/validate-platform.d.ts.map +1 -0
- package/dist/lib/server/decisioning/runtime/validate-platform.js +93 -0
- package/dist/lib/server/decisioning/runtime/validate-platform.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/audiences.d.ts +72 -0
- package/dist/lib/server/decisioning/specialisms/audiences.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/audiences.js +15 -0
- package/dist/lib/server/decisioning/specialisms/audiences.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/brand-rights.d.ts +92 -0
- package/dist/lib/server/decisioning/specialisms/brand-rights.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/brand-rights.js +28 -0
- package/dist/lib/server/decisioning/specialisms/brand-rights.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/campaign-governance.d.ts +67 -0
- package/dist/lib/server/decisioning/specialisms/campaign-governance.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/campaign-governance.js +31 -0
- package/dist/lib/server/decisioning/specialisms/campaign-governance.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/content-standards.d.ts +78 -0
- package/dist/lib/server/decisioning/specialisms/content-standards.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/content-standards.js +35 -0
- package/dist/lib/server/decisioning/specialisms/content-standards.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts +81 -0
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.js +28 -0
- package/dist/lib/server/decisioning/specialisms/creative-ad-server.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/creative.d.ts +144 -0
- package/dist/lib/server/decisioning/specialisms/creative.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/creative.js +19 -0
- package/dist/lib/server/decisioning/specialisms/creative.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/lists.d.ts +61 -0
- package/dist/lib/server/decisioning/specialisms/lists.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/lists.js +30 -0
- package/dist/lib/server/decisioning/specialisms/lists.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/sales.d.ts +163 -0
- package/dist/lib/server/decisioning/specialisms/sales.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/sales.js +64 -0
- package/dist/lib/server/decisioning/specialisms/sales.js.map +1 -0
- package/dist/lib/server/decisioning/specialisms/signals.d.ts +64 -0
- package/dist/lib/server/decisioning/specialisms/signals.d.ts.map +1 -0
- package/dist/lib/server/decisioning/specialisms/signals.js +28 -0
- package/dist/lib/server/decisioning/specialisms/signals.js.map +1 -0
- package/dist/lib/server/decisioning/start-time.d.ts +76 -0
- package/dist/lib/server/decisioning/start-time.d.ts.map +1 -0
- package/dist/lib/server/decisioning/start-time.js +81 -0
- package/dist/lib/server/decisioning/start-time.js.map +1 -0
- package/dist/lib/server/decisioning/status-changes.d.ts +165 -0
- package/dist/lib/server/decisioning/status-changes.d.ts.map +1 -0
- package/dist/lib/server/decisioning/status-changes.js +131 -0
- package/dist/lib/server/decisioning/status-changes.js.map +1 -0
- package/dist/lib/server/decisioning/status-mappers.d.ts +46 -0
- package/dist/lib/server/decisioning/status-mappers.d.ts.map +1 -0
- package/dist/lib/server/decisioning/status-mappers.js +46 -0
- package/dist/lib/server/decisioning/status-mappers.js.map +1 -0
- package/dist/lib/server/decisioning/tenant-registry.d.ts +289 -0
- package/dist/lib/server/decisioning/tenant-registry.d.ts.map +1 -0
- package/dist/lib/server/decisioning/tenant-registry.js +503 -0
- package/dist/lib/server/decisioning/tenant-registry.js.map +1 -0
- package/dist/lib/server/express-adapter.d.ts +1 -1
- package/dist/lib/server/express-adapter.js +1 -1
- package/dist/lib/server/governance.d.ts +1 -1
- package/dist/lib/server/governance.js +1 -1
- package/dist/lib/server/idempotency/store.d.ts +1 -1
- package/dist/lib/server/idempotency/store.js +1 -1
- package/dist/lib/server/index.d.ts +9 -2
- package/dist/lib/server/index.d.ts.map +1 -1
- package/dist/lib/server/index.js +79 -4
- package/dist/lib/server/index.js.map +1 -1
- package/dist/lib/server/legacy/v5/index.d.ts +38 -0
- package/dist/lib/server/legacy/v5/index.d.ts.map +1 -0
- package/dist/lib/server/legacy/v5/index.js +60 -0
- package/dist/lib/server/legacy/v5/index.js.map +1 -0
- package/dist/lib/server/normalize-errors.d.ts +88 -0
- package/dist/lib/server/normalize-errors.d.ts.map +1 -0
- package/dist/lib/server/normalize-errors.js +146 -0
- package/dist/lib/server/normalize-errors.js.map +1 -0
- package/dist/lib/server/pick-safe-details.d.ts +90 -0
- package/dist/lib/server/pick-safe-details.d.ts.map +1 -0
- package/dist/lib/server/pick-safe-details.js +148 -0
- package/dist/lib/server/pick-safe-details.js.map +1 -0
- package/dist/lib/server/postgres-state-store.d.ts +1 -1
- package/dist/lib/server/postgres-state-store.js +1 -1
- package/dist/lib/server/responses.d.ts +38 -0
- package/dist/lib/server/responses.d.ts.map +1 -1
- package/dist/lib/server/responses.js +38 -0
- package/dist/lib/server/responses.js.map +1 -1
- package/dist/lib/server/state-store.d.ts +1 -1
- package/dist/lib/server/state-store.js +1 -1
- package/dist/lib/server/test-controller.d.ts +10 -3
- package/dist/lib/server/test-controller.d.ts.map +1 -1
- package/dist/lib/server/test-controller.js +10 -3
- package/dist/lib/server/test-controller.js.map +1 -1
- package/dist/lib/testing/comply-controller.d.ts +47 -1
- package/dist/lib/testing/comply-controller.d.ts.map +1 -1
- package/dist/lib/testing/comply-controller.js +11 -4
- package/dist/lib/testing/comply-controller.js.map +1 -1
- package/dist/lib/testing/index.d.ts +1 -1
- package/dist/lib/testing/index.d.ts.map +1 -1
- package/dist/lib/testing/index.js.map +1 -1
- package/dist/lib/testing/personas/index.d.ts +143 -0
- package/dist/lib/testing/personas/index.d.ts.map +1 -0
- package/dist/lib/testing/personas/index.js +190 -0
- package/dist/lib/testing/personas/index.js.map +1 -0
- package/dist/lib/testing/storyboard/index.d.ts +1 -1
- package/dist/lib/testing/storyboard/index.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/index.js +3 -2
- package/dist/lib/testing/storyboard/index.js.map +1 -1
- package/dist/lib/testing/storyboard/runner.d.ts +13 -0
- package/dist/lib/testing/storyboard/runner.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/runner.js +179 -7
- package/dist/lib/testing/storyboard/runner.js.map +1 -1
- package/dist/lib/types/asset-instances.d.ts +1 -0
- package/dist/lib/types/asset-instances.d.ts.map +1 -1
- package/dist/lib/types/core.generated.d.ts +203 -98
- package/dist/lib/types/core.generated.d.ts.map +1 -1
- package/dist/lib/types/core.generated.js +1 -1
- package/dist/lib/types/index.d.ts +1 -0
- package/dist/lib/types/index.d.ts.map +1 -1
- package/dist/lib/types/index.js.map +1 -1
- package/dist/lib/types/schemas.generated.d.ts +599 -159
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +175 -94
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/tools.generated.d.ts +315 -46
- package/dist/lib/types/tools.generated.d.ts.map +1 -1
- package/dist/lib/utils/capabilities.d.ts +1 -1
- package/dist/lib/utils/capabilities.d.ts.map +1 -1
- package/dist/lib/utils/capabilities.js +6 -0
- package/dist/lib/utils/capabilities.js.map +1 -1
- package/dist/lib/validation/schema-validator.d.ts +13 -0
- package/dist/lib/validation/schema-validator.d.ts.map +1 -1
- package/dist/lib/validation/schema-validator.js +240 -3
- package/dist/lib/validation/schema-validator.js.map +1 -1
- package/dist/lib/version.d.ts +3 -3
- package/dist/lib/version.d.ts.map +1 -1
- package/dist/lib/version.js +3 -3
- package/dist/lib/version.js.map +1 -1
- package/docs/guides/BUILD-AN-AGENT.md +30 -5
- package/docs/llms.txt +28 -17
- package/examples/README.md +3 -1
- package/examples/decisioning-platform-broadcast-tv.ts +300 -0
- package/examples/decisioning-platform-identity-graph.ts +214 -0
- package/examples/decisioning-platform-mock-seller.ts +332 -0
- package/examples/decisioning-platform-multi-tenant.ts +128 -0
- package/examples/decisioning-platform-programmatic.ts +254 -0
- package/examples/signals-agent.ts +1 -1
- package/package.json +13 -2
- package/skills/build-brand-rights-agent/SKILL.md +10 -3
- package/skills/build-creative-agent/SKILL.md +94 -64
- package/skills/build-decisioning-creative-template/SKILL.md +554 -0
- package/skills/build-decisioning-platform/SKILL.md +304 -0
- package/skills/build-decisioning-platform/advanced/BRAND-RIGHTS.md +25 -0
- package/skills/build-decisioning-platform/advanced/COMPLIANCE.md +23 -0
- package/skills/build-decisioning-platform/advanced/GOVERNANCE.md +24 -0
- package/skills/build-decisioning-platform/advanced/HITL.md +34 -0
- package/skills/build-decisioning-platform/advanced/IDEMPOTENCY.md +52 -0
- package/skills/build-decisioning-platform/advanced/MULTI-TENANT.md +47 -0
- package/skills/build-decisioning-platform/advanced/OAUTH.md +22 -0
- package/skills/build-decisioning-platform/advanced/REFERENCE.md +991 -0
- package/skills/build-decisioning-platform/advanced/SANDBOX.md +24 -0
- package/skills/build-decisioning-platform/advanced/STATE-MACHINE.md +52 -0
- package/skills/build-decisioning-signal-marketplace/SKILL.md +269 -0
- package/skills/build-generative-seller-agent/SKILL.md +89 -53
- package/skills/build-governance-agent/SKILL.md +76 -45
- package/skills/build-retail-media-agent/SKILL.md +87 -62
- package/skills/build-seller-agent/SKILL.md +384 -255
- package/skills/build-seller-agent/deployment.md +5 -3
- package/skills/build-seller-agent/specialisms/audience-sync.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-broadcast-tv.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-guaranteed.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-non-guaranteed.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-proposal-mode.md +0 -2
- package/skills/build-seller-agent/specialisms/sales-social.md +0 -2
- package/skills/build-seller-agent/specialisms/signed-requests.md +0 -2
- package/skills/build-si-agent/SKILL.md +40 -32
- package/skills/build-signals-agent/SKILL.md +139 -92
- package/skills/call-adcp-agent.previous/SKILL.md +5 -0
|
@@ -6808,6 +6808,14 @@ export interface SyncCatalogsRequest {
|
|
|
6808
6808
|
* Response from catalog sync operation. Returns either per-catalog results (best-effort processing) OR operation-level errors (complete failure). Platforms may approve, reject, or flag individual items within each catalog (similar to Google Merchant Center product review).
|
|
6809
6809
|
*/
|
|
6810
6810
|
export type SyncCatalogsResponse = SyncCatalogsSuccess | SyncCatalogsError;
|
|
6811
|
+
/**
|
|
6812
|
+
* Action taken for this catalog
|
|
6813
|
+
*/
|
|
6814
|
+
export type CatalogAction = 'created' | 'updated' | 'unchanged' | 'failed' | 'deleted';
|
|
6815
|
+
/**
|
|
6816
|
+
* Item review status
|
|
6817
|
+
*/
|
|
6818
|
+
export type CatalogItemStatus = 'approved' | 'pending' | 'rejected' | 'warning';
|
|
6811
6819
|
/**
|
|
6812
6820
|
* Success response - sync operation processed catalogs (may include per-catalog failures)
|
|
6813
6821
|
*/
|
|
@@ -6820,7 +6828,65 @@ export interface SyncCatalogsSuccess {
|
|
|
6820
6828
|
* Results for each catalog processed. Items with action='failed' indicate per-catalog validation/processing failures, not operation-level failures.
|
|
6821
6829
|
*/
|
|
6822
6830
|
catalogs: {
|
|
6823
|
-
|
|
6831
|
+
/**
|
|
6832
|
+
* Catalog ID from the request
|
|
6833
|
+
*/
|
|
6834
|
+
catalog_id: string;
|
|
6835
|
+
action: CatalogAction;
|
|
6836
|
+
/**
|
|
6837
|
+
* Platform-specific ID assigned to the catalog
|
|
6838
|
+
*/
|
|
6839
|
+
platform_id?: string;
|
|
6840
|
+
/**
|
|
6841
|
+
* Total number of items in the catalog after sync. Required when action is 'created', 'updated', or 'unchanged'. Omitted on 'failed' and 'deleted'.
|
|
6842
|
+
*/
|
|
6843
|
+
item_count?: number;
|
|
6844
|
+
/**
|
|
6845
|
+
* Number of items approved by the platform. Populated when the platform performs item-level review.
|
|
6846
|
+
*/
|
|
6847
|
+
items_approved?: number;
|
|
6848
|
+
/**
|
|
6849
|
+
* Number of items pending platform review. Common for product catalogs where items must pass content policy checks.
|
|
6850
|
+
*/
|
|
6851
|
+
items_pending?: number;
|
|
6852
|
+
/**
|
|
6853
|
+
* Number of items rejected by the platform. Check item_issues for rejection reasons.
|
|
6854
|
+
*/
|
|
6855
|
+
items_rejected?: number;
|
|
6856
|
+
/**
|
|
6857
|
+
* Per-item issues reported by the platform (rejections, warnings). Only present when the platform performs item-level review.
|
|
6858
|
+
*/
|
|
6859
|
+
item_issues?: {
|
|
6860
|
+
/**
|
|
6861
|
+
* ID of the catalog item with an issue
|
|
6862
|
+
*/
|
|
6863
|
+
item_id: string;
|
|
6864
|
+
status: CatalogItemStatus;
|
|
6865
|
+
/**
|
|
6866
|
+
* Reasons for rejection or warning
|
|
6867
|
+
*/
|
|
6868
|
+
reasons?: string[];
|
|
6869
|
+
}[];
|
|
6870
|
+
/**
|
|
6871
|
+
* ISO 8601 timestamp of when the most recent sync was accepted by the platform
|
|
6872
|
+
*/
|
|
6873
|
+
last_synced_at?: string;
|
|
6874
|
+
/**
|
|
6875
|
+
* ISO 8601 timestamp of when the platform will next fetch the feed URL. Only present for URL-based catalogs with update_frequency.
|
|
6876
|
+
*/
|
|
6877
|
+
next_fetch_at?: string;
|
|
6878
|
+
/**
|
|
6879
|
+
* Field names that were modified (only present when action='updated')
|
|
6880
|
+
*/
|
|
6881
|
+
changes?: string[];
|
|
6882
|
+
/**
|
|
6883
|
+
* Validation or processing errors (only present when action='failed')
|
|
6884
|
+
*/
|
|
6885
|
+
errors?: Error[];
|
|
6886
|
+
/**
|
|
6887
|
+
* Non-fatal warnings about this catalog
|
|
6888
|
+
*/
|
|
6889
|
+
warnings?: string[];
|
|
6824
6890
|
}[];
|
|
6825
6891
|
/**
|
|
6826
6892
|
* When true, this response contains simulated data from sandbox mode.
|
|
@@ -7355,9 +7421,7 @@ export interface BuildCreativeError {
|
|
|
7355
7421
|
/**
|
|
7356
7422
|
* Request to generate previews of creative manifests. Uses request_type to select single, batch, or variant mode.
|
|
7357
7423
|
*/
|
|
7358
|
-
export
|
|
7359
|
-
[k: string]: unknown | undefined;
|
|
7360
|
-
} & {
|
|
7424
|
+
export interface PreviewCreativeRequest {
|
|
7361
7425
|
/**
|
|
7362
7426
|
* The AdCP major version the buyer's payloads conform to. Sellers validate against their supported major_versions and return VERSION_UNSUPPORTED if unsupported. When omitted, the seller assumes its highest supported version.
|
|
7363
7427
|
*/
|
|
@@ -7443,7 +7507,7 @@ export type PreviewCreativeRequest = {
|
|
|
7443
7507
|
creative_id?: string;
|
|
7444
7508
|
context?: ContextObject;
|
|
7445
7509
|
ext?: ExtensionObject;
|
|
7446
|
-
}
|
|
7510
|
+
}
|
|
7447
7511
|
/**
|
|
7448
7512
|
* Response containing preview links for one or more creatives. Format matches the request: single preview response for single requests, batch results for batch requests.
|
|
7449
7513
|
*/
|
|
@@ -7726,12 +7790,18 @@ export interface Identifier {
|
|
|
7726
7790
|
*/
|
|
7727
7791
|
value: string;
|
|
7728
7792
|
}
|
|
7793
|
+
/**
|
|
7794
|
+
* Field to sort by
|
|
7795
|
+
*/
|
|
7796
|
+
export type CreativeSortField = 'created_date' | 'updated_date' | 'name' | 'status' | 'assignment_count';
|
|
7797
|
+
/**
|
|
7798
|
+
* Sort direction
|
|
7799
|
+
*/
|
|
7800
|
+
export type SortDirection = 'asc' | 'desc';
|
|
7729
7801
|
/**
|
|
7730
7802
|
* Request parameters for querying creative assets from a creative library with filtering, sorting, and pagination. Implemented by any agent that hosts a creative library — creative agents (ad servers, creative platforms) and sales agents that manage creatives.
|
|
7731
7803
|
*/
|
|
7732
|
-
export
|
|
7733
|
-
[k: string]: unknown | undefined;
|
|
7734
|
-
} & {
|
|
7804
|
+
export interface ListCreativesRequest {
|
|
7735
7805
|
/**
|
|
7736
7806
|
* The AdCP major version the buyer's payloads conform to. Sellers validate against their supported major_versions and return VERSION_UNSUPPORTED if unsupported. When omitted, the seller assumes its highest supported version.
|
|
7737
7807
|
*/
|
|
@@ -7772,15 +7842,7 @@ export type ListCreativesRequest = {
|
|
|
7772
7842
|
fields?: ('creative_id' | 'name' | 'format_id' | 'status' | 'created_date' | 'updated_date' | 'tags' | 'assignments' | 'snapshot' | 'items' | 'variables' | 'concept' | 'pricing_options')[];
|
|
7773
7843
|
context?: ContextObject;
|
|
7774
7844
|
ext?: ExtensionObject;
|
|
7775
|
-
}
|
|
7776
|
-
/**
|
|
7777
|
-
* Field to sort by
|
|
7778
|
-
*/
|
|
7779
|
-
export type CreativeSortField = 'created_date' | 'updated_date' | 'name' | 'status' | 'assignment_count';
|
|
7780
|
-
/**
|
|
7781
|
-
* Sort direction
|
|
7782
|
-
*/
|
|
7783
|
-
export type SortDirection = 'asc' | 'desc';
|
|
7845
|
+
}
|
|
7784
7846
|
/**
|
|
7785
7847
|
* Filter criteria for querying creatives from a creative library. By default, archived creatives are excluded from results. To include archived creatives, explicitly filter by status='archived' or include 'archived' in the statuses array.
|
|
7786
7848
|
*/
|
|
@@ -8155,6 +8217,10 @@ export interface SyncCreativesRequest {
|
|
|
8155
8217
|
* Response from creative sync operation. Exactly one of three shapes: (1) synchronous success — per-creative results in the creatives array (best-effort processing with per-item status/failures); (2) terminal failure — errors array with no creatives processed; (3) submitted task envelope — status 'submitted' with task_id when the whole operation is queued (batch ingestion, async review that must settle before per-item results can be issued). The submitted branch MAY carry advisory errors for non-blocking warnings; terminal failures belong in the error branch. Final per-item results land on the task completion artifact, not this envelope. These three shapes are mutually exclusive — a response has exactly one.
|
|
8156
8218
|
*/
|
|
8157
8219
|
export type SyncCreativesResponse = SyncCreativesSuccess | SyncCreativesError | SyncCreativesSubmitted;
|
|
8220
|
+
/**
|
|
8221
|
+
* Action taken for this creative during this sync operation (lifecycle operation, not approval state).
|
|
8222
|
+
*/
|
|
8223
|
+
export type CreativeAction = 'created' | 'updated' | 'unchanged' | 'failed' | 'deleted';
|
|
8158
8224
|
/**
|
|
8159
8225
|
* Success response - sync operation processed creatives (may include per-item failures)
|
|
8160
8226
|
*/
|
|
@@ -8167,7 +8233,53 @@ export interface SyncCreativesSuccess {
|
|
|
8167
8233
|
* Results for each creative processed. Items with action='failed' indicate per-item validation/processing failures, not operation-level failures.
|
|
8168
8234
|
*/
|
|
8169
8235
|
creatives: {
|
|
8170
|
-
|
|
8236
|
+
/**
|
|
8237
|
+
* Creative ID from the request
|
|
8238
|
+
*/
|
|
8239
|
+
creative_id: string;
|
|
8240
|
+
account?: Account;
|
|
8241
|
+
action: CreativeAction;
|
|
8242
|
+
status?: CreativeStatus;
|
|
8243
|
+
/**
|
|
8244
|
+
* Platform-specific ID assigned to the creative
|
|
8245
|
+
*/
|
|
8246
|
+
platform_id?: string;
|
|
8247
|
+
/**
|
|
8248
|
+
* Field names that were modified (only present when action='updated')
|
|
8249
|
+
*/
|
|
8250
|
+
changes?: string[];
|
|
8251
|
+
/**
|
|
8252
|
+
* Validation or processing errors (only present when action='failed')
|
|
8253
|
+
*/
|
|
8254
|
+
errors?: Error[];
|
|
8255
|
+
/**
|
|
8256
|
+
* Non-fatal warnings about this creative
|
|
8257
|
+
*/
|
|
8258
|
+
warnings?: string[];
|
|
8259
|
+
/**
|
|
8260
|
+
* Preview URL for generative creatives (only present for generative formats)
|
|
8261
|
+
*/
|
|
8262
|
+
preview_url?: string;
|
|
8263
|
+
/**
|
|
8264
|
+
* ISO 8601 timestamp when preview link expires (only present when preview_url exists)
|
|
8265
|
+
*/
|
|
8266
|
+
expires_at?: string;
|
|
8267
|
+
/**
|
|
8268
|
+
* Package IDs this creative was successfully assigned to (only present when assignments were requested)
|
|
8269
|
+
*/
|
|
8270
|
+
assigned_to?: string[];
|
|
8271
|
+
/**
|
|
8272
|
+
* Assignment errors by package ID (only present when assignment failures occurred)
|
|
8273
|
+
*/
|
|
8274
|
+
assignment_errors?: {
|
|
8275
|
+
/**
|
|
8276
|
+
* Error message for this package assignment
|
|
8277
|
+
*
|
|
8278
|
+
* This interface was referenced by `undefined`'s JSON-Schema definition
|
|
8279
|
+
* via the `patternProperty` "^[a-zA-Z0-9_-]+$".
|
|
8280
|
+
*/
|
|
8281
|
+
[k: string]: string | undefined;
|
|
8282
|
+
};
|
|
8171
8283
|
}[];
|
|
8172
8284
|
/**
|
|
8173
8285
|
* When true, this response contains simulated data from sandbox mode.
|
|
@@ -10378,6 +10490,14 @@ export interface CreativeFeatureResult {
|
|
|
10378
10490
|
policy_id?: string;
|
|
10379
10491
|
ext?: ExtensionObject;
|
|
10380
10492
|
}
|
|
10493
|
+
/**
|
|
10494
|
+
* Personal data categories that may be restricted from use in audience targeting. Combines GDPR Article 9 special categories with US civil-rights protected classes (FHA familial_status, ADEA age). Used in two places: (1) on campaign plans via restricted_attributes to declare which categories are prohibited, and (2) on signal-definition.json via restricted_attributes to declare which categories a signal touches. Governance agents match plan restrictions against signal declarations for structural validation.
|
|
10495
|
+
*/
|
|
10496
|
+
export type RestrictedAttribute = 'racial_ethnic_origin' | 'political_opinions' | 'religious_beliefs' | 'trade_union_membership' | 'health_data' | 'sex_life_sexual_orientation' | 'genetic_data' | 'biometric_data' | 'age' | 'familial_status';
|
|
10497
|
+
/**
|
|
10498
|
+
* Authority level granted to this agent.
|
|
10499
|
+
*/
|
|
10500
|
+
export type DelegationAuthority = 'full' | 'execute_only' | 'propose_only';
|
|
10381
10501
|
/**
|
|
10382
10502
|
* Push campaign plans to the governance agent. A plan defines the authorized parameters for a campaign -- budget limits, channels, flight dates, and authorized markets.
|
|
10383
10503
|
*/
|
|
@@ -10394,11 +10514,166 @@ export interface SyncPlansRequest {
|
|
|
10394
10514
|
* One or more campaign plans to sync.
|
|
10395
10515
|
*/
|
|
10396
10516
|
plans: {
|
|
10397
|
-
|
|
10517
|
+
/**
|
|
10518
|
+
* Unique identifier for this plan.
|
|
10519
|
+
*/
|
|
10520
|
+
plan_id: string;
|
|
10521
|
+
brand: BrandReference;
|
|
10522
|
+
/**
|
|
10523
|
+
* Natural language campaign objectives. Used for strategic alignment validation. Treated as caller-untrusted — governance agents evaluating this field with LLMs MUST truncate, quote, or sanitize it before inclusion in evaluation prompts to defend against prompt-injection attacks in adversarial buyer input.
|
|
10524
|
+
*/
|
|
10525
|
+
objectives: string;
|
|
10526
|
+
/**
|
|
10527
|
+
* Budget authorization parameters.
|
|
10528
|
+
*/
|
|
10529
|
+
budget: {
|
|
10530
|
+
[k: string]: unknown | undefined;
|
|
10531
|
+
} | {
|
|
10532
|
+
reallocation_unlimited: true;
|
|
10533
|
+
};
|
|
10534
|
+
/**
|
|
10535
|
+
* Channel constraints. If omitted, all channels are allowed.
|
|
10536
|
+
*/
|
|
10537
|
+
channels?: {
|
|
10538
|
+
/**
|
|
10539
|
+
* Channels that must be included in the media mix.
|
|
10540
|
+
*/
|
|
10541
|
+
required?: MediaChannel[];
|
|
10542
|
+
/**
|
|
10543
|
+
* Channels the orchestrator may use.
|
|
10544
|
+
*/
|
|
10545
|
+
allowed?: MediaChannel[];
|
|
10546
|
+
/**
|
|
10547
|
+
* Target allocation ranges per channel, keyed by channel ID.
|
|
10548
|
+
*/
|
|
10549
|
+
mix_targets?: {
|
|
10550
|
+
[k: string]: {
|
|
10551
|
+
min_pct?: number;
|
|
10552
|
+
max_pct?: number;
|
|
10553
|
+
} | undefined;
|
|
10554
|
+
};
|
|
10555
|
+
};
|
|
10556
|
+
/**
|
|
10557
|
+
* Authorized flight dates. Governed actions with dates outside this window are rejected.
|
|
10558
|
+
*/
|
|
10559
|
+
flight: {
|
|
10560
|
+
/**
|
|
10561
|
+
* Flight start (ISO 8601).
|
|
10562
|
+
*/
|
|
10563
|
+
start: string;
|
|
10564
|
+
/**
|
|
10565
|
+
* Flight end (ISO 8601).
|
|
10566
|
+
*/
|
|
10567
|
+
end: string;
|
|
10568
|
+
};
|
|
10569
|
+
/**
|
|
10570
|
+
* ISO 3166-1 alpha-2 country codes for authorized markets (e.g., ['US', 'GB']). The governance agent rejects governed actions targeting outside these countries and resolves applicable policies by matching against policy jurisdictions.
|
|
10571
|
+
*/
|
|
10572
|
+
countries?: string[];
|
|
10573
|
+
/**
|
|
10574
|
+
* ISO 3166-2 subdivision codes for authorized sub-national markets (e.g., ['US-MA', 'US-CA']). When present, the governance agent restricts governed actions to these specific regions rather than the full country. Use for plans limited to specific states or provinces (e.g., cannabis in legal states). Policy resolution matches against both the subdivision and its parent country.
|
|
10575
|
+
*/
|
|
10576
|
+
regions?: string[];
|
|
10577
|
+
/**
|
|
10578
|
+
* Registry policy IDs to enforce for this plan. The governance agent resolves full policy definitions from the registry and evaluates actions against them. Intersected with the plan's countries/regions to activate only geographically relevant policies.
|
|
10579
|
+
*/
|
|
10580
|
+
policy_ids?: string[];
|
|
10581
|
+
/**
|
|
10582
|
+
* Regulatory categories that apply to this campaign. Determines which policy regimes the governance agent enforces (e.g., 'children_directed' activates COPPA/AADC, 'political_advertising' activates disclosure requirements). The governance agent resolves categories to specific policies based on the plan's jurisdictions. When omitted, governance agents MAY infer categories from the brand's industries and the plan's objectives. Values are registry-defined category IDs (intentionally freeform strings, not an enum — new categories are added as regulations evolve).
|
|
10583
|
+
*/
|
|
10584
|
+
policy_categories?: string[];
|
|
10585
|
+
audience?: AudienceConstraints;
|
|
10586
|
+
/**
|
|
10587
|
+
* Personal data categories that must not be used for targeting in this campaign. Applies horizontally across all audience criteria. Used for EU DSA Article 26 compliance (prohibits targeting on GDPR Article 9 special categories) and similar regulations. The governance agent flags any audience targeting that references these attributes.
|
|
10588
|
+
*/
|
|
10589
|
+
restricted_attributes?: RestrictedAttribute[];
|
|
10590
|
+
/**
|
|
10591
|
+
* Additional restricted attributes not covered by the restricted-attribute enum. Freeform strings for jurisdiction-specific or brand-specific restrictions beyond GDPR Article 9 categories (e.g., 'financial_status', 'immigration_status'). Governance agents use semantic matching for these.
|
|
10592
|
+
*/
|
|
10593
|
+
restricted_attributes_custom?: string[];
|
|
10594
|
+
/**
|
|
10595
|
+
* Minimum audience segment size. Prevents micro-targeting by ensuring segments meet a k-anonymity threshold. Applies to the estimated combined (intersection) audience when multiple criteria are used, not just individual criterion sizes. The governance agent validates this by querying signal catalog metadata or seller-reported segment sizes. When segment size data is unavailable, the governance agent SHOULD produce a finding with reduced confidence rather than silently passing.
|
|
10596
|
+
*/
|
|
10597
|
+
min_audience_size?: number;
|
|
10598
|
+
/**
|
|
10599
|
+
* When true, the governance agent MUST escalate any action on this plan for human review before execution — regardless of budget. Required by regulations that prohibit solely automated decisions affecting data subjects (GDPR Art 22, EU AI Act Annex III): credit, insurance pricing, recruitment, housing allocation. Governance agents MUST set this to true automatically when any resolved policy or policy_category has requires_human_review: true. Distinct from budget.reallocation_threshold, which only governs budget reallocation autonomy — human_review_required covers decisions affecting individuals (targeting, creative, delivery).
|
|
10600
|
+
*/
|
|
10601
|
+
human_review_required?: boolean;
|
|
10602
|
+
/**
|
|
10603
|
+
* Bespoke policies specific to this campaign, using the same shape as registry entries. Each policy has a policy_id, enforcement (must|should), and natural-language policy text. Governance findings reference policy_id to identify which policy triggered. For quick authoring, omit version/name/category — servers default them.
|
|
10604
|
+
*/
|
|
10605
|
+
custom_policies?: PolicyEntry[];
|
|
10606
|
+
/**
|
|
10607
|
+
* List of approved seller agent URLs. null means any seller.
|
|
10608
|
+
*/
|
|
10609
|
+
approved_sellers?: string[] | null;
|
|
10610
|
+
/**
|
|
10611
|
+
* Agents authorized to execute against this plan. Each delegation scopes an agent's authority by budget, markets, and expiration. The governance agent validates that the requesting agent matches a delegation before approving actions.
|
|
10612
|
+
*/
|
|
10613
|
+
delegations?: {
|
|
10614
|
+
/**
|
|
10615
|
+
* URL of the delegated agent.
|
|
10616
|
+
*/
|
|
10617
|
+
agent_url: string;
|
|
10618
|
+
authority: DelegationAuthority;
|
|
10619
|
+
/**
|
|
10620
|
+
* Maximum budget this agent can commit. When omitted, the agent can commit up to the plan's total budget.
|
|
10621
|
+
*/
|
|
10622
|
+
budget_limit?: {
|
|
10623
|
+
amount: number;
|
|
10624
|
+
currency: string;
|
|
10625
|
+
};
|
|
10626
|
+
/**
|
|
10627
|
+
* ISO 3166-1/3166-2 codes this agent is authorized for. When omitted, the agent can operate in all plan markets.
|
|
10628
|
+
*/
|
|
10629
|
+
markets?: string[];
|
|
10630
|
+
/**
|
|
10631
|
+
* When this delegation expires. After expiration, the governance agent denies actions from this agent.
|
|
10632
|
+
*/
|
|
10633
|
+
expires_at?: string;
|
|
10634
|
+
}[];
|
|
10635
|
+
/**
|
|
10636
|
+
* Portfolio-level governance constraints. When present, this plan acts as a portfolio plan that governs member plans. Portfolio plans define cross-brand constraints that no individual brand plan can override.
|
|
10637
|
+
*/
|
|
10638
|
+
portfolio?: {
|
|
10639
|
+
/**
|
|
10640
|
+
* Plan IDs governed by this portfolio plan. The governance agent validates member plan actions against portfolio constraints.
|
|
10641
|
+
*/
|
|
10642
|
+
member_plan_ids: string[];
|
|
10643
|
+
/**
|
|
10644
|
+
* Maximum aggregate budget across all member plans.
|
|
10645
|
+
*/
|
|
10646
|
+
total_budget_cap?: {
|
|
10647
|
+
amount: number;
|
|
10648
|
+
currency: string;
|
|
10649
|
+
};
|
|
10650
|
+
/**
|
|
10651
|
+
* Registry policy IDs enforced across all member plans, regardless of individual brand configuration.
|
|
10652
|
+
*/
|
|
10653
|
+
shared_policy_ids?: string[];
|
|
10654
|
+
/**
|
|
10655
|
+
* Bespoke exclusion policies applied across all member plans, using the same shape as registry entries. Authored typically as enforcement: must policies with exclusion language in the policy text (e.g., 'No advertising on properties owned by competitor holding companies').
|
|
10656
|
+
*/
|
|
10657
|
+
shared_exclusions?: PolicyEntry[];
|
|
10658
|
+
};
|
|
10659
|
+
ext?: ExtensionObject;
|
|
10398
10660
|
}[];
|
|
10399
10661
|
context?: ContextObject;
|
|
10400
10662
|
ext?: ExtensionObject;
|
|
10401
10663
|
}
|
|
10664
|
+
/**
|
|
10665
|
+
* Audience targeting constraints. Defines who the campaign should reach (include) and must not reach (exclude). The governance agent evaluates seller targeting against these constraints.
|
|
10666
|
+
*/
|
|
10667
|
+
export interface AudienceConstraints {
|
|
10668
|
+
/**
|
|
10669
|
+
* Desired audience criteria. The seller's targeting should align with these. Each criterion is evaluated independently — the combined targeting should satisfy at least one inclusion criterion.
|
|
10670
|
+
*/
|
|
10671
|
+
include?: AudienceSelector[];
|
|
10672
|
+
/**
|
|
10673
|
+
* Excluded audience criteria. The seller's targeting must not overlap with these. Exclusions take precedence over inclusions. Used for protected groups, vulnerable communities, regulatory restrictions, or brand safety.
|
|
10674
|
+
*/
|
|
10675
|
+
exclude?: AudienceSelector[];
|
|
10676
|
+
}
|
|
10402
10677
|
/**
|
|
10403
10678
|
* Response from syncing campaign plans. Returns status and active validation categories for each plan.
|
|
10404
10679
|
*/
|
|
@@ -11035,9 +11310,7 @@ export interface CheckGovernanceRequest {
|
|
|
11035
11310
|
/**
|
|
11036
11311
|
* Governance agent's response to a check request. Returns whether the action is approved under the governance plan.
|
|
11037
11312
|
*/
|
|
11038
|
-
export
|
|
11039
|
-
[k: string]: unknown | undefined;
|
|
11040
|
-
} & {
|
|
11313
|
+
export interface CheckGovernanceResponse {
|
|
11041
11314
|
/**
|
|
11042
11315
|
* Unique identifier for this governance check record. Use in report_plan_outcome to link outcomes to the check that authorized them.
|
|
11043
11316
|
*/
|
|
@@ -11129,7 +11402,7 @@ export type CheckGovernanceResponse = {
|
|
|
11129
11402
|
governance_context?: string;
|
|
11130
11403
|
context?: ContextObject;
|
|
11131
11404
|
ext?: ExtensionObject;
|
|
11132
|
-
}
|
|
11405
|
+
}
|
|
11133
11406
|
/**
|
|
11134
11407
|
* Get offering details and availability before session handoff. Returns offering information, availability status, and optionally matching products based on context.
|
|
11135
11408
|
*/
|
|
@@ -11460,21 +11733,6 @@ export interface SICapabilities {
|
|
|
11460
11733
|
*/
|
|
11461
11734
|
mcp_apps?: boolean;
|
|
11462
11735
|
}
|
|
11463
|
-
/**
|
|
11464
|
-
* Standard visual component that brand returns and host renders
|
|
11465
|
-
*/
|
|
11466
|
-
export type SIUIElement = {
|
|
11467
|
-
[k: string]: unknown | undefined;
|
|
11468
|
-
} & {
|
|
11469
|
-
/**
|
|
11470
|
-
* Component type
|
|
11471
|
-
*/
|
|
11472
|
-
type: 'text' | 'link' | 'image' | 'product_card' | 'carousel' | 'action_button' | 'app_handoff' | 'integration_actions';
|
|
11473
|
-
/**
|
|
11474
|
-
* Component-specific data
|
|
11475
|
-
*/
|
|
11476
|
-
data?: {};
|
|
11477
|
-
};
|
|
11478
11736
|
/**
|
|
11479
11737
|
* Current session lifecycle state. Returned in initiation, message, and termination responses.
|
|
11480
11738
|
*/
|
|
@@ -11513,6 +11771,19 @@ export interface SIInitiateSessionResponse {
|
|
|
11513
11771
|
context?: ContextObject;
|
|
11514
11772
|
ext?: ExtensionObject;
|
|
11515
11773
|
}
|
|
11774
|
+
/**
|
|
11775
|
+
* Standard visual component that brand returns and host renders
|
|
11776
|
+
*/
|
|
11777
|
+
export interface SIUIElement {
|
|
11778
|
+
/**
|
|
11779
|
+
* Component type
|
|
11780
|
+
*/
|
|
11781
|
+
type: 'text' | 'link' | 'image' | 'product_card' | 'carousel' | 'action_button' | 'app_handoff' | 'integration_actions';
|
|
11782
|
+
/**
|
|
11783
|
+
* Component-specific data
|
|
11784
|
+
*/
|
|
11785
|
+
data?: {};
|
|
11786
|
+
}
|
|
11516
11787
|
/**
|
|
11517
11788
|
* Send a message to the brand agent within an active session
|
|
11518
11789
|
*/
|
|
@@ -12914,12 +13185,14 @@ export interface GetAccountFinancialsError {
|
|
|
12914
13185
|
context?: ContextObject;
|
|
12915
13186
|
ext?: ExtensionObject;
|
|
12916
13187
|
}
|
|
13188
|
+
/**
|
|
13189
|
+
* Completion payload to record against the task. Used by force_task_completion. Validates against the async-response-data union — for create_media_buy this is a CreateMediaBuyResponse with media_buy_id and packages. The seller MUST deliver this verbatim to the buyer's push_notification_config.url (the canonical 3.0 path for completion payload delivery), with all caller-supplied fields preserved (sellers MAY augment with seller-controlled fields like created_at or dsp_* IDs but MUST NOT overwrite caller-supplied values). A typed projection on the polling response is tracked for 3.1 (#3123). Sellers MUST emit INVALID_PARAMS if the payload does not validate against the response branch for the task's original method, and MAY reject payloads exceeding 256 KB with INVALID_PARAMS.
|
|
13190
|
+
*/
|
|
13191
|
+
export type AdCPAsyncResponseData = GetProductsResponse | GetProductsAsyncWorking | GetProductsAsyncInputRequired | GetProductsAsyncSubmitted | CreateMediaBuyResponse | CreateMediaBuyAsyncWorking | CreateMediaBuyAsyncInputRequired | CreateMediaBuyAsyncSubmitted | UpdateMediaBuyResponse | UpdateMediaBuyAsyncWorking | UpdateMediaBuyAsyncInputRequired | UpdateMediaBuyAsyncSubmitted | BuildCreativeResponse | BuildCreativeAsyncWorking | BuildCreativeAsyncInputRequired | BuildCreativeAsyncSubmitted | SyncCreativesResponse | SyncCreativesAsyncWorking | SyncCreativesAsyncInputRequired | SyncCreativesAsyncSubmitted | SyncCatalogsResponse | SyncCatalogsAsyncWorking | SyncCatalogsAsyncInputRequired | SyncCatalogsAsyncSubmitted;
|
|
12917
13192
|
/**
|
|
12918
13193
|
* Request payload for the comply_test_controller tool. Triggers seller-side state transitions for compliance testing. Sandbox only — sellers MUST NOT expose this tool in production. Naturally idempotent: the `scenario` enum is either a lookup (`list_scenarios`) or a state-forcing operation whose target state is carried in the payload (`force_*_status`, `simulate_*`), so replays converge to the same observable state without needing an idempotency_key. The compliance harness drives this tool deterministically and does not rely on the seller's at-most-once replay cache.
|
|
12919
13194
|
*/
|
|
12920
|
-
export
|
|
12921
|
-
[k: string]: unknown | undefined;
|
|
12922
|
-
} & {
|
|
13195
|
+
export interface ComplyTestControllerRequest {
|
|
12923
13196
|
/**
|
|
12924
13197
|
* Test scenario to execute. 'list_scenarios' discovers supported scenarios. 'force_*' and 'simulate_*' trigger state transitions. 'seed_*' scenarios pre-populate fixtures (product, pricing option, creative, plan, media buy, creative format) so storyboards can reference them by stable ID without the implementer having to guess which IDs the conformance suite expects.
|
|
12925
13198
|
*/
|
|
@@ -13015,11 +13288,7 @@ export type ComplyTestControllerRequest = {
|
|
|
13015
13288
|
};
|
|
13016
13289
|
context?: ContextObject;
|
|
13017
13290
|
ext?: ExtensionObject;
|
|
13018
|
-
}
|
|
13019
|
-
/**
|
|
13020
|
-
* Completion payload to record against the task. Used by force_task_completion. Validates against the async-response-data union — for create_media_buy this is a CreateMediaBuyResponse with media_buy_id and packages. The seller MUST deliver this verbatim to the buyer's push_notification_config.url (the canonical 3.0 path for completion payload delivery), with all caller-supplied fields preserved (sellers MAY augment with seller-controlled fields like created_at or dsp_* IDs but MUST NOT overwrite caller-supplied values). A typed projection on the polling response is tracked for 3.1 (#3123). Sellers MUST emit INVALID_PARAMS if the payload does not validate against the response branch for the task's original method, and MAY reject payloads exceeding 256 KB with INVALID_PARAMS.
|
|
13021
|
-
*/
|
|
13022
|
-
export type AdCPAsyncResponseData = GetProductsResponse | GetProductsAsyncWorking | GetProductsAsyncInputRequired | GetProductsAsyncSubmitted | CreateMediaBuyResponse | CreateMediaBuyAsyncWorking | CreateMediaBuyAsyncInputRequired | CreateMediaBuyAsyncSubmitted | UpdateMediaBuyResponse | UpdateMediaBuyAsyncWorking | UpdateMediaBuyAsyncInputRequired | UpdateMediaBuyAsyncSubmitted | BuildCreativeResponse | BuildCreativeAsyncWorking | BuildCreativeAsyncInputRequired | BuildCreativeAsyncSubmitted | SyncCreativesResponse | SyncCreativesAsyncWorking | SyncCreativesAsyncInputRequired | SyncCreativesAsyncSubmitted | SyncCatalogsResponse | SyncCatalogsAsyncWorking | SyncCatalogsAsyncInputRequired | SyncCatalogsAsyncSubmitted;
|
|
13291
|
+
}
|
|
13023
13292
|
/**
|
|
13024
13293
|
* Progress data for working get_products
|
|
13025
13294
|
*/
|