@leaflow/sdk 0.0.0-dev.25.g6c5751f → 0.0.0-dev.252.gbe25f3b

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 (79) hide show
  1. package/README.md +22 -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 +33 -22
  5. package/dist/account/v1/index.js +4 -4
  6. package/dist/account/v1/schema.d.ts +307 -89
  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 +71 -40
  10. package/dist/assistant/v1/index.js +4 -4
  11. package/dist/assistant/v1/schema.d.ts +1204 -139
  12. package/dist/billing/account/v1/client.d.ts +4 -0
  13. package/dist/billing/account/v1/client.js +7 -0
  14. package/dist/billing/account/v1/index.d.ts +169 -0
  15. package/dist/billing/account/v1/index.js +5 -0
  16. package/dist/billing/account/v1/schema.d.ts +4385 -0
  17. package/dist/billing/account/v1/schema.js +5 -0
  18. package/dist/billing/catalog/v1/client.d.ts +4 -0
  19. package/dist/billing/catalog/v1/client.js +7 -0
  20. package/dist/billing/catalog/v1/index.d.ts +33 -0
  21. package/dist/billing/catalog/v1/index.js +5 -0
  22. package/dist/billing/catalog/v1/schema.d.ts +915 -0
  23. package/dist/billing/catalog/v1/schema.js +5 -0
  24. package/dist/billing/index.d.ts +3 -0
  25. package/dist/billing/index.js +6 -0
  26. package/dist/billing/project/v1/client.d.ts +4 -0
  27. package/dist/billing/project/v1/client.js +7 -0
  28. package/dist/billing/project/v1/index.d.ts +59 -0
  29. package/dist/billing/project/v1/index.js +5 -0
  30. package/dist/billing/project/v1/schema.d.ts +1892 -0
  31. package/dist/billing/project/v1/schema.js +5 -0
  32. package/dist/canopy/v1/client.d.ts +4 -0
  33. package/dist/canopy/v1/client.js +7 -0
  34. package/dist/canopy/v1/index.d.ts +24 -23
  35. package/dist/canopy/v1/index.js +4 -4
  36. package/dist/canopy/v1/schema.d.ts +113 -109
  37. package/dist/compute/v1/client.d.ts +4 -0
  38. package/dist/compute/v1/client.js +7 -0
  39. package/dist/compute/v1/index.d.ts +207 -134
  40. package/dist/compute/v1/index.js +4 -4
  41. package/dist/compute/v1/schema.d.ts +1944 -553
  42. package/dist/dns/v1/client.d.ts +4 -0
  43. package/dist/dns/v1/client.js +7 -0
  44. package/dist/dns/v1/index.d.ts +43 -0
  45. package/dist/dns/v1/index.js +5 -0
  46. package/dist/dns/v1/schema.d.ts +887 -0
  47. package/dist/dns/v1/schema.js +5 -0
  48. package/dist/iam/v1/client.d.ts +4 -0
  49. package/dist/iam/v1/client.js +7 -0
  50. package/dist/iam/v1/index.d.ts +55 -32
  51. package/dist/iam/v1/index.js +4 -4
  52. package/dist/iam/v1/schema.d.ts +521 -88
  53. package/dist/index.d.ts +11 -7
  54. package/dist/index.js +19 -5
  55. package/dist/monitoring/v1/client.d.ts +4 -0
  56. package/dist/monitoring/v1/client.js +7 -0
  57. package/dist/monitoring/v1/index.d.ts +130 -49
  58. package/dist/monitoring/v1/index.js +4 -4
  59. package/dist/monitoring/v1/schema.d.ts +2420 -527
  60. package/dist/notification/v1/client.d.ts +4 -0
  61. package/dist/notification/v1/client.js +7 -0
  62. package/dist/notification/v1/index.d.ts +81 -0
  63. package/dist/notification/v1/index.js +5 -0
  64. package/dist/notification/v1/schema.d.ts +2048 -0
  65. package/dist/notification/v1/schema.js +5 -0
  66. package/dist/routes.d.ts +3234 -0
  67. package/dist/routes.js +3639 -0
  68. package/dist/support/v1/client.d.ts +4 -0
  69. package/dist/support/v1/client.js +7 -0
  70. package/dist/support/v1/index.d.ts +51 -0
  71. package/dist/support/v1/index.js +5 -0
  72. package/dist/support/v1/schema.d.ts +1082 -0
  73. package/dist/support/v1/schema.js +5 -0
  74. package/dist/tunnel/v1/client.d.ts +4 -0
  75. package/dist/tunnel/v1/client.js +7 -0
  76. package/dist/tunnel/v1/index.d.ts +8 -7
  77. package/dist/tunnel/v1/index.js +4 -4
  78. package/dist/tunnel/v1/schema.d.ts +40 -34
  79. 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,3 @@
1
+ export * as account from "./account/v1/index.js";
2
+ export * as catalog from "./catalog/v1/index.js";
3
+ export * as project from "./project/v1/index.js";
@@ -0,0 +1,6 @@
1
+ // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
+ //
3
+ // billing is split by function; each subpackage is its own contract and namespace.
4
+ export * as account from "./account/v1/index.js";
5
+ export * as catalog from "./catalog/v1/index.js";
6
+ export * as project from "./project/v1/index.js";
@@ -0,0 +1,4 @@
1
+ import { type ClientOptions } from "openapi-fetch";
2
+ import type { paths } from "./schema.js";
3
+ /** A client for the billing project 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://billing.leaflow.cloud";
4
+ /** A client for the billing project service. Pass baseUrl to override the address. */
5
+ export function client(options = {}) {
6
+ return createClient({ baseUrl: defaultBaseUrl, ...options });
7
+ }
@@ -0,0 +1,59 @@
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/projects/{projectId}/billing-account`. */
5
+ export type GetProjectBillingAccountResult = operations["get-project-billing-account"]["responses"][200]["content"]["application/json"];
6
+ /** The success response body of `GET /api/v1/projects/{projectId}/spend`. */
7
+ export type ListProjectSpendResult = operations["list-project-spend"]["responses"][200]["content"]["application/json"];
8
+ /** The query parameters of `GET /api/v1/projects/{projectId}/spend`. */
9
+ export type ListProjectSpendQuery = operations["list-project-spend"]["parameters"]["query"];
10
+ /** The success response body of `GET /api/v1/projects/{projectId}/usage-charges`. */
11
+ export type ListProjectUsageChargesResult = operations["list-project-usage-charges"]["responses"][200]["content"]["application/json"];
12
+ /** The query parameters of `GET /api/v1/projects/{projectId}/usage-charges`. */
13
+ export type ListProjectUsageChargesQuery = operations["list-project-usage-charges"]["parameters"]["query"];
14
+ /** The success response body of `GET /api/v1/projects/{projectId}/subscriptions`. */
15
+ export type ListProjectSubscriptionsResult = operations["list-project-subscriptions"]["responses"][200]["content"]["application/json"];
16
+ /** The query parameters of `GET /api/v1/projects/{projectId}/subscriptions`. */
17
+ export type ListProjectSubscriptionsQuery = operations["list-project-subscriptions"]["parameters"]["query"];
18
+ /** The success response body of `PUT /api/v1/projects/{projectId}/subscriptions/{subscriptionId}/auto-renew`. */
19
+ export type SetProjectAutoRenewResult = operations["set-project-auto-renew"]["responses"][200]["content"]["application/json"];
20
+ /** The request body of `PUT /api/v1/projects/{projectId}/subscriptions/{subscriptionId}/auto-renew`. */
21
+ export type SetProjectAutoRenewBody = NonNullable<operations["set-project-auto-renew"]["requestBody"]>["content"]["application/json"];
22
+ /** The success response body of `POST /api/v1/projects/{projectId}/cancellations`. */
23
+ export type CreateProjectCancellationResult = operations["create-project-cancellation"]["responses"][200]["content"]["application/json"];
24
+ /** The request body of `POST /api/v1/projects/{projectId}/cancellations`. */
25
+ export type CreateProjectCancellationBody = NonNullable<operations["create-project-cancellation"]["requestBody"]>["content"]["application/json"];
26
+ /** The success response body of `GET /api/v1/projects/{projectId}/cancellations`. */
27
+ export type ListProjectCancellationsResult = operations["list-project-cancellations"]["responses"][200]["content"]["application/json"];
28
+ /** The query parameters of `GET /api/v1/projects/{projectId}/cancellations`. */
29
+ export type ListProjectCancellationsQuery = operations["list-project-cancellations"]["parameters"]["query"];
30
+ /** The success response body of `GET /api/v1/projects/{projectId}/cancellations/{cancellationId}`. */
31
+ export type GetProjectCancellationResult = operations["get-project-cancellation"]["responses"][200]["content"]["application/json"];
32
+ /** The success response body of `POST /api/v1/projects/{projectId}/cancellations/{cancellationId}/withdraw`. */
33
+ export type WithdrawProjectCancellationResult = operations["withdraw-project-cancellation"]["responses"][200]["content"]["application/json"];
34
+ /** The success response body of `GET /api/v1/projects/{projectId}/orders`. */
35
+ export type ListProjectOrdersResult = operations["list-project-orders"]["responses"][200]["content"]["application/json"];
36
+ /** The query parameters of `GET /api/v1/projects/{projectId}/orders`. */
37
+ export type ListProjectOrdersQuery = operations["list-project-orders"]["parameters"]["query"];
38
+ /** The success response body of `GET /api/v1/projects/{projectId}/orders/{orderId}`. */
39
+ export type GetProjectOrderResult = operations["get-project-order"]["responses"][200]["content"]["application/json"];
40
+ /** The success response body of `GET /api/v1/projects/{projectId}/active-resources`. */
41
+ export type ListProjectActiveResourcesResult = operations["list-project-active-resources"]["responses"][200]["content"]["application/json"];
42
+ /** The query parameters of `GET /api/v1/projects/{projectId}/active-resources`. */
43
+ export type ListProjectActiveResourcesQuery = operations["list-project-active-resources"]["parameters"]["query"];
44
+ /** The success response body of `POST /api/v1/projects/{projectId}/quotes`. */
45
+ export type CreateProjectQuoteResult = operations["create-project-quote"]["responses"][200]["content"]["application/json"];
46
+ /** The request body of `POST /api/v1/projects/{projectId}/quotes`. */
47
+ export type CreateProjectQuoteBody = NonNullable<operations["create-project-quote"]["requestBody"]>["content"]["application/json"];
48
+ /** The success response body of `GET /api/v1/projects/{projectId}/orders/{orderId}/items`. */
49
+ export type ListProjectOrderItemsResult = operations["list-project-order-items"]["responses"][200]["content"]["application/json"];
50
+ /** The query parameters of `GET /api/v1/projects/{projectId}/orders/{orderId}/items`. */
51
+ export type ListProjectOrderItemsQuery = operations["list-project-order-items"]["parameters"]["query"];
52
+ /** The success response body of `GET /api/v1/projects/{projectId}/allowances`. */
53
+ export type ListProjectAllowancesResult = operations["list-project-allowances"]["responses"][200]["content"]["application/json"];
54
+ /** The query parameters of `GET /api/v1/projects/{projectId}/allowances`. */
55
+ export type ListProjectAllowancesQuery = operations["list-project-allowances"]["parameters"]["query"];
56
+ /** The success response body of `GET /api/v1/projects/{projectId}/entitlements`. */
57
+ export type ListProjectEntitlementsResult = operations["list-project-entitlements"]["responses"][200]["content"]["application/json"];
58
+ /** The query parameters of `GET /api/v1/projects/{projectId}/entitlements`. */
59
+ export type ListProjectEntitlementsQuery = operations["list-project-entitlements"]["parameters"]["query"];
@@ -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";