@zinn-digital/sdk 0.1.1540 → 0.1.1542

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.
@@ -18880,7 +18880,7 @@ export interface paths {
18880
18880
  };
18881
18881
  /**
18882
18882
  * Matching landing pages — the connection's pages and candidate ad groups (za-N6).
18883
- * @description Gated on `ads.view`. Every open page of the connection (a `candidate` ad group found by the scan, a page being written, ready to preview, publishing, live or being unpublished) and the 20 most recent closed ones. Read from our own rows — never a network call (docs/1006 §94).
18883
+ * @description Gated on `ads.view`. Every open page of the connection (a `candidate` ad group found by the scan, a page being written, ready to preview, publishing, live or being unpublished) and the 20 most recent closed ones. Read from our own rows — never a network call (docs/1006 §94). `alternatives_only=true` keeps only competitor alternative pages (za-109, a non-empty `rival`), as the MCP `ads_matching_pages` tool does.
18884
18884
  */
18885
18885
  get: operations["listAdsMatchingPages"];
18886
18886
  put?: never;
@@ -67067,6 +67067,15 @@ export interface components {
67067
67067
  dropped: number;
67068
67068
  /** @description The last problem's code, e.g. landingNotBacked, landingNoText, landingNotServing. */
67069
67069
  error: string;
67070
+ /** @description za-109: what the rival's OWN public page says, word for word, with that page's address and the date it was read. Empty when we do not know the rival's address (never guessed). */
67071
+ facts: {
67072
+ language: string;
67073
+ quote: string;
67074
+ /** Format: date */
67075
+ read_on: string;
67076
+ /** Format: uri */
67077
+ source_url: string;
67078
+ }[];
67070
67079
  /** Format: uuid */
67071
67080
  id: string;
67072
67081
  keywords: string[];
@@ -67077,6 +67086,10 @@ export interface components {
67077
67086
  page_url: string;
67078
67087
  /** Format: date-time */
67079
67088
  published_at: string | null;
67089
+ /** @description za-109 (docs/1006.d/features/za-109-alternative-pages.md): the competitor this ad group is named after, from the org's competitor registry; "" for a plain matching page. A rival's page is an "alternative to <rival>" page: its headline names the rival in text only, and no line compares. */
67090
+ rival: string;
67091
+ /** @description The rival's name as written on the page ("" for a plain page). */
67092
+ rival_name: string;
67080
67093
  /** Format: uuid */
67081
67094
  site_id: string;
67082
67095
  slug: string;
@@ -145652,7 +145665,9 @@ export interface operations {
145652
145665
  };
145653
145666
  listAdsMatchingPages: {
145654
145667
  parameters: {
145655
- query?: never;
145668
+ query?: {
145669
+ alternatives_only?: boolean;
145670
+ };
145656
145671
  header?: never;
145657
145672
  path: {
145658
145673
  connection_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1540",
3
+ "version": "0.1.1542",
4
4
  "description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
5
5
  "license": "MIT",
6
6
  "author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",