@zinn-digital/sdk 0.1.1737 → 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 +26 -1
- package/package.json +1 -1
|
@@ -7121,6 +7121,8 @@ export interface paths {
|
|
|
7121
7121
|
* `source_hash` is stamped from the string's **current** hash, so a later edit to the English source marks this stale exactly as it would a machine translation. A hand translation of superseded copy going stale is correct: the alternative is a legal clause frozen in 57 languages against wording nobody has read.
|
|
7122
7122
|
*
|
|
7123
7123
|
* Requires staff + `translations.human_translate` — its own permission, not `translations.retranslate`. That one spends LLM budget; this one decides what 57 locales render, with no model and no review between the operator and the page.
|
|
7124
|
+
*
|
|
7125
|
+
* On our own surfaces a Simplified Chinese row (`zh`, `zh_CN`, `zh-SG`, `zh-Hans`) is stored with 帐户/帐号 written 账户/账号, the same rule as the translation store and the repository hand-back (docs/28, ZHDASH). Seller and customer copy (`listing_copy`, `site_content`) and Traditional locales keep the text as typed.
|
|
7124
7126
|
*/
|
|
7125
7127
|
post: operations["submitHumanTranslation"];
|
|
7126
7128
|
delete?: never;
|
|
@@ -65403,6 +65405,8 @@ export interface components {
|
|
|
65403
65405
|
* @example ar
|
|
65404
65406
|
*/
|
|
65405
65407
|
reply_locale: string;
|
|
65408
|
+
/** @description The Server Care badge (SERVERCARE-r6). The ticket's site leads to its server through the site's host (its own `compute_server_id`, else the compute machine behind its Plesk panel connection). `null` when that server is self-managed or the site is not on a compute machine. */
|
|
65409
|
+
server_care: components["schemas"]["TicketServerCare"] | null;
|
|
65406
65410
|
/** @description Language of each message's `staff_translation` (docs/1067 §5a). */
|
|
65407
65411
|
staff_locale?: string;
|
|
65408
65412
|
/**
|
|
@@ -83997,6 +84001,7 @@ export interface components {
|
|
|
83997
84001
|
};
|
|
83998
84002
|
/** @description A registered or connected domain. The registrar reference, credential connection and auth-code are engine secrets and are never returned (§2.4). */
|
|
83999
84003
|
Domain: {
|
|
84004
|
+
attach_state?: components["schemas"]["DomainAttachState"];
|
|
84000
84005
|
auto_renew: boolean;
|
|
84001
84006
|
/** Format: date-time */
|
|
84002
84007
|
created_at: string;
|
|
@@ -84009,6 +84014,8 @@ export interface components {
|
|
|
84009
84014
|
id: components["schemas"]["Uuid"];
|
|
84010
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. */
|
|
84011
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;
|
|
84012
84019
|
org_id: components["schemas"]["Uuid"];
|
|
84013
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). */
|
|
84014
84021
|
origin_served?: boolean | null;
|
|
@@ -84077,6 +84084,11 @@ export interface components {
|
|
|
84077
84084
|
*/
|
|
84078
84085
|
paused_reason: "by_you" | "over_plan" | null;
|
|
84079
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";
|
|
84080
84092
|
DomainCheckRequest: {
|
|
84081
84093
|
/**
|
|
84082
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.
|
|
@@ -110091,12 +110103,14 @@ export interface components {
|
|
|
110091
110103
|
};
|
|
110092
110104
|
SiteRenameStatus: {
|
|
110093
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;
|
|
110094
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). */
|
|
110095
110109
|
failed: components["schemas"]["SiteRenameFailure"] | null;
|
|
110096
110110
|
site_id: components["schemas"]["Uuid"];
|
|
110097
110111
|
/** @description The domain the change is waiting for, or null. */
|
|
110098
110112
|
waiting_for: components["schemas"]["Hostname"] | null;
|
|
110099
|
-
/** @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. */
|
|
110100
110114
|
waiting_for_certificate: components["schemas"]["Hostname"] | null;
|
|
110101
110115
|
};
|
|
110102
110116
|
SiteRepo: {
|
|
@@ -114956,6 +114970,17 @@ export interface components {
|
|
|
114956
114970
|
TicketReplyCreate: {
|
|
114957
114971
|
body: string;
|
|
114958
114972
|
};
|
|
114973
|
+
/** @description The managed-care state of the server behind a ticket's site (SERVERCARE-r6). */
|
|
114974
|
+
TicketServerCare: {
|
|
114975
|
+
/**
|
|
114976
|
+
* @description `zinn_managed`: we owe this customer server work. `zinn_managed_paused`: care is live but the account is not in good standing, so it resumes by itself when they pay.
|
|
114977
|
+
* @enum {string}
|
|
114978
|
+
*/
|
|
114979
|
+
mode: "zinn_managed" | "zinn_managed_paused";
|
|
114980
|
+
/** Format: uuid */
|
|
114981
|
+
server_id: string;
|
|
114982
|
+
server_label: string;
|
|
114983
|
+
};
|
|
114959
114984
|
/**
|
|
114960
114985
|
* @description Where a ticket sits in its lifecycle. `open` = waiting on us; `pending` = waiting on the customer; `solved` = we believe it is resolved and a customer reply reopens it; `closed` = terminal until staff reopen it.
|
|
114961
114986
|
* @enum {string}
|
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>",
|