@zinn-digital/sdk 0.1.1368 → 0.1.1370

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.
@@ -45929,7 +45929,7 @@ export interface paths {
45929
45929
  };
45930
45930
  /**
45931
45931
  * Read a site's automatic app updates add-on and its window.
45932
- * @description The paid automatic-updates add-on for the app the site runs (`wordpress_auto_updates` or `woocommerce_auto_updates`, USD 29 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 updates WordPress core, plugins and themes in the window, takes a safety backup first and rolls back to it when the homepage breaks. A held plugin version is never applied. Buy it through `purchaseExtra` with `site_id`. Requires `sites.view`.
45932
+ * @description The paid automatic-updates add-on for the app the site runs (`wordpress_auto_updates`, `woocommerce_auto_updates` or `joomla_auto_updates`, USD 29 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. Buy it through `purchaseExtra` with `site_id`. Requires `sites.view`.
45933
45933
  */
45934
45934
  get: operations["getSiteAppAutoUpdate"];
45935
45935
  /**
@@ -69806,10 +69806,16 @@ export interface components {
69806
69806
  note?: string;
69807
69807
  };
69808
69808
  BulkJobDetail: components["schemas"]["BulkJob"] & {
69809
+ /** @description For a `find_file` job: the refusal key (e.g. `refusal.bulk.fileProtected`) a `delete_file` of the same path would get, so a report never offers a delete the engine will refuse. `null` when the delete is allowed, and for every other operation. */
69810
+ delete_refusal: string | null;
69809
69811
  items: components["schemas"]["BulkJobItem"][];
69810
69812
  };
69811
69813
  BulkJobItem: {
69812
69814
  error_code: components["schemas"]["BulkErrorCode"] | null;
69815
+ /** @description For a `find_file` or `delete_file` item that succeeded: the file's size and last modified time. `null` for every other item, and for a file item written before these facts were recorded. */
69816
+ file: components["schemas"]["BulkJobItemFile"] | null;
69817
+ /** @description Whether `retry-failed` would reopen this item: every `failed` item, and every `skipped` item whose code is not a final answer. A search that found no such file (`file_missing`, `file_not_regular`) has answered and is not retried. Count these to label a retry control; do not re-derive the rule from `status`. */
69818
+ retryable: boolean;
69813
69819
  /** Format: date-time */
69814
69820
  settled_at: string | null;
69815
69821
  /** @description Carried on the row rather than joined, so the report survives the site being deleted mid-job — which, on a long run, is not hypothetical. */
@@ -69817,6 +69823,18 @@ export interface components {
69817
69823
  site_id: components["schemas"]["Uuid"];
69818
69824
  status: components["schemas"]["BulkItemStatus"];
69819
69825
  };
69826
+ BulkJobItemFile: {
69827
+ /**
69828
+ * Format: date-time
69829
+ * @description When the file was last modified, as the site's filesystem reports it.
69830
+ */
69831
+ modified_at: string;
69832
+ /**
69833
+ * Format: int64
69834
+ * @description Size in bytes. Format it for the reader's locale.
69835
+ */
69836
+ size_bytes: number;
69837
+ };
69820
69838
  /** @description The operation's arguments. Which keys are read depends on `operation`: `plugin_install` takes `slugs` + `activate`; `plugin_activate`, `plugin_deactivate` and `plugin_remove` take a single `slug`; `plugin_update` takes `slugs` and treats an empty list as *"everything with an update waiting"*, which is what a bulk update means in practice; `theme_install` takes `slug` + `activate`; `blueprint_apply` takes `blueprint_id`; `wp_search_replace` takes `search` + `replace`; `stack_apply`, `core_update` and `application_install` take nothing. ⛔ `application_install` deliberately accepts no `admin_email` or title: they come from the site's own blueprint and plan, exactly as they do for a single-site provision, because a bulk field for them is an account-takeover primitive with a form in front of it. */
69821
69839
  BulkJobParams: {
69822
69840
  /**
@@ -95649,7 +95667,7 @@ export interface components {
95649
95667
  total_ms: number;
95650
95668
  transaction: string;
95651
95669
  };
95652
- /** @description The paid automatic app updates add-on for one site (s1014 row 41): the code that applies (`wordpress_auto_updates` or `woocommerce_auto_updates`), the window and the last run's outcome. */
95670
+ /** @description The paid automatic app updates add-on for one site (s1014 row 41): the code that applies (`wordpress_auto_updates`, `woocommerce_auto_updates` or `joomla_auto_updates`), the window and the last run's outcome. */
95653
95671
  SiteAppAutoUpdate: {
95654
95672
  /** @description Whether the add-on is on and in good standing now. */
95655
95673
  active: boolean;
@@ -95657,7 +95675,7 @@ export interface components {
95657
95675
  * @description The app the add-on serves on this site, or null when none is sold for it.
95658
95676
  * @enum {string|null}
95659
95677
  */
95660
- app_key: "wordpress" | "woocommerce" | null;
95678
+ app_key: "wordpress" | "woocommerce" | "joomla" | null;
95661
95679
  can_buy: boolean;
95662
95680
  /** @description The catalogue code to buy (`<app_key>_auto_updates`). */
95663
95681
  code: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1368",
3
+ "version": "0.1.1370",
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>",