@zinn-digital/sdk 0.1.1535 → 0.1.1536
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.
|
@@ -58526,7 +58526,7 @@ export interface components {
|
|
|
58526
58526
|
* @description The org to record against; optional when the caller owns exactly one.
|
|
58527
58527
|
*/
|
|
58528
58528
|
org_id?: string;
|
|
58529
|
-
/** @description Captured on landing. Kept keys: utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid, gbraid, wbraid, fbclid, ttclid, msclkid, twclid (a malformed twclid is dropped), ref, zd_vid, referrer_host, landing_page, and entry (only the value `direct`). Others are dropped. */
|
|
58529
|
+
/** @description Captured on landing. Kept keys: utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid, gbraid, wbraid, fbclid, ttclid, msclkid, twclid (a malformed twclid is dropped), oppref, ref, zd_vid, referrer_host, landing_page, and entry (only the value `direct`). Others are dropped. */
|
|
58530
58530
|
touch: {
|
|
58531
58531
|
[key: string]: string;
|
|
58532
58532
|
};
|
|
@@ -59938,7 +59938,7 @@ export interface components {
|
|
|
59938
59938
|
subscriptions?: components["schemas"]["Subscription"][];
|
|
59939
59939
|
tickets: components["schemas"]["AdminTicket"][];
|
|
59940
59940
|
};
|
|
59941
|
-
/** @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`, `twclid`), `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. */
|
|
59941
|
+
/** @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`, `twclid`, `oppref`), `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. */
|
|
59942
59942
|
AdminCustomerAttribution: {
|
|
59943
59943
|
first: {
|
|
59944
59944
|
[key: string]: string;
|
|
@@ -61475,6 +61475,8 @@ export interface components {
|
|
|
61475
61475
|
channels: {
|
|
61476
61476
|
[key: string]: ("telegram" | "email" | "slack")[];
|
|
61477
61477
|
};
|
|
61478
|
+
/** @description A sign-up, trial start or payment whose first touch came from the ChatGPT ads (utm_source=chatgpt or an oppref click id): e-mail + Telegram, once per conversion, the org name and the value only (za-321, ON by default — the owner asked for it). */
|
|
61479
|
+
chatgpt_ads_conversion?: boolean;
|
|
61478
61480
|
dry_run?: {
|
|
61479
61481
|
/** @description business_live only: events per switch. */
|
|
61480
61482
|
by_switch?: {
|
|
@@ -61484,7 +61486,7 @@ export interface components {
|
|
|
61484
61486
|
/** @description business_live only: how many events the message covers. */
|
|
61485
61487
|
items?: number;
|
|
61486
61488
|
/** @enum {string} */
|
|
61487
|
-
kind?: "activated" | "ended_unconverted" | "late_conversion" | "free_plan_signup" | "free_plan_upgrade" | "business_live";
|
|
61489
|
+
kind?: "activated" | "ended_unconverted" | "late_conversion" | "free_plan_signup" | "free_plan_upgrade" | "business_live" | "chatgpt_ads_signup" | "chatgpt_ads_trial" | "chatgpt_ads_payment";
|
|
61488
61490
|
/** @description business_live only: the message body, line by line (capped). */
|
|
61489
61491
|
lines?: string[];
|
|
61490
61492
|
/** @description The org's uuid; empty for the batched business_live message (see org_ids). */
|
|
@@ -61525,6 +61527,7 @@ export interface components {
|
|
|
61525
61527
|
channels?: {
|
|
61526
61528
|
[key: string]: ("telegram" | "email" | "slack")[];
|
|
61527
61529
|
};
|
|
61530
|
+
chatgpt_ads_conversion?: boolean;
|
|
61528
61531
|
free_plan_signup?: boolean;
|
|
61529
61532
|
free_plan_upgrade?: boolean;
|
|
61530
61533
|
live_failed_payments?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1536",
|
|
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>",
|