@zinn-digital/sdk 0.1.1368 → 0.1.1369

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.
@@ -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
  /**
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.1369",
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>",