@zinn-digital/sdk 0.1.1715 → 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.
|
@@ -85716,6 +85716,12 @@ export interface components {
|
|
|
85716
85716
|
* @example default_currency
|
|
85717
85717
|
*/
|
|
85718
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;
|
|
85719
85725
|
/** @example Must be a supported ISO 4217 currency code. */
|
|
85720
85726
|
message?: string;
|
|
85721
85727
|
};
|
|
@@ -193260,7 +193266,7 @@ export interface operations {
|
|
|
193260
193266
|
"application/json": components["schemas"]["Error"];
|
|
193261
193267
|
};
|
|
193262
193268
|
};
|
|
193263
|
-
/** @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). */
|
|
193264
193270
|
422: {
|
|
193265
193271
|
headers: {
|
|
193266
193272
|
[name: string]: unknown;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
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>",
|