@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,42 @@
1
+ export type { paths, components, operations, webhooks } from "./schema.js";
2
+ import type { operations } from "./schema.js";
3
+ /** `GET /api/v1/credentials` 成功时的响应体。 */
4
+ export type ListCredentialsResult = operations["list-credentials"]["responses"][200]["content"]["application/json"];
5
+ /** `GET /api/v1/credentials` 的查询参数。 */
6
+ export type ListCredentialsQuery = operations["list-credentials"]["parameters"]["query"];
7
+ /** `POST /api/v1/credentials` 成功时的响应体。 */
8
+ export type CreateCredentialResult = operations["create-credential"]["responses"][201]["content"]["application/json"];
9
+ /** `POST /api/v1/credentials` 的请求体。 */
10
+ export type CreateCredentialBody = NonNullable<operations["create-credential"]["requestBody"]>["content"]["application/json"];
11
+ /** `GET /api/v1/credentials/{credentialId}` 成功时的响应体。 */
12
+ export type GetCredentialResult = operations["get-credential"]["responses"][200]["content"]["application/json"];
13
+ /** `PATCH /api/v1/credentials/{credentialId}` 成功时的响应体。 */
14
+ export type RenameCredentialResult = operations["rename-credential"]["responses"][200]["content"]["application/json"];
15
+ /** `PATCH /api/v1/credentials/{credentialId}` 的请求体。 */
16
+ export type RenameCredentialBody = NonNullable<operations["rename-credential"]["requestBody"]>["content"]["application/json"];
17
+ /** `POST /api/v1/credentials/{credentialId}/verification` 成功时的响应体。 */
18
+ export type VerifyCredentialResult = operations["verify-credential"]["responses"][200]["content"]["application/json"];
19
+ /** `GET /api/v1/zones` 成功时的响应体。 */
20
+ export type ListZonesResult = operations["list-zones"]["responses"][200]["content"]["application/json"];
21
+ /** `GET /api/v1/zones` 的查询参数。 */
22
+ export type ListZonesQuery = operations["list-zones"]["parameters"]["query"];
23
+ /** `GET /api/v1/zones/{zone}/records` 成功时的响应体。 */
24
+ export type ListRecordsResult = operations["list-records"]["responses"][200]["content"]["application/json"];
25
+ /** `GET /api/v1/zones/{zone}/records` 的查询参数。 */
26
+ export type ListRecordsQuery = operations["list-records"]["parameters"]["query"];
27
+ /** `GET /api/v1/zones/{zone}/records/{name}/{type}` 成功时的响应体。 */
28
+ export type GetRecordSetResult = operations["get-record-set"]["responses"][200]["content"]["application/json"];
29
+ /** `PATCH /api/v1/zones/{zone}/records/{name}/{type}` 成功时的响应体。 */
30
+ export type ModifyRecordSetResult = operations["modify-record-set"]["responses"][200]["content"]["application/json"];
31
+ /** `PATCH /api/v1/zones/{zone}/records/{name}/{type}` 的查询参数。 */
32
+ export type ModifyRecordSetQuery = operations["modify-record-set"]["parameters"]["query"];
33
+ /** `PATCH /api/v1/zones/{zone}/records/{name}/{type}` 的请求体。 */
34
+ export type ModifyRecordSetBody = NonNullable<operations["modify-record-set"]["requestBody"]>["content"]["application/json"];
35
+ /** `PUT /api/v1/zones/{zone}/records/{name}/{type}` 成功时的响应体。 */
36
+ export type SetRecordSetResult = operations["set-record-set"]["responses"][200]["content"]["application/json"];
37
+ /** `PUT /api/v1/zones/{zone}/records/{name}/{type}` 的查询参数。 */
38
+ export type SetRecordSetQuery = operations["set-record-set"]["parameters"]["query"];
39
+ /** `PUT /api/v1/zones/{zone}/records/{name}/{type}` 的请求体。 */
40
+ export type SetRecordSetBody = NonNullable<operations["set-record-set"]["requestBody"]>["content"]["application/json"];
41
+ /** `DELETE /api/v1/zones/{zone}/records/{name}/{type}` 的查询参数。 */
42
+ export type DeleteRecordSetQuery = operations["delete-record-set"]["parameters"]["query"];
@@ -0,0 +1,5 @@
1
+ // 由 scripts/generate-ts.mjs 生成,不要手改。
2
+ //
3
+ // 别名把 operations[...] 那串下标换成一个名字。原始的 paths / components / operations 也
4
+ // 一并导出:paths 是给 openapi-fetch 的 createClient<paths>() 用的。
5
+ export {};