@zinn-digital/sdk 0.1.1444 → 0.1.1446

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.
@@ -58614,6 +58614,7 @@ export interface components {
58614
58614
  AdminCustomer360: {
58615
58615
  abuse_flags: components["schemas"]["AdminAbuseFlag"][];
58616
58616
  ai_usage: components["schemas"]["AdminUsageCounter"][];
58617
+ attribution: components["schemas"]["AdminCustomerAttribution"];
58617
58618
  /**
58618
58619
  * Format: int64
58619
58620
  * @description Granted account-credit balance in `credit_currency` minor units. The staff panel showed a hardcoded 0 before this existed, so `grantSubscription` with `kind: credit` wrote a real ledger row that no screen could read.
@@ -58654,6 +58655,19 @@ export interface components {
58654
58655
  subscriptions?: components["schemas"]["Subscription"][];
58655
58656
  tickets: components["schemas"]["AdminTicket"][];
58656
58657
  };
58658
+ /** @description Where the customer came from (BHWTRACK, 2026-11-03): the FIRST touch, written once and never overwritten (what brought them to us), and the LAST touch, replaced on every recorded campaign visit (what brought them back to buy). Each touch is the allow-listed set the attribution capture keeps - `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`, the click ids (`gclid`, `gbraid`, `wbraid`, `fbclid`, `ttclid`, `msclkid`), `ref`, `landing_page` (host + path), `referrer_host`, `zd_vid`, `entry`. An empty object with a null time means no touch was recorded (an account created by staff, a partner or an import), which is not the same as a direct visit. */
58659
+ AdminCustomerAttribution: {
58660
+ first: {
58661
+ [key: string]: string;
58662
+ };
58663
+ /** Format: date-time */
58664
+ first_at: string | null;
58665
+ last: {
58666
+ [key: string]: string;
58667
+ };
58668
+ /** Format: date-time */
58669
+ last_at: string | null;
58670
+ };
58657
58671
  /** @description docs/1000 §3 — one campaign e-mail sent to the customer (V1's campaign history). */
58658
58672
  AdminCustomerCampaignDelivery: {
58659
58673
  campaign: string;
@@ -62791,6 +62805,12 @@ export interface components {
62791
62805
  push_test_confidence_recommended: number;
62792
62806
  /** @description Push tests waiting or running at once on the account (default 2). */
62793
62807
  push_test_max_running: number;
62808
+ /** @description za-86 (PARITY86) — the measured monthly searches a phrase needs before it broadens a campaign that cannot enter the auction (added as a PHRASE keyword through the `keywords` mode). Recommended 10. */
62809
+ reach_min_searches: number;
62810
+ /** @description za-86 (PARITY86) — the Recommended value of each `reach_*` setting ("Reset to recommended"). */
62811
+ reach_recommended: components["schemas"]["AdsReachSettings"];
62812
+ /** @description za-86 (PARITY86) — days of the reach test after a broadening; still no impression at the end → paused (Automatic `pauses`) or offered as one click (Ask me first). Recommended 14. */
62813
+ reach_test_days: number;
62794
62814
  /** @description The 30-day return (conversion value per unit of spend, as a percentage: 400 = 4.0x) the autopilot needs before it raises a budget by itself; null = no target. */
62795
62815
  roas_target_pct: number | null;
62796
62816
  /** @description RSATEST (za-197) — the confidence a winner needs (p below 1 - this/100). Recommended 95. */
@@ -63460,7 +63480,7 @@ export interface components {
63460
63480
  * @description za-72 `compare_page`: a competitor ad moved onto the customer's own comparison page for its rival, under the `ads` mode.
63461
63481
  * @enum {string}
63462
63482
  */
63463
- step: "negatives" | "pauses" | "keywords" | "budgets" | "bids" | "assets" | "compare_page" | "goals";
63483
+ step: "negatives" | "pauses" | "keywords" | "budgets" | "bids" | "assets" | "compare_page" | "goals" | "reach";
63464
63484
  }[];
63465
63485
  };
63466
63486
  /** @description The organisation's autopilot decisions (za-166, docs/1006 §77). */
@@ -64357,6 +64377,8 @@ export interface components {
64357
64377
  pacing_target_minor?: number | null;
64358
64378
  push_test_confidence_pct?: number;
64359
64379
  push_test_max_running?: number;
64380
+ reach_min_searches?: number;
64381
+ reach_test_days?: number;
64360
64382
  roas_target_pct?: number | null;
64361
64383
  rsa_test_confidence_pct?: number;
64362
64384
  /** @enum {string} */
@@ -66681,6 +66703,11 @@ export interface components {
66681
66703
  value: number | null;
66682
66704
  }[];
66683
66705
  };
66706
+ /** @description za-86 (PARITY86) — a connection's reach settings for campaigns that cannot enter the auction (stored, or the Recommended). */
66707
+ AdsReachSettings: {
66708
+ reach_min_searches: number;
66709
+ reach_test_days: number;
66710
+ };
66684
66711
  AdsReport: {
66685
66712
  accounts: components["schemas"]["AdsReportAccount"][];
66686
66713
  clients: components["schemas"]["AdsReportClient"][];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1444",
3
+ "version": "0.1.1446",
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>",