@zinn-digital/sdk 0.1.1385 → 0.1.1388
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 +18 -3
- package/package.json +1 -1
|
@@ -46057,7 +46057,7 @@ export interface paths {
|
|
|
46057
46057
|
};
|
|
46058
46058
|
/**
|
|
46059
46059
|
* Read a site's automatic app updates add-on and its window.
|
|
46060
|
-
* @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` or `phpbb_auto_updates`, USD 29 a year per site; `nextcloud_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. Buy it through `purchaseExtra` with `site_id`. Requires `sites.view`.
|
|
46060
|
+
* @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` or `phpbb_auto_updates`, USD 29 a year per site; `nextcloud_auto_updates` or `owncloud_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. Buy it through `purchaseExtra` with `site_id`. Requires `sites.view`.
|
|
46061
46061
|
*/
|
|
46062
46062
|
get: operations["getSiteAppAutoUpdate"];
|
|
46063
46063
|
/**
|
|
@@ -77970,6 +77970,15 @@ export interface components {
|
|
|
77970
77970
|
* @example strapi
|
|
77971
77971
|
*/
|
|
77972
77972
|
key: string;
|
|
77973
|
+
/** @description The licence we sell with this application (create the site with `application_licence_source: zinn`), or `null` when it takes no licence or we are not selling one to the acting organisation just now (the sale has a launch switch; until it is on, only its pilot organisations are offered it). The price is per month, net of tax, in integer minor units. */
|
|
77974
|
+
licence_offer?: {
|
|
77975
|
+
/** @example USD */
|
|
77976
|
+
currency: string;
|
|
77977
|
+
/** @example 1595 */
|
|
77978
|
+
price_monthly_minor: number;
|
|
77979
|
+
/** @example WHMCS Starter */
|
|
77980
|
+
tier: string;
|
|
77981
|
+
} | null;
|
|
77973
77982
|
/**
|
|
77974
77983
|
* @description The project's own name, as a proper noun. Not translated.
|
|
77975
77984
|
* @example Strapi
|
|
@@ -95991,7 +96000,7 @@ export interface components {
|
|
|
95991
96000
|
total_ms: number;
|
|
95992
96001
|
transaction: string;
|
|
95993
96002
|
};
|
|
95994
|
-
/** @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` or `
|
|
96003
|
+
/** @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` or `owncloud_auto_updates`), the window and the last run's outcome. */
|
|
95995
96004
|
SiteAppAutoUpdate: {
|
|
95996
96005
|
/** @description Whether the add-on is on and in good standing now. */
|
|
95997
96006
|
active: boolean;
|
|
@@ -95999,7 +96008,7 @@ export interface components {
|
|
|
95999
96008
|
* @description The app the add-on serves on this site, or null when none is sold for it.
|
|
96000
96009
|
* @enum {string|null}
|
|
96001
96010
|
*/
|
|
96002
|
-
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "mediawiki" | "drupal" | null;
|
|
96011
|
+
app_key: "wordpress" | "woocommerce" | "joomla" | "nextcloud" | "phpbb" | "owncloud" | "mediawiki" | "drupal" | null;
|
|
96003
96012
|
can_buy: boolean;
|
|
96004
96013
|
/** @description The catalogue code to buy (`<app_key>_auto_updates`). */
|
|
96005
96014
|
code: string | null;
|
|
@@ -97294,6 +97303,12 @@ export interface components {
|
|
|
97294
97303
|
* @example Owned-1a2b3c4d5e6f7g8h9i0j
|
|
97295
97304
|
*/
|
|
97296
97305
|
application_licence_key?: string;
|
|
97306
|
+
/**
|
|
97307
|
+
* @description Where a licensed application's licence comes from. `own` (the default) means `application_licence_key` is required. `zinn` means a licence from our reseller pool is assigned to the site and billed monthly at `FleetApplication.licence_offer`'s price; `application_licence_key` must then be absent. A `422` on this field (code `UNAVAILABLE`) when no licence can be supplied just now, (code `INVALID`) for an application that takes no licence.
|
|
97308
|
+
* @example zinn
|
|
97309
|
+
* @enum {string}
|
|
97310
|
+
*/
|
|
97311
|
+
application_licence_source?: "own" | "zinn";
|
|
97297
97312
|
/** @description A published blueprint version to build from. When given, `stack_type` and `runtime` are taken from the blueprint and must not be sent; when omitted, `stack_type` is required. */
|
|
97298
97313
|
blueprint_id?: components["schemas"]["Uuid"] | null;
|
|
97299
97314
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1388",
|
|
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>",
|