@avallon-labs/mcp 22.1.0 → 22.2.0-staging.492

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/index.js CHANGED
@@ -54,5 +54,5 @@ function setupFetch() {
54
54
 
55
55
  // src/index.ts
56
56
  setupFetch();
57
- await import("./server-NZWPNUSW.js");
57
+ await import("./server-F3KZDFMD.js");
58
58
  //# sourceMappingURL=index.js.map
@@ -3092,6 +3092,8 @@ import { z as zod } from "zod";
3092
3092
  var ListVoiceAgentsQueryParams = zod.object({
3093
3093
  agent_name: zod.string().optional().describe("Filter by exact agent name")
3094
3094
  });
3095
+ var listVoiceAgentsResponseAgentsItemInactivityTimeoutSecondsOneMin = -9007199254740991;
3096
+ var listVoiceAgentsResponseAgentsItemInactivityTimeoutSecondsOneMax = 9007199254740991;
3095
3097
  var listVoiceAgentsResponseTotalMin = -9007199254740991;
3096
3098
  var listVoiceAgentsResponseTotalMax = 9007199254740991;
3097
3099
  var ListVoiceAgentsResponse = zod.object({
@@ -3189,11 +3191,21 @@ var ListVoiceAgentsResponse = zod.object({
3189
3191
  "ELEVENLABS-SCRIBE-V2-REALTIME"
3190
3192
  ]),
3191
3193
  zod.null()
3192
- ])
3194
+ ]),
3195
+ inactivity_timeout_seconds: zod.union([
3196
+ zod.number().min(
3197
+ listVoiceAgentsResponseAgentsItemInactivityTimeoutSecondsOneMin
3198
+ ).max(
3199
+ listVoiceAgentsResponseAgentsItemInactivityTimeoutSecondsOneMax
3200
+ ),
3201
+ zod.null()
3202
+ ]).describe("Inactivity timeout in seconds. null disables the feature.")
3193
3203
  })
3194
3204
  ),
3195
3205
  total: zod.number().min(listVoiceAgentsResponseTotalMin).max(listVoiceAgentsResponseTotalMax).describe("Total number of agents")
3196
3206
  });
3207
+ var createVoiceAgentBodyInactivityTimeoutSecondsOneMin = 5;
3208
+ var createVoiceAgentBodyInactivityTimeoutSecondsOneMax = 9007199254740991;
3197
3209
  var CreateVoiceAgentBody = zod.object({
3198
3210
  agent_name: zod.string().min(1).describe("Name for the agent"),
3199
3211
  direction: zod.enum(["OUTBOUND", "INBOUND"]).describe("Call direction the agent handles"),
@@ -3252,11 +3264,19 @@ var CreateVoiceAgentBody = zod.object({
3252
3264
  dial_pad: zod.boolean().optional().describe("Whether the agent supports DTMF dial pad input"),
3253
3265
  end_call: zod.boolean().optional().describe("Whether the agent can end the call"),
3254
3266
  call_processor_id: zod.union([zod.string(), zod.null()]).optional().describe("ID of extractor or worker to run after call"),
3255
- call_processor_type: zod.enum(["extractor", "worker"]).optional().describe("Type of processor: extractor or worker")
3267
+ call_processor_type: zod.enum(["extractor", "worker"]).optional().describe("Type of processor: extractor or worker"),
3268
+ inactivity_timeout_seconds: zod.union([
3269
+ zod.number().min(createVoiceAgentBodyInactivityTimeoutSecondsOneMin).max(createVoiceAgentBodyInactivityTimeoutSecondsOneMax),
3270
+ zod.null()
3271
+ ]).optional().describe(
3272
+ "Inactivity timeout in seconds. null disables the feature. Minimum 5. Defaults to 7 if omitted."
3273
+ )
3256
3274
  });
3257
3275
  var GetVoiceAgentParams = zod.object({
3258
3276
  voiceAgentId: zod.string().uuid().describe("Voice Agent ID")
3259
3277
  });
3278
+ var getVoiceAgentResponseAgentInactivityTimeoutSecondsOneMin = -9007199254740991;
3279
+ var getVoiceAgentResponseAgentInactivityTimeoutSecondsOneMax = 9007199254740991;
3260
3280
  var GetVoiceAgentResponse = zod.object({
3261
3281
  agent: zod.object({
3262
3282
  id: zod.string(),
@@ -3351,17 +3371,31 @@ var GetVoiceAgentResponse = zod.object({
3351
3371
  "ELEVENLABS-SCRIBE-V2-REALTIME"
3352
3372
  ]),
3353
3373
  zod.null()
3354
- ])
3374
+ ]),
3375
+ inactivity_timeout_seconds: zod.union([
3376
+ zod.number().min(getVoiceAgentResponseAgentInactivityTimeoutSecondsOneMin).max(getVoiceAgentResponseAgentInactivityTimeoutSecondsOneMax),
3377
+ zod.null()
3378
+ ]).describe("Inactivity timeout in seconds. null disables the feature.")
3355
3379
  })
3356
3380
  });
3357
3381
  var UpdateVoiceAgentParams = zod.object({
3358
3382
  voiceAgentId: zod.string().uuid()
3359
3383
  });
3384
+ var updateVoiceAgentBodyInactivityTimeoutSecondsOneMin = 5;
3385
+ var updateVoiceAgentBodyInactivityTimeoutSecondsOneMax = 9007199254740991;
3360
3386
  var UpdateVoiceAgentBody = zod.object({
3361
3387
  name: zod.string().min(1).optional(),
3362
3388
  call_processor_id: zod.union([zod.string().uuid(), zod.null()]).optional(),
3363
- call_processor_type: zod.enum(["extractor", "worker"]).optional()
3389
+ call_processor_type: zod.enum(["extractor", "worker"]).optional(),
3390
+ inactivity_timeout_seconds: zod.union([
3391
+ zod.number().min(updateVoiceAgentBodyInactivityTimeoutSecondsOneMin).max(updateVoiceAgentBodyInactivityTimeoutSecondsOneMax),
3392
+ zod.null()
3393
+ ]).optional().describe(
3394
+ "Inactivity timeout in seconds. null disables the feature. Minimum 5. Omit to leave unchanged."
3395
+ )
3364
3396
  });
3397
+ var updateVoiceAgentResponseAgentInactivityTimeoutSecondsOneMin = -9007199254740991;
3398
+ var updateVoiceAgentResponseAgentInactivityTimeoutSecondsOneMax = 9007199254740991;
3365
3399
  var UpdateVoiceAgentResponse = zod.object({
3366
3400
  agent: zod.object({
3367
3401
  id: zod.string(),
@@ -3456,7 +3490,11 @@ var UpdateVoiceAgentResponse = zod.object({
3456
3490
  "ELEVENLABS-SCRIBE-V2-REALTIME"
3457
3491
  ]),
3458
3492
  zod.null()
3459
- ])
3493
+ ]),
3494
+ inactivity_timeout_seconds: zod.union([
3495
+ zod.number().min(updateVoiceAgentResponseAgentInactivityTimeoutSecondsOneMin).max(updateVoiceAgentResponseAgentInactivityTimeoutSecondsOneMax),
3496
+ zod.null()
3497
+ ]).describe("Inactivity timeout in seconds. null disables the feature.")
3460
3498
  })
3461
3499
  });
3462
3500
  var AddToolsToVoiceAgentParams = zod.object({
@@ -3465,6 +3503,8 @@ var AddToolsToVoiceAgentParams = zod.object({
3465
3503
  var AddToolsToVoiceAgentBody = zod.object({
3466
3504
  tool_ids: zod.array(zod.string().uuid())
3467
3505
  });
3506
+ var addToolsToVoiceAgentResponseAgentInactivityTimeoutSecondsOneMin = -9007199254740991;
3507
+ var addToolsToVoiceAgentResponseAgentInactivityTimeoutSecondsOneMax = 9007199254740991;
3468
3508
  var AddToolsToVoiceAgentResponse = zod.object({
3469
3509
  agent: zod.object({
3470
3510
  id: zod.string(),
@@ -3559,7 +3599,11 @@ var AddToolsToVoiceAgentResponse = zod.object({
3559
3599
  "ELEVENLABS-SCRIBE-V2-REALTIME"
3560
3600
  ]),
3561
3601
  zod.null()
3562
- ])
3602
+ ]),
3603
+ inactivity_timeout_seconds: zod.union([
3604
+ zod.number().min(addToolsToVoiceAgentResponseAgentInactivityTimeoutSecondsOneMin).max(addToolsToVoiceAgentResponseAgentInactivityTimeoutSecondsOneMax),
3605
+ zod.null()
3606
+ ]).describe("Inactivity timeout in seconds. null disables the feature.")
3563
3607
  })
3564
3608
  });
3565
3609
  var DeleteToolsFromVoiceAgentParams = zod.object({
@@ -3568,6 +3612,8 @@ var DeleteToolsFromVoiceAgentParams = zod.object({
3568
3612
  var DeleteToolsFromVoiceAgentBody = zod.object({
3569
3613
  tool_ids: zod.array(zod.string().uuid())
3570
3614
  });
3615
+ var deleteToolsFromVoiceAgentResponseAgentInactivityTimeoutSecondsOneMin = -9007199254740991;
3616
+ var deleteToolsFromVoiceAgentResponseAgentInactivityTimeoutSecondsOneMax = 9007199254740991;
3571
3617
  var DeleteToolsFromVoiceAgentResponse = zod.object({
3572
3618
  agent: zod.object({
3573
3619
  id: zod.string(),
@@ -3662,7 +3708,15 @@ var DeleteToolsFromVoiceAgentResponse = zod.object({
3662
3708
  "ELEVENLABS-SCRIBE-V2-REALTIME"
3663
3709
  ]),
3664
3710
  zod.null()
3665
- ])
3711
+ ]),
3712
+ inactivity_timeout_seconds: zod.union([
3713
+ zod.number().min(
3714
+ deleteToolsFromVoiceAgentResponseAgentInactivityTimeoutSecondsOneMin
3715
+ ).max(
3716
+ deleteToolsFromVoiceAgentResponseAgentInactivityTimeoutSecondsOneMax
3717
+ ),
3718
+ zod.null()
3719
+ ]).describe("Inactivity timeout in seconds. null disables the feature.")
3666
3720
  })
3667
3721
  });
3668
3722
  var GetVoiceAgentPlaceholdersParams = zod.object({
@@ -3790,6 +3844,8 @@ var UpdateVoiceAgentModelsBody = zod.object({
3790
3844
  zod.null()
3791
3845
  ]).optional()
3792
3846
  });
3847
+ var updateVoiceAgentModelsResponseAgentInactivityTimeoutSecondsOneMin = -9007199254740991;
3848
+ var updateVoiceAgentModelsResponseAgentInactivityTimeoutSecondsOneMax = 9007199254740991;
3793
3849
  var UpdateVoiceAgentModelsResponse = zod.object({
3794
3850
  agent: zod.object({
3795
3851
  id: zod.string(),
@@ -3884,7 +3940,15 @@ var UpdateVoiceAgentModelsResponse = zod.object({
3884
3940
  "ELEVENLABS-SCRIBE-V2-REALTIME"
3885
3941
  ]),
3886
3942
  zod.null()
3887
- ])
3943
+ ]),
3944
+ inactivity_timeout_seconds: zod.union([
3945
+ zod.number().min(
3946
+ updateVoiceAgentModelsResponseAgentInactivityTimeoutSecondsOneMin
3947
+ ).max(
3948
+ updateVoiceAgentModelsResponseAgentInactivityTimeoutSecondsOneMax
3949
+ ),
3950
+ zod.null()
3951
+ ]).describe("Inactivity timeout in seconds. null disables the feature.")
3888
3952
  })
3889
3953
  });
3890
3954
  var UpdateCallControlsParams = zod.object({
@@ -3895,6 +3959,8 @@ var UpdateCallControlsBody = zod.object({
3895
3959
  end_call: zod.boolean().optional(),
3896
3960
  transfer_phone_number: zod.union([zod.string(), zod.null()]).optional()
3897
3961
  });
3962
+ var updateCallControlsResponseAgentInactivityTimeoutSecondsOneMin = -9007199254740991;
3963
+ var updateCallControlsResponseAgentInactivityTimeoutSecondsOneMax = 9007199254740991;
3898
3964
  var UpdateCallControlsResponse = zod.object({
3899
3965
  agent: zod.object({
3900
3966
  id: zod.string(),
@@ -3989,7 +4055,11 @@ var UpdateCallControlsResponse = zod.object({
3989
4055
  "ELEVENLABS-SCRIBE-V2-REALTIME"
3990
4056
  ]),
3991
4057
  zod.null()
3992
- ])
4058
+ ]),
4059
+ inactivity_timeout_seconds: zod.union([
4060
+ zod.number().min(updateCallControlsResponseAgentInactivityTimeoutSecondsOneMin).max(updateCallControlsResponseAgentInactivityTimeoutSecondsOneMax),
4061
+ zod.null()
4062
+ ]).describe("Inactivity timeout in seconds. null disables the feature.")
3993
4063
  })
3994
4064
  });
3995
4065
  var ScheduleJobParams = zod.object({
@@ -6610,4 +6680,4 @@ var transport = new StdioServerTransport();
6610
6680
  server.connect(transport).then(() => {
6611
6681
  console.error("MCP server running on stdio");
6612
6682
  }).catch(console.error);
6613
- //# sourceMappingURL=server-NZWPNUSW.js.map
6683
+ //# sourceMappingURL=server-F3KZDFMD.js.map