@zinn-digital/sdk 0.1.1917 → 0.1.1919

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.
@@ -170344,7 +170344,7 @@ export interface operations {
170344
170344
  "application/json": components["schemas"]["Error"];
170345
170345
  };
170346
170346
  };
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). */
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. */
170348
170348
  422: {
170349
170349
  headers: {
170350
170350
  [name: string]: unknown;
@@ -173750,10 +173750,7 @@ export interface operations {
173750
173750
  };
173751
173751
  /** @description The add-on's catalogue code. `bare` records nothing. */
173752
173752
  code: string;
173753
- /**
173754
- * @description The currency to charge in. ⛔ Frozen onto the assignment at purchase, so a later admin repricing does not move an existing customer's bill.
173755
- * @default USD
173756
- */
173753
+ /** @description Optional and only CHECKED. The add-on is always priced in the currency the machine is billed in (its subscription, or its meter when hourly); a value naming another currency is refused `422` (`refusal.compute.addOnBilledInOtherCurrency`) and never converted. Omitted on a machine nothing bills, it defaults to USD. ⛔ Frozen onto the assignment at purchase, so a later admin repricing does not move an existing customer's bill. */
173757
173754
  currency?: string;
173758
173755
  };
173759
173756
  };
@@ -174573,7 +174570,7 @@ export interface operations {
174573
174570
  getComputeServerManagedCare: {
174574
174571
  parameters: {
174575
174572
  query?: {
174576
- /** @description ISO currency to price the offer in. Defaults to USD. */
174573
+ /** @description ISO currency to price the offer in when nothing bills the machine (defaults to USD). A machine with a bill is always quoted in its billed currency, and `offer.currency` says which. */
174577
174574
  currency?: string;
174578
174575
  };
174579
174576
  header?: never;
@@ -174616,6 +174613,7 @@ export interface operations {
174616
174613
  requestBody?: {
174617
174614
  content: {
174618
174615
  "application/json": {
174616
+ /** @description Optional and only CHECKED: care is priced in the machine's billed currency; a value naming another is refused `422` (`refusal.compute.addOnBilledInOtherCurrency`), never converted. */
174619
174617
  currency?: string;
174620
174618
  };
174621
174619
  };
@@ -192995,7 +192993,7 @@ export interface operations {
192995
192993
  "application/json": components["schemas"]["Error"];
192996
192994
  };
192997
192995
  };
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. */
192996
+ /** @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. */
192999
192997
  422: {
193000
192998
  headers: {
193001
192999
  [name: string]: unknown;
@@ -193005,7 +193003,7 @@ export interface operations {
193005
193003
  };
193006
193004
  };
193007
193005
  429: components["responses"]["TooManyRequests"];
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. */
193006
+ /** @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. */
193009
193007
  503: {
193010
193008
  headers: {
193011
193009
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1917",
3
+ "version": "0.1.1919",
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>",