@leaflow/sdk 0.0.0-dev.9.gd1c7e65 → 0.0.0-dev.91.g8a09696

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.
@@ -2,6 +2,8 @@ export type { paths, components, operations, webhooks } from "./schema.js";
2
2
  import type { operations } from "./schema.js";
3
3
  /** `GET /api/v1/incidents` 成功时的响应体。 */
4
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"];
5
7
  /** `GET /api/v1/incidents/{incidentId}` 成功时的响应体。 */
6
8
  export type GetIncidentResult = operations["get-incident"]["responses"][200]["content"]["application/json"];
7
9
  /** `POST /api/v1/incidents/{incidentId}/acknowledge` 成功时的响应体。 */
@@ -28,6 +30,8 @@ export type SetIncidentFollowingBody = NonNullable<operations["set-incident-foll
28
30
  export type ReopenIncidentResult = operations["reopen-incident"]["responses"][200]["content"]["application/json"];
29
31
  /** `GET /api/v1/incidents/{incidentId}/timeline` 成功时的响应体。 */
30
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"];
31
35
  /** `GET /api/v1/maintenance-windows` 成功时的响应体。 */
32
36
  export type ListMaintenanceWindowsResult = operations["list-maintenance-windows"]["responses"][200]["content"]["application/json"];
33
37
  /** `GET /api/v1/maintenance-windows/{windowId}` 成功时的响应体。 */
@@ -40,16 +44,26 @@ export type PutMaintenanceWindowBody = NonNullable<operations["put-maintenance-w
40
44
  export type GetProjectOverviewResult = operations["get-project-overview"]["responses"][200]["content"]["application/json"];
41
45
  /** `GET /api/v1/servers/{serverId}/items` 成功时的响应体。 */
42
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"];
43
49
  /** `GET /api/v1/servers/{serverId}/metrics` 成功时的响应体。 */
44
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"];
45
53
  /** `GET /api/v1/servers/{serverId}/resources` 成功时的响应体。 */
46
54
  export type GetServerResourcesResult = operations["get-server-resources"]["responses"][200]["content"]["application/json"];
47
55
  /** `GET /api/v1/servers/{serverId}/snapshot` 成功时的响应体。 */
48
56
  export type GetServerSnapshotResult = operations["get-server-snapshot"]["responses"][200]["content"]["application/json"];
49
57
  /** `GET /api/v1/top-items` 成功时的响应体。 */
50
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"];
51
63
  /** `GET /api/v1/servers` 成功时的响应体。 */
52
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"];
53
67
  /** `GET /api/v1/servers/{serverId}` 成功时的响应体。 */
54
68
  export type GetServerResult = operations["get-server"]["responses"][200]["content"]["application/json"];
55
69
  /** `PATCH /api/v1/servers/{serverId}` 成功时的响应体。 */
@@ -70,11 +84,93 @@ export type PutWebCheckResult = operations["put-web-check"]["responses"][200]["c
70
84
  export type PutWebCheckBody = NonNullable<operations["put-web-check"]["requestBody"]>["content"]["application/json"];
71
85
  /** `GET /api/v1/web-checks` 成功时的响应体。 */
72
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"];
73
89
  /** `GET /api/v1/sli-report` 成功时的响应体。 */
74
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"];
75
93
  /** `GET /api/v1/slo` 成功时的响应体。 */
76
94
  export type GetSloResult = operations["get-slo"]["responses"][200]["content"]["application/json"];
77
95
  /** `PUT /api/v1/slo` 成功时的响应体。 */
78
96
  export type PutSloResult = operations["put-slo"]["responses"][200]["content"]["application/json"];
79
97
  /** `PUT /api/v1/slo` 的请求体。 */
80
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"];