@zinn-digital/sdk 0.1.1355 → 0.1.1356

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.
@@ -69482,7 +69482,7 @@ export interface components {
69482
69482
  * @example unsupported_platform
69483
69483
  * @enum {string}
69484
69484
  */
69485
- BulkErrorCode: "not_wordpress" | "not_serving" | "unsupported_platform" | "capability_denied" | "not_installed" | "unknown_blueprint" | "site_missing" | "driver_unresolved" | "vendor_refused" | "install_failed" | "not_in_good_standing" | "already_deleted" | "not_php" | "no_cdn" | "needs_addon" | "refused" | "unknown";
69485
+ BulkErrorCode: "not_wordpress" | "not_serving" | "unsupported_platform" | "capability_denied" | "not_installed" | "unknown_blueprint" | "site_missing" | "driver_unresolved" | "vendor_refused" | "install_failed" | "not_in_good_standing" | "already_deleted" | "not_php" | "no_cdn" | "needs_addon" | "refused" | "file_missing" | "file_not_regular" | "unknown";
69486
69486
  /** @description One plugin, and how far it reaches across the sites that were read. */
69487
69487
  BulkInstalledPlugin: {
69488
69488
  /** @description How many have it switched on. Carried separately rather than derived: *"active on 3 of the 9 that have it"* is the sentence somebody about to press **Deactivate** needs, and it cannot be recovered from one number. */
@@ -69643,6 +69643,11 @@ export interface components {
69643
69643
  * @enum {string}
69644
69644
  */
69645
69645
  mode?: "off" | "allow" | "block";
69646
+ /**
69647
+ * @description `find_file` and `delete_file` only. One exact path inside each site's document root (`wp-content/uploads/old.php`); a leading `/` means the same. Refused, never sanitised: wildcards, `..`, a part starting with `-`, control characters. Only a regular file is touched — never a folder or a link — and only inside the root. `delete_file` also refuses WordPress core and config files; a deleted file is kept in an archive on the server for 30 days.
69648
+ * @example wp-content/uploads/old.php
69649
+ */
69650
+ path?: string;
69646
69651
  /** @description `wp_auto_updates` only. Plugin automatic updates on or off. */
69647
69652
  plugins?: boolean;
69648
69653
  /**
@@ -69801,7 +69806,7 @@ export interface components {
69801
69806
  * @example plugin_install
69802
69807
  * @enum {string}
69803
69808
  */
69804
- BulkOperation: "stack_apply" | "blueprint_apply" | "application_install" | "plugin_install" | "plugin_activate" | "plugin_deactivate" | "plugin_remove" | "plugin_update" | "theme_install" | "core_update" | "wp_search_replace" | "featured_image_backfill" | "wp_auto_updates" | "site_delete" | "php_version" | "force_https" | "canonical_www" | "country_lock" | "cdn_purge" | "malware_scan" | "malware_clean";
69809
+ BulkOperation: "stack_apply" | "blueprint_apply" | "application_install" | "plugin_install" | "plugin_activate" | "plugin_deactivate" | "plugin_remove" | "plugin_update" | "theme_install" | "core_update" | "wp_search_replace" | "featured_image_backfill" | "wp_auto_updates" | "site_delete" | "php_version" | "force_https" | "canonical_www" | "country_lock" | "cdn_purge" | "malware_scan" | "malware_clean" | "find_file" | "delete_file";
69805
69810
  /** @description The outcome of restoring every restorable site for one org. */
69806
69811
  BulkRestoreResult: {
69807
69812
  /** @description Each site that could not be restored, with the reason code. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1355",
3
+ "version": "0.1.1356",
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>",