@leaflow/sdk 0.14.2 → 0.15.0
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/assistant/v1/index.d.ts +2 -0
- package/dist/assistant/v1/schema.d.ts +114 -0
- package/dist/compute/v1/index.d.ts +10 -0
- package/dist/compute/v1/schema.d.ts +142 -2
- package/dist/dns/v1/index.d.ts +42 -0
- package/dist/dns/v1/index.js +5 -0
- package/dist/dns/v1/schema.d.ts +867 -0
- package/dist/dns/v1/schema.js +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/monitoring/v1/index.d.ts +66 -0
- package/dist/monitoring/v1/schema.d.ts +1806 -316
- package/package.json +1 -1
|
@@ -0,0 +1,867 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by openapi-typescript.
|
|
3
|
+
* Do not make direct changes to the file.
|
|
4
|
+
*/
|
|
5
|
+
export interface paths {
|
|
6
|
+
"/api/v1/credentials": {
|
|
7
|
+
parameters: {
|
|
8
|
+
query?: never;
|
|
9
|
+
header?: never;
|
|
10
|
+
path?: never;
|
|
11
|
+
cookie?: never;
|
|
12
|
+
};
|
|
13
|
+
/** List provider credentials */
|
|
14
|
+
get: operations["list-credentials"];
|
|
15
|
+
put?: never;
|
|
16
|
+
/**
|
|
17
|
+
* Register a provider credential
|
|
18
|
+
* @description The credential is validated against the provider before it is accepted. A credential that
|
|
19
|
+
* cannot list domains is rejected with `CREDENTIAL_REJECTED_UPSTREAM` and is not stored.
|
|
20
|
+
*
|
|
21
|
+
* `provider` selects which configuration block is required: `provider: cloudflare` requires
|
|
22
|
+
* the `cloudflare` block, and the remaining blocks are ignored. Omitting the matching block
|
|
23
|
+
* returns `CREDENTIAL_CONFIG_MISSING`.
|
|
24
|
+
*
|
|
25
|
+
* Registering a credential that is already held by this project returns
|
|
26
|
+
* `CREDENTIAL_DUPLICATE`. Provider rate limits apply per credential, so a second copy grants
|
|
27
|
+
* no additional capacity.
|
|
28
|
+
*
|
|
29
|
+
* The submitted credential material is not returned by this or any other operation.
|
|
30
|
+
*/
|
|
31
|
+
post: operations["create-credential"];
|
|
32
|
+
delete?: never;
|
|
33
|
+
options?: never;
|
|
34
|
+
head?: never;
|
|
35
|
+
patch?: never;
|
|
36
|
+
trace?: never;
|
|
37
|
+
};
|
|
38
|
+
"/api/v1/credentials/{credentialId}": {
|
|
39
|
+
parameters: {
|
|
40
|
+
query?: never;
|
|
41
|
+
header?: never;
|
|
42
|
+
path?: never;
|
|
43
|
+
cookie?: never;
|
|
44
|
+
};
|
|
45
|
+
/** Get a provider credential */
|
|
46
|
+
get: operations["get-credential"];
|
|
47
|
+
put?: never;
|
|
48
|
+
post?: never;
|
|
49
|
+
/**
|
|
50
|
+
* Delete a provider credential
|
|
51
|
+
* @description Domains reachable only through this credential stop appearing in `GET /zones` and can no
|
|
52
|
+
* longer be read or written through this API.
|
|
53
|
+
*
|
|
54
|
+
* **No DNS record is modified.** Deleting a credential withdraws this project's access to the
|
|
55
|
+
* provider account; it does not remove anything that was published there.
|
|
56
|
+
*/
|
|
57
|
+
delete: operations["delete-credential"];
|
|
58
|
+
options?: never;
|
|
59
|
+
head?: never;
|
|
60
|
+
/**
|
|
61
|
+
* Rename a provider credential
|
|
62
|
+
* @description Only the display name can be changed. To use different credential material, delete this
|
|
63
|
+
* credential and register a new one: a credential's identity does not change over its
|
|
64
|
+
* lifetime.
|
|
65
|
+
*/
|
|
66
|
+
patch: operations["rename-credential"];
|
|
67
|
+
trace?: never;
|
|
68
|
+
};
|
|
69
|
+
"/api/v1/credentials/{credentialId}/verification": {
|
|
70
|
+
parameters: {
|
|
71
|
+
query?: never;
|
|
72
|
+
header?: never;
|
|
73
|
+
path?: never;
|
|
74
|
+
cookie?: never;
|
|
75
|
+
};
|
|
76
|
+
get?: never;
|
|
77
|
+
put?: never;
|
|
78
|
+
/**
|
|
79
|
+
* Re-validate a provider credential
|
|
80
|
+
* @description Checks the credential against the provider and records the outcome in `last_verified_at`
|
|
81
|
+
* and `last_verify_error`.
|
|
82
|
+
*
|
|
83
|
+
* A credential is validated when it is registered. This operation exists for credentials whose
|
|
84
|
+
* permissions or keys were subsequently changed at the provider, which is a change this API is
|
|
85
|
+
* not notified of.
|
|
86
|
+
*
|
|
87
|
+
* **A failed check returns 200, not an error.** The outcome is reported in
|
|
88
|
+
* `last_verify_error`: the request itself succeeded, and the answer it obtained is that the
|
|
89
|
+
* credential is no longer usable.
|
|
90
|
+
*/
|
|
91
|
+
post: operations["verify-credential"];
|
|
92
|
+
delete?: never;
|
|
93
|
+
options?: never;
|
|
94
|
+
head?: never;
|
|
95
|
+
patch?: never;
|
|
96
|
+
trace?: never;
|
|
97
|
+
};
|
|
98
|
+
"/api/v1/zones": {
|
|
99
|
+
parameters: {
|
|
100
|
+
query?: never;
|
|
101
|
+
header?: never;
|
|
102
|
+
path?: never;
|
|
103
|
+
cookie?: never;
|
|
104
|
+
};
|
|
105
|
+
/**
|
|
106
|
+
* List domains
|
|
107
|
+
* @description Lists every domain reachable through the credentials registered by this project.
|
|
108
|
+
*
|
|
109
|
+
* Listings may briefly lag behind domains added or removed at the provider. Set `refresh` for
|
|
110
|
+
* an up-to-date answer.
|
|
111
|
+
*
|
|
112
|
+
* ## A domain that appears more than once
|
|
113
|
+
*
|
|
114
|
+
* While a domain is being migrated it commonly exists in both provider accounts at once. Such
|
|
115
|
+
* a domain is returned once per credential, with the same `zone` and different
|
|
116
|
+
* `credential_id`.
|
|
117
|
+
*
|
|
118
|
+
* `authoritative` reports which entry is the one currently serving queries, determined from
|
|
119
|
+
* the domain's delegation. `null` means no determination was made: either the domain appears
|
|
120
|
+
* only once, or its delegation does not identify any of the registered providers — for
|
|
121
|
+
* example when custom nameservers are in use, or the domain is not delegated at all.
|
|
122
|
+
*
|
|
123
|
+
* **Write operations are refused while the determination is `null` and the domain appears more
|
|
124
|
+
* than once**, with `ZONE_AMBIGUOUS`. Supply `credential_id` on the write request to select a
|
|
125
|
+
* credential explicitly.
|
|
126
|
+
*/
|
|
127
|
+
get: operations["list-zones"];
|
|
128
|
+
put?: never;
|
|
129
|
+
post?: never;
|
|
130
|
+
delete?: never;
|
|
131
|
+
options?: never;
|
|
132
|
+
head?: never;
|
|
133
|
+
patch?: never;
|
|
134
|
+
trace?: never;
|
|
135
|
+
};
|
|
136
|
+
"/api/v1/zones/{zone}/records": {
|
|
137
|
+
parameters: {
|
|
138
|
+
query?: never;
|
|
139
|
+
header?: never;
|
|
140
|
+
path?: never;
|
|
141
|
+
cookie?: never;
|
|
142
|
+
};
|
|
143
|
+
/**
|
|
144
|
+
* List record sets
|
|
145
|
+
* @description Returns the domain's records grouped into record sets: all records sharing a name and a type
|
|
146
|
+
* are reported as one entry, with their values in `values`.
|
|
147
|
+
*
|
|
148
|
+
* `limit` and `offset` reduce the size of the response but not the time taken to produce it.
|
|
149
|
+
* For domains with many records, filter by `name` or `type`.
|
|
150
|
+
*/
|
|
151
|
+
get: operations["list-records"];
|
|
152
|
+
put?: never;
|
|
153
|
+
/**
|
|
154
|
+
* Add records to a record set
|
|
155
|
+
* @description **Adds values only.** Records already present under the same name and type are left in
|
|
156
|
+
* place, and the submitted values are added alongside them.
|
|
157
|
+
*
|
|
158
|
+
* `PUT` states the final contents of a record set, so two concurrent `PUT` requests against
|
|
159
|
+
* the same set can discard one another's changes. This operation only adds, and is therefore
|
|
160
|
+
* safe to issue concurrently. **Certificate issuance, which places several TXT records under
|
|
161
|
+
* `_acme-challenge` at once, must use this operation**: issuing two certificates concurrently
|
|
162
|
+
* with `PUT` causes one challenge record to displace the other.
|
|
163
|
+
*
|
|
164
|
+
* The cost is that duplicate values can be created. Use `PUT` to state what a record set
|
|
165
|
+
* should contain.
|
|
166
|
+
*/
|
|
167
|
+
post: operations["append-records"];
|
|
168
|
+
delete?: never;
|
|
169
|
+
options?: never;
|
|
170
|
+
head?: never;
|
|
171
|
+
patch?: never;
|
|
172
|
+
trace?: never;
|
|
173
|
+
};
|
|
174
|
+
"/api/v1/zones/{zone}/records/{name}/{type}": {
|
|
175
|
+
parameters: {
|
|
176
|
+
query?: never;
|
|
177
|
+
header?: never;
|
|
178
|
+
path?: never;
|
|
179
|
+
cookie?: never;
|
|
180
|
+
};
|
|
181
|
+
/**
|
|
182
|
+
* Get a record set
|
|
183
|
+
* @description Returns `RECORD_SET_NOT_FOUND` when no record of this type exists under this name.
|
|
184
|
+
*/
|
|
185
|
+
get: operations["get-record-set"];
|
|
186
|
+
/**
|
|
187
|
+
* Replace a record set
|
|
188
|
+
* @description **This replaces the entire record set.** After this request, the only records under this
|
|
189
|
+
* name and type are the ones listed in `values`; any value present beforehand and absent here
|
|
190
|
+
* is removed.
|
|
191
|
+
*
|
|
192
|
+
* To add a value, retrieve the set with `GET`, append to the values it returns, and submit the
|
|
193
|
+
* complete list. Submitting only the new value removes the others; both forms return 200.
|
|
194
|
+
*
|
|
195
|
+
* The record set is created if it does not yet exist, so this operation both creates and
|
|
196
|
+
* replaces, and is idempotent.
|
|
197
|
+
*
|
|
198
|
+
* Two concurrent requests against the same domain conflict; the second receives `ZONE_BUSY`
|
|
199
|
+
* and may be retried. To add values concurrently, use `POST /records`.
|
|
200
|
+
*/
|
|
201
|
+
put: operations["set-record-set"];
|
|
202
|
+
post?: never;
|
|
203
|
+
/**
|
|
204
|
+
* Delete a record set
|
|
205
|
+
* @description Removes every record under this name and type. To remove one value from a set, `PUT` the
|
|
206
|
+
* values that should remain.
|
|
207
|
+
*
|
|
208
|
+
* Providers reject removal of the last NS record set at the apex of a domain, which would
|
|
209
|
+
* withdraw the domain from DNS entirely.
|
|
210
|
+
*/
|
|
211
|
+
delete: operations["delete-record-set"];
|
|
212
|
+
options?: never;
|
|
213
|
+
head?: never;
|
|
214
|
+
patch?: never;
|
|
215
|
+
trace?: never;
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
export type webhooks = Record<string, never>;
|
|
219
|
+
export interface components {
|
|
220
|
+
schemas: {
|
|
221
|
+
Error: {
|
|
222
|
+
code?: string;
|
|
223
|
+
message: string;
|
|
224
|
+
meta?: {
|
|
225
|
+
[key: string]: unknown;
|
|
226
|
+
};
|
|
227
|
+
/** Format: int64 */
|
|
228
|
+
status: number;
|
|
229
|
+
};
|
|
230
|
+
/**
|
|
231
|
+
* @description A DNS record type.
|
|
232
|
+
*
|
|
233
|
+
* The listed types are those this API supports uniformly across every provider. HTTPS and
|
|
234
|
+
* SVCB are not yet available.
|
|
235
|
+
* @enum {string}
|
|
236
|
+
*/
|
|
237
|
+
RecordType: "A" | "AAAA" | "CNAME" | "TXT" | "MX" | "NS" | "SRV" | "CAA";
|
|
238
|
+
/**
|
|
239
|
+
* @description A supported DNS provider.
|
|
240
|
+
* @enum {string}
|
|
241
|
+
*/
|
|
242
|
+
Provider: "cloudflare" | "tencentcloud" | "alidns" | "route53";
|
|
243
|
+
/**
|
|
244
|
+
* @description `active` is usable. `disabled` means the platform has disabled this credential and requires
|
|
245
|
+
* contact with support.
|
|
246
|
+
*
|
|
247
|
+
* A project that has been suspended is reported separately, in `suspended_at`.
|
|
248
|
+
* @enum {string}
|
|
249
|
+
*/
|
|
250
|
+
CredentialStatus: "active" | "disabled";
|
|
251
|
+
/** @description A registered provider credential. The credential material itself is never included. */
|
|
252
|
+
CredentialResource: {
|
|
253
|
+
/** Format: date-time */
|
|
254
|
+
created_at: string;
|
|
255
|
+
/** @description Equal fingerprints denote the same credential material */
|
|
256
|
+
fingerprint: string;
|
|
257
|
+
/** Format: uuid */
|
|
258
|
+
id: string;
|
|
259
|
+
/**
|
|
260
|
+
* Format: date-time
|
|
261
|
+
* @description When the credential was last confirmed to work; null if it never has
|
|
262
|
+
*/
|
|
263
|
+
last_verified_at: string | null;
|
|
264
|
+
/** @description Why the most recent check failed; null if the most recent check succeeded */
|
|
265
|
+
last_verify_error: string | null;
|
|
266
|
+
name: string;
|
|
267
|
+
provider: components["schemas"]["Provider"];
|
|
268
|
+
/** @description A partially masked fragment of the credential, for visual identification only */
|
|
269
|
+
redacted: string;
|
|
270
|
+
status: components["schemas"]["CredentialStatus"];
|
|
271
|
+
/**
|
|
272
|
+
* Format: date-time
|
|
273
|
+
* @description When the credential was suspended because the project was suspended; null if it was not. Cleared when the project is restored
|
|
274
|
+
*/
|
|
275
|
+
suspended_at: string | null;
|
|
276
|
+
/** Format: date-time */
|
|
277
|
+
updated_at: string;
|
|
278
|
+
};
|
|
279
|
+
/** @description Cloudflare credentials, created under My Profile then API Tokens */
|
|
280
|
+
CloudflareConfig: {
|
|
281
|
+
/** @description An API token with the Zone.DNS edit permission */
|
|
282
|
+
api_token: string;
|
|
283
|
+
/** @description Optional, and required only when api_token is scoped to a single zone, in which case it is used to enumerate zones */
|
|
284
|
+
zone_token?: string;
|
|
285
|
+
};
|
|
286
|
+
/** @description Tencent Cloud DNSPod credentials, created under Access Management then Access Keys */
|
|
287
|
+
TencentCloudConfig: {
|
|
288
|
+
secret_id: string;
|
|
289
|
+
secret_key: string;
|
|
290
|
+
};
|
|
291
|
+
/** @description Alibaba Cloud DNS credentials, created under RAM */
|
|
292
|
+
AliDNSConfig: {
|
|
293
|
+
access_key_id: string;
|
|
294
|
+
access_key_secret: string;
|
|
295
|
+
/** @description Defaults to cn-hangzhou */
|
|
296
|
+
region_id?: string;
|
|
297
|
+
};
|
|
298
|
+
/** @description AWS Route 53 credentials */
|
|
299
|
+
Route53Config: {
|
|
300
|
+
access_key_id: string;
|
|
301
|
+
/** @description Defaults to us-east-1. Route 53 is a global service, so this affects request signing only */
|
|
302
|
+
region?: string;
|
|
303
|
+
secret_access_key: string;
|
|
304
|
+
/** @description Optional, and required only for temporary STS credentials. Such credentials expire, after which every operation against this provider fails */
|
|
305
|
+
session_token?: string;
|
|
306
|
+
};
|
|
307
|
+
/** @description `provider` selects which configuration block is read. The remaining blocks are ignored. */
|
|
308
|
+
CreateCredentialRequestBody: {
|
|
309
|
+
alidns?: components["schemas"]["AliDNSConfig"];
|
|
310
|
+
cloudflare?: components["schemas"]["CloudflareConfig"];
|
|
311
|
+
/** @description A display name for this credential */
|
|
312
|
+
name: string;
|
|
313
|
+
provider: components["schemas"]["Provider"];
|
|
314
|
+
route53?: components["schemas"]["Route53Config"];
|
|
315
|
+
tencentcloud?: components["schemas"]["TencentCloudConfig"];
|
|
316
|
+
};
|
|
317
|
+
RenameCredentialRequestBody: {
|
|
318
|
+
name: string;
|
|
319
|
+
};
|
|
320
|
+
LengthAwarePageCredentialResource: {
|
|
321
|
+
/** @description The contents of this page */
|
|
322
|
+
items: components["schemas"]["CredentialResource"][];
|
|
323
|
+
/**
|
|
324
|
+
* Format: int64
|
|
325
|
+
* @description Maximum items per page, echoing the value in the request
|
|
326
|
+
*/
|
|
327
|
+
limit: number;
|
|
328
|
+
/**
|
|
329
|
+
* Format: int64
|
|
330
|
+
* @description Items skipped, echoing the value in the request
|
|
331
|
+
*/
|
|
332
|
+
offset: number;
|
|
333
|
+
/**
|
|
334
|
+
* Format: int64
|
|
335
|
+
* @description Total number of matching items, not only those in this page
|
|
336
|
+
*/
|
|
337
|
+
total: number;
|
|
338
|
+
};
|
|
339
|
+
ZoneResource: {
|
|
340
|
+
/**
|
|
341
|
+
* @description Whether this entry is the one currently serving queries for the domain.
|
|
342
|
+
*
|
|
343
|
+
* `null` means no determination was made: either the domain appears only once, or its
|
|
344
|
+
* delegation does not identify any registered provider. While this is `null` and the
|
|
345
|
+
* domain appears more than once, write operations require an explicit `credential_id`.
|
|
346
|
+
*/
|
|
347
|
+
authoritative: boolean | null;
|
|
348
|
+
/**
|
|
349
|
+
* Format: uuid
|
|
350
|
+
* @description The credential through which this domain is reachable
|
|
351
|
+
*/
|
|
352
|
+
credential_id: string;
|
|
353
|
+
provider: components["schemas"]["Provider"];
|
|
354
|
+
/** @description The domain in absolute form, with a trailing dot */
|
|
355
|
+
zone: string;
|
|
356
|
+
};
|
|
357
|
+
ZoneListResponseBody: {
|
|
358
|
+
items: components["schemas"]["ZoneResource"][];
|
|
359
|
+
/**
|
|
360
|
+
* @description True when at least one provider could not be reached while producing this listing, so
|
|
361
|
+
* recent additions or removals may be missing.
|
|
362
|
+
*
|
|
363
|
+
* The listing remains usable and write operations are unaffected.
|
|
364
|
+
*/
|
|
365
|
+
stale: boolean;
|
|
366
|
+
};
|
|
367
|
+
/** @description Every record sharing a name and a type. */
|
|
368
|
+
RecordSetResource: {
|
|
369
|
+
/** @description The name relative to the domain. `@` denotes the domain itself */
|
|
370
|
+
name: string;
|
|
371
|
+
/**
|
|
372
|
+
* Format: int64
|
|
373
|
+
* @description Time to live, in seconds. 0 leaves the choice to the provider
|
|
374
|
+
*/
|
|
375
|
+
ttl: number;
|
|
376
|
+
type: components["schemas"]["RecordType"];
|
|
377
|
+
/**
|
|
378
|
+
* @description Every value in this record set, in unescaped zone-file RDATA syntax:
|
|
379
|
+
*
|
|
380
|
+
* - `A`, `AAAA`: `192.0.2.1`, `2001:db8::1`
|
|
381
|
+
* - `CNAME`, `NS`: `target.example.com.`, absolute, with a trailing dot
|
|
382
|
+
* - `TXT`: the text itself, neither quoted nor escaped
|
|
383
|
+
* - `MX`: `10 mail.example.com.`
|
|
384
|
+
* - `SRV`: `10 20 443 target.example.com.`
|
|
385
|
+
* - `CAA`: `0 issue "letsencrypt.org"`
|
|
386
|
+
*/
|
|
387
|
+
values: string[];
|
|
388
|
+
/** @description The domain in absolute form, with a trailing dot */
|
|
389
|
+
zone: string;
|
|
390
|
+
};
|
|
391
|
+
LengthAwarePageRecordSetResource: {
|
|
392
|
+
/** @description The contents of this page */
|
|
393
|
+
items: components["schemas"]["RecordSetResource"][];
|
|
394
|
+
/**
|
|
395
|
+
* Format: int64
|
|
396
|
+
* @description Maximum items per page, echoing the value in the request
|
|
397
|
+
*/
|
|
398
|
+
limit: number;
|
|
399
|
+
/**
|
|
400
|
+
* Format: int64
|
|
401
|
+
* @description Items skipped, echoing the value in the request
|
|
402
|
+
*/
|
|
403
|
+
offset: number;
|
|
404
|
+
/**
|
|
405
|
+
* Format: int64
|
|
406
|
+
* @description Total number of matching items, not only those in this page
|
|
407
|
+
*/
|
|
408
|
+
total: number;
|
|
409
|
+
};
|
|
410
|
+
/** @description `values` states the final contents of the record set. Values omitted here are removed. */
|
|
411
|
+
SetRecordSetRequestBody: {
|
|
412
|
+
/**
|
|
413
|
+
* Format: int64
|
|
414
|
+
* @description Time to live, in seconds. 0 leaves the choice to the provider. Providers enforce their own minimum and raise lower values to it
|
|
415
|
+
* @default 300
|
|
416
|
+
*/
|
|
417
|
+
ttl?: number;
|
|
418
|
+
/** @description The final contents of the record set. Syntax as described on RecordSetResource.values */
|
|
419
|
+
values: string[];
|
|
420
|
+
};
|
|
421
|
+
AppendRecordsRequestBody: {
|
|
422
|
+
/** @description The name relative to the domain. `@` denotes the domain itself */
|
|
423
|
+
name: string;
|
|
424
|
+
/**
|
|
425
|
+
* Format: int64
|
|
426
|
+
* @description Time to live, in seconds. 0 leaves the choice to the provider
|
|
427
|
+
* @default 300
|
|
428
|
+
*/
|
|
429
|
+
ttl?: number;
|
|
430
|
+
type: components["schemas"]["RecordType"];
|
|
431
|
+
/** @description The values to add. Syntax as described on RecordSetResource.values */
|
|
432
|
+
values: string[];
|
|
433
|
+
};
|
|
434
|
+
};
|
|
435
|
+
responses: never;
|
|
436
|
+
parameters: never;
|
|
437
|
+
requestBodies: never;
|
|
438
|
+
headers: never;
|
|
439
|
+
pathItems: never;
|
|
440
|
+
}
|
|
441
|
+
export type $defs = Record<string, never>;
|
|
442
|
+
export interface operations {
|
|
443
|
+
"list-credentials": {
|
|
444
|
+
parameters: {
|
|
445
|
+
query?: {
|
|
446
|
+
/** @description Maximum number of items to return in this page */
|
|
447
|
+
limit?: number;
|
|
448
|
+
/** @description Number of items to skip */
|
|
449
|
+
offset?: number;
|
|
450
|
+
/** @description Return only credentials for this provider; omit for all providers */
|
|
451
|
+
provider?: components["schemas"]["Provider"];
|
|
452
|
+
};
|
|
453
|
+
header?: never;
|
|
454
|
+
path?: never;
|
|
455
|
+
cookie?: never;
|
|
456
|
+
};
|
|
457
|
+
requestBody?: never;
|
|
458
|
+
responses: {
|
|
459
|
+
/** @description OK */
|
|
460
|
+
200: {
|
|
461
|
+
headers: {
|
|
462
|
+
[name: string]: unknown;
|
|
463
|
+
};
|
|
464
|
+
content: {
|
|
465
|
+
"application/json": components["schemas"]["LengthAwarePageCredentialResource"];
|
|
466
|
+
};
|
|
467
|
+
};
|
|
468
|
+
/** @description Error */
|
|
469
|
+
default: {
|
|
470
|
+
headers: {
|
|
471
|
+
[name: string]: unknown;
|
|
472
|
+
};
|
|
473
|
+
content: {
|
|
474
|
+
"application/json": components["schemas"]["Error"];
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
};
|
|
479
|
+
"create-credential": {
|
|
480
|
+
parameters: {
|
|
481
|
+
query?: never;
|
|
482
|
+
header?: never;
|
|
483
|
+
path?: never;
|
|
484
|
+
cookie?: never;
|
|
485
|
+
};
|
|
486
|
+
requestBody: {
|
|
487
|
+
content: {
|
|
488
|
+
"application/json": components["schemas"]["CreateCredentialRequestBody"];
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
responses: {
|
|
492
|
+
/** @description Created */
|
|
493
|
+
201: {
|
|
494
|
+
headers: {
|
|
495
|
+
[name: string]: unknown;
|
|
496
|
+
};
|
|
497
|
+
content: {
|
|
498
|
+
"application/json": components["schemas"]["CredentialResource"];
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
/** @description Error */
|
|
502
|
+
default: {
|
|
503
|
+
headers: {
|
|
504
|
+
[name: string]: unknown;
|
|
505
|
+
};
|
|
506
|
+
content: {
|
|
507
|
+
"application/json": components["schemas"]["Error"];
|
|
508
|
+
};
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
"get-credential": {
|
|
513
|
+
parameters: {
|
|
514
|
+
query?: never;
|
|
515
|
+
header?: never;
|
|
516
|
+
path: {
|
|
517
|
+
credentialId: string;
|
|
518
|
+
};
|
|
519
|
+
cookie?: never;
|
|
520
|
+
};
|
|
521
|
+
requestBody?: never;
|
|
522
|
+
responses: {
|
|
523
|
+
/** @description OK */
|
|
524
|
+
200: {
|
|
525
|
+
headers: {
|
|
526
|
+
[name: string]: unknown;
|
|
527
|
+
};
|
|
528
|
+
content: {
|
|
529
|
+
"application/json": components["schemas"]["CredentialResource"];
|
|
530
|
+
};
|
|
531
|
+
};
|
|
532
|
+
/** @description Error */
|
|
533
|
+
default: {
|
|
534
|
+
headers: {
|
|
535
|
+
[name: string]: unknown;
|
|
536
|
+
};
|
|
537
|
+
content: {
|
|
538
|
+
"application/json": components["schemas"]["Error"];
|
|
539
|
+
};
|
|
540
|
+
};
|
|
541
|
+
};
|
|
542
|
+
};
|
|
543
|
+
"delete-credential": {
|
|
544
|
+
parameters: {
|
|
545
|
+
query?: never;
|
|
546
|
+
header?: never;
|
|
547
|
+
path: {
|
|
548
|
+
credentialId: string;
|
|
549
|
+
};
|
|
550
|
+
cookie?: never;
|
|
551
|
+
};
|
|
552
|
+
requestBody?: never;
|
|
553
|
+
responses: {
|
|
554
|
+
/** @description No Content */
|
|
555
|
+
204: {
|
|
556
|
+
headers: {
|
|
557
|
+
[name: string]: unknown;
|
|
558
|
+
};
|
|
559
|
+
content?: never;
|
|
560
|
+
};
|
|
561
|
+
/** @description Error */
|
|
562
|
+
default: {
|
|
563
|
+
headers: {
|
|
564
|
+
[name: string]: unknown;
|
|
565
|
+
};
|
|
566
|
+
content: {
|
|
567
|
+
"application/json": components["schemas"]["Error"];
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
"rename-credential": {
|
|
573
|
+
parameters: {
|
|
574
|
+
query?: never;
|
|
575
|
+
header?: never;
|
|
576
|
+
path: {
|
|
577
|
+
credentialId: string;
|
|
578
|
+
};
|
|
579
|
+
cookie?: never;
|
|
580
|
+
};
|
|
581
|
+
requestBody: {
|
|
582
|
+
content: {
|
|
583
|
+
"application/json": components["schemas"]["RenameCredentialRequestBody"];
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
responses: {
|
|
587
|
+
/** @description OK */
|
|
588
|
+
200: {
|
|
589
|
+
headers: {
|
|
590
|
+
[name: string]: unknown;
|
|
591
|
+
};
|
|
592
|
+
content: {
|
|
593
|
+
"application/json": components["schemas"]["CredentialResource"];
|
|
594
|
+
};
|
|
595
|
+
};
|
|
596
|
+
/** @description Error */
|
|
597
|
+
default: {
|
|
598
|
+
headers: {
|
|
599
|
+
[name: string]: unknown;
|
|
600
|
+
};
|
|
601
|
+
content: {
|
|
602
|
+
"application/json": components["schemas"]["Error"];
|
|
603
|
+
};
|
|
604
|
+
};
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
"verify-credential": {
|
|
608
|
+
parameters: {
|
|
609
|
+
query?: never;
|
|
610
|
+
header?: never;
|
|
611
|
+
path: {
|
|
612
|
+
credentialId: string;
|
|
613
|
+
};
|
|
614
|
+
cookie?: never;
|
|
615
|
+
};
|
|
616
|
+
requestBody?: never;
|
|
617
|
+
responses: {
|
|
618
|
+
/** @description OK */
|
|
619
|
+
200: {
|
|
620
|
+
headers: {
|
|
621
|
+
[name: string]: unknown;
|
|
622
|
+
};
|
|
623
|
+
content: {
|
|
624
|
+
"application/json": components["schemas"]["CredentialResource"];
|
|
625
|
+
};
|
|
626
|
+
};
|
|
627
|
+
/** @description Error */
|
|
628
|
+
default: {
|
|
629
|
+
headers: {
|
|
630
|
+
[name: string]: unknown;
|
|
631
|
+
};
|
|
632
|
+
content: {
|
|
633
|
+
"application/json": components["schemas"]["Error"];
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
"list-zones": {
|
|
639
|
+
parameters: {
|
|
640
|
+
query?: {
|
|
641
|
+
/** @description Return only domains reachable through this credential */
|
|
642
|
+
credential_id?: string;
|
|
643
|
+
/** @description Return the current set of domains rather than a possibly slightly stale one. Slower, and consumes provider API quota */
|
|
644
|
+
refresh?: boolean;
|
|
645
|
+
};
|
|
646
|
+
header?: never;
|
|
647
|
+
path?: never;
|
|
648
|
+
cookie?: never;
|
|
649
|
+
};
|
|
650
|
+
requestBody?: never;
|
|
651
|
+
responses: {
|
|
652
|
+
/** @description OK */
|
|
653
|
+
200: {
|
|
654
|
+
headers: {
|
|
655
|
+
[name: string]: unknown;
|
|
656
|
+
};
|
|
657
|
+
content: {
|
|
658
|
+
"application/json": components["schemas"]["ZoneListResponseBody"];
|
|
659
|
+
};
|
|
660
|
+
};
|
|
661
|
+
/** @description Error */
|
|
662
|
+
default: {
|
|
663
|
+
headers: {
|
|
664
|
+
[name: string]: unknown;
|
|
665
|
+
};
|
|
666
|
+
content: {
|
|
667
|
+
"application/json": components["schemas"]["Error"];
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
};
|
|
672
|
+
"list-records": {
|
|
673
|
+
parameters: {
|
|
674
|
+
query?: {
|
|
675
|
+
/** @description Which credential to use. When omitted, the credential is determined from the domain; see ZONE_AMBIGUOUS */
|
|
676
|
+
credential_id?: string;
|
|
677
|
+
/** @description Return only record sets with this name, given relative to the domain. `@` denotes the domain itself */
|
|
678
|
+
name?: string;
|
|
679
|
+
/** @description Return only record sets of this type */
|
|
680
|
+
type?: components["schemas"]["RecordType"];
|
|
681
|
+
/** @description Maximum number of items to return in this page */
|
|
682
|
+
limit?: number;
|
|
683
|
+
/** @description Number of items to skip */
|
|
684
|
+
offset?: number;
|
|
685
|
+
};
|
|
686
|
+
header?: never;
|
|
687
|
+
path: {
|
|
688
|
+
/** @description The domain. A trailing dot is optional */
|
|
689
|
+
zone: string;
|
|
690
|
+
};
|
|
691
|
+
cookie?: never;
|
|
692
|
+
};
|
|
693
|
+
requestBody?: never;
|
|
694
|
+
responses: {
|
|
695
|
+
/** @description OK */
|
|
696
|
+
200: {
|
|
697
|
+
headers: {
|
|
698
|
+
[name: string]: unknown;
|
|
699
|
+
};
|
|
700
|
+
content: {
|
|
701
|
+
"application/json": components["schemas"]["LengthAwarePageRecordSetResource"];
|
|
702
|
+
};
|
|
703
|
+
};
|
|
704
|
+
/** @description Error */
|
|
705
|
+
default: {
|
|
706
|
+
headers: {
|
|
707
|
+
[name: string]: unknown;
|
|
708
|
+
};
|
|
709
|
+
content: {
|
|
710
|
+
"application/json": components["schemas"]["Error"];
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
};
|
|
715
|
+
"append-records": {
|
|
716
|
+
parameters: {
|
|
717
|
+
query?: {
|
|
718
|
+
/** @description Which credential to use. When omitted, the credential is determined from the domain; see ZONE_AMBIGUOUS */
|
|
719
|
+
credential_id?: string;
|
|
720
|
+
};
|
|
721
|
+
header?: never;
|
|
722
|
+
path: {
|
|
723
|
+
/** @description The domain. A trailing dot is optional */
|
|
724
|
+
zone: string;
|
|
725
|
+
};
|
|
726
|
+
cookie?: never;
|
|
727
|
+
};
|
|
728
|
+
requestBody: {
|
|
729
|
+
content: {
|
|
730
|
+
"application/json": components["schemas"]["AppendRecordsRequestBody"];
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
responses: {
|
|
734
|
+
/** @description Created */
|
|
735
|
+
201: {
|
|
736
|
+
headers: {
|
|
737
|
+
[name: string]: unknown;
|
|
738
|
+
};
|
|
739
|
+
content: {
|
|
740
|
+
"application/json": components["schemas"]["RecordSetResource"];
|
|
741
|
+
};
|
|
742
|
+
};
|
|
743
|
+
/** @description Error */
|
|
744
|
+
default: {
|
|
745
|
+
headers: {
|
|
746
|
+
[name: string]: unknown;
|
|
747
|
+
};
|
|
748
|
+
content: {
|
|
749
|
+
"application/json": components["schemas"]["Error"];
|
|
750
|
+
};
|
|
751
|
+
};
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
"get-record-set": {
|
|
755
|
+
parameters: {
|
|
756
|
+
query?: never;
|
|
757
|
+
header?: never;
|
|
758
|
+
path: {
|
|
759
|
+
/** @description The domain. A trailing dot is optional */
|
|
760
|
+
zone: string;
|
|
761
|
+
/** @description The name, given relative to the domain. `@` denotes the domain itself and `*` a wildcard */
|
|
762
|
+
name: string;
|
|
763
|
+
type: components["schemas"]["RecordType"];
|
|
764
|
+
};
|
|
765
|
+
cookie?: never;
|
|
766
|
+
};
|
|
767
|
+
requestBody?: never;
|
|
768
|
+
responses: {
|
|
769
|
+
/** @description OK */
|
|
770
|
+
200: {
|
|
771
|
+
headers: {
|
|
772
|
+
[name: string]: unknown;
|
|
773
|
+
};
|
|
774
|
+
content: {
|
|
775
|
+
"application/json": components["schemas"]["RecordSetResource"];
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
/** @description Error */
|
|
779
|
+
default: {
|
|
780
|
+
headers: {
|
|
781
|
+
[name: string]: unknown;
|
|
782
|
+
};
|
|
783
|
+
content: {
|
|
784
|
+
"application/json": components["schemas"]["Error"];
|
|
785
|
+
};
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
"set-record-set": {
|
|
790
|
+
parameters: {
|
|
791
|
+
query?: {
|
|
792
|
+
/** @description Which credential to use. When omitted, the credential is determined from the domain; see ZONE_AMBIGUOUS */
|
|
793
|
+
credential_id?: string;
|
|
794
|
+
};
|
|
795
|
+
header?: never;
|
|
796
|
+
path: {
|
|
797
|
+
/** @description The domain. A trailing dot is optional */
|
|
798
|
+
zone: string;
|
|
799
|
+
/** @description The name, given relative to the domain. `@` denotes the domain itself and `*` a wildcard */
|
|
800
|
+
name: string;
|
|
801
|
+
type: components["schemas"]["RecordType"];
|
|
802
|
+
};
|
|
803
|
+
cookie?: never;
|
|
804
|
+
};
|
|
805
|
+
requestBody: {
|
|
806
|
+
content: {
|
|
807
|
+
"application/json": components["schemas"]["SetRecordSetRequestBody"];
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
responses: {
|
|
811
|
+
/** @description OK */
|
|
812
|
+
200: {
|
|
813
|
+
headers: {
|
|
814
|
+
[name: string]: unknown;
|
|
815
|
+
};
|
|
816
|
+
content: {
|
|
817
|
+
"application/json": components["schemas"]["RecordSetResource"];
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
/** @description Error */
|
|
821
|
+
default: {
|
|
822
|
+
headers: {
|
|
823
|
+
[name: string]: unknown;
|
|
824
|
+
};
|
|
825
|
+
content: {
|
|
826
|
+
"application/json": components["schemas"]["Error"];
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
};
|
|
831
|
+
"delete-record-set": {
|
|
832
|
+
parameters: {
|
|
833
|
+
query?: {
|
|
834
|
+
/** @description Which credential to use. When omitted, the credential is determined from the domain; see ZONE_AMBIGUOUS */
|
|
835
|
+
credential_id?: string;
|
|
836
|
+
};
|
|
837
|
+
header?: never;
|
|
838
|
+
path: {
|
|
839
|
+
/** @description The domain. A trailing dot is optional */
|
|
840
|
+
zone: string;
|
|
841
|
+
/** @description The name, given relative to the domain. `@` denotes the domain itself and `*` a wildcard */
|
|
842
|
+
name: string;
|
|
843
|
+
type: components["schemas"]["RecordType"];
|
|
844
|
+
};
|
|
845
|
+
cookie?: never;
|
|
846
|
+
};
|
|
847
|
+
requestBody?: never;
|
|
848
|
+
responses: {
|
|
849
|
+
/** @description No Content */
|
|
850
|
+
204: {
|
|
851
|
+
headers: {
|
|
852
|
+
[name: string]: unknown;
|
|
853
|
+
};
|
|
854
|
+
content?: never;
|
|
855
|
+
};
|
|
856
|
+
/** @description Error */
|
|
857
|
+
default: {
|
|
858
|
+
headers: {
|
|
859
|
+
[name: string]: unknown;
|
|
860
|
+
};
|
|
861
|
+
content: {
|
|
862
|
+
"application/json": components["schemas"]["Error"];
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
};
|
|
866
|
+
};
|
|
867
|
+
}
|