@zinn-digital/sdk 0.1.2128 → 0.1.2129
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. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2129",
|
|
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>",
|