@zinn-digital/sdk 0.1.1575 → 0.1.1579

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.
@@ -16393,7 +16393,7 @@ export interface paths {
16393
16393
  put?: never;
16394
16394
  /**
16395
16395
  * Save the current analytics view under a name (za-286).
16396
- * @description Gated on `ads.view`; scheduling its e-mail (`mail_cadence`, `mail_recipients`) needs `ads.manage`. Audit action `ads.saved_view.save`. `params` is validated by the analytics filters themselves, so a view never stores a filter the page would refuse (`422 savedView` naming the field). A name already used in the organisation answers `422 viewNameTaken`. Recipients are user ids of MEMBERS of the organisation (`GET /v1/ads/analytics/views/recipients`), at most 20, else `422 viewRecipients`.
16396
+ * @description Gated on `ads.view`; scheduling its e-mail (`mail_cadence`, `mail_recipients`) needs `ads.manage` (`422 viewMailManage`). Audit action `ads.saved_view.save`. `params` is validated by the analytics filters themselves, so a view never stores a filter the page would refuse (`422 savedView` naming the field). A name already used in the organisation answers `422 viewNameTaken`. Recipients are user ids of MEMBERS of the organisation (`GET /v1/ads/analytics/views/recipients`), at most 20, else `422 viewRecipients`.
16397
16397
  */
16398
16398
  post: operations["createAdsSavedView"];
16399
16399
  delete?: never;
@@ -16414,14 +16414,14 @@ export interface paths {
16414
16414
  post?: never;
16415
16415
  /**
16416
16416
  * Remove a saved view (za-286).
16417
- * @description Gated on `ads.view`; a view with a scheduled e-mail needs `ads.manage` (removing it stops the e-mail). Audit action `ads.saved_view.delete`.
16417
+ * @description Gated on `ads.view`; a view with a scheduled e-mail needs `ads.manage` (`422 viewMailManage`; removing it stops the e-mail). Audit action `ads.saved_view.delete`.
16418
16418
  */
16419
16419
  delete: operations["deleteAdsSavedView"];
16420
16420
  options?: never;
16421
16421
  head?: never;
16422
16422
  /**
16423
16423
  * Rename, re-save or schedule a saved view (za-286).
16424
- * @description Gated on `ads.view`; any e-mail field needs `ads.manage`, and so does `name`, `params` or `chart` on a view that is e-mailed (`422 viewMailedManage`): that is what its recipients receive (the name is their subject line). Every recipient must be a member of the view's organisation whose role grants `ads.view` there, checked when it is scheduled and again at every send (a member who loses it stops receiving it). Only the fields sent change. `mail_cadence` `daily` sends at 06:00 UTC each day, `weekly` on Monday at 06:00 UTC, `monthly` on the 1st at 06:00 UTC, by a Temporal workflow; `""` stops the e-mail. Each copy is in the recipient's own language and carries the view's headline figures, its top 10 leaderboard rows, a link to the view and the whole leaderboard as CSV. An organisation not in good standing is skipped for that period and resumes once it is. A refusal is per recipient: the others are still mailed, a retried send mails only the recipients not yet mailed that period, and a recipient refused 3 times is left until the next period (`mail_last_error` `recipientRefused`); while a refused recipient has had fewer than 3 refusals the view is retried within the hour. `mail_last_sent_at` moves only when a copy is accepted, and a period in which nobody received a copy is never reported as sent. Every copy carries its recipient's own one-click unsubscribe (`List-Unsubscribe` + `List-Unsubscribe-Post`, and a line in the body), `/v1/public/ads/views/u/{token}`. Audit action `ads.saved_view.save`.
16424
+ * @description Gated on `ads.view`; any e-mail field needs `ads.manage` (`422 viewMailManage`), and so does `name`, `params` or `chart` on a view that is e-mailed (`422 viewMailedManage`): that is what its recipients receive (the name is their subject line). Every recipient must be a member of the view's organisation whose role grants `ads.view` there, checked when it is scheduled and again at every send (a member who loses it stops receiving it). Only the fields sent change. `mail_cadence` `daily` sends at 06:00 UTC each day, `weekly` on Monday at 06:00 UTC, `monthly` on the 1st at 06:00 UTC, by a Temporal workflow; `""` stops the e-mail. Each copy is in the recipient's own language and carries the view's headline figures, its top 10 leaderboard rows, a link to the view and the whole leaderboard as CSV. An organisation not in good standing is skipped for that period and resumes once it is. A refusal is per recipient: the others are still mailed, a retried send mails only the recipients not yet mailed that period, and a recipient refused 3 times is left until the next period (`mail_last_error` `recipientRefused`); while a refused recipient has had fewer than 3 refusals the view is retried within the hour. `mail_last_sent_at` moves only when a copy is accepted, and a period in which nobody received a copy is never reported as sent. Every copy carries its recipient's own one-click unsubscribe (`List-Unsubscribe` + `List-Unsubscribe-Post`, and a line in the body), `/v1/public/ads/views/u/{token}`. Audit action `ads.saved_view.save`.
16425
16425
  */
16426
16426
  patch: operations["updateAdsSavedView"];
16427
16427
  trace?: never;
@@ -65272,10 +65272,10 @@ export interface components {
65272
65272
  };
65273
65273
  refused?: number;
65274
65274
  /**
65275
- * @description ZA323-r2: the keyword sweep and the shield check (za-323) did not run on this network because it reports no keyword-targeting rows or search terms (`x_no_targeting_read` on X). Absent where they ran. Every keyword WRITE is still judged by the gate.
65275
+ * @description ZA323-r2: the keyword sweep and the shield check (za-323) did not run on this network because it reports no keyword-targeting rows or search terms (`x_no_targeting_read` on X). ZA323-FU: `held_<reason>` (`held` for another reason) when the za-116 tracking hold stopped the whole audit; never on Meta or LinkedIn, which have no keywords. Absent where they ran. Every keyword WRITE is still judged by the gate.
65276
65276
  * @enum {string}
65277
65277
  */
65278
- sanity_unchecked?: "x_no_targeting_read" | "no_keyword_read";
65278
+ sanity_unchecked?: "x_no_targeting_read" | "no_keyword_read" | "held_trackingUnreadable" | "held_trackingUnreliable" | "held";
65279
65279
  skipped_recent?: number;
65280
65280
  } & {
65281
65281
  [key: string]: unknown;
@@ -66811,7 +66811,7 @@ export interface components {
66811
66811
  connection_id: string;
66812
66812
  /** @description The detector that found it. */
66813
66813
  detector: string;
66814
- /** @description The finding's numbers: e.g. `campaign`, `lost_budget_pct`, `lost_rank_pct`, `impression_share_pct`, `clicks`, `extra_clicks` (a week, an estimate), `needed_micros`, `donor`, `move_micros`, `keywords`, `below_landing_page`, `below_ad_relevance`, `below_expected_ctr`, `fix`, `named_keywords`, `pages`; a dead campaign (`suggest_dead_campaign` / `dead_campaign`, za-218): `cost_micros`, `clicks`, `days`; paused-ad clutter (`suggest_paused_clutter` / `paused_clutter`, za-170): `campaign`, `ad_group`, `paused_ads`, `kept_ads`, `days`, `examples`; the month's run rate (`run_rate_warning`, za-220, from 90% of the ceiling): `projected_micros`, `ceiling_micros`, `share_pct`, `over`, `trim_campaigns` (the campaigns the trim cuts first, in its order), and the za-169 pacing verdict: `pacing` (`inside` | `trim` | `hold`), `trim_total_micros` (what the trim takes off the month), `landing_micros` (where the month then lands), `short_micros` (what no safe trim can cover) and `raises_held` (true when no budget is raised until the month fits); an intent cluster (`suggest_cluster_negative` / `cluster_negative`, za-223; `suggest_cluster_narrow` when the word alone would block a keyword or a converting search, and `cluster_negative_auto` when the audit blocked clear waste by itself, WASTEFIX docs/1006 §36.10a): `term` (the shared word), `match` (`PHRASE` for the word, `NARROW` for the searches themselves), `negatives` (the `[text, match]` pairs Apply adds), `covers` (the searches they block), `terms_count`, `examples`, `clicks`, `cost_micros`, `currency`; a search for a rival's brand (`suggest_brand_nav_elsewhere` / `brand_nav_elsewhere`: outside the competitor campaign, the brand as a PHRASE negative there; `suggest_brand_nav_bare` / `brand_nav_bare`: a bare or navigational brand search inside it, as an EXACT negative; za-114, docs/1006 §76): `brand`, `term`, `match`, `form` (`elsewhere`/`bare`), `terms_count`, `examples`, `clicks`, `cost_micros` (the 30-day spend the block frees); a free-host search Google credited with a conversion, which is not value (`suggest_free_seeker_negative` / `free_seeker_negative` / `free_seeker_pack_negative`, za-167): `term`, `match`, `conversions_milli`, `value_micros`, `clicks`, `cost_micros`, `vertical`, `pack_count`, `examples` (the first negatives of the vertical's free-seeker pack), `pack_of` on a pack row; a paused keyword that converted (`suggest_reenable_keyword` / `keyword_reenabled`, za-222): `keyword`, `conversions_milli`, `clicks`, `cost_micros`, `days`; a keyword that sells another product than its campaign (`wrong_product`, ADCOPY1): `keyword`, `ad_group`, `product`, `other_product`, `words`, `evidence` (keywords of the other product that carry the words); Apply pauses it. A keyword in several ad groups that serve one language and place (`duplicate_keyword`, DUPEKW1): `keyword`, `match_type`, `keeper` ("campaign > ad group" kept by its 30-day figures), `groups` (how many ad groups hold it), `copy_groups` (the copies Apply pauses), `twin_groups` (other match types, named, never paused); `duplicate_keyword_last` (the copy is its group's only active keyword: never paused, no Apply) and `duplicate_keyword_paused` (a copy paused, with its Undo) carry `keyword`, `ad_group`, `keeper`, `groups`. A copy is paused only when its campaign's places sit inside the keeper's (DUPEGEO1); `duplicate_keyword_overlap` (two campaigns whose places only overlap: nothing paused, no Apply — exclude the shared places from the broader campaign or keep it) carries `keyword`, `campaign`, `other_campaign`, `broader`, `overlap` (English place names) and `overlap_codes` (ISO country codes, empty unless every shared place is a country). BUDGETMV1 (za-186) on a budget-limited campaign: `options` (items are `AdsBudgetMoveOption`), `donor_reason`, `blocked` (`no_return`, `learning`, `owner`, `shared_budget`, `no_donor`, `too_small` or empty), `increase_micros`, `headroom_micros` (what the ceiling allows a day; null = no ceiling), `extra_clicks_day`, `extra_conversions_day`. */
66814
+ /** @description The finding's numbers: e.g. `campaign`, `lost_budget_pct`, `lost_rank_pct`, `not_made` (ZA323-FU: why a change a person applied was not made, on the card that is open again: `class_off`, `stopped`, `learning` or `refused`), `impression_share_pct`, `clicks`, `extra_clicks` (a week, an estimate), `needed_micros`, `donor`, `move_micros`, `keywords`, `below_landing_page`, `below_ad_relevance`, `below_expected_ctr`, `fix`, `named_keywords`, `pages`; a dead campaign (`suggest_dead_campaign` / `dead_campaign`, za-218): `cost_micros`, `clicks`, `days`; paused-ad clutter (`suggest_paused_clutter` / `paused_clutter`, za-170): `campaign`, `ad_group`, `paused_ads`, `kept_ads`, `days`, `examples`; the month's run rate (`run_rate_warning`, za-220, from 90% of the ceiling): `projected_micros`, `ceiling_micros`, `share_pct`, `over`, `trim_campaigns` (the campaigns the trim cuts first, in its order), and the za-169 pacing verdict: `pacing` (`inside` | `trim` | `hold`), `trim_total_micros` (what the trim takes off the month), `landing_micros` (where the month then lands), `short_micros` (what no safe trim can cover) and `raises_held` (true when no budget is raised until the month fits); an intent cluster (`suggest_cluster_negative` / `cluster_negative`, za-223; `suggest_cluster_narrow` when the word alone would block a keyword or a converting search, and `cluster_negative_auto` when the audit blocked clear waste by itself, WASTEFIX docs/1006 §36.10a): `term` (the shared word), `match` (`PHRASE` for the word, `NARROW` for the searches themselves), `negatives` (the `[text, match]` pairs Apply adds), `covers` (the searches they block), `terms_count`, `examples`, `clicks`, `cost_micros`, `currency`; a search for a rival's brand (`suggest_brand_nav_elsewhere` / `brand_nav_elsewhere`: outside the competitor campaign, the brand as a PHRASE negative there; `suggest_brand_nav_bare` / `brand_nav_bare`: a bare or navigational brand search inside it, as an EXACT negative; za-114, docs/1006 §76): `brand`, `term`, `match`, `form` (`elsewhere`/`bare`), `terms_count`, `examples`, `clicks`, `cost_micros` (the 30-day spend the block frees); a free-host search Google credited with a conversion, which is not value (`suggest_free_seeker_negative` / `free_seeker_negative` / `free_seeker_pack_negative`, za-167): `term`, `match`, `conversions_milli`, `value_micros`, `clicks`, `cost_micros`, `vertical`, `pack_count`, `examples` (the first negatives of the vertical's free-seeker pack), `pack_of` on a pack row; a paused keyword that converted (`suggest_reenable_keyword` / `keyword_reenabled`, za-222): `keyword`, `conversions_milli`, `clicks`, `cost_micros`, `days`; a keyword that sells another product than its campaign (`wrong_product`, ADCOPY1): `keyword`, `ad_group`, `product`, `other_product`, `words`, `evidence` (keywords of the other product that carry the words); Apply pauses it. A keyword in several ad groups that serve one language and place (`duplicate_keyword`, DUPEKW1): `keyword`, `match_type`, `keeper` ("campaign > ad group" kept by its 30-day figures), `groups` (how many ad groups hold it), `copy_groups` (the copies Apply pauses), `twin_groups` (other match types, named, never paused); `duplicate_keyword_last` (the copy is its group's only active keyword: never paused, no Apply) and `duplicate_keyword_paused` (a copy paused, with its Undo) carry `keyword`, `ad_group`, `keeper`, `groups`. A copy is paused only when its campaign's places sit inside the keeper's (DUPEGEO1); `duplicate_keyword_overlap` (two campaigns whose places only overlap: nothing paused, no Apply — exclude the shared places from the broader campaign or keep it) carries `keyword`, `campaign`, `other_campaign`, `broader`, `overlap` (English place names) and `overlap_codes` (ISO country codes, empty unless every shared place is a country). BUDGETMV1 (za-186) on a budget-limited campaign: `options` (items are `AdsBudgetMoveOption`), `donor_reason`, `blocked` (`no_return`, `learning`, `owner`, `shared_budget`, `no_donor`, `too_small` or empty), `increase_micros`, `headroom_micros` (what the ceiling allows a day; null = no ceiling), `extra_clicks_day`, `extra_conversions_day`. */
66815
66815
  figures: {
66816
66816
  [key: string]: unknown;
66817
66817
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1575",
3
+ "version": "0.1.1579",
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>",