@leaflow/sdk 0.0.0-dev.11.g7f2d603

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.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by openapi-typescript.
3
+ * Do not make direct changes to the file.
4
+ */
5
+ export {};
@@ -0,0 +1,62 @@
1
+ export type { paths, components, operations, webhooks } from "./schema.js";
2
+ import type { operations } from "./schema.js";
3
+ /** `GET /api/v1/permissions` 成功时的响应体。 */
4
+ export type ListPermissionsResult = operations["list-permissions"]["responses"][200]["content"]["application/json"];
5
+ /** `DELETE /api/v1/project` 成功时的响应体。 */
6
+ export type DeleteProjectResult = operations["delete-project"]["responses"][200]["content"]["application/json"];
7
+ /** `GET /api/v1/project` 成功时的响应体。 */
8
+ export type GetProjectResult = operations["get-project"]["responses"][200]["content"]["application/json"];
9
+ /** `PATCH /api/v1/project` 成功时的响应体。 */
10
+ export type UpdateProjectResult = operations["update-project"]["responses"][200]["content"]["application/json"];
11
+ /** `PATCH /api/v1/project` 的请求体。 */
12
+ export type UpdateProjectBody = NonNullable<operations["update-project"]["requestBody"]>["content"]["application/json"];
13
+ /** `GET /api/v1/membership` 成功时的响应体。 */
14
+ export type GetProjectMembershipResult = operations["get-project-membership"]["responses"][200]["content"]["application/json"];
15
+ /** `GET /api/v1/invitations` 成功时的响应体。 */
16
+ export type ListProjectInvitationsResult = operations["list-project-invitations"]["responses"][200]["content"]["application/json"];
17
+ /** `GET /api/v1/invitations` 的查询参数。 */
18
+ export type ListProjectInvitationsQuery = operations["list-project-invitations"]["parameters"]["query"];
19
+ /** `POST /api/v1/invitations` 成功时的响应体。 */
20
+ export type IssueInvitationResult = operations["issue-invitation"]["responses"][201]["content"]["application/json"];
21
+ /** `POST /api/v1/invitations` 的请求体。 */
22
+ export type IssueInvitationBody = NonNullable<operations["issue-invitation"]["requestBody"]>["content"]["application/json"];
23
+ /** `GET /api/v1/members` 成功时的响应体。 */
24
+ export type ListMembersResult = operations["list-members"]["responses"][200]["content"]["application/json"];
25
+ /** `GET /api/v1/members` 的查询参数。 */
26
+ export type ListMembersQuery = operations["list-members"]["parameters"]["query"];
27
+ /** `PUT /api/v1/members/{userId}/roles` 成功时的响应体。 */
28
+ export type SetMemberRolesResult = operations["set-member-roles"]["responses"][200]["content"]["application/json"];
29
+ /** `PUT /api/v1/members/{userId}/roles` 的请求体。 */
30
+ export type SetMemberRolesBody = NonNullable<operations["set-member-roles"]["requestBody"]>["content"]["application/json"];
31
+ /** `POST /api/v1/transfer-ownership` 成功时的响应体。 */
32
+ export type TransferProjectOwnershipResult = operations["transfer-project-ownership"]["responses"][200]["content"]["application/json"];
33
+ /** `POST /api/v1/transfer-ownership` 的请求体。 */
34
+ export type TransferProjectOwnershipBody = NonNullable<operations["transfer-project-ownership"]["requestBody"]>["content"]["application/json"];
35
+ /** `GET /api/v1/roles` 成功时的响应体。 */
36
+ export type ListRolesResult = operations["list-roles"]["responses"][200]["content"]["application/json"];
37
+ /** `POST /api/v1/roles` 成功时的响应体。 */
38
+ export type CreateRoleResult = operations["create-role"]["responses"][201]["content"]["application/json"];
39
+ /** `POST /api/v1/roles` 的请求体。 */
40
+ export type CreateRoleBody = NonNullable<operations["create-role"]["requestBody"]>["content"]["application/json"];
41
+ /** `GET /api/v1/roles/{code}` 成功时的响应体。 */
42
+ export type GetRoleResult = operations["get-role"]["responses"][200]["content"]["application/json"];
43
+ /** `PUT /api/v1/roles/{code}` 成功时的响应体。 */
44
+ export type UpdateRoleResult = operations["update-role"]["responses"][200]["content"]["application/json"];
45
+ /** `PUT /api/v1/roles/{code}` 的请求体。 */
46
+ export type UpdateRoleBody = NonNullable<operations["update-role"]["requestBody"]>["content"]["application/json"];
47
+ /** `GET /api/v1/ssh-keys` 成功时的响应体。 */
48
+ export type ListSshKeysResult = operations["list-ssh-keys"]["responses"][200]["content"]["application/json"];
49
+ /** `GET /api/v1/ssh-keys` 的查询参数。 */
50
+ export type ListSshKeysQuery = operations["list-ssh-keys"]["parameters"]["query"];
51
+ /** `POST /api/v1/ssh-keys` 成功时的响应体。 */
52
+ export type CreateSshKeyResult = operations["create-ssh-key"]["responses"][201]["content"]["application/json"];
53
+ /** `POST /api/v1/ssh-keys` 的请求体。 */
54
+ export type CreateSshKeyBody = NonNullable<operations["create-ssh-key"]["requestBody"]>["content"]["application/json"];
55
+ /** `DELETE /api/v1/ssh-keys/{keyId}` 成功时的响应体。 */
56
+ export type RevokeSshKeyResult = operations["revoke-ssh-key"]["responses"][200]["content"]["application/json"];
57
+ /** `GET /api/v1/ssh-keys/{keyId}` 成功时的响应体。 */
58
+ export type GetSshKeyResult = operations["get-ssh-key"]["responses"][200]["content"]["application/json"];
59
+ /** `PATCH /api/v1/ssh-keys/{keyId}` 成功时的响应体。 */
60
+ export type RenameSshKeyResult = operations["rename-ssh-key"]["responses"][200]["content"]["application/json"];
61
+ /** `PATCH /api/v1/ssh-keys/{keyId}` 的请求体。 */
62
+ export type RenameSshKeyBody = NonNullable<operations["rename-ssh-key"]["requestBody"]>["content"]["application/json"];
@@ -0,0 +1,5 @@
1
+ // 由 scripts/generate-ts.mjs 生成,不要手改。
2
+ //
3
+ // 别名把 operations[...] 那串下标换成一个名字。原始的 paths / components / operations 也
4
+ // 一并导出:paths 是给 openapi-fetch 的 createClient<paths>() 用的。
5
+ export {};