(chatId: string)
| 945 | } |
| 946 | |
| 947 | function buildImMessageCreateRequest(chatId: string): FeishuApiRequest { |
| 948 | return { |
| 949 | method: "POST", |
| 950 | path: "/open-apis/im/v1/messages", |
| 951 | query: { |
| 952 | receive_id_type: "chat_id", |
| 953 | }, |
| 954 | body: { |
| 955 | receive_id: chatId, |
| 956 | msg_type: "text", |
| 957 | content: JSON.stringify({ text: "AgentSpace Feishu smoke" }), |
| 958 | }, |
| 959 | }; |
| 960 | } |
| 961 | |
| 962 | function buildDocMetadataRequest(docToken: string): FeishuApiRequest { |
| 963 | return { |
no outgoing calls
no test coverage detected