@leaflow/sdk 0.0.0-dev.15.g2ea7bad → 0.0.0-dev.150.g3e8df9a

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 +368 -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 +193 -0
  15. package/dist/billing/v1/index.js +5 -0
  16. package/dist/billing/v1/schema.d.ts +4713 -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 +80 -185
  26. package/dist/compute/v1/index.js +4 -4
  27. package/dist/compute/v1/schema.d.ts +805 -2844
  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 +2313 -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 +515 -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 +85 -0
  67. package/dist/storage/v1/index.js +5 -0
  68. package/dist/storage/v1/schema.d.ts +1694 -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 +15 -36
  79. package/dist/tunnel/v1/index.js +4 -4
  80. package/dist/tunnel/v1/schema.d.ts +70 -510
  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 storage 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://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
+ }
@@ -0,0 +1,85 @@
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/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
+ /** The success response body of `GET /api/v1/disk-types`. */
23
+ 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
+ /** The success response body of `GET /api/v1/disk-types/{diskTypeId}`. */
27
+ export type GetDiskTypeResult = operations["get-disk-type"]["responses"][200]["content"]["application/json"];
28
+ /** The success response body of `GET /api/v1/disks`. */
29
+ 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
+ /** The success response body of `POST /api/v1/disks`. */
33
+ export type CreateDiskResult = operations["create-disk"]["responses"][202]["content"]["application/json"];
34
+ /** The request body of `POST /api/v1/disks`. */
35
+ export type CreateDiskBody = NonNullable<operations["create-disk"]["requestBody"]>["content"]["application/json"];
36
+ /** The success response body of `GET /api/v1/disks/{diskId}`. */
37
+ export type GetDiskResult = operations["get-disk"]["responses"][200]["content"]["application/json"];
38
+ /** The success response body of `PATCH /api/v1/disks/{diskId}`. */
39
+ export type RenameDiskResult = operations["rename-disk"]["responses"][200]["content"]["application/json"];
40
+ /** The request body of `PATCH /api/v1/disks/{diskId}`. */
41
+ 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"];
68
+ /** The success response body of `GET /api/v1/resource-usages`. */
69
+ 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
+ /** The success response body of `GET /api/v1/resource-usages/{usageId}`. */
73
+ export type GetResourceUsageResult = operations["get-resource-usage"]["responses"][200]["content"]["application/json"];
74
+ /** The success response body of `GET /api/v1/resources/{resourceType}/{resourceId}/reclamation`. */
75
+ export type GetResourceReclamationResult = operations["get-resource-reclamation"]["responses"][200]["content"]["application/json"];
76
+ /** The success response body of `PUT /api/v1/resources/{resourceType}/{resourceId}/idle-policy`. */
77
+ export type SetResourceIdlePolicyResult = operations["set-resource-idle-policy"]["responses"][200]["content"]["application/json"];
78
+ /** The request body of `PUT /api/v1/resources/{resourceType}/{resourceId}/idle-policy`. */
79
+ 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`. */
81
+ 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
+ /** The success response body of `GET /api/v1/attachments/{attachmentId}`. */
85
+ export type GetAttachmentResult = operations["get-attachment"]["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";