@liselvins/lark-mcp 0.1.0 → 0.1.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.
|
@@ -1898,6 +1898,7 @@ export declare const imV1MessageList: {
|
|
|
1898
1898
|
end_time?: string | undefined;
|
|
1899
1899
|
sort_type?: "ByCreateTimeAsc" | "ByCreateTimeDesc" | undefined;
|
|
1900
1900
|
}>;
|
|
1901
|
+
useUAT: z.ZodOptional<z.ZodBoolean>;
|
|
1901
1902
|
};
|
|
1902
1903
|
};
|
|
1903
1904
|
export declare const imV1MessageMergeForward: {
|
|
@@ -2779,6 +2780,7 @@ export declare const imV1Tools: ({
|
|
|
2779
2780
|
end_time?: string | undefined;
|
|
2780
2781
|
sort_type?: "ByCreateTimeAsc" | "ByCreateTimeDesc" | undefined;
|
|
2781
2782
|
}>;
|
|
2783
|
+
useUAT: z.ZodOptional<z.ZodBoolean>;
|
|
2782
2784
|
};
|
|
2783
2785
|
} | {
|
|
2784
2786
|
project: string;
|
|
@@ -1358,7 +1358,7 @@ exports.imV1MessageList = {
|
|
|
1358
1358
|
path: '/open-apis/im/v1/messages',
|
|
1359
1359
|
httpMethod: 'GET',
|
|
1360
1360
|
description: '[Feishu/Lark]-Messaging-Message management-Get chat history-Obtains chat history (chat records) of chats (including private chats and group chats)',
|
|
1361
|
-
accessTokens: ['tenant'],
|
|
1361
|
+
accessTokens: ['tenant', 'user'],
|
|
1362
1362
|
schema: {
|
|
1363
1363
|
params: zod_1.z.object({
|
|
1364
1364
|
container_id_type: zod_1.z
|
|
@@ -1388,6 +1388,7 @@ exports.imV1MessageList = {
|
|
|
1388
1388
|
.describe('Page identifier. It is not filled in the first request, indicating traversal from the beginning; when there will be more groups, the new page_token will be returned at the same time, and the next traversal can use the page_token to get more groups')
|
|
1389
1389
|
.optional(),
|
|
1390
1390
|
}),
|
|
1391
|
+
useUAT: zod_1.z.boolean().describe('Use user access token, otherwise use tenant access token').optional(),
|
|
1391
1392
|
},
|
|
1392
1393
|
};
|
|
1393
1394
|
exports.imV1MessageMergeForward = {
|
|
@@ -1898,6 +1898,7 @@ export declare const imV1MessageList: {
|
|
|
1898
1898
|
end_time?: string | undefined;
|
|
1899
1899
|
sort_type?: "ByCreateTimeAsc" | "ByCreateTimeDesc" | undefined;
|
|
1900
1900
|
}>;
|
|
1901
|
+
useUAT: z.ZodOptional<z.ZodBoolean>;
|
|
1901
1902
|
};
|
|
1902
1903
|
};
|
|
1903
1904
|
export declare const imV1MessageMergeForward: {
|
|
@@ -2779,6 +2780,7 @@ export declare const imV1Tools: ({
|
|
|
2779
2780
|
end_time?: string | undefined;
|
|
2780
2781
|
sort_type?: "ByCreateTimeAsc" | "ByCreateTimeDesc" | undefined;
|
|
2781
2782
|
}>;
|
|
2783
|
+
useUAT: z.ZodOptional<z.ZodBoolean>;
|
|
2782
2784
|
};
|
|
2783
2785
|
} | {
|
|
2784
2786
|
project: string;
|
|
@@ -1325,7 +1325,7 @@ exports.imV1MessageList = {
|
|
|
1325
1325
|
path: '/open-apis/im/v1/messages',
|
|
1326
1326
|
httpMethod: 'GET',
|
|
1327
1327
|
description: '[Feishu/Lark]-消息-消息管理-获取会话历史消息-获取指定会话(包括单聊、群组)内的历史消息(即聊天记录)',
|
|
1328
|
-
accessTokens: ['tenant'],
|
|
1328
|
+
accessTokens: ['tenant', 'user'],
|
|
1329
1329
|
schema: {
|
|
1330
1330
|
params: zod_1.z.object({
|
|
1331
1331
|
container_id_type: zod_1.z
|
|
@@ -1352,6 +1352,7 @@ exports.imV1MessageList = {
|
|
|
1352
1352
|
.describe('分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果')
|
|
1353
1353
|
.optional(),
|
|
1354
1354
|
}),
|
|
1355
|
+
useUAT: zod_1.z.boolean().describe('使用用户身份请求, 否则使用应用身份').optional(),
|
|
1355
1356
|
},
|
|
1356
1357
|
};
|
|
1357
1358
|
exports.imV1MessageMergeForward = {
|