@danyow/lark-mcp 0.5.3 → 0.5.5
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/mcp-server/shared/types.d.ts +2 -2
- package/dist/mcp-tool/tools/en/builtin-tools/drive/builtin.js +84 -41
- package/dist/mcp-tool/tools/en/gen-tools/zod/aily_v1.d.ts +16 -16
- package/dist/mcp-tool/tools/en/gen-tools/zod/attendance_v1.d.ts +84 -84
- package/dist/mcp-tool/tools/en/gen-tools/zod/baike_v1.d.ts +72 -72
- package/dist/mcp-tool/tools/en/gen-tools/zod/docx_v1.d.ts +697 -697
- package/dist/mcp-tool/tools/en/gen-tools/zod/hire_v1.d.ts +32 -32
- package/dist/mcp-tool/tools/en/gen-tools/zod/lingo_v1.d.ts +72 -72
- package/dist/mcp-tool/tools/en/gen-tools/zod/okr_v1.d.ts +24 -24
- package/dist/mcp-tool/tools/en/gen-tools/zod/task_v1.d.ts +20 -20
- package/dist/mcp-tool/tools/en/gen-tools/zod/task_v2.d.ts +18 -18
- package/dist/mcp-tool/tools/en/gen-tools/zod/vc_v1.d.ts +64 -64
- package/dist/mcp-tool/tools/en/gen-tools/zod/wiki_v2.d.ts +4 -4
- package/dist/mcp-tool/tools/zh/builtin-tools/drive/builtin.js +84 -41
- package/dist/mcp-tool/tools/zh/gen-tools/zod/aily_v1.d.ts +16 -16
- package/dist/mcp-tool/tools/zh/gen-tools/zod/attendance_v1.d.ts +84 -84
- package/dist/mcp-tool/tools/zh/gen-tools/zod/baike_v1.d.ts +72 -72
- package/dist/mcp-tool/tools/zh/gen-tools/zod/docx_v1.d.ts +716 -716
- package/dist/mcp-tool/tools/zh/gen-tools/zod/hire_v1.d.ts +32 -32
- package/dist/mcp-tool/tools/zh/gen-tools/zod/lingo_v1.d.ts +72 -72
- package/dist/mcp-tool/tools/zh/gen-tools/zod/okr_v1.d.ts +24 -24
- package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v1.d.ts +20 -20
- package/dist/mcp-tool/tools/zh/gen-tools/zod/task_v2.d.ts +18 -18
- package/dist/mcp-tool/tools/zh/gen-tools/zod/vc_v1.d.ts +64 -64
- package/dist/mcp-tool/tools/zh/gen-tools/zod/wiki_v2.d.ts +4 -4
- package/package.json +1 -1
|
@@ -37,9 +37,9 @@ export declare const wikiV2SpaceGet: {
|
|
|
37
37
|
params: z.ZodOptional<z.ZodObject<{
|
|
38
38
|
lang: z.ZodOptional<z.ZodEnum<["zh", "id", "de", "en", "es", "fr", "it", "pt", "vi", "ru", "hi", "th", "ko", "ja", "zh-HK", "zh-TW"]>>;
|
|
39
39
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
lang?: "id" | "zh-HK" | "zh-TW" | "
|
|
40
|
+
lang?: "en" | "id" | "zh-HK" | "zh-TW" | "ja" | "zh" | "de" | "es" | "fr" | "it" | "pt" | "vi" | "ru" | "hi" | "th" | "ko" | undefined;
|
|
41
41
|
}, {
|
|
42
|
-
lang?: "id" | "zh-HK" | "zh-TW" | "
|
|
42
|
+
lang?: "en" | "id" | "zh-HK" | "zh-TW" | "ja" | "zh" | "de" | "es" | "fr" | "it" | "pt" | "vi" | "ru" | "hi" | "th" | "ko" | undefined;
|
|
43
43
|
}>>;
|
|
44
44
|
path: z.ZodOptional<z.ZodObject<{
|
|
45
45
|
space_id: z.ZodOptional<z.ZodString>;
|
|
@@ -493,9 +493,9 @@ export declare const wikiV2Tools: ({
|
|
|
493
493
|
params: z.ZodOptional<z.ZodObject<{
|
|
494
494
|
lang: z.ZodOptional<z.ZodEnum<["zh", "id", "de", "en", "es", "fr", "it", "pt", "vi", "ru", "hi", "th", "ko", "ja", "zh-HK", "zh-TW"]>>;
|
|
495
495
|
}, "strip", z.ZodTypeAny, {
|
|
496
|
-
lang?: "id" | "zh-HK" | "zh-TW" | "
|
|
496
|
+
lang?: "en" | "id" | "zh-HK" | "zh-TW" | "ja" | "zh" | "de" | "es" | "fr" | "it" | "pt" | "vi" | "ru" | "hi" | "th" | "ko" | undefined;
|
|
497
497
|
}, {
|
|
498
|
-
lang?: "id" | "zh-HK" | "zh-TW" | "
|
|
498
|
+
lang?: "en" | "id" | "zh-HK" | "zh-TW" | "ja" | "zh" | "de" | "es" | "fr" | "it" | "pt" | "vi" | "ru" | "hi" | "th" | "ko" | undefined;
|
|
499
499
|
}>>;
|
|
500
500
|
path: z.ZodOptional<z.ZodObject<{
|
|
501
501
|
space_id: z.ZodOptional<z.ZodString>;
|
|
@@ -34,11 +34,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
36
|
exports.driveBuiltinTools = exports.larkDriveExportTaskDownloadTool = void 0;
|
|
37
|
-
const lark = __importStar(require("@larksuiteoapi/node-sdk"));
|
|
38
37
|
const zod_1 = require("zod");
|
|
39
38
|
const fs = __importStar(require("fs"));
|
|
40
39
|
const path = __importStar(require("path"));
|
|
41
40
|
const os = __importStar(require("os"));
|
|
41
|
+
const http_instance_1 = require("../../../../../utils/http-instance");
|
|
42
42
|
exports.larkDriveExportTaskDownloadTool = {
|
|
43
43
|
project: 'drive',
|
|
44
44
|
name: 'drive.v1.exportTask.download',
|
|
@@ -67,7 +67,7 @@ exports.larkDriveExportTaskDownloadTool = {
|
|
|
67
67
|
useUAT: zod_1.z.boolean().describe('使用用户访问令牌,否则使用租户访问令牌').optional(),
|
|
68
68
|
},
|
|
69
69
|
customHandler: async (client, params, options) => {
|
|
70
|
-
var _a, _b, _c, _d;
|
|
70
|
+
var _a, _b, _c, _d, _e, _f;
|
|
71
71
|
try {
|
|
72
72
|
const { userAccessToken } = options || {};
|
|
73
73
|
const fileToken = (_a = params === null || params === void 0 ? void 0 : params.path) === null || _a === void 0 ? void 0 : _a.file_token;
|
|
@@ -85,64 +85,73 @@ exports.larkDriveExportTaskDownloadTool = {
|
|
|
85
85
|
fs.mkdirSync(outputDir, { recursive: true });
|
|
86
86
|
}
|
|
87
87
|
const filePath = path.join(outputDir, fileName);
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
const debug = [];
|
|
89
|
+
debug.push(`fileToken: ${fileToken}`);
|
|
90
|
+
debug.push(`useUAT: ${params === null || params === void 0 ? void 0 : params.useUAT}, hasUserAccessToken: ${!!userAccessToken}`);
|
|
91
|
+
// Get access token from SDK client
|
|
92
|
+
let accessToken;
|
|
90
93
|
if (userAccessToken && (params === null || params === void 0 ? void 0 : params.useUAT)) {
|
|
91
|
-
|
|
94
|
+
accessToken = userAccessToken;
|
|
95
|
+
debug.push('using user access token');
|
|
92
96
|
}
|
|
93
97
|
else {
|
|
94
|
-
|
|
98
|
+
// Get tenant access token from client
|
|
99
|
+
try {
|
|
100
|
+
const tokenRes = await ((_d = client.tokenManager) === null || _d === void 0 ? void 0 : _d.getTenantAccessToken());
|
|
101
|
+
accessToken = tokenRes;
|
|
102
|
+
debug.push('using tenant access token');
|
|
103
|
+
}
|
|
104
|
+
catch (tokenError) {
|
|
105
|
+
debug.push(`failed to get tenant token: ${tokenError === null || tokenError === void 0 ? void 0 : tokenError.message}`);
|
|
106
|
+
}
|
|
95
107
|
}
|
|
96
|
-
|
|
97
|
-
if ((response === null || response === void 0 ? void 0 : response.code) && response.code !== 0) {
|
|
108
|
+
if (!accessToken) {
|
|
98
109
|
return {
|
|
99
110
|
isError: true,
|
|
100
111
|
content: [{ type: 'text', text: JSON.stringify({
|
|
101
|
-
msg: '
|
|
102
|
-
|
|
103
|
-
error: response.msg || '未知错误',
|
|
104
|
-
hint: 'file_token 可能无效或已过期。导出的文件将在导出任务完成后 10 分钟内被删除。'
|
|
112
|
+
msg: '获取访问令牌失败',
|
|
113
|
+
debug
|
|
105
114
|
}) }],
|
|
106
115
|
};
|
|
107
116
|
}
|
|
108
|
-
// Use
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
const writableStream = fs.createWriteStream(filePath);
|
|
125
|
-
await new Promise((resolve, reject) => {
|
|
126
|
-
readableStream.pipe(writableStream);
|
|
127
|
-
writableStream.on('finish', resolve);
|
|
128
|
-
writableStream.on('error', reject);
|
|
129
|
-
readableStream.on('error', reject);
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
else {
|
|
117
|
+
// Use commonHttpInstance directly (with proxy support) instead of SDK's download method
|
|
118
|
+
const domain = client.domain || 'https://open.feishu.cn';
|
|
119
|
+
const downloadUrl = `${domain}/open-apis/drive/v1/export_tasks/file/${fileToken}/download`;
|
|
120
|
+
debug.push(`downloadUrl: ${downloadUrl}`);
|
|
121
|
+
const response = await http_instance_1.commonHttpInstance.request({
|
|
122
|
+
url: downloadUrl,
|
|
123
|
+
method: 'GET',
|
|
124
|
+
headers: {
|
|
125
|
+
'Authorization': `Bearer ${accessToken}`,
|
|
126
|
+
},
|
|
127
|
+
responseType: 'stream',
|
|
128
|
+
timeout: 60000, // 60 seconds timeout for download
|
|
129
|
+
});
|
|
130
|
+
debug.push(`response status: ${response.status}`);
|
|
131
|
+
// Check if we got a valid stream response
|
|
132
|
+
if (!response.data) {
|
|
133
133
|
return {
|
|
134
134
|
isError: true,
|
|
135
135
|
content: [{ type: 'text', text: JSON.stringify({
|
|
136
|
-
msg: '
|
|
137
|
-
debug
|
|
136
|
+
msg: '下载文件失败:响应为空',
|
|
137
|
+
debug
|
|
138
138
|
}) }],
|
|
139
139
|
};
|
|
140
140
|
}
|
|
141
|
+
// Write stream to file
|
|
142
|
+
const writableStream = fs.createWriteStream(filePath);
|
|
143
|
+
await new Promise((resolve, reject) => {
|
|
144
|
+
response.data.pipe(writableStream);
|
|
145
|
+
writableStream.on('finish', resolve);
|
|
146
|
+
writableStream.on('error', reject);
|
|
147
|
+
response.data.on('error', reject);
|
|
148
|
+
});
|
|
149
|
+
debug.push('stream completed');
|
|
141
150
|
// Check if file was created and get stats
|
|
142
151
|
if (!fs.existsSync(filePath)) {
|
|
143
152
|
return {
|
|
144
153
|
isError: true,
|
|
145
|
-
content: [{ type: 'text', text: JSON.stringify({ msg: '下载文件失败:文件未创建' }) }],
|
|
154
|
+
content: [{ type: 'text', text: JSON.stringify({ msg: '下载文件失败:文件未创建', debug }) }],
|
|
146
155
|
};
|
|
147
156
|
}
|
|
148
157
|
const stats = fs.statSync(filePath);
|
|
@@ -162,6 +171,40 @@ exports.larkDriveExportTaskDownloadTool = {
|
|
|
162
171
|
};
|
|
163
172
|
}
|
|
164
173
|
catch (error) {
|
|
174
|
+
// Handle API error responses
|
|
175
|
+
if ((_e = error === null || error === void 0 ? void 0 : error.response) === null || _e === void 0 ? void 0 : _e.data) {
|
|
176
|
+
// For stream responses, we need to read the error from the stream
|
|
177
|
+
const errorData = error.response.data;
|
|
178
|
+
if (typeof errorData.pipe === 'function') {
|
|
179
|
+
// It's a stream, try to read it
|
|
180
|
+
const chunks = [];
|
|
181
|
+
for await (const chunk of errorData) {
|
|
182
|
+
chunks.push(chunk);
|
|
183
|
+
}
|
|
184
|
+
const errorText = Buffer.concat(chunks).toString('utf-8');
|
|
185
|
+
try {
|
|
186
|
+
const errorJson = JSON.parse(errorText);
|
|
187
|
+
return {
|
|
188
|
+
isError: true,
|
|
189
|
+
content: [{ type: 'text', text: JSON.stringify({
|
|
190
|
+
msg: 'API 错误',
|
|
191
|
+
code: errorJson.code,
|
|
192
|
+
error: errorJson.msg || '未知错误',
|
|
193
|
+
hint: 'file_token 可能无效或已过期。导出的文件将在导出任务完成后 10 分钟内被删除。',
|
|
194
|
+
}) }],
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
catch (_g) {
|
|
198
|
+
return {
|
|
199
|
+
isError: true,
|
|
200
|
+
content: [{ type: 'text', text: JSON.stringify({
|
|
201
|
+
msg: '下载导出文件失败',
|
|
202
|
+
error: errorText,
|
|
203
|
+
}) }],
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
165
208
|
return {
|
|
166
209
|
isError: true,
|
|
167
210
|
content: [
|
|
@@ -169,7 +212,7 @@ exports.larkDriveExportTaskDownloadTool = {
|
|
|
169
212
|
type: 'text',
|
|
170
213
|
text: JSON.stringify({
|
|
171
214
|
msg: '下载导出文件失败',
|
|
172
|
-
error: ((
|
|
215
|
+
error: ((_f = error === null || error === void 0 ? void 0 : error.response) === null || _f === void 0 ? void 0 : _f.data) || (error === null || error === void 0 ? void 0 : error.message) || String(error),
|
|
173
216
|
}),
|
|
174
217
|
},
|
|
175
218
|
],
|
|
@@ -22,16 +22,16 @@ export declare const ailyV1AilySessionAilyMessageCreate: {
|
|
|
22
22
|
name: z.ZodOptional<z.ZodString>;
|
|
23
23
|
aily_id: z.ZodOptional<z.ZodString>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
key?: string | undefined;
|
|
25
26
|
name?: string | undefined;
|
|
26
27
|
entity_id?: string | undefined;
|
|
27
28
|
identity_provider?: "AILY" | "FEISHU" | undefined;
|
|
28
|
-
key?: string | undefined;
|
|
29
29
|
aily_id?: string | undefined;
|
|
30
30
|
}, {
|
|
31
|
+
key?: string | undefined;
|
|
31
32
|
name?: string | undefined;
|
|
32
33
|
entity_id?: string | undefined;
|
|
33
34
|
identity_provider?: "AILY" | "FEISHU" | undefined;
|
|
34
|
-
key?: string | undefined;
|
|
35
35
|
aily_id?: string | undefined;
|
|
36
36
|
}>, "many">>;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -41,10 +41,10 @@ export declare const ailyV1AilySessionAilyMessageCreate: {
|
|
|
41
41
|
file_ids?: string[] | undefined;
|
|
42
42
|
quote_message_id?: string | undefined;
|
|
43
43
|
mentions?: {
|
|
44
|
+
key?: string | undefined;
|
|
44
45
|
name?: string | undefined;
|
|
45
46
|
entity_id?: string | undefined;
|
|
46
47
|
identity_provider?: "AILY" | "FEISHU" | undefined;
|
|
47
|
-
key?: string | undefined;
|
|
48
48
|
aily_id?: string | undefined;
|
|
49
49
|
}[] | undefined;
|
|
50
50
|
}, {
|
|
@@ -54,10 +54,10 @@ export declare const ailyV1AilySessionAilyMessageCreate: {
|
|
|
54
54
|
file_ids?: string[] | undefined;
|
|
55
55
|
quote_message_id?: string | undefined;
|
|
56
56
|
mentions?: {
|
|
57
|
+
key?: string | undefined;
|
|
57
58
|
name?: string | undefined;
|
|
58
59
|
entity_id?: string | undefined;
|
|
59
60
|
identity_provider?: "AILY" | "FEISHU" | undefined;
|
|
60
|
-
key?: string | undefined;
|
|
61
61
|
aily_id?: string | undefined;
|
|
62
62
|
}[] | undefined;
|
|
63
63
|
}>;
|
|
@@ -397,16 +397,16 @@ export declare const ailyV1AppDataAssetCreate: {
|
|
|
397
397
|
url: z.ZodOptional<z.ZodString>;
|
|
398
398
|
}, "strip", z.ZodTypeAny, {
|
|
399
399
|
content?: string | undefined;
|
|
400
|
+
url?: string | undefined;
|
|
400
401
|
title?: string | undefined;
|
|
401
402
|
token?: string | undefined;
|
|
402
403
|
mime_type?: string | undefined;
|
|
403
|
-
url?: string | undefined;
|
|
404
404
|
}, {
|
|
405
405
|
content?: string | undefined;
|
|
406
|
+
url?: string | undefined;
|
|
406
407
|
title?: string | undefined;
|
|
407
408
|
token?: string | undefined;
|
|
408
409
|
mime_type?: string | undefined;
|
|
409
|
-
url?: string | undefined;
|
|
410
410
|
}>>;
|
|
411
411
|
lark_doc: z.ZodOptional<z.ZodObject<{
|
|
412
412
|
type: z.ZodEnum<["doc", "file", "wiki", "docx", "folder"]>;
|
|
@@ -464,10 +464,10 @@ export declare const ailyV1AppDataAssetCreate: {
|
|
|
464
464
|
}, "strip", z.ZodTypeAny, {
|
|
465
465
|
file?: {
|
|
466
466
|
content?: string | undefined;
|
|
467
|
+
url?: string | undefined;
|
|
467
468
|
title?: string | undefined;
|
|
468
469
|
token?: string | undefined;
|
|
469
470
|
mime_type?: string | undefined;
|
|
470
|
-
url?: string | undefined;
|
|
471
471
|
} | undefined;
|
|
472
472
|
lark_wiki_space?: {
|
|
473
473
|
space_id: string;
|
|
@@ -495,10 +495,10 @@ export declare const ailyV1AppDataAssetCreate: {
|
|
|
495
495
|
}, {
|
|
496
496
|
file?: {
|
|
497
497
|
content?: string | undefined;
|
|
498
|
+
url?: string | undefined;
|
|
498
499
|
title?: string | undefined;
|
|
499
500
|
token?: string | undefined;
|
|
500
501
|
mime_type?: string | undefined;
|
|
501
|
-
url?: string | undefined;
|
|
502
502
|
} | undefined;
|
|
503
503
|
lark_wiki_space?: {
|
|
504
504
|
space_id: string;
|
|
@@ -531,10 +531,10 @@ export declare const ailyV1AppDataAssetCreate: {
|
|
|
531
531
|
import_knowledge_setting?: {
|
|
532
532
|
file?: {
|
|
533
533
|
content?: string | undefined;
|
|
534
|
+
url?: string | undefined;
|
|
534
535
|
title?: string | undefined;
|
|
535
536
|
token?: string | undefined;
|
|
536
537
|
mime_type?: string | undefined;
|
|
537
|
-
url?: string | undefined;
|
|
538
538
|
} | undefined;
|
|
539
539
|
lark_wiki_space?: {
|
|
540
540
|
space_id: string;
|
|
@@ -567,10 +567,10 @@ export declare const ailyV1AppDataAssetCreate: {
|
|
|
567
567
|
import_knowledge_setting?: {
|
|
568
568
|
file?: {
|
|
569
569
|
content?: string | undefined;
|
|
570
|
+
url?: string | undefined;
|
|
570
571
|
title?: string | undefined;
|
|
571
572
|
token?: string | undefined;
|
|
572
573
|
mime_type?: string | undefined;
|
|
573
|
-
url?: string | undefined;
|
|
574
574
|
} | undefined;
|
|
575
575
|
lark_wiki_space?: {
|
|
576
576
|
space_id: string;
|
|
@@ -916,16 +916,16 @@ export declare const ailyV1Tools: ({
|
|
|
916
916
|
url: z.ZodOptional<z.ZodString>;
|
|
917
917
|
}, "strip", z.ZodTypeAny, {
|
|
918
918
|
content?: string | undefined;
|
|
919
|
+
url?: string | undefined;
|
|
919
920
|
title?: string | undefined;
|
|
920
921
|
token?: string | undefined;
|
|
921
922
|
mime_type?: string | undefined;
|
|
922
|
-
url?: string | undefined;
|
|
923
923
|
}, {
|
|
924
924
|
content?: string | undefined;
|
|
925
|
+
url?: string | undefined;
|
|
925
926
|
title?: string | undefined;
|
|
926
927
|
token?: string | undefined;
|
|
927
928
|
mime_type?: string | undefined;
|
|
928
|
-
url?: string | undefined;
|
|
929
929
|
}>>;
|
|
930
930
|
lark_doc: z.ZodOptional<z.ZodObject<{
|
|
931
931
|
type: z.ZodEnum<["doc", "file", "wiki", "docx", "folder"]>;
|
|
@@ -983,10 +983,10 @@ export declare const ailyV1Tools: ({
|
|
|
983
983
|
}, "strip", z.ZodTypeAny, {
|
|
984
984
|
file?: {
|
|
985
985
|
content?: string | undefined;
|
|
986
|
+
url?: string | undefined;
|
|
986
987
|
title?: string | undefined;
|
|
987
988
|
token?: string | undefined;
|
|
988
989
|
mime_type?: string | undefined;
|
|
989
|
-
url?: string | undefined;
|
|
990
990
|
} | undefined;
|
|
991
991
|
lark_wiki_space?: {
|
|
992
992
|
space_id: string;
|
|
@@ -1014,10 +1014,10 @@ export declare const ailyV1Tools: ({
|
|
|
1014
1014
|
}, {
|
|
1015
1015
|
file?: {
|
|
1016
1016
|
content?: string | undefined;
|
|
1017
|
+
url?: string | undefined;
|
|
1017
1018
|
title?: string | undefined;
|
|
1018
1019
|
token?: string | undefined;
|
|
1019
1020
|
mime_type?: string | undefined;
|
|
1020
|
-
url?: string | undefined;
|
|
1021
1021
|
} | undefined;
|
|
1022
1022
|
lark_wiki_space?: {
|
|
1023
1023
|
space_id: string;
|
|
@@ -1050,10 +1050,10 @@ export declare const ailyV1Tools: ({
|
|
|
1050
1050
|
import_knowledge_setting?: {
|
|
1051
1051
|
file?: {
|
|
1052
1052
|
content?: string | undefined;
|
|
1053
|
+
url?: string | undefined;
|
|
1053
1054
|
title?: string | undefined;
|
|
1054
1055
|
token?: string | undefined;
|
|
1055
1056
|
mime_type?: string | undefined;
|
|
1056
|
-
url?: string | undefined;
|
|
1057
1057
|
} | undefined;
|
|
1058
1058
|
lark_wiki_space?: {
|
|
1059
1059
|
space_id: string;
|
|
@@ -1086,10 +1086,10 @@ export declare const ailyV1Tools: ({
|
|
|
1086
1086
|
import_knowledge_setting?: {
|
|
1087
1087
|
file?: {
|
|
1088
1088
|
content?: string | undefined;
|
|
1089
|
+
url?: string | undefined;
|
|
1089
1090
|
title?: string | undefined;
|
|
1090
1091
|
token?: string | undefined;
|
|
1091
1092
|
mime_type?: string | undefined;
|
|
1092
|
-
url?: string | undefined;
|
|
1093
1093
|
} | undefined;
|
|
1094
1094
|
lark_wiki_space?: {
|
|
1095
1095
|
space_id: string;
|