@zinn-digital/sdk 0.1.1580 → 0.1.1583
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 +71 -3
- package/package.json +1 -1
|
@@ -33508,6 +33508,26 @@ export interface paths {
|
|
|
33508
33508
|
patch: operations["updateEmailMarketingCampaign"];
|
|
33509
33509
|
trace?: never;
|
|
33510
33510
|
};
|
|
33511
|
+
"/v1/email-marketing/campaigns/{campaign_id}/lint": {
|
|
33512
|
+
parameters: {
|
|
33513
|
+
query?: never;
|
|
33514
|
+
header?: never;
|
|
33515
|
+
path?: never;
|
|
33516
|
+
cookie?: never;
|
|
33517
|
+
};
|
|
33518
|
+
/**
|
|
33519
|
+
* Check a campaign's copy for deliverability problems before it is sent.
|
|
33520
|
+
* @description Gated on `email_marketing.view`. Rules only, run during the request, nothing billed: the subject (missing, too long, shouting, repeated punctuation, a fake `Re:`), the body (missing, tags mail clients strip, size over Gmail's clipping line, the image-to-text ratio, images without `alt`), every link (not http(s), an IP address, a public URL shortener, plain http, visible text naming a different domain than the link), the postal address the footer needs, and phrases spam filters score. Each finding is a stable `code` with a `severity` and `params`; the dashboard words it in the reader's language. The unsubscribe link and postal address are added to every message, so a body without them is not a finding.
|
|
33521
|
+
*/
|
|
33522
|
+
get: operations["lintEmailMarketingCampaign"];
|
|
33523
|
+
put?: never;
|
|
33524
|
+
post?: never;
|
|
33525
|
+
delete?: never;
|
|
33526
|
+
options?: never;
|
|
33527
|
+
head?: never;
|
|
33528
|
+
patch?: never;
|
|
33529
|
+
trace?: never;
|
|
33530
|
+
};
|
|
33511
33531
|
"/v1/email-marketing/campaigns/{campaign_id}/report": {
|
|
33512
33532
|
parameters: {
|
|
33513
33533
|
query?: never;
|
|
@@ -48602,7 +48622,7 @@ export interface paths {
|
|
|
48602
48622
|
};
|
|
48603
48623
|
/**
|
|
48604
48624
|
* Read a site's automatic app updates add-on and its window.
|
|
48605
|
-
* @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`, `payload_auto_updates`, `dolibarr_auto_updates`, `silverstripe_auto_updates` or `
|
|
48625
|
+
* @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`, `payload_auto_updates`, `dolibarr_auto_updates`, `silverstripe_auto_updates`, `craft_auto_updates`, `osticket_auto_updates`, `piwigo_auto_updates`, `modx_auto_updates` or `suitecrm_auto_updates`, USD 29 a year per site; `nextcloud_auto_updates`, `owncloud_auto_updates`, `prestashop_auto_updates`, `magento_auto_updates` or `oscommerce_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. osCommerce: the vendor's newest osCommerce 4 build (its code over the store's, then its own database migrations and cache rebuild); the store's configuration, images and uploads are kept, and extensions and themes the customer added are kept and not updated. Dolibarr: the newest release of the installed major version (the tag's `htdocs`), then its own CLI upgrade (`install/upgrade.php`, `upgrade2.php`, `step5.php`) until the database records the new version; modules the customer added in `custom/` are kept and not updated. Buy it through `purchaseExtra` with `site_id`. Requires Silverstripe CMS: Composer moves the site to the newest release of the installed major (the newest `silverstripe/installer` constraints for the packages the site already requires), then its own `sake db:build --flush`; packages the customer added move only within their own constraints. Craft CMS: Composer moves `craftcms/cms` and every plugin to the newest release the project's own `composer.json` allows (the installed major), then its own `craft up` (migrations and project config) and `clear-caches/all`; done only when both the code and the database report the new version. osTicket: the newest release of the installed version line (1.17 or 1.18; its `upload/` folder, the desk's `include/ost-config.php` kept), then its own `manage.php upgrade` until no upgrade is pending; plugins and language packs the customer added are kept and not updated. Piwigo: the newest release of the installed major (the gallery's `local/` settings and every photo kept), then its own database upgrades (`upgrade_feed.php`) until none is left; plugins and themes the customer added are kept and not updated. MODX: the newest release of the installed major (`core/config` and installed Extras kept), then its own setup in upgrade mode (`setup/` removed after every run) until the database records the new version; Extras the customer installed are kept and not updated. SuiteCRM: the newest release of the installed major through SuiteCRM 8's own console upgrader (`suitecrm:app:upgrade`, then `upgrade-finalize -m keep`, customisations kept) until `suitecrm:version` reports the new version; modules the customer added are kept and not updated. `sites.view`.
|
|
48606
48626
|
*/
|
|
48607
48627
|
get: operations["getSiteAppAutoUpdate"];
|
|
48608
48628
|
/**
|
|
@@ -82580,6 +82600,26 @@ export interface components {
|
|
|
82580
82600
|
/** @description Mobile number in international format (+447700900123), for SMS and WhatsApp. */
|
|
82581
82601
|
phone?: string;
|
|
82582
82602
|
};
|
|
82603
|
+
EmailMarketingLint: {
|
|
82604
|
+
/** Format: uuid */
|
|
82605
|
+
campaign_id: string;
|
|
82606
|
+
errors: number;
|
|
82607
|
+
findings: components["schemas"]["EmailMarketingLintFinding"][];
|
|
82608
|
+
infos: number;
|
|
82609
|
+
warnings: number;
|
|
82610
|
+
};
|
|
82611
|
+
EmailMarketingLintFinding: {
|
|
82612
|
+
/** @enum {string} */
|
|
82613
|
+
code: "subject_missing" | "subject_long" | "subject_shouting" | "subject_punctuation" | "subject_fake_reply" | "body_missing" | "postal_address_missing" | "preheader_missing" | "text_part_generated" | "tag_stripped" | "html_clipped" | "links_many" | "link_invalid" | "link_ip_address" | "link_shortener" | "link_insecure" | "link_text_mismatch" | "image_alt_missing" | "image_text_ratio" | "trigger_phrases";
|
|
82614
|
+
/** @description The campaign field the finding is about (subject, subject_b, preheader, html, text, postal_address). */
|
|
82615
|
+
field: string;
|
|
82616
|
+
/** @description Values the message needs (length, max, host, tag, count, phrases, images, words, min_words, bytes). */
|
|
82617
|
+
params: {
|
|
82618
|
+
[key: string]: unknown;
|
|
82619
|
+
};
|
|
82620
|
+
/** @enum {string} */
|
|
82621
|
+
severity: "error" | "warning" | "info";
|
|
82622
|
+
};
|
|
82583
82623
|
EmailMarketingList: {
|
|
82584
82624
|
/** Format: date-time */
|
|
82585
82625
|
created_at: string;
|
|
@@ -101822,7 +101862,7 @@ export interface components {
|
|
|
101822
101862
|
total_ms: number;
|
|
101823
101863
|
transaction: string;
|
|
101824
101864
|
};
|
|
101825
|
-
/** @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`, `payload_auto_updates`, `oscommerce_auto_updates`, `dolibarr_auto_updates`, `silverstripe_auto_updates` or `
|
|
101865
|
+
/** @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`, `payload_auto_updates`, `oscommerce_auto_updates`, `dolibarr_auto_updates`, `silverstripe_auto_updates`, `craft_auto_updates`, `osticket_auto_updates`, `piwigo_auto_updates`, `modx_auto_updates` or `suitecrm_auto_updates`), the window and the last run's outcome. */
|
|
101826
101866
|
SiteAppAutoUpdate: {
|
|
101827
101867
|
/** @description Whether the add-on is on and in good standing now. */
|
|
101828
101868
|
active: boolean;
|
|
@@ -101830,7 +101870,7 @@ export interface components {
|
|
|
101830
101870
|
* @description The app the add-on serves on this site, or null when none is sold for it.
|
|
101831
101871
|
* @enum {string|null}
|
|
101832
101872
|
*/
|
|
101833
|
-
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "owncloud" | "mediawiki" | "drupal" | "matomo" | "typo3" | "concretecms" | "prestashop" | "magento" | "strapi" | "payload" | "oscommerce" | "dolibarr" | "silverstripe" | "craft" | null;
|
|
101873
|
+
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "owncloud" | "mediawiki" | "drupal" | "matomo" | "typo3" | "concretecms" | "prestashop" | "magento" | "strapi" | "payload" | "oscommerce" | "dolibarr" | "silverstripe" | "craft" | "osticket" | "piwigo" | "modx" | "suitecrm" | null;
|
|
101834
101874
|
can_buy: boolean;
|
|
101835
101875
|
/** @description The catalogue code to buy (`<app_key>_auto_updates`). */
|
|
101836
101876
|
code: string | null;
|
|
@@ -171182,6 +171222,34 @@ export interface operations {
|
|
|
171182
171222
|
409: components["responses"]["Conflict"];
|
|
171183
171223
|
};
|
|
171184
171224
|
};
|
|
171225
|
+
lintEmailMarketingCampaign: {
|
|
171226
|
+
parameters: {
|
|
171227
|
+
query?: {
|
|
171228
|
+
/** @description The organization this call acts on. Optional for a caller with exactly one direct membership; **required** for anyone with more than one — which is every reseller and every agency — because the engine refuses rather than guesses (a wrong guess here writes one tenant's gateway credentials under another tenant's Vault path). */
|
|
171229
|
+
org_id?: components["parameters"]["OrgIdQuery"];
|
|
171230
|
+
};
|
|
171231
|
+
header?: never;
|
|
171232
|
+
path: {
|
|
171233
|
+
campaign_id: string;
|
|
171234
|
+
};
|
|
171235
|
+
cookie?: never;
|
|
171236
|
+
};
|
|
171237
|
+
requestBody?: never;
|
|
171238
|
+
responses: {
|
|
171239
|
+
/** @description The findings, errors first. */
|
|
171240
|
+
200: {
|
|
171241
|
+
headers: {
|
|
171242
|
+
[name: string]: unknown;
|
|
171243
|
+
};
|
|
171244
|
+
content: {
|
|
171245
|
+
"application/json": components["schemas"]["EmailMarketingLint"];
|
|
171246
|
+
};
|
|
171247
|
+
};
|
|
171248
|
+
401: components["responses"]["Unauthorized"];
|
|
171249
|
+
403: components["responses"]["Forbidden"];
|
|
171250
|
+
404: components["responses"]["NotFound"];
|
|
171251
|
+
};
|
|
171252
|
+
};
|
|
171185
171253
|
getEmailMarketingCampaignReport: {
|
|
171186
171254
|
parameters: {
|
|
171187
171255
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1583",
|
|
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>",
|