@zinn-digital/sdk 0.1.1444 → 0.1.1445
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.
- package/dist/generated/schema.d.ts +14 -0
- package/package.json +1 -1
|
@@ -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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1445",
|
|
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>",
|