@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.
- package/README.md +24 -0
- package/dist/account/v1/index.d.ts +42 -0
- package/dist/account/v1/index.js +5 -0
- package/dist/account/v1/schema.d.ts +866 -0
- package/dist/account/v1/schema.js +5 -0
- package/dist/assistant/v1/index.d.ts +80 -0
- package/dist/assistant/v1/index.js +5 -0
- package/dist/assistant/v1/schema.d.ts +1888 -0
- package/dist/assistant/v1/schema.js +5 -0
- package/dist/canopy/v1/index.d.ts +48 -0
- package/dist/canopy/v1/index.js +5 -0
- package/dist/canopy/v1/schema.d.ts +1100 -0
- package/dist/canopy/v1/schema.js +5 -0
- package/dist/compute/v1/index.d.ts +224 -0
- package/dist/compute/v1/index.js +5 -0
- package/dist/compute/v1/schema.d.ts +4442 -0
- package/dist/compute/v1/schema.js +5 -0
- package/dist/iam/v1/index.d.ts +62 -0
- package/dist/iam/v1/index.js +5 -0
- package/dist/iam/v1/schema.d.ts +1230 -0
- package/dist/iam/v1/schema.js +5 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +6 -0
- package/dist/monitoring/v1/index.d.ts +96 -0
- package/dist/monitoring/v1/index.js +5 -0
- package/dist/monitoring/v1/schema.d.ts +2292 -0
- package/dist/monitoring/v1/schema.js +5 -0
- package/dist/tunnel/v1/index.d.ts +38 -0
- package/dist/tunnel/v1/index.js +5 -0
- package/dist/tunnel/v1/schema.d.ts +845 -0
- package/dist/tunnel/v1/schema.js +5 -0
- package/package.json +74 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type * as account from "./account/v1/index.js";
|
|
2
|
+
export type * as assistant from "./assistant/v1/index.js";
|
|
3
|
+
export type * as canopy from "./canopy/v1/index.js";
|
|
4
|
+
export type * as compute from "./compute/v1/index.js";
|
|
5
|
+
export type * as iam from "./iam/v1/index.js";
|
|
6
|
+
export type * as monitoring from "./monitoring/v1/index.js";
|
|
7
|
+
export type * as tunnel from "./tunnel/v1/index.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
|
+
import type { operations } from "./schema.js";
|
|
3
|
+
/** `GET /api/v1/incidents` 成功时的响应体。 */
|
|
4
|
+
export type ListIncidentsResult = operations["list-incidents"]["responses"][200]["content"]["application/json"];
|
|
5
|
+
/** `GET /api/v1/incidents` 的查询参数。 */
|
|
6
|
+
export type ListIncidentsQuery = operations["list-incidents"]["parameters"]["query"];
|
|
7
|
+
/** `GET /api/v1/incidents/{incidentId}` 成功时的响应体。 */
|
|
8
|
+
export type GetIncidentResult = operations["get-incident"]["responses"][200]["content"]["application/json"];
|
|
9
|
+
/** `POST /api/v1/incidents/{incidentId}/acknowledge` 成功时的响应体。 */
|
|
10
|
+
export type AcknowledgeIncidentResult = operations["acknowledge-incident"]["responses"][200]["content"]["application/json"];
|
|
11
|
+
/** `POST /api/v1/incidents/{incidentId}/acknowledge` 的请求体。 */
|
|
12
|
+
export type AcknowledgeIncidentBody = NonNullable<operations["acknowledge-incident"]["requestBody"]>["content"]["application/json"];
|
|
13
|
+
/** `PUT /api/v1/incidents/{incidentId}/assignee` 成功时的响应体。 */
|
|
14
|
+
export type AssignIncidentResult = operations["assign-incident"]["responses"][200]["content"]["application/json"];
|
|
15
|
+
/** `PUT /api/v1/incidents/{incidentId}/assignee` 的请求体。 */
|
|
16
|
+
export type AssignIncidentBody = NonNullable<operations["assign-incident"]["requestBody"]>["content"]["application/json"];
|
|
17
|
+
/** `POST /api/v1/incidents/{incidentId}/close` 成功时的响应体。 */
|
|
18
|
+
export type CloseIncidentResult = operations["close-incident"]["responses"][200]["content"]["application/json"];
|
|
19
|
+
/** `POST /api/v1/incidents/{incidentId}/close` 的请求体。 */
|
|
20
|
+
export type CloseIncidentBody = NonNullable<operations["close-incident"]["requestBody"]>["content"]["application/json"];
|
|
21
|
+
/** `POST /api/v1/incidents/{incidentId}/comments` 成功时的响应体。 */
|
|
22
|
+
export type AddIncidentCommentResult = operations["add-incident-comment"]["responses"][200]["content"]["application/json"];
|
|
23
|
+
/** `POST /api/v1/incidents/{incidentId}/comments` 的请求体。 */
|
|
24
|
+
export type AddIncidentCommentBody = NonNullable<operations["add-incident-comment"]["requestBody"]>["content"]["application/json"];
|
|
25
|
+
/** `PUT /api/v1/incidents/{incidentId}/following` 成功时的响应体。 */
|
|
26
|
+
export type SetIncidentFollowingResult = operations["set-incident-following"]["responses"][200]["content"]["application/json"];
|
|
27
|
+
/** `PUT /api/v1/incidents/{incidentId}/following` 的请求体。 */
|
|
28
|
+
export type SetIncidentFollowingBody = NonNullable<operations["set-incident-following"]["requestBody"]>["content"]["application/json"];
|
|
29
|
+
/** `POST /api/v1/incidents/{incidentId}/reopen` 成功时的响应体。 */
|
|
30
|
+
export type ReopenIncidentResult = operations["reopen-incident"]["responses"][200]["content"]["application/json"];
|
|
31
|
+
/** `GET /api/v1/incidents/{incidentId}/timeline` 成功时的响应体。 */
|
|
32
|
+
export type ListIncidentTimelineResult = operations["list-incident-timeline"]["responses"][200]["content"]["application/json"];
|
|
33
|
+
/** `GET /api/v1/incidents/{incidentId}/timeline` 的查询参数。 */
|
|
34
|
+
export type ListIncidentTimelineQuery = operations["list-incident-timeline"]["parameters"]["query"];
|
|
35
|
+
/** `GET /api/v1/maintenance-windows` 成功时的响应体。 */
|
|
36
|
+
export type ListMaintenanceWindowsResult = operations["list-maintenance-windows"]["responses"][200]["content"]["application/json"];
|
|
37
|
+
/** `GET /api/v1/maintenance-windows/{windowId}` 成功时的响应体。 */
|
|
38
|
+
export type GetMaintenanceWindowResult = operations["get-maintenance-window"]["responses"][200]["content"]["application/json"];
|
|
39
|
+
/** `PUT /api/v1/maintenance-windows/{windowId}` 成功时的响应体。 */
|
|
40
|
+
export type PutMaintenanceWindowResult = operations["put-maintenance-window"]["responses"][200]["content"]["application/json"];
|
|
41
|
+
/** `PUT /api/v1/maintenance-windows/{windowId}` 的请求体。 */
|
|
42
|
+
export type PutMaintenanceWindowBody = NonNullable<operations["put-maintenance-window"]["requestBody"]>["content"]["application/json"];
|
|
43
|
+
/** `GET /api/v1/overview` 成功时的响应体。 */
|
|
44
|
+
export type GetProjectOverviewResult = operations["get-project-overview"]["responses"][200]["content"]["application/json"];
|
|
45
|
+
/** `GET /api/v1/servers/{serverId}/items` 成功时的响应体。 */
|
|
46
|
+
export type ListServerItemsResult = operations["list-server-items"]["responses"][200]["content"]["application/json"];
|
|
47
|
+
/** `GET /api/v1/servers/{serverId}/items` 的查询参数。 */
|
|
48
|
+
export type ListServerItemsQuery = operations["list-server-items"]["parameters"]["query"];
|
|
49
|
+
/** `GET /api/v1/servers/{serverId}/metrics` 成功时的响应体。 */
|
|
50
|
+
export type GetServerMetricResult = operations["get-server-metric"]["responses"][200]["content"]["application/json"];
|
|
51
|
+
/** `GET /api/v1/servers/{serverId}/metrics` 的查询参数。 */
|
|
52
|
+
export type GetServerMetricQuery = operations["get-server-metric"]["parameters"]["query"];
|
|
53
|
+
/** `GET /api/v1/servers/{serverId}/resources` 成功时的响应体。 */
|
|
54
|
+
export type GetServerResourcesResult = operations["get-server-resources"]["responses"][200]["content"]["application/json"];
|
|
55
|
+
/** `GET /api/v1/servers/{serverId}/snapshot` 成功时的响应体。 */
|
|
56
|
+
export type GetServerSnapshotResult = operations["get-server-snapshot"]["responses"][200]["content"]["application/json"];
|
|
57
|
+
/** `GET /api/v1/top-items` 成功时的响应体。 */
|
|
58
|
+
export type ListProjectTopItemsResult = operations["list-project-top-items"]["responses"][200]["content"]["application/json"];
|
|
59
|
+
/** `GET /api/v1/top-items` 的查询参数。 */
|
|
60
|
+
export type ListProjectTopItemsQuery = operations["list-project-top-items"]["parameters"]["query"];
|
|
61
|
+
/** `GET /api/v1/servers` 成功时的响应体。 */
|
|
62
|
+
export type ListServersResult = operations["list-servers"]["responses"][200]["content"]["application/json"];
|
|
63
|
+
/** `GET /api/v1/servers` 的查询参数。 */
|
|
64
|
+
export type ListServersQuery = operations["list-servers"]["parameters"]["query"];
|
|
65
|
+
/** `GET /api/v1/servers/{serverId}` 成功时的响应体。 */
|
|
66
|
+
export type GetServerResult = operations["get-server"]["responses"][200]["content"]["application/json"];
|
|
67
|
+
/** `PATCH /api/v1/servers/{serverId}` 成功时的响应体。 */
|
|
68
|
+
export type UpdateServerResult = operations["update-server"]["responses"][200]["content"]["application/json"];
|
|
69
|
+
/** `PATCH /api/v1/servers/{serverId}` 的请求体。 */
|
|
70
|
+
export type UpdateServerBody = NonNullable<operations["update-server"]["requestBody"]>["content"]["application/json"];
|
|
71
|
+
/** `PUT /api/v1/servers/{serverId}` 成功时的响应体。 */
|
|
72
|
+
export type EnableServerMonitoringResult = operations["enable-server-monitoring"]["responses"][200]["content"]["application/json"];
|
|
73
|
+
/** `PUT /api/v1/servers/{serverId}` 的请求体。 */
|
|
74
|
+
export type EnableServerMonitoringBody = NonNullable<operations["enable-server-monitoring"]["requestBody"]>["content"]["application/json"];
|
|
75
|
+
/** `POST /api/v1/servers/{serverId}/psk` 成功时的响应体。 */
|
|
76
|
+
export type RotateAgentPskResult = operations["rotate-agent-psk"]["responses"][200]["content"]["application/json"];
|
|
77
|
+
/** `GET /api/v1/servers/{serverId}/web-checks/{checkId}` 成功时的响应体。 */
|
|
78
|
+
export type GetWebCheckResult = operations["get-web-check"]["responses"][200]["content"]["application/json"];
|
|
79
|
+
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}` 成功时的响应体。 */
|
|
80
|
+
export type PutWebCheckResult = operations["put-web-check"]["responses"][200]["content"]["application/json"];
|
|
81
|
+
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}` 的请求体。 */
|
|
82
|
+
export type PutWebCheckBody = NonNullable<operations["put-web-check"]["requestBody"]>["content"]["application/json"];
|
|
83
|
+
/** `GET /api/v1/web-checks` 成功时的响应体。 */
|
|
84
|
+
export type ListWebChecksResult = operations["list-web-checks"]["responses"][200]["content"]["application/json"];
|
|
85
|
+
/** `GET /api/v1/web-checks` 的查询参数。 */
|
|
86
|
+
export type ListWebChecksQuery = operations["list-web-checks"]["parameters"]["query"];
|
|
87
|
+
/** `GET /api/v1/sli-report` 成功时的响应体。 */
|
|
88
|
+
export type GetSliReportResult = operations["get-sli-report"]["responses"][200]["content"]["application/json"];
|
|
89
|
+
/** `GET /api/v1/sli-report` 的查询参数。 */
|
|
90
|
+
export type GetSliReportQuery = operations["get-sli-report"]["parameters"]["query"];
|
|
91
|
+
/** `GET /api/v1/slo` 成功时的响应体。 */
|
|
92
|
+
export type GetSloResult = operations["get-slo"]["responses"][200]["content"]["application/json"];
|
|
93
|
+
/** `PUT /api/v1/slo` 成功时的响应体。 */
|
|
94
|
+
export type PutSloResult = operations["put-slo"]["responses"][200]["content"]["application/json"];
|
|
95
|
+
/** `PUT /api/v1/slo` 的请求体。 */
|
|
96
|
+
export type PutSloBody = NonNullable<operations["put-slo"]["requestBody"]>["content"]["application/json"];
|