@leaflow/sdk 0.0.0-dev.113.g5d6fb99
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/dist/account/v1/index.d.ts +38 -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 +68 -0
- package/dist/assistant/v1/index.js +5 -0
- package/dist/assistant/v1/schema.d.ts +1884 -0
- package/dist/assistant/v1/schema.js +5 -0
- package/dist/canopy/v1/index.d.ts +36 -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 +200 -0
- package/dist/compute/v1/index.js +5 -0
- package/dist/compute/v1/schema.d.ts +4439 -0
- package/dist/compute/v1/schema.js +5 -0
- package/dist/gen/account/v1/schema.d.ts +866 -0
- package/dist/gen/account/v1/schema.js +5 -0
- package/dist/gen/assistant/v1/schema.d.ts +1884 -0
- package/dist/gen/assistant/v1/schema.js +5 -0
- package/dist/gen/canopy/v1/schema.d.ts +1100 -0
- package/dist/gen/canopy/v1/schema.js +5 -0
- package/dist/gen/compute/v1/schema.d.ts +4439 -0
- package/dist/gen/compute/v1/schema.js +5 -0
- package/dist/gen/iam/v1/schema.d.ts +1230 -0
- package/dist/gen/iam/v1/schema.js +5 -0
- package/dist/gen/monitoring/v1/schema.d.ts +2291 -0
- package/dist/gen/monitoring/v1/schema.js +5 -0
- package/dist/gen/tunnel/v1/schema.d.ts +845 -0
- package/dist/gen/tunnel/v1/schema.js +5 -0
- package/dist/iam/v1/index.d.ts +56 -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 +80 -0
- package/dist/monitoring/v1/index.js +5 -0
- package/dist/monitoring/v1/schema.d.ts +2291 -0
- package/dist/monitoring/v1/schema.js +5 -0
- package/dist/src/client.d.ts +57 -0
- package/dist/src/client.js +41 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/index.js +1 -0
- package/dist/tunnel/v1/index.d.ts +34 -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 +73 -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,80 @@
|
|
|
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/{incidentId}` 成功时的响应体。 */
|
|
6
|
+
export type GetIncidentResult = operations["get-incident"]["responses"][200]["content"]["application/json"];
|
|
7
|
+
/** `POST /api/v1/incidents/{incidentId}/acknowledge` 成功时的响应体。 */
|
|
8
|
+
export type AcknowledgeIncidentResult = operations["acknowledge-incident"]["responses"][200]["content"]["application/json"];
|
|
9
|
+
/** `POST /api/v1/incidents/{incidentId}/acknowledge` 的请求体。 */
|
|
10
|
+
export type AcknowledgeIncidentBody = NonNullable<operations["acknowledge-incident"]["requestBody"]>["content"]["application/json"];
|
|
11
|
+
/** `PUT /api/v1/incidents/{incidentId}/assignee` 成功时的响应体。 */
|
|
12
|
+
export type AssignIncidentResult = operations["assign-incident"]["responses"][200]["content"]["application/json"];
|
|
13
|
+
/** `PUT /api/v1/incidents/{incidentId}/assignee` 的请求体。 */
|
|
14
|
+
export type AssignIncidentBody = NonNullable<operations["assign-incident"]["requestBody"]>["content"]["application/json"];
|
|
15
|
+
/** `POST /api/v1/incidents/{incidentId}/close` 成功时的响应体。 */
|
|
16
|
+
export type CloseIncidentResult = operations["close-incident"]["responses"][200]["content"]["application/json"];
|
|
17
|
+
/** `POST /api/v1/incidents/{incidentId}/close` 的请求体。 */
|
|
18
|
+
export type CloseIncidentBody = NonNullable<operations["close-incident"]["requestBody"]>["content"]["application/json"];
|
|
19
|
+
/** `POST /api/v1/incidents/{incidentId}/comments` 成功时的响应体。 */
|
|
20
|
+
export type AddIncidentCommentResult = operations["add-incident-comment"]["responses"][200]["content"]["application/json"];
|
|
21
|
+
/** `POST /api/v1/incidents/{incidentId}/comments` 的请求体。 */
|
|
22
|
+
export type AddIncidentCommentBody = NonNullable<operations["add-incident-comment"]["requestBody"]>["content"]["application/json"];
|
|
23
|
+
/** `PUT /api/v1/incidents/{incidentId}/following` 成功时的响应体。 */
|
|
24
|
+
export type SetIncidentFollowingResult = operations["set-incident-following"]["responses"][200]["content"]["application/json"];
|
|
25
|
+
/** `PUT /api/v1/incidents/{incidentId}/following` 的请求体。 */
|
|
26
|
+
export type SetIncidentFollowingBody = NonNullable<operations["set-incident-following"]["requestBody"]>["content"]["application/json"];
|
|
27
|
+
/** `POST /api/v1/incidents/{incidentId}/reopen` 成功时的响应体。 */
|
|
28
|
+
export type ReopenIncidentResult = operations["reopen-incident"]["responses"][200]["content"]["application/json"];
|
|
29
|
+
/** `GET /api/v1/incidents/{incidentId}/timeline` 成功时的响应体。 */
|
|
30
|
+
export type ListIncidentTimelineResult = operations["list-incident-timeline"]["responses"][200]["content"]["application/json"];
|
|
31
|
+
/** `GET /api/v1/maintenance-windows` 成功时的响应体。 */
|
|
32
|
+
export type ListMaintenanceWindowsResult = operations["list-maintenance-windows"]["responses"][200]["content"]["application/json"];
|
|
33
|
+
/** `GET /api/v1/maintenance-windows/{windowId}` 成功时的响应体。 */
|
|
34
|
+
export type GetMaintenanceWindowResult = operations["get-maintenance-window"]["responses"][200]["content"]["application/json"];
|
|
35
|
+
/** `PUT /api/v1/maintenance-windows/{windowId}` 成功时的响应体。 */
|
|
36
|
+
export type PutMaintenanceWindowResult = operations["put-maintenance-window"]["responses"][200]["content"]["application/json"];
|
|
37
|
+
/** `PUT /api/v1/maintenance-windows/{windowId}` 的请求体。 */
|
|
38
|
+
export type PutMaintenanceWindowBody = NonNullable<operations["put-maintenance-window"]["requestBody"]>["content"]["application/json"];
|
|
39
|
+
/** `GET /api/v1/overview` 成功时的响应体。 */
|
|
40
|
+
export type GetProjectOverviewResult = operations["get-project-overview"]["responses"][200]["content"]["application/json"];
|
|
41
|
+
/** `GET /api/v1/servers/{serverId}/items` 成功时的响应体。 */
|
|
42
|
+
export type ListServerItemsResult = operations["list-server-items"]["responses"][200]["content"]["application/json"];
|
|
43
|
+
/** `GET /api/v1/servers/{serverId}/metrics` 成功时的响应体。 */
|
|
44
|
+
export type GetServerMetricResult = operations["get-server-metric"]["responses"][200]["content"]["application/json"];
|
|
45
|
+
/** `GET /api/v1/servers/{serverId}/resources` 成功时的响应体。 */
|
|
46
|
+
export type GetServerResourcesResult = operations["get-server-resources"]["responses"][200]["content"]["application/json"];
|
|
47
|
+
/** `GET /api/v1/servers/{serverId}/snapshot` 成功时的响应体。 */
|
|
48
|
+
export type GetServerSnapshotResult = operations["get-server-snapshot"]["responses"][200]["content"]["application/json"];
|
|
49
|
+
/** `GET /api/v1/top-items` 成功时的响应体。 */
|
|
50
|
+
export type ListProjectTopItemsResult = operations["list-project-top-items"]["responses"][200]["content"]["application/json"];
|
|
51
|
+
/** `GET /api/v1/servers` 成功时的响应体。 */
|
|
52
|
+
export type ListServersResult = operations["list-servers"]["responses"][200]["content"]["application/json"];
|
|
53
|
+
/** `GET /api/v1/servers/{serverId}` 成功时的响应体。 */
|
|
54
|
+
export type GetServerResult = operations["get-server"]["responses"][200]["content"]["application/json"];
|
|
55
|
+
/** `PATCH /api/v1/servers/{serverId}` 成功时的响应体。 */
|
|
56
|
+
export type UpdateServerResult = operations["update-server"]["responses"][200]["content"]["application/json"];
|
|
57
|
+
/** `PATCH /api/v1/servers/{serverId}` 的请求体。 */
|
|
58
|
+
export type UpdateServerBody = NonNullable<operations["update-server"]["requestBody"]>["content"]["application/json"];
|
|
59
|
+
/** `PUT /api/v1/servers/{serverId}` 成功时的响应体。 */
|
|
60
|
+
export type EnableServerMonitoringResult = operations["enable-server-monitoring"]["responses"][200]["content"]["application/json"];
|
|
61
|
+
/** `PUT /api/v1/servers/{serverId}` 的请求体。 */
|
|
62
|
+
export type EnableServerMonitoringBody = NonNullable<operations["enable-server-monitoring"]["requestBody"]>["content"]["application/json"];
|
|
63
|
+
/** `POST /api/v1/servers/{serverId}/psk` 成功时的响应体。 */
|
|
64
|
+
export type RotateAgentPskResult = operations["rotate-agent-psk"]["responses"][200]["content"]["application/json"];
|
|
65
|
+
/** `GET /api/v1/servers/{serverId}/web-checks/{checkId}` 成功时的响应体。 */
|
|
66
|
+
export type GetWebCheckResult = operations["get-web-check"]["responses"][200]["content"]["application/json"];
|
|
67
|
+
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}` 成功时的响应体。 */
|
|
68
|
+
export type PutWebCheckResult = operations["put-web-check"]["responses"][200]["content"]["application/json"];
|
|
69
|
+
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}` 的请求体。 */
|
|
70
|
+
export type PutWebCheckBody = NonNullable<operations["put-web-check"]["requestBody"]>["content"]["application/json"];
|
|
71
|
+
/** `GET /api/v1/web-checks` 成功时的响应体。 */
|
|
72
|
+
export type ListWebChecksResult = operations["list-web-checks"]["responses"][200]["content"]["application/json"];
|
|
73
|
+
/** `GET /api/v1/sli-report` 成功时的响应体。 */
|
|
74
|
+
export type GetSliReportResult = operations["get-sli-report"]["responses"][200]["content"]["application/json"];
|
|
75
|
+
/** `GET /api/v1/slo` 成功时的响应体。 */
|
|
76
|
+
export type GetSloResult = operations["get-slo"]["responses"][200]["content"]["application/json"];
|
|
77
|
+
/** `PUT /api/v1/slo` 成功时的响应体。 */
|
|
78
|
+
export type PutSloResult = operations["put-slo"]["responses"][200]["content"]["application/json"];
|
|
79
|
+
/** `PUT /api/v1/slo` 的请求体。 */
|
|
80
|
+
export type PutSloBody = NonNullable<operations["put-slo"]["requestBody"]>["content"]["application/json"];
|