@leaflow/sdk 0.62.0 → 0.65.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/compute/v1/schema.d.ts +10 -7
- package/dist/fabric/v1/schema.d.ts +11 -13
- package/dist/storage/v1/index.d.ts +3 -53
- package/dist/storage/v1/schema.d.ts +228 -1173
- package/package.json +1 -1
|
@@ -1131,12 +1131,7 @@ export interface components {
|
|
|
1131
1131
|
};
|
|
1132
1132
|
ResourceDependencyList: {
|
|
1133
1133
|
items: components["schemas"]["ResourceDependency"][];
|
|
1134
|
-
|
|
1135
|
-
page: number;
|
|
1136
|
-
/** Format: int64 */
|
|
1137
|
-
page_size: number;
|
|
1138
|
-
/** Format: int64 */
|
|
1139
|
-
total_count?: number;
|
|
1134
|
+
pagination: components["schemas"]["OffsetPagination"];
|
|
1140
1135
|
};
|
|
1141
1136
|
/** @description Storage creates and bills this system disk as a separate order line. Required when booting from an image; mutually exclusive with boot_disk_id. The selected disk type must be attachable in the instance location. */
|
|
1142
1137
|
NewBootDisk: {
|
|
@@ -1201,7 +1196,6 @@ export interface components {
|
|
|
1201
1196
|
state: "reserved" | "active" | "releasing" | "released";
|
|
1202
1197
|
/** Format: int64 */
|
|
1203
1198
|
generation: number;
|
|
1204
|
-
/** Format: uuid */
|
|
1205
1199
|
operation_id: string;
|
|
1206
1200
|
/** Format: date-time */
|
|
1207
1201
|
created_at: string;
|
|
@@ -1222,6 +1216,15 @@ export interface components {
|
|
|
1222
1216
|
/** Format: uuid */
|
|
1223
1217
|
id: string;
|
|
1224
1218
|
};
|
|
1219
|
+
/** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
|
|
1220
|
+
OffsetPagination: {
|
|
1221
|
+
/** Format: int64 */
|
|
1222
|
+
page: number;
|
|
1223
|
+
/** Format: int64 */
|
|
1224
|
+
page_size: number;
|
|
1225
|
+
/** Format: int64 */
|
|
1226
|
+
total_count?: number;
|
|
1227
|
+
};
|
|
1225
1228
|
};
|
|
1226
1229
|
responses: never;
|
|
1227
1230
|
parameters: never;
|
|
@@ -893,7 +893,6 @@ export interface components {
|
|
|
893
893
|
state: "reserved" | "active" | "releasing" | "released";
|
|
894
894
|
/** Format: int64 */
|
|
895
895
|
generation: number;
|
|
896
|
-
/** Format: uuid */
|
|
897
896
|
operation_id: string;
|
|
898
897
|
/** Format: date-time */
|
|
899
898
|
created_at: string;
|
|
@@ -904,12 +903,7 @@ export interface components {
|
|
|
904
903
|
};
|
|
905
904
|
ResourceUsageList: {
|
|
906
905
|
items: components["schemas"]["ResourceUsage"][];
|
|
907
|
-
|
|
908
|
-
page: number;
|
|
909
|
-
/** Format: int64 */
|
|
910
|
-
page_size: number;
|
|
911
|
-
/** Format: int64 */
|
|
912
|
-
total_count?: number;
|
|
906
|
+
pagination: components["schemas"]["OffsetPagination"];
|
|
913
907
|
};
|
|
914
908
|
/** @description Automatic reclamation is disabled by default. When enabled, retention starts after the last live claim is confirmed released. Traffic, IO and consumer heartbeats do not affect eligibility. */
|
|
915
909
|
IdlePolicy: {
|
|
@@ -951,12 +945,7 @@ export interface components {
|
|
|
951
945
|
};
|
|
952
946
|
AttachmentList: {
|
|
953
947
|
items: components["schemas"]["Attachment"][];
|
|
954
|
-
|
|
955
|
-
page: number;
|
|
956
|
-
/** Format: int64 */
|
|
957
|
-
page_size: number;
|
|
958
|
-
/** Format: int64 */
|
|
959
|
-
total_count?: number;
|
|
948
|
+
pagination: components["schemas"]["OffsetPagination"];
|
|
960
949
|
};
|
|
961
950
|
/** @description Requested funding split. This does not select a card or payment provider; complete payment through Billing. */
|
|
962
951
|
PaymentPlan: {
|
|
@@ -970,6 +959,15 @@ export interface components {
|
|
|
970
959
|
/** Format: uuid */
|
|
971
960
|
id: string;
|
|
972
961
|
};
|
|
962
|
+
/** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
|
|
963
|
+
OffsetPagination: {
|
|
964
|
+
/** Format: int64 */
|
|
965
|
+
page: number;
|
|
966
|
+
/** Format: int64 */
|
|
967
|
+
page_size: number;
|
|
968
|
+
/** Format: int64 */
|
|
969
|
+
total_count?: number;
|
|
970
|
+
};
|
|
973
971
|
};
|
|
974
972
|
responses: never;
|
|
975
973
|
parameters: never;
|
|
@@ -1,34 +1,12 @@
|
|
|
1
1
|
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
2
|
export { client } from "./client.js";
|
|
3
3
|
import type { operations } from "./schema.js";
|
|
4
|
-
/** The success response body of `GET /api/v1/backups`. */
|
|
5
|
-
export type ListBackupsResult = operations["list-backups"]["responses"][200]["content"]["application/json"];
|
|
6
|
-
/** The query parameters of `GET /api/v1/backups`. */
|
|
7
|
-
export type ListBackupsQuery = operations["list-backups"]["parameters"]["query"];
|
|
8
|
-
/** The success response body of `POST /api/v1/backups`. */
|
|
9
|
-
export type CreateBackupResult = operations["create-backup"]["responses"][202]["content"]["application/json"];
|
|
10
|
-
/** The request body of `POST /api/v1/backups`. */
|
|
11
|
-
export type CreateBackupBody = NonNullable<operations["create-backup"]["requestBody"]>["content"]["application/json"];
|
|
12
|
-
/** The success response body of `GET /api/v1/backups/{backupId}`. */
|
|
13
|
-
export type GetBackupResult = operations["get-backup"]["responses"][200]["content"]["application/json"];
|
|
14
|
-
/** The success response body of `PATCH /api/v1/backups/{backupId}`. */
|
|
15
|
-
export type RenameBackupResult = operations["rename-backup"]["responses"][200]["content"]["application/json"];
|
|
16
|
-
/** The request body of `PATCH /api/v1/backups/{backupId}`. */
|
|
17
|
-
export type RenameBackupBody = NonNullable<operations["rename-backup"]["requestBody"]>["content"]["application/json"];
|
|
18
|
-
/** The success response body of `POST /api/v1/backups/{backupId}/restore`. */
|
|
19
|
-
export type RestoreBackupResult = operations["restore-backup"]["responses"][202]["content"]["application/json"];
|
|
20
|
-
/** The request body of `POST /api/v1/backups/{backupId}/restore`. */
|
|
21
|
-
export type RestoreBackupBody = NonNullable<operations["restore-backup"]["requestBody"]>["content"]["application/json"];
|
|
22
4
|
/** The success response body of `GET /api/v1/disk-types`. */
|
|
23
5
|
export type ListDiskTypesResult = operations["list-disk-types"]["responses"][200]["content"]["application/json"];
|
|
24
|
-
/** The query parameters of `GET /api/v1/disk-types`. */
|
|
25
|
-
export type ListDiskTypesQuery = operations["list-disk-types"]["parameters"]["query"];
|
|
26
6
|
/** The success response body of `GET /api/v1/disk-types/{diskTypeId}`. */
|
|
27
7
|
export type GetDiskTypeResult = operations["get-disk-type"]["responses"][200]["content"]["application/json"];
|
|
28
8
|
/** The success response body of `GET /api/v1/disks`. */
|
|
29
9
|
export type ListDisksResult = operations["list-disks"]["responses"][200]["content"]["application/json"];
|
|
30
|
-
/** The query parameters of `GET /api/v1/disks`. */
|
|
31
|
-
export type ListDisksQuery = operations["list-disks"]["parameters"]["query"];
|
|
32
10
|
/** The success response body of `POST /api/v1/disks`. */
|
|
33
11
|
export type CreateDiskResult = operations["create-disk"]["responses"][202]["content"]["application/json"];
|
|
34
12
|
/** The request body of `POST /api/v1/disks`. */
|
|
@@ -39,36 +17,10 @@ export type GetDiskResult = operations["get-disk"]["responses"][200]["content"][
|
|
|
39
17
|
export type RenameDiskResult = operations["rename-disk"]["responses"][200]["content"]["application/json"];
|
|
40
18
|
/** The request body of `PATCH /api/v1/disks/{diskId}`. */
|
|
41
19
|
export type RenameDiskBody = NonNullable<operations["rename-disk"]["requestBody"]>["content"]["application/json"];
|
|
42
|
-
/** The
|
|
43
|
-
export type
|
|
44
|
-
/** The request body of `POST /api/v1/disks/{diskId}/resize`. */
|
|
45
|
-
export type ResizeDiskBody = NonNullable<operations["resize-disk"]["requestBody"]>["content"]["application/json"];
|
|
46
|
-
/** The success response body of `POST /api/v1/disks/{diskId}/revert`. */
|
|
47
|
-
export type RevertDiskResult = operations["revert-disk"]["responses"][200]["content"]["application/json"];
|
|
48
|
-
/** The request body of `POST /api/v1/disks/{diskId}/revert`. */
|
|
49
|
-
export type RevertDiskBody = NonNullable<operations["revert-disk"]["requestBody"]>["content"]["application/json"];
|
|
50
|
-
/** The success response body of `GET /api/v1/operation-logs`. */
|
|
51
|
-
export type ListOperationLogsResult = operations["list-operation-logs"]["responses"][200]["content"]["application/json"];
|
|
52
|
-
/** The query parameters of `GET /api/v1/operation-logs`. */
|
|
53
|
-
export type ListOperationLogsQuery = operations["list-operation-logs"]["parameters"]["query"];
|
|
54
|
-
/** The success response body of `GET /api/v1/snapshots`. */
|
|
55
|
-
export type ListSnapshotsResult = operations["list-snapshots"]["responses"][200]["content"]["application/json"];
|
|
56
|
-
/** The query parameters of `GET /api/v1/snapshots`. */
|
|
57
|
-
export type ListSnapshotsQuery = operations["list-snapshots"]["parameters"]["query"];
|
|
58
|
-
/** The success response body of `POST /api/v1/snapshots`. */
|
|
59
|
-
export type CreateSnapshotResult = operations["create-snapshot"]["responses"][202]["content"]["application/json"];
|
|
60
|
-
/** The request body of `POST /api/v1/snapshots`. */
|
|
61
|
-
export type CreateSnapshotBody = NonNullable<operations["create-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
62
|
-
/** The success response body of `GET /api/v1/snapshots/{snapshotId}`. */
|
|
63
|
-
export type GetSnapshotResult = operations["get-snapshot"]["responses"][200]["content"]["application/json"];
|
|
64
|
-
/** The success response body of `PATCH /api/v1/snapshots/{snapshotId}`. */
|
|
65
|
-
export type RenameSnapshotResult = operations["rename-snapshot"]["responses"][200]["content"]["application/json"];
|
|
66
|
-
/** The request body of `PATCH /api/v1/snapshots/{snapshotId}`. */
|
|
67
|
-
export type RenameSnapshotBody = NonNullable<operations["rename-snapshot"]["requestBody"]>["content"]["application/json"];
|
|
20
|
+
/** The query parameters of `DELETE /api/v1/disks/{diskId}`. */
|
|
21
|
+
export type DeleteDiskQuery = operations["delete-disk"]["parameters"]["query"];
|
|
68
22
|
/** The success response body of `GET /api/v1/resource-usages`. */
|
|
69
23
|
export type ListResourceUsagesResult = operations["list-resource-usages"]["responses"][200]["content"]["application/json"];
|
|
70
|
-
/** The query parameters of `GET /api/v1/resource-usages`. */
|
|
71
|
-
export type ListResourceUsagesQuery = operations["list-resource-usages"]["parameters"]["query"];
|
|
72
24
|
/** The success response body of `GET /api/v1/resource-usages/{usageId}`. */
|
|
73
25
|
export type GetResourceUsageResult = operations["get-resource-usage"]["responses"][200]["content"]["application/json"];
|
|
74
26
|
/** The success response body of `GET /api/v1/resources/{resourceType}/{resourceId}/reclamation`. */
|
|
@@ -77,9 +29,7 @@ export type GetResourceReclamationResult = operations["get-resource-reclamation"
|
|
|
77
29
|
export type SetResourceIdlePolicyResult = operations["set-resource-idle-policy"]["responses"][200]["content"]["application/json"];
|
|
78
30
|
/** The request body of `PUT /api/v1/resources/{resourceType}/{resourceId}/idle-policy`. */
|
|
79
31
|
export type SetResourceIdlePolicyBody = NonNullable<operations["set-resource-idle-policy"]["requestBody"]>["content"]["application/json"];
|
|
80
|
-
/** The success response body of `GET /api/v1/disks/{
|
|
32
|
+
/** The success response body of `GET /api/v1/disks/{diskId}/attachments`. */
|
|
81
33
|
export type ListDiskAttachmentsResult = operations["list-disk-attachments"]["responses"][200]["content"]["application/json"];
|
|
82
|
-
/** The query parameters of `GET /api/v1/disks/{resourceId}/attachments`. */
|
|
83
|
-
export type ListDiskAttachmentsQuery = operations["list-disk-attachments"]["parameters"]["query"];
|
|
84
34
|
/** The success response body of `GET /api/v1/attachments/{attachmentId}`. */
|
|
85
35
|
export type GetAttachmentResult = operations["get-attachment"]["responses"][200]["content"]["application/json"];
|