@zinn-digital/sdk 0.1.1669 → 0.1.1670
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 +86 -0
- package/package.json +1 -1
|
@@ -32491,6 +32491,29 @@ export interface paths {
|
|
|
32491
32491
|
patch?: never;
|
|
32492
32492
|
trace?: never;
|
|
32493
32493
|
};
|
|
32494
|
+
"/v1/domains/{domainId}/dns/holder-rows/remove": {
|
|
32495
|
+
parameters: {
|
|
32496
|
+
query?: never;
|
|
32497
|
+
header?: never;
|
|
32498
|
+
path: {
|
|
32499
|
+
/** @description The domain's id. */
|
|
32500
|
+
domainId: components["parameters"]["DomainId"];
|
|
32501
|
+
};
|
|
32502
|
+
cookie?: never;
|
|
32503
|
+
};
|
|
32504
|
+
get?: never;
|
|
32505
|
+
put?: never;
|
|
32506
|
+
/**
|
|
32507
|
+
* Remove the parking-holder rows from a hostname that also points at the site.
|
|
32508
|
+
* @description s1014 DNSSTATE. A hostname publishing BOTH the parking holder's addresses and the site's own target sends some visitors to the holder page. This deletes only the holder rows at a name that, re-read from the DNS provider now, still carries a non-holder target; a name holding only holder rows (a parked name) is never touched, and the client sends no list. Answers what was removed (empty when nothing was mixed). Audited as `domain.dns.holder_rows_removed`. Requires `domains.dns.manage`.
|
|
32509
|
+
*/
|
|
32510
|
+
post: operations["removeDnsHolderRows"];
|
|
32511
|
+
delete?: never;
|
|
32512
|
+
options?: never;
|
|
32513
|
+
head?: never;
|
|
32514
|
+
patch?: never;
|
|
32515
|
+
trace?: never;
|
|
32516
|
+
};
|
|
32494
32517
|
"/v1/domains/{domainId}/dns/records": {
|
|
32495
32518
|
parameters: {
|
|
32496
32519
|
query?: never;
|
|
@@ -82681,6 +82704,30 @@ export interface components {
|
|
|
82681
82704
|
rto_seconds?: number | null;
|
|
82682
82705
|
size_bytes?: number | null;
|
|
82683
82706
|
};
|
|
82707
|
+
DnsHolderMixHostname: {
|
|
82708
|
+
holder_records: components["schemas"]["DnsHolderMixRecord"][];
|
|
82709
|
+
/** @example www.example.com */
|
|
82710
|
+
host: string;
|
|
82711
|
+
/** @description The record name in the zone (`@`, `www`). */
|
|
82712
|
+
name: string;
|
|
82713
|
+
site_records: components["schemas"]["DnsHolderMixRecord"][];
|
|
82714
|
+
};
|
|
82715
|
+
DnsHolderMixRecord: {
|
|
82716
|
+
/** @example A */
|
|
82717
|
+
type: string;
|
|
82718
|
+
/** @example 203.0.113.10 */
|
|
82719
|
+
value: string;
|
|
82720
|
+
};
|
|
82721
|
+
DnsHolderRowsRemoved: {
|
|
82722
|
+
/** Format: uuid */
|
|
82723
|
+
domain_id: string;
|
|
82724
|
+
/** @description The holder rows deleted at the provider. Empty when nothing was mixed. */
|
|
82725
|
+
removed: {
|
|
82726
|
+
name: string;
|
|
82727
|
+
type: string;
|
|
82728
|
+
value: string;
|
|
82729
|
+
}[];
|
|
82730
|
+
};
|
|
82684
82731
|
/** @description A DNS resource record in a domain's hosted zone. */
|
|
82685
82732
|
DnsRecord: {
|
|
82686
82733
|
drift?: components["schemas"]["DnsRecordDrift"];
|
|
@@ -105574,6 +105621,12 @@ export interface components {
|
|
|
105574
105621
|
/** @description Where a site's domain actually sends traffic, as measured (docs/823). */
|
|
105575
105622
|
SiteDomainPointing: {
|
|
105576
105623
|
diagnosis?: components["schemas"]["SiteOwnDomainDiagnosis"];
|
|
105624
|
+
/** @description Hostnames that publish the parking holder's addresses AND the site's own target, so some visitors get the holder page (s1014 DNSSTATE). Null when none. `POST /v1/domains/{domainId}/dns/holder-rows/remove` deletes the holder rows. */
|
|
105625
|
+
holder_mix?: {
|
|
105626
|
+
/** Format: uuid */
|
|
105627
|
+
domain_id: string;
|
|
105628
|
+
hostnames: components["schemas"]["DnsHolderMixHostname"][];
|
|
105629
|
+
} | null;
|
|
105577
105630
|
/** @example example.com */
|
|
105578
105631
|
hostname: string;
|
|
105579
105632
|
/**
|
|
@@ -105665,6 +105718,11 @@ export interface components {
|
|
|
105665
105718
|
value: string;
|
|
105666
105719
|
}[];
|
|
105667
105720
|
};
|
|
105721
|
+
/**
|
|
105722
|
+
* @description The customer's OWN state that keeps visitors out, measured by the serving sweep (s1014 DNSSTATE): `maintenance_mode` (a maintenance page the site itself serves) or `access_rule_denies` (a 403 the worker proved is the site's own `.htaccess` rule, for example `Deny from all` with one allowed address — the server log names the refusal AND the rule is in the file). Null when there is none. It is never our outage and never "propagating"; the remedy is the customer's, on their site.
|
|
105723
|
+
* @enum {string|null}
|
|
105724
|
+
*/
|
|
105725
|
+
site_state?: "maintenance_mode" | "access_rule_denies" | null;
|
|
105668
105726
|
/**
|
|
105669
105727
|
* @description `serving` reaches us on our nameservers. `serving_via_other_dns` is PROVEN to reach us through DNS the customer runs — never show it a nameserver instruction, that would take a live site down. `propagating` points at us and is not answering yet. `awaiting_record` has working nameservers and publishes nothing at the apex — the remedy is a record, not a nameserver change. `awaiting_pointing` does not reach us and we host a site for it. `pointed_elsewhere` answers elsewhere and we host no site there, so it is informational only. `zone_expired` means the zone we assigned was deleted and the old nameservers are dead. `unknown` means we could not measure — never green, never an accusation. `moving_in` means a partner is moving the site in (docs/808 §12): the zone stays where it is and `move` says who switches it.
|
|
105670
105728
|
* @enum {string}
|
|
@@ -171791,6 +171849,34 @@ export interface operations {
|
|
|
171791
171849
|
503: components["responses"]["ServiceUnavailable"];
|
|
171792
171850
|
};
|
|
171793
171851
|
};
|
|
171852
|
+
removeDnsHolderRows: {
|
|
171853
|
+
parameters: {
|
|
171854
|
+
query?: never;
|
|
171855
|
+
header?: never;
|
|
171856
|
+
path: {
|
|
171857
|
+
/** @description The domain's id. */
|
|
171858
|
+
domainId: components["parameters"]["DomainId"];
|
|
171859
|
+
};
|
|
171860
|
+
cookie?: never;
|
|
171861
|
+
};
|
|
171862
|
+
requestBody?: never;
|
|
171863
|
+
responses: {
|
|
171864
|
+
/** @description The holder rows that were removed. */
|
|
171865
|
+
200: {
|
|
171866
|
+
headers: {
|
|
171867
|
+
[name: string]: unknown;
|
|
171868
|
+
};
|
|
171869
|
+
content: {
|
|
171870
|
+
"application/json": components["schemas"]["DnsHolderRowsRemoved"];
|
|
171871
|
+
};
|
|
171872
|
+
};
|
|
171873
|
+
401: components["responses"]["Unauthorized"];
|
|
171874
|
+
403: components["responses"]["Forbidden"];
|
|
171875
|
+
404: components["responses"]["NotFound"];
|
|
171876
|
+
429: components["responses"]["TooManyRequests"];
|
|
171877
|
+
503: components["responses"]["ServiceUnavailable"];
|
|
171878
|
+
};
|
|
171879
|
+
};
|
|
171794
171880
|
listDnsRecords: {
|
|
171795
171881
|
parameters: {
|
|
171796
171882
|
query?: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1670",
|
|
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>",
|