@zinn-digital/sdk 0.1.1354 → 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.
@@ -16210,7 +16210,7 @@ export interface paths {
16210
16210
  };
16211
16211
  /**
16212
16212
  * Google returns the browser here after consent.
16213
- * @description Unauthenticated by design: its authority is the signed `state`. Always answers with a redirect to the dashboard (`/ads?connect=pick&grant=<id>`, `cancelled`, `scope` or `failed`). Once the state verifies, the redirect also carries `&org=<id>` (the org the state names), so a person in several orgs lands on the org Connect was started from.
16213
+ * @description Unauthenticated by design: its authority is the signed `state`. Always answers with a redirect to the dashboard (`/ads?connect=pick&grant=<id>`, `cancelled`, `scope` or `failed`). Once the state verifies, the redirect also carries `&org=<id>` (the org the state names), so a person in several orgs lands on the org Connect was started from. ⛔ ALWAYS a redirect, never a JSON error (CBRETRY, 2026-11-02): this is the browser coming back from consent. A failed code exchange (a vendor timeout, a refusal, anything unexpected) redirects with `connect=failed&why=<class>`, `why` being the §2.57 class (`provider_outage`, `credential_problem` or `our_fault`) from the one classifier; the dashboard explains it (an outage links the network's `status_url` from `listAdsNetworks`) and offers a fresh Connect. The exchange retries a CONNECT failure (nothing reached the vendor) up to 5 times within the request; a read timeout or a vendor answer is never replayed, because the code is single-use. Every network's callback below behaves the same way.
16214
16214
  */
16215
16215
  get: operations["adsConnectGoogleCallback"];
16216
16216
  put?: never;
@@ -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. */
@@ -140627,6 +140632,8 @@ export interface operations {
140627
140632
  click_id: string;
140628
140633
  label: string;
140629
140634
  platform: string;
140635
+ /** @description The network's own status board (the §2.57 vendor registry), `""` when it publishes none. The Connect screen links it when a sign-in failed with `why=provider_outage` (CBRETRY). */
140636
+ status_url: string;
140630
140637
  }[];
140631
140638
  };
140632
140639
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1354",
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>",