@zinn-digital/sdk 0.1.1504 → 0.1.1506
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.
|
@@ -58061,7 +58061,7 @@ export interface components {
|
|
|
58061
58061
|
* @description The org to record against; optional when the caller owns exactly one.
|
|
58062
58062
|
*/
|
|
58063
58063
|
org_id?: string;
|
|
58064
|
-
/** @description Captured on landing. Kept keys: utm_source, utm_medium, utm_campaign, utm_term, utm_content, gclid, fbclid, ttclid, msclkid, ref, zd_vid, referrer_host, landing_page, and entry (only the value `direct`). Others are dropped. */
|
|
58064
|
+
/** @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. */
|
|
58065
58065
|
touch: {
|
|
58066
58066
|
[key: string]: string;
|
|
58067
58067
|
};
|
|
@@ -59473,7 +59473,7 @@ export interface components {
|
|
|
59473
59473
|
subscriptions?: components["schemas"]["Subscription"][];
|
|
59474
59474
|
tickets: components["schemas"]["AdminTicket"][];
|
|
59475
59475
|
};
|
|
59476
|
-
/** @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. */
|
|
59476
|
+
/** @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. */
|
|
59477
59477
|
AdminCustomerAttribution: {
|
|
59478
59478
|
first: {
|
|
59479
59479
|
[key: string]: string;
|
|
@@ -67121,6 +67121,8 @@ export interface components {
|
|
|
67121
67121
|
referrer?: string;
|
|
67122
67122
|
/** @enum {string} */
|
|
67123
67123
|
source?: "store" | "plugin" | "crm" | "events";
|
|
67124
|
+
/** @description X's click id (za-302), uploaded to X's Conversion API. */
|
|
67125
|
+
twclid?: string;
|
|
67124
67126
|
/** @description Integer minor units. A `free_listing` carries none (omit it or send 0; a positive value is a 422). */
|
|
67125
67127
|
value_minor?: number | null;
|
|
67126
67128
|
wbraid?: string;
|
|
@@ -69125,7 +69127,7 @@ export interface components {
|
|
|
69125
69127
|
day: string;
|
|
69126
69128
|
diagnoses: {
|
|
69127
69129
|
/** @enum {string} */
|
|
69128
|
-
code: "noSource" | "unreadable" | "lostClickIds" | "checkoutRoundTrip" | "offSiteOutcome" | "missingTag" | "noUploadAction" | "uploadActionNotPrimary" | "undercount" | "doubleCounting" | "providerGap";
|
|
69130
|
+
code: "noSource" | "unreadable" | "lostClickIds" | "checkoutRoundTrip" | "offSiteOutcome" | "missingTag" | "noUploadAction" | "uploadActionNotPrimary" | "uploadRequestRejected" | "uploadResponseUnreadable" | "undercount" | "doubleCounting" | "providerGap";
|
|
69129
69131
|
figures: {
|
|
69130
69132
|
[key: string]: unknown;
|
|
69131
69133
|
};
|
|
@@ -91810,7 +91812,7 @@ export interface components {
|
|
|
91810
91812
|
state: "active" | "pending_consent" | "revoked";
|
|
91811
91813
|
};
|
|
91812
91814
|
PartnerCustomerCreate: {
|
|
91813
|
-
/** @description Optional. Where YOU say this customer came from — your own first-party attribution: `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`, `gclid`, `gbraid`, `wbraid`, `fbclid`, `msclkid`, `referrer_host`, `landing_page` (host + path). Unknown keys are dropped. Recorded once, as the first touch of an organization this call creates; it never replaces a source we already hold. */
|
|
91815
|
+
/** @description Optional. Where YOU say this customer came from — your own first-party attribution: `utm_source`, `utm_medium`, `utm_campaign`, `utm_term`, `utm_content`, `gclid`, `gbraid`, `wbraid`, `fbclid`, `ttclid`, `msclkid`, `twclid`, `ref`, `referrer_host`, `landing_page` (host + path). Unknown keys are dropped. Recorded once, as the first touch of an organization this call creates; it never replaces a source we already hold. */
|
|
91814
91816
|
attribution?: {
|
|
91815
91817
|
[key: string]: string;
|
|
91816
91818
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1506",
|
|
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>",
|