@zinn-digital/sdk 0.1.1916 → 0.1.1918

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.
@@ -111488,6 +111488,7 @@ export interface components {
111488
111488
  delete_local?: boolean;
111489
111489
  /** @description Pause or resume a paired site. Ignored before the plugin has paired. */
111490
111490
  enabled?: boolean;
111491
+ /** @description The folder the site's media is written under. Empty means the site's default folder. In storage we host this must stay inside the site's own folder (`sites/<site id>/`); anything else answers `422` with refusal key `refusal.objectstorage.prefixOutsideSiteFolder`. A customer's own bucket accepts any valid folder. */
111491
111492
  prefix?: string;
111492
111493
  rewrite_urls?: boolean;
111493
111494
  };
@@ -170343,7 +170344,7 @@ export interface operations {
170343
170344
  "application/json": components["schemas"]["Error"];
170344
170345
  };
170345
170346
  };
170346
- /** @description The cart is not open, or `gateway` names a rail this purchase cannot be settled on, or (`error.code` `REGISTRY_DATA_REQUIRED`, Q10) a domain's registry demands fields `registry_data` did not carry (one `details[]` entry per `domain` + `field` + `code`), or (`error.code` `REGISTRANT_REQUIRED`) a domain in the basket has no owner — send `registrant` or set the default registrant, then retry with the same `Idempotency-Key`. `error.details` names each domain. Or (`error.code` `REFUND_TERMS_REQUIRED`) the organisation has not agreed that refunds are issued as Zinn® credit — ask the customer, then retry with `accept_refund_terms: true`. Nothing was placed and nothing was charged. Or the card's share of the order is under the payment gateway's smallest charge and account credit cannot cover the whole order (docs/31 §4.4; no credit drawn), or the gateway answered and refused the charge (any credit drawn for it was given back). */
170347
+ /** @description The cart is not open, or `gateway` names a rail this purchase cannot be settled on, or (`error.code` `REGISTRY_DATA_REQUIRED`, Q10) a domain's registry demands fields `registry_data` did not carry (one `details[]` entry per `domain` + `field` + `code`), or (`error.code` `REGISTRANT_REQUIRED`) a domain in the basket has no owner — send `registrant` or set the default registrant, then retry with the same `Idempotency-Key`. `error.details` names each domain. Or (`error.code` `REFUND_TERMS_REQUIRED`) the organisation has not agreed that refunds are issued as Zinn® credit — ask the customer, then retry with `accept_refund_terms: true`. Nothing was placed and nothing was charged. Or the card's share of the order is under the payment gateway's smallest charge and account credit cannot cover the whole order (docs/31 §4.4; no credit drawn), or the gateway answered and refused the charge (any credit drawn for it was given back). Or, on a replayed checkout, `refusal.commerce.priorPaymentHeld` (STRIPEFIX r3, docs/05): the previous attempt cannot be resolved safely, so nothing new was attempted and staff were alerted. */
170347
170348
  422: {
170348
170349
  headers: {
170349
170350
  [name: string]: unknown;
@@ -192994,7 +192995,7 @@ export interface operations {
192994
192995
  "application/json": components["schemas"]["Error"];
192995
192996
  };
192996
192997
  };
192997
- /** @description The order is in a state that cannot be paid (canceled, refunding, draft), or `gateway` names a rail this order may not be settled on, or the card's share is under the gateway's smallest charge and account credit cannot cover the whole order (docs/31 §4.4), or the gateway answered and refused the charge. Nothing was charged and any account credit drawn was given back. */
192998
+ /** @description The order is in a state that cannot be paid (canceled, refunding, draft), or `gateway` names a rail this order may not be settled on, or the card's share is under the gateway's smallest charge and account credit cannot cover the whole order (docs/31 §4.4), or the gateway answered and refused the charge. Nothing was charged and any account credit drawn was given back. `refusal.commerce.priorPaymentHeld` (STRIPEFIX r3, docs/05): the previous attempt cannot be resolved safely (the gateway no longer knows it, or it captured another amount), so nothing new was attempted and staff were alerted; the message quotes the order reference. */
192998
192999
  422: {
192999
193000
  headers: {
193000
193001
  [name: string]: unknown;
@@ -193004,7 +193005,7 @@ export interface operations {
193004
193005
  };
193005
193006
  };
193006
193007
  429: components["responses"]["TooManyRequests"];
193007
- /** @description No payment gateway can charge this order — unconfigured, or disabled by an operator; or the chosen rail stopped being usable mid-request. Nothing was charged and the order stays payable, on this rail or another. */
193008
+ /** @description No payment gateway can charge this order — unconfigured, or disabled by an operator; or the chosen rail stopped being usable mid-request. Nothing was charged and the order stays payable, on this rail or another. `refusal.commerce.priorPaymentUnreadable` (STRIPEFIX r3, docs/05): the previous attempt's state could not be read, so nothing new was attempted; retry. */
193008
193009
  503: {
193009
193010
  headers: {
193010
193011
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1916",
3
+ "version": "0.1.1918",
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>",