@leaflow/sdk 0.55.0 → 0.56.1
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/client.d.ts +4 -0
- package/dist/account/v1/client.js +7 -0
- package/dist/account/v1/index.d.ts +27 -26
- package/dist/account/v1/index.js +4 -4
- package/dist/assistant/v1/client.d.ts +4 -0
- package/dist/assistant/v1/client.js +7 -0
- package/dist/assistant/v1/index.d.ts +54 -53
- package/dist/assistant/v1/index.js +4 -4
- package/dist/billing/v1/index.d.ts +95 -95
- package/dist/billing/v1/index.js +3 -3
- package/dist/billing/v1/schema.d.ts +70 -56
- 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/compute/v1/client.d.ts +4 -0
- package/dist/compute/v1/client.js +7 -0
- package/dist/compute/v1/index.d.ts +124 -123
- package/dist/compute/v1/index.js +4 -4
- package/dist/dns/v1/client.d.ts +4 -0
- package/dist/dns/v1/client.js +7 -0
- package/dist/dns/v1/index.d.ts +21 -20
- package/dist/dns/v1/index.js +4 -4
- package/dist/fleet/v1/client.d.ts +4 -0
- package/dist/fleet/v1/client.js +7 -0
- package/dist/fleet/v1/index.d.ts +3 -2
- package/dist/fleet/v1/index.js +4 -4
- package/dist/iam/v1/client.d.ts +4 -0
- package/dist/iam/v1/client.js +7 -0
- package/dist/iam/v1/index.d.ts +42 -41
- package/dist/iam/v1/index.js +4 -4
- package/dist/index.d.ts +12 -12
- package/dist/index.js +20 -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 +88 -87
- package/dist/monitoring/v1/index.js +4 -4
- package/dist/notification/v1/client.d.ts +4 -0
- package/dist/notification/v1/client.js +7 -0
- package/dist/notification/v1/index.d.ts +38 -37
- package/dist/notification/v1/index.js +4 -4
- package/dist/support/v1/client.d.ts +4 -0
- package/dist/support/v1/client.js +7 -0
- package/dist/support/v1/index.d.ts +25 -24
- package/dist/support/v1/index.js +4 -4
- 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/package.json +6 -4
package/dist/iam/v1/index.d.ts
CHANGED
|
@@ -1,84 +1,85 @@
|
|
|
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/permissions
|
|
4
|
+
/** The success response body of `GET /api/v1/permissions`. */
|
|
4
5
|
export type ListPermissionsResult = operations["list-permissions"]["responses"][200]["content"]["application/json"];
|
|
5
|
-
/** `GET /api/v1/project
|
|
6
|
+
/** The success response body of `GET /api/v1/project`. */
|
|
6
7
|
export type GetProjectResult = operations["get-project"]["responses"][200]["content"]["application/json"];
|
|
7
|
-
/** `PATCH /api/v1/project
|
|
8
|
+
/** The success response body of `PATCH /api/v1/project`. */
|
|
8
9
|
export type UpdateProjectResult = operations["update-project"]["responses"][200]["content"]["application/json"];
|
|
9
|
-
/** `PATCH /api/v1/project
|
|
10
|
+
/** The request body of `PATCH /api/v1/project`. */
|
|
10
11
|
export type UpdateProjectBody = NonNullable<operations["update-project"]["requestBody"]>["content"]["application/json"];
|
|
11
|
-
/** `DELETE /api/v1/project
|
|
12
|
+
/** The success response body of `DELETE /api/v1/project`. */
|
|
12
13
|
export type DeleteProjectResult = operations["delete-project"]["responses"][200]["content"]["application/json"];
|
|
13
|
-
/** `GET /api/v1/membership
|
|
14
|
+
/** The success response body of `GET /api/v1/membership`. */
|
|
14
15
|
export type GetProjectMembershipResult = operations["get-project-membership"]["responses"][200]["content"]["application/json"];
|
|
15
|
-
/** `GET /api/v1/invitations
|
|
16
|
+
/** The success response body of `GET /api/v1/invitations`. */
|
|
16
17
|
export type ListProjectInvitationsResult = operations["list-project-invitations"]["responses"][200]["content"]["application/json"];
|
|
17
|
-
/** `GET /api/v1/invitations
|
|
18
|
+
/** The query parameters of `GET /api/v1/invitations`. */
|
|
18
19
|
export type ListProjectInvitationsQuery = operations["list-project-invitations"]["parameters"]["query"];
|
|
19
|
-
/** `POST /api/v1/invitations
|
|
20
|
+
/** The success response body of `POST /api/v1/invitations`. */
|
|
20
21
|
export type IssueInvitationResult = operations["issue-invitation"]["responses"][201]["content"]["application/json"];
|
|
21
|
-
/** `POST /api/v1/invitations
|
|
22
|
+
/** The request body of `POST /api/v1/invitations`. */
|
|
22
23
|
export type IssueInvitationBody = NonNullable<operations["issue-invitation"]["requestBody"]>["content"]["application/json"];
|
|
23
|
-
/** `POST /api/v1/members:batchGet
|
|
24
|
+
/** The success response body of `POST /api/v1/members:batchGet`. */
|
|
24
25
|
export type BatchGetMembersResult = operations["batch-get-members"]["responses"][200]["content"]["application/json"];
|
|
25
|
-
/** `POST /api/v1/members:batchGet
|
|
26
|
+
/** The request body of `POST /api/v1/members:batchGet`. */
|
|
26
27
|
export type BatchGetMembersBody = NonNullable<operations["batch-get-members"]["requestBody"]>["content"]["application/json"];
|
|
27
|
-
/** `GET /api/v1/members
|
|
28
|
+
/** The success response body of `GET /api/v1/members`. */
|
|
28
29
|
export type ListMembersResult = operations["list-members"]["responses"][200]["content"]["application/json"];
|
|
29
|
-
/** `GET /api/v1/members
|
|
30
|
+
/** The query parameters of `GET /api/v1/members`. */
|
|
30
31
|
export type ListMembersQuery = operations["list-members"]["parameters"]["query"];
|
|
31
|
-
/** `PUT /api/v1/members/{userId}/roles
|
|
32
|
+
/** The success response body of `PUT /api/v1/members/{userId}/roles`. */
|
|
32
33
|
export type SetMemberRolesResult = operations["set-member-roles"]["responses"][200]["content"]["application/json"];
|
|
33
|
-
/** `PUT /api/v1/members/{userId}/roles
|
|
34
|
+
/** The request body of `PUT /api/v1/members/{userId}/roles`. */
|
|
34
35
|
export type SetMemberRolesBody = NonNullable<operations["set-member-roles"]["requestBody"]>["content"]["application/json"];
|
|
35
|
-
/** `PUT /api/v1/members/{userId}/permissions
|
|
36
|
+
/** The success response body of `PUT /api/v1/members/{userId}/permissions`. */
|
|
36
37
|
export type SetMemberPermissionsResult = operations["set-member-permissions"]["responses"][200]["content"]["application/json"];
|
|
37
|
-
/** `PUT /api/v1/members/{userId}/permissions
|
|
38
|
+
/** The request body of `PUT /api/v1/members/{userId}/permissions`. */
|
|
38
39
|
export type SetMemberPermissionsBody = NonNullable<operations["set-member-permissions"]["requestBody"]>["content"]["application/json"];
|
|
39
|
-
/** `GET /api/v1/policies
|
|
40
|
+
/** The success response body of `GET /api/v1/policies`. */
|
|
40
41
|
export type ListPoliciesResult = operations["list-policies"]["responses"][200]["content"]["application/json"];
|
|
41
|
-
/** `GET /api/v1/policies
|
|
42
|
+
/** The query parameters of `GET /api/v1/policies`. */
|
|
42
43
|
export type ListPoliciesQuery = operations["list-policies"]["parameters"]["query"];
|
|
43
|
-
/** `POST /api/v1/policies
|
|
44
|
+
/** The success response body of `POST /api/v1/policies`. */
|
|
44
45
|
export type AttachPolicyResult = operations["attach-policy"]["responses"][201]["content"]["application/json"];
|
|
45
|
-
/** `POST /api/v1/policies
|
|
46
|
+
/** The request body of `POST /api/v1/policies`. */
|
|
46
47
|
export type AttachPolicyBody = NonNullable<operations["attach-policy"]["requestBody"]>["content"]["application/json"];
|
|
47
|
-
/** `GET /api/v1/policies/{policyId}
|
|
48
|
+
/** The success response body of `GET /api/v1/policies/{policyId}`. */
|
|
48
49
|
export type GetPolicyResult = operations["get-policy"]["responses"][200]["content"]["application/json"];
|
|
49
|
-
/** `PUT /api/v1/policies/{policyId}
|
|
50
|
+
/** The success response body of `PUT /api/v1/policies/{policyId}`. */
|
|
50
51
|
export type UpdatePolicyResult = operations["update-policy"]["responses"][200]["content"]["application/json"];
|
|
51
|
-
/** `PUT /api/v1/policies/{policyId}
|
|
52
|
+
/** The request body of `PUT /api/v1/policies/{policyId}`. */
|
|
52
53
|
export type UpdatePolicyBody = NonNullable<operations["update-policy"]["requestBody"]>["content"]["application/json"];
|
|
53
|
-
/** `POST /api/v1/transfer-ownership
|
|
54
|
+
/** The success response body of `POST /api/v1/transfer-ownership`. */
|
|
54
55
|
export type TransferProjectOwnershipResult = operations["transfer-project-ownership"]["responses"][200]["content"]["application/json"];
|
|
55
|
-
/** `POST /api/v1/transfer-ownership
|
|
56
|
+
/** The request body of `POST /api/v1/transfer-ownership`. */
|
|
56
57
|
export type TransferProjectOwnershipBody = NonNullable<operations["transfer-project-ownership"]["requestBody"]>["content"]["application/json"];
|
|
57
|
-
/** `GET /api/v1/roles
|
|
58
|
+
/** The success response body of `GET /api/v1/roles`. */
|
|
58
59
|
export type ListRolesResult = operations["list-roles"]["responses"][200]["content"]["application/json"];
|
|
59
|
-
/** `POST /api/v1/roles
|
|
60
|
+
/** The success response body of `POST /api/v1/roles`. */
|
|
60
61
|
export type CreateRoleResult = operations["create-role"]["responses"][201]["content"]["application/json"];
|
|
61
|
-
/** `POST /api/v1/roles
|
|
62
|
+
/** The request body of `POST /api/v1/roles`. */
|
|
62
63
|
export type CreateRoleBody = NonNullable<operations["create-role"]["requestBody"]>["content"]["application/json"];
|
|
63
|
-
/** `GET /api/v1/roles/{code}
|
|
64
|
+
/** The success response body of `GET /api/v1/roles/{code}`. */
|
|
64
65
|
export type GetRoleResult = operations["get-role"]["responses"][200]["content"]["application/json"];
|
|
65
|
-
/** `PUT /api/v1/roles/{code}
|
|
66
|
+
/** The success response body of `PUT /api/v1/roles/{code}`. */
|
|
66
67
|
export type UpdateRoleResult = operations["update-role"]["responses"][200]["content"]["application/json"];
|
|
67
|
-
/** `PUT /api/v1/roles/{code}
|
|
68
|
+
/** The request body of `PUT /api/v1/roles/{code}`. */
|
|
68
69
|
export type UpdateRoleBody = NonNullable<operations["update-role"]["requestBody"]>["content"]["application/json"];
|
|
69
|
-
/** `GET /api/v1/ssh-keys
|
|
70
|
+
/** The success response body of `GET /api/v1/ssh-keys`. */
|
|
70
71
|
export type ListSshKeysResult = operations["list-ssh-keys"]["responses"][200]["content"]["application/json"];
|
|
71
|
-
/** `GET /api/v1/ssh-keys
|
|
72
|
+
/** The query parameters of `GET /api/v1/ssh-keys`. */
|
|
72
73
|
export type ListSshKeysQuery = operations["list-ssh-keys"]["parameters"]["query"];
|
|
73
|
-
/** `POST /api/v1/ssh-keys
|
|
74
|
+
/** The success response body of `POST /api/v1/ssh-keys`. */
|
|
74
75
|
export type CreateSshKeyResult = operations["create-ssh-key"]["responses"][201]["content"]["application/json"];
|
|
75
|
-
/** `POST /api/v1/ssh-keys
|
|
76
|
+
/** The request body of `POST /api/v1/ssh-keys`. */
|
|
76
77
|
export type CreateSshKeyBody = NonNullable<operations["create-ssh-key"]["requestBody"]>["content"]["application/json"];
|
|
77
|
-
/** `GET /api/v1/ssh-keys/{keyId}
|
|
78
|
+
/** The success response body of `GET /api/v1/ssh-keys/{keyId}`. */
|
|
78
79
|
export type GetSshKeyResult = operations["get-ssh-key"]["responses"][200]["content"]["application/json"];
|
|
79
|
-
/** `PATCH /api/v1/ssh-keys/{keyId}
|
|
80
|
+
/** The success response body of `PATCH /api/v1/ssh-keys/{keyId}`. */
|
|
80
81
|
export type RenameSshKeyResult = operations["rename-ssh-key"]["responses"][200]["content"]["application/json"];
|
|
81
|
-
/** `PATCH /api/v1/ssh-keys/{keyId}
|
|
82
|
+
/** The request body of `PATCH /api/v1/ssh-keys/{keyId}`. */
|
|
82
83
|
export type RenameSshKeyBody = NonNullable<operations["rename-ssh-key"]["requestBody"]>["content"]["application/json"];
|
|
83
|
-
/** `DELETE /api/v1/ssh-keys/{keyId}
|
|
84
|
+
/** The success response body of `DELETE /api/v1/ssh-keys/{keyId}`. */
|
|
84
85
|
export type RevokeSshKeyResult = operations["revoke-ssh-key"]["responses"][200]["content"]["application/json"];
|
package/dist/iam/v1/index.js
CHANGED
|
@@ -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";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
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/v1/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 fleet from "./fleet/v1/index.js";
|
|
8
|
+
export * as iam from "./iam/v1/index.js";
|
|
9
|
+
export * as monitoring from "./monitoring/v1/index.js";
|
|
10
|
+
export * as notification from "./notification/v1/index.js";
|
|
11
|
+
export * as support from "./support/v1/index.js";
|
|
12
|
+
export * as tunnel from "./tunnel/v1/index.js";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
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/v1/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 fleet from "./fleet/v1/index.js";
|
|
17
|
+
export * as iam from "./iam/v1/index.js";
|
|
18
|
+
export * as monitoring from "./monitoring/v1/index.js";
|
|
19
|
+
export * as notification from "./notification/v1/index.js";
|
|
20
|
+
export * as support from "./support/v1/index.js";
|
|
21
|
+
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,176 +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/templates
|
|
62
|
+
/** The success response body of `GET /api/v1/templates`. */
|
|
62
63
|
export type ListTemplatesResult = operations["list-templates"]["responses"][200]["content"]["application/json"];
|
|
63
|
-
/** `GET /api/v1/servers
|
|
64
|
+
/** The success response body of `GET /api/v1/servers`. */
|
|
64
65
|
export type ListServersResult = operations["list-servers"]["responses"][200]["content"]["application/json"];
|
|
65
|
-
/** `GET /api/v1/servers
|
|
66
|
+
/** The query parameters of `GET /api/v1/servers`. */
|
|
66
67
|
export type ListServersQuery = operations["list-servers"]["parameters"]["query"];
|
|
67
|
-
/** `GET /api/v1/servers/{serverId}
|
|
68
|
+
/** The success response body of `GET /api/v1/servers/{serverId}`. */
|
|
68
69
|
export type GetServerResult = operations["get-server"]["responses"][200]["content"]["application/json"];
|
|
69
|
-
/** `PUT /api/v1/servers/{serverId}
|
|
70
|
+
/** The success response body of `PUT /api/v1/servers/{serverId}`. */
|
|
70
71
|
export type EnableServerMonitoringResult = operations["enable-server-monitoring"]["responses"][200]["content"]["application/json"];
|
|
71
|
-
/** `PUT /api/v1/servers/{serverId}
|
|
72
|
+
/** The request body of `PUT /api/v1/servers/{serverId}`. */
|
|
72
73
|
export type EnableServerMonitoringBody = NonNullable<operations["enable-server-monitoring"]["requestBody"]>["content"]["application/json"];
|
|
73
|
-
/** `PATCH /api/v1/servers/{serverId}
|
|
74
|
+
/** The success response body of `PATCH /api/v1/servers/{serverId}`. */
|
|
74
75
|
export type UpdateServerResult = operations["update-server"]["responses"][200]["content"]["application/json"];
|
|
75
|
-
/** `PATCH /api/v1/servers/{serverId}
|
|
76
|
+
/** The request body of `PATCH /api/v1/servers/{serverId}`. */
|
|
76
77
|
export type UpdateServerBody = NonNullable<operations["update-server"]["requestBody"]>["content"]["application/json"];
|
|
77
|
-
/** `POST /api/v1/servers/{serverId}/psk
|
|
78
|
+
/** The success response body of `POST /api/v1/servers/{serverId}/psk`. */
|
|
78
79
|
export type RotateAgentPskResult = operations["rotate-agent-psk"]["responses"][200]["content"]["application/json"];
|
|
79
|
-
/** `GET /api/v1/servers/{serverId}/web-checks/{checkId}
|
|
80
|
+
/** The success response body of `GET /api/v1/servers/{serverId}/web-checks/{checkId}`. */
|
|
80
81
|
export type GetWebCheckResult = operations["get-web-check"]["responses"][200]["content"]["application/json"];
|
|
81
|
-
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}
|
|
82
|
+
/** The success response body of `PUT /api/v1/servers/{serverId}/web-checks/{checkId}`. */
|
|
82
83
|
export type PutWebCheckResult = operations["put-web-check"]["responses"][200]["content"]["application/json"];
|
|
83
|
-
/** `PUT /api/v1/servers/{serverId}/web-checks/{checkId}
|
|
84
|
+
/** The request body of `PUT /api/v1/servers/{serverId}/web-checks/{checkId}`. */
|
|
84
85
|
export type PutWebCheckBody = NonNullable<operations["put-web-check"]["requestBody"]>["content"]["application/json"];
|
|
85
|
-
/** `GET /api/v1/web-checks
|
|
86
|
+
/** The success response body of `GET /api/v1/web-checks`. */
|
|
86
87
|
export type ListWebChecksResult = operations["list-web-checks"]["responses"][200]["content"]["application/json"];
|
|
87
|
-
/** `GET /api/v1/web-checks
|
|
88
|
+
/** The query parameters of `GET /api/v1/web-checks`. */
|
|
88
89
|
export type ListWebChecksQuery = operations["list-web-checks"]["parameters"]["query"];
|
|
89
|
-
/** `GET /api/v1/sli-report
|
|
90
|
+
/** The success response body of `GET /api/v1/sli-report`. */
|
|
90
91
|
export type GetSliReportResult = operations["get-sli-report"]["responses"][200]["content"]["application/json"];
|
|
91
|
-
/** `GET /api/v1/sli-report
|
|
92
|
+
/** The query parameters of `GET /api/v1/sli-report`. */
|
|
92
93
|
export type GetSliReportQuery = operations["get-sli-report"]["parameters"]["query"];
|
|
93
|
-
/** `GET /api/v1/slo
|
|
94
|
+
/** The success response body of `GET /api/v1/slo`. */
|
|
94
95
|
export type GetSloResult = operations["get-slo"]["responses"][200]["content"]["application/json"];
|
|
95
|
-
/** `PUT /api/v1/slo
|
|
96
|
+
/** The success response body of `PUT /api/v1/slo`. */
|
|
96
97
|
export type PutSloResult = operations["put-slo"]["responses"][200]["content"]["application/json"];
|
|
97
|
-
/** `PUT /api/v1/slo
|
|
98
|
+
/** The request body of `PUT /api/v1/slo`. */
|
|
98
99
|
export type PutSloBody = NonNullable<operations["put-slo"]["requestBody"]>["content"]["application/json"];
|
|
99
|
-
/** `GET /api/v1/status-page
|
|
100
|
+
/** The success response body of `GET /api/v1/status-page`. */
|
|
100
101
|
export type GetStatusPageResult = operations["get-status-page"]["responses"][200]["content"]["application/json"];
|
|
101
|
-
/** `PUT /api/v1/status-page
|
|
102
|
+
/** The success response body of `PUT /api/v1/status-page`. */
|
|
102
103
|
export type PutStatusPageResult = operations["put-status-page"]["responses"][200]["content"]["application/json"];
|
|
103
|
-
/** `PUT /api/v1/status-page
|
|
104
|
+
/** The request body of `PUT /api/v1/status-page`. */
|
|
104
105
|
export type PutStatusPageBody = NonNullable<operations["put-status-page"]["requestBody"]>["content"]["application/json"];
|
|
105
|
-
/** `PUT /api/v1/status-page/order
|
|
106
|
+
/** The request body of `PUT /api/v1/status-page/order`. */
|
|
106
107
|
export type PutStatusPageOrderBody = NonNullable<operations["put-status-page-order"]["requestBody"]>["content"]["application/json"];
|
|
107
|
-
/** `GET /api/v1/status-page/groups
|
|
108
|
+
/** The success response body of `GET /api/v1/status-page/groups`. */
|
|
108
109
|
export type ListStatusPageGroupsResult = operations["list-status-page-groups"]["responses"][200]["content"]["application/json"];
|
|
109
|
-
/** `POST /api/v1/status-page/groups
|
|
110
|
+
/** The success response body of `POST /api/v1/status-page/groups`. */
|
|
110
111
|
export type CreateStatusPageGroupResult = operations["create-status-page-group"]["responses"][201]["content"]["application/json"];
|
|
111
|
-
/** `POST /api/v1/status-page/groups
|
|
112
|
+
/** The request body of `POST /api/v1/status-page/groups`. */
|
|
112
113
|
export type CreateStatusPageGroupBody = NonNullable<operations["create-status-page-group"]["requestBody"]>["content"]["application/json"];
|
|
113
|
-
/** `PUT /api/v1/status-page/groups/{groupId}
|
|
114
|
+
/** The success response body of `PUT /api/v1/status-page/groups/{groupId}`. */
|
|
114
115
|
export type UpdateStatusPageGroupResult = operations["update-status-page-group"]["responses"][200]["content"]["application/json"];
|
|
115
|
-
/** `PUT /api/v1/status-page/groups/{groupId}
|
|
116
|
+
/** The request body of `PUT /api/v1/status-page/groups/{groupId}`. */
|
|
116
117
|
export type UpdateStatusPageGroupBody = NonNullable<operations["update-status-page-group"]["requestBody"]>["content"]["application/json"];
|
|
117
|
-
/** `PUT /api/v1/status-page/groups/{groupId}/order
|
|
118
|
+
/** The request body of `PUT /api/v1/status-page/groups/{groupId}/order`. */
|
|
118
119
|
export type PutStatusPageGroupOrderBody = NonNullable<operations["put-status-page-group-order"]["requestBody"]>["content"]["application/json"];
|
|
119
|
-
/** `GET /api/v1/status-page/components
|
|
120
|
+
/** The success response body of `GET /api/v1/status-page/components`. */
|
|
120
121
|
export type ListStatusPageComponentsResult = operations["list-status-page-components"]["responses"][200]["content"]["application/json"];
|
|
121
|
-
/** `POST /api/v1/status-page/components
|
|
122
|
+
/** The success response body of `POST /api/v1/status-page/components`. */
|
|
122
123
|
export type CreateStatusPageComponentResult = operations["create-status-page-component"]["responses"][201]["content"]["application/json"];
|
|
123
|
-
/** `POST /api/v1/status-page/components
|
|
124
|
+
/** The request body of `POST /api/v1/status-page/components`. */
|
|
124
125
|
export type CreateStatusPageComponentBody = NonNullable<operations["create-status-page-component"]["requestBody"]>["content"]["application/json"];
|
|
125
|
-
/** `GET /api/v1/status-page/components/{componentId}
|
|
126
|
+
/** The success response body of `GET /api/v1/status-page/components/{componentId}`. */
|
|
126
127
|
export type GetStatusPageComponentResult = operations["get-status-page-component"]["responses"][200]["content"]["application/json"];
|
|
127
|
-
/** `PUT /api/v1/status-page/components/{componentId}
|
|
128
|
+
/** The success response body of `PUT /api/v1/status-page/components/{componentId}`. */
|
|
128
129
|
export type UpdateStatusPageComponentResult = operations["update-status-page-component"]["responses"][200]["content"]["application/json"];
|
|
129
|
-
/** `PUT /api/v1/status-page/components/{componentId}
|
|
130
|
+
/** The request body of `PUT /api/v1/status-page/components/{componentId}`. */
|
|
130
131
|
export type UpdateStatusPageComponentBody = NonNullable<operations["update-status-page-component"]["requestBody"]>["content"]["application/json"];
|
|
131
|
-
/** `GET /api/v1/status-page/components/{componentId}/sources
|
|
132
|
+
/** The success response body of `GET /api/v1/status-page/components/{componentId}/sources`. */
|
|
132
133
|
export type ListStatusPageComponentSourcesResult = operations["list-status-page-component-sources"]["responses"][200]["content"]["application/json"];
|
|
133
|
-
/** `PUT /api/v1/status-page/components/{componentId}/sources
|
|
134
|
+
/** The success response body of `PUT /api/v1/status-page/components/{componentId}/sources`. */
|
|
134
135
|
export type PutStatusPageComponentSourcesResult = operations["put-status-page-component-sources"]["responses"][200]["content"]["application/json"];
|
|
135
|
-
/** `PUT /api/v1/status-page/components/{componentId}/sources
|
|
136
|
+
/** The request body of `PUT /api/v1/status-page/components/{componentId}/sources`. */
|
|
136
137
|
export type PutStatusPageComponentSourcesBody = NonNullable<operations["put-status-page-component-sources"]["requestBody"]>["content"]["application/json"];
|
|
137
|
-
/** `GET /api/v1/status-page/incidents
|
|
138
|
+
/** The success response body of `GET /api/v1/status-page/incidents`. */
|
|
138
139
|
export type ListStatusPageIncidentsResult = operations["list-status-page-incidents"]["responses"][200]["content"]["application/json"];
|
|
139
|
-
/** `GET /api/v1/status-page/incidents
|
|
140
|
+
/** The query parameters of `GET /api/v1/status-page/incidents`. */
|
|
140
141
|
export type ListStatusPageIncidentsQuery = operations["list-status-page-incidents"]["parameters"]["query"];
|
|
141
|
-
/** `POST /api/v1/status-page/incidents
|
|
142
|
+
/** The success response body of `POST /api/v1/status-page/incidents`. */
|
|
142
143
|
export type PublishStatusPageIncidentResult = operations["publish-status-page-incident"]["responses"][201]["content"]["application/json"];
|
|
143
|
-
/** `POST /api/v1/status-page/incidents
|
|
144
|
+
/** The request body of `POST /api/v1/status-page/incidents`. */
|
|
144
145
|
export type PublishStatusPageIncidentBody = NonNullable<operations["publish-status-page-incident"]["requestBody"]>["content"]["application/json"];
|
|
145
|
-
/** `GET /api/v1/status-page/incidents/{incidentId}
|
|
146
|
+
/** The success response body of `GET /api/v1/status-page/incidents/{incidentId}`. */
|
|
146
147
|
export type GetStatusPageIncidentResult = operations["get-status-page-incident"]["responses"][200]["content"]["application/json"];
|
|
147
|
-
/** `POST /api/v1/status-page/incidents/{incidentId}/updates
|
|
148
|
+
/** The success response body of `POST /api/v1/status-page/incidents/{incidentId}/updates`. */
|
|
148
149
|
export type PostStatusPageIncidentUpdateResult = operations["post-status-page-incident-update"]["responses"][200]["content"]["application/json"];
|
|
149
|
-
/** `POST /api/v1/status-page/incidents/{incidentId}/updates
|
|
150
|
+
/** The request body of `POST /api/v1/status-page/incidents/{incidentId}/updates`. */
|
|
150
151
|
export type PostStatusPageIncidentUpdateBody = NonNullable<operations["post-status-page-incident-update"]["requestBody"]>["content"]["application/json"];
|
|
151
|
-
/** `GET /api/v1/status-page/maintenances
|
|
152
|
+
/** The success response body of `GET /api/v1/status-page/maintenances`. */
|
|
152
153
|
export type ListStatusPageMaintenancesResult = operations["list-status-page-maintenances"]["responses"][200]["content"]["application/json"];
|
|
153
|
-
/** `GET /api/v1/status-page/maintenances
|
|
154
|
+
/** The query parameters of `GET /api/v1/status-page/maintenances`. */
|
|
154
155
|
export type ListStatusPageMaintenancesQuery = operations["list-status-page-maintenances"]["parameters"]["query"];
|
|
155
|
-
/** `POST /api/v1/status-page/maintenances
|
|
156
|
+
/** The success response body of `POST /api/v1/status-page/maintenances`. */
|
|
156
157
|
export type ScheduleStatusPageMaintenanceResult = operations["schedule-status-page-maintenance"]["responses"][201]["content"]["application/json"];
|
|
157
|
-
/** `POST /api/v1/status-page/maintenances
|
|
158
|
+
/** The request body of `POST /api/v1/status-page/maintenances`. */
|
|
158
159
|
export type ScheduleStatusPageMaintenanceBody = NonNullable<operations["schedule-status-page-maintenance"]["requestBody"]>["content"]["application/json"];
|
|
159
|
-
/** `GET /api/v1/status-page/maintenances/{maintenanceId}
|
|
160
|
+
/** The success response body of `GET /api/v1/status-page/maintenances/{maintenanceId}`. */
|
|
160
161
|
export type GetStatusPageMaintenanceResult = operations["get-status-page-maintenance"]["responses"][200]["content"]["application/json"];
|
|
161
|
-
/** `POST /api/v1/status-page/maintenances/{maintenanceId}/cancel
|
|
162
|
+
/** The success response body of `POST /api/v1/status-page/maintenances/{maintenanceId}/cancel`. */
|
|
162
163
|
export type CancelStatusPageMaintenanceResult = operations["cancel-status-page-maintenance"]["responses"][200]["content"]["application/json"];
|
|
163
|
-
/** `POST /api/v1/status-page/maintenances/{maintenanceId}/complete
|
|
164
|
+
/** The success response body of `POST /api/v1/status-page/maintenances/{maintenanceId}/complete`. */
|
|
164
165
|
export type CompleteStatusPageMaintenanceResult = operations["complete-status-page-maintenance"]["responses"][200]["content"]["application/json"];
|
|
165
|
-
/** `GET /api/v1/web-checks/{checkId}
|
|
166
|
+
/** The success response body of `GET /api/v1/web-checks/{checkId}`. */
|
|
166
167
|
export type GetProjectWebCheckResult = operations["get-project-web-check"]["responses"][200]["content"]["application/json"];
|
|
167
|
-
/** `PUT /api/v1/web-checks/{checkId}
|
|
168
|
+
/** The success response body of `PUT /api/v1/web-checks/{checkId}`. */
|
|
168
169
|
export type PutProjectWebCheckResult = operations["put-project-web-check"]["responses"][200]["content"]["application/json"];
|
|
169
|
-
/** `PUT /api/v1/web-checks/{checkId}
|
|
170
|
+
/** The request body of `PUT /api/v1/web-checks/{checkId}`. */
|
|
170
171
|
export type PutProjectWebCheckBody = NonNullable<operations["put-project-web-check"]["requestBody"]>["content"]["application/json"];
|
|
171
|
-
/** `GET /api/v1/status-page/domain
|
|
172
|
+
/** The success response body of `GET /api/v1/status-page/domain`. */
|
|
172
173
|
export type GetStatusPageDomainResult = operations["get-status-page-domain"]["responses"][200]["content"]["application/json"];
|
|
173
|
-
/** `PUT /api/v1/status-page/domain
|
|
174
|
+
/** The success response body of `PUT /api/v1/status-page/domain`. */
|
|
174
175
|
export type PutStatusPageDomainResult = operations["put-status-page-domain"]["responses"][200]["content"]["application/json"];
|
|
175
|
-
/** `PUT /api/v1/status-page/domain
|
|
176
|
+
/** The request body of `PUT /api/v1/status-page/domain`. */
|
|
176
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";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type ClientOptions } from "openapi-fetch";
|
|
2
|
+
import type { paths } from "./schema.js";
|
|
3
|
+
/** A client for the notification 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://notification.leaflow.cloud";
|
|
4
|
+
/** A client for the notification service. Pass baseUrl to override the address. */
|
|
5
|
+
export function client(options = {}) {
|
|
6
|
+
return createClient({ baseUrl: defaultBaseUrl, ...options });
|
|
7
|
+
}
|