@zinn-digital/sdk 0.1.2039 → 0.1.2041

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;
@@ -85358,11 +85359,11 @@ export interface components {
85358
85359
  continent: string;
85359
85360
  /** @description ISO 3166-1 alpha-2 country code. */
85360
85361
  country: string;
85361
- /** @description The provider id an order sends back. */
85362
+ /** @description The provider id an order sends back; our own fleet's is `zinn-<location id>`. */
85362
85363
  provider: string;
85363
85364
  /** @description Our identifier for the city, e.g. `nuremberg`. The client translates it. */
85364
85365
  slug: string;
85365
- /** @description The data-centre token an order sends back. */
85366
+ /** @description The Zinn location id an order sends back (e.g. `falkenstein`), never a supplier zone code. */
85366
85367
  zone: string;
85367
85368
  };
85368
85369
  ComputeRegionList: {
@@ -85554,7 +85555,7 @@ export interface components {
85554
85555
  * @enum {string}
85555
85556
  */
85556
85557
  power_state: "unknown" | "on" | "off" | "starting" | "stopping" | "rebooting";
85557
- /** @description Our provider id. */
85558
+ /** @description Our provider id (our own fleet's is `zinn-<location id>`, never a supplier zone code). */
85558
85559
  provider: string;
85559
85560
  /** @description ⛔ **Always null today, and honestly so**: the provider publishes no renewal date, and one computed from the order plus the term would be our arithmetic rendered as the provider's fact. */
85560
85561
  renews_at: string | null;
@@ -85578,7 +85579,7 @@ export interface components {
85578
85579
  terminated_at?: string | null;
85579
85580
  /** @description The provider's own word, verbatim and unrounded. Staff-facing detail; a customer client renders `status` and never this. */
85580
85581
  vendor_status: string;
85581
- /** @description The data centre it runs in. */
85582
+ /** @description The data centre it runs in, as the Zinn location id (e.g. `falkenstein`); staff tools keep the supplier zone. */
85582
85583
  zone: string;
85583
85584
  };
85584
85585
  /**
@@ -86448,9 +86449,9 @@ export interface components {
86448
86449
  };
86449
86450
  /** @description One data centre a machine can be placed in. */
86450
86451
  ComputeZone: {
86451
- /** @description The zone's id at the provider, and what an order names. */
86452
+ /** @description The Zinn location id (a city, e.g. `falkenstein`; a dedicated pool `falkenstein-dedi`), never the supplier's zone code; an order sends it back as given. */
86452
86453
  id: string;
86453
- /** @description The zone's own display name, as the provider publishes it. */
86454
+ /** @description The place's display name (city and country); never a supplier zone code. */
86454
86455
  label: string;
86455
86456
  };
86456
86457
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.2039",
3
+ "version": "0.1.2041",
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>",