@leaflow/sdk 0.0.0-dev.11.g7f2d603

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.
@@ -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,38 @@
1
+ export type { paths, components, operations, webhooks } from "./schema.js";
2
+ import type { operations } from "./schema.js";
3
+ /** `GET /api/v1/operation-logs` 成功时的响应体。 */
4
+ export type ListTunnelOperationLogsResult = operations["list-tunnel-operation-logs"]["responses"][200]["content"]["application/json"];
5
+ /** `GET /api/v1/operation-logs` 的查询参数。 */
6
+ export type ListTunnelOperationLogsQuery = operations["list-tunnel-operation-logs"]["parameters"]["query"];
7
+ /** `GET /api/v1/plans` 成功时的响应体。 */
8
+ export type ListTunnelPlansResult = operations["list-tunnel-plans"]["responses"][200]["content"]["application/json"];
9
+ /** `DELETE /api/v1/tunnel` 成功时的响应体。 */
10
+ export type CloseTunnelResult = operations["close-tunnel"]["responses"][200]["content"]["application/json"];
11
+ /** `GET /api/v1/tunnel` 成功时的响应体。 */
12
+ export type GetTunnelResult = operations["get-tunnel"]["responses"][200]["content"]["application/json"];
13
+ /** `PATCH /api/v1/tunnel` 成功时的响应体。 */
14
+ export type UpdateTunnelProfileResult = operations["update-tunnel-profile"]["responses"][200]["content"]["application/json"];
15
+ /** `PATCH /api/v1/tunnel` 的请求体。 */
16
+ export type UpdateTunnelProfileBody = NonNullable<operations["update-tunnel-profile"]["requestBody"]>["content"]["application/json"];
17
+ /** `POST /api/v1/tunnel` 成功时的响应体。 */
18
+ export type OpenTunnelResult = operations["open-tunnel"]["responses"][201]["content"]["application/json"];
19
+ /** `POST /api/v1/tunnel` 的请求体。 */
20
+ export type OpenTunnelBody = NonNullable<operations["open-tunnel"]["requestBody"]>["content"]["application/json"];
21
+ /** `POST /api/v1/tunnel/actions` 成功时的响应体。 */
22
+ export type ActOnTunnelResult = operations["act-on-tunnel"]["responses"][200]["content"]["application/json"];
23
+ /** `POST /api/v1/tunnel/actions` 的请求体。 */
24
+ export type ActOnTunnelBody = NonNullable<operations["act-on-tunnel"]["requestBody"]>["content"]["application/json"];
25
+ /** `PUT /api/v1/tunnel/plan` 成功时的响应体。 */
26
+ export type ChangeTunnelPlanResult = operations["change-tunnel-plan"]["responses"][200]["content"]["application/json"];
27
+ /** `PUT /api/v1/tunnel/plan` 的请求体。 */
28
+ export type ChangeTunnelPlanBody = NonNullable<operations["change-tunnel-plan"]["requestBody"]>["content"]["application/json"];
29
+ /** `GET /api/v1/tunnel/subscription` 成功时的响应体。 */
30
+ export type GetTunnelSubscriptionResult = operations["get-tunnel-subscription"]["responses"][200]["content"]["application/json"];
31
+ /** `POST /api/v1/tunnel/subscription/rotate` 成功时的响应体。 */
32
+ export type RotateTunnelSubscriptionResult = operations["rotate-tunnel-subscription"]["responses"][200]["content"]["application/json"];
33
+ /** `GET /api/v1/tunnel/usage` 成功时的响应体。 */
34
+ export type GetTunnelUsageResult = operations["get-tunnel-usage"]["responses"][200]["content"]["application/json"];
35
+ /** `GET /api/v1/tunnel/usage/series` 成功时的响应体。 */
36
+ export type ListTunnelUsageSeriesResult = operations["list-tunnel-usage-series"]["responses"][200]["content"]["application/json"];
37
+ /** `GET /api/v1/tunnel/usage/series` 的查询参数。 */
38
+ export type ListTunnelUsageSeriesQuery = operations["list-tunnel-usage-series"]["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 {};