@zinn-digital/sdk 0.1.1514 → 0.1.1515

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.
@@ -37708,7 +37708,7 @@ export interface paths {
37708
37708
  * Record where the signed-in customer came from (the app's landing capture).
37709
37709
  * @description The dashboard captures `utm_*`, `ref`, `zd_vid` (the product sites' visit id), the referring host and the landing page BEFORE the sign-in hop, and sends them here on the first signed-in page load. This is the only way an app sign-up can be attributed: self-registration provisions the organization inside authentication, which never sees the landing URL (docs/750). Unknown keys are dropped, values are capped, and the landing page is host and path only.
37710
37710
  *
37711
- * Recorded only against an organization the caller OWNS — a member of someone else's account did not bring it to us — and never under impersonation. The first touch is written once and never overwritten; the last touch is overwritten each time. A capture with nothing attributable (no campaign, affiliate code, visit id or foreign referrer) records nothing and answers `recorded: false, reason: empty` — except the app's DIRECT first visit (`entry: direct`), which is recorded as a first touch only, when the org has none, so the owner's alert reads "Direct" instead of "Unknown"; it never overwrites a source.
37711
+ * Recorded only against an organization the caller OWNS — a member of someone else's account did not bring it to us — and never under impersonation. The first touch is written once and never overwritten; the last touch is overwritten each time. A capture with nothing attributable (no campaign, affiliate code, visit id or foreign referrer) records nothing and answers `recorded: false, reason: empty` — except the app's DIRECT first visit (`entry: direct`), which is recorded as a first touch only, when the org has none, so the owner's alert reads "Direct" instead of "Unknown"; it never overwrites a source. The app sends that marker once per organization when it has nothing pending (a browser that already reported another account's landing). On an organization more than a day old it records nothing and answers `reason: late`, so an old "Unknown" sign-up is never relabelled "Direct".
37712
37712
  */
37713
37713
  post: operations["recordAcquisitionTouch"];
37714
37714
  delete?: never;
@@ -58208,7 +58208,7 @@ export interface components {
58208
58208
  /** Format: uuid */
58209
58209
  org_id?: string;
58210
58210
  /** @enum {string} */
58211
- reason: "" | "empty" | "impersonation";
58211
+ reason: "" | "empty" | "impersonation" | "late";
58212
58212
  recorded: boolean;
58213
58213
  };
58214
58214
  /** @description One firing alert, carrying the SENTENCES rather than the label soup. `summary`, `description`, `upgrade` and `runbook` are Alertmanager ANNOTATIONS - they do not exist in PromQL, which is why this reads Alertmanager and not Prometheus. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1514",
3
+ "version": "0.1.1515",
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>",