@zinn-digital/sdk 0.1.2128 → 0.1.2130

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.
@@ -114053,6 +114053,13 @@ export interface components {
114053
114053
  * @example cloudflare
114054
114054
  */
114055
114055
  paired_with_cdn: string;
114056
+ /** @description A registrar's own DNS (today Namecheap, `namecheap_dns`), offered only for the `domain` query parameter and only when a registrar account this organization connected holds that domain. Such a DNS can host only names registered in that same account, so it is never in `vendors` (the general pool) and `createSite` refuses it (422 `NOT_IN_REGISTRAR`) for any other name. Empty when `domain` is omitted and on every line but Footprint-Free (the only line that names a DNS vendor). Vendor key and a machine reason only, never an account identifier. */
114057
+ registrar_scoped?: {
114058
+ /** @enum {string} */
114059
+ reason: "registered_in_your_account";
114060
+ /** @example namecheap_dns */
114061
+ vendor: string;
114062
+ }[];
114056
114063
  };
114057
114064
  SiteDnsPublish: {
114058
114065
  /** @description Present on a PUT to `own`; null otherwise. */
@@ -226979,6 +226986,8 @@ export interface operations {
226979
226986
  * A value this organization has no CDN account for is **ignored**, not an error — this endpoint populates a picker, and narrowing the DNS list on the strength of a typo would hide vendors the customer really has. The refusal for a genuinely unavailable choice belongs to `POST /v1/sites`, which names the field. Ignored entirely on a managed line, where the platform's own default applies instead.
226980
226987
  */
226981
226988
  cdn_vendor?: string;
226989
+ /** @description The domain the site will be created for. When a registrar account this organization connected holds it, `dns.registrar_scoped` offers that registrar's own DNS for it. Omitted, or on a line without the vendor picker (only Footprint-Free names a DNS vendor), `dns.registrar_scoped` is empty. */
226990
+ domain?: string;
226982
226991
  /** @description The organization to answer for. Defaults to the caller's first org in scope; an org outside scope is a `404` rather than a `403`, so this cannot be used to probe which organizations exist. */
226983
226992
  org_id?: components["schemas"]["Uuid"];
226984
226993
  /** @description The product line the site will be created on. Decides whether the CDN choice is platform-managed; omit for the unmanaged answer. */
@@ -231147,7 +231156,7 @@ export interface operations {
231147
231156
  getClientWallet: {
231148
231157
  parameters: {
231149
231158
  query?: {
231150
- /** @description ISO-4217 code. A wallet is per-currency — a EUR float does not pay a USD invoice — so an unknown code is a 422 rather than a silent fallback. */
231159
+ /** @description ISO-4217 code. A wallet is per-currency — a EUR float does not pay a USD invoice — so an unknown code is a 422 rather than a silent fallback. Omitted, the org's billing currency (the purse renewals and charges are drawn from). */
231151
231160
  currency?: string;
231152
231161
  /** @description Which of your organizations this applies to. Required only when you belong to more than one here — otherwise it is inferred, and an id outside your direct memberships is a 404 rather than a 403, so this can never widen scope. */
231153
231162
  org_id?: components["schemas"]["Uuid"];
@@ -231387,7 +231396,7 @@ export interface operations {
231387
231396
  getWalletUpcomingCharges: {
231388
231397
  parameters: {
231389
231398
  query?: {
231390
- /** @description ISO-4217 code of the Credit balance to compare against. */
231399
+ /** @description ISO-4217 code of the Credit balance to compare against. Omitted, the org's billing currency. */
231391
231400
  currency?: string;
231392
231401
  /** @description How many days ahead to look (1-366, default 35). */
231393
231402
  horizon_days?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zinn-digital/sdk",
3
- "version": "0.1.2128",
3
+ "version": "0.1.2130",
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>",