@leaflow/sdk 0.0.0-dev.21.g192ee50 → 0.0.0-dev.212.gea1bf06

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 (69) 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 +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/v1/client.d.ts +4 -0
  13. package/dist/billing/v1/client.js +7 -0
  14. package/dist/billing/v1/index.d.ts +45 -0
  15. package/dist/billing/v1/index.js +5 -0
  16. package/dist/billing/v1/schema.d.ts +1404 -0
  17. package/dist/billing/v1/schema.js +5 -0
  18. package/dist/billingaccount/v1/client.d.ts +4 -0
  19. package/dist/billingaccount/v1/client.js +7 -0
  20. package/dist/billingaccount/v1/index.d.ts +151 -0
  21. package/dist/billingaccount/v1/index.js +5 -0
  22. package/dist/billingaccount/v1/schema.d.ts +4265 -0
  23. package/dist/billingaccount/v1/schema.js +5 -0
  24. package/dist/canopy/v1/client.d.ts +4 -0
  25. package/dist/canopy/v1/client.js +7 -0
  26. package/dist/canopy/v1/index.d.ts +24 -23
  27. package/dist/canopy/v1/index.js +4 -4
  28. package/dist/canopy/v1/schema.d.ts +113 -109
  29. package/dist/compute/v1/client.d.ts +4 -0
  30. package/dist/compute/v1/client.js +7 -0
  31. package/dist/compute/v1/index.d.ts +188 -125
  32. package/dist/compute/v1/index.js +4 -4
  33. package/dist/compute/v1/schema.d.ts +1953 -281
  34. package/dist/dns/v1/client.d.ts +4 -0
  35. package/dist/dns/v1/client.js +7 -0
  36. package/dist/dns/v1/index.d.ts +43 -0
  37. package/dist/dns/v1/index.js +5 -0
  38. package/dist/dns/v1/schema.d.ts +887 -0
  39. package/dist/dns/v1/schema.js +5 -0
  40. package/dist/iam/v1/client.d.ts +4 -0
  41. package/dist/iam/v1/client.js +7 -0
  42. package/dist/iam/v1/index.d.ts +55 -32
  43. package/dist/iam/v1/index.js +4 -4
  44. package/dist/iam/v1/schema.d.ts +521 -88
  45. package/dist/index.d.ts +12 -7
  46. package/dist/index.js +20 -5
  47. package/dist/monitoring/v1/client.d.ts +4 -0
  48. package/dist/monitoring/v1/client.js +7 -0
  49. package/dist/monitoring/v1/index.d.ts +130 -49
  50. package/dist/monitoring/v1/index.js +4 -4
  51. package/dist/monitoring/v1/schema.d.ts +2420 -527
  52. package/dist/notification/v1/client.d.ts +4 -0
  53. package/dist/notification/v1/client.js +7 -0
  54. package/dist/notification/v1/index.d.ts +77 -0
  55. package/dist/notification/v1/index.js +5 -0
  56. package/dist/notification/v1/schema.d.ts +2048 -0
  57. package/dist/notification/v1/schema.js +5 -0
  58. package/dist/support/v1/client.d.ts +4 -0
  59. package/dist/support/v1/client.js +7 -0
  60. package/dist/support/v1/index.d.ts +51 -0
  61. package/dist/support/v1/index.js +5 -0
  62. package/dist/support/v1/schema.d.ts +1082 -0
  63. package/dist/support/v1/schema.js +5 -0
  64. package/dist/tunnel/v1/client.d.ts +4 -0
  65. package/dist/tunnel/v1/client.js +7 -0
  66. package/dist/tunnel/v1/index.d.ts +8 -7
  67. package/dist/tunnel/v1/index.js +4 -4
  68. package/dist/tunnel/v1/schema.d.ts +40 -34
  69. package/package.json +26 -10
@@ -0,0 +1,4 @@
1
+ import { type ClientOptions } from "openapi-fetch";
2
+ import type { paths } from "./schema.js";
3
+ /** A client for the billing 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 service. Pass baseUrl to override the address. */
5
+ export function client(options = {}) {
6
+ return createClient({ baseUrl: defaultBaseUrl, ...options });
7
+ }
@@ -0,0 +1,45 @@
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 `GET /api/v1/projects/{projectId}/orders`. */
23
+ export type ListProjectOrdersResult = operations["list-project-orders"]["responses"][200]["content"]["application/json"];
24
+ /** The query parameters of `GET /api/v1/projects/{projectId}/orders`. */
25
+ export type ListProjectOrdersQuery = operations["list-project-orders"]["parameters"]["query"];
26
+ /** The success response body of `GET /api/v1/projects/{projectId}/orders/{orderId}`. */
27
+ export type GetProjectOrderResult = operations["get-project-order"]["responses"][200]["content"]["application/json"];
28
+ /** The success response body of `GET /api/v1/projects/{projectId}/active-resources`. */
29
+ export type ListProjectActiveResourcesResult = operations["list-project-active-resources"]["responses"][200]["content"]["application/json"];
30
+ /** The query parameters of `GET /api/v1/projects/{projectId}/active-resources`. */
31
+ export type ListProjectActiveResourcesQuery = operations["list-project-active-resources"]["parameters"]["query"];
32
+ /** The success response body of `POST /api/v1/projects/{projectId}/quotes`. */
33
+ export type CreateProjectQuoteResult = operations["create-project-quote"]["responses"][200]["content"]["application/json"];
34
+ /** The request body of `POST /api/v1/projects/{projectId}/quotes`. */
35
+ export type CreateProjectQuoteBody = NonNullable<operations["create-project-quote"]["requestBody"]>["content"]["application/json"];
36
+ /** The success response body of `GET /api/v1/projects/{projectId}/orders/{orderId}/items`. */
37
+ export type ListProjectOrderItemsResult = operations["list-project-order-items"]["responses"][200]["content"]["application/json"];
38
+ /** The success response body of `GET /api/v1/projects/{projectId}/allowances`. */
39
+ export type ListProjectAllowancesResult = operations["list-project-allowances"]["responses"][200]["content"]["application/json"];
40
+ /** The query parameters of `GET /api/v1/projects/{projectId}/allowances`. */
41
+ export type ListProjectAllowancesQuery = operations["list-project-allowances"]["parameters"]["query"];
42
+ /** The success response body of `GET /api/v1/projects/{projectId}/entitlements`. */
43
+ export type ListProjectEntitlementsResult = operations["list-project-entitlements"]["responses"][200]["content"]["application/json"];
44
+ /** The query parameters of `GET /api/v1/projects/{projectId}/entitlements`. */
45
+ 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";