elevenlabs-voice-agent-mcp 1.0.15 → 1.1.0
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/README.md +202 -23
- package/dist/__tests__/mocks/fixtures.d.ts +136 -0
- package/dist/__tests__/mocks/fixtures.d.ts.map +1 -0
- package/dist/__tests__/mocks/fixtures.js +393 -0
- package/dist/__tests__/mocks/fixtures.js.map +1 -0
- package/dist/__tests__/schemas/schemas.test.d.ts +7 -0
- package/dist/__tests__/schemas/schemas.test.d.ts.map +1 -0
- package/dist/__tests__/schemas/schemas.test.js +537 -0
- package/dist/__tests__/schemas/schemas.test.js.map +1 -0
- package/dist/__tests__/services/elevenlabs-api.test.d.ts +7 -0
- package/dist/__tests__/services/elevenlabs-api.test.d.ts.map +1 -0
- package/dist/__tests__/services/elevenlabs-api.test.js +272 -0
- package/dist/__tests__/services/elevenlabs-api.test.js.map +1 -0
- package/dist/__tests__/services/formatters.test.d.ts +7 -0
- package/dist/__tests__/services/formatters.test.d.ts.map +1 -0
- package/dist/__tests__/services/formatters.test.js +387 -0
- package/dist/__tests__/services/formatters.test.js.map +1 -0
- package/dist/__tests__/setup.d.ts +7 -0
- package/dist/__tests__/setup.d.ts.map +1 -0
- package/dist/__tests__/setup.js +25 -0
- package/dist/__tests__/setup.js.map +1 -0
- package/dist/__tests__/tools/agent-tools.test.d.ts +7 -0
- package/dist/__tests__/tools/agent-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/agent-tools.test.js +343 -0
- package/dist/__tests__/tools/agent-tools.test.js.map +1 -0
- package/dist/__tests__/tools/batch-calling-tools.test.d.ts +7 -0
- package/dist/__tests__/tools/batch-calling-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/batch-calling-tools.test.js +236 -0
- package/dist/__tests__/tools/batch-calling-tools.test.js.map +1 -0
- package/dist/__tests__/tools/conversation-tools.test.d.ts +7 -0
- package/dist/__tests__/tools/conversation-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/conversation-tools.test.js +212 -0
- package/dist/__tests__/tools/conversation-tools.test.js.map +1 -0
- package/dist/__tests__/tools/knowledge-tools.test.d.ts +7 -0
- package/dist/__tests__/tools/knowledge-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/knowledge-tools.test.js +209 -0
- package/dist/__tests__/tools/knowledge-tools.test.js.map +1 -0
- package/dist/__tests__/tools/outbound-tools.test.d.ts +7 -0
- package/dist/__tests__/tools/outbound-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/outbound-tools.test.js +194 -0
- package/dist/__tests__/tools/outbound-tools.test.js.map +1 -0
- package/dist/__tests__/tools/phone-number-tools.test.d.ts +7 -0
- package/dist/__tests__/tools/phone-number-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/phone-number-tools.test.js +314 -0
- package/dist/__tests__/tools/phone-number-tools.test.js.map +1 -0
- package/dist/__tests__/tools/tool-tools.test.d.ts +7 -0
- package/dist/__tests__/tools/tool-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/tool-tools.test.js +287 -0
- package/dist/__tests__/tools/tool-tools.test.js.map +1 -0
- package/dist/__tests__/tools/utility-tools.test.d.ts +7 -0
- package/dist/__tests__/tools/utility-tools.test.d.ts.map +1 -0
- package/dist/__tests__/tools/utility-tools.test.js +207 -0
- package/dist/__tests__/tools/utility-tools.test.js.map +1 -0
- package/dist/__tests__/utils/error-handlers.test.d.ts +7 -0
- package/dist/__tests__/utils/error-handlers.test.d.ts.map +1 -0
- package/dist/__tests__/utils/error-handlers.test.js +237 -0
- package/dist/__tests__/utils/error-handlers.test.js.map +1 -0
- package/dist/__tests__/utils/phone-normalizer.test.d.ts +7 -0
- package/dist/__tests__/utils/phone-normalizer.test.d.ts.map +1 -0
- package/dist/__tests__/utils/phone-normalizer.test.js +224 -0
- package/dist/__tests__/utils/phone-normalizer.test.js.map +1 -0
- package/dist/__tests__/utils/truncation.test.d.ts +7 -0
- package/dist/__tests__/utils/truncation.test.d.ts.map +1 -0
- package/dist/__tests__/utils/truncation.test.js +208 -0
- package/dist/__tests__/utils/truncation.test.js.map +1 -0
- package/dist/constants.d.ts +128 -4
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +150 -24
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +13 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +27 -3
- package/dist/index.js.map +1 -1
- package/dist/schemas/agent-schemas.d.ts +23 -8
- package/dist/schemas/agent-schemas.d.ts.map +1 -1
- package/dist/schemas/agent-schemas.js +23 -8
- package/dist/schemas/agent-schemas.js.map +1 -1
- package/dist/schemas/batch-calling-schemas.d.ts +24 -9
- package/dist/schemas/batch-calling-schemas.d.ts.map +1 -1
- package/dist/schemas/batch-calling-schemas.js +24 -9
- package/dist/schemas/batch-calling-schemas.js.map +1 -1
- package/dist/schemas/common-schemas.d.ts +45 -13
- package/dist/schemas/common-schemas.d.ts.map +1 -1
- package/dist/schemas/common-schemas.js +45 -13
- package/dist/schemas/common-schemas.js.map +1 -1
- package/dist/schemas/conversation-schemas.d.ts +12 -5
- package/dist/schemas/conversation-schemas.d.ts.map +1 -1
- package/dist/schemas/conversation-schemas.js +12 -5
- package/dist/schemas/conversation-schemas.js.map +1 -1
- package/dist/schemas/outbound-schemas.d.ts +23 -8
- package/dist/schemas/outbound-schemas.d.ts.map +1 -1
- package/dist/schemas/outbound-schemas.js +23 -8
- package/dist/schemas/outbound-schemas.js.map +1 -1
- package/dist/schemas/phone-number-schemas.d.ts +37 -14
- package/dist/schemas/phone-number-schemas.d.ts.map +1 -1
- package/dist/schemas/phone-number-schemas.js +37 -14
- package/dist/schemas/phone-number-schemas.js.map +1 -1
- package/dist/schemas/tool-schemas.d.ts +27 -9
- package/dist/schemas/tool-schemas.d.ts.map +1 -1
- package/dist/schemas/tool-schemas.js +34 -11
- package/dist/schemas/tool-schemas.js.map +1 -1
- package/dist/services/elevenlabs-api.d.ts +108 -14
- package/dist/services/elevenlabs-api.d.ts.map +1 -1
- package/dist/services/elevenlabs-api.js +108 -14
- package/dist/services/elevenlabs-api.js.map +1 -1
- package/dist/services/formatters.d.ts +147 -21
- package/dist/services/formatters.d.ts.map +1 -1
- package/dist/services/formatters.js +147 -21
- package/dist/services/formatters.js.map +1 -1
- package/dist/tools/agent-tools.d.ts +5 -3
- package/dist/tools/agent-tools.d.ts.map +1 -1
- package/dist/tools/agent-tools.js +5 -3
- package/dist/tools/agent-tools.js.map +1 -1
- package/dist/tools/batch-calling-tools.d.ts +5 -3
- package/dist/tools/batch-calling-tools.d.ts.map +1 -1
- package/dist/tools/batch-calling-tools.js +5 -3
- package/dist/tools/batch-calling-tools.js.map +1 -1
- package/dist/tools/conversation-tools.d.ts +5 -3
- package/dist/tools/conversation-tools.d.ts.map +1 -1
- package/dist/tools/conversation-tools.js +5 -3
- package/dist/tools/conversation-tools.js.map +1 -1
- package/dist/tools/knowledge-tools.d.ts +5 -3
- package/dist/tools/knowledge-tools.d.ts.map +1 -1
- package/dist/tools/knowledge-tools.js +5 -3
- package/dist/tools/knowledge-tools.js.map +1 -1
- package/dist/tools/outbound-tools.d.ts +5 -3
- package/dist/tools/outbound-tools.d.ts.map +1 -1
- package/dist/tools/outbound-tools.js +5 -3
- package/dist/tools/outbound-tools.js.map +1 -1
- package/dist/tools/phone-number-tools.d.ts +5 -4
- package/dist/tools/phone-number-tools.d.ts.map +1 -1
- package/dist/tools/phone-number-tools.js +5 -4
- package/dist/tools/phone-number-tools.js.map +1 -1
- package/dist/tools/tool-tools.d.ts +5 -3
- package/dist/tools/tool-tools.d.ts.map +1 -1
- package/dist/tools/tool-tools.js +5 -3
- package/dist/tools/tool-tools.js.map +1 -1
- package/dist/tools/utility-tools.d.ts +5 -3
- package/dist/tools/utility-tools.d.ts.map +1 -1
- package/dist/tools/utility-tools.js +5 -3
- package/dist/tools/utility-tools.js.map +1 -1
- package/dist/types.d.ts +457 -10
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +15 -3
- package/dist/types.js.map +1 -1
- package/dist/utils/error-handlers.d.ts +47 -14
- package/dist/utils/error-handlers.d.ts.map +1 -1
- package/dist/utils/error-handlers.js +47 -14
- package/dist/utils/error-handlers.js.map +1 -1
- package/dist/utils/phone-normalizer.d.ts +43 -22
- package/dist/utils/phone-normalizer.d.ts.map +1 -1
- package/dist/utils/phone-normalizer.js +43 -22
- package/dist/utils/phone-normalizer.js.map +1 -1
- package/dist/utils/truncation.d.ts +46 -22
- package/dist/utils/truncation.d.ts.map +1 -1
- package/dist/utils/truncation.js +46 -22
- package/dist/utils/truncation.js.map +1 -1
- package/package.json +10 -4
|
@@ -1,19 +1,26 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Zod validation schemas for conversation operations
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* @fileoverview Zod validation schemas for conversation operations
|
|
3
|
+
* @description Provides strict input validation for retrieving and managing conversations.
|
|
4
|
+
* These schemas define expected input for conversation listing and retrieval.
|
|
5
|
+
* @module schemas/conversation-schemas
|
|
5
6
|
*/
|
|
6
7
|
import { z } from "zod";
|
|
7
8
|
import { AgentIdSchema, ConversationIdSchema, ResponseFormatSchema, LimitSchema, OffsetSchema, DateRangeSchema } from "./common-schemas.js";
|
|
8
9
|
/**
|
|
9
|
-
* Schema for
|
|
10
|
+
* Schema for retrieving a single conversation.
|
|
11
|
+
* @description Validates input for the elevenlabs_get_conversation operation.
|
|
12
|
+
* Returns full transcript and analysis data.
|
|
13
|
+
* @type {z.ZodObject}
|
|
10
14
|
*/
|
|
11
15
|
export const GetConversationSchema = z.object({
|
|
12
16
|
conversation_id: ConversationIdSchema,
|
|
13
17
|
response_format: ResponseFormatSchema
|
|
14
18
|
}).passthrough();
|
|
15
19
|
/**
|
|
16
|
-
* Schema for listing conversations
|
|
20
|
+
* Schema for listing conversations with filtering.
|
|
21
|
+
* @description Validates input for the elevenlabs_list_conversations operation.
|
|
22
|
+
* Supports filtering by agent, status, and date range with pagination.
|
|
23
|
+
* @type {z.ZodObject}
|
|
17
24
|
*/
|
|
18
25
|
export const ListConversationsSchema = z.object({
|
|
19
26
|
agent_id: AgentIdSchema
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conversation-schemas.js","sourceRoot":"","sources":["../../src/schemas/conversation-schemas.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"conversation-schemas.js","sourceRoot":"","sources":["../../src/schemas/conversation-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,oBAAoB,EACpB,WAAW,EACX,YAAY,EACZ,eAAe,EAChB,MAAM,qBAAqB,CAAC;AAE7B;;;;;GAKG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,eAAe,EAAE,oBAAoB;IACrC,eAAe,EAAE,oBAAoB;CACtC,CAAC,CAAC,WAAW,EAAE,CAAC;AAEjB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,QAAQ,EAAE,aAAa;SACpB,QAAQ,EAAE;SACV,QAAQ,CAAC,8BAA8B,CAAC;IAE3C,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;SACnD,QAAQ,EAAE;SACV,QAAQ,CAAC,yCAAyC,CAAC;IAEtD,UAAU,EAAE,eAAe;IAE3B,KAAK,EAAE,WAAW;IAElB,MAAM,EAAE,YAAY;IAEpB,eAAe,EAAE,oBAAoB;CACtC,CAAC,CAAC,WAAW,EAAE,CAAC"}
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Zod validation schemas for outbound calling operations
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* @fileoverview Zod validation schemas for outbound calling operations
|
|
3
|
+
* @description Provides strict input validation for making single outbound calls via Twilio.
|
|
4
|
+
* Includes phone number validation, configuration overrides, and personalization data.
|
|
5
|
+
* @module schemas/outbound-schemas
|
|
5
6
|
*/
|
|
6
7
|
import { z } from "zod";
|
|
7
8
|
/**
|
|
8
|
-
* Phone number schema with E.164 format validation
|
|
9
|
+
* Phone number schema with E.164 format validation.
|
|
10
|
+
* @description Validates phone numbers conform to E.164 international format.
|
|
11
|
+
* @type {z.ZodString}
|
|
12
|
+
* @example
|
|
13
|
+
* PhoneNumberSchema.parse("+14155551234"); // Valid
|
|
9
14
|
*/
|
|
10
15
|
export declare const PhoneNumberSchema: z.ZodString;
|
|
11
16
|
/**
|
|
12
|
-
* Phone number ID schema
|
|
17
|
+
* Phone number ID validation schema.
|
|
18
|
+
* @description Validates ElevenLabs phone number identifiers.
|
|
19
|
+
* @type {z.ZodString}
|
|
13
20
|
*/
|
|
14
21
|
export declare const PhoneNumberIdSchema: z.ZodString;
|
|
15
22
|
/**
|
|
16
|
-
*
|
|
23
|
+
* Configuration overrides schema for per-call customization.
|
|
24
|
+
* @description Allows overriding agent settings for a specific call.
|
|
25
|
+
* Includes agent behavior, TTS, turn-taking, and conversation settings.
|
|
26
|
+
* @type {z.ZodOptional<z.ZodObject>}
|
|
17
27
|
*/
|
|
18
28
|
export declare const ConfigOverridesSchema: z.ZodOptional<z.ZodObject<{
|
|
19
29
|
agent: z.ZodOptional<z.ZodObject<{
|
|
@@ -87,11 +97,16 @@ export declare const ConfigOverridesSchema: z.ZodOptional<z.ZodObject<{
|
|
|
87
97
|
} | undefined;
|
|
88
98
|
}>>;
|
|
89
99
|
/**
|
|
90
|
-
* Conversation initiation data schema
|
|
100
|
+
* Conversation initiation data schema.
|
|
101
|
+
* @description Validates dynamic variables and configuration overrides for personalization.
|
|
102
|
+
* @type {z.ZodOptional<z.ZodRecord>}
|
|
91
103
|
*/
|
|
92
104
|
export declare const ConversationInitDataSchema: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
93
105
|
/**
|
|
94
|
-
* Schema for starting
|
|
106
|
+
* Schema for starting a single outbound call.
|
|
107
|
+
* @description Validates input for the elevenlabs_start_outbound_call operation.
|
|
108
|
+
* Requires agent ID, phone number ID, and destination number.
|
|
109
|
+
* @type {z.ZodObject}
|
|
95
110
|
*/
|
|
96
111
|
export declare const StartOutboundCallSchema: z.ZodObject<{
|
|
97
112
|
agent_id: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/outbound-schemas.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"outbound-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/outbound-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,aAGmC,CAAC;AAElE;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,aAGqB,CAAC;AAEtD;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgBsC,CAAC;AAEzE;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,mDAEyC,CAAC;AAEjF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;gCAapB,CAAC"}
|
|
@@ -1,26 +1,36 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Zod validation schemas for outbound calling operations
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* @fileoverview Zod validation schemas for outbound calling operations
|
|
3
|
+
* @description Provides strict input validation for making single outbound calls via Twilio.
|
|
4
|
+
* Includes phone number validation, configuration overrides, and personalization data.
|
|
5
|
+
* @module schemas/outbound-schemas
|
|
5
6
|
*/
|
|
6
7
|
import { z } from "zod";
|
|
7
8
|
import { ResponseFormatSchema, AgentIdSchema } from "./common-schemas.js";
|
|
8
9
|
/**
|
|
9
|
-
* Phone number schema with E.164 format validation
|
|
10
|
+
* Phone number schema with E.164 format validation.
|
|
11
|
+
* @description Validates phone numbers conform to E.164 international format.
|
|
12
|
+
* @type {z.ZodString}
|
|
13
|
+
* @example
|
|
14
|
+
* PhoneNumberSchema.parse("+14155551234"); // Valid
|
|
10
15
|
*/
|
|
11
16
|
export const PhoneNumberSchema = z.string()
|
|
12
17
|
.min(1, "Phone number is required")
|
|
13
18
|
.regex(/^\+?[1-9]\d{1,14}$/, "Phone number must be in E.164 format (e.g., +1234567890)")
|
|
14
19
|
.describe("Phone number in E.164 format (e.g., '+1234567890')");
|
|
15
20
|
/**
|
|
16
|
-
* Phone number ID schema
|
|
21
|
+
* Phone number ID validation schema.
|
|
22
|
+
* @description Validates ElevenLabs phone number identifiers.
|
|
23
|
+
* @type {z.ZodString}
|
|
17
24
|
*/
|
|
18
25
|
export const PhoneNumberIdSchema = z.string()
|
|
19
26
|
.min(1, "Phone number ID is required")
|
|
20
27
|
.regex(/^[a-zA-Z0-9_-]+$/, "Phone number ID must contain only alphanumeric characters, hyphens, and underscores")
|
|
21
28
|
.describe("Unique identifier for the phone number");
|
|
22
29
|
/**
|
|
23
|
-
*
|
|
30
|
+
* Configuration overrides schema for per-call customization.
|
|
31
|
+
* @description Allows overriding agent settings for a specific call.
|
|
32
|
+
* Includes agent behavior, TTS, turn-taking, and conversation settings.
|
|
33
|
+
* @type {z.ZodOptional<z.ZodObject>}
|
|
24
34
|
*/
|
|
25
35
|
export const ConfigOverridesSchema = z.object({
|
|
26
36
|
agent: z.object({
|
|
@@ -40,13 +50,18 @@ export const ConfigOverridesSchema = z.object({
|
|
|
40
50
|
}).optional()
|
|
41
51
|
}).optional().describe("Configuration overrides for this specific call");
|
|
42
52
|
/**
|
|
43
|
-
* Conversation initiation data schema
|
|
53
|
+
* Conversation initiation data schema.
|
|
54
|
+
* @description Validates dynamic variables and configuration overrides for personalization.
|
|
55
|
+
* @type {z.ZodOptional<z.ZodRecord>}
|
|
44
56
|
*/
|
|
45
57
|
export const ConversationInitDataSchema = z.record(z.any())
|
|
46
58
|
.optional()
|
|
47
59
|
.describe("Dynamic variables and configuration overrides for personalization");
|
|
48
60
|
/**
|
|
49
|
-
* Schema for starting
|
|
61
|
+
* Schema for starting a single outbound call.
|
|
62
|
+
* @description Validates input for the elevenlabs_start_outbound_call operation.
|
|
63
|
+
* Requires agent ID, phone number ID, and destination number.
|
|
64
|
+
* @type {z.ZodObject}
|
|
50
65
|
*/
|
|
51
66
|
export const StartOutboundCallSchema = z.object({
|
|
52
67
|
agent_id: AgentIdSchema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"outbound-schemas.js","sourceRoot":"","sources":["../../src/schemas/outbound-schemas.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"outbound-schemas.js","sourceRoot":"","sources":["../../src/schemas/outbound-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAE1E;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,EAAE;KACxC,GAAG,CAAC,CAAC,EAAE,0BAA0B,CAAC;KAClC,KAAK,CAAC,oBAAoB,EAAE,0DAA0D,CAAC;KACvF,QAAQ,CAAC,oDAAoD,CAAC,CAAC;AAElE;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,EAAE;KAC1C,GAAG,CAAC,CAAC,EAAE,6BAA6B,CAAC;KACrC,KAAK,CAAC,kBAAkB,EAAE,qFAAqF,CAAC;KAChH,QAAQ,CAAC,wCAAwC,CAAC,CAAC;AAEtD;;;;;GAKG;AACH,MAAM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AC,kCAAkC,CAAC;IAE/C,mCAAmC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;SACnD,QAAQ,EAAE;SACV,QAAQ,CAAC,qHAAqH,CAAC;IAElI,eAAe,EAAE,oBAAoB;CACtC,CAAC,CAAC,WAAW,EAAE,CAAC"}
|
|
@@ -1,28 +1,38 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Zod validation schemas for phone number management operations
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* @fileoverview Zod validation schemas for phone number management operations
|
|
3
|
+
* @description Provides strict input validation for listing, importing, updating,
|
|
4
|
+
* and deleting phone numbers connected to voice agents. Supports Twilio and SIP trunk providers.
|
|
5
|
+
* @module schemas/phone-number-schemas
|
|
6
6
|
*/
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
/**
|
|
9
|
-
* Phone provider
|
|
9
|
+
* Phone provider validation schema.
|
|
10
|
+
* @description Validates the phone number provider type.
|
|
11
|
+
* @type {z.ZodEnum}
|
|
10
12
|
*/
|
|
11
13
|
export declare const PhoneProviderSchema: z.ZodEnum<["twilio", "sip_trunk"]>;
|
|
12
14
|
/**
|
|
13
|
-
*
|
|
15
|
+
* ElevenLabs region ID validation schema.
|
|
16
|
+
* @description Validates geographic region identifiers.
|
|
17
|
+
* @type {z.ZodEnum}
|
|
14
18
|
*/
|
|
15
19
|
export declare const RegionIdSchema: z.ZodEnum<["us1", "ie1", "au1"]>;
|
|
16
20
|
/**
|
|
17
|
-
*
|
|
21
|
+
* Twilio edge location validation schema.
|
|
22
|
+
* @description Validates Twilio edge locations for voice routing optimization.
|
|
23
|
+
* @type {z.ZodEnum}
|
|
18
24
|
*/
|
|
19
25
|
export declare const EdgeLocationSchema: z.ZodEnum<["ashburn", "dublin", "frankfurt", "sao-paulo", "singapore", "sydney", "tokyo", "umatilla", "roaming"]>;
|
|
20
26
|
/**
|
|
21
|
-
* LiveKit stack schema
|
|
27
|
+
* LiveKit stack configuration schema.
|
|
28
|
+
* @description Validates LiveKit stack type for SIP trunk configurations.
|
|
29
|
+
* @type {z.ZodEnum}
|
|
22
30
|
*/
|
|
23
31
|
export declare const LiveKitStackSchema: z.ZodEnum<["standard", "static"]>;
|
|
24
32
|
/**
|
|
25
|
-
*
|
|
33
|
+
* Regional configuration schema for Twilio phone numbers.
|
|
34
|
+
* @description Validates region-specific settings for Twilio integration.
|
|
35
|
+
* @type {z.ZodObject}
|
|
26
36
|
*/
|
|
27
37
|
export declare const RegionConfigSchema: z.ZodObject<{
|
|
28
38
|
region_id: z.ZodEnum<["us1", "ie1", "au1"]>;
|
|
@@ -38,7 +48,9 @@ export declare const RegionConfigSchema: z.ZodObject<{
|
|
|
38
48
|
edge_location: "ashburn" | "dublin" | "frankfurt" | "sao-paulo" | "singapore" | "sydney" | "tokyo" | "umatilla" | "roaming";
|
|
39
49
|
}>;
|
|
40
50
|
/**
|
|
41
|
-
* Schema for listing phone numbers
|
|
51
|
+
* Schema for listing phone numbers in a workspace.
|
|
52
|
+
* @description Validates input for the elevenlabs_list_phone_numbers operation.
|
|
53
|
+
* @type {z.ZodObject}
|
|
42
54
|
*/
|
|
43
55
|
export declare const ListPhoneNumbersSchema: z.ZodObject<{
|
|
44
56
|
response_format: z.ZodDefault<z.ZodNativeEnum<typeof import("../types.js").ResponseFormat>>;
|
|
@@ -48,7 +60,9 @@ export declare const ListPhoneNumbersSchema: z.ZodObject<{
|
|
|
48
60
|
response_format: z.ZodDefault<z.ZodNativeEnum<typeof import("../types.js").ResponseFormat>>;
|
|
49
61
|
}, z.ZodTypeAny, "passthrough">>;
|
|
50
62
|
/**
|
|
51
|
-
* Schema for getting a phone number
|
|
63
|
+
* Schema for getting a specific phone number's details.
|
|
64
|
+
* @description Validates input for the elevenlabs_get_phone_number operation.
|
|
65
|
+
* @type {z.ZodObject}
|
|
52
66
|
*/
|
|
53
67
|
export declare const GetPhoneNumberSchema: z.ZodObject<{
|
|
54
68
|
phone_number_id: z.ZodString;
|
|
@@ -61,7 +75,10 @@ export declare const GetPhoneNumberSchema: z.ZodObject<{
|
|
|
61
75
|
response_format: z.ZodDefault<z.ZodNativeEnum<typeof import("../types.js").ResponseFormat>>;
|
|
62
76
|
}, z.ZodTypeAny, "passthrough">>;
|
|
63
77
|
/**
|
|
64
|
-
* Schema for importing a Twilio phone number
|
|
78
|
+
* Schema for importing a Twilio phone number.
|
|
79
|
+
* @description Validates input for the elevenlabs_import_phone_number operation.
|
|
80
|
+
* Requires Twilio credentials and phone number details.
|
|
81
|
+
* @type {z.ZodObject}
|
|
65
82
|
*/
|
|
66
83
|
export declare const ImportPhoneNumberSchema: z.ZodObject<{
|
|
67
84
|
phone_number: z.ZodString;
|
|
@@ -131,7 +148,10 @@ export declare const ImportPhoneNumberSchema: z.ZodObject<{
|
|
|
131
148
|
response_format: z.ZodDefault<z.ZodNativeEnum<typeof import("../types.js").ResponseFormat>>;
|
|
132
149
|
}, z.ZodTypeAny, "passthrough">>;
|
|
133
150
|
/**
|
|
134
|
-
* Schema for updating a phone number
|
|
151
|
+
* Schema for updating a phone number's configuration.
|
|
152
|
+
* @description Validates input for the elevenlabs_update_phone_number operation.
|
|
153
|
+
* Primarily used for assigning/unassigning agents.
|
|
154
|
+
* @type {z.ZodObject}
|
|
135
155
|
*/
|
|
136
156
|
export declare const UpdatePhoneNumberSchema: z.ZodObject<{
|
|
137
157
|
phone_number_id: z.ZodString;
|
|
@@ -156,7 +176,10 @@ export declare const UpdatePhoneNumberSchema: z.ZodObject<{
|
|
|
156
176
|
response_format: z.ZodDefault<z.ZodNativeEnum<typeof import("../types.js").ResponseFormat>>;
|
|
157
177
|
}, z.ZodTypeAny, "passthrough">>;
|
|
158
178
|
/**
|
|
159
|
-
* Schema for deleting a phone number
|
|
179
|
+
* Schema for deleting a phone number from the workspace.
|
|
180
|
+
* @description Validates input for the elevenlabs_delete_phone_number operation.
|
|
181
|
+
* This is a destructive operation that cannot be undone.
|
|
182
|
+
* @type {z.ZodObject}
|
|
160
183
|
*/
|
|
161
184
|
export declare const DeletePhoneNumberSchema: z.ZodObject<{
|
|
162
185
|
phone_number_id: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-number-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/phone-number-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB
|
|
1
|
+
{"version":3,"file":"phone-number-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/phone-number-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,oCAEI,CAAC;AAErC;;;;GAIG;AACH,eAAO,MAAM,cAAc,kCAEgB,CAAC;AAE5C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,mHAKI,CAAC;AAEpC;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,mCAEW,CAAC;AAE3C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;EAI+B,CAAC;AAE/D;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;gCAEnB,CAAC;AAEjB;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;gCAIjB,CAAC;AAEjB;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAiCpB,CAAC;AAEjB;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;gCAwBpB,CAAC;AAEjB;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;gCAEpB,CAAC"}
|
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Zod validation schemas for phone number management operations
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
2
|
+
* @fileoverview Zod validation schemas for phone number management operations
|
|
3
|
+
* @description Provides strict input validation for listing, importing, updating,
|
|
4
|
+
* and deleting phone numbers connected to voice agents. Supports Twilio and SIP trunk providers.
|
|
5
|
+
* @module schemas/phone-number-schemas
|
|
6
6
|
*/
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { ResponseFormatSchema, AgentIdSchema } from "./common-schemas.js";
|
|
9
9
|
import { PhoneNumberSchema, PhoneNumberIdSchema } from "./outbound-schemas.js";
|
|
10
10
|
/**
|
|
11
|
-
* Phone provider
|
|
11
|
+
* Phone provider validation schema.
|
|
12
|
+
* @description Validates the phone number provider type.
|
|
13
|
+
* @type {z.ZodEnum}
|
|
12
14
|
*/
|
|
13
15
|
export const PhoneProviderSchema = z.enum(["twilio", "sip_trunk"], {
|
|
14
16
|
errorMap: () => ({ message: "Provider must be 'twilio' or 'sip_trunk'" })
|
|
15
17
|
}).describe("Phone number provider");
|
|
16
18
|
/**
|
|
17
|
-
*
|
|
19
|
+
* ElevenLabs region ID validation schema.
|
|
20
|
+
* @description Validates geographic region identifiers.
|
|
21
|
+
* @type {z.ZodEnum}
|
|
18
22
|
*/
|
|
19
23
|
export const RegionIdSchema = z.enum(["us1", "ie1", "au1"], {
|
|
20
24
|
errorMap: () => ({ message: "Region must be 'us1', 'ie1', or 'au1'" })
|
|
21
25
|
}).describe("ElevenLabs region identifier");
|
|
22
26
|
/**
|
|
23
|
-
*
|
|
27
|
+
* Twilio edge location validation schema.
|
|
28
|
+
* @description Validates Twilio edge locations for voice routing optimization.
|
|
29
|
+
* @type {z.ZodEnum}
|
|
24
30
|
*/
|
|
25
31
|
export const EdgeLocationSchema = z.enum([
|
|
26
32
|
"ashburn", "dublin", "frankfurt", "sao-paulo",
|
|
@@ -29,13 +35,17 @@ export const EdgeLocationSchema = z.enum([
|
|
|
29
35
|
errorMap: () => ({ message: "Invalid edge location" })
|
|
30
36
|
}).describe("Twilio edge location");
|
|
31
37
|
/**
|
|
32
|
-
* LiveKit stack schema
|
|
38
|
+
* LiveKit stack configuration schema.
|
|
39
|
+
* @description Validates LiveKit stack type for SIP trunk configurations.
|
|
40
|
+
* @type {z.ZodEnum}
|
|
33
41
|
*/
|
|
34
42
|
export const LiveKitStackSchema = z.enum(["standard", "static"], {
|
|
35
43
|
errorMap: () => ({ message: "LiveKit stack must be 'standard' or 'static'" })
|
|
36
44
|
}).describe("LiveKit stack configuration");
|
|
37
45
|
/**
|
|
38
|
-
*
|
|
46
|
+
* Regional configuration schema for Twilio phone numbers.
|
|
47
|
+
* @description Validates region-specific settings for Twilio integration.
|
|
48
|
+
* @type {z.ZodObject}
|
|
39
49
|
*/
|
|
40
50
|
export const RegionConfigSchema = z.object({
|
|
41
51
|
region_id: RegionIdSchema,
|
|
@@ -43,20 +53,27 @@ export const RegionConfigSchema = z.object({
|
|
|
43
53
|
edge_location: EdgeLocationSchema
|
|
44
54
|
}).describe("Regional configuration for Twilio phone numbers");
|
|
45
55
|
/**
|
|
46
|
-
* Schema for listing phone numbers
|
|
56
|
+
* Schema for listing phone numbers in a workspace.
|
|
57
|
+
* @description Validates input for the elevenlabs_list_phone_numbers operation.
|
|
58
|
+
* @type {z.ZodObject}
|
|
47
59
|
*/
|
|
48
60
|
export const ListPhoneNumbersSchema = z.object({
|
|
49
61
|
response_format: ResponseFormatSchema
|
|
50
62
|
}).passthrough();
|
|
51
63
|
/**
|
|
52
|
-
* Schema for getting a phone number
|
|
64
|
+
* Schema for getting a specific phone number's details.
|
|
65
|
+
* @description Validates input for the elevenlabs_get_phone_number operation.
|
|
66
|
+
* @type {z.ZodObject}
|
|
53
67
|
*/
|
|
54
68
|
export const GetPhoneNumberSchema = z.object({
|
|
55
69
|
phone_number_id: PhoneNumberIdSchema,
|
|
56
70
|
response_format: ResponseFormatSchema
|
|
57
71
|
}).passthrough();
|
|
58
72
|
/**
|
|
59
|
-
* Schema for importing a Twilio phone number
|
|
73
|
+
* Schema for importing a Twilio phone number.
|
|
74
|
+
* @description Validates input for the elevenlabs_import_phone_number operation.
|
|
75
|
+
* Requires Twilio credentials and phone number details.
|
|
76
|
+
* @type {z.ZodObject}
|
|
60
77
|
*/
|
|
61
78
|
export const ImportPhoneNumberSchema = z.object({
|
|
62
79
|
phone_number: PhoneNumberSchema
|
|
@@ -85,7 +102,10 @@ export const ImportPhoneNumberSchema = z.object({
|
|
|
85
102
|
response_format: ResponseFormatSchema
|
|
86
103
|
}).passthrough();
|
|
87
104
|
/**
|
|
88
|
-
* Schema for updating a phone number
|
|
105
|
+
* Schema for updating a phone number's configuration.
|
|
106
|
+
* @description Validates input for the elevenlabs_update_phone_number operation.
|
|
107
|
+
* Primarily used for assigning/unassigning agents.
|
|
108
|
+
* @type {z.ZodObject}
|
|
89
109
|
*/
|
|
90
110
|
export const UpdatePhoneNumberSchema = z.object({
|
|
91
111
|
phone_number_id: PhoneNumberIdSchema,
|
|
@@ -108,7 +128,10 @@ export const UpdatePhoneNumberSchema = z.object({
|
|
|
108
128
|
response_format: ResponseFormatSchema
|
|
109
129
|
}).passthrough();
|
|
110
130
|
/**
|
|
111
|
-
* Schema for deleting a phone number
|
|
131
|
+
* Schema for deleting a phone number from the workspace.
|
|
132
|
+
* @description Validates input for the elevenlabs_delete_phone_number operation.
|
|
133
|
+
* This is a destructive operation that cannot be undone.
|
|
134
|
+
* @type {z.ZodObject}
|
|
112
135
|
*/
|
|
113
136
|
export const DeletePhoneNumberSchema = z.object({
|
|
114
137
|
phone_number_id: PhoneNumberIdSchema
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-number-schemas.js","sourceRoot":"","sources":["../../src/schemas/phone-number-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC1E,OAAO,EAA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KG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,eAAe,EAAE,mBAAmB;CACrC,CAAC,CAAC,WAAW,EAAE,CAAC"}
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Zod validation schemas for tool and knowledge base operations
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* @fileoverview Zod validation schemas for tool and knowledge base operations
|
|
3
|
+
* @description Provides strict input validation for managing agent tools and knowledge bases.
|
|
4
|
+
* Includes schemas for webhook tools, knowledge base documents, widget generation, and voices.
|
|
5
|
+
* @module schemas/tool-schemas
|
|
5
6
|
*/
|
|
6
7
|
import { z } from "zod";
|
|
7
8
|
/**
|
|
8
|
-
* Schema for creating a webhook tool
|
|
9
|
+
* Schema for creating a webhook tool.
|
|
10
|
+
* @description Validates input for the elevenlabs_create_webhook_tool operation.
|
|
11
|
+
* Defines webhook URL, HTTP method, parameters, and optional headers.
|
|
12
|
+
* @type {z.ZodObject}
|
|
9
13
|
*/
|
|
10
14
|
export declare const CreateWebhookToolSchema: z.ZodObject<{
|
|
11
15
|
agent_id: z.ZodString;
|
|
@@ -90,7 +94,9 @@ export declare const CreateWebhookToolSchema: z.ZodObject<{
|
|
|
90
94
|
response_format: z.ZodDefault<z.ZodNativeEnum<typeof import("../types.js").ResponseFormat>>;
|
|
91
95
|
}, z.ZodTypeAny, "passthrough">>;
|
|
92
96
|
/**
|
|
93
|
-
* Schema for listing tools
|
|
97
|
+
* Schema for listing agent tools.
|
|
98
|
+
* @description Validates input for the elevenlabs_list_tools operation.
|
|
99
|
+
* @type {z.ZodObject}
|
|
94
100
|
*/
|
|
95
101
|
export declare const ListToolsSchema: z.ZodObject<{
|
|
96
102
|
agent_id: z.ZodString;
|
|
@@ -103,7 +109,10 @@ export declare const ListToolsSchema: z.ZodObject<{
|
|
|
103
109
|
response_format: z.ZodDefault<z.ZodNativeEnum<typeof import("../types.js").ResponseFormat>>;
|
|
104
110
|
}, z.ZodTypeAny, "passthrough">>;
|
|
105
111
|
/**
|
|
106
|
-
* Schema for deleting a tool
|
|
112
|
+
* Schema for deleting a tool from an agent.
|
|
113
|
+
* @description Validates input for the elevenlabs_delete_tool operation.
|
|
114
|
+
* This is a destructive operation that cannot be undone.
|
|
115
|
+
* @type {z.ZodObject}
|
|
107
116
|
*/
|
|
108
117
|
export declare const DeleteToolSchema: z.ZodObject<{
|
|
109
118
|
agent_id: z.ZodString;
|
|
@@ -116,7 +125,10 @@ export declare const DeleteToolSchema: z.ZodObject<{
|
|
|
116
125
|
tool_name: z.ZodString;
|
|
117
126
|
}, z.ZodTypeAny, "passthrough">>;
|
|
118
127
|
/**
|
|
119
|
-
* Schema for adding knowledge base
|
|
128
|
+
* Schema for adding documents to an agent's knowledge base.
|
|
129
|
+
* @description Validates input for the elevenlabs_add_knowledge_base operation.
|
|
130
|
+
* Supports adding 1-100 documents at once.
|
|
131
|
+
* @type {z.ZodObject}
|
|
120
132
|
*/
|
|
121
133
|
export declare const AddKnowledgeBaseSchema: z.ZodObject<{
|
|
122
134
|
agent_id: z.ZodString;
|
|
@@ -168,7 +180,10 @@ export declare const AddKnowledgeBaseSchema: z.ZodObject<{
|
|
|
168
180
|
response_format: z.ZodDefault<z.ZodNativeEnum<typeof import("../types.js").ResponseFormat>>;
|
|
169
181
|
}, z.ZodTypeAny, "passthrough">>;
|
|
170
182
|
/**
|
|
171
|
-
* Schema for generating widget code
|
|
183
|
+
* Schema for generating widget embed code.
|
|
184
|
+
* @description Validates input for the elevenlabs_generate_widget_code operation.
|
|
185
|
+
* Optional customization via color and avatar URL.
|
|
186
|
+
* @type {z.ZodObject}
|
|
172
187
|
*/
|
|
173
188
|
export declare const GenerateWidgetCodeSchema: z.ZodObject<{
|
|
174
189
|
agent_id: z.ZodString;
|
|
@@ -184,7 +199,10 @@ export declare const GenerateWidgetCodeSchema: z.ZodObject<{
|
|
|
184
199
|
avatar_url: z.ZodOptional<z.ZodString>;
|
|
185
200
|
}, z.ZodTypeAny, "passthrough">>;
|
|
186
201
|
/**
|
|
187
|
-
* Schema for listing voices
|
|
202
|
+
* Schema for listing available voices.
|
|
203
|
+
* @description Validates input for the elevenlabs_list_voices operation.
|
|
204
|
+
* Supports filtering by language, gender, and age category.
|
|
205
|
+
* @type {z.ZodObject}
|
|
188
206
|
*/
|
|
189
207
|
export declare const ListVoicesSchema: z.ZodObject<{
|
|
190
208
|
language: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/tool-schemas.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"tool-schemas.d.ts","sourceRoot":"","sources":["../../src/schemas/tool-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6BxB;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAgCpB,CAAC;AAEjB;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;gCAGZ,CAAC;AAEjB;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;gCAMb,CAAC;AAsBjB;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCASnB,CAAC;AAEjB;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;gCAWrB,CAAC;AAEjB;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;gCAqBb,CAAC"}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Zod validation schemas for tool and knowledge base operations
|
|
3
|
-
*
|
|
4
|
-
*
|
|
2
|
+
* @fileoverview Zod validation schemas for tool and knowledge base operations
|
|
3
|
+
* @description Provides strict input validation for managing agent tools and knowledge bases.
|
|
4
|
+
* Includes schemas for webhook tools, knowledge base documents, widget generation, and voices.
|
|
5
|
+
* @module schemas/tool-schemas
|
|
5
6
|
*/
|
|
6
7
|
import { z } from "zod";
|
|
7
8
|
import { AgentIdSchema, ResponseFormatSchema, URLSchema } from "./common-schemas.js";
|
|
8
9
|
/**
|
|
9
|
-
* Tool parameter schema
|
|
10
|
+
* Tool parameter definition schema.
|
|
11
|
+
* @description Validates the structure of a single parameter for a webhook tool.
|
|
12
|
+
* @type {z.ZodObject}
|
|
10
13
|
*/
|
|
11
14
|
const ToolParameterSchema = z.object({
|
|
12
15
|
name: z.string()
|
|
@@ -25,7 +28,10 @@ const ToolParameterSchema = z.object({
|
|
|
25
28
|
.describe("Optional array of allowed values for this parameter")
|
|
26
29
|
}).passthrough();
|
|
27
30
|
/**
|
|
28
|
-
* Schema for creating a webhook tool
|
|
31
|
+
* Schema for creating a webhook tool.
|
|
32
|
+
* @description Validates input for the elevenlabs_create_webhook_tool operation.
|
|
33
|
+
* Defines webhook URL, HTTP method, parameters, and optional headers.
|
|
34
|
+
* @type {z.ZodObject}
|
|
29
35
|
*/
|
|
30
36
|
export const CreateWebhookToolSchema = z.object({
|
|
31
37
|
agent_id: AgentIdSchema,
|
|
@@ -54,14 +60,19 @@ export const CreateWebhookToolSchema = z.object({
|
|
|
54
60
|
response_format: ResponseFormatSchema
|
|
55
61
|
}).passthrough();
|
|
56
62
|
/**
|
|
57
|
-
* Schema for listing tools
|
|
63
|
+
* Schema for listing agent tools.
|
|
64
|
+
* @description Validates input for the elevenlabs_list_tools operation.
|
|
65
|
+
* @type {z.ZodObject}
|
|
58
66
|
*/
|
|
59
67
|
export const ListToolsSchema = z.object({
|
|
60
68
|
agent_id: AgentIdSchema,
|
|
61
69
|
response_format: ResponseFormatSchema
|
|
62
70
|
}).passthrough();
|
|
63
71
|
/**
|
|
64
|
-
* Schema for deleting a tool
|
|
72
|
+
* Schema for deleting a tool from an agent.
|
|
73
|
+
* @description Validates input for the elevenlabs_delete_tool operation.
|
|
74
|
+
* This is a destructive operation that cannot be undone.
|
|
75
|
+
* @type {z.ZodObject}
|
|
65
76
|
*/
|
|
66
77
|
export const DeleteToolSchema = z.object({
|
|
67
78
|
agent_id: AgentIdSchema,
|
|
@@ -70,7 +81,10 @@ export const DeleteToolSchema = z.object({
|
|
|
70
81
|
.describe("Name of the tool to delete")
|
|
71
82
|
}).passthrough();
|
|
72
83
|
/**
|
|
73
|
-
* Knowledge base document schema
|
|
84
|
+
* Knowledge base document schema.
|
|
85
|
+
* @description Validates a single document to add to an agent's knowledge base.
|
|
86
|
+
* Supports text content or URL references.
|
|
87
|
+
* @type {z.ZodObject}
|
|
74
88
|
*/
|
|
75
89
|
const KnowledgeBaseDocumentSchema = z.object({
|
|
76
90
|
type: z.enum(["text", "url"], {
|
|
@@ -84,7 +98,10 @@ const KnowledgeBaseDocumentSchema = z.object({
|
|
|
84
98
|
.describe("Optional metadata about the document")
|
|
85
99
|
}).passthrough();
|
|
86
100
|
/**
|
|
87
|
-
* Schema for adding knowledge base
|
|
101
|
+
* Schema for adding documents to an agent's knowledge base.
|
|
102
|
+
* @description Validates input for the elevenlabs_add_knowledge_base operation.
|
|
103
|
+
* Supports adding 1-100 documents at once.
|
|
104
|
+
* @type {z.ZodObject}
|
|
88
105
|
*/
|
|
89
106
|
export const AddKnowledgeBaseSchema = z.object({
|
|
90
107
|
agent_id: AgentIdSchema,
|
|
@@ -95,7 +112,10 @@ export const AddKnowledgeBaseSchema = z.object({
|
|
|
95
112
|
response_format: ResponseFormatSchema
|
|
96
113
|
}).passthrough();
|
|
97
114
|
/**
|
|
98
|
-
* Schema for generating widget code
|
|
115
|
+
* Schema for generating widget embed code.
|
|
116
|
+
* @description Validates input for the elevenlabs_generate_widget_code operation.
|
|
117
|
+
* Optional customization via color and avatar URL.
|
|
118
|
+
* @type {z.ZodObject}
|
|
99
119
|
*/
|
|
100
120
|
export const GenerateWidgetCodeSchema = z.object({
|
|
101
121
|
agent_id: AgentIdSchema,
|
|
@@ -108,7 +128,10 @@ export const GenerateWidgetCodeSchema = z.object({
|
|
|
108
128
|
.describe("Optional avatar image URL for the widget")
|
|
109
129
|
}).passthrough();
|
|
110
130
|
/**
|
|
111
|
-
* Schema for listing voices
|
|
131
|
+
* Schema for listing available voices.
|
|
132
|
+
* @description Validates input for the elevenlabs_list_voices operation.
|
|
133
|
+
* Supports filtering by language, gender, and age category.
|
|
134
|
+
* @type {z.ZodObject}
|
|
112
135
|
*/
|
|
113
136
|
export const ListVoicesSchema = z.object({
|
|
114
137
|
language: z.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-schemas.js","sourceRoot":"","sources":["../../src/schemas/tool-schemas.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"tool-schemas.js","sourceRoot":"","sources":["../../src/schemas/tool-schemas.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErF;;;;GAIG;AACH,MAAM,mBAAmB,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;SACb,GAAG,CAAC,CAAC,EAAE,4BAA4B,CAAC;SACpC,QAAQ,CAAC,uBAAuB,CAAC;IAEpC,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAE;QAC/D,QAAQ,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,OAAO,EAAE,yDAAyD,EAAE,CAAC;KACzF,CAAC,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IAEzC,WAAW,E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