@zinn-digital/sdk 0.1.1739 → 0.1.1740
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.
- package/dist/generated/schema.d.ts +11 -1
- package/package.json +1 -1
|
@@ -84001,6 +84001,7 @@ export interface components {
|
|
|
84001
84001
|
};
|
|
84002
84002
|
/** @description A registered or connected domain. The registrar reference, credential connection and auth-code are engine secrets and are never returned (§2.4). */
|
|
84003
84003
|
Domain: {
|
|
84004
|
+
attach_state?: components["schemas"]["DomainAttachState"];
|
|
84004
84005
|
auto_renew: boolean;
|
|
84005
84006
|
/** Format: date-time */
|
|
84006
84007
|
created_at: string;
|
|
@@ -84013,6 +84014,8 @@ export interface components {
|
|
|
84013
84014
|
id: components["schemas"]["Uuid"];
|
|
84014
84015
|
/** @description On a `connected` domain this is the nameserver pair we EXPECT the customer to set at their registrar, not what the registry answers; `delegation_state` is the observed answer. */
|
|
84015
84016
|
nameservers: string[];
|
|
84017
|
+
/** @description The delegation the public DNS answered at the last probe, or null when never read. `nameservers` is the pair we asked for; this is the pair in use. */
|
|
84018
|
+
observed_nameservers?: string[] | null;
|
|
84016
84019
|
org_id: components["schemas"]["Uuid"];
|
|
84017
84020
|
/** @description Whether the public name reached our origin on the last reach probe (a nonce in the site's docroot fetched through the name). `site_serves` is the site's configuration; this is a visitor's reach. Null when never asked (no site, or delegated to our own zone, where delegation already answers it). */
|
|
84018
84021
|
origin_served?: boolean | null;
|
|
@@ -84081,6 +84084,11 @@ export interface components {
|
|
|
84081
84084
|
*/
|
|
84082
84085
|
paused_reason: "by_you" | "over_plan" | null;
|
|
84083
84086
|
};
|
|
84087
|
+
/**
|
|
84088
|
+
* @description The one state a customer is shown for a domain (engine `domains.attach_state`, docs/823 §13), in ladder order: `not_attached` (no site serves the name, none has it added, and no running domain change is attaching it), `getting_certificate` (attached AND resolving to us: a certificate is the only step left) or `live`, `nameservers_elsewhere` (we gave it our nameservers and the real public delegation is another provider's), `no_address_record` (the resolver answered, NXDOMAIN or empty, and no A/AAAA record lands on us), `unknown` (a leg could not be read, including a failed DNS lookup; never a verdict). A name a running domain change is attaching has the same state here as in `getSiteRenameStatus.domain_state`.
|
|
84089
|
+
* @enum {string}
|
|
84090
|
+
*/
|
|
84091
|
+
DomainAttachState: "not_attached" | "nameservers_elsewhere" | "no_address_record" | "getting_certificate" | "live" | "unknown";
|
|
84084
84092
|
DomainCheckRequest: {
|
|
84085
84093
|
/**
|
|
84086
84094
|
* @description Fetch even if a fresh cached reading exists. ⛔ Spends a billed unit — leave it false unless the customer explicitly asked for a new number.
|
|
@@ -110095,12 +110103,14 @@ export interface components {
|
|
|
110095
110103
|
};
|
|
110096
110104
|
SiteRenameStatus: {
|
|
110097
110105
|
dns_record: components["schemas"]["RenameDnsRecord"] | null;
|
|
110106
|
+
/** @description The live state of the domain the change is attaching (`waiting_for` or `waiting_for_certificate`), read from public DNS (cached 60 s); null when no change is in progress. `nameservers_elsewhere` and `no_address_record` name the customer's next step; `not_attached` never appears here (the change is the attach). */
|
|
110107
|
+
domain_state?: components["schemas"]["DomainAttachState"] | null;
|
|
110098
110108
|
/** @description Set when the site's latest domain change ended without moving the site (its primary domain is still the current one; the saga's undo is best effort); null otherwise. `reason` is a machine key the client explains: `dns_never_pointed` (the new name was not pointed at the site within the waiting period: the customer can fix their DNS and try again), `certificate_not_issued` (no certificate for the new name could be issued, so the site never switched: the customer can check the name's DNS and try again) or `our_side` (any other failure: contact support). */
|
|
110099
110109
|
failed: components["schemas"]["SiteRenameFailure"] | null;
|
|
110100
110110
|
site_id: components["schemas"]["Uuid"];
|
|
110101
110111
|
/** @description The domain the change is waiting for, or null. */
|
|
110102
110112
|
waiting_for: components["schemas"]["Hostname"] | null;
|
|
110103
|
-
/** @description The domain whose certificate the change is securing before it switches, or null. The site still answers on its current domain while this is set. */
|
|
110113
|
+
/** @description The domain whose certificate the change is securing before it switches, or null. The site still answers on its current domain while this is set. Only ever set when the domain resolves to us (`domain_state` is `getting_certificate`); a run whose name does not reach us reports it in `waiting_for` instead. */
|
|
110104
110114
|
waiting_for_certificate: components["schemas"]["Hostname"] | null;
|
|
110105
110115
|
};
|
|
110106
110116
|
SiteRepo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1740",
|
|
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>",
|