@carbonvoice/cv-mcp-server 1.0.9 → 1.0.10
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.
|
@@ -618,7 +618,8 @@ exports.listMessagesQueryParams = zod_1.z.object({
|
|
|
618
618
|
"conversation_id": zod_1.z.string().optional().describe('Conversation ID (optional)'),
|
|
619
619
|
"language": zod_1.z.string().optional().describe('Language (optional)'),
|
|
620
620
|
"type": zod_1.z.enum(['channel', 'prerecorded', 'voicememo', 'stored', 'welcome']).optional().describe('Type (optional)'),
|
|
621
|
-
"folder_id": zod_1.z.string().optional().describe('Folder ID (optional)')
|
|
621
|
+
"folder_id": zod_1.z.string().optional().describe('Folder ID (optional)'),
|
|
622
|
+
"user_ids": zod_1.z.array(zod_1.z.string()).optional().describe('User IDs (optional). List of user IDs to filter messages by. If not provided, all users will be included.')
|
|
622
623
|
});
|
|
623
624
|
exports.listMessagesResponsePageDefault = 1;
|
|
624
625
|
exports.listMessagesResponseSizeDefault = 10;
|
package/dist/server.js
CHANGED
|
@@ -15,8 +15,6 @@ const server = new mcp_js_1.McpServer({
|
|
|
15
15
|
},
|
|
16
16
|
});
|
|
17
17
|
const api = (0, generated_1.getCarbonVoiceSimplifiedAPI)();
|
|
18
|
-
// type GetMessageInput = z.infer<typeof getMessageByIdParams> &
|
|
19
|
-
// z.infer<typeof getMessageByIdQueryParams>;
|
|
20
18
|
/**********************
|
|
21
19
|
* Tools
|
|
22
20
|
*********************/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbonvoice/cv-mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "Server implementation for integrating with Carbon Voice's API, providing tools and endpoints for voice messaging, conversations, and workspace management through MCP (Model Context Protocol)",
|
|
5
5
|
"author": "Carbon Voice",
|
|
6
6
|
"license": "ISC",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"lint:fix": "eslint src --fix",
|
|
18
18
|
"mcp:inspector": "env-cmd npx @modelcontextprotocol/inspector node dist/stdio.js",
|
|
19
19
|
"auto:build": "env-cmd nodemon --watch src --ext ts --exec npm run build",
|
|
20
|
-
"generate:api": "orval --config orval.config.ts"
|
|
20
|
+
"generate:api": "env-cmd orval --config orval.config.ts"
|
|
21
21
|
},
|
|
22
22
|
"files": [
|
|
23
23
|
"dist"
|