@adcp/client 4.1.0 → 4.2.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/.claude-plugin/plugin.json +12 -0
- package/dist/lib/types/core.generated.d.ts +2 -2
- package/dist/lib/types/core.generated.d.ts.map +1 -1
- package/dist/lib/types/core.generated.js +1 -1
- package/dist/lib/types/schemas.generated.d.ts +31 -24
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +14 -8
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/tools.generated.d.ts +25 -4
- package/dist/lib/types/tools.generated.d.ts.map +1 -1
- package/package.json +3 -1
- package/skills/adcp/SKILL.md +230 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export type GetProductsRequest = {
|
|
5
5
|
/**
|
|
6
|
-
* Declares buyer intent for this request. 'brief': publisher curates product recommendations from the provided brief. 'wholesale': buyer requests raw inventory to apply their own audiences — brief must not be provided, and proposals are omitted. 'refine': iterate on products and proposals from a previous get_products response using the refine array of change requests.
|
|
6
|
+
* Declares buyer intent for this request. 'brief': publisher curates product recommendations from the provided brief. 'wholesale': buyer requests raw inventory to apply their own audiences — brief must not be provided, and proposals are omitted. 'refine': iterate on products and proposals from a previous get_products response using the refine array of change requests. v3 clients MUST include buying_mode. Sellers receiving requests from pre-v3 clients without buying_mode SHOULD default to 'brief'.
|
|
7
7
|
*/
|
|
8
8
|
buying_mode: 'brief' | 'wholesale' | 'refine';
|
|
9
9
|
/**
|
|
@@ -3256,9 +3256,9 @@ export interface ReferenceAsset {
|
|
|
3256
3256
|
*/
|
|
3257
3257
|
url: string;
|
|
3258
3258
|
/**
|
|
3259
|
-
* How the creative agent should use this asset. style_reference: match the visual style; product_shot: include this product; mood_board: overall look and feel; example_creative: example of a similar execution; logo: logo to use; strategy_doc: strategy or planning document for context
|
|
3259
|
+
* How the creative agent should use this asset. style_reference: match the visual style; product_shot: include this product; mood_board: overall look and feel; example_creative: example of a similar execution; logo: logo to use; strategy_doc: strategy or planning document for context; storyboard: sequential visual direction for video or multi-scene creative
|
|
3260
3260
|
*/
|
|
3261
|
-
role: 'style_reference' | 'product_shot' | 'mood_board' | 'example_creative' | 'logo' | 'strategy_doc';
|
|
3261
|
+
role: 'style_reference' | 'product_shot' | 'mood_board' | 'example_creative' | 'logo' | 'strategy_doc' | 'storyboard';
|
|
3262
3262
|
/**
|
|
3263
3263
|
* Human-readable description of the asset and how it should inform creative generation
|
|
3264
3264
|
*/
|
|
@@ -4167,7 +4167,7 @@ export type MediaBuyStatus = 'pending_activation' | 'active' | 'paused' | 'compl
|
|
|
4167
4167
|
* Request parameters for retrieving media buy status, creative approval state, and optional delivery snapshots
|
|
4168
4168
|
*/
|
|
4169
4169
|
export interface GetMediaBuysRequest {
|
|
4170
|
-
account
|
|
4170
|
+
account?: AccountReference;
|
|
4171
4171
|
/**
|
|
4172
4172
|
* Array of publisher media buy IDs to retrieve. When omitted along with buyer_refs, returns a paginated set of accessible media buys matching status_filter.
|
|
4173
4173
|
*/
|
|
@@ -5769,6 +5769,10 @@ export interface SyncCatalogsError {
|
|
|
5769
5769
|
context?: ContextObject;
|
|
5770
5770
|
ext?: ExtensionObject;
|
|
5771
5771
|
}
|
|
5772
|
+
/**
|
|
5773
|
+
* Quality tier for generation. 'draft' produces fast, lower-fidelity output for iteration and review. 'production' produces full-quality output for final delivery. If omitted, the creative agent uses its own default. For non-generative transforms (e.g., format resizing), creative agents MAY ignore this field.
|
|
5774
|
+
*/
|
|
5775
|
+
export type CreativeQuality = 'draft' | 'production';
|
|
5772
5776
|
/**
|
|
5773
5777
|
* Request to transform or generate a creative manifest. Takes a source manifest (which may be minimal for pure generation) and produces a target manifest in the specified format.
|
|
5774
5778
|
*/
|
|
@@ -5780,6 +5784,11 @@ export interface BuildCreativeRequest {
|
|
|
5780
5784
|
creative_manifest?: CreativeManifest;
|
|
5781
5785
|
target_format_id: FormatID;
|
|
5782
5786
|
brand?: BrandReference;
|
|
5787
|
+
quality?: CreativeQuality;
|
|
5788
|
+
/**
|
|
5789
|
+
* Maximum number of catalog items to use when generating. When a catalog asset contains more items than this limit, the creative agent selects the top items based on relevance or catalog ordering. When item_limit exceeds the format's max_items, the creative agent SHOULD use the lesser of the two. Ignored when the manifest contains no catalog assets.
|
|
5790
|
+
*/
|
|
5791
|
+
item_limit?: number;
|
|
5783
5792
|
context?: ContextObject;
|
|
5784
5793
|
ext?: ExtensionObject;
|
|
5785
5794
|
}
|
|
@@ -5816,6 +5825,10 @@ export interface BuildCreativeSuccess {
|
|
|
5816
5825
|
* When true, this response contains simulated data from sandbox mode.
|
|
5817
5826
|
*/
|
|
5818
5827
|
sandbox?: boolean;
|
|
5828
|
+
/**
|
|
5829
|
+
* ISO 8601 timestamp when generated asset URLs in the manifest expire. Set to the earliest expiration across all generated assets. Re-build the creative after this time to get fresh URLs.
|
|
5830
|
+
*/
|
|
5831
|
+
expires_at?: string;
|
|
5819
5832
|
context?: ContextObject;
|
|
5820
5833
|
ext?: ExtensionObject;
|
|
5821
5834
|
}
|
|
@@ -5864,6 +5877,10 @@ export type PreviewCreativeRequest = {
|
|
|
5864
5877
|
*/
|
|
5865
5878
|
template_id?: string;
|
|
5866
5879
|
output_format?: PreviewOutputFormat;
|
|
5880
|
+
/**
|
|
5881
|
+
* Maximum number of catalog items to render in the preview. For catalog-driven generative formats, caps how many items are rendered per preview variant. When item_limit exceeds the format's max_items, the creative agent SHOULD use the lesser of the two. Ignored when the manifest contains no catalog assets. Creative agents SHOULD default to a reasonable sample when omitted and the catalog is large.
|
|
5882
|
+
*/
|
|
5883
|
+
item_limit?: number;
|
|
5867
5884
|
context?: ContextObject;
|
|
5868
5885
|
ext?: ExtensionObject;
|
|
5869
5886
|
} | {
|
|
@@ -5903,6 +5920,10 @@ export type PreviewCreativeRequest = {
|
|
|
5903
5920
|
*/
|
|
5904
5921
|
template_id?: string;
|
|
5905
5922
|
output_format?: PreviewOutputFormat;
|
|
5923
|
+
/**
|
|
5924
|
+
* Maximum number of catalog items to render in this preview.
|
|
5925
|
+
*/
|
|
5926
|
+
item_limit?: number;
|
|
5906
5927
|
}[];
|
|
5907
5928
|
output_format?: PreviewOutputFormat;
|
|
5908
5929
|
context?: ContextObject;
|