@zinn-digital/sdk 0.1.1534 → 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.
|
@@ -48375,7 +48375,7 @@ export interface paths {
|
|
|
48375
48375
|
};
|
|
48376
48376
|
/**
|
|
48377
48377
|
* Read a site's automatic app updates add-on and its window.
|
|
48378
|
-
* @description The paid automatic-updates add-on for the app the site runs (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates` or `
|
|
48378
|
+
* @description The paid automatic-updates add-on for the app the site runs (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `strapi_auto_updates` or `payload_auto_updates`, USD 29 a year per site; `nextcloud_auto_updates`, `owncloud_auto_updates`, `prestashop_auto_updates` or `magento_auto_updates`, USD 50 a year per site; s1014 row 41): whether it is on sale and on, its price in the caller's currency, the renewal, the quiet window and the last run. Each run takes a safety backup first and rolls back to it when the homepage breaks. WordPress: core, plugins and themes (a held plugin version is never applied). Joomla!: the core only, through Joomla's own console; extensions and templates are not updated. Nextcloud: the server through its own updater, then every app with an update. Drupal: the core only (the newest release of the installed major version, then its database updates); contributed modules and themes are not updated. MediaWiki: the newest stable release with its bundled extensions and skins, then its own update script; extensions the customer added are not updated. phpBB: the newest release of the installed branch with its bundled style, language and extension, then its own `db:migrate`; styles, language packs and extensions the customer added are not updated. ownCloud: the newest release of the installed major version (the complete build, with its bundled apps), then its own `occ upgrade`; apps from the ownCloud marketplace are not updated. PrestaShop: the newest stable release of the installed major version through PrestaShop's own Update Assistant (files, database and native modules); modules the customer added are kept, never uninstalled, and are not updated. Magento: the newest security patch of the installed 2.x.y line (the source release's code, its Composer lock and `setup:upgrade`); modules and themes the customer added are kept and not updated, and a store that added Composer packages is refused with nothing changed. Strapi and Payload: the newest release of the installed major from npm (every package of the app's own family on the core's version moves together), then the app's own build (`strapi build`; for Payload a schema migration when the release needs one, `payload migrate` and `next build`) and a process restart; other npm packages the customer added are kept and not updated. Buy it through `purchaseExtra` with `site_id`. Requires `sites.view`.
|
|
48379
48379
|
*/
|
|
48380
48380
|
get: operations["getSiteAppAutoUpdate"];
|
|
48381
48381
|
/**
|
|
@@ -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;
|
|
@@ -101280,7 +101283,7 @@ export interface components {
|
|
|
101280
101283
|
total_ms: number;
|
|
101281
101284
|
transaction: string;
|
|
101282
101285
|
};
|
|
101283
|
-
/** @description The paid automatic app updates add-on for one site (s1014 row 41): the code that applies (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `nextcloud_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `owncloud_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `prestashop_auto_updates` or `
|
|
101286
|
+
/** @description The paid automatic app updates add-on for one site (s1014 row 41): the code that applies (`wordpress_auto_updates`, `woocommerce_auto_updates`, `joomla_auto_updates`, `nextcloud_auto_updates`, `drupal_auto_updates`, `mediawiki_auto_updates`, `phpbb_auto_updates`, `owncloud_auto_updates`, `matomo_auto_updates`, `typo3_auto_updates`, `concretecms_auto_updates`, `prestashop_auto_updates`, `magento_auto_updates`, `strapi_auto_updates` or `payload_auto_updates`), the window and the last run's outcome. */
|
|
101284
101287
|
SiteAppAutoUpdate: {
|
|
101285
101288
|
/** @description Whether the add-on is on and in good standing now. */
|
|
101286
101289
|
active: boolean;
|
|
@@ -101288,7 +101291,7 @@ export interface components {
|
|
|
101288
101291
|
* @description The app the add-on serves on this site, or null when none is sold for it.
|
|
101289
101292
|
* @enum {string|null}
|
|
101290
101293
|
*/
|
|
101291
|
-
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "owncloud" | "mediawiki" | "drupal" | "matomo" | "typo3" | "concretecms" | "prestashop" | "magento" | null;
|
|
101294
|
+
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "owncloud" | "mediawiki" | "drupal" | "matomo" | "typo3" | "concretecms" | "prestashop" | "magento" | "strapi" | "payload" | null;
|
|
101292
101295
|
can_buy: boolean;
|
|
101293
101296
|
/** @description The catalogue code to buy (`<app_key>_auto_updates`). */
|
|
101294
101297
|
code: string | null;
|
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>",
|