@leaflow/sdk 0.0.0-dev.150.g3e8df9a → 0.0.0-dev.152.g4fcf999

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.
@@ -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"];