@leaflow/sdk 0.0.0-dev.23.g7fcf334 → 0.0.0-dev.232.g18ca775
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 +22 -1
- package/dist/account/v1/client.d.ts +4 -0
- package/dist/account/v1/client.js +7 -0
- package/dist/account/v1/index.d.ts +33 -22
- package/dist/account/v1/index.js +4 -4
- package/dist/account/v1/schema.d.ts +307 -89
- package/dist/assistant/v1/client.d.ts +4 -0
- package/dist/assistant/v1/client.js +7 -0
- package/dist/assistant/v1/index.d.ts +71 -40
- package/dist/assistant/v1/index.js +4 -4
- package/dist/assistant/v1/schema.d.ts +1204 -139
- package/dist/billing/account/v1/client.d.ts +4 -0
- package/dist/billing/account/v1/client.js +7 -0
- package/dist/billing/account/v1/index.d.ts +143 -0
- package/dist/billing/account/v1/index.js +5 -0
- package/dist/billing/account/v1/schema.d.ts +4009 -0
- package/dist/billing/account/v1/schema.js +5 -0
- package/dist/billing/catalog/v1/client.d.ts +4 -0
- package/dist/billing/catalog/v1/client.js +7 -0
- package/dist/billing/catalog/v1/index.d.ts +29 -0
- package/dist/billing/catalog/v1/index.js +5 -0
- package/dist/billing/catalog/v1/schema.d.ts +910 -0
- package/dist/billing/catalog/v1/schema.js +5 -0
- package/dist/billing/index.d.ts +3 -0
- package/dist/billing/index.js +6 -0
- package/dist/billing/project/v1/client.d.ts +4 -0
- package/dist/billing/project/v1/client.js +7 -0
- package/dist/billing/project/v1/index.d.ts +45 -0
- package/dist/billing/project/v1/index.js +5 -0
- package/dist/billing/project/v1/schema.d.ts +1443 -0
- package/dist/billing/project/v1/schema.js +5 -0
- package/dist/canopy/v1/client.d.ts +4 -0
- package/dist/canopy/v1/client.js +7 -0
- package/dist/canopy/v1/index.d.ts +24 -23
- package/dist/canopy/v1/index.js +4 -4
- package/dist/canopy/v1/schema.d.ts +113 -109
- package/dist/compute/v1/client.d.ts +4 -0
- package/dist/compute/v1/client.js +7 -0
- package/dist/compute/v1/index.d.ts +182 -127
- package/dist/compute/v1/index.js +4 -4
- package/dist/compute/v1/schema.d.ts +1501 -286
- package/dist/dns/v1/client.d.ts +4 -0
- package/dist/dns/v1/client.js +7 -0
- package/dist/dns/v1/index.d.ts +43 -0
- package/dist/dns/v1/index.js +5 -0
- package/dist/dns/v1/schema.d.ts +887 -0
- package/dist/dns/v1/schema.js +5 -0
- package/dist/iam/v1/client.d.ts +4 -0
- package/dist/iam/v1/client.js +7 -0
- package/dist/iam/v1/index.d.ts +55 -32
- package/dist/iam/v1/index.js +4 -4
- package/dist/iam/v1/schema.d.ts +521 -88
- package/dist/index.d.ts +11 -7
- package/dist/index.js +19 -5
- package/dist/monitoring/v1/client.d.ts +4 -0
- package/dist/monitoring/v1/client.js +7 -0
- package/dist/monitoring/v1/index.d.ts +130 -49
- package/dist/monitoring/v1/index.js +4 -4
- package/dist/monitoring/v1/schema.d.ts +2420 -527
- package/dist/notification/v1/client.d.ts +4 -0
- package/dist/notification/v1/client.js +7 -0
- package/dist/notification/v1/index.d.ts +77 -0
- package/dist/notification/v1/index.js +5 -0
- package/dist/notification/v1/schema.d.ts +2048 -0
- package/dist/notification/v1/schema.js +5 -0
- package/dist/support/v1/client.d.ts +4 -0
- package/dist/support/v1/client.js +7 -0
- package/dist/support/v1/index.d.ts +51 -0
- package/dist/support/v1/index.js +5 -0
- package/dist/support/v1/schema.d.ts +1082 -0
- package/dist/support/v1/schema.js +5 -0
- package/dist/tunnel/v1/client.d.ts +4 -0
- package/dist/tunnel/v1/client.js +7 -0
- package/dist/tunnel/v1/index.d.ts +8 -7
- package/dist/tunnel/v1/index.js +4 -4
- package/dist/tunnel/v1/schema.d.ts +40 -34
- package/package.json +30 -10
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
1
|
+
export * as account from "./account/v1/index.js";
|
|
2
|
+
export * as assistant from "./assistant/v1/index.js";
|
|
3
|
+
export * as billing from "./billing/index.js";
|
|
4
|
+
export * as canopy from "./canopy/v1/index.js";
|
|
5
|
+
export * as compute from "./compute/v1/index.js";
|
|
6
|
+
export * as dns from "./dns/v1/index.js";
|
|
7
|
+
export * as iam from "./iam/v1/index.js";
|
|
8
|
+
export * as monitoring from "./monitoring/v1/index.js";
|
|
9
|
+
export * as notification from "./notification/v1/index.js";
|
|
10
|
+
export * as support from "./support/v1/index.js";
|
|
11
|
+
export * as tunnel from "./tunnel/v1/index.js";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by scripts/generate.mjs. DO NOT EDIT.
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
|
|
3
|
+
// One namespace per service, never flattened: compute and tunnel each declare an
|
|
4
|
+
// OperationLogResource, and they are different types. Flattening lets the first one
|
|
5
|
+
// declared shadow the other, silently — which surfaces as an endpoint whose fields do not
|
|
6
|
+
// match its type, and reads like a bug in the backend.
|
|
7
|
+
//
|
|
8
|
+
// A namespace carries client() as well as types, hence `export * as` rather than
|
|
9
|
+
// `export type * as`; sideEffects: false keeps unused services out of a bundle.
|
|
10
|
+
export * as account from "./account/v1/index.js";
|
|
11
|
+
export * as assistant from "./assistant/v1/index.js";
|
|
12
|
+
export * as billing from "./billing/index.js";
|
|
13
|
+
export * as canopy from "./canopy/v1/index.js";
|
|
14
|
+
export * as compute from "./compute/v1/index.js";
|
|
15
|
+
export * as dns from "./dns/v1/index.js";
|
|
16
|
+
export * as iam from "./iam/v1/index.js";
|
|
17
|
+
export * as monitoring from "./monitoring/v1/index.js";
|
|
18
|
+
export * as notification from "./notification/v1/index.js";
|
|
19
|
+
export * as support from "./support/v1/index.js";
|
|
20
|
+
export * as tunnel from "./tunnel/v1/index.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ClientOptions } from "openapi-fetch";
|
|
2
|
+
import type { paths } from "./schema.js";
|
|
3
|
+
/** A client for the monitoring service. Pass baseUrl to override the address. */
|
|
4
|
+
export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// Code generated from the contract's servers[0]. DO NOT EDIT.
|
|
2
|
+
import createClient, {} from "openapi-fetch";
|
|
3
|
+
const defaultBaseUrl = "https://monitoring.leaflow.cloud";
|
|
4
|
+
/** A client for the monitoring service. Pass baseUrl to override the address. */
|
|
5
|
+
export function client(options = {}) {
|
|
6
|
+
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
+
}
|
|
@@ -1,96 +1,177 @@
|
|
|
1
1
|
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
|
+
export { client } from "./client.js";
|
|
2
3
|
import type { operations } from "./schema.js";
|
|
3
|
-
/** `GET /api/v1/incidents
|
|
4
|
+
/** The success response body of `GET /api/v1/incidents`. */
|
|
4
5
|
export type ListIncidentsResult = operations["list-incidents"]["responses"][200]["content"]["application/json"];
|
|
5
|
-
/** `GET /api/v1/incidents
|
|
6
|
+
/** The query parameters of `GET /api/v1/incidents`. */
|
|
6
7
|
export type ListIncidentsQuery = operations["list-incidents"]["parameters"]["query"];
|
|
7
|
-
/** `GET /api/v1/incidents/{incidentId}
|
|
8
|
+
/** The success response body of `GET /api/v1/incidents/{incidentId}`. */
|
|
8
9
|
export type GetIncidentResult = operations["get-incident"]["responses"][200]["content"]["application/json"];
|
|
9
|
-
/** `POST /api/v1/incidents/{incidentId}/acknowledge
|
|
10
|
+
/** The success response body of `POST /api/v1/incidents/{incidentId}/acknowledge`. */
|
|
10
11
|
export type AcknowledgeIncidentResult = operations["acknowledge-incident"]["responses"][200]["content"]["application/json"];
|
|
11
|
-
/** `POST /api/v1/incidents/{incidentId}/acknowledge
|
|
12
|
+
/** The request body of `POST /api/v1/incidents/{incidentId}/acknowledge`. */
|
|
12
13
|
export type AcknowledgeIncidentBody = NonNullable<operations["acknowledge-incident"]["requestBody"]>["content"]["application/json"];
|
|
13
|
-
/** `PUT /api/v1/incidents/{incidentId}/assignee
|
|
14
|
+
/** The success response body of `PUT /api/v1/incidents/{incidentId}/assignee`. */
|
|
14
15
|
export type AssignIncidentResult = operations["assign-incident"]["responses"][200]["content"]["application/json"];
|
|
15
|
-
/** `PUT /api/v1/incidents/{incidentId}/assignee
|
|
16
|
+
/** The request body of `PUT /api/v1/incidents/{incidentId}/assignee`. */
|
|
16
17
|
export type AssignIncidentBody = NonNullable<operations["assign-incident"]["requestBody"]>["content"]["application/json"];
|
|
17
|
-
/** `POST /api/v1/incidents/{incidentId}/close
|
|
18
|
+
/** The success response body of `POST /api/v1/incidents/{incidentId}/close`. */
|
|
18
19
|
export type CloseIncidentResult = operations["close-incident"]["responses"][200]["content"]["application/json"];
|
|
19
|
-
/** `POST /api/v1/incidents/{incidentId}/close
|
|
20
|
+
/** The request body of `POST /api/v1/incidents/{incidentId}/close`. */
|
|
20
21
|
export type CloseIncidentBody = NonNullable<operations["close-incident"]["requestBody"]>["content"]["application/json"];
|
|
21
|
-
/** `POST /api/v1/incidents/{incidentId}/comments
|
|
22
|
+
/** The success response body of `POST /api/v1/incidents/{incidentId}/comments`. */
|
|
22
23
|
export type AddIncidentCommentResult = operations["add-incident-comment"]["responses"][200]["content"]["application/json"];
|
|
23
|
-
/** `POST /api/v1/incidents/{incidentId}/comments
|
|
24
|
+
/** The request body of `POST /api/v1/incidents/{incidentId}/comments`. */
|
|
24
25
|
export type AddIncidentCommentBody = NonNullable<operations["add-incident-comment"]["requestBody"]>["content"]["application/json"];
|
|
25
|
-
/** `PUT /api/v1/incidents/{incidentId}/following
|
|
26
|
+
/** The success response body of `PUT /api/v1/incidents/{incidentId}/following`. */
|
|
26
27
|
export type SetIncidentFollowingResult = operations["set-incident-following"]["responses"][200]["content"]["application/json"];
|
|
27
|
-
/** `PUT /api/v1/incidents/{incidentId}/following
|
|
28
|
+
/** The request body of `PUT /api/v1/incidents/{incidentId}/following`. */
|
|
28
29
|
export type SetIncidentFollowingBody = NonNullable<operations["set-incident-following"]["requestBody"]>["content"]["application/json"];
|
|
29
|
-
/** `POST /api/v1/incidents/{incidentId}/reopen
|
|
30
|
+
/** The success response body of `POST /api/v1/incidents/{incidentId}/reopen`. */
|
|
30
31
|
export type ReopenIncidentResult = operations["reopen-incident"]["responses"][200]["content"]["application/json"];
|
|
31
|
-
/** `GET /api/v1/incidents/{incidentId}/timeline
|
|
32
|
+
/** The success response body of `GET /api/v1/incidents/{incidentId}/timeline`. */
|
|
32
33
|
export type ListIncidentTimelineResult = operations["list-incident-timeline"]["responses"][200]["content"]["application/json"];
|
|
33
|
-
/** `GET /api/v1/incidents/{incidentId}/timeline
|
|
34
|
+
/** The query parameters of `GET /api/v1/incidents/{incidentId}/timeline`. */
|
|
34
35
|
export type ListIncidentTimelineQuery = operations["list-incident-timeline"]["parameters"]["query"];
|
|
35
|
-
/** `GET /api/v1/maintenance-windows
|
|
36
|
+
/** The success response body of `GET /api/v1/maintenance-windows`. */
|
|
36
37
|
export type ListMaintenanceWindowsResult = operations["list-maintenance-windows"]["responses"][200]["content"]["application/json"];
|
|
37
|
-
/** `GET /api/v1/maintenance-windows/{windowId}
|
|
38
|
+
/** The success response body of `GET /api/v1/maintenance-windows/{windowId}`. */
|
|
38
39
|
export type GetMaintenanceWindowResult = operations["get-maintenance-window"]["responses"][200]["content"]["application/json"];
|
|
39
|
-
/** `PUT /api/v1/maintenance-windows/{windowId}
|
|
40
|
+
/** The success response body of `PUT /api/v1/maintenance-windows/{windowId}`. */
|
|
40
41
|
export type PutMaintenanceWindowResult = operations["put-maintenance-window"]["responses"][200]["content"]["application/json"];
|
|
41
|
-
/** `PUT /api/v1/maintenance-windows/{windowId}
|
|
42
|
+
/** The request body of `PUT /api/v1/maintenance-windows/{windowId}`. */
|
|
42
43
|
export type PutMaintenanceWindowBody = NonNullable<operations["put-maintenance-window"]["requestBody"]>["content"]["application/json"];
|
|
43
|
-
/** `GET /api/v1/overview
|
|
44
|
+
/** The success response body of `GET /api/v1/overview`. */
|
|
44
45
|
export type GetProjectOverviewResult = operations["get-project-overview"]["responses"][200]["content"]["application/json"];
|
|
45
|
-
/** `GET /api/v1/servers/{serverId}/items
|
|
46
|
+
/** The success response body of `GET /api/v1/servers/{serverId}/items`. */
|
|
46
47
|
export type ListServerItemsResult = operations["list-server-items"]["responses"][200]["content"]["application/json"];
|
|
47
|
-
/** `GET /api/v1/servers/{serverId}/items
|
|
48
|
+
/** The query parameters of `GET /api/v1/servers/{serverId}/items`. */
|
|
48
49
|
export type ListServerItemsQuery = operations["list-server-items"]["parameters"]["query"];
|
|
49
|
-
/** `GET /api/v1/servers/{serverId}/metrics
|
|
50
|
+
/** The success response body of `GET /api/v1/servers/{serverId}/metrics`. */
|
|
50
51
|
export type GetServerMetricResult = operations["get-server-metric"]["responses"][200]["content"]["application/json"];
|
|
51
|
-
/** `GET /api/v1/servers/{serverId}/metrics
|
|
52
|
+
/** The query parameters of `GET /api/v1/servers/{serverId}/metrics`. */
|
|
52
53
|
export type GetServerMetricQuery = operations["get-server-metric"]["parameters"]["query"];
|
|
53
|
-
/** `GET /api/v1/servers/{serverId}/resources
|
|
54
|
+
/** The success response body of `GET /api/v1/servers/{serverId}/resources`. */
|
|
54
55
|
export type GetServerResourcesResult = operations["get-server-resources"]["responses"][200]["content"]["application/json"];
|
|
55
|
-
/** `GET /api/v1/servers/{serverId}/snapshot
|
|
56
|
+
/** The success response body of `GET /api/v1/servers/{serverId}/snapshot`. */
|
|
56
57
|
export type GetServerSnapshotResult = operations["get-server-snapshot"]["responses"][200]["content"]["application/json"];
|
|
57
|
-
/** `GET /api/v1/top-items
|
|
58
|
+
/** The success response body of `GET /api/v1/top-items`. */
|
|
58
59
|
export type ListProjectTopItemsResult = operations["list-project-top-items"]["responses"][200]["content"]["application/json"];
|
|
59
|
-
/** `GET /api/v1/top-items
|
|
60
|
+
/** The query parameters of `GET /api/v1/top-items`. */
|
|
60
61
|
export type ListProjectTopItemsQuery = operations["list-project-top-items"]["parameters"]["query"];
|
|
61
|
-
/** `GET /api/v1/
|
|
62
|
+
/** The success response body of `GET /api/v1/templates`. */
|
|
63
|
+
export type ListTemplatesResult = operations["list-templates"]["responses"][200]["content"]["application/json"];
|
|
64
|
+
/** The success response body of `GET /api/v1/servers`. */
|
|
62
65
|
export type ListServersResult = operations["list-servers"]["responses"][200]["content"]["application/json"];
|
|
63
|
-
/** `GET /api/v1/servers
|
|
66
|
+
/** The query parameters of `GET /api/v1/servers`. */
|
|
64
67
|
export type ListServersQuery = operations["list-servers"]["parameters"]["query"];
|
|
65
|
-
/** `GET /api/v1/servers/{serverId}
|
|
68
|
+
/** The success response body of `GET /api/v1/servers/{serverId}`. */
|
|
66
69
|
export type GetServerResult = operations["get-server"]["responses"][200]["content"]["application/json"];
|
|
67
|
-
/** `
|
|
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}` 成功时的响应体。 */
|
|
70
|
+
/** The success response body of `PUT /api/v1/servers/{serverId}`. */
|
|
72
71
|
export type EnableServerMonitoringResult = operations["enable-server-monitoring"]["responses"][200]["content"]["application/json"];
|
|
73
|
-
/** `PUT /api/v1/servers/{serverId}
|
|
72
|
+
/** The request body of `PUT /api/v1/servers/{serverId}`. */
|
|
74
73
|
export type EnableServerMonitoringBody = NonNullable<operations["enable-server-monitoring"]["requestBody"]>["content"]["application/json"];
|
|
75
|
-
/** `
|
|
74
|
+
/** The success response body of `PATCH /api/v1/servers/{serverId}`. */
|
|
75
|
+
export type UpdateServerResult = operations["update-server"]["responses"][200]["content"]["application/json"];
|
|
76
|
+
/** The request body of `PATCH /api/v1/servers/{serverId}`. */
|
|
77
|
+
export type UpdateServerBody = NonNullable<operations["update-server"]["requestBody"]>["content"]["application/json"];
|
|
78
|
+
/** The success response body of `POST /api/v1/servers/{serverId}/psk`. */
|
|
76
79
|
export type RotateAgentPskResult = operations["rotate-agent-psk"]["responses"][200]["content"]["application/json"];
|
|
77
|
-
/** `GET /api/v1/servers/{serverId}/web-checks/{checkId}
|
|
80
|
+
/** The success response body of `GET /api/v1/servers/{serverId}/web-checks/{checkId}`. */
|
|
78
81
|
export type GetWebCheckResult = operations["get-web-check"]["responses"][200]["content"]["application/json"];
|
|
79
|
-
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}
|
|
82
|
+
/** The success response body of `PUT /api/v1/servers/{serverId}/web-checks/{checkId}`. */
|
|
80
83
|
export type PutWebCheckResult = operations["put-web-check"]["responses"][200]["content"]["application/json"];
|
|
81
|
-
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}
|
|
84
|
+
/** The request body of `PUT /api/v1/servers/{serverId}/web-checks/{checkId}`. */
|
|
82
85
|
export type PutWebCheckBody = NonNullable<operations["put-web-check"]["requestBody"]>["content"]["application/json"];
|
|
83
|
-
/** `GET /api/v1/web-checks
|
|
86
|
+
/** The success response body of `GET /api/v1/web-checks`. */
|
|
84
87
|
export type ListWebChecksResult = operations["list-web-checks"]["responses"][200]["content"]["application/json"];
|
|
85
|
-
/** `GET /api/v1/web-checks
|
|
88
|
+
/** The query parameters of `GET /api/v1/web-checks`. */
|
|
86
89
|
export type ListWebChecksQuery = operations["list-web-checks"]["parameters"]["query"];
|
|
87
|
-
/** `GET /api/v1/sli-report
|
|
90
|
+
/** The success response body of `GET /api/v1/sli-report`. */
|
|
88
91
|
export type GetSliReportResult = operations["get-sli-report"]["responses"][200]["content"]["application/json"];
|
|
89
|
-
/** `GET /api/v1/sli-report
|
|
92
|
+
/** The query parameters of `GET /api/v1/sli-report`. */
|
|
90
93
|
export type GetSliReportQuery = operations["get-sli-report"]["parameters"]["query"];
|
|
91
|
-
/** `GET /api/v1/slo
|
|
94
|
+
/** The success response body of `GET /api/v1/slo`. */
|
|
92
95
|
export type GetSloResult = operations["get-slo"]["responses"][200]["content"]["application/json"];
|
|
93
|
-
/** `PUT /api/v1/slo
|
|
96
|
+
/** The success response body of `PUT /api/v1/slo`. */
|
|
94
97
|
export type PutSloResult = operations["put-slo"]["responses"][200]["content"]["application/json"];
|
|
95
|
-
/** `PUT /api/v1/slo
|
|
98
|
+
/** The request body of `PUT /api/v1/slo`. */
|
|
96
99
|
export type PutSloBody = NonNullable<operations["put-slo"]["requestBody"]>["content"]["application/json"];
|
|
100
|
+
/** The success response body of `GET /api/v1/status-page`. */
|
|
101
|
+
export type GetStatusPageResult = operations["get-status-page"]["responses"][200]["content"]["application/json"];
|
|
102
|
+
/** The success response body of `PUT /api/v1/status-page`. */
|
|
103
|
+
export type PutStatusPageResult = operations["put-status-page"]["responses"][200]["content"]["application/json"];
|
|
104
|
+
/** The request body of `PUT /api/v1/status-page`. */
|
|
105
|
+
export type PutStatusPageBody = NonNullable<operations["put-status-page"]["requestBody"]>["content"]["application/json"];
|
|
106
|
+
/** The request body of `PUT /api/v1/status-page/order`. */
|
|
107
|
+
export type PutStatusPageOrderBody = NonNullable<operations["put-status-page-order"]["requestBody"]>["content"]["application/json"];
|
|
108
|
+
/** The success response body of `GET /api/v1/status-page/groups`. */
|
|
109
|
+
export type ListStatusPageGroupsResult = operations["list-status-page-groups"]["responses"][200]["content"]["application/json"];
|
|
110
|
+
/** The success response body of `POST /api/v1/status-page/groups`. */
|
|
111
|
+
export type CreateStatusPageGroupResult = operations["create-status-page-group"]["responses"][201]["content"]["application/json"];
|
|
112
|
+
/** The request body of `POST /api/v1/status-page/groups`. */
|
|
113
|
+
export type CreateStatusPageGroupBody = NonNullable<operations["create-status-page-group"]["requestBody"]>["content"]["application/json"];
|
|
114
|
+
/** The success response body of `PUT /api/v1/status-page/groups/{groupId}`. */
|
|
115
|
+
export type UpdateStatusPageGroupResult = operations["update-status-page-group"]["responses"][200]["content"]["application/json"];
|
|
116
|
+
/** The request body of `PUT /api/v1/status-page/groups/{groupId}`. */
|
|
117
|
+
export type UpdateStatusPageGroupBody = NonNullable<operations["update-status-page-group"]["requestBody"]>["content"]["application/json"];
|
|
118
|
+
/** The request body of `PUT /api/v1/status-page/groups/{groupId}/order`. */
|
|
119
|
+
export type PutStatusPageGroupOrderBody = NonNullable<operations["put-status-page-group-order"]["requestBody"]>["content"]["application/json"];
|
|
120
|
+
/** The success response body of `GET /api/v1/status-page/components`. */
|
|
121
|
+
export type ListStatusPageComponentsResult = operations["list-status-page-components"]["responses"][200]["content"]["application/json"];
|
|
122
|
+
/** The success response body of `POST /api/v1/status-page/components`. */
|
|
123
|
+
export type CreateStatusPageComponentResult = operations["create-status-page-component"]["responses"][201]["content"]["application/json"];
|
|
124
|
+
/** The request body of `POST /api/v1/status-page/components`. */
|
|
125
|
+
export type CreateStatusPageComponentBody = NonNullable<operations["create-status-page-component"]["requestBody"]>["content"]["application/json"];
|
|
126
|
+
/** The success response body of `GET /api/v1/status-page/components/{componentId}`. */
|
|
127
|
+
export type GetStatusPageComponentResult = operations["get-status-page-component"]["responses"][200]["content"]["application/json"];
|
|
128
|
+
/** The success response body of `PUT /api/v1/status-page/components/{componentId}`. */
|
|
129
|
+
export type UpdateStatusPageComponentResult = operations["update-status-page-component"]["responses"][200]["content"]["application/json"];
|
|
130
|
+
/** The request body of `PUT /api/v1/status-page/components/{componentId}`. */
|
|
131
|
+
export type UpdateStatusPageComponentBody = NonNullable<operations["update-status-page-component"]["requestBody"]>["content"]["application/json"];
|
|
132
|
+
/** The success response body of `GET /api/v1/status-page/components/{componentId}/sources`. */
|
|
133
|
+
export type ListStatusPageComponentSourcesResult = operations["list-status-page-component-sources"]["responses"][200]["content"]["application/json"];
|
|
134
|
+
/** The success response body of `PUT /api/v1/status-page/components/{componentId}/sources`. */
|
|
135
|
+
export type PutStatusPageComponentSourcesResult = operations["put-status-page-component-sources"]["responses"][200]["content"]["application/json"];
|
|
136
|
+
/** The request body of `PUT /api/v1/status-page/components/{componentId}/sources`. */
|
|
137
|
+
export type PutStatusPageComponentSourcesBody = NonNullable<operations["put-status-page-component-sources"]["requestBody"]>["content"]["application/json"];
|
|
138
|
+
/** The success response body of `GET /api/v1/status-page/incidents`. */
|
|
139
|
+
export type ListStatusPageIncidentsResult = operations["list-status-page-incidents"]["responses"][200]["content"]["application/json"];
|
|
140
|
+
/** The query parameters of `GET /api/v1/status-page/incidents`. */
|
|
141
|
+
export type ListStatusPageIncidentsQuery = operations["list-status-page-incidents"]["parameters"]["query"];
|
|
142
|
+
/** The success response body of `POST /api/v1/status-page/incidents`. */
|
|
143
|
+
export type PublishStatusPageIncidentResult = operations["publish-status-page-incident"]["responses"][201]["content"]["application/json"];
|
|
144
|
+
/** The request body of `POST /api/v1/status-page/incidents`. */
|
|
145
|
+
export type PublishStatusPageIncidentBody = NonNullable<operations["publish-status-page-incident"]["requestBody"]>["content"]["application/json"];
|
|
146
|
+
/** The success response body of `GET /api/v1/status-page/incidents/{incidentId}`. */
|
|
147
|
+
export type GetStatusPageIncidentResult = operations["get-status-page-incident"]["responses"][200]["content"]["application/json"];
|
|
148
|
+
/** The success response body of `POST /api/v1/status-page/incidents/{incidentId}/updates`. */
|
|
149
|
+
export type PostStatusPageIncidentUpdateResult = operations["post-status-page-incident-update"]["responses"][200]["content"]["application/json"];
|
|
150
|
+
/** The request body of `POST /api/v1/status-page/incidents/{incidentId}/updates`. */
|
|
151
|
+
export type PostStatusPageIncidentUpdateBody = NonNullable<operations["post-status-page-incident-update"]["requestBody"]>["content"]["application/json"];
|
|
152
|
+
/** The success response body of `GET /api/v1/status-page/maintenances`. */
|
|
153
|
+
export type ListStatusPageMaintenancesResult = operations["list-status-page-maintenances"]["responses"][200]["content"]["application/json"];
|
|
154
|
+
/** The query parameters of `GET /api/v1/status-page/maintenances`. */
|
|
155
|
+
export type ListStatusPageMaintenancesQuery = operations["list-status-page-maintenances"]["parameters"]["query"];
|
|
156
|
+
/** The success response body of `POST /api/v1/status-page/maintenances`. */
|
|
157
|
+
export type ScheduleStatusPageMaintenanceResult = operations["schedule-status-page-maintenance"]["responses"][201]["content"]["application/json"];
|
|
158
|
+
/** The request body of `POST /api/v1/status-page/maintenances`. */
|
|
159
|
+
export type ScheduleStatusPageMaintenanceBody = NonNullable<operations["schedule-status-page-maintenance"]["requestBody"]>["content"]["application/json"];
|
|
160
|
+
/** The success response body of `GET /api/v1/status-page/maintenances/{maintenanceId}`. */
|
|
161
|
+
export type GetStatusPageMaintenanceResult = operations["get-status-page-maintenance"]["responses"][200]["content"]["application/json"];
|
|
162
|
+
/** The success response body of `POST /api/v1/status-page/maintenances/{maintenanceId}/cancel`. */
|
|
163
|
+
export type CancelStatusPageMaintenanceResult = operations["cancel-status-page-maintenance"]["responses"][200]["content"]["application/json"];
|
|
164
|
+
/** The success response body of `POST /api/v1/status-page/maintenances/{maintenanceId}/complete`. */
|
|
165
|
+
export type CompleteStatusPageMaintenanceResult = operations["complete-status-page-maintenance"]["responses"][200]["content"]["application/json"];
|
|
166
|
+
/** The success response body of `GET /api/v1/web-checks/{checkId}`. */
|
|
167
|
+
export type GetProjectWebCheckResult = operations["get-project-web-check"]["responses"][200]["content"]["application/json"];
|
|
168
|
+
/** The success response body of `PUT /api/v1/web-checks/{checkId}`. */
|
|
169
|
+
export type PutProjectWebCheckResult = operations["put-project-web-check"]["responses"][200]["content"]["application/json"];
|
|
170
|
+
/** The request body of `PUT /api/v1/web-checks/{checkId}`. */
|
|
171
|
+
export type PutProjectWebCheckBody = NonNullable<operations["put-project-web-check"]["requestBody"]>["content"]["application/json"];
|
|
172
|
+
/** The success response body of `GET /api/v1/status-page/domain`. */
|
|
173
|
+
export type GetStatusPageDomainResult = operations["get-status-page-domain"]["responses"][200]["content"]["application/json"];
|
|
174
|
+
/** The success response body of `PUT /api/v1/status-page/domain`. */
|
|
175
|
+
export type PutStatusPageDomainResult = operations["put-status-page-domain"]["responses"][200]["content"]["application/json"];
|
|
176
|
+
/** The request body of `PUT /api/v1/status-page/domain`. */
|
|
177
|
+
export type PutStatusPageDomainBody = NonNullable<operations["put-status-page-domain"]["requestBody"]>["content"]["application/json"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Code generated by scripts/generate.mjs. DO NOT EDIT.
|
|
2
2
|
//
|
|
3
|
-
//
|
|
4
|
-
//
|
|
5
|
-
export {};
|
|
3
|
+
// The aliases replace the operations[...] subscript chain with a name. The raw paths /
|
|
4
|
+
// components / operations are exported as well: paths is what createClient<paths>() takes.
|
|
5
|
+
export { client } from "./client.js";
|