@zinn-digital/sdk 0.1.1713 → 0.1.1716

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.
@@ -70306,6 +70306,7 @@ export interface components {
70306
70306
  /** @enum {string} */
70307
70307
  source: "staff" | "plan" | "hosting" | "addon" | "none";
70308
70308
  };
70309
+ /** @description `used` is the same count the connect-time refusal (`connectionLimit`) checks: active and paused accounts across every org the plan pays for, never disconnected ones. It can be ABOVE `limit` (a downgrade, a trial ending on Free): nothing is disconnected, and no account can be connected until `used` is below `limit` again. `limit` -1 = no limit. */
70309
70310
  connections: {
70310
70311
  limit: number;
70311
70312
  used: number;
@@ -85715,6 +85716,12 @@ export interface components {
85715
85716
  * @example default_currency
85716
85717
  */
85717
85718
  field: string;
85719
+ /**
85720
+ * Format: int64
85721
+ * @description Only on a `TOTAL_CHANGED` refusal from `POST /v1/public/checkout` (docs/1311): the order total (tax included, minor units) the checkout WILL place or resume at. A resumed order is frozen, so after a billing-country or price change the basket's re-quote never equals it; the page shows this figure and sends it back as `expected_total_minor` on the next press. Equality is still required: a stale, lower or higher figure is refused again and never paid.
85722
+ * @example 960
85723
+ */
85724
+ fresh_total_minor?: number;
85718
85725
  /** @example Must be a supported ISO 4217 currency code. */
85719
85726
  message?: string;
85720
85727
  };
@@ -193259,7 +193266,7 @@ export interface operations {
193259
193266
  "application/json": components["schemas"]["Error"];
193260
193267
  };
193261
193268
  };
193262
- /** @description The body failed validation, or (`error.code` `REGISTRY_DATA_REQUIRED`, Q10) a domain's registry demands fields `registry_data` did not carry — checked before any account exists — or (`error.code` `REGISTRANT_REQUIRED`) the basket holds a domain and no `registrant` was sent. The registrant refusal happens before any account, organization or order exists, so the visitor adds the owner and submits again with nothing to unwind. Or (`error.code` `REFUND_TERMS_REQUIRED`) `accept_refund_terms` was not `true`: the visitor ticks "refunds are issued as Zinn® credit" and submits again; nothing was created. */
193269
+ /** @description The body failed validation, or (`error.code` `REGISTRY_DATA_REQUIRED`, Q10) a domain's registry demands fields `registry_data` did not carry — checked before any account exists — or (`error.code` `REGISTRANT_REQUIRED`) the basket holds a domain and no `registrant` was sent. The registrant refusal happens before any account, organization or order exists, so the visitor adds the owner and submits again with nothing to unwind. Or (`error.code` `REFUND_TERMS_REQUIRED`) `accept_refund_terms` was not `true`: the visitor ticks "refunds are issued as Zinn® credit" and submits again; nothing was created. Or (`details[0].code` `TOTAL_CHANGED`) the total the order will be placed or RESUMED at is not `expected_total_minor`: nothing is placed or charged, and `details[0].fresh_total_minor` carries that total, which the page shows and sends back as `expected_total_minor` on the next press (docs/1311). */
193263
193270
  422: {
193264
193271
  headers: {
193265
193272
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.1713",
3
+ "version": "0.1.1716",
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>",