@madewithremy/admin 0.1.57 → 0.1.59
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/CHANGELOG.md +12 -0
- package/README.md +1 -1
- package/dist/client.d.ts +199 -0
- package/dist/config.d.ts +8 -0
- package/dist/ctx.d.ts +36 -0
- package/dist/errors.d.ts +68 -0
- package/dist/http.d.ts +68 -0
- package/dist/index.d.ts +7 -9442
- package/dist/index.js +6 -14
- package/dist/index.js.map +7 -1
- package/dist/ops/agent.d.ts +44 -0
- package/dist/ops/analytics.d.ts +285 -0
- package/dist/ops/apps.d.ts +33 -0
- package/dist/ops/crashes.d.ts +86 -0
- package/dist/ops/cron.d.ts +40 -0
- package/dist/ops/data.d.ts +68 -0
- package/dist/ops/dataSourceConnectors.d.ts +80 -0
- package/dist/ops/dataSourceEvals.d.ts +208 -0
- package/dist/ops/dataSourceJobs.d.ts +141 -0
- package/dist/ops/dataSourceMappers.d.ts +125 -0
- package/dist/ops/dataSources.d.ts +654 -0
- package/dist/ops/db.d.ts +81 -0
- package/dist/ops/diagnostics.d.ts +42 -0
- package/dist/ops/domains.d.ts +250 -0
- package/dist/ops/email.d.ts +305 -0
- package/dist/ops/events.d.ts +56 -0
- package/dist/ops/feedback.d.ts +24 -0
- package/dist/ops/files.d.ts +166 -0
- package/dist/ops/infra.d.ts +163 -0
- package/dist/ops/issues.d.ts +160 -0
- package/dist/ops/jewels.d.ts +249 -0
- package/dist/ops/methods.d.ts +60 -0
- package/dist/ops/prerender.d.ts +74 -0
- package/dist/ops/previews.d.ts +52 -0
- package/dist/ops/qaRecordings.d.ts +68 -0
- package/dist/ops/releases.d.ts +193 -0
- package/dist/ops/requests.d.ts +73 -0
- package/dist/ops/secrets.d.ts +61 -0
- package/dist/ops/settings.d.ts +45 -0
- package/dist/ops/tasks.d.ts +47 -0
- package/dist/ops/usage.d.ts +40 -0
- package/dist/ops/users.d.ts +59 -0
- package/dist/ops/voice.d.ts +178 -0
- package/dist/output.d.ts +19 -0
- package/dist/parseJsonConfig.d.ts +41 -0
- package/dist/poll.d.ts +38 -0
- package/dist/prod.js +39 -55
- package/dist/runningMethod.d.ts +25 -0
- package/dist/sleep.d.ts +12 -0
- package/dist/types/agent.d.ts +95 -0
- package/dist/types/analytics.d.ts +225 -0
- package/dist/types/apps.d.ts +39 -0
- package/dist/types/crashes.d.ts +81 -0
- package/dist/types/cron.d.ts +68 -0
- package/dist/types/data.d.ts +38 -0
- package/dist/types/dataSourceConnectors.d.ts +59 -0
- package/dist/types/dataSourceEvals.d.ts +225 -0
- package/dist/types/dataSourceJobs.d.ts +283 -0
- package/dist/types/dataSourceMappers.d.ts +204 -0
- package/dist/types/dataSourceReaders.d.ts +102 -0
- package/dist/types/dataSources.d.ts +627 -0
- package/dist/types/db.d.ts +63 -0
- package/dist/types/diagnostics.d.ts +96 -0
- package/dist/types/domains.d.ts +277 -0
- package/dist/types/email.d.ts +400 -0
- package/dist/types/events.d.ts +54 -0
- package/dist/types/feedback.d.ts +11 -0
- package/dist/types/files.d.ts +150 -0
- package/dist/types/index.d.ts +37 -0
- package/dist/types/infra.d.ts +188 -0
- package/dist/types/issues.d.ts +106 -0
- package/dist/types/jewels.d.ts +336 -0
- package/dist/types/methods.d.ts +34 -0
- package/dist/types/prerender.d.ts +59 -0
- package/dist/types/previews.d.ts +39 -0
- package/dist/types/progress.d.ts +31 -0
- package/dist/types/qaRecordings.d.ts +51 -0
- package/dist/types/releases.d.ts +233 -0
- package/dist/types/requests.d.ts +114 -0
- package/dist/types/secrets.d.ts +42 -0
- package/dist/types/settings.d.ts +79 -0
- package/dist/types/tasks.d.ts +99 -0
- package/dist/types/usage.d.ts +29 -0
- package/dist/types/users.d.ts +61 -0
- package/dist/types/voice.d.ts +197 -0
- package/dist/upload.d.ts +11 -0
- package/package.json +7 -10
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response types for src/commands/diagnostics.ts.
|
|
3
|
+
* Transcribed from:
|
|
4
|
+
* - dashboard.ts GET /dashboard (partial view — only liveRelease.id is read)
|
|
5
|
+
* - dashboard.ts GET /releases/:releaseId (partial view — only diagnostics is read)
|
|
6
|
+
* - FrontendDiagnosticsDao + withSignedDiagnosticsReport (the diagnostics sub-object shape)
|
|
7
|
+
*/
|
|
8
|
+
/** Lighthouse category scores (0–1 normalised, or null if the audit did not run). */
|
|
9
|
+
export interface DiagnosticsLighthouseScores {
|
|
10
|
+
performance: number | null;
|
|
11
|
+
accessibility: number | null;
|
|
12
|
+
bestPractices: number | null;
|
|
13
|
+
seo: number | null;
|
|
14
|
+
}
|
|
15
|
+
/** One failing Lighthouse audit item in the distilled summary. */
|
|
16
|
+
export interface DiagnosticsFinding {
|
|
17
|
+
id: string;
|
|
18
|
+
title: string;
|
|
19
|
+
score: number;
|
|
20
|
+
displayValue: string | null;
|
|
21
|
+
category: string | null;
|
|
22
|
+
}
|
|
23
|
+
export interface DiagnosticsRuntimeFindings {
|
|
24
|
+
consoleErrors: Array<{
|
|
25
|
+
source: string | null;
|
|
26
|
+
description: string | null;
|
|
27
|
+
url: string | null;
|
|
28
|
+
}>;
|
|
29
|
+
failedRequests: Array<{
|
|
30
|
+
url: string | null;
|
|
31
|
+
statusCode: number;
|
|
32
|
+
}>;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The Lighthouse test conditions that produced the scores. Surfaced so a reader
|
|
36
|
+
* can interpret them — a throttled-mobile 54 is not comparable to a desktop run.
|
|
37
|
+
* `runs` is the per-run spread (median-of-N) so noise / host contention is visible.
|
|
38
|
+
*/
|
|
39
|
+
export interface DiagnosticsAuditEnvironment {
|
|
40
|
+
formFactor: string | null;
|
|
41
|
+
throttlingMethod: string | null;
|
|
42
|
+
throttling: {
|
|
43
|
+
rttMs: number | null;
|
|
44
|
+
throughputKbps: number | null;
|
|
45
|
+
/** Applied CPU multiplier, calibrated per runner (not necessarily Lighthouse's default 4×). */
|
|
46
|
+
cpuSlowdownMultiplier: number | null;
|
|
47
|
+
} | null;
|
|
48
|
+
benchmarkIndex: number | null;
|
|
49
|
+
referenceBenchmarkIndex: number | null;
|
|
50
|
+
calibrated: boolean;
|
|
51
|
+
lighthouseVersion: string | null;
|
|
52
|
+
runs: Array<{
|
|
53
|
+
performance: number | null;
|
|
54
|
+
}>;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The diagnostics sub-object on a release. `lighthouseJsonKey` is stripped
|
|
58
|
+
* server-side; `lighthouseJsonUrl` is a short-lived signed GET URL in its place
|
|
59
|
+
* (re-minted on each call — do not cache the URL).
|
|
60
|
+
*/
|
|
61
|
+
export interface DiagnosticsPayload {
|
|
62
|
+
id: string;
|
|
63
|
+
appId: string;
|
|
64
|
+
releaseId: string;
|
|
65
|
+
url: string | null;
|
|
66
|
+
lighthouseScores: DiagnosticsLighthouseScores | null;
|
|
67
|
+
/** Distilled list of failing audits for the builder agent. */
|
|
68
|
+
summary: DiagnosticsFinding[] | null;
|
|
69
|
+
runtimeFindings: DiagnosticsRuntimeFindings | null;
|
|
70
|
+
/** Short-lived signed GET URL for the raw Lighthouse JSON report. */
|
|
71
|
+
lighthouseJsonUrl: string | null;
|
|
72
|
+
screenshotUrl: string | null;
|
|
73
|
+
environment: DiagnosticsAuditEnvironment | null;
|
|
74
|
+
/** 'success' | 'error' */
|
|
75
|
+
status: string;
|
|
76
|
+
error: string | null;
|
|
77
|
+
createdAt: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Partial view of GET /_internal/v2/apps/:appId/dashboard.
|
|
81
|
+
* Only `liveRelease.id` is read by the diagnostics command; the full
|
|
82
|
+
* dashboard payload contains many additional fields not represented here.
|
|
83
|
+
*/
|
|
84
|
+
export interface DiagnosticsDashboardResult {
|
|
85
|
+
liveRelease: {
|
|
86
|
+
id: string;
|
|
87
|
+
} | null;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Partial view of GET /_internal/v2/apps/:appId/releases/:releaseId.
|
|
91
|
+
* Only `diagnostics` is read by the diagnostics command; the full release
|
|
92
|
+
* payload contains many additional fields not represented here.
|
|
93
|
+
*/
|
|
94
|
+
export interface DiagnosticsReleaseResult {
|
|
95
|
+
diagnostics: DiagnosticsPayload | null;
|
|
96
|
+
}
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Response types for the v2 custom domains and subdomain endpoints.
|
|
3
|
+
*
|
|
4
|
+
* Transcribed from the api (apps/api/src/):
|
|
5
|
+
* roles/http/routes/Apps/manage/settings.ts — custom-subdomain routes
|
|
6
|
+
* roles/http/routes/Apps/manage/customDomains.ts — custom-domains routes
|
|
7
|
+
* (local HostnameView + DnsInstructions interfaces in customDomains.ts)
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Lifecycle status shown in dashboards and the CLI.
|
|
11
|
+
* Derived by `deriveUiStatus` from the Cloudflare cfStatus / cfSslStatus pair.
|
|
12
|
+
*/
|
|
13
|
+
export type DomainsCustomHostnameUiStatus = 'waiting_for_dns' | 'issuing_ssl' | 'live' | 'action_needed' | 'reconnecting';
|
|
14
|
+
/** DNS records the customer must add for a custom hostname. */
|
|
15
|
+
export interface DomainsDnsInstructions {
|
|
16
|
+
kind: 'cname' | 'a_records';
|
|
17
|
+
/** Present when kind is 'cname'. */
|
|
18
|
+
cname?: {
|
|
19
|
+
name: string;
|
|
20
|
+
target: string;
|
|
21
|
+
};
|
|
22
|
+
/** Present when kind is 'a_records'. */
|
|
23
|
+
aRecords?: {
|
|
24
|
+
v4: Array<{
|
|
25
|
+
name: string;
|
|
26
|
+
value: string;
|
|
27
|
+
}>;
|
|
28
|
+
v6: Array<{
|
|
29
|
+
name: string;
|
|
30
|
+
value: string;
|
|
31
|
+
}>;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* One custom hostname entry as returned by the custom-domains list, add, and
|
|
36
|
+
* retry endpoints. `dnsInstructions` is computed server-side from the row.
|
|
37
|
+
*/
|
|
38
|
+
export interface DomainsCustomHostnameView {
|
|
39
|
+
id: string;
|
|
40
|
+
hostname: string;
|
|
41
|
+
isApex: boolean;
|
|
42
|
+
pairRole: string | null;
|
|
43
|
+
pairedHostnameId: string | null;
|
|
44
|
+
cfStatus: string | null;
|
|
45
|
+
cfSslStatus: string | null;
|
|
46
|
+
uiStatus: DomainsCustomHostnameUiStatus;
|
|
47
|
+
dcvMethod: string;
|
|
48
|
+
ownershipVerification: Record<string, unknown> | null;
|
|
49
|
+
validationRecords: Record<string, unknown>[] | null;
|
|
50
|
+
verificationErrors: unknown[] | null;
|
|
51
|
+
activatedAt: string | null;
|
|
52
|
+
movedAt: string | null;
|
|
53
|
+
createdAt: string;
|
|
54
|
+
dnsInstructions: DomainsDnsInstructions;
|
|
55
|
+
}
|
|
56
|
+
/** GET /_internal/v2/apps/:appId/settings/custom-subdomain */
|
|
57
|
+
export interface DomainsGetResult {
|
|
58
|
+
/** Public (hyphenated) subdomain, or null if unset. */
|
|
59
|
+
subdomain: string | null;
|
|
60
|
+
}
|
|
61
|
+
/** POST /_internal/v2/apps/:appId/settings/custom-subdomain */
|
|
62
|
+
export interface DomainsSetResult {
|
|
63
|
+
subdomain: string | null;
|
|
64
|
+
}
|
|
65
|
+
/** POST /_internal/v2/apps/:appId/settings/custom-subdomain/check-availability */
|
|
66
|
+
export interface DomainsCheckResult {
|
|
67
|
+
/** Normalized (public hyphenated) form of the requested subdomain. */
|
|
68
|
+
subdomain: string;
|
|
69
|
+
isAvailable: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Why it isn't available, or null when it is: `reserved` (the platform's,
|
|
72
|
+
* never any app's), `taken` (another app has it) or `invalid` (not 1 to 63
|
|
73
|
+
* letters, digits and hyphens, or shaped like an app's ID).
|
|
74
|
+
*/
|
|
75
|
+
reason: 'invalid' | 'reserved' | 'taken' | null;
|
|
76
|
+
}
|
|
77
|
+
/** GET /_internal/v2/apps/:appId/settings/custom-domains */
|
|
78
|
+
export interface DomainsCustomListResult {
|
|
79
|
+
hostnames: Array<DomainsCustomHostnameView & {
|
|
80
|
+
/** The domain the workspace bought that this hostname is on, whose records the platform writes. */
|
|
81
|
+
boughtDomain: BoughtDomain | null;
|
|
82
|
+
}>;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* POST /_internal/v2/apps/:appId/settings/custom-domains — register a hostname.
|
|
86
|
+
* Apex input auto-creates the www. pair; both are returned in that case.
|
|
87
|
+
*/
|
|
88
|
+
export interface DomainsCustomAddResult {
|
|
89
|
+
hostnames: DomainsCustomHostnameView[];
|
|
90
|
+
/** Set when the hostname is on a domain the workspace bought: the records the platform wrote for it. */
|
|
91
|
+
registeredDomain: RegisteredDomainRecords | null;
|
|
92
|
+
}
|
|
93
|
+
/** POST /_internal/v2/apps/:appId/settings/custom-domains/check-domain */
|
|
94
|
+
export interface DomainsCustomCheckResult {
|
|
95
|
+
valid: boolean;
|
|
96
|
+
isApex: boolean;
|
|
97
|
+
/** True when an apex input will auto-create the www. pair on add. */
|
|
98
|
+
willAutoPairWww: boolean;
|
|
99
|
+
/** Human-readable reason; present when valid is false. */
|
|
100
|
+
errorMessage?: string;
|
|
101
|
+
}
|
|
102
|
+
/** POST /_internal/v2/apps/:appId/settings/custom-domains/:id/delete */
|
|
103
|
+
export interface DomainsCustomRemoveResult {
|
|
104
|
+
ok: true;
|
|
105
|
+
}
|
|
106
|
+
/** POST /_internal/v2/apps/:appId/settings/custom-domains/:id/retry */
|
|
107
|
+
export interface DomainsCustomRetryResult {
|
|
108
|
+
hostname: DomainsCustomHostnameView;
|
|
109
|
+
}
|
|
110
|
+
/** A domain the workspace bought, as a connection's list names it. */
|
|
111
|
+
export interface BoughtDomain {
|
|
112
|
+
id: string;
|
|
113
|
+
name: string;
|
|
114
|
+
}
|
|
115
|
+
/** What the platform wrote on a bought domain for a connection (web, sending or inbound). */
|
|
116
|
+
export interface RegisteredDomainRecords {
|
|
117
|
+
domain: string;
|
|
118
|
+
/** How many records were written. */
|
|
119
|
+
written: number;
|
|
120
|
+
/** Records the connection needs that would break the zone, left unwritten. */
|
|
121
|
+
conflicts: Array<{
|
|
122
|
+
host: string;
|
|
123
|
+
type: string;
|
|
124
|
+
answer: string;
|
|
125
|
+
existing: {
|
|
126
|
+
type: string;
|
|
127
|
+
answer: string;
|
|
128
|
+
};
|
|
129
|
+
}>;
|
|
130
|
+
/** Set when Name.com couldn't be reached: add the records by hand, or retry. */
|
|
131
|
+
error?: 'records_not_written';
|
|
132
|
+
}
|
|
133
|
+
export type RegisteredDomainStatus = 'pending' | 'active' | 'expired' | 'failed' | 'ended';
|
|
134
|
+
/** Where one of the workspace's apps uses a bought domain. */
|
|
135
|
+
export interface RegisteredDomainConnection {
|
|
136
|
+
kind: 'web' | 'sending' | 'receiving';
|
|
137
|
+
/** Null for the workspace's own sending domain. */
|
|
138
|
+
appId: string | null;
|
|
139
|
+
appName: string | null;
|
|
140
|
+
/** The app's icon, when it has one. */
|
|
141
|
+
appIconUrl: string | null;
|
|
142
|
+
hostname: string;
|
|
143
|
+
}
|
|
144
|
+
/** One of the workspace's bought domains. Money is USD. */
|
|
145
|
+
export interface RegisteredDomainView {
|
|
146
|
+
id: string;
|
|
147
|
+
/** ASCII (punycode). */
|
|
148
|
+
name: string;
|
|
149
|
+
status: RegisteredDomainStatus;
|
|
150
|
+
/** The registration term, in years. */
|
|
151
|
+
years: number;
|
|
152
|
+
premium: boolean;
|
|
153
|
+
/** What the registration cost. */
|
|
154
|
+
price: number;
|
|
155
|
+
/** Why a purchase failed: `registrar_payment`, `throttled`, `refused`, `never_registered`. */
|
|
156
|
+
failure: string | null;
|
|
157
|
+
registeredAt: string | null;
|
|
158
|
+
expiresAt: string | null;
|
|
159
|
+
autoRenew: boolean;
|
|
160
|
+
locked: boolean;
|
|
161
|
+
privacy: boolean;
|
|
162
|
+
/** New registrations can't transfer away until then. */
|
|
163
|
+
transferLockExpiresAt: string | null;
|
|
164
|
+
/** Name.com's locks on the domain, `clientHold` among them. */
|
|
165
|
+
locks: string[];
|
|
166
|
+
renewalPrice: number | null;
|
|
167
|
+
/** The status code of a renewal the registrar refused, until one succeeds. */
|
|
168
|
+
renewalFailure: string | null;
|
|
169
|
+
transferOutRequestedAt: string | null;
|
|
170
|
+
endedReason: 'lapsed' | 'transferred' | 'removed' | null;
|
|
171
|
+
endedAt: string | null;
|
|
172
|
+
/** Set while ICANN's email verification of the registrant is owed: the domain stops resolving after it. */
|
|
173
|
+
verifyBy: string | null;
|
|
174
|
+
createdAt: string;
|
|
175
|
+
connections: RegisteredDomainConnection[];
|
|
176
|
+
}
|
|
177
|
+
/** A search suggestion. */
|
|
178
|
+
export interface RegisteredDomainOffer {
|
|
179
|
+
name: string;
|
|
180
|
+
purchasable: boolean;
|
|
181
|
+
/** Purchasable, and in a TLD Remy sells. */
|
|
182
|
+
sellable: boolean;
|
|
183
|
+
premium: boolean;
|
|
184
|
+
purchaseType: string | null;
|
|
185
|
+
/** The minimum term's price. */
|
|
186
|
+
price: number | null;
|
|
187
|
+
renewalPrice: number | null;
|
|
188
|
+
reason: string | null;
|
|
189
|
+
}
|
|
190
|
+
/** The definitive answer for one name. */
|
|
191
|
+
export interface RegisteredDomainQuote {
|
|
192
|
+
name: string;
|
|
193
|
+
/** Null when the name can be bought. */
|
|
194
|
+
refusal: 'unavailable' | 'tld_not_supported' | 'trademark_claim' | null;
|
|
195
|
+
/** The registration term: the TLD's minimum (1 year for most, 2 for `.ai`). */
|
|
196
|
+
years: number;
|
|
197
|
+
premium: boolean;
|
|
198
|
+
/** The price for the term: what `buy --price` must match. */
|
|
199
|
+
price: number | null;
|
|
200
|
+
/** What renewing for the same term costs. */
|
|
201
|
+
renewalPrice: number | null;
|
|
202
|
+
}
|
|
203
|
+
/** The registrant: the domain's legal owner, whom ICANN emails. */
|
|
204
|
+
export interface RegistrantContact {
|
|
205
|
+
firstName: string;
|
|
206
|
+
lastName: string;
|
|
207
|
+
/** Filled in, the organization owns the domains. Blank for a person. */
|
|
208
|
+
companyName?: string;
|
|
209
|
+
address1: string;
|
|
210
|
+
address2?: string;
|
|
211
|
+
city: string;
|
|
212
|
+
state: string;
|
|
213
|
+
zip: string;
|
|
214
|
+
/** ISO 3166-1 alpha-2, like `US`. */
|
|
215
|
+
country: string;
|
|
216
|
+
email: string;
|
|
217
|
+
/** E.164, like `+14155550123`. */
|
|
218
|
+
phone: string;
|
|
219
|
+
}
|
|
220
|
+
export interface WorkspaceRegistrantContact extends RegistrantContact {
|
|
221
|
+
id: string;
|
|
222
|
+
organizationId: string;
|
|
223
|
+
updatedAt: string;
|
|
224
|
+
}
|
|
225
|
+
export type RegisteredDomainRecordType = 'A' | 'AAAA' | 'ANAME' | 'CNAME' | 'MX' | 'NS' | 'SRV' | 'TXT';
|
|
226
|
+
/** A record on a bought domain's zone. */
|
|
227
|
+
export interface RegisteredDomainZoneRecord {
|
|
228
|
+
id: number;
|
|
229
|
+
/** Relative to the zone, and empty for the apex. */
|
|
230
|
+
host: string;
|
|
231
|
+
type: RegisteredDomainRecordType;
|
|
232
|
+
answer: string;
|
|
233
|
+
ttl: number;
|
|
234
|
+
/** MX and SRV only. */
|
|
235
|
+
priority: number | null;
|
|
236
|
+
/** What the platform wrote it for (locked), or null when it's the owner's. */
|
|
237
|
+
managed: string | null;
|
|
238
|
+
}
|
|
239
|
+
/** GET /_internal/v2/apps/:appId/settings/registered-domains */
|
|
240
|
+
export interface RegisteredDomainsListResult {
|
|
241
|
+
/** Empty where this deployment doesn't sell domains. */
|
|
242
|
+
domains: RegisteredDomainView[];
|
|
243
|
+
}
|
|
244
|
+
/** POST …/registered-domains/search */
|
|
245
|
+
export interface RegisteredDomainsSearchResult {
|
|
246
|
+
offers: RegisteredDomainOffer[];
|
|
247
|
+
}
|
|
248
|
+
/** POST …/registered-domains/quote */
|
|
249
|
+
export interface RegisteredDomainsQuoteResult {
|
|
250
|
+
quote: RegisteredDomainQuote;
|
|
251
|
+
}
|
|
252
|
+
/** POST …/registered-domains/purchase */
|
|
253
|
+
export interface RegisteredDomainsBuyResult {
|
|
254
|
+
domain: RegisteredDomainView;
|
|
255
|
+
}
|
|
256
|
+
/** GET …/registered-domains/contact */
|
|
257
|
+
export interface RegisteredDomainsContactResult {
|
|
258
|
+
contact: WorkspaceRegistrantContact | null;
|
|
259
|
+
}
|
|
260
|
+
/** POST …/registered-domains/contact */
|
|
261
|
+
export interface RegisteredDomainsContactSetResult {
|
|
262
|
+
contact: WorkspaceRegistrantContact;
|
|
263
|
+
/** Held domains Name.com wouldn't take the new contact on. */
|
|
264
|
+
notUpdated: string[];
|
|
265
|
+
}
|
|
266
|
+
/** GET …/registered-domains/:domainId/records */
|
|
267
|
+
export interface RegisteredDomainsZoneResult {
|
|
268
|
+
records: RegisteredDomainZoneRecord[];
|
|
269
|
+
}
|
|
270
|
+
/** POST …/registered-domains/:domainId/records[/:recordId] */
|
|
271
|
+
export interface RegisteredDomainsRecordResult {
|
|
272
|
+
record: Omit<RegisteredDomainZoneRecord, 'managed'>;
|
|
273
|
+
}
|
|
274
|
+
/** POST …/registered-domains/:domainId/records/:recordId/delete */
|
|
275
|
+
export interface RegisteredDomainsRecordDeleteResult {
|
|
276
|
+
deleted: true;
|
|
277
|
+
}
|