@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.
- package/README.md +34 -0
- package/dist/account/v1/index.d.ts +54 -0
- package/dist/account/v1/index.js +5 -0
- package/dist/account/v1/schema.d.ts +1157 -0
- package/dist/account/v1/schema.js +5 -0
- package/dist/assistant/v1/index.d.ts +108 -0
- package/dist/assistant/v1/index.js +5 -0
- package/dist/assistant/v1/schema.d.ts +2840 -0
- package/dist/assistant/v1/schema.js +5 -0
- package/dist/billing/v1/index.d.ts +74 -0
- package/dist/billing/v1/index.js +5 -0
- package/dist/billing/v1/schema.d.ts +2445 -0
- package/dist/billing/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 +246 -0
- package/dist/compute/v1/index.js +5 -0
- package/dist/compute/v1/schema.d.ts +4924 -0
- package/dist/compute/v1/schema.js +5 -0
- package/dist/dns/v1/index.d.ts +42 -0
- package/dist/dns/v1/index.js +5 -0
- package/dist/dns/v1/schema.d.ts +883 -0
- package/dist/dns/v1/schema.js +5 -0
- package/dist/iam/v1/index.d.ts +84 -0
- package/dist/iam/v1/index.js +5 -0
- package/dist/iam/v1/schema.d.ts +1658 -0
- package/dist/iam/v1/schema.js +5 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +6 -0
- package/dist/monitoring/v1/index.d.ts +176 -0
- package/dist/monitoring/v1/index.js +5 -0
- package/dist/monitoring/v1/schema.d.ts +4181 -0
- package/dist/monitoring/v1/schema.js +5 -0
- package/dist/notification/v1/index.d.ts +76 -0
- package/dist/notification/v1/index.js +5 -0
- package/dist/notification/v1/schema.d.ts +2038 -0
- package/dist/notification/v1/schema.js +5 -0
- package/dist/support/v1/index.d.ts +50 -0
- package/dist/support/v1/index.js +5 -0
- package/dist/support/v1/schema.d.ts +1078 -0
- package/dist/support/v1/schema.js +5 -0
- package/dist/tunnel/v1/index.d.ts +16 -0
- package/dist/tunnel/v1/index.js +5 -0
- package/dist/tunnel/v1/schema.d.ts +401 -0
- package/dist/tunnel/v1/schema.js +5 -0
- package/package.json +74 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type * as account from "./account/v1/index.js";
|
|
2
|
+
export type * as assistant from "./assistant/v1/index.js";
|
|
3
|
+
export type * as billing from "./billing/v1/index.js";
|
|
4
|
+
export type * as canopy from "./canopy/v1/index.js";
|
|
5
|
+
export type * as compute from "./compute/v1/index.js";
|
|
6
|
+
export type * as dns from "./dns/v1/index.js";
|
|
7
|
+
export type * as iam from "./iam/v1/index.js";
|
|
8
|
+
export type * as monitoring from "./monitoring/v1/index.js";
|
|
9
|
+
export type * as notification from "./notification/v1/index.js";
|
|
10
|
+
export type * as support from "./support/v1/index.js";
|
|
11
|
+
export type * as tunnel from "./tunnel/v1/index.js";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
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/templates` 成功时的响应体。 */
|
|
62
|
+
export type ListTemplatesResult = operations["list-templates"]["responses"][200]["content"]["application/json"];
|
|
63
|
+
/** `GET /api/v1/servers` 成功时的响应体。 */
|
|
64
|
+
export type ListServersResult = operations["list-servers"]["responses"][200]["content"]["application/json"];
|
|
65
|
+
/** `GET /api/v1/servers` 的查询参数。 */
|
|
66
|
+
export type ListServersQuery = operations["list-servers"]["parameters"]["query"];
|
|
67
|
+
/** `GET /api/v1/servers/{serverId}` 成功时的响应体。 */
|
|
68
|
+
export type GetServerResult = operations["get-server"]["responses"][200]["content"]["application/json"];
|
|
69
|
+
/** `PATCH /api/v1/servers/{serverId}` 成功时的响应体。 */
|
|
70
|
+
export type UpdateServerResult = operations["update-server"]["responses"][200]["content"]["application/json"];
|
|
71
|
+
/** `PATCH /api/v1/servers/{serverId}` 的请求体。 */
|
|
72
|
+
export type UpdateServerBody = NonNullable<operations["update-server"]["requestBody"]>["content"]["application/json"];
|
|
73
|
+
/** `PUT /api/v1/servers/{serverId}` 成功时的响应体。 */
|
|
74
|
+
export type EnableServerMonitoringResult = operations["enable-server-monitoring"]["responses"][200]["content"]["application/json"];
|
|
75
|
+
/** `PUT /api/v1/servers/{serverId}` 的请求体。 */
|
|
76
|
+
export type EnableServerMonitoringBody = NonNullable<operations["enable-server-monitoring"]["requestBody"]>["content"]["application/json"];
|
|
77
|
+
/** `POST /api/v1/servers/{serverId}/psk` 成功时的响应体。 */
|
|
78
|
+
export type RotateAgentPskResult = operations["rotate-agent-psk"]["responses"][200]["content"]["application/json"];
|
|
79
|
+
/** `GET /api/v1/servers/{serverId}/web-checks/{checkId}` 成功时的响应体。 */
|
|
80
|
+
export type GetWebCheckResult = operations["get-web-check"]["responses"][200]["content"]["application/json"];
|
|
81
|
+
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}` 成功时的响应体。 */
|
|
82
|
+
export type PutWebCheckResult = operations["put-web-check"]["responses"][200]["content"]["application/json"];
|
|
83
|
+
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}` 的请求体。 */
|
|
84
|
+
export type PutWebCheckBody = NonNullable<operations["put-web-check"]["requestBody"]>["content"]["application/json"];
|
|
85
|
+
/** `GET /api/v1/web-checks` 成功时的响应体。 */
|
|
86
|
+
export type ListWebChecksResult = operations["list-web-checks"]["responses"][200]["content"]["application/json"];
|
|
87
|
+
/** `GET /api/v1/web-checks` 的查询参数。 */
|
|
88
|
+
export type ListWebChecksQuery = operations["list-web-checks"]["parameters"]["query"];
|
|
89
|
+
/** `GET /api/v1/sli-report` 成功时的响应体。 */
|
|
90
|
+
export type GetSliReportResult = operations["get-sli-report"]["responses"][200]["content"]["application/json"];
|
|
91
|
+
/** `GET /api/v1/sli-report` 的查询参数。 */
|
|
92
|
+
export type GetSliReportQuery = operations["get-sli-report"]["parameters"]["query"];
|
|
93
|
+
/** `GET /api/v1/slo` 成功时的响应体。 */
|
|
94
|
+
export type GetSloResult = operations["get-slo"]["responses"][200]["content"]["application/json"];
|
|
95
|
+
/** `PUT /api/v1/slo` 成功时的响应体。 */
|
|
96
|
+
export type PutSloResult = operations["put-slo"]["responses"][200]["content"]["application/json"];
|
|
97
|
+
/** `PUT /api/v1/slo` 的请求体。 */
|
|
98
|
+
export type PutSloBody = NonNullable<operations["put-slo"]["requestBody"]>["content"]["application/json"];
|
|
99
|
+
/** `GET /api/v1/status-page` 成功时的响应体。 */
|
|
100
|
+
export type GetStatusPageResult = operations["get-status-page"]["responses"][200]["content"]["application/json"];
|
|
101
|
+
/** `PUT /api/v1/status-page` 成功时的响应体。 */
|
|
102
|
+
export type PutStatusPageResult = operations["put-status-page"]["responses"][200]["content"]["application/json"];
|
|
103
|
+
/** `PUT /api/v1/status-page` 的请求体。 */
|
|
104
|
+
export type PutStatusPageBody = NonNullable<operations["put-status-page"]["requestBody"]>["content"]["application/json"];
|
|
105
|
+
/** `PUT /api/v1/status-page/order` 的请求体。 */
|
|
106
|
+
export type PutStatusPageOrderBody = NonNullable<operations["put-status-page-order"]["requestBody"]>["content"]["application/json"];
|
|
107
|
+
/** `GET /api/v1/status-page/groups` 成功时的响应体。 */
|
|
108
|
+
export type ListStatusPageGroupsResult = operations["list-status-page-groups"]["responses"][200]["content"]["application/json"];
|
|
109
|
+
/** `POST /api/v1/status-page/groups` 成功时的响应体。 */
|
|
110
|
+
export type CreateStatusPageGroupResult = operations["create-status-page-group"]["responses"][201]["content"]["application/json"];
|
|
111
|
+
/** `POST /api/v1/status-page/groups` 的请求体。 */
|
|
112
|
+
export type CreateStatusPageGroupBody = NonNullable<operations["create-status-page-group"]["requestBody"]>["content"]["application/json"];
|
|
113
|
+
/** `PUT /api/v1/status-page/groups/{groupId}` 成功时的响应体。 */
|
|
114
|
+
export type UpdateStatusPageGroupResult = operations["update-status-page-group"]["responses"][200]["content"]["application/json"];
|
|
115
|
+
/** `PUT /api/v1/status-page/groups/{groupId}` 的请求体。 */
|
|
116
|
+
export type UpdateStatusPageGroupBody = NonNullable<operations["update-status-page-group"]["requestBody"]>["content"]["application/json"];
|
|
117
|
+
/** `PUT /api/v1/status-page/groups/{groupId}/order` 的请求体。 */
|
|
118
|
+
export type PutStatusPageGroupOrderBody = NonNullable<operations["put-status-page-group-order"]["requestBody"]>["content"]["application/json"];
|
|
119
|
+
/** `GET /api/v1/status-page/components` 成功时的响应体。 */
|
|
120
|
+
export type ListStatusPageComponentsResult = operations["list-status-page-components"]["responses"][200]["content"]["application/json"];
|
|
121
|
+
/** `POST /api/v1/status-page/components` 成功时的响应体。 */
|
|
122
|
+
export type CreateStatusPageComponentResult = operations["create-status-page-component"]["responses"][201]["content"]["application/json"];
|
|
123
|
+
/** `POST /api/v1/status-page/components` 的请求体。 */
|
|
124
|
+
export type CreateStatusPageComponentBody = NonNullable<operations["create-status-page-component"]["requestBody"]>["content"]["application/json"];
|
|
125
|
+
/** `GET /api/v1/status-page/components/{componentId}` 成功时的响应体。 */
|
|
126
|
+
export type GetStatusPageComponentResult = operations["get-status-page-component"]["responses"][200]["content"]["application/json"];
|
|
127
|
+
/** `PUT /api/v1/status-page/components/{componentId}` 成功时的响应体。 */
|
|
128
|
+
export type UpdateStatusPageComponentResult = operations["update-status-page-component"]["responses"][200]["content"]["application/json"];
|
|
129
|
+
/** `PUT /api/v1/status-page/components/{componentId}` 的请求体。 */
|
|
130
|
+
export type UpdateStatusPageComponentBody = NonNullable<operations["update-status-page-component"]["requestBody"]>["content"]["application/json"];
|
|
131
|
+
/** `GET /api/v1/status-page/components/{componentId}/sources` 成功时的响应体。 */
|
|
132
|
+
export type ListStatusPageComponentSourcesResult = operations["list-status-page-component-sources"]["responses"][200]["content"]["application/json"];
|
|
133
|
+
/** `PUT /api/v1/status-page/components/{componentId}/sources` 成功时的响应体。 */
|
|
134
|
+
export type PutStatusPageComponentSourcesResult = operations["put-status-page-component-sources"]["responses"][200]["content"]["application/json"];
|
|
135
|
+
/** `PUT /api/v1/status-page/components/{componentId}/sources` 的请求体。 */
|
|
136
|
+
export type PutStatusPageComponentSourcesBody = NonNullable<operations["put-status-page-component-sources"]["requestBody"]>["content"]["application/json"];
|
|
137
|
+
/** `GET /api/v1/status-page/incidents` 成功时的响应体。 */
|
|
138
|
+
export type ListStatusPageIncidentsResult = operations["list-status-page-incidents"]["responses"][200]["content"]["application/json"];
|
|
139
|
+
/** `GET /api/v1/status-page/incidents` 的查询参数。 */
|
|
140
|
+
export type ListStatusPageIncidentsQuery = operations["list-status-page-incidents"]["parameters"]["query"];
|
|
141
|
+
/** `POST /api/v1/status-page/incidents` 成功时的响应体。 */
|
|
142
|
+
export type PublishStatusPageIncidentResult = operations["publish-status-page-incident"]["responses"][201]["content"]["application/json"];
|
|
143
|
+
/** `POST /api/v1/status-page/incidents` 的请求体。 */
|
|
144
|
+
export type PublishStatusPageIncidentBody = NonNullable<operations["publish-status-page-incident"]["requestBody"]>["content"]["application/json"];
|
|
145
|
+
/** `GET /api/v1/status-page/incidents/{incidentId}` 成功时的响应体。 */
|
|
146
|
+
export type GetStatusPageIncidentResult = operations["get-status-page-incident"]["responses"][200]["content"]["application/json"];
|
|
147
|
+
/** `POST /api/v1/status-page/incidents/{incidentId}/updates` 成功时的响应体。 */
|
|
148
|
+
export type PostStatusPageIncidentUpdateResult = operations["post-status-page-incident-update"]["responses"][200]["content"]["application/json"];
|
|
149
|
+
/** `POST /api/v1/status-page/incidents/{incidentId}/updates` 的请求体。 */
|
|
150
|
+
export type PostStatusPageIncidentUpdateBody = NonNullable<operations["post-status-page-incident-update"]["requestBody"]>["content"]["application/json"];
|
|
151
|
+
/** `GET /api/v1/status-page/maintenances` 成功时的响应体。 */
|
|
152
|
+
export type ListStatusPageMaintenancesResult = operations["list-status-page-maintenances"]["responses"][200]["content"]["application/json"];
|
|
153
|
+
/** `GET /api/v1/status-page/maintenances` 的查询参数。 */
|
|
154
|
+
export type ListStatusPageMaintenancesQuery = operations["list-status-page-maintenances"]["parameters"]["query"];
|
|
155
|
+
/** `POST /api/v1/status-page/maintenances` 成功时的响应体。 */
|
|
156
|
+
export type ScheduleStatusPageMaintenanceResult = operations["schedule-status-page-maintenance"]["responses"][201]["content"]["application/json"];
|
|
157
|
+
/** `POST /api/v1/status-page/maintenances` 的请求体。 */
|
|
158
|
+
export type ScheduleStatusPageMaintenanceBody = NonNullable<operations["schedule-status-page-maintenance"]["requestBody"]>["content"]["application/json"];
|
|
159
|
+
/** `GET /api/v1/status-page/maintenances/{maintenanceId}` 成功时的响应体。 */
|
|
160
|
+
export type GetStatusPageMaintenanceResult = operations["get-status-page-maintenance"]["responses"][200]["content"]["application/json"];
|
|
161
|
+
/** `POST /api/v1/status-page/maintenances/{maintenanceId}/cancel` 成功时的响应体。 */
|
|
162
|
+
export type CancelStatusPageMaintenanceResult = operations["cancel-status-page-maintenance"]["responses"][200]["content"]["application/json"];
|
|
163
|
+
/** `POST /api/v1/status-page/maintenances/{maintenanceId}/complete` 成功时的响应体。 */
|
|
164
|
+
export type CompleteStatusPageMaintenanceResult = operations["complete-status-page-maintenance"]["responses"][200]["content"]["application/json"];
|
|
165
|
+
/** `GET /api/v1/web-checks/{checkId}` 成功时的响应体。 */
|
|
166
|
+
export type GetProjectWebCheckResult = operations["get-project-web-check"]["responses"][200]["content"]["application/json"];
|
|
167
|
+
/** `PUT /api/v1/web-checks/{checkId}` 成功时的响应体。 */
|
|
168
|
+
export type PutProjectWebCheckResult = operations["put-project-web-check"]["responses"][200]["content"]["application/json"];
|
|
169
|
+
/** `PUT /api/v1/web-checks/{checkId}` 的请求体。 */
|
|
170
|
+
export type PutProjectWebCheckBody = NonNullable<operations["put-project-web-check"]["requestBody"]>["content"]["application/json"];
|
|
171
|
+
/** `GET /api/v1/status-page/domain` 成功时的响应体。 */
|
|
172
|
+
export type GetStatusPageDomainResult = operations["get-status-page-domain"]["responses"][200]["content"]["application/json"];
|
|
173
|
+
/** `PUT /api/v1/status-page/domain` 成功时的响应体。 */
|
|
174
|
+
export type PutStatusPageDomainResult = operations["put-status-page-domain"]["responses"][200]["content"]["application/json"];
|
|
175
|
+
/** `PUT /api/v1/status-page/domain` 的请求体。 */
|
|
176
|
+
export type PutStatusPageDomainBody = NonNullable<operations["put-status-page-domain"]["requestBody"]>["content"]["application/json"];
|