@leaflow/sdk 0.0.0-dev.101.g01ce843

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 (48) hide show
  1. package/README.md +34 -0
  2. package/dist/account/v1/index.d.ts +54 -0
  3. package/dist/account/v1/index.js +5 -0
  4. package/dist/account/v1/schema.d.ts +1157 -0
  5. package/dist/account/v1/schema.js +5 -0
  6. package/dist/assistant/v1/index.d.ts +108 -0
  7. package/dist/assistant/v1/index.js +5 -0
  8. package/dist/assistant/v1/schema.d.ts +2840 -0
  9. package/dist/assistant/v1/schema.js +5 -0
  10. package/dist/billing/v1/index.d.ts +74 -0
  11. package/dist/billing/v1/index.js +5 -0
  12. package/dist/billing/v1/schema.d.ts +2445 -0
  13. package/dist/billing/v1/schema.js +5 -0
  14. package/dist/canopy/v1/index.d.ts +48 -0
  15. package/dist/canopy/v1/index.js +5 -0
  16. package/dist/canopy/v1/schema.d.ts +1100 -0
  17. package/dist/canopy/v1/schema.js +5 -0
  18. package/dist/compute/v1/index.d.ts +246 -0
  19. package/dist/compute/v1/index.js +5 -0
  20. package/dist/compute/v1/schema.d.ts +4924 -0
  21. package/dist/compute/v1/schema.js +5 -0
  22. package/dist/dns/v1/index.d.ts +42 -0
  23. package/dist/dns/v1/index.js +5 -0
  24. package/dist/dns/v1/schema.d.ts +883 -0
  25. package/dist/dns/v1/schema.js +5 -0
  26. package/dist/iam/v1/index.d.ts +84 -0
  27. package/dist/iam/v1/index.js +5 -0
  28. package/dist/iam/v1/schema.d.ts +1658 -0
  29. package/dist/iam/v1/schema.js +5 -0
  30. package/dist/index.d.ts +11 -0
  31. package/dist/index.js +6 -0
  32. package/dist/monitoring/v1/index.d.ts +176 -0
  33. package/dist/monitoring/v1/index.js +5 -0
  34. package/dist/monitoring/v1/schema.d.ts +4181 -0
  35. package/dist/monitoring/v1/schema.js +5 -0
  36. package/dist/notification/v1/index.d.ts +76 -0
  37. package/dist/notification/v1/index.js +5 -0
  38. package/dist/notification/v1/schema.d.ts +2038 -0
  39. package/dist/notification/v1/schema.js +5 -0
  40. package/dist/support/v1/index.d.ts +50 -0
  41. package/dist/support/v1/index.js +5 -0
  42. package/dist/support/v1/schema.d.ts +1078 -0
  43. package/dist/support/v1/schema.js +5 -0
  44. package/dist/tunnel/v1/index.d.ts +16 -0
  45. package/dist/tunnel/v1/index.js +5 -0
  46. package/dist/tunnel/v1/schema.d.ts +401 -0
  47. package/dist/tunnel/v1/schema.js +5 -0
  48. package/package.json +74 -0
@@ -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,74 @@
1
+ export type { paths, components, operations, webhooks } from "./schema.js";
2
+ import type { operations } from "./schema.js";
3
+ /** `GET /account/v1/billing-accounts` 成功时的响应体。 */
4
+ export type ListBillingAccountsResult = operations["list-billing-accounts"]["responses"][200]["content"]["application/json"];
5
+ /** `POST /account/v1/billing-accounts` 成功时的响应体。 */
6
+ export type CreateBillingAccountResult = operations["create-billing-account"]["responses"][200]["content"]["application/json"];
7
+ /** `POST /account/v1/billing-accounts` 的请求体。 */
8
+ export type CreateBillingAccountBody = NonNullable<operations["create-billing-account"]["requestBody"]>["content"]["application/json"];
9
+ /** `GET /account/v1/billing-accounts/{accountKey}` 成功时的响应体。 */
10
+ export type GetBillingAccountResult = operations["get-billing-account"]["responses"][200]["content"]["application/json"];
11
+ /** `PUT /account/v1/billing-accounts/{accountKey}` 成功时的响应体。 */
12
+ export type UpdateBillingAccountResult = operations["update-billing-account"]["responses"][200]["content"]["application/json"];
13
+ /** `PUT /account/v1/billing-accounts/{accountKey}` 的请求体。 */
14
+ export type UpdateBillingAccountBody = NonNullable<operations["update-billing-account"]["requestBody"]>["content"]["application/json"];
15
+ /** `GET /account/v1/billing-accounts/{accountKey}/credit-transactions` 成功时的响应体。 */
16
+ export type ListCreditTransactionsResult = operations["list-credit-transactions"]["responses"][200]["content"]["application/json"];
17
+ /** `GET /account/v1/billing-accounts/{accountKey}/balance` 成功时的响应体。 */
18
+ export type ReadBillingAccountBalanceResult = operations["read-billing-account-balance"]["responses"][200]["content"]["application/json"];
19
+ /** `PUT /account/v1/billing-accounts/{accountKey}/projects/{projectId}` 成功时的响应体。 */
20
+ export type BindProjectToBillingAccountResult = operations["bind-project-to-billing-account"]["responses"][200]["content"]["application/json"];
21
+ /** `GET /account/v1/billing-accounts/{accountKey}/orders` 成功时的响应体。 */
22
+ export type ListOrdersResult = operations["list-orders"]["responses"][200]["content"]["application/json"];
23
+ /** `GET /account/v1/billing-accounts/{accountKey}/orders/{orderId}` 成功时的响应体。 */
24
+ export type GetOrderResult = operations["get-order"]["responses"][200]["content"]["application/json"];
25
+ /** `GET /account/v1/billing-accounts/{accountKey}/top-ups` 成功时的响应体。 */
26
+ export type ListTopUpsResult = operations["list-top-ups"]["responses"][200]["content"]["application/json"];
27
+ /** `POST /account/v1/billing-accounts/{accountKey}/top-ups` 成功时的响应体。 */
28
+ export type StartTopUpResult = operations["start-top-up"]["responses"][200]["content"]["application/json"];
29
+ /** `POST /account/v1/billing-accounts/{accountKey}/top-ups` 的请求体。 */
30
+ export type StartTopUpBody = NonNullable<operations["start-top-up"]["requestBody"]>["content"]["application/json"];
31
+ /** `GET /account/v1/billing-accounts/{accountKey}/charges` 成功时的响应体。 */
32
+ export type ListChargesResult = operations["list-charges"]["responses"][200]["content"]["application/json"];
33
+ /** `GET /account/v1/billing-accounts/{accountKey}/invoices` 成功时的响应体。 */
34
+ export type ListInvoicesResult = operations["list-invoices"]["responses"][200]["content"]["application/json"];
35
+ /** `GET /account/v1/billing-accounts/{accountKey}/invoices/{invoiceId}` 成功时的响应体。 */
36
+ export type GetInvoiceResult = operations["get-invoice"]["responses"][200]["content"]["application/json"];
37
+ /** `POST /account/v1/projects/{projectId}/quote` 成功时的响应体。 */
38
+ export type QuoteProjectUsageResult = operations["quote-project-usage"]["responses"][200]["content"]["application/json"];
39
+ /** `POST /account/v1/projects/{projectId}/quote` 的请求体。 */
40
+ export type QuoteProjectUsageBody = NonNullable<operations["quote-project-usage"]["requestBody"]>["content"]["application/json"];
41
+ /** `POST /account/v1/billing-accounts/{accountKey}/quote` 成功时的响应体。 */
42
+ export type QuoteUsageResult = operations["quote-usage"]["responses"][200]["content"]["application/json"];
43
+ /** `POST /account/v1/billing-accounts/{accountKey}/quote` 的请求体。 */
44
+ export type QuoteUsageBody = NonNullable<operations["quote-usage"]["requestBody"]>["content"]["application/json"];
45
+ /** `GET /account/v1/billing-accounts/{accountKey}/subscription` 成功时的响应体。 */
46
+ export type ReadSubscriptionResult = operations["read-subscription"]["responses"][200]["content"]["application/json"];
47
+ /** `POST /account/v1/billing-accounts/{accountKey}/subscription/cancel` 成功时的响应体。 */
48
+ export type CancelSubscriptionResult = operations["cancel-subscription"]["responses"][200]["content"]["application/json"];
49
+ /** `POST /account/v1/billing-accounts/{accountKey}/subscription/cancel` 的查询参数。 */
50
+ export type CancelSubscriptionQuery = operations["cancel-subscription"]["parameters"]["query"];
51
+ /** `GET /account/v1/billing-accounts/{accountKey}/top-ups/{paymentId}` 成功时的响应体。 */
52
+ export type ReadTopUpResult = operations["read-top-up"]["responses"][200]["content"]["application/json"];
53
+ /** `GET /account/v1/billing-accounts/{accountKey}/payment-method` 成功时的响应体。 */
54
+ export type ReadPaymentMethodResult = operations["read-payment-method"]["responses"][200]["content"]["application/json"];
55
+ /** `POST /account/v1/billing-accounts/{accountKey}/payment-method` 成功时的响应体。 */
56
+ export type StartPaymentMethodSetupResult = operations["start-payment-method-setup"]["responses"][200]["content"]["application/json"];
57
+ /** `POST /account/v1/billing-accounts/{accountKey}/billing-portal` 成功时的响应体。 */
58
+ export type StartBillingPortalResult = operations["start-billing-portal"]["responses"][200]["content"]["application/json"];
59
+ /** `GET /account/v1/billing-accounts/{accountKey}/offers` 成功时的响应体。 */
60
+ export type ListOffersResult = operations["list-offers"]["responses"][200]["content"]["application/json"];
61
+ /** `POST /account/v1/billing-accounts/{accountKey}/offers/{offerKey}/purchase` 成功时的响应体。 */
62
+ export type PurchaseOfferResult = operations["purchase-offer"]["responses"][200]["content"]["application/json"];
63
+ /** `POST /account/v1/billing-accounts/{accountKey}/offers/{offerKey}/purchase` 的查询参数。 */
64
+ export type PurchaseOfferQuery = operations["purchase-offer"]["parameters"]["query"];
65
+ /** `GET /account/v1/billing-accounts/{accountKey}/prepaid-assets` 成功时的响应体。 */
66
+ export type ListPrepaidAssetsResult = operations["list-prepaid-assets"]["responses"][200]["content"]["application/json"];
67
+ /** `GET /account/v1/billing-accounts/{accountKey}/prepaid-assets/{provisionId}/renewal-quote` 成功时的响应体。 */
68
+ export type QuoteRenewalResult = operations["quote-renewal"]["responses"][200]["content"]["application/json"];
69
+ /** `GET /account/v1/billing-accounts/{accountKey}/prepaid-assets/{provisionId}/renewal-quote` 的查询参数。 */
70
+ export type QuoteRenewalQuery = operations["quote-renewal"]["parameters"]["query"];
71
+ /** `POST /account/v1/billing-accounts/{accountKey}/prepaid-assets/{provisionId}/renew` 成功时的响应体。 */
72
+ export type RenewPrepaidAssetResult = operations["renew-prepaid-asset"]["responses"][200]["content"]["application/json"];
73
+ /** `POST /account/v1/billing-accounts/{accountKey}/prepaid-assets/{provisionId}/renew` 的请求体。 */
74
+ export type RenewPrepaidAssetBody = NonNullable<operations["renew-prepaid-asset"]["requestBody"]>["content"]["application/json"];
@@ -0,0 +1,5 @@
1
+ // 由 scripts/generate-ts.mjs 生成,不要手改。
2
+ //
3
+ // 别名把 operations[...] 那串下标换成一个名字。原始的 paths / components / operations 也
4
+ // 一并导出:paths 是给 openapi-fetch 的 createClient<paths>() 用的。
5
+ export {};