@zinn-digital/sdk 0.1.2039 → 0.1.2040
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.
|
@@ -48379,6 +48379,7 @@ export interface paths {
|
|
|
48379
48379
|
* A visitor may send the `vat_number` they typed at checkout. The server asks the registry itself and prices on that answer, returned as `vat_check` with a signed `pin`. `POST /v1/public/checkout` takes the pin back as `billing.vat_pin` and prices the order on the same answer, so the quote and the order always agree. When the registry cannot be reached the quote is priced **with** VAT and says so (`vat_check.status: unavailable`); it never refuses the quote.
|
|
48380
48380
|
*
|
|
48381
48381
|
* Country comes from the request body or Cloudflare's `CF-IPCountry`. The answer is always `estimated: true` — a pricing page runs on a geo hint, and the charge is rated again at checkout against real place-of-supply evidence.
|
|
48382
|
+
* A quote already answered for the same items, currency, country and `per_item` is served from a short-lived cache (5 minutes) and does not count against the caller's rate limit; a request carrying `vat_number` is never served from it. A `429` is only returned to a caller asking for many DISTINCT quotes.
|
|
48382
48383
|
*/
|
|
48383
48384
|
post: operations["quotePublicTaxDisplay"];
|
|
48384
48385
|
delete?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2040",
|
|
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>",
|