@zinn-digital/sdk 0.1.1587 → 0.1.1589
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 +32 -7
- package/package.json +1 -1
|
@@ -48642,7 +48642,7 @@ export interface paths {
|
|
|
48642
48642
|
};
|
|
48643
48643
|
/**
|
|
48644
48644
|
* Read a site's automatic app updates add-on and its window.
|
|
48645
|
-
* @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 `
|
|
48645
|
+
* @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`, `suitecrm_auto_updates` or `zenphoto_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. Zenphoto: the newest release of the installed major swapped in (zp-data, albums, uploaded and the caches kept; plugins and themes merged), then Zenphoto's own setup driven over loopback signed in as the site's administrator (setup's blind autorun stops on LiteSpeed), setup protected again on every exit, until the database's install signature records the new version; a run whose setup failed after its swap is finished by the next run. `sites.view`.
|
|
48646
48646
|
*/
|
|
48647
48647
|
get: operations["getSiteAppAutoUpdate"];
|
|
48648
48648
|
/**
|
|
@@ -64650,7 +64650,7 @@ export interface components {
|
|
|
64650
64650
|
};
|
|
64651
64651
|
AdsAnalyticsBreakdown: components["schemas"]["AdsAnalyticsFrame"] & {
|
|
64652
64652
|
/** @enum {string} */
|
|
64653
|
-
by: "network" | "connection" | "campaign" | "country" | "device" | "offering";
|
|
64653
|
+
by: "network" | "connection" | "campaign" | "country" | "device" | "offering" | "client";
|
|
64654
64654
|
limit: number;
|
|
64655
64655
|
offset: number;
|
|
64656
64656
|
rows: components["schemas"]["AdsAnalyticsRow"][];
|
|
@@ -65033,6 +65033,8 @@ export interface components {
|
|
|
65033
65033
|
offering_id?: string | null;
|
|
65034
65034
|
/** Format: uuid */
|
|
65035
65035
|
org_id?: string;
|
|
65036
|
+
/** @description za-287: a `by=client` row that is the agency's OWN accounts (not a client's). */
|
|
65037
|
+
own?: boolean;
|
|
65036
65038
|
previous: components["schemas"]["AdsAnalyticsFigures"] | null;
|
|
65037
65039
|
spark_cost_micros: number[];
|
|
65038
65040
|
};
|
|
@@ -69354,7 +69356,7 @@ export interface components {
|
|
|
69354
69356
|
AdsSavedViewCadence: "" | "daily" | "weekly" | "monthly";
|
|
69355
69357
|
AdsSavedViewChart: {
|
|
69356
69358
|
/** @enum {string} */
|
|
69357
|
-
board?: "network" | "connection" | "campaign" | "country" | "device" | "offering";
|
|
69359
|
+
board?: "network" | "connection" | "campaign" | "country" | "device" | "offering" | "client";
|
|
69358
69360
|
/** @enum {string} */
|
|
69359
69361
|
metric?: "cost" | "value" | "roas" | "conversions" | "cpa" | "ctr" | "cpc" | "clicks" | "impressions" | "convRate";
|
|
69360
69362
|
};
|
|
@@ -69370,6 +69372,7 @@ export interface components {
|
|
|
69370
69372
|
/** @description The `/ads/analytics` filters, exactly the analytics API's query parameters (only those set). */
|
|
69371
69373
|
AdsSavedViewParams: {
|
|
69372
69374
|
campaign?: string;
|
|
69375
|
+
client?: string;
|
|
69373
69376
|
/** @enum {string} */
|
|
69374
69377
|
compare?: "previous" | "year" | "none";
|
|
69375
69378
|
connection?: string;
|
|
@@ -101916,7 +101919,7 @@ export interface components {
|
|
|
101916
101919
|
total_ms: number;
|
|
101917
101920
|
transaction: string;
|
|
101918
101921
|
};
|
|
101919
|
-
/** @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 `
|
|
101922
|
+
/** @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`, `suitecrm_auto_updates` or `zenphoto_auto_updates`), the window and the last run's outcome. */
|
|
101920
101923
|
SiteAppAutoUpdate: {
|
|
101921
101924
|
/** @description Whether the add-on is on and in good standing now. */
|
|
101922
101925
|
active: boolean;
|
|
@@ -101924,7 +101927,7 @@ export interface components {
|
|
|
101924
101927
|
* @description The app the add-on serves on this site, or null when none is sold for it.
|
|
101925
101928
|
* @enum {string|null}
|
|
101926
101929
|
*/
|
|
101927
|
-
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;
|
|
101930
|
+
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" | "zenphoto" | null;
|
|
101928
101931
|
can_buy: boolean;
|
|
101929
101932
|
/** @description The catalogue code to buy (`<app_key>_auto_updates`). */
|
|
101930
101933
|
code: string | null;
|
|
@@ -115338,6 +115341,8 @@ export interface components {
|
|
|
115338
115341
|
ActiveOrg: string;
|
|
115339
115342
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
115340
115343
|
AdsAnalyticsCampaign: string;
|
|
115344
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
115345
|
+
AdsAnalyticsClient: string;
|
|
115341
115346
|
AdsAnalyticsCompare: "previous" | "year" | "none";
|
|
115342
115347
|
/** @description Comma-separated ad-account connection ids. */
|
|
115343
115348
|
AdsAnalyticsConnection: string;
|
|
@@ -141021,9 +141026,11 @@ export interface operations {
|
|
|
141021
141026
|
getAdsAnalyticsBreakdown: {
|
|
141022
141027
|
parameters: {
|
|
141023
141028
|
query?: {
|
|
141024
|
-
by?: "network" | "connection" | "campaign" | "country" | "device" | "offering";
|
|
141029
|
+
by?: "network" | "connection" | "campaign" | "country" | "device" | "offering" | "client";
|
|
141025
141030
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141026
141031
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141032
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141033
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141027
141034
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141028
141035
|
/** @description Comma-separated ad-account connection ids. */
|
|
141029
141036
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141074,9 +141081,11 @@ export interface operations {
|
|
|
141074
141081
|
exportAdsAnalyticsTable: {
|
|
141075
141082
|
parameters: {
|
|
141076
141083
|
query?: {
|
|
141077
|
-
by?: "network" | "connection" | "campaign" | "country" | "device" | "offering";
|
|
141084
|
+
by?: "network" | "connection" | "campaign" | "country" | "device" | "offering" | "client";
|
|
141078
141085
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141079
141086
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141087
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141088
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141080
141089
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141081
141090
|
/** @description Comma-separated ad-account connection ids. */
|
|
141082
141091
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141129,6 +141138,8 @@ export interface operations {
|
|
|
141129
141138
|
query?: {
|
|
141130
141139
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141131
141140
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141141
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141142
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141132
141143
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141133
141144
|
/** @description Comma-separated ad-account connection ids. */
|
|
141134
141145
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141179,6 +141190,8 @@ export interface operations {
|
|
|
141179
141190
|
query?: {
|
|
141180
141191
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141181
141192
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141193
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141194
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141182
141195
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141183
141196
|
/** @description Comma-separated ad-account connection ids. */
|
|
141184
141197
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141229,6 +141242,8 @@ export interface operations {
|
|
|
141229
141242
|
query?: {
|
|
141230
141243
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141231
141244
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141245
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141246
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141232
141247
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141233
141248
|
/** @description Comma-separated ad-account connection ids. */
|
|
141234
141249
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141279,6 +141294,8 @@ export interface operations {
|
|
|
141279
141294
|
query?: {
|
|
141280
141295
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141281
141296
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141297
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141298
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141282
141299
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141283
141300
|
/** @description Comma-separated ad-account connection ids. */
|
|
141284
141301
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141329,6 +141346,8 @@ export interface operations {
|
|
|
141329
141346
|
query?: {
|
|
141330
141347
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141331
141348
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141349
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141350
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141332
141351
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141333
141352
|
/** @description Comma-separated ad-account connection ids. */
|
|
141334
141353
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141383,6 +141402,8 @@ export interface operations {
|
|
|
141383
141402
|
query?: {
|
|
141384
141403
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141385
141404
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141405
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141406
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141386
141407
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141387
141408
|
/** @description Comma-separated ad-account connection ids. */
|
|
141388
141409
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141441,6 +141462,8 @@ export interface operations {
|
|
|
141441
141462
|
query?: {
|
|
141442
141463
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141443
141464
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141465
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141466
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141444
141467
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141445
141468
|
/** @description Comma-separated ad-account connection ids. */
|
|
141446
141469
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
|
@@ -141491,6 +141514,8 @@ export interface operations {
|
|
|
141491
141514
|
query?: {
|
|
141492
141515
|
/** @description Comma-separated `<connection_id>:<campaign_id>` tokens. */
|
|
141493
141516
|
campaign?: components["parameters"]["AdsAnalyticsCampaign"];
|
|
141517
|
+
/** @description za-287: comma-separated client organisation ids. The read narrows to each client and its own clients, so an agency sees the same screen for one client. A client the caller cannot view is a 404 (`refusal.adsconnect.noSuchOrg`), never an empty answer. */
|
|
141518
|
+
client?: components["parameters"]["AdsAnalyticsClient"];
|
|
141494
141519
|
compare?: components["parameters"]["AdsAnalyticsCompare"];
|
|
141495
141520
|
/** @description Comma-separated ad-account connection ids. */
|
|
141496
141521
|
connection?: components["parameters"]["AdsAnalyticsConnection"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1589",
|
|
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>",
|