@zinn-digital/sdk 0.1.1896 → 0.1.1898

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.
@@ -26937,6 +26937,8 @@ export interface paths {
26937
26937
  * Read the organization's audit log.
26938
26938
  * @description Returns the append-only record of privileged actions taken in the tenant — including staff access — **newest first**, ordered by the sortable id, with older entries reachable by paging the cursor. (It described itself as `oldest → newest` until #462 made every collection newest-first: for an audit feed the answer to "what just happened here?" was on the last page.) The actor's IP is not exposed here (it is admin-console only). Requires `audit.read`.
26939
26939
  *
26940
+ * **Some rows are staff-only and a customer reader never receives them**: the platform's own failed-power-off alerts (`compute.usage.power_off_stuck`, `compute.usage.power_off_recovered`) are omitted from a customer's feed (even when filtered by that `action`); a staff reader receives them whole.
26941
+ *
26940
26942
  * **An undeclared query parameter is refused with `422`, never ignored.** A filter this endpoint does not read used to answer `200` with the whole log, which is indistinguishable from a real answer and reads as "there is a lot of history here" rather than "the filter was dropped" (D26500). Every parameter below is read.
26941
26943
  */
26942
26944
  get: operations["listAuditLog"];
@@ -99955,10 +99957,10 @@ export interface components {
99955
99957
  subscription_id: components["schemas"]["Uuid"];
99956
99958
  };
99957
99959
  /**
99958
- * @description Why a payment did not go through, named for what the customer can do about it (`engine.commerce.payment_help.NoticeClass`). `processing`: our side or the gateway's, not the customer's card. `unknown`: not positively identified, so nothing is guessed.
99960
+ * @description Why a payment did not go through, named for what the customer can do about it (`engine.commerce.payment_help.NoticeClass`). `processing`: our side or the gateway's, not the customer's card. `unknown`: not positively identified, so nothing is guessed. `card_postcode`: the billing postcode did not match the one the card's bank holds.
99959
99961
  * @enum {string}
99960
99962
  */
99961
- PaymentDeclineClass: "bank_declined" | "insufficient_funds" | "limit" | "authentication" | "card_expired" | "card_details" | "card_unusable" | "crypto_expired" | "no_method" | "processing" | "unknown";
99963
+ PaymentDeclineClass: "bank_declined" | "insufficient_funds" | "limit" | "authentication" | "card_expired" | "card_details" | "card_postcode" | "card_unusable" | "crypto_expired" | "no_method" | "processing" | "unknown";
99962
99964
  /** @description Why the latest payment attempt on an UNPAID order failed, so every surface that shows the order can say what happened and what to do (owner 2026-11-08, row 1108#29). */
99963
99965
  PaymentFailure: {
99964
99966
  decline_class: components["schemas"]["PaymentDeclineClass"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1896",
3
+ "version": "0.1.1898",
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>",