@leaflow/sdk 0.55.0 → 0.56.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.
Files changed (49) hide show
  1. package/dist/account/v1/client.d.ts +4 -0
  2. package/dist/account/v1/client.js +7 -0
  3. package/dist/account/v1/index.d.ts +27 -26
  4. package/dist/account/v1/index.js +4 -4
  5. package/dist/assistant/v1/client.d.ts +4 -0
  6. package/dist/assistant/v1/client.js +7 -0
  7. package/dist/assistant/v1/index.d.ts +54 -53
  8. package/dist/assistant/v1/index.js +4 -4
  9. package/dist/billing/v1/index.d.ts +95 -95
  10. package/dist/billing/v1/index.js +3 -3
  11. package/dist/canopy/v1/client.d.ts +4 -0
  12. package/dist/canopy/v1/client.js +7 -0
  13. package/dist/canopy/v1/index.d.ts +24 -23
  14. package/dist/canopy/v1/index.js +4 -4
  15. package/dist/compute/v1/client.d.ts +4 -0
  16. package/dist/compute/v1/client.js +7 -0
  17. package/dist/compute/v1/index.d.ts +124 -123
  18. package/dist/compute/v1/index.js +4 -4
  19. package/dist/dns/v1/client.d.ts +4 -0
  20. package/dist/dns/v1/client.js +7 -0
  21. package/dist/dns/v1/index.d.ts +21 -20
  22. package/dist/dns/v1/index.js +4 -4
  23. package/dist/fleet/v1/client.d.ts +4 -0
  24. package/dist/fleet/v1/client.js +7 -0
  25. package/dist/fleet/v1/index.d.ts +3 -2
  26. package/dist/fleet/v1/index.js +4 -4
  27. package/dist/iam/v1/client.d.ts +4 -0
  28. package/dist/iam/v1/client.js +7 -0
  29. package/dist/iam/v1/index.d.ts +42 -41
  30. package/dist/iam/v1/index.js +4 -4
  31. package/dist/index.d.ts +12 -12
  32. package/dist/index.js +20 -5
  33. package/dist/monitoring/v1/client.d.ts +4 -0
  34. package/dist/monitoring/v1/client.js +7 -0
  35. package/dist/monitoring/v1/index.d.ts +88 -87
  36. package/dist/monitoring/v1/index.js +4 -4
  37. package/dist/notification/v1/client.d.ts +4 -0
  38. package/dist/notification/v1/client.js +7 -0
  39. package/dist/notification/v1/index.d.ts +38 -37
  40. package/dist/notification/v1/index.js +4 -4
  41. package/dist/support/v1/client.d.ts +4 -0
  42. package/dist/support/v1/client.js +7 -0
  43. package/dist/support/v1/index.d.ts +25 -24
  44. package/dist/support/v1/index.js +4 -4
  45. package/dist/tunnel/v1/client.d.ts +4 -0
  46. package/dist/tunnel/v1/client.js +7 -0
  47. package/dist/tunnel/v1/index.d.ts +8 -7
  48. package/dist/tunnel/v1/index.js +4 -4
  49. package/package.json +6 -4
@@ -1,248 +1,249 @@
1
1
  export type { paths, components, operations, webhooks } from "./schema.js";
2
+ export { client } from "./client.js";
2
3
  import type { operations } from "./schema.js";
3
- /** `GET /api/v1/backups` 成功时的响应体。 */
4
+ /** The success response body of `GET /api/v1/backups`. */
4
5
  export type ListBackupsResult = operations["list-backups"]["responses"][200]["content"]["application/json"];
5
- /** `GET /api/v1/backups` 的查询参数。 */
6
+ /** The query parameters of `GET /api/v1/backups`. */
6
7
  export type ListBackupsQuery = operations["list-backups"]["parameters"]["query"];
7
- /** `POST /api/v1/backups` 成功时的响应体。 */
8
+ /** The success response body of `POST /api/v1/backups`. */
8
9
  export type CreateBackupResult = operations["create-backup"]["responses"][201]["content"]["application/json"];
9
- /** `POST /api/v1/backups` 的请求体。 */
10
+ /** The request body of `POST /api/v1/backups`. */
10
11
  export type CreateBackupBody = NonNullable<operations["create-backup"]["requestBody"]>["content"]["application/json"];
11
- /** `GET /api/v1/backups/{backupId}` 成功时的响应体。 */
12
+ /** The success response body of `GET /api/v1/backups/{backupId}`. */
12
13
  export type GetBackupResult = operations["get-backup"]["responses"][200]["content"]["application/json"];
13
- /** `PATCH /api/v1/backups/{backupId}` 成功时的响应体。 */
14
+ /** The success response body of `PATCH /api/v1/backups/{backupId}`. */
14
15
  export type RenameBackupResult = operations["rename-backup"]["responses"][200]["content"]["application/json"];
15
- /** `PATCH /api/v1/backups/{backupId}` 的请求体。 */
16
+ /** The request body of `PATCH /api/v1/backups/{backupId}`. */
16
17
  export type RenameBackupBody = NonNullable<operations["rename-backup"]["requestBody"]>["content"]["application/json"];
17
- /** `POST /api/v1/backups/{backupId}/restore` 成功时的响应体。 */
18
+ /** The success response body of `POST /api/v1/backups/{backupId}/restore`. */
18
19
  export type RestoreBackupResult = operations["restore-backup"]["responses"][201]["content"]["application/json"];
19
- /** `POST /api/v1/backups/{backupId}/restore` 的请求体。 */
20
+ /** The request body of `POST /api/v1/backups/{backupId}/restore`. */
20
21
  export type RestoreBackupBody = NonNullable<operations["restore-backup"]["requestBody"]>["content"]["application/json"];
21
- /** `GET /api/v1/disk-types` 成功时的响应体。 */
22
+ /** The success response body of `GET /api/v1/disk-types`. */
22
23
  export type ListDiskTypesResult = operations["list-disk-types"]["responses"][200]["content"]["application/json"];
23
- /** `GET /api/v1/disk-types` 的查询参数。 */
24
+ /** The query parameters of `GET /api/v1/disk-types`. */
24
25
  export type ListDiskTypesQuery = operations["list-disk-types"]["parameters"]["query"];
25
- /** `GET /api/v1/disk-types/{diskTypeId}` 成功时的响应体。 */
26
+ /** The success response body of `GET /api/v1/disk-types/{diskTypeId}`. */
26
27
  export type GetDiskTypeResult = operations["get-disk-type"]["responses"][200]["content"]["application/json"];
27
- /** `GET /api/v1/images` 成功时的响应体。 */
28
+ /** The success response body of `GET /api/v1/images`. */
28
29
  export type ListImagesResult = operations["list-images"]["responses"][200]["content"]["application/json"];
29
- /** `GET /api/v1/images` 的查询参数。 */
30
+ /** The query parameters of `GET /api/v1/images`. */
30
31
  export type ListImagesQuery = operations["list-images"]["parameters"]["query"];
31
- /** `GET /api/v1/instance-types` 成功时的响应体。 */
32
+ /** The success response body of `GET /api/v1/instance-types`. */
32
33
  export type ListInstanceTypesResult = operations["list-instance-types"]["responses"][200]["content"]["application/json"];
33
- /** `GET /api/v1/instance-types` 的查询参数。 */
34
+ /** The query parameters of `GET /api/v1/instance-types`. */
34
35
  export type ListInstanceTypesQuery = operations["list-instance-types"]["parameters"]["query"];
35
- /** `GET /api/v1/regions` 成功时的响应体。 */
36
+ /** The success response body of `GET /api/v1/regions`. */
36
37
  export type ListRegionsResult = operations["list-regions"]["responses"][200]["content"]["application/json"];
37
- /** `GET /api/v1/regions/{regionCode}/availability-zones` 成功时的响应体。 */
38
+ /** The success response body of `GET /api/v1/regions/{regionCode}/availability-zones`. */
38
39
  export type ListAvailabilityZonesResult = operations["list-availability-zones"]["responses"][200]["content"]["application/json"];
39
- /** `GET /api/v1/disks` 成功时的响应体。 */
40
+ /** The success response body of `GET /api/v1/disks`. */
40
41
  export type ListDisksResult = operations["list-disks"]["responses"][200]["content"]["application/json"];
41
- /** `GET /api/v1/disks` 的查询参数。 */
42
+ /** The query parameters of `GET /api/v1/disks`. */
42
43
  export type ListDisksQuery = operations["list-disks"]["parameters"]["query"];
43
- /** `POST /api/v1/disks` 成功时的响应体。 */
44
+ /** The success response body of `POST /api/v1/disks`. */
44
45
  export type CreateDiskResult = operations["create-disk"]["responses"][201]["content"]["application/json"];
45
- /** `POST /api/v1/disks` 的请求体。 */
46
+ /** The request body of `POST /api/v1/disks`. */
46
47
  export type CreateDiskBody = NonNullable<operations["create-disk"]["requestBody"]>["content"]["application/json"];
47
- /** `GET /api/v1/disks/{diskId}` 成功时的响应体。 */
48
+ /** The success response body of `GET /api/v1/disks/{diskId}`. */
48
49
  export type GetDiskResult = operations["get-disk"]["responses"][200]["content"]["application/json"];
49
- /** `PATCH /api/v1/disks/{diskId}` 成功时的响应体。 */
50
+ /** The success response body of `PATCH /api/v1/disks/{diskId}`. */
50
51
  export type RenameDiskResult = operations["rename-disk"]["responses"][200]["content"]["application/json"];
51
- /** `PATCH /api/v1/disks/{diskId}` 的请求体。 */
52
+ /** The request body of `PATCH /api/v1/disks/{diskId}`. */
52
53
  export type RenameDiskBody = NonNullable<operations["rename-disk"]["requestBody"]>["content"]["application/json"];
53
- /** `POST /api/v1/disks/{diskId}/resize` 成功时的响应体。 */
54
+ /** The success response body of `POST /api/v1/disks/{diskId}/resize`. */
54
55
  export type ResizeDiskResult = operations["resize-disk"]["responses"][200]["content"]["application/json"];
55
- /** `POST /api/v1/disks/{diskId}/resize` 的请求体。 */
56
+ /** The request body of `POST /api/v1/disks/{diskId}/resize`. */
56
57
  export type ResizeDiskBody = NonNullable<operations["resize-disk"]["requestBody"]>["content"]["application/json"];
57
- /** `POST /api/v1/disks/{diskId}/revert` 成功时的响应体。 */
58
+ /** The success response body of `POST /api/v1/disks/{diskId}/revert`. */
58
59
  export type RevertDiskResult = operations["revert-disk"]["responses"][200]["content"]["application/json"];
59
- /** `POST /api/v1/disks/{diskId}/revert` 的请求体。 */
60
+ /** The request body of `POST /api/v1/disks/{diskId}/revert`. */
60
61
  export type RevertDiskBody = NonNullable<operations["revert-disk"]["requestBody"]>["content"]["application/json"];
61
- /** `GET /api/v1/floating-ips` 成功时的响应体。 */
62
+ /** The success response body of `GET /api/v1/floating-ips`. */
62
63
  export type ListFloatingIpsResult = operations["list-floating-ips"]["responses"][200]["content"]["application/json"];
63
- /** `POST /api/v1/floating-ips` 成功时的响应体。 */
64
+ /** The success response body of `POST /api/v1/floating-ips`. */
64
65
  export type AllocateFloatingIpResult = operations["allocate-floating-ip"]["responses"][201]["content"]["application/json"];
65
- /** `POST /api/v1/floating-ips` 的请求体。 */
66
+ /** The request body of `POST /api/v1/floating-ips`. */
66
67
  export type AllocateFloatingIpBody = NonNullable<operations["allocate-floating-ip"]["requestBody"]>["content"]["application/json"];
67
- /** `GET /api/v1/floating-ips/{floatingIpId}` 成功时的响应体。 */
68
+ /** The success response body of `GET /api/v1/floating-ips/{floatingIpId}`. */
68
69
  export type GetFloatingIpResult = operations["get-floating-ip"]["responses"][200]["content"]["application/json"];
69
- /** `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth` 成功时的响应体。 */
70
+ /** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
70
71
  export type SetFloatingIpBandwidthResult = operations["set-floating-ip-bandwidth"]["responses"][200]["content"]["application/json"];
71
- /** `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth` 的请求体。 */
72
+ /** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
72
73
  export type SetFloatingIpBandwidthBody = NonNullable<operations["set-floating-ip-bandwidth"]["requestBody"]>["content"]["application/json"];
73
- /** `PUT /api/v1/floating-ips/{floatingIpId}/binding` 成功时的响应体。 */
74
+ /** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
74
75
  export type BindFloatingIpResult = operations["bind-floating-ip"]["responses"][200]["content"]["application/json"];
75
- /** `PUT /api/v1/floating-ips/{floatingIpId}/binding` 的请求体。 */
76
+ /** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
76
77
  export type BindFloatingIpBody = NonNullable<operations["bind-floating-ip"]["requestBody"]>["content"]["application/json"];
77
- /** `DELETE /api/v1/floating-ips/{floatingIpId}/binding` 成功时的响应体。 */
78
+ /** The success response body of `DELETE /api/v1/floating-ips/{floatingIpId}/binding`. */
78
79
  export type UnbindFloatingIpResult = operations["unbind-floating-ip"]["responses"][200]["content"]["application/json"];
79
- /** `GET /api/v1/instances` 成功时的响应体。 */
80
+ /** The success response body of `GET /api/v1/instances`. */
80
81
  export type ListInstancesResult = operations["list-instances"]["responses"][200]["content"]["application/json"];
81
- /** `GET /api/v1/instances` 的查询参数。 */
82
+ /** The query parameters of `GET /api/v1/instances`. */
82
83
  export type ListInstancesQuery = operations["list-instances"]["parameters"]["query"];
83
- /** `POST /api/v1/instances` 成功时的响应体。 */
84
+ /** The success response body of `POST /api/v1/instances`. */
84
85
  export type LaunchInstanceResult = operations["launch-instance"]["responses"][201]["content"]["application/json"];
85
- /** `POST /api/v1/instances` 的请求体。 */
86
+ /** The request body of `POST /api/v1/instances`. */
86
87
  export type LaunchInstanceBody = NonNullable<operations["launch-instance"]["requestBody"]>["content"]["application/json"];
87
- /** `GET /api/v1/instances/{instanceId}` 成功时的响应体。 */
88
+ /** The success response body of `GET /api/v1/instances/{instanceId}`. */
88
89
  export type GetInstanceResult = operations["get-instance"]["responses"][200]["content"]["application/json"];
89
- /** `PATCH /api/v1/instances/{instanceId}` 成功时的响应体。 */
90
+ /** The success response body of `PATCH /api/v1/instances/{instanceId}`. */
90
91
  export type RenameInstanceResult = operations["rename-instance"]["responses"][200]["content"]["application/json"];
91
- /** `PATCH /api/v1/instances/{instanceId}` 的请求体。 */
92
+ /** The request body of `PATCH /api/v1/instances/{instanceId}`. */
92
93
  export type RenameInstanceBody = NonNullable<operations["rename-instance"]["requestBody"]>["content"]["application/json"];
93
- /** `POST /api/v1/instances/{instanceId}/commands` 成功时的响应体。 */
94
+ /** The success response body of `POST /api/v1/instances/{instanceId}/commands`. */
94
95
  export type RunInstanceCommandResult = operations["run-instance-command"]["responses"][200]["content"]["application/json"];
95
- /** `POST /api/v1/instances/{instanceId}/commands` 的请求体。 */
96
+ /** The request body of `POST /api/v1/instances/{instanceId}/commands`. */
96
97
  export type RunInstanceCommandBody = NonNullable<operations["run-instance-command"]["requestBody"]>["content"]["application/json"];
97
- /** `POST /api/v1/instances/{instanceId}/console` 成功时的响应体。 */
98
+ /** The success response body of `POST /api/v1/instances/{instanceId}/console`. */
98
99
  export type OpenInstanceConsoleResult = operations["open-instance-console"]["responses"][200]["content"]["application/json"];
99
- /** `GET /api/v1/instances/{instanceId}/console-output` 成功时的响应体。 */
100
+ /** The success response body of `GET /api/v1/instances/{instanceId}/console-output`. */
100
101
  export type GetInstanceConsoleOutputResult = operations["get-instance-console-output"]["responses"][200]["content"]["application/json"];
101
- /** `GET /api/v1/instances/{instanceId}/console-output` 的查询参数。 */
102
+ /** The query parameters of `GET /api/v1/instances/{instanceId}/console-output`. */
102
103
  export type GetInstanceConsoleOutputQuery = operations["get-instance-console-output"]["parameters"]["query"];
103
- /** `PUT /api/v1/instances/{instanceId}/labels` 成功时的响应体。 */
104
+ /** The success response body of `PUT /api/v1/instances/{instanceId}/labels`. */
104
105
  export type SetInstanceLabelsResult = operations["set-instance-labels"]["responses"][200]["content"]["application/json"];
105
- /** `PUT /api/v1/instances/{instanceId}/labels` 的请求体。 */
106
+ /** The request body of `PUT /api/v1/instances/{instanceId}/labels`. */
106
107
  export type SetInstanceLabelsBody = NonNullable<operations["set-instance-labels"]["requestBody"]>["content"]["application/json"];
107
- /** `PUT /api/v1/instances/{instanceId}/notes` 成功时的响应体。 */
108
+ /** The success response body of `PUT /api/v1/instances/{instanceId}/notes`. */
108
109
  export type SetInstanceNotesResult = operations["set-instance-notes"]["responses"][200]["content"]["application/json"];
109
- /** `PUT /api/v1/instances/{instanceId}/notes` 的请求体。 */
110
+ /** The request body of `PUT /api/v1/instances/{instanceId}/notes`. */
110
111
  export type SetInstanceNotesBody = NonNullable<operations["set-instance-notes"]["requestBody"]>["content"]["application/json"];
111
- /** `POST /api/v1/instances/{instanceId}/password` 成功时的响应体。 */
112
+ /** The success response body of `POST /api/v1/instances/{instanceId}/password`. */
112
113
  export type ResetInstancePasswordResult = operations["reset-instance-password"]["responses"][200]["content"]["application/json"];
113
- /** `POST /api/v1/instances/{instanceId}/password` 的请求体。 */
114
+ /** The request body of `POST /api/v1/instances/{instanceId}/password`. */
114
115
  export type ResetInstancePasswordBody = NonNullable<operations["reset-instance-password"]["requestBody"]>["content"]["application/json"];
115
- /** `POST /api/v1/instances/{instanceId}/reboot` 成功时的响应体。 */
116
+ /** The success response body of `POST /api/v1/instances/{instanceId}/reboot`. */
116
117
  export type RebootInstanceResult = operations["reboot-instance"]["responses"][200]["content"]["application/json"];
117
- /** `POST /api/v1/instances/{instanceId}/reboot` 的请求体。 */
118
+ /** The request body of `POST /api/v1/instances/{instanceId}/reboot`. */
118
119
  export type RebootInstanceBody = NonNullable<operations["reboot-instance"]["requestBody"]>["content"]["application/json"];
119
- /** `POST /api/v1/instances/{instanceId}/rebuild` 成功时的响应体。 */
120
+ /** The success response body of `POST /api/v1/instances/{instanceId}/rebuild`. */
120
121
  export type RebuildInstanceResult = operations["rebuild-instance"]["responses"][200]["content"]["application/json"];
121
- /** `POST /api/v1/instances/{instanceId}/rebuild` 的请求体。 */
122
+ /** The request body of `POST /api/v1/instances/{instanceId}/rebuild`. */
122
123
  export type RebuildInstanceBody = NonNullable<operations["rebuild-instance"]["requestBody"]>["content"]["application/json"];
123
- /** `POST /api/v1/instances/{instanceId}/resize` 成功时的响应体。 */
124
+ /** The success response body of `POST /api/v1/instances/{instanceId}/resize`. */
124
125
  export type ResizeInstanceResult = operations["resize-instance"]["responses"][200]["content"]["application/json"];
125
- /** `POST /api/v1/instances/{instanceId}/resize` 的请求体。 */
126
+ /** The request body of `POST /api/v1/instances/{instanceId}/resize`. */
126
127
  export type ResizeInstanceBody = NonNullable<operations["resize-instance"]["requestBody"]>["content"]["application/json"];
127
- /** `POST /api/v1/instances/{instanceId}/resize/confirm` 成功时的响应体。 */
128
+ /** The success response body of `POST /api/v1/instances/{instanceId}/resize/confirm`. */
128
129
  export type ConfirmInstanceResizeResult = operations["confirm-instance-resize"]["responses"][200]["content"]["application/json"];
129
- /** `POST /api/v1/instances/{instanceId}/resize/revert` 成功时的响应体。 */
130
+ /** The success response body of `POST /api/v1/instances/{instanceId}/resize/revert`. */
130
131
  export type RevertInstanceResizeResult = operations["revert-instance-resize"]["responses"][200]["content"]["application/json"];
131
- /** `POST /api/v1/instances/{instanceId}/start` 成功时的响应体。 */
132
+ /** The success response body of `POST /api/v1/instances/{instanceId}/start`. */
132
133
  export type StartInstanceResult = operations["start-instance"]["responses"][200]["content"]["application/json"];
133
- /** `POST /api/v1/instances/{instanceId}/stop` 成功时的响应体。 */
134
+ /** The success response body of `POST /api/v1/instances/{instanceId}/stop`. */
134
135
  export type StopInstanceResult = operations["stop-instance"]["responses"][200]["content"]["application/json"];
135
- /** `GET /api/v1/instances/{instanceId}/disks` 成功时的响应体。 */
136
+ /** The success response body of `GET /api/v1/instances/{instanceId}/disks`. */
136
137
  export type ListInstanceDisksResult = operations["list-instance-disks"]["responses"][200]["content"]["application/json"];
137
- /** `POST /api/v1/instances/{instanceId}/disks` 成功时的响应体。 */
138
+ /** The success response body of `POST /api/v1/instances/{instanceId}/disks`. */
138
139
  export type AttachDiskResult = operations["attach-disk"]["responses"][200]["content"]["application/json"];
139
- /** `POST /api/v1/instances/{instanceId}/disks` 的请求体。 */
140
+ /** The request body of `POST /api/v1/instances/{instanceId}/disks`. */
140
141
  export type AttachDiskBody = NonNullable<operations["attach-disk"]["requestBody"]>["content"]["application/json"];
141
- /** `DELETE /api/v1/instances/{instanceId}/disks/{diskId}` 成功时的响应体。 */
142
+ /** The success response body of `DELETE /api/v1/instances/{instanceId}/disks/{diskId}`. */
142
143
  export type DetachDiskResult = operations["detach-disk"]["responses"][200]["content"]["application/json"];
143
- /** `POST /api/v1/instances/{instanceId}/floating-ips` 成功时的响应体。 */
144
+ /** The success response body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
144
145
  export type AttachInstanceFloatingIpResult = operations["attach-instance-floating-ip"]["responses"][200]["content"]["application/json"];
145
- /** `POST /api/v1/instances/{instanceId}/floating-ips` 的请求体。 */
146
+ /** The request body of `POST /api/v1/instances/{instanceId}/floating-ips`. */
146
147
  export type AttachInstanceFloatingIpBody = NonNullable<operations["attach-instance-floating-ip"]["requestBody"]>["content"]["application/json"];
147
- /** `DELETE /api/v1/instances/{instanceId}/floating-ips/{floatingIpId}` 成功时的响应体。 */
148
+ /** The success response body of `DELETE /api/v1/instances/{instanceId}/floating-ips/{floatingIpId}`. */
148
149
  export type DetachInstanceFloatingIpResult = operations["detach-instance-floating-ip"]["responses"][200]["content"]["application/json"];
149
- /** `GET /api/v1/instances/{instanceId}/ports` 成功时的响应体。 */
150
+ /** The success response body of `GET /api/v1/instances/{instanceId}/ports`. */
150
151
  export type ListInstancePortsResult = operations["list-instance-ports"]["responses"][200]["content"]["application/json"];
151
- /** `POST /api/v1/instances/{instanceId}/ports` 成功时的响应体。 */
152
+ /** The success response body of `POST /api/v1/instances/{instanceId}/ports`. */
152
153
  export type AttachPortResult = operations["attach-port"]["responses"][200]["content"]["application/json"];
153
- /** `POST /api/v1/instances/{instanceId}/ports` 的请求体。 */
154
+ /** The request body of `POST /api/v1/instances/{instanceId}/ports`. */
154
155
  export type AttachPortBody = NonNullable<operations["attach-port"]["requestBody"]>["content"]["application/json"];
155
- /** `DELETE /api/v1/instances/{instanceId}/ports/{portId}` 成功时的响应体。 */
156
+ /** The success response body of `DELETE /api/v1/instances/{instanceId}/ports/{portId}`. */
156
157
  export type DetachPortResult = operations["detach-port"]["responses"][200]["content"]["application/json"];
157
- /** `GET /api/v1/operation-logs` 成功时的响应体。 */
158
+ /** The success response body of `GET /api/v1/operation-logs`. */
158
159
  export type ListOperationLogsResult = operations["list-operation-logs"]["responses"][200]["content"]["application/json"];
159
- /** `GET /api/v1/operation-logs` 的查询参数。 */
160
+ /** The query parameters of `GET /api/v1/operation-logs`. */
160
161
  export type ListOperationLogsQuery = operations["list-operation-logs"]["parameters"]["query"];
161
- /** `GET /api/v1/ports` 成功时的响应体。 */
162
+ /** The success response body of `GET /api/v1/ports`. */
162
163
  export type ListPortsResult = operations["list-ports"]["responses"][200]["content"]["application/json"];
163
- /** `POST /api/v1/ports` 成功时的响应体。 */
164
+ /** The success response body of `POST /api/v1/ports`. */
164
165
  export type CreatePortResult = operations["create-port"]["responses"][201]["content"]["application/json"];
165
- /** `POST /api/v1/ports` 的请求体。 */
166
+ /** The request body of `POST /api/v1/ports`. */
166
167
  export type CreatePortBody = NonNullable<operations["create-port"]["requestBody"]>["content"]["application/json"];
167
- /** `GET /api/v1/private-images` 成功时的响应体。 */
168
+ /** The success response body of `GET /api/v1/private-images`. */
168
169
  export type ListPrivateImagesResult = operations["list-private-images"]["responses"][200]["content"]["application/json"];
169
- /** `GET /api/v1/private-images` 的查询参数。 */
170
+ /** The query parameters of `GET /api/v1/private-images`. */
170
171
  export type ListPrivateImagesQuery = operations["list-private-images"]["parameters"]["query"];
171
- /** `POST /api/v1/private-images` 成功时的响应体。 */
172
+ /** The success response body of `POST /api/v1/private-images`. */
172
173
  export type CreatePrivateImageResult = operations["create-private-image"]["responses"][201]["content"]["application/json"];
173
- /** `POST /api/v1/private-images` 的请求体。 */
174
+ /** The request body of `POST /api/v1/private-images`. */
174
175
  export type CreatePrivateImageBody = NonNullable<operations["create-private-image"]["requestBody"]>["content"]["application/json"];
175
- /** `GET /api/v1/private-images/{privateImageId}` 成功时的响应体。 */
176
+ /** The success response body of `GET /api/v1/private-images/{privateImageId}`. */
176
177
  export type GetPrivateImageResult = operations["get-private-image"]["responses"][200]["content"]["application/json"];
177
- /** `PATCH /api/v1/private-images/{privateImageId}` 成功时的响应体。 */
178
+ /** The success response body of `PATCH /api/v1/private-images/{privateImageId}`. */
178
179
  export type RenamePrivateImageResult = operations["rename-private-image"]["responses"][200]["content"]["application/json"];
179
- /** `PATCH /api/v1/private-images/{privateImageId}` 的请求体。 */
180
+ /** The request body of `PATCH /api/v1/private-images/{privateImageId}`. */
180
181
  export type RenamePrivateImageBody = NonNullable<operations["rename-private-image"]["requestBody"]>["content"]["application/json"];
181
- /** `GET /api/v1/private-networks` 成功时的响应体。 */
182
+ /** The success response body of `GET /api/v1/private-networks`. */
182
183
  export type ListPrivateNetworksResult = operations["list-private-networks"]["responses"][200]["content"]["application/json"];
183
- /** `GET /api/v1/private-networks` 的查询参数。 */
184
+ /** The query parameters of `GET /api/v1/private-networks`. */
184
185
  export type ListPrivateNetworksQuery = operations["list-private-networks"]["parameters"]["query"];
185
- /** `POST /api/v1/private-networks` 成功时的响应体。 */
186
+ /** The success response body of `POST /api/v1/private-networks`. */
186
187
  export type CreatePrivateNetworkResult = operations["create-private-network"]["responses"][201]["content"]["application/json"];
187
- /** `POST /api/v1/private-networks` 的请求体。 */
188
+ /** The request body of `POST /api/v1/private-networks`. */
188
189
  export type CreatePrivateNetworkBody = NonNullable<operations["create-private-network"]["requestBody"]>["content"]["application/json"];
189
- /** `GET /api/v1/private-networks/{privateNetworkId}` 成功时的响应体。 */
190
+ /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}`. */
190
191
  export type GetPrivateNetworkResult = operations["get-private-network"]["responses"][200]["content"]["application/json"];
191
- /** `PATCH /api/v1/private-networks/{privateNetworkId}` 成功时的响应体。 */
192
+ /** The success response body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
192
193
  export type RenamePrivateNetworkResult = operations["rename-private-network"]["responses"][200]["content"]["application/json"];
193
- /** `PATCH /api/v1/private-networks/{privateNetworkId}` 的请求体。 */
194
+ /** The request body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
194
195
  export type RenamePrivateNetworkBody = NonNullable<operations["rename-private-network"]["requestBody"]>["content"]["application/json"];
195
- /** `GET /api/v1/private-networks/{privateNetworkId}/ipv6` 成功时的响应体。 */
196
+ /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/ipv6`. */
196
197
  export type GetPrivateNetworkIpv6Result = operations["get-private-network-ipv6"]["responses"][200]["content"]["application/json"];
197
- /** `POST /api/v1/private-networks/{privateNetworkId}/ipv6` 成功时的响应体。 */
198
+ /** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/ipv6`. */
198
199
  export type EnablePrivateNetworkIpv6Result = operations["enable-private-network-ipv6"]["responses"][200]["content"]["application/json"];
199
- /** `GET /api/v1/private-networks/{privateNetworkId}/routes` 成功时的响应体。 */
200
+ /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
200
201
  export type ListRoutesResult = operations["list-routes"]["responses"][200]["content"]["application/json"];
201
- /** `POST /api/v1/private-networks/{privateNetworkId}/routes` 成功时的响应体。 */
202
+ /** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
202
203
  export type CreateRouteResult = operations["create-route"]["responses"][201]["content"]["application/json"];
203
- /** `POST /api/v1/private-networks/{privateNetworkId}/routes` 的请求体。 */
204
+ /** The request body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
204
205
  export type CreateRouteBody = NonNullable<operations["create-route"]["requestBody"]>["content"]["application/json"];
205
- /** `GET /api/v1/private-networks/{privateNetworkId}/subnets` 成功时的响应体。 */
206
+ /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
206
207
  export type ListSubnetsResult = operations["list-subnets"]["responses"][200]["content"]["application/json"];
207
- /** `POST /api/v1/private-networks/{privateNetworkId}/subnets` 成功时的响应体。 */
208
+ /** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
208
209
  export type CreateSubnetResult = operations["create-subnet"]["responses"][201]["content"]["application/json"];
209
- /** `POST /api/v1/private-networks/{privateNetworkId}/subnets` 的请求体。 */
210
+ /** The request body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
210
211
  export type CreateSubnetBody = NonNullable<operations["create-subnet"]["requestBody"]>["content"]["application/json"];
211
- /** `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr` 成功时的响应体。 */
212
+ /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
212
213
  export type SuggestSubnetCidrResult = operations["suggest-subnet-cidr"]["responses"][200]["content"]["application/json"];
213
- /** `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr` 的查询参数。 */
214
+ /** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
214
215
  export type SuggestSubnetCidrQuery = operations["suggest-subnet-cidr"]["parameters"]["query"];
215
- /** `GET /api/v1/security-groups` 成功时的响应体。 */
216
+ /** The success response body of `GET /api/v1/security-groups`. */
216
217
  export type ListSecurityGroupsResult = operations["list-security-groups"]["responses"][200]["content"]["application/json"];
217
- /** `GET /api/v1/security-groups` 的查询参数。 */
218
+ /** The query parameters of `GET /api/v1/security-groups`. */
218
219
  export type ListSecurityGroupsQuery = operations["list-security-groups"]["parameters"]["query"];
219
- /** `POST /api/v1/security-groups` 成功时的响应体。 */
220
+ /** The success response body of `POST /api/v1/security-groups`. */
220
221
  export type CreateSecurityGroupResult = operations["create-security-group"]["responses"][201]["content"]["application/json"];
221
- /** `POST /api/v1/security-groups` 的请求体。 */
222
+ /** The request body of `POST /api/v1/security-groups`. */
222
223
  export type CreateSecurityGroupBody = NonNullable<operations["create-security-group"]["requestBody"]>["content"]["application/json"];
223
- /** `GET /api/v1/security-groups/{securityGroupId}` 成功时的响应体。 */
224
+ /** The success response body of `GET /api/v1/security-groups/{securityGroupId}`. */
224
225
  export type GetSecurityGroupResult = operations["get-security-group"]["responses"][200]["content"]["application/json"];
225
- /** `PATCH /api/v1/security-groups/{securityGroupId}` 成功时的响应体。 */
226
+ /** The success response body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
226
227
  export type RenameSecurityGroupResult = operations["rename-security-group"]["responses"][200]["content"]["application/json"];
227
- /** `PATCH /api/v1/security-groups/{securityGroupId}` 的请求体。 */
228
+ /** The request body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
228
229
  export type RenameSecurityGroupBody = NonNullable<operations["rename-security-group"]["requestBody"]>["content"]["application/json"];
229
- /** `GET /api/v1/security-groups/{securityGroupId}/rules` 成功时的响应体。 */
230
+ /** The success response body of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
230
231
  export type ListSecurityGroupRulesResult = operations["list-security-group-rules"]["responses"][200]["content"]["application/json"];
231
- /** `POST /api/v1/security-groups/{securityGroupId}/rules` 成功时的响应体。 */
232
+ /** The success response body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
232
233
  export type CreateSecurityGroupRuleResult = operations["create-security-group-rule"]["responses"][201]["content"]["application/json"];
233
- /** `POST /api/v1/security-groups/{securityGroupId}/rules` 的请求体。 */
234
+ /** The request body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
234
235
  export type CreateSecurityGroupRuleBody = NonNullable<operations["create-security-group-rule"]["requestBody"]>["content"]["application/json"];
235
- /** `GET /api/v1/snapshots` 成功时的响应体。 */
236
+ /** The success response body of `GET /api/v1/snapshots`. */
236
237
  export type ListSnapshotsResult = operations["list-snapshots"]["responses"][200]["content"]["application/json"];
237
- /** `GET /api/v1/snapshots` 的查询参数。 */
238
+ /** The query parameters of `GET /api/v1/snapshots`. */
238
239
  export type ListSnapshotsQuery = operations["list-snapshots"]["parameters"]["query"];
239
- /** `POST /api/v1/snapshots` 成功时的响应体。 */
240
+ /** The success response body of `POST /api/v1/snapshots`. */
240
241
  export type CreateSnapshotResult = operations["create-snapshot"]["responses"][201]["content"]["application/json"];
241
- /** `POST /api/v1/snapshots` 的请求体。 */
242
+ /** The request body of `POST /api/v1/snapshots`. */
242
243
  export type CreateSnapshotBody = NonNullable<operations["create-snapshot"]["requestBody"]>["content"]["application/json"];
243
- /** `GET /api/v1/snapshots/{snapshotId}` 成功时的响应体。 */
244
+ /** The success response body of `GET /api/v1/snapshots/{snapshotId}`. */
244
245
  export type GetSnapshotResult = operations["get-snapshot"]["responses"][200]["content"]["application/json"];
245
- /** `PATCH /api/v1/snapshots/{snapshotId}` 成功时的响应体。 */
246
+ /** The success response body of `PATCH /api/v1/snapshots/{snapshotId}`. */
246
247
  export type RenameSnapshotResult = operations["rename-snapshot"]["responses"][200]["content"]["application/json"];
247
- /** `PATCH /api/v1/snapshots/{snapshotId}` 的请求体。 */
248
+ /** The request body of `PATCH /api/v1/snapshots/{snapshotId}`. */
248
249
  export type RenameSnapshotBody = NonNullable<operations["rename-snapshot"]["requestBody"]>["content"]["application/json"];
@@ -1,5 +1,5 @@
1
- // scripts/generate-ts.mjs 生成,不要手改。
1
+ // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
2
  //
3
- // 别名把 operations[...] 那串下标换成一个名字。原始的 paths / components / operations
4
- // 一并导出:paths 是给 openapi-fetch createClient<paths>() 用的。
5
- export {};
3
+ // The aliases replace the operations[...] subscript chain with a name. The raw paths /
4
+ // components / operations are exported as well: paths is what createClient<paths>() takes.
5
+ export { client } from "./client.js";
@@ -0,0 +1,4 @@
1
+ import { type ClientOptions } from "openapi-fetch";
2
+ import type { paths } from "./schema.js";
3
+ /** A client for the dns service. Pass baseUrl to override the address. */
4
+ export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
@@ -0,0 +1,7 @@
1
+ // Code generated from the contract's servers[0]. DO NOT EDIT.
2
+ import createClient, {} from "openapi-fetch";
3
+ const defaultBaseUrl = "https://dns.leaflow.cloud";
4
+ /** A client for the dns service. Pass baseUrl to override the address. */
5
+ export function client(options = {}) {
6
+ return createClient({ baseUrl: defaultBaseUrl, ...options });
7
+ }
@@ -1,42 +1,43 @@
1
1
  export type { paths, components, operations, webhooks } from "./schema.js";
2
+ export { client } from "./client.js";
2
3
  import type { operations } from "./schema.js";
3
- /** `GET /api/v1/credentials` 成功时的响应体。 */
4
+ /** The success response body of `GET /api/v1/credentials`. */
4
5
  export type ListCredentialsResult = operations["list-credentials"]["responses"][200]["content"]["application/json"];
5
- /** `GET /api/v1/credentials` 的查询参数。 */
6
+ /** The query parameters of `GET /api/v1/credentials`. */
6
7
  export type ListCredentialsQuery = operations["list-credentials"]["parameters"]["query"];
7
- /** `POST /api/v1/credentials` 成功时的响应体。 */
8
+ /** The success response body of `POST /api/v1/credentials`. */
8
9
  export type CreateCredentialResult = operations["create-credential"]["responses"][201]["content"]["application/json"];
9
- /** `POST /api/v1/credentials` 的请求体。 */
10
+ /** The request body of `POST /api/v1/credentials`. */
10
11
  export type CreateCredentialBody = NonNullable<operations["create-credential"]["requestBody"]>["content"]["application/json"];
11
- /** `GET /api/v1/credentials/{credentialId}` 成功时的响应体。 */
12
+ /** The success response body of `GET /api/v1/credentials/{credentialId}`. */
12
13
  export type GetCredentialResult = operations["get-credential"]["responses"][200]["content"]["application/json"];
13
- /** `PATCH /api/v1/credentials/{credentialId}` 成功时的响应体。 */
14
+ /** The success response body of `PATCH /api/v1/credentials/{credentialId}`. */
14
15
  export type RenameCredentialResult = operations["rename-credential"]["responses"][200]["content"]["application/json"];
15
- /** `PATCH /api/v1/credentials/{credentialId}` 的请求体。 */
16
+ /** The request body of `PATCH /api/v1/credentials/{credentialId}`. */
16
17
  export type RenameCredentialBody = NonNullable<operations["rename-credential"]["requestBody"]>["content"]["application/json"];
17
- /** `POST /api/v1/credentials/{credentialId}/verification` 成功时的响应体。 */
18
+ /** The success response body of `POST /api/v1/credentials/{credentialId}/verification`. */
18
19
  export type VerifyCredentialResult = operations["verify-credential"]["responses"][200]["content"]["application/json"];
19
- /** `GET /api/v1/zones` 成功时的响应体。 */
20
+ /** The success response body of `GET /api/v1/zones`. */
20
21
  export type ListZonesResult = operations["list-zones"]["responses"][200]["content"]["application/json"];
21
- /** `GET /api/v1/zones` 的查询参数。 */
22
+ /** The query parameters of `GET /api/v1/zones`. */
22
23
  export type ListZonesQuery = operations["list-zones"]["parameters"]["query"];
23
- /** `GET /api/v1/zones/{zone}/records` 成功时的响应体。 */
24
+ /** The success response body of `GET /api/v1/zones/{zone}/records`. */
24
25
  export type ListRecordsResult = operations["list-records"]["responses"][200]["content"]["application/json"];
25
- /** `GET /api/v1/zones/{zone}/records` 的查询参数。 */
26
+ /** The query parameters of `GET /api/v1/zones/{zone}/records`. */
26
27
  export type ListRecordsQuery = operations["list-records"]["parameters"]["query"];
27
- /** `GET /api/v1/zones/{zone}/records/{name}/{type}` 成功时的响应体。 */
28
+ /** The success response body of `GET /api/v1/zones/{zone}/records/{name}/{type}`. */
28
29
  export type GetRecordSetResult = operations["get-record-set"]["responses"][200]["content"]["application/json"];
29
- /** `PUT /api/v1/zones/{zone}/records/{name}/{type}` 成功时的响应体。 */
30
+ /** The success response body of `PUT /api/v1/zones/{zone}/records/{name}/{type}`. */
30
31
  export type SetRecordSetResult = operations["set-record-set"]["responses"][200]["content"]["application/json"];
31
- /** `PUT /api/v1/zones/{zone}/records/{name}/{type}` 的查询参数。 */
32
+ /** The query parameters of `PUT /api/v1/zones/{zone}/records/{name}/{type}`. */
32
33
  export type SetRecordSetQuery = operations["set-record-set"]["parameters"]["query"];
33
- /** `PUT /api/v1/zones/{zone}/records/{name}/{type}` 的请求体。 */
34
+ /** The request body of `PUT /api/v1/zones/{zone}/records/{name}/{type}`. */
34
35
  export type SetRecordSetBody = NonNullable<operations["set-record-set"]["requestBody"]>["content"]["application/json"];
35
- /** `PATCH /api/v1/zones/{zone}/records/{name}/{type}` 成功时的响应体。 */
36
+ /** The success response body of `PATCH /api/v1/zones/{zone}/records/{name}/{type}`. */
36
37
  export type ModifyRecordSetResult = operations["modify-record-set"]["responses"][200]["content"]["application/json"];
37
- /** `PATCH /api/v1/zones/{zone}/records/{name}/{type}` 的查询参数。 */
38
+ /** The query parameters of `PATCH /api/v1/zones/{zone}/records/{name}/{type}`. */
38
39
  export type ModifyRecordSetQuery = operations["modify-record-set"]["parameters"]["query"];
39
- /** `PATCH /api/v1/zones/{zone}/records/{name}/{type}` 的请求体。 */
40
+ /** The request body of `PATCH /api/v1/zones/{zone}/records/{name}/{type}`. */
40
41
  export type ModifyRecordSetBody = NonNullable<operations["modify-record-set"]["requestBody"]>["content"]["application/json"];
41
- /** `DELETE /api/v1/zones/{zone}/records/{name}/{type}` 的查询参数。 */
42
+ /** The query parameters of `DELETE /api/v1/zones/{zone}/records/{name}/{type}`. */
42
43
  export type DeleteRecordSetQuery = operations["delete-record-set"]["parameters"]["query"];
@@ -1,5 +1,5 @@
1
- // scripts/generate-ts.mjs 生成,不要手改。
1
+ // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
2
  //
3
- // 别名把 operations[...] 那串下标换成一个名字。原始的 paths / components / operations
4
- // 一并导出:paths 是给 openapi-fetch createClient<paths>() 用的。
5
- export {};
3
+ // The aliases replace the operations[...] subscript chain with a name. The raw paths /
4
+ // components / operations are exported as well: paths is what createClient<paths>() takes.
5
+ export { client } from "./client.js";
@@ -0,0 +1,4 @@
1
+ import { type ClientOptions } from "openapi-fetch";
2
+ import type { paths } from "./schema.js";
3
+ /** A client for the fleet service. Pass baseUrl to override the address. */
4
+ export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
@@ -0,0 +1,7 @@
1
+ // Code generated from the contract's servers[0]. DO NOT EDIT.
2
+ import createClient, {} from "openapi-fetch";
3
+ const defaultBaseUrl = "https://fleet.leaflow.cloud";
4
+ /** A client for the fleet service. Pass baseUrl to override the address. */
5
+ export function client(options = {}) {
6
+ return createClient({ baseUrl: defaultBaseUrl, ...options });
7
+ }
@@ -1,6 +1,7 @@
1
1
  export type { paths, components, operations, webhooks } from "./schema.js";
2
+ export { client } from "./client.js";
2
3
  import type { operations } from "./schema.js";
3
- /** `GET /api/v1/regions` 成功时的响应体。 */
4
+ /** The success response body of `GET /api/v1/regions`. */
4
5
  export type ListRegionsResult = operations["list-regions"]["responses"][200]["content"]["application/json"];
5
- /** `GET /api/v1/regions/{regionCode}/availability-zones` 成功时的响应体。 */
6
+ /** The success response body of `GET /api/v1/regions/{regionCode}/availability-zones`. */
6
7
  export type ListAvailabilityZonesResult = operations["list-availability-zones"]["responses"][200]["content"]["application/json"];
@@ -1,5 +1,5 @@
1
- // scripts/generate-ts.mjs 生成,不要手改。
1
+ // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
2
  //
3
- // 别名把 operations[...] 那串下标换成一个名字。原始的 paths / components / operations
4
- // 一并导出:paths 是给 openapi-fetch createClient<paths>() 用的。
5
- export {};
3
+ // The aliases replace the operations[...] subscript chain with a name. The raw paths /
4
+ // components / operations are exported as well: paths is what createClient<paths>() takes.
5
+ export { client } from "./client.js";
@@ -0,0 +1,4 @@
1
+ import { type ClientOptions } from "openapi-fetch";
2
+ import type { paths } from "./schema.js";
3
+ /** A client for the iam service. Pass baseUrl to override the address. */
4
+ export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
@@ -0,0 +1,7 @@
1
+ // Code generated from the contract's servers[0]. DO NOT EDIT.
2
+ import createClient, {} from "openapi-fetch";
3
+ const defaultBaseUrl = "https://iam.leaflow.cloud";
4
+ /** A client for the iam service. Pass baseUrl to override the address. */
5
+ export function client(options = {}) {
6
+ return createClient({ baseUrl: defaultBaseUrl, ...options });
7
+ }