@adcp/sdk 14.0.0-beta.11 → 14.0.0-beta.12
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/bin/adcp-storyboard-sandbox.js +16 -0
- package/bin/adcp.js +28 -30
- package/dist/lib/schemas/index.d.mts +385 -1
- package/dist/lib/schemas/index.d.ts +385 -1
- package/dist/lib/schemas/index.d.ts.map +1 -1
- package/dist/lib/schemas/index.js +13 -0
- package/dist/lib/schemas/index.js.map +1 -1
- package/dist/lib/schemas/index.mjs +11 -0
- package/dist/lib/schemas/index.mjs.map +1 -1
- package/dist/lib/schemas-data/v2.5/_provenance.json +1 -1
- package/dist/lib/signing/agent-context.d.mts +1 -0
- package/dist/lib/signing/agent-context.d.ts +1 -0
- package/dist/lib/signing/agent-context.d.ts.map +1 -1
- package/dist/lib/signing/agent-context.js +37 -2
- package/dist/lib/signing/agent-context.js.map +1 -1
- package/dist/lib/signing/agent-context.mjs +38 -3
- package/dist/lib/signing/agent-context.mjs.map +1 -1
- package/dist/lib/signing/agent-fetch.d.mts +1 -2
- package/dist/lib/signing/agent-fetch.d.ts +1 -2
- package/dist/lib/signing/agent-fetch.d.ts.map +1 -1
- package/dist/lib/signing/agent-fetch.js +2 -0
- package/dist/lib/signing/agent-fetch.js.map +1 -1
- package/dist/lib/signing/agent-fetch.mjs +2 -0
- package/dist/lib/signing/agent-fetch.mjs.map +1 -1
- package/dist/lib/signing/agent-resolver/etld.js.map +1 -1
- package/dist/lib/signing/agent-resolver/etld.mjs.map +1 -1
- package/dist/lib/testing/client.d.mts +6 -0
- package/dist/lib/testing/client.d.ts +6 -0
- package/dist/lib/testing/client.d.ts.map +1 -1
- package/dist/lib/testing/client.js +76 -4
- package/dist/lib/testing/client.js.map +1 -1
- package/dist/lib/testing/client.mjs +75 -4
- package/dist/lib/testing/client.mjs.map +1 -1
- package/dist/lib/testing/compliance/comply.d.ts.map +1 -1
- package/dist/lib/testing/compliance/comply.js +6 -0
- package/dist/lib/testing/compliance/comply.js.map +1 -1
- package/dist/lib/testing/compliance/comply.mjs +7 -1
- package/dist/lib/testing/compliance/comply.mjs.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.d.mts +15 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.d.ts +16 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.d.ts.map +1 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.js +106 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.js.map +1 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.mjs +82 -0
- package/dist/lib/testing/storyboard/request-signing/functional-dispatch.mjs.map +1 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.d.mts +15 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.d.ts +15 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/test-kit.js +58 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.js.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/test-kit.mjs +58 -0
- package/dist/lib/testing/storyboard/request-signing/test-kit.mjs.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.d.mts +2 -0
- package/dist/lib/testing/storyboard/request-signing/vector-loader.d.ts +2 -0
- package/dist/lib/testing/storyboard/request-signing/vector-loader.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.js +7 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.js.map +1 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.mjs +6 -1
- package/dist/lib/testing/storyboard/request-signing/vector-loader.mjs.map +1 -1
- package/dist/lib/testing/storyboard/runner.d.ts.map +1 -1
- package/dist/lib/testing/storyboard/runner.js +10 -1
- package/dist/lib/testing/storyboard/runner.js.map +1 -1
- package/dist/lib/testing/storyboard/runner.mjs +10 -1
- package/dist/lib/testing/storyboard/runner.mjs.map +1 -1
- package/dist/lib/testing/storyboard/validations.d.mts +1 -1
- package/dist/lib/testing/storyboard/validations.d.ts +1 -1
- package/dist/lib/testing/types.d.mts +10 -0
- package/dist/lib/testing/types.d.ts +10 -0
- package/dist/lib/testing/types.d.ts.map +1 -1
- package/dist/lib/testing/types.js.map +1 -1
- package/dist/lib/types/comply-test-controller.d.ts +1 -14
- package/dist/lib/types/core.generated.d.mts +1 -1
- package/dist/lib/types/core.generated.d.ts +1 -1
- package/dist/lib/types/core.generated.d.ts.map +1 -1
- package/dist/lib/types/core.generated.js.map +1 -1
- package/dist/lib/types/get-products.d.ts +1 -14
- package/dist/lib/types/schemas.generated.d.ts +4 -56
- package/dist/lib/types/schemas.generated.d.ts.map +1 -1
- package/dist/lib/types/schemas.generated.js +2 -2
- package/dist/lib/types/schemas.generated.js.map +1 -1
- package/dist/lib/types/schemas.generated.mjs +2 -2
- package/dist/lib/types/schemas.generated.mjs.map +1 -1
- package/dist/lib/types/tools.generated.d.mts +1 -1
- package/dist/lib/types/tools.generated.d.ts +1 -1
- package/dist/lib/types/tools.generated.d.ts.map +1 -1
- package/dist/lib/types/tools.generated.js.map +1 -1
- package/dist/lib/version.d.mts +3 -3
- package/dist/lib/version.d.ts +3 -3
- package/dist/lib/version.js +3 -3
- package/dist/lib/version.js.map +1 -1
- package/dist/lib/version.mjs +3 -3
- package/dist/lib/version.mjs.map +1 -1
- package/docs/llms.txt +1 -1
- package/package.json +2 -2
|
@@ -4801,12 +4801,6 @@ export interface CanonicalFormatNativeInFeed {
|
|
|
4801
4801
|
buyer_asset_acceptance?: 'accepted' | 'rejected';
|
|
4802
4802
|
}
|
|
4803
4803
|
|
|
4804
|
-
/**
|
|
4805
|
-
* Product carries one or more inline ProductFormatDeclarations, each narrowing a canonical format. This is the 3.1+ format-option path introduced by RFC #3305. A single-element `format_options` array is the 90% case; multi-element arrays declare that the product accepts any of the listed format options.
|
|
4806
|
-
*/
|
|
4807
|
-
export interface CanonicalFormatProduct {
|
|
4808
|
-
}
|
|
4809
|
-
|
|
4810
4804
|
/**
|
|
4811
4805
|
* Buyer supplies a pool of typed assets (multiple headlines, descriptions, images, videos, logos); the surface algorithmically composes combinations per placement. **Composition is algorithmic** — surface picks combinations and reports per-asset performance breakdowns. Covers Google Responsive Display Ads (RDA), Responsive Search Ads (RSA), Performance Max (PMax), Demand Gen, and Meta Advantage+ creative. Industry term: "Responsive" (Google) / "Advantage+ creative" (Meta) / "Dynamic Creative" (older Meta term). Distinct from `sponsored_placement` (catalog-driven, deterministic) and `agent_placement` (AI-surface composition). The structured `slots` field below enumerates expected canonical asset_group_id slots; per-slot count/length narrowing lives in flat parameters (`headlines_min`, `headline_max_chars`, etc.).
|
|
4812
4806
|
*/
|
|
@@ -7691,13 +7685,6 @@ export interface MultiSize {
|
|
|
7691
7685
|
}[];
|
|
7692
7686
|
}
|
|
7693
7687
|
|
|
7694
|
-
/**
|
|
7695
|
-
* @deprecated
|
|
7696
|
-
* Deprecated 3.x compatibility branch. Product references one or more named formats by structured format_id ({ agent_url, id }). New 3.2 products use format_options.
|
|
7697
|
-
*/
|
|
7698
|
-
export interface NamedFormatProduct {
|
|
7699
|
-
}
|
|
7700
|
-
|
|
7701
7688
|
export interface NativeInFeedFormatDeclaration {
|
|
7702
7689
|
format_kind: 'native_in_feed';
|
|
7703
7690
|
params: CanonicalFormatNativeInFeed;
|
|
@@ -8542,7 +8529,7 @@ export type PricingStructure = 'fixed' | 'auction' | 'contingent';
|
|
|
8542
8529
|
/**
|
|
8543
8530
|
* Represents available advertising inventory
|
|
8544
8531
|
*/
|
|
8545
|
-
export type Product = {
|
|
8532
|
+
export type Product = {
|
|
8546
8533
|
/**
|
|
8547
8534
|
* Opaque identifier for this buyable product. For a non-custom wholesale product, sellers MUST reuse the ID for the same logical catalog offer within the seller and declared cache_scope across reads and wholesale-feed webhooks; feed and pricing versions communicate temporal catalog mutation, while retirement or replacement may end the identity. Concurrent or request-bound configurations whose effective targeting, disclosed targeting modifications, forecast assumptions, terms, or overlay support differ MUST use distinguishable configured product IDs. For is_custom: true, the ID identifies only the request-specific discovery/refinement lineage and is not stable across independent contexts. Sellers MUST keep every issued configured ID resolvable for its promised lifetime. Pricing variants within one logical product are distinguished by pricing_option_id: a seller MUST mint a new pricing_option_id whenever a binding fixed price, floor, currency, model, or priced applicability changes, and MUST NOT reinterpret an issued option ID at a new price. Selecting product_id plus pricing_option_id in create_media_buy accepts that returned configuration and commercial option.
|
|
8548
8535
|
*/
|
|
@@ -7713,8 +7713,6 @@ export declare const PlatformExtensionReference1Schema: z.ZodObject<{
|
|
|
7713
7713
|
export declare const CanonicalFormatCoordinatedPlacementsSchema: z.ZodObject<{
|
|
7714
7714
|
[K in keyof CanonicalFormatCoordinatedPlacements]-?: undefined extends CanonicalFormatCoordinatedPlacements[K] ? z.ZodOptional<z.ZodType<Exclude<CanonicalFormatCoordinatedPlacements[K], undefined>, Exclude<CanonicalFormatCoordinatedPlacements[K], undefined>>> : z.ZodType<CanonicalFormatCoordinatedPlacements[K], CanonicalFormatCoordinatedPlacements[K]>;
|
|
7715
7715
|
}, z.core.$loose> & z.ZodType<CanonicalFormatCoordinatedPlacements & Record<string, unknown>, CanonicalFormatCoordinatedPlacements & Record<string, unknown>>;
|
|
7716
|
-
export declare const NamedFormatProductSchema: z.ZodObject<{}, z.core.$loose>;
|
|
7717
|
-
export declare const CanonicalFormatProductSchema: z.ZodObject<{}, z.core.$loose>;
|
|
7718
7716
|
export declare const PublisherPropertySelectorSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
7719
7717
|
publisher_domain: z.ZodOptional<z.ZodString>;
|
|
7720
7718
|
publisher_domains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -8471,6 +8469,8 @@ export declare const ReplaceTargetingValueSchema: z.ZodObject<{
|
|
|
8471
8469
|
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
8472
8470
|
}, z.core.$loose>;
|
|
8473
8471
|
export declare const RemoveTargetingSetValuesSchema: z.ZodObject<{}, z.core.$loose>;
|
|
8472
|
+
export declare const NamedFormatProductSchema: z.ZodObject<{}, z.core.$loose>;
|
|
8473
|
+
export declare const CanonicalFormatProductSchema: z.ZodObject<{}, z.core.$loose>;
|
|
8474
8474
|
export declare const PriceGuidanceSchema: z.ZodObject<{
|
|
8475
8475
|
p25: z.ZodOptional<z.ZodNumber>;
|
|
8476
8476
|
p50: z.ZodOptional<z.ZodNumber>;
|
|
@@ -176588,7 +176588,7 @@ export declare const SyncCatalogsResponseSchema: z.ZodIntersection<z.ZodObject<{
|
|
|
176588
176588
|
ext: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
176589
176589
|
}, z.core.$loose>]>>;
|
|
176590
176590
|
export declare const ProductSchema: z.ZodObject<{
|
|
176591
|
-
[K in keyof Product]-?: undefined extends Product[K] ? z.ZodOptional<z.ZodType<Exclude<Product[K], undefined>, Exclude<Product[K], undefined>>> : z.ZodType<Product[K], Product[K]>;
|
|
176591
|
+
[K in keyof Product]-?: K extends 'publisher_properties' ? z.ZodType : undefined extends Product[K] ? z.ZodOptional<z.ZodType<Exclude<Product[K], undefined>, Exclude<Product[K], undefined>>> : z.ZodType<Product[K], Product[K]>;
|
|
176592
176592
|
}, z.core.$loose> & z.ZodType<Product & Record<string, unknown>, Product & Record<string, unknown>>;
|
|
176593
176593
|
export declare const ProductAllocationSchema: z.ZodObject<{
|
|
176594
176594
|
product_id: z.ZodString;
|
|
@@ -221483,59 +221483,7 @@ export declare const Product1Schema: z.ZodObject<{
|
|
|
221483
221483
|
product_id: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
221484
221484
|
name: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
221485
221485
|
description: z.ZodType<string, string, z.core.$ZodTypeInternals<string, string>>;
|
|
221486
|
-
publisher_properties: z.ZodType<
|
|
221487
|
-
publisher_domain?: string;
|
|
221488
|
-
publisher_domains?: string[];
|
|
221489
|
-
selection_type: "all";
|
|
221490
|
-
} | {
|
|
221491
|
-
publisher_domain: string;
|
|
221492
|
-
selection_type: "by_id";
|
|
221493
|
-
property_ids: import("./core.generated").PropertyID[];
|
|
221494
|
-
} | {
|
|
221495
|
-
publisher_domain?: string;
|
|
221496
|
-
publisher_domains?: string[];
|
|
221497
|
-
selection_type: "by_tag";
|
|
221498
|
-
property_tags: import("./core.generated").PropertyTag[];
|
|
221499
|
-
})[], ({
|
|
221500
|
-
publisher_domain?: string;
|
|
221501
|
-
publisher_domains?: string[];
|
|
221502
|
-
selection_type: "all";
|
|
221503
|
-
} | {
|
|
221504
|
-
publisher_domain: string;
|
|
221505
|
-
selection_type: "by_id";
|
|
221506
|
-
property_ids: import("./core.generated").PropertyID[];
|
|
221507
|
-
} | {
|
|
221508
|
-
publisher_domain?: string;
|
|
221509
|
-
publisher_domains?: string[];
|
|
221510
|
-
selection_type: "by_tag";
|
|
221511
|
-
property_tags: import("./core.generated").PropertyTag[];
|
|
221512
|
-
})[], z.core.$ZodTypeInternals<({
|
|
221513
|
-
publisher_domain?: string;
|
|
221514
|
-
publisher_domains?: string[];
|
|
221515
|
-
selection_type: "all";
|
|
221516
|
-
} | {
|
|
221517
|
-
publisher_domain: string;
|
|
221518
|
-
selection_type: "by_id";
|
|
221519
|
-
property_ids: import("./core.generated").PropertyID[];
|
|
221520
|
-
} | {
|
|
221521
|
-
publisher_domain?: string;
|
|
221522
|
-
publisher_domains?: string[];
|
|
221523
|
-
selection_type: "by_tag";
|
|
221524
|
-
property_tags: import("./core.generated").PropertyTag[];
|
|
221525
|
-
})[], ({
|
|
221526
|
-
publisher_domain?: string;
|
|
221527
|
-
publisher_domains?: string[];
|
|
221528
|
-
selection_type: "all";
|
|
221529
|
-
} | {
|
|
221530
|
-
publisher_domain: string;
|
|
221531
|
-
selection_type: "by_id";
|
|
221532
|
-
property_ids: import("./core.generated").PropertyID[];
|
|
221533
|
-
} | {
|
|
221534
|
-
publisher_domain?: string;
|
|
221535
|
-
publisher_domains?: string[];
|
|
221536
|
-
selection_type: "by_tag";
|
|
221537
|
-
property_tags: import("./core.generated").PropertyTag[];
|
|
221538
|
-
})[]>>;
|
|
221486
|
+
publisher_properties: z.ZodType<unknown, unknown, z.core.$ZodTypeInternals<unknown, unknown>>;
|
|
221539
221487
|
channels: z.ZodOptional<z.ZodType<import("./core.generated").MediaChannel[], import("./core.generated").MediaChannel[], z.core.$ZodTypeInternals<import("./core.generated").MediaChannel[], import("./core.generated").MediaChannel[]>>>;
|
|
221540
221488
|
format_ids: z.ZodOptional<z.ZodType<import("./core.generated").FormatReferenceStructuredObject[], import("./core.generated").FormatReferenceStructuredObject[], z.core.$ZodTypeInternals<import("./core.generated").FormatReferenceStructuredObject[], import("./core.generated").FormatReferenceStructuredObject[]>>>;
|
|
221541
221489
|
format_options: z.ZodOptional<z.ZodType<[ProductFormatDeclaration, ...ProductFormatDeclaration[]], [ProductFormatDeclaration, ...ProductFormatDeclaration[]], z.core.$ZodTypeInternals<[ProductFormatDeclaration, ...ProductFormatDeclaration[]], [ProductFormatDeclaration, ...ProductFormatDeclaration[]]>>>;
|