@leaflow/sdk 0.0.0-dev.113.g5d6fb99
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/index.d.ts +38 -0
- package/dist/account/v1/index.js +5 -0
- package/dist/account/v1/schema.d.ts +866 -0
- package/dist/account/v1/schema.js +5 -0
- package/dist/assistant/v1/index.d.ts +68 -0
- package/dist/assistant/v1/index.js +5 -0
- package/dist/assistant/v1/schema.d.ts +1884 -0
- package/dist/assistant/v1/schema.js +5 -0
- package/dist/canopy/v1/index.d.ts +36 -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 +200 -0
- package/dist/compute/v1/index.js +5 -0
- package/dist/compute/v1/schema.d.ts +4439 -0
- package/dist/compute/v1/schema.js +5 -0
- package/dist/gen/account/v1/schema.d.ts +866 -0
- package/dist/gen/account/v1/schema.js +5 -0
- package/dist/gen/assistant/v1/schema.d.ts +1884 -0
- package/dist/gen/assistant/v1/schema.js +5 -0
- package/dist/gen/canopy/v1/schema.d.ts +1100 -0
- package/dist/gen/canopy/v1/schema.js +5 -0
- package/dist/gen/compute/v1/schema.d.ts +4439 -0
- package/dist/gen/compute/v1/schema.js +5 -0
- package/dist/gen/iam/v1/schema.d.ts +1230 -0
- package/dist/gen/iam/v1/schema.js +5 -0
- package/dist/gen/monitoring/v1/schema.d.ts +2291 -0
- package/dist/gen/monitoring/v1/schema.js +5 -0
- package/dist/gen/tunnel/v1/schema.d.ts +845 -0
- package/dist/gen/tunnel/v1/schema.js +5 -0
- package/dist/iam/v1/index.d.ts +56 -0
- package/dist/iam/v1/index.js +5 -0
- package/dist/iam/v1/schema.d.ts +1230 -0
- package/dist/iam/v1/schema.js +5 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +6 -0
- package/dist/monitoring/v1/index.d.ts +80 -0
- package/dist/monitoring/v1/index.js +5 -0
- package/dist/monitoring/v1/schema.d.ts +2291 -0
- package/dist/monitoring/v1/schema.js +5 -0
- package/dist/src/client.d.ts +57 -0
- package/dist/src/client.js +41 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/index.js +1 -0
- package/dist/tunnel/v1/index.d.ts +34 -0
- package/dist/tunnel/v1/index.js +5 -0
- package/dist/tunnel/v1/schema.d.ts +845 -0
- package/dist/tunnel/v1/schema.js +5 -0
- package/package.json +73 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export type { paths, components, operations, webhooks } from "./schema.js";
|
|
2
|
+
import type { operations } from "./schema.js";
|
|
3
|
+
/** `POST /v1/attachments` 成功时的响应体。 */
|
|
4
|
+
export type UploadAttachmentResult = operations["upload-attachment"]["responses"][201]["content"]["application/json"];
|
|
5
|
+
/** `GET /v1/bindings` 成功时的响应体。 */
|
|
6
|
+
export type ListBindingsResult = operations["list-bindings"]["responses"][200]["content"]["application/json"];
|
|
7
|
+
/** `GET /v1/bindings/{binding}` 成功时的响应体。 */
|
|
8
|
+
export type GetBindingResult = operations["get-binding"]["responses"][200]["content"]["application/json"];
|
|
9
|
+
/** `GET /v1/channels` 成功时的响应体。 */
|
|
10
|
+
export type ListChannelsResult = operations["list-channels"]["responses"][200]["content"]["application/json"];
|
|
11
|
+
/** `POST /v1/channels` 成功时的响应体。 */
|
|
12
|
+
export type CreateChannelResult = operations["create-channel"]["responses"][201]["content"]["application/json"];
|
|
13
|
+
/** `POST /v1/channels` 的请求体。 */
|
|
14
|
+
export type CreateChannelBody = NonNullable<operations["create-channel"]["requestBody"]>["content"]["application/json"];
|
|
15
|
+
/** `GET /v1/channels/{channel}` 成功时的响应体。 */
|
|
16
|
+
export type GetChannelResult = operations["get-channel"]["responses"][200]["content"]["application/json"];
|
|
17
|
+
/** `PATCH /v1/channels/{channel}` 成功时的响应体。 */
|
|
18
|
+
export type UpdateChannelResult = operations["update-channel"]["responses"][200]["content"]["application/json"];
|
|
19
|
+
/** `PATCH /v1/channels/{channel}` 的请求体。 */
|
|
20
|
+
export type UpdateChannelBody = NonNullable<operations["update-channel"]["requestBody"]>["content"]["application/json"];
|
|
21
|
+
/** `POST /v1/channels/{channel}/binding-codes` 成功时的响应体。 */
|
|
22
|
+
export type CreateBindingCodeResult = operations["create-binding-code"]["responses"][201]["content"]["application/json"];
|
|
23
|
+
/** `GET /v1/channels/{channel}/rejections` 成功时的响应体。 */
|
|
24
|
+
export type ListChannelRejectionsResult = operations["list-channel-rejections"]["responses"][200]["content"]["application/json"];
|
|
25
|
+
/** `POST /v1/channels/{channel}/secret` 成功时的响应体。 */
|
|
26
|
+
export type RotateChannelSecretResult = operations["rotate-channel-secret"]["responses"][200]["content"]["application/json"];
|
|
27
|
+
/** `POST /v1/channels/{channel}/secret` 的请求体。 */
|
|
28
|
+
export type RotateChannelSecretBody = NonNullable<operations["rotate-channel-secret"]["requestBody"]>["content"]["application/json"];
|
|
29
|
+
/** `GET /v1/channels/{channel}/sender-check` 成功时的响应体。 */
|
|
30
|
+
export type CheckSenderResult = operations["check-sender"]["responses"][200]["content"]["application/json"];
|
|
31
|
+
/** `POST /v1/channels/{channel}/weixin-logins` 成功时的响应体。 */
|
|
32
|
+
export type BeginWeixinLoginResult = operations["begin-weixin-login"]["responses"][201]["content"]["application/json"];
|
|
33
|
+
/** `GET /v1/platforms` 成功时的响应体。 */
|
|
34
|
+
export type ListPlatformsResult = operations["list-platforms"]["responses"][200]["content"]["application/json"];
|
|
35
|
+
/** `GET /v1/weixin-logins/{login}` 成功时的响应体。 */
|
|
36
|
+
export type GetWeixinLoginResult = operations["get-weixin-login"]["responses"][200]["content"]["application/json"];
|
|
37
|
+
/** `POST /v1/weixin-logins/{login}/verify-code` 成功时的响应体。 */
|
|
38
|
+
export type SubmitWeixinVerifyCodeResult = operations["submit-weixin-verify-code"]["responses"][200]["content"]["application/json"];
|
|
39
|
+
/** `POST /v1/weixin-logins/{login}/verify-code` 的请求体。 */
|
|
40
|
+
export type SubmitWeixinVerifyCodeBody = NonNullable<operations["submit-weixin-verify-code"]["requestBody"]>["content"]["application/json"];
|
|
41
|
+
/** `GET /v1/models` 成功时的响应体。 */
|
|
42
|
+
export type ListModelsResult = operations["list-models"]["responses"][200]["content"]["application/json"];
|
|
43
|
+
/** `GET /v1/threads` 成功时的响应体。 */
|
|
44
|
+
export type ListThreadsResult = operations["list-threads"]["responses"][200]["content"]["application/json"];
|
|
45
|
+
/** `POST /v1/threads` 成功时的响应体。 */
|
|
46
|
+
export type CreateThreadResult = operations["create-thread"]["responses"][201]["content"]["application/json"];
|
|
47
|
+
/** `POST /v1/threads` 的请求体。 */
|
|
48
|
+
export type CreateThreadBody = NonNullable<operations["create-thread"]["requestBody"]>["content"]["application/json"];
|
|
49
|
+
/** `GET /v1/threads/{thread}` 成功时的响应体。 */
|
|
50
|
+
export type GetThreadResult = operations["get-thread"]["responses"][200]["content"]["application/json"];
|
|
51
|
+
/** `PATCH /v1/threads/{thread}` 成功时的响应体。 */
|
|
52
|
+
export type UpdateThreadResult = operations["update-thread"]["responses"][200]["content"]["application/json"];
|
|
53
|
+
/** `PATCH /v1/threads/{thread}` 的请求体。 */
|
|
54
|
+
export type UpdateThreadBody = NonNullable<operations["update-thread"]["requestBody"]>["content"]["application/json"];
|
|
55
|
+
/** `POST /v1/threads/{thread}/approvals/{batch}` 的请求体。 */
|
|
56
|
+
export type DecideApprovalBody = NonNullable<operations["decide-approval"]["requestBody"]>["content"]["application/json"];
|
|
57
|
+
/** `GET /v1/threads/{thread}/earlier` 成功时的响应体。 */
|
|
58
|
+
export type ListEarlierItemsResult = operations["list-earlier-items"]["responses"][200]["content"]["application/json"];
|
|
59
|
+
/** `POST /v1/threads/{thread}/messages` 成功时的响应体。 */
|
|
60
|
+
export type SendMessageResult = operations["send-message"]["responses"][202]["content"]["application/json"];
|
|
61
|
+
/** `POST /v1/threads/{thread}/messages` 的请求体。 */
|
|
62
|
+
export type SendMessageBody = NonNullable<operations["send-message"]["requestBody"]>["content"]["application/json"];
|
|
63
|
+
/** `POST /v1/threads/{thread}/questions/{item}` 的请求体。 */
|
|
64
|
+
export type AnswerQuestionBody = NonNullable<operations["answer-question"]["requestBody"]>["content"]["application/json"];
|
|
65
|
+
/** `POST /v1/threads/{thread}/revert` 成功时的响应体。 */
|
|
66
|
+
export type RevertThreadResult = operations["revert-thread"]["responses"][200]["content"]["application/json"];
|
|
67
|
+
/** `POST /v1/threads/{thread}/revert` 的请求体。 */
|
|
68
|
+
export type RevertThreadBody = NonNullable<operations["revert-thread"]["requestBody"]>["content"]["application/json"];
|