@leaflow/sdk 0.62.0 → 0.64.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.
@@ -1131,12 +1131,7 @@ export interface components {
1131
1131
  };
1132
1132
  ResourceDependencyList: {
1133
1133
  items: components["schemas"]["ResourceDependency"][];
1134
- /** Format: int64 */
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: {
@@ -1222,6 +1217,15 @@ export interface components {
1222
1217
  /** Format: uuid */
1223
1218
  id: string;
1224
1219
  };
1220
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
1221
+ OffsetPagination: {
1222
+ /** Format: int64 */
1223
+ page: number;
1224
+ /** Format: int64 */
1225
+ page_size: number;
1226
+ /** Format: int64 */
1227
+ total_count?: number;
1228
+ };
1225
1229
  };
1226
1230
  responses: never;
1227
1231
  parameters: never;
@@ -904,12 +904,7 @@ export interface components {
904
904
  };
905
905
  ResourceUsageList: {
906
906
  items: components["schemas"]["ResourceUsage"][];
907
- /** Format: int64 */
908
- page: number;
909
- /** Format: int64 */
910
- page_size: number;
911
- /** Format: int64 */
912
- total_count?: number;
907
+ pagination: components["schemas"]["OffsetPagination"];
913
908
  };
914
909
  /** @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
910
  IdlePolicy: {
@@ -951,12 +946,7 @@ export interface components {
951
946
  };
952
947
  AttachmentList: {
953
948
  items: components["schemas"]["Attachment"][];
954
- /** Format: int64 */
955
- page: number;
956
- /** Format: int64 */
957
- page_size: number;
958
- /** Format: int64 */
959
- total_count?: number;
949
+ pagination: components["schemas"]["OffsetPagination"];
960
950
  };
961
951
  /** @description Requested funding split. This does not select a card or payment provider; complete payment through Billing. */
962
952
  PaymentPlan: {
@@ -970,6 +960,15 @@ export interface components {
970
960
  /** Format: uuid */
971
961
  id: string;
972
962
  };
963
+ /** @description Pagination metadata for stable numbered pages. total_count is returned only when the operation can determine it without an unbounded scan. */
964
+ OffsetPagination: {
965
+ /** Format: int64 */
966
+ page: number;
967
+ /** Format: int64 */
968
+ page_size: number;
969
+ /** Format: int64 */
970
+ total_count?: number;
971
+ };
973
972
  };
974
973
  responses: never;
975
974
  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 success response body of `POST /api/v1/disks/{diskId}/resize`. */
43
- export type ResizeDiskResult = operations["resize-disk"]["responses"][202]["content"]["application/json"];
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/{resourceId}/attachments`. */
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"];