@zinn-digital/sdk 0.1.1577 → 0.1.1580

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). 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.
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. ZA323-GAPS: `names_unread` when the sweep ran only PARTLY — the account's rival names could not be read, so at least one one-word or rival keyword was not judged (fragments still were). Absent where they ran in full. 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" | "held_trackingUnreadable" | "held_trackingUnreliable" | "held";
65278
+ sanity_unchecked?: "x_no_targeting_read" | "no_keyword_read" | "held_trackingUnreadable" | "held_trackingUnreliable" | "held" | "names_unread";
65279
65279
  skipped_recent?: number;
65280
65280
  } & {
65281
65281
  [key: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1577",
3
+ "version": "0.1.1580",
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>",