@leaflow/sdk 0.75.0 → 0.77.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/billing/v1/index.d.ts +6 -6
- package/dist/billing/v1/schema.d.ts +61 -91
- package/dist/compute/v1/schema.d.ts +31 -23
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -3
- package/package.json +1 -13
- package/dist/fabric/v1/client.d.ts +0 -4
- package/dist/fabric/v1/client.js +0 -7
- package/dist/fabric/v1/index.d.ts +0 -115
- package/dist/fabric/v1/index.js +0 -5
- package/dist/fabric/v1/schema.d.ts +0 -2311
- package/dist/fabric/v1/schema.js +0 -5
- package/dist/fleet/v1/client.d.ts +0 -4
- package/dist/fleet/v1/client.js +0 -7
- package/dist/fleet/v1/index.d.ts +0 -15
- package/dist/fleet/v1/index.js +0 -5
- package/dist/fleet/v1/schema.d.ts +0 -291
- package/dist/fleet/v1/schema.js +0 -5
- package/dist/storage/v1/client.d.ts +0 -4
- package/dist/storage/v1/client.js +0 -7
- package/dist/storage/v1/index.d.ts +0 -35
- package/dist/storage/v1/index.js +0 -5
- package/dist/storage/v1/schema.d.ts +0 -751
- package/dist/storage/v1/schema.js +0 -5
package/dist/fabric/v1/schema.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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}`>;
|
package/dist/fleet/v1/client.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/fleet/v1/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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"];
|
package/dist/fleet/v1/index.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
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";
|
|
@@ -1,291 +0,0 @@
|
|
|
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
|
-
}
|
package/dist/fleet/v1/schema.js
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { type ClientOptions } from "openapi-fetch";
|
|
2
|
-
import type { paths } from "./schema.js";
|
|
3
|
-
/** A client for the storage service. Pass baseUrl to override the address. */
|
|
4
|
-
export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// Code generated from the contract's servers[0]. DO NOT EDIT.
|
|
2
|
-
import createClient, {} from "openapi-fetch";
|
|
3
|
-
const defaultBaseUrl = "https://storage.leaflow.cloud";
|
|
4
|
-
/** A client for the storage service. Pass baseUrl to override the address. */
|
|
5
|
-
export function client(options = {}) {
|
|
6
|
-
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
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/disk-types`. */
|
|
5
|
-
export type ListDiskTypesResult = operations["list-disk-types"]["responses"][200]["content"]["application/json"];
|
|
6
|
-
/** The success response body of `GET /api/v1/disk-types/{diskTypeId}`. */
|
|
7
|
-
export type GetDiskTypeResult = operations["get-disk-type"]["responses"][200]["content"]["application/json"];
|
|
8
|
-
/** The success response body of `GET /api/v1/disks`. */
|
|
9
|
-
export type ListDisksResult = operations["list-disks"]["responses"][200]["content"]["application/json"];
|
|
10
|
-
/** The success response body of `POST /api/v1/disks`. */
|
|
11
|
-
export type CreateDiskResult = operations["create-disk"]["responses"][202]["content"]["application/json"];
|
|
12
|
-
/** The request body of `POST /api/v1/disks`. */
|
|
13
|
-
export type CreateDiskBody = NonNullable<operations["create-disk"]["requestBody"]>["content"]["application/json"];
|
|
14
|
-
/** The success response body of `GET /api/v1/disks/{diskId}`. */
|
|
15
|
-
export type GetDiskResult = operations["get-disk"]["responses"][200]["content"]["application/json"];
|
|
16
|
-
/** The success response body of `PATCH /api/v1/disks/{diskId}`. */
|
|
17
|
-
export type RenameDiskResult = operations["rename-disk"]["responses"][200]["content"]["application/json"];
|
|
18
|
-
/** The request body of `PATCH /api/v1/disks/{diskId}`. */
|
|
19
|
-
export type RenameDiskBody = NonNullable<operations["rename-disk"]["requestBody"]>["content"]["application/json"];
|
|
20
|
-
/** The query parameters of `DELETE /api/v1/disks/{diskId}`. */
|
|
21
|
-
export type DeleteDiskQuery = operations["delete-disk"]["parameters"]["query"];
|
|
22
|
-
/** The success response body of `GET /api/v1/resource-usages`. */
|
|
23
|
-
export type ListResourceUsagesResult = operations["list-resource-usages"]["responses"][200]["content"]["application/json"];
|
|
24
|
-
/** The success response body of `GET /api/v1/resource-usages/{usageId}`. */
|
|
25
|
-
export type GetResourceUsageResult = operations["get-resource-usage"]["responses"][200]["content"]["application/json"];
|
|
26
|
-
/** The success response body of `GET /api/v1/resources/{resourceType}/{resourceId}/reclamation`. */
|
|
27
|
-
export type GetResourceReclamationResult = operations["get-resource-reclamation"]["responses"][200]["content"]["application/json"];
|
|
28
|
-
/** The success response body of `PUT /api/v1/resources/{resourceType}/{resourceId}/idle-policy`. */
|
|
29
|
-
export type SetResourceIdlePolicyResult = operations["set-resource-idle-policy"]["responses"][200]["content"]["application/json"];
|
|
30
|
-
/** The request body of `PUT /api/v1/resources/{resourceType}/{resourceId}/idle-policy`. */
|
|
31
|
-
export type SetResourceIdlePolicyBody = NonNullable<operations["set-resource-idle-policy"]["requestBody"]>["content"]["application/json"];
|
|
32
|
-
/** The success response body of `GET /api/v1/disks/{diskId}/attachments`. */
|
|
33
|
-
export type ListDiskAttachmentsResult = operations["list-disk-attachments"]["responses"][200]["content"]["application/json"];
|
|
34
|
-
/** The success response body of `GET /api/v1/attachments/{attachmentId}`. */
|
|
35
|
-
export type GetAttachmentResult = operations["get-attachment"]["responses"][200]["content"]["application/json"];
|
package/dist/storage/v1/index.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
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";
|