@zinn-digital/sdk 0.1.1716 → 0.1.1718

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.
@@ -45629,7 +45629,7 @@ export interface paths {
45629
45629
  put?: never;
45630
45630
  /**
45631
45631
  * A visitor on one of our sites clicked a plugin-store checkout or a free download.
45632
- * @description docs/1002 §4 — the beacon our product sites send (`navigator.sendBeacon`, so the body may arrive as `text/plain`; it is read as JSON either way, at most 8 KiB). The engine records the click so the store's sale, which happens on a checkout we cannot tag, can be joined back to the advert and site that produced it. Kept: the store product and plan named by `href`, the site (from `Origin`), the Google click ids, UTM source/medium/ campaign, the landing page (host + path, never a query) and GA4's own client/session id. ⛔ The visitor's IP is kept ONLY as a keyed hash, and only when the engine can establish the real client address. Always answers `204` with no body, whether or not anything was recorded. Anonymous; throttled per source address (`plugin_click`).
45632
+ * @description docs/1002 §4 — the beacon our product sites send (`navigator.sendBeacon`, so the body may arrive as `text/plain`; it is read as JSON either way, at most 8 KiB). The engine records the click so the store's sale, which happens on a checkout we cannot tag, can be joined back to the advert and site that produced it. Kept: the store product and plan named by `href` (a store checkout, a free download on wordpress.org, GitHub or our own `api.zinndigital.com/v1/plugins/<slug>/download`), the site (from `Origin`), the ad networks' click ids (Google's, `msclkid`, `twclid` and ChatGPT Ads' `oppref`), UTM source/medium/campaign, the landing page (host + path, never a query) and GA4's own client/session id. ⛔ The visitor's IP is kept ONLY as a keyed hash, and only when the engine can establish the real client address. Always answers `204` with no body, whether or not anything was recorded. Anonymous; throttled per source address (`plugin_click`).
45633
45633
  */
45634
45634
  post: operations["recordPublicPluginClick"];
45635
45635
  delete?: never;
@@ -98318,6 +98318,8 @@ export interface components {
98318
98318
  PluginClick: {
98319
98319
  ga_client_id?: string;
98320
98320
  ga_session_id?: string;
98321
+ /** @description VOAIHOUSEWP2 — `true` when the link opens one of our plugins' own download pages (`tranzly.io/download/`, `pagebuildersandwich.com/download/`) from another of our sites: the click is stored as a hand-off (kind `handoff`), not a download, because that page's own button is the download. Ignored on any other link. */
98322
+ handoff?: boolean;
98321
98323
  /** @description The link clicked — a `checkout.freemius.com` checkout, a wordpress.org plugin page or a GitHub zip. */
98322
98324
  href: string;
98323
98325
  /** @description Fallback when the request has no `Origin`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1716",
3
+ "version": "0.1.1718",
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>",