@leaflow/sdk 0.14.1 → 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 +147 -3
- 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
|
@@ -46,6 +46,8 @@ export type GetWeixinLoginResult = operations["get-weixin-login"]["responses"][2
|
|
|
46
46
|
export type SubmitWeixinVerifyCodeResult = operations["submit-weixin-verify-code"]["responses"][200]["content"]["application/json"];
|
|
47
47
|
/** `POST /api/v1/weixin-logins/{login}/verify-code` 的请求体。 */
|
|
48
48
|
export type SubmitWeixinVerifyCodeBody = NonNullable<operations["submit-weixin-verify-code"]["requestBody"]>["content"]["application/json"];
|
|
49
|
+
/** `GET /api/v1/memories` 成功时的响应体。 */
|
|
50
|
+
export type ListMemoriesResult = operations["list-memories"]["responses"][200]["content"]["application/json"];
|
|
49
51
|
/** `GET /api/v1/models` 成功时的响应体。 */
|
|
50
52
|
export type ListModelsResult = operations["list-models"]["responses"][200]["content"]["application/json"];
|
|
51
53
|
/** `GET /api/v1/threads` 成功时的响应体。 */
|
|
@@ -287,6 +287,46 @@ export interface paths {
|
|
|
287
287
|
patch?: never;
|
|
288
288
|
trace?: never;
|
|
289
289
|
};
|
|
290
|
+
"/api/v1/memories": {
|
|
291
|
+
parameters: {
|
|
292
|
+
query?: never;
|
|
293
|
+
header?: never;
|
|
294
|
+
path?: never;
|
|
295
|
+
cookie?: never;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* 列出助手记住的事
|
|
299
|
+
* @description 助手在这个项目里为当前账号记下的事实,它们会出现在之后每一次对话的开头。同一个项目里的不同成员各记各的,这里只返回当前账号的那些。不分页:条数有上限,一次全部返回。
|
|
300
|
+
*/
|
|
301
|
+
get: operations["list-memories"];
|
|
302
|
+
put?: never;
|
|
303
|
+
post?: never;
|
|
304
|
+
delete?: never;
|
|
305
|
+
options?: never;
|
|
306
|
+
head?: never;
|
|
307
|
+
patch?: never;
|
|
308
|
+
trace?: never;
|
|
309
|
+
};
|
|
310
|
+
"/api/v1/memories/{memory}": {
|
|
311
|
+
parameters: {
|
|
312
|
+
query?: never;
|
|
313
|
+
header?: never;
|
|
314
|
+
path?: never;
|
|
315
|
+
cookie?: never;
|
|
316
|
+
};
|
|
317
|
+
get?: never;
|
|
318
|
+
put?: never;
|
|
319
|
+
post?: never;
|
|
320
|
+
/**
|
|
321
|
+
* 删掉一条记忆
|
|
322
|
+
* @description 助手不再记得这件事。删除立即生效,下一次对话就不会再带上它。助手可能会重新学到同一件事。
|
|
323
|
+
*/
|
|
324
|
+
delete: operations["delete-memory"];
|
|
325
|
+
options?: never;
|
|
326
|
+
head?: never;
|
|
327
|
+
patch?: never;
|
|
328
|
+
trace?: never;
|
|
329
|
+
};
|
|
290
330
|
"/api/v1/models": {
|
|
291
331
|
parameters: {
|
|
292
332
|
query?: never;
|
|
@@ -735,6 +775,22 @@ export interface components {
|
|
|
735
775
|
key: string;
|
|
736
776
|
reasoningTiers: string[] | null;
|
|
737
777
|
};
|
|
778
|
+
MemoryListResponseBody: {
|
|
779
|
+
items: components["schemas"]["MemoryResource"][];
|
|
780
|
+
};
|
|
781
|
+
MemoryResource: {
|
|
782
|
+
/** @description 记住的那件事 */
|
|
783
|
+
body: string;
|
|
784
|
+
/** Format: date-time */
|
|
785
|
+
createdAt: string;
|
|
786
|
+
id: string;
|
|
787
|
+
/** @description 助手给这件事起的名字,它用这个名字覆盖或者删掉自己写过的东西 */
|
|
788
|
+
name: string;
|
|
789
|
+
/** @description 助手是在哪次对话里记下它的。那次对话可能已经被删掉了 */
|
|
790
|
+
sourceThreadId?: string;
|
|
791
|
+
/** Format: date-time */
|
|
792
|
+
updatedAt: string;
|
|
793
|
+
};
|
|
738
794
|
ModelListResponseBody: {
|
|
739
795
|
models: components["schemas"]["ModelResource"][] | null;
|
|
740
796
|
};
|
|
@@ -1492,6 +1548,64 @@ export interface operations {
|
|
|
1492
1548
|
};
|
|
1493
1549
|
};
|
|
1494
1550
|
};
|
|
1551
|
+
"list-memories": {
|
|
1552
|
+
parameters: {
|
|
1553
|
+
query?: never;
|
|
1554
|
+
header?: never;
|
|
1555
|
+
path?: never;
|
|
1556
|
+
cookie?: never;
|
|
1557
|
+
};
|
|
1558
|
+
requestBody?: never;
|
|
1559
|
+
responses: {
|
|
1560
|
+
/** @description OK */
|
|
1561
|
+
200: {
|
|
1562
|
+
headers: {
|
|
1563
|
+
[name: string]: unknown;
|
|
1564
|
+
};
|
|
1565
|
+
content: {
|
|
1566
|
+
"application/json": components["schemas"]["MemoryListResponseBody"];
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
/** @description Error */
|
|
1570
|
+
default: {
|
|
1571
|
+
headers: {
|
|
1572
|
+
[name: string]: unknown;
|
|
1573
|
+
};
|
|
1574
|
+
content: {
|
|
1575
|
+
"application/json": components["schemas"]["Error"];
|
|
1576
|
+
};
|
|
1577
|
+
};
|
|
1578
|
+
};
|
|
1579
|
+
};
|
|
1580
|
+
"delete-memory": {
|
|
1581
|
+
parameters: {
|
|
1582
|
+
query?: never;
|
|
1583
|
+
header?: never;
|
|
1584
|
+
path: {
|
|
1585
|
+
memory: string;
|
|
1586
|
+
};
|
|
1587
|
+
cookie?: never;
|
|
1588
|
+
};
|
|
1589
|
+
requestBody?: never;
|
|
1590
|
+
responses: {
|
|
1591
|
+
/** @description No Content */
|
|
1592
|
+
204: {
|
|
1593
|
+
headers: {
|
|
1594
|
+
[name: string]: unknown;
|
|
1595
|
+
};
|
|
1596
|
+
content?: never;
|
|
1597
|
+
};
|
|
1598
|
+
/** @description Error */
|
|
1599
|
+
default: {
|
|
1600
|
+
headers: {
|
|
1601
|
+
[name: string]: unknown;
|
|
1602
|
+
};
|
|
1603
|
+
content: {
|
|
1604
|
+
"application/json": components["schemas"]["Error"];
|
|
1605
|
+
};
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
};
|
|
1495
1609
|
"list-models": {
|
|
1496
1610
|
parameters: {
|
|
1497
1611
|
query?: never;
|
|
@@ -76,6 +76,8 @@ export type BindFloatingIpResult = operations["bind-floating-ip"]["responses"][2
|
|
|
76
76
|
export type BindFloatingIpBody = NonNullable<operations["bind-floating-ip"]["requestBody"]>["content"]["application/json"];
|
|
77
77
|
/** `GET /api/v1/instances` 成功时的响应体。 */
|
|
78
78
|
export type ListInstancesResult = operations["list-instances"]["responses"][200]["content"]["application/json"];
|
|
79
|
+
/** `GET /api/v1/instances` 的查询参数。 */
|
|
80
|
+
export type ListInstancesQuery = operations["list-instances"]["parameters"]["query"];
|
|
79
81
|
/** `POST /api/v1/instances` 成功时的响应体。 */
|
|
80
82
|
export type LaunchInstanceResult = operations["launch-instance"]["responses"][201]["content"]["application/json"];
|
|
81
83
|
/** `POST /api/v1/instances` 的请求体。 */
|
|
@@ -96,6 +98,14 @@ export type OpenInstanceConsoleResult = operations["open-instance-console"]["res
|
|
|
96
98
|
export type GetInstanceConsoleOutputResult = operations["get-instance-console-output"]["responses"][200]["content"]["application/json"];
|
|
97
99
|
/** `GET /api/v1/instances/{instanceId}/console-output` 的查询参数。 */
|
|
98
100
|
export type GetInstanceConsoleOutputQuery = operations["get-instance-console-output"]["parameters"]["query"];
|
|
101
|
+
/** `PUT /api/v1/instances/{instanceId}/labels` 成功时的响应体。 */
|
|
102
|
+
export type SetInstanceLabelsResult = operations["set-instance-labels"]["responses"][200]["content"]["application/json"];
|
|
103
|
+
/** `PUT /api/v1/instances/{instanceId}/labels` 的请求体。 */
|
|
104
|
+
export type SetInstanceLabelsBody = NonNullable<operations["set-instance-labels"]["requestBody"]>["content"]["application/json"];
|
|
105
|
+
/** `PUT /api/v1/instances/{instanceId}/notes` 成功时的响应体。 */
|
|
106
|
+
export type SetInstanceNotesResult = operations["set-instance-notes"]["responses"][200]["content"]["application/json"];
|
|
107
|
+
/** `PUT /api/v1/instances/{instanceId}/notes` 的请求体。 */
|
|
108
|
+
export type SetInstanceNotesBody = NonNullable<operations["set-instance-notes"]["requestBody"]>["content"]["application/json"];
|
|
99
109
|
/** `POST /api/v1/instances/{instanceId}/password` 成功时的响应体。 */
|
|
100
110
|
export type ResetInstancePasswordResult = operations["reset-instance-password"]["responses"][200]["content"]["application/json"];
|
|
101
111
|
/** `POST /api/v1/instances/{instanceId}/password` 的请求体。 */
|
|
@@ -354,7 +354,10 @@ export interface paths {
|
|
|
354
354
|
path?: never;
|
|
355
355
|
cookie?: never;
|
|
356
356
|
};
|
|
357
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* List instances
|
|
359
|
+
* @description Every instance in the project, newest first. This endpoint does not query backend state; for the accurate state of one instance, use the retrieve endpoint.
|
|
360
|
+
*/
|
|
358
361
|
get: operations["list-instances"];
|
|
359
362
|
put?: never;
|
|
360
363
|
/**
|
|
@@ -421,6 +424,10 @@ export interface paths {
|
|
|
421
424
|
* Run a command on an instance
|
|
422
425
|
* @description Runs one command over SSH and returns what it wrote. **This is not a shell.** There is no terminal, no standard input and no way to answer a prompt: a command that waits for input produces nothing and is killed at the timeout. Chain steps with `&&`, or write a script and run that.
|
|
423
426
|
*
|
|
427
|
+
* **A command that fails is still a 200.** Its failure is its own result, not this endpoint's: read `exit_code` for what it exited with and `stderr` for what it said, and decide from those. A `grep` that matches nothing exits 1 and is a perfectly successful call.
|
|
428
|
+
*
|
|
429
|
+
* The status therefore answers a different question — did the command run at all. A non-2xx means it did not, and nothing about the instance was changed by this request: it was suspended, not running or had no floating IP; or it refused the platform key; or the connection could not be opened. Retrying is meaningful in those cases and is not for a non-zero `exit_code`.
|
|
430
|
+
*
|
|
424
431
|
* Three conditions must hold; the instance is unreachable otherwise:
|
|
425
432
|
*
|
|
426
433
|
* - it is `running`
|
|
@@ -484,6 +491,54 @@ export interface paths {
|
|
|
484
491
|
patch?: never;
|
|
485
492
|
trace?: never;
|
|
486
493
|
};
|
|
494
|
+
"/api/v1/instances/{instanceId}/labels": {
|
|
495
|
+
parameters: {
|
|
496
|
+
query?: never;
|
|
497
|
+
header?: never;
|
|
498
|
+
path?: never;
|
|
499
|
+
cookie?: never;
|
|
500
|
+
};
|
|
501
|
+
get?: never;
|
|
502
|
+
/**
|
|
503
|
+
* Replace an instance's labels
|
|
504
|
+
* @description Records what this instance is for, as key-value pairs, so that a person or an assistant can tell later. Nothing on the platform reads them: no scheduling, quota or billing decision keys off a label, which is what makes editing one safe.
|
|
505
|
+
*
|
|
506
|
+
* **The whole set is replaced.** Whatever is absent from the request is removed — a merge could not express deleting a key, and it makes retrying the same request produce a different result each time.
|
|
507
|
+
*
|
|
508
|
+
* Do not put credentials here. Labels appear in listings, in support tickets and in the operator console.
|
|
509
|
+
*/
|
|
510
|
+
put: operations["set-instance-labels"];
|
|
511
|
+
post?: never;
|
|
512
|
+
delete?: never;
|
|
513
|
+
options?: never;
|
|
514
|
+
head?: never;
|
|
515
|
+
patch?: never;
|
|
516
|
+
trace?: never;
|
|
517
|
+
};
|
|
518
|
+
"/api/v1/instances/{instanceId}/notes": {
|
|
519
|
+
parameters: {
|
|
520
|
+
query?: never;
|
|
521
|
+
header?: never;
|
|
522
|
+
path?: never;
|
|
523
|
+
cookie?: never;
|
|
524
|
+
};
|
|
525
|
+
get?: never;
|
|
526
|
+
/**
|
|
527
|
+
* Replace an instance's note
|
|
528
|
+
* @description A free-text note: what this instance runs, and what to be careful about before touching it — "primary database, fail over before rebooting". It is read by whoever opens the instance next, including an assistant acting on your behalf.
|
|
529
|
+
*
|
|
530
|
+
* **The whole note is replaced**; send an empty string to clear it.
|
|
531
|
+
*
|
|
532
|
+
* Do not put credentials here. The note appears in the operator console.
|
|
533
|
+
*/
|
|
534
|
+
put: operations["set-instance-notes"];
|
|
535
|
+
post?: never;
|
|
536
|
+
delete?: never;
|
|
537
|
+
options?: never;
|
|
538
|
+
head?: never;
|
|
539
|
+
patch?: never;
|
|
540
|
+
trace?: never;
|
|
541
|
+
};
|
|
487
542
|
"/api/v1/instances/{instanceId}/password": {
|
|
488
543
|
parameters: {
|
|
489
544
|
query?: never;
|
|
@@ -1449,7 +1504,13 @@ export interface components {
|
|
|
1449
1504
|
instance_type_id: string;
|
|
1450
1505
|
/** @description IPv6 address of the primary network interface. Assigned automatically once IPv6 is enabled on the private network */
|
|
1451
1506
|
ipv6_address: string | null;
|
|
1507
|
+
/** @description Your own classification of this instance, as key-value pairs. Nothing on the platform reads these — they are recorded so that a person, or an assistant acting on your behalf, can tell what an instance is for. Empty when never set */
|
|
1508
|
+
labels: {
|
|
1509
|
+
[key: string]: string;
|
|
1510
|
+
};
|
|
1452
1511
|
name: string;
|
|
1512
|
+
/** @description A free-text note about this instance — what it runs, and what to be careful about before touching it. Empty when never set */
|
|
1513
|
+
notes: string;
|
|
1453
1514
|
/**
|
|
1454
1515
|
* Format: uuid
|
|
1455
1516
|
* @description Non-empty while a resize awaits confirmation. Confirming puts this type into effect, reverting discards it
|
|
@@ -1538,6 +1599,16 @@ export interface components {
|
|
|
1538
1599
|
/** @description Returned only in this response; store it immediately. All instances of a batch share it */
|
|
1539
1600
|
password: string;
|
|
1540
1601
|
};
|
|
1602
|
+
SetInstanceLabelsRequestBody: {
|
|
1603
|
+
/** @description The complete set of labels. Whatever is absent here is removed, so this is also how one is deleted; send an empty object to clear them all. A key may not contain a colon, whitespace or control characters — the colon because it separates key from value in the `label` filter */
|
|
1604
|
+
labels: {
|
|
1605
|
+
[key: string]: string;
|
|
1606
|
+
};
|
|
1607
|
+
};
|
|
1608
|
+
SetInstanceNotesRequestBody: {
|
|
1609
|
+
/** @description The complete note. Send an empty string to clear it */
|
|
1610
|
+
notes: string;
|
|
1611
|
+
};
|
|
1541
1612
|
RenameInstanceRequestBody: {
|
|
1542
1613
|
name: string;
|
|
1543
1614
|
};
|
|
@@ -1562,7 +1633,7 @@ export interface components {
|
|
|
1562
1633
|
CommandResultResponseBody: {
|
|
1563
1634
|
/**
|
|
1564
1635
|
* Format: int64
|
|
1565
|
-
* @description
|
|
1636
|
+
* @description What the command exited with, 0 being success. Any other value is the command's own verdict and still arrives as a 200. Null when it was killed rather than exiting on its own, which includes the timeout — null is the absence of a verdict, not a successful one
|
|
1566
1637
|
*/
|
|
1567
1638
|
exit_code: number | null;
|
|
1568
1639
|
stderr: string;
|
|
@@ -2732,7 +2803,10 @@ export interface operations {
|
|
|
2732
2803
|
};
|
|
2733
2804
|
"list-instances": {
|
|
2734
2805
|
parameters: {
|
|
2735
|
-
query?:
|
|
2806
|
+
query?: {
|
|
2807
|
+
/** @description Only instances carrying this label, written as `key:value` — for example `env:prod`. Matched exactly on both halves. A key never contains a colon, so the split is at the first one; anything after it is the value, and `env:` means the key `env` with an empty value rather than "any value" */
|
|
2808
|
+
label?: string;
|
|
2809
|
+
};
|
|
2736
2810
|
header?: never;
|
|
2737
2811
|
path?: never;
|
|
2738
2812
|
cookie?: never;
|
|
@@ -2987,6 +3061,76 @@ export interface operations {
|
|
|
2987
3061
|
};
|
|
2988
3062
|
};
|
|
2989
3063
|
};
|
|
3064
|
+
"set-instance-labels": {
|
|
3065
|
+
parameters: {
|
|
3066
|
+
query?: never;
|
|
3067
|
+
header?: never;
|
|
3068
|
+
path: {
|
|
3069
|
+
instanceId: string;
|
|
3070
|
+
};
|
|
3071
|
+
cookie?: never;
|
|
3072
|
+
};
|
|
3073
|
+
requestBody: {
|
|
3074
|
+
content: {
|
|
3075
|
+
"application/json": components["schemas"]["SetInstanceLabelsRequestBody"];
|
|
3076
|
+
};
|
|
3077
|
+
};
|
|
3078
|
+
responses: {
|
|
3079
|
+
/** @description OK */
|
|
3080
|
+
200: {
|
|
3081
|
+
headers: {
|
|
3082
|
+
[name: string]: unknown;
|
|
3083
|
+
};
|
|
3084
|
+
content: {
|
|
3085
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
3086
|
+
};
|
|
3087
|
+
};
|
|
3088
|
+
/** @description Error */
|
|
3089
|
+
default: {
|
|
3090
|
+
headers: {
|
|
3091
|
+
[name: string]: unknown;
|
|
3092
|
+
};
|
|
3093
|
+
content: {
|
|
3094
|
+
"application/json": components["schemas"]["Error"];
|
|
3095
|
+
};
|
|
3096
|
+
};
|
|
3097
|
+
};
|
|
3098
|
+
};
|
|
3099
|
+
"set-instance-notes": {
|
|
3100
|
+
parameters: {
|
|
3101
|
+
query?: never;
|
|
3102
|
+
header?: never;
|
|
3103
|
+
path: {
|
|
3104
|
+
instanceId: string;
|
|
3105
|
+
};
|
|
3106
|
+
cookie?: never;
|
|
3107
|
+
};
|
|
3108
|
+
requestBody: {
|
|
3109
|
+
content: {
|
|
3110
|
+
"application/json": components["schemas"]["SetInstanceNotesRequestBody"];
|
|
3111
|
+
};
|
|
3112
|
+
};
|
|
3113
|
+
responses: {
|
|
3114
|
+
/** @description OK */
|
|
3115
|
+
200: {
|
|
3116
|
+
headers: {
|
|
3117
|
+
[name: string]: unknown;
|
|
3118
|
+
};
|
|
3119
|
+
content: {
|
|
3120
|
+
"application/json": components["schemas"]["InstanceResource"];
|
|
3121
|
+
};
|
|
3122
|
+
};
|
|
3123
|
+
/** @description Error */
|
|
3124
|
+
default: {
|
|
3125
|
+
headers: {
|
|
3126
|
+
[name: string]: unknown;
|
|
3127
|
+
};
|
|
3128
|
+
content: {
|
|
3129
|
+
"application/json": components["schemas"]["Error"];
|
|
3130
|
+
};
|
|
3131
|
+
};
|
|
3132
|
+
};
|
|
3133
|
+
};
|
|
2990
3134
|
"reset-instance-password": {
|
|
2991
3135
|
parameters: {
|
|
2992
3136
|
query?: never;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
|
+
import type { operations } from "./schema.js";
|
|
3
|
+
/** `GET /api/v1/credentials` 成功时的响应体。 */
|
|
4
|
+
export type ListCredentialsResult = operations["list-credentials"]["responses"][200]["content"]["application/json"];
|
|
5
|
+
/** `GET /api/v1/credentials` 的查询参数。 */
|
|
6
|
+
export type ListCredentialsQuery = operations["list-credentials"]["parameters"]["query"];
|
|
7
|
+
/** `POST /api/v1/credentials` 成功时的响应体。 */
|
|
8
|
+
export type CreateCredentialResult = operations["create-credential"]["responses"][201]["content"]["application/json"];
|
|
9
|
+
/** `POST /api/v1/credentials` 的请求体。 */
|
|
10
|
+
export type CreateCredentialBody = NonNullable<operations["create-credential"]["requestBody"]>["content"]["application/json"];
|
|
11
|
+
/** `GET /api/v1/credentials/{credentialId}` 成功时的响应体。 */
|
|
12
|
+
export type GetCredentialResult = operations["get-credential"]["responses"][200]["content"]["application/json"];
|
|
13
|
+
/** `PATCH /api/v1/credentials/{credentialId}` 成功时的响应体。 */
|
|
14
|
+
export type RenameCredentialResult = operations["rename-credential"]["responses"][200]["content"]["application/json"];
|
|
15
|
+
/** `PATCH /api/v1/credentials/{credentialId}` 的请求体。 */
|
|
16
|
+
export type RenameCredentialBody = NonNullable<operations["rename-credential"]["requestBody"]>["content"]["application/json"];
|
|
17
|
+
/** `POST /api/v1/credentials/{credentialId}/verification` 成功时的响应体。 */
|
|
18
|
+
export type VerifyCredentialResult = operations["verify-credential"]["responses"][200]["content"]["application/json"];
|
|
19
|
+
/** `GET /api/v1/zones` 成功时的响应体。 */
|
|
20
|
+
export type ListZonesResult = operations["list-zones"]["responses"][200]["content"]["application/json"];
|
|
21
|
+
/** `GET /api/v1/zones` 的查询参数。 */
|
|
22
|
+
export type ListZonesQuery = operations["list-zones"]["parameters"]["query"];
|
|
23
|
+
/** `GET /api/v1/zones/{zone}/records` 成功时的响应体。 */
|
|
24
|
+
export type ListRecordsResult = operations["list-records"]["responses"][200]["content"]["application/json"];
|
|
25
|
+
/** `GET /api/v1/zones/{zone}/records` 的查询参数。 */
|
|
26
|
+
export type ListRecordsQuery = operations["list-records"]["parameters"]["query"];
|
|
27
|
+
/** `POST /api/v1/zones/{zone}/records` 成功时的响应体。 */
|
|
28
|
+
export type AppendRecordsResult = operations["append-records"]["responses"][201]["content"]["application/json"];
|
|
29
|
+
/** `POST /api/v1/zones/{zone}/records` 的查询参数。 */
|
|
30
|
+
export type AppendRecordsQuery = operations["append-records"]["parameters"]["query"];
|
|
31
|
+
/** `POST /api/v1/zones/{zone}/records` 的请求体。 */
|
|
32
|
+
export type AppendRecordsBody = NonNullable<operations["append-records"]["requestBody"]>["content"]["application/json"];
|
|
33
|
+
/** `GET /api/v1/zones/{zone}/records/{name}/{type}` 成功时的响应体。 */
|
|
34
|
+
export type GetRecordSetResult = operations["get-record-set"]["responses"][200]["content"]["application/json"];
|
|
35
|
+
/** `PUT /api/v1/zones/{zone}/records/{name}/{type}` 成功时的响应体。 */
|
|
36
|
+
export type SetRecordSetResult = operations["set-record-set"]["responses"][200]["content"]["application/json"];
|
|
37
|
+
/** `PUT /api/v1/zones/{zone}/records/{name}/{type}` 的查询参数。 */
|
|
38
|
+
export type SetRecordSetQuery = operations["set-record-set"]["parameters"]["query"];
|
|
39
|
+
/** `PUT /api/v1/zones/{zone}/records/{name}/{type}` 的请求体。 */
|
|
40
|
+
export type SetRecordSetBody = NonNullable<operations["set-record-set"]["requestBody"]>["content"]["application/json"];
|
|
41
|
+
/** `DELETE /api/v1/zones/{zone}/records/{name}/{type}` 的查询参数。 */
|
|
42
|
+
export type DeleteRecordSetQuery = operations["delete-record-set"]["parameters"]["query"];
|