@zinn-digital/sdk 0.1.1648 → 0.1.1651

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.
@@ -66456,6 +66456,10 @@ export interface components {
66456
66456
  gate_cap_micros?: number;
66457
66457
  have: number;
66458
66458
  have_7d: number;
66459
+ /** @description za-329: the checks holding the step up (empty when none). */
66460
+ health?: components["schemas"]["AdsSmartBidHealthItem"][];
66461
+ /** @description za-329: ready to step up, but held until the conversion-health checks pass (`health`). */
66462
+ health_short?: boolean;
66459
66463
  /** @description Conversions the next step needs in window_days (vendor minimum x 1.5 */
66460
66464
  need: number;
66461
66465
  /** @description Demand Gen: conversions also needed in the last 7 days (0: none). */
@@ -68294,7 +68298,7 @@ export interface components {
68294
68298
  /** Format: int64 */
68295
68299
  cost_micros?: number;
68296
68300
  };
68297
- /** @description One plan item. `kind`: `searchNegative` (an EXACT negative for `term` on `campaigns`), `keywordPause` (`keyword`, `resource`), `countryExclude` (`country`, ISO 3166-1 alpha-2, with `expected_conversions` at the account's own rate), `bidForConversions` (`campaign_id`, `campaign`, `from`, `conversions_30d`, `need` — the bid-ladder rung), `sharedBudget` (`budget`, `campaigns` — a person's step) or `noConversionAction`. A write carries the pending change it queued (`change_id`, `change_status`). */
68301
+ /** @description One plan item. `kind`: `searchNegative` (an EXACT negative for `term` on `campaigns`), `keywordPause` (`keyword`, `resource`), `countryExclude` (`country`, ISO 3166-1 alpha-2, with `expected_conversions` at the account's own rate), `bidForConversions` (`campaign_id`, `campaign`, `from`, `conversions_30d`, `need` — the bid-ladder rung), `sharedBudget` (`budget`, `campaigns` — a person's step) or `noConversionAction`. A write carries the pending change it queued (`change_id`, `change_status`). za-329: a `bidForConversions` item is never written from the plan (`via: ladder`): the bid ladder proposes the switch once its data gate and its conversion-health gate pass, and `health` lists the checks holding it. */
68298
68302
  AdsImportedPlanItem: {
68299
68303
  budget?: string;
68300
68304
  campaign?: string;
@@ -68313,12 +68317,19 @@ export interface components {
68313
68317
  country?: string;
68314
68318
  expected_conversions?: number;
68315
68319
  from?: string;
68320
+ /** @description za-329: the conversion-health checks holding the bid ladder's switch (empty: none, or not judged yet). */
68321
+ health?: components["schemas"]["AdsSmartBidHealthItem"][];
68316
68322
  keyword?: string;
68317
68323
  /** @enum {string} */
68318
68324
  kind: "searchNegative" | "keywordPause" | "countryExclude" | "bidForConversions" | "sharedBudget" | "noConversionAction";
68319
68325
  need?: number;
68320
68326
  resource?: string;
68321
68327
  term?: string;
68328
+ /**
68329
+ * @description za-329: the producer that proposes this step (the bid ladder, behind its gates).
68330
+ * @enum {string}
68331
+ */
68332
+ via?: "ladder";
68322
68333
  };
68323
68334
  /** @description One reading of an account, or null before its first audit. `figures` depends on `kind` (docs/1006 §30): money is integer minor units (`*_minor`) or micros (`*_micros`) of the account's currency, never a float; missed clicks and conversions are estimates. */
68324
68335
  AdsInsightReading: {
@@ -71056,6 +71067,23 @@ export interface components {
71056
71067
  wait_for_update_ms?: number;
71057
71068
  };
71058
71069
  AdsSiteTagUpdate: components["schemas"]["AdsSiteTagSettings"];
71070
+ /** @description za-329: one conversion-health check that holds a step up onto a conversion strategy. `failing`: the check found a problem (fix it); `unreadable`: it could not be read, which holds too (never a pass). */
71071
+ AdsSmartBidHealthItem: {
71072
+ /** @description free_primary / duplicate_primary / tracking_reason: the conversion actions' names. */
71073
+ actions: string[];
71074
+ /** @description duplicate_primary: the conversion category counted twice. */
71075
+ category: string;
71076
+ /** @enum {string} */
71077
+ code: "primary_7d" | "tracking" | "tracking_reason" | "dedupe" | "free_primary" | "duplicate_primary" | "enhanced" | "uploads";
71078
+ /** @description uploads: open upload or goal problems; tracking_reason: actions with a tracking fault. */
71079
+ count: number;
71080
+ /** @description dedupe: the network's name. */
71081
+ network: string;
71082
+ /** @enum {string} */
71083
+ state: "failing" | "unreadable";
71084
+ /** @description tracking: the tracking check's status (`gap`, `unreadable`). */
71085
+ status: string;
71086
+ };
71059
71087
  AdsSocial: {
71060
71088
  accounts: {
71061
71089
  /** Format: uuid */
@@ -113608,6 +113636,8 @@ export interface components {
113608
113636
  TranslationBundleEntry: {
113609
113637
  /** @description True when `text` translates the CURRENT source (the row's source hash equals the string's). A `stale` entry that is `current` was re-queued for quality, not because the English changed, so its text is still a correct translation and is servable; a non-current entry translates an older English and is not. */
113610
113638
  current?: boolean;
113639
+ /** @description True when a person or the repository wrote `text` for the CURRENT source (a human author is recorded and `current` holds): no machine translation replaces it until the English changes. False = the machine wrote it. The repo export keeps a committed translation authored after its English over a later MACHINE re-translation, never over a person's edit, and names every such key in an ops alert (GP-WORDING, 2026-11-09). */
113640
+ person_owned?: boolean;
113611
113641
  /**
113612
113642
  * @description SHA-256 (hex, UTF-8) of the English source the engine holds for this field NOW — the hash `current` is judged against. A caller whose own source text hashes differently is looking at translations of another wording (for example a branch whose changed string a register from `main` put back): `scripts/i18n-sync.mjs` re-registers its own English and never exports those rows as finished.
113613
113643
  * @example 9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1648",
3
+ "version": "0.1.1651",
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>",