@leaflow/sdk 0.0.0-dev.17.geb299fb → 0.0.0-dev.172.g8c535ea

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 (81) hide show
  1. package/README.md +13 -1
  2. package/dist/account/v1/client.d.ts +4 -0
  3. package/dist/account/v1/client.js +7 -0
  4. package/dist/account/v1/index.d.ts +34 -21
  5. package/dist/account/v1/index.js +4 -4
  6. package/dist/account/v1/schema.d.ts +374 -81
  7. package/dist/assistant/v1/client.d.ts +4 -0
  8. package/dist/assistant/v1/client.js +7 -0
  9. package/dist/assistant/v1/index.d.ts +69 -40
  10. package/dist/assistant/v1/index.js +4 -4
  11. package/dist/assistant/v1/schema.d.ts +1089 -133
  12. package/dist/billing/v1/client.d.ts +6 -0
  13. package/dist/billing/v1/client.js +6 -0
  14. package/dist/billing/v1/index.d.ts +205 -0
  15. package/dist/billing/v1/index.js +5 -0
  16. package/dist/billing/v1/schema.d.ts +4976 -0
  17. package/dist/billing/v1/schema.js +5 -0
  18. package/dist/canopy/v1/client.d.ts +4 -0
  19. package/dist/canopy/v1/client.js +7 -0
  20. package/dist/canopy/v1/index.d.ts +24 -23
  21. package/dist/canopy/v1/index.js +4 -4
  22. package/dist/canopy/v1/schema.d.ts +113 -109
  23. package/dist/compute/v1/client.d.ts +4 -0
  24. package/dist/compute/v1/client.js +7 -0
  25. package/dist/compute/v1/index.d.ts +172 -125
  26. package/dist/compute/v1/index.js +4 -4
  27. package/dist/compute/v1/schema.d.ts +1567 -471
  28. package/dist/dns/v1/client.d.ts +4 -0
  29. package/dist/dns/v1/client.js +7 -0
  30. package/dist/dns/v1/index.d.ts +43 -0
  31. package/dist/dns/v1/index.js +5 -0
  32. package/dist/dns/v1/schema.d.ts +887 -0
  33. package/dist/dns/v1/schema.js +5 -0
  34. package/dist/fabric/v1/client.d.ts +4 -0
  35. package/dist/fabric/v1/client.js +7 -0
  36. package/dist/fabric/v1/index.d.ts +115 -0
  37. package/dist/fabric/v1/index.js +5 -0
  38. package/dist/fabric/v1/schema.d.ts +2311 -0
  39. package/dist/fabric/v1/schema.js +5 -0
  40. package/dist/fleet/v1/client.d.ts +4 -0
  41. package/dist/fleet/v1/client.js +7 -0
  42. package/dist/fleet/v1/index.d.ts +15 -0
  43. package/dist/fleet/v1/index.js +5 -0
  44. package/dist/fleet/v1/schema.d.ts +291 -0
  45. package/dist/fleet/v1/schema.js +5 -0
  46. package/dist/iam/v1/client.d.ts +4 -0
  47. package/dist/iam/v1/client.js +7 -0
  48. package/dist/iam/v1/index.d.ts +55 -32
  49. package/dist/iam/v1/index.js +4 -4
  50. package/dist/iam/v1/schema.d.ts +521 -88
  51. package/dist/index.d.ts +14 -7
  52. package/dist/index.js +22 -5
  53. package/dist/monitoring/v1/client.d.ts +4 -0
  54. package/dist/monitoring/v1/client.js +7 -0
  55. package/dist/monitoring/v1/index.d.ts +130 -49
  56. package/dist/monitoring/v1/index.js +4 -4
  57. package/dist/monitoring/v1/schema.d.ts +2420 -527
  58. package/dist/notification/v1/client.d.ts +4 -0
  59. package/dist/notification/v1/client.js +7 -0
  60. package/dist/notification/v1/index.d.ts +77 -0
  61. package/dist/notification/v1/index.js +5 -0
  62. package/dist/notification/v1/schema.d.ts +2048 -0
  63. package/dist/notification/v1/schema.js +5 -0
  64. package/dist/storage/v1/client.d.ts +4 -0
  65. package/dist/storage/v1/client.js +7 -0
  66. package/dist/storage/v1/index.d.ts +35 -0
  67. package/dist/storage/v1/index.js +5 -0
  68. package/dist/storage/v1/schema.d.ts +751 -0
  69. package/dist/storage/v1/schema.js +5 -0
  70. package/dist/support/v1/client.d.ts +4 -0
  71. package/dist/support/v1/client.js +7 -0
  72. package/dist/support/v1/index.d.ts +51 -0
  73. package/dist/support/v1/index.js +5 -0
  74. package/dist/support/v1/schema.d.ts +1082 -0
  75. package/dist/support/v1/schema.js +5 -0
  76. package/dist/tunnel/v1/client.d.ts +4 -0
  77. package/dist/tunnel/v1/client.js +7 -0
  78. package/dist/tunnel/v1/index.d.ts +8 -7
  79. package/dist/tunnel/v1/index.js +4 -4
  80. package/dist/tunnel/v1/schema.d.ts +40 -34
  81. package/package.json +34 -10
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export {};
@@ -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
+ }
@@ -0,0 +1,15 @@
1
+ export type { paths, components, operations, webhooks } from "./schema.js";
2
+ export { client } from "./client.js";
3
+ import type { operations } from "./schema.js";
4
+ /** The success response body of `GET /api/v1/regions`. */
5
+ export type ListRegionsResult = operations["list-regions"]["responses"][200]["content"]["application/json"];
6
+ /** The query parameters of `GET /api/v1/regions`. */
7
+ export type ListRegionsQuery = operations["list-regions"]["parameters"]["query"];
8
+ /** The success response body of `GET /api/v1/regions/{regionId}`. */
9
+ export type GetRegionResult = operations["get-region"]["responses"][200]["content"]["application/json"];
10
+ /** The success response body of `GET /api/v1/regions/{regionId}/availability-zones`. */
11
+ export type ListAvailabilityZonesResult = operations["list-availability-zones"]["responses"][200]["content"]["application/json"];
12
+ /** The query parameters of `GET /api/v1/regions/{regionId}/availability-zones`. */
13
+ export type ListAvailabilityZonesQuery = operations["list-availability-zones"]["parameters"]["query"];
14
+ /** The success response body of `GET /api/v1/regions/{regionId}/availability-zones/{availabilityZoneId}`. */
15
+ export type GetAvailabilityZoneResult = operations["get-availability-zone"]["responses"][200]["content"]["application/json"];
@@ -0,0 +1,5 @@
1
+ // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
+ //
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,291 @@
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/regions": {
7
+ parameters: {
8
+ query?: never;
9
+ header?: never;
10
+ path?: never;
11
+ cookie?: never;
12
+ };
13
+ /**
14
+ * List regions
15
+ * @description Lists available, draining and retired regions; pending locations are visible only to operators. Filter status=available to offer new placement choices.
16
+ */
17
+ get: operations["list-regions"];
18
+ put?: never;
19
+ post?: never;
20
+ delete?: never;
21
+ options?: never;
22
+ head?: never;
23
+ patch?: never;
24
+ trace?: never;
25
+ };
26
+ "/api/v1/regions/{regionId}": {
27
+ parameters: {
28
+ query?: never;
29
+ header?: never;
30
+ path?: never;
31
+ cookie?: never;
32
+ };
33
+ /** Get region */
34
+ get: operations["get-region"];
35
+ put?: never;
36
+ post?: never;
37
+ delete?: never;
38
+ options?: never;
39
+ head?: never;
40
+ patch?: never;
41
+ trace?: never;
42
+ };
43
+ "/api/v1/regions/{regionId}/availability-zones": {
44
+ parameters: {
45
+ query?: never;
46
+ header?: never;
47
+ path?: never;
48
+ cookie?: never;
49
+ };
50
+ /** List availability zones */
51
+ get: operations["list-availability-zones"];
52
+ put?: never;
53
+ post?: never;
54
+ delete?: never;
55
+ options?: never;
56
+ head?: never;
57
+ patch?: never;
58
+ trace?: never;
59
+ };
60
+ "/api/v1/regions/{regionId}/availability-zones/{availabilityZoneId}": {
61
+ parameters: {
62
+ query?: never;
63
+ header?: never;
64
+ path?: never;
65
+ cookie?: never;
66
+ };
67
+ /** Get availability zone */
68
+ get: operations["get-availability-zone"];
69
+ put?: never;
70
+ post?: never;
71
+ delete?: never;
72
+ options?: never;
73
+ head?: never;
74
+ patch?: never;
75
+ trace?: never;
76
+ };
77
+ }
78
+ export type webhooks = Record<string, never>;
79
+ export interface components {
80
+ schemas: {
81
+ Error: {
82
+ code?: string;
83
+ message: string;
84
+ /**
85
+ * @description What a given `code` carries alongside the message. The keys depend on the code,
86
+ * and a client that does not recognise one ignores it.
87
+ */
88
+ meta?: {
89
+ [key: string]: unknown;
90
+ };
91
+ /** Format: int64 */
92
+ status: number;
93
+ };
94
+ Region: {
95
+ /** Format: uuid */
96
+ id: string;
97
+ lookup_key: string;
98
+ name: string;
99
+ name_translations?: {
100
+ [key: string]: string;
101
+ };
102
+ country_code: string;
103
+ /** @enum {string} */
104
+ status: "pending" | "available" | "draining" | "retired";
105
+ /** Format: int64 */
106
+ sort: number;
107
+ /** Format: date-time */
108
+ created_at: string;
109
+ /** Format: date-time */
110
+ updated_at: string;
111
+ };
112
+ AvailabilityZone: {
113
+ /** Format: uuid */
114
+ id: string;
115
+ /** Format: uuid */
116
+ region_id: string;
117
+ lookup_key: string;
118
+ name: string;
119
+ name_translations?: {
120
+ [key: string]: string;
121
+ };
122
+ /** @enum {string} */
123
+ status: "pending" | "available" | "draining" | "retired";
124
+ /** Format: int64 */
125
+ sort: number;
126
+ /** Format: date-time */
127
+ created_at: string;
128
+ /** Format: date-time */
129
+ updated_at: string;
130
+ };
131
+ RegionList: {
132
+ items: components["schemas"]["Region"][];
133
+ /** Format: int64 */
134
+ page: number;
135
+ /** Format: int64 */
136
+ page_size: number;
137
+ /** Format: int64 */
138
+ total_count?: number;
139
+ };
140
+ AvailabilityZoneList: {
141
+ items: components["schemas"]["AvailabilityZone"][];
142
+ /** Format: int64 */
143
+ page: number;
144
+ /** Format: int64 */
145
+ page_size: number;
146
+ /** Format: int64 */
147
+ total_count?: number;
148
+ };
149
+ };
150
+ responses: never;
151
+ parameters: never;
152
+ requestBodies: never;
153
+ headers: never;
154
+ pathItems: never;
155
+ }
156
+ export type $defs = Record<string, never>;
157
+ export interface operations {
158
+ "list-regions": {
159
+ parameters: {
160
+ query?: {
161
+ page?: number;
162
+ page_size?: number;
163
+ status?: "pending" | "available" | "draining" | "retired";
164
+ lookup_key?: string;
165
+ };
166
+ header?: never;
167
+ path?: never;
168
+ cookie?: never;
169
+ };
170
+ requestBody?: never;
171
+ responses: {
172
+ /** @description OK */
173
+ 200: {
174
+ headers: {
175
+ [name: string]: unknown;
176
+ };
177
+ content: {
178
+ "application/json": components["schemas"]["RegionList"];
179
+ };
180
+ };
181
+ /** @description Error */
182
+ default: {
183
+ headers: {
184
+ [name: string]: unknown;
185
+ };
186
+ content: {
187
+ "application/json": components["schemas"]["Error"];
188
+ };
189
+ };
190
+ };
191
+ };
192
+ "get-region": {
193
+ parameters: {
194
+ query?: never;
195
+ header?: never;
196
+ path: {
197
+ regionId: string;
198
+ };
199
+ cookie?: never;
200
+ };
201
+ requestBody?: never;
202
+ responses: {
203
+ /** @description OK */
204
+ 200: {
205
+ headers: {
206
+ [name: string]: unknown;
207
+ };
208
+ content: {
209
+ "application/json": components["schemas"]["Region"];
210
+ };
211
+ };
212
+ /** @description Error */
213
+ default: {
214
+ headers: {
215
+ [name: string]: unknown;
216
+ };
217
+ content: {
218
+ "application/json": components["schemas"]["Error"];
219
+ };
220
+ };
221
+ };
222
+ };
223
+ "list-availability-zones": {
224
+ parameters: {
225
+ query?: {
226
+ page?: number;
227
+ page_size?: number;
228
+ status?: "pending" | "available" | "draining" | "retired";
229
+ lookup_key?: string;
230
+ };
231
+ header?: never;
232
+ path: {
233
+ regionId: string;
234
+ };
235
+ cookie?: never;
236
+ };
237
+ requestBody?: never;
238
+ responses: {
239
+ /** @description OK */
240
+ 200: {
241
+ headers: {
242
+ [name: string]: unknown;
243
+ };
244
+ content: {
245
+ "application/json": components["schemas"]["AvailabilityZoneList"];
246
+ };
247
+ };
248
+ /** @description Error */
249
+ default: {
250
+ headers: {
251
+ [name: string]: unknown;
252
+ };
253
+ content: {
254
+ "application/json": components["schemas"]["Error"];
255
+ };
256
+ };
257
+ };
258
+ };
259
+ "get-availability-zone": {
260
+ parameters: {
261
+ query?: never;
262
+ header?: never;
263
+ path: {
264
+ regionId: string;
265
+ availabilityZoneId: string;
266
+ };
267
+ cookie?: never;
268
+ };
269
+ requestBody?: never;
270
+ responses: {
271
+ /** @description OK */
272
+ 200: {
273
+ headers: {
274
+ [name: string]: unknown;
275
+ };
276
+ content: {
277
+ "application/json": components["schemas"]["AvailabilityZone"];
278
+ };
279
+ };
280
+ /** @description Error */
281
+ default: {
282
+ headers: {
283
+ [name: string]: unknown;
284
+ };
285
+ content: {
286
+ "application/json": components["schemas"]["Error"];
287
+ };
288
+ };
289
+ };
290
+ };
291
+ }
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export {};
@@ -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
+ }
@@ -1,62 +1,85 @@
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/permissions` 成功时的响应体。 */
4
+ /** The success response body of `GET /api/v1/permissions`. */
4
5
  export type ListPermissionsResult = operations["list-permissions"]["responses"][200]["content"]["application/json"];
5
- /** `DELETE /api/v1/project` 成功时的响应体。 */
6
- export type DeleteProjectResult = operations["delete-project"]["responses"][200]["content"]["application/json"];
7
- /** `GET /api/v1/project` 成功时的响应体。 */
6
+ /** The success response body of `GET /api/v1/project`. */
8
7
  export type GetProjectResult = operations["get-project"]["responses"][200]["content"]["application/json"];
9
- /** `PATCH /api/v1/project` 成功时的响应体。 */
8
+ /** The success response body of `PATCH /api/v1/project`. */
10
9
  export type UpdateProjectResult = operations["update-project"]["responses"][200]["content"]["application/json"];
11
- /** `PATCH /api/v1/project` 的请求体。 */
10
+ /** The request body of `PATCH /api/v1/project`. */
12
11
  export type UpdateProjectBody = NonNullable<operations["update-project"]["requestBody"]>["content"]["application/json"];
13
- /** `GET /api/v1/membership` 成功时的响应体。 */
12
+ /** The success response body of `DELETE /api/v1/project`. */
13
+ export type DeleteProjectResult = operations["delete-project"]["responses"][200]["content"]["application/json"];
14
+ /** The success response body of `GET /api/v1/membership`. */
14
15
  export type GetProjectMembershipResult = operations["get-project-membership"]["responses"][200]["content"]["application/json"];
15
- /** `GET /api/v1/invitations` 成功时的响应体。 */
16
+ /** The success response body of `GET /api/v1/invitations`. */
16
17
  export type ListProjectInvitationsResult = operations["list-project-invitations"]["responses"][200]["content"]["application/json"];
17
- /** `GET /api/v1/invitations` 的查询参数。 */
18
+ /** The query parameters of `GET /api/v1/invitations`. */
18
19
  export type ListProjectInvitationsQuery = operations["list-project-invitations"]["parameters"]["query"];
19
- /** `POST /api/v1/invitations` 成功时的响应体。 */
20
+ /** The success response body of `POST /api/v1/invitations`. */
20
21
  export type IssueInvitationResult = operations["issue-invitation"]["responses"][201]["content"]["application/json"];
21
- /** `POST /api/v1/invitations` 的请求体。 */
22
+ /** The request body of `POST /api/v1/invitations`. */
22
23
  export type IssueInvitationBody = NonNullable<operations["issue-invitation"]["requestBody"]>["content"]["application/json"];
23
- /** `GET /api/v1/members` 成功时的响应体。 */
24
+ /** The success response body of `POST /api/v1/members:batchGet`. */
25
+ export type BatchGetMembersResult = operations["batch-get-members"]["responses"][200]["content"]["application/json"];
26
+ /** The request body of `POST /api/v1/members:batchGet`. */
27
+ export type BatchGetMembersBody = NonNullable<operations["batch-get-members"]["requestBody"]>["content"]["application/json"];
28
+ /** The success response body of `GET /api/v1/members`. */
24
29
  export type ListMembersResult = operations["list-members"]["responses"][200]["content"]["application/json"];
25
- /** `GET /api/v1/members` 的查询参数。 */
30
+ /** The query parameters of `GET /api/v1/members`. */
26
31
  export type ListMembersQuery = operations["list-members"]["parameters"]["query"];
27
- /** `PUT /api/v1/members/{userId}/roles` 成功时的响应体。 */
32
+ /** The success response body of `PUT /api/v1/members/{userId}/roles`. */
28
33
  export type SetMemberRolesResult = operations["set-member-roles"]["responses"][200]["content"]["application/json"];
29
- /** `PUT /api/v1/members/{userId}/roles` 的请求体。 */
34
+ /** The request body of `PUT /api/v1/members/{userId}/roles`. */
30
35
  export type SetMemberRolesBody = NonNullable<operations["set-member-roles"]["requestBody"]>["content"]["application/json"];
31
- /** `POST /api/v1/transfer-ownership` 成功时的响应体。 */
36
+ /** The success response body of `PUT /api/v1/members/{userId}/permissions`. */
37
+ export type SetMemberPermissionsResult = operations["set-member-permissions"]["responses"][200]["content"]["application/json"];
38
+ /** The request body of `PUT /api/v1/members/{userId}/permissions`. */
39
+ export type SetMemberPermissionsBody = NonNullable<operations["set-member-permissions"]["requestBody"]>["content"]["application/json"];
40
+ /** The success response body of `GET /api/v1/policies`. */
41
+ export type ListPoliciesResult = operations["list-policies"]["responses"][200]["content"]["application/json"];
42
+ /** The query parameters of `GET /api/v1/policies`. */
43
+ export type ListPoliciesQuery = operations["list-policies"]["parameters"]["query"];
44
+ /** The success response body of `POST /api/v1/policies`. */
45
+ export type AttachPolicyResult = operations["attach-policy"]["responses"][201]["content"]["application/json"];
46
+ /** The request body of `POST /api/v1/policies`. */
47
+ export type AttachPolicyBody = NonNullable<operations["attach-policy"]["requestBody"]>["content"]["application/json"];
48
+ /** The success response body of `GET /api/v1/policies/{policyId}`. */
49
+ export type GetPolicyResult = operations["get-policy"]["responses"][200]["content"]["application/json"];
50
+ /** The success response body of `PUT /api/v1/policies/{policyId}`. */
51
+ export type UpdatePolicyResult = operations["update-policy"]["responses"][200]["content"]["application/json"];
52
+ /** The request body of `PUT /api/v1/policies/{policyId}`. */
53
+ export type UpdatePolicyBody = NonNullable<operations["update-policy"]["requestBody"]>["content"]["application/json"];
54
+ /** The success response body of `POST /api/v1/transfer-ownership`. */
32
55
  export type TransferProjectOwnershipResult = operations["transfer-project-ownership"]["responses"][200]["content"]["application/json"];
33
- /** `POST /api/v1/transfer-ownership` 的请求体。 */
56
+ /** The request body of `POST /api/v1/transfer-ownership`. */
34
57
  export type TransferProjectOwnershipBody = NonNullable<operations["transfer-project-ownership"]["requestBody"]>["content"]["application/json"];
35
- /** `GET /api/v1/roles` 成功时的响应体。 */
58
+ /** The success response body of `GET /api/v1/roles`. */
36
59
  export type ListRolesResult = operations["list-roles"]["responses"][200]["content"]["application/json"];
37
- /** `POST /api/v1/roles` 成功时的响应体。 */
60
+ /** The success response body of `POST /api/v1/roles`. */
38
61
  export type CreateRoleResult = operations["create-role"]["responses"][201]["content"]["application/json"];
39
- /** `POST /api/v1/roles` 的请求体。 */
62
+ /** The request body of `POST /api/v1/roles`. */
40
63
  export type CreateRoleBody = NonNullable<operations["create-role"]["requestBody"]>["content"]["application/json"];
41
- /** `GET /api/v1/roles/{code}` 成功时的响应体。 */
64
+ /** The success response body of `GET /api/v1/roles/{code}`. */
42
65
  export type GetRoleResult = operations["get-role"]["responses"][200]["content"]["application/json"];
43
- /** `PUT /api/v1/roles/{code}` 成功时的响应体。 */
66
+ /** The success response body of `PUT /api/v1/roles/{code}`. */
44
67
  export type UpdateRoleResult = operations["update-role"]["responses"][200]["content"]["application/json"];
45
- /** `PUT /api/v1/roles/{code}` 的请求体。 */
68
+ /** The request body of `PUT /api/v1/roles/{code}`. */
46
69
  export type UpdateRoleBody = NonNullable<operations["update-role"]["requestBody"]>["content"]["application/json"];
47
- /** `GET /api/v1/ssh-keys` 成功时的响应体。 */
70
+ /** The success response body of `GET /api/v1/ssh-keys`. */
48
71
  export type ListSshKeysResult = operations["list-ssh-keys"]["responses"][200]["content"]["application/json"];
49
- /** `GET /api/v1/ssh-keys` 的查询参数。 */
72
+ /** The query parameters of `GET /api/v1/ssh-keys`. */
50
73
  export type ListSshKeysQuery = operations["list-ssh-keys"]["parameters"]["query"];
51
- /** `POST /api/v1/ssh-keys` 成功时的响应体。 */
74
+ /** The success response body of `POST /api/v1/ssh-keys`. */
52
75
  export type CreateSshKeyResult = operations["create-ssh-key"]["responses"][201]["content"]["application/json"];
53
- /** `POST /api/v1/ssh-keys` 的请求体。 */
76
+ /** The request body of `POST /api/v1/ssh-keys`. */
54
77
  export type CreateSshKeyBody = NonNullable<operations["create-ssh-key"]["requestBody"]>["content"]["application/json"];
55
- /** `DELETE /api/v1/ssh-keys/{keyId}` 成功时的响应体。 */
56
- export type RevokeSshKeyResult = operations["revoke-ssh-key"]["responses"][200]["content"]["application/json"];
57
- /** `GET /api/v1/ssh-keys/{keyId}` 成功时的响应体。 */
78
+ /** The success response body of `GET /api/v1/ssh-keys/{keyId}`. */
58
79
  export type GetSshKeyResult = operations["get-ssh-key"]["responses"][200]["content"]["application/json"];
59
- /** `PATCH /api/v1/ssh-keys/{keyId}` 成功时的响应体。 */
80
+ /** The success response body of `PATCH /api/v1/ssh-keys/{keyId}`. */
60
81
  export type RenameSshKeyResult = operations["rename-ssh-key"]["responses"][200]["content"]["application/json"];
61
- /** `PATCH /api/v1/ssh-keys/{keyId}` 的请求体。 */
82
+ /** The request body of `PATCH /api/v1/ssh-keys/{keyId}`. */
62
83
  export type RenameSshKeyBody = NonNullable<operations["rename-ssh-key"]["requestBody"]>["content"]["application/json"];
84
+ /** The success response body of `DELETE /api/v1/ssh-keys/{keyId}`. */
85
+ export type RevokeSshKeyResult = operations["revoke-ssh-key"]["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";