syllable-sdk 1.0.71 → 1.0.72-rc.2

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/bin/mcp-server.js CHANGED
@@ -71354,9 +71354,9 @@ var init_config = __esm(() => {
71354
71354
  SDK_METADATA = {
71355
71355
  language: "typescript",
71356
71356
  openapiDocVersion: "0.0.3",
71357
- sdkVersion: "1.0.71",
71357
+ sdkVersion: "1.0.72-rc.2",
71358
71358
  genVersion: "2.950.2",
71359
- userAgent: "speakeasy-sdk/typescript 1.0.71 2.950.2 0.0.3 syllable-sdk"
71359
+ userAgent: "speakeasy-sdk/typescript 1.0.72-rc.2 2.950.2 0.0.3 syllable-sdk"
71360
71360
  };
71361
71361
  });
71362
71362
 
@@ -79494,6 +79494,79 @@ var init_agentproperties = __esm(() => {
79494
79494
  AgentProperties$outboundSchema = AgentProperties$inboundSchema;
79495
79495
  });
79496
79496
 
79497
+ // src/models/components/siptransport.ts
79498
+ var SipTransport, SipTransport$inboundSchema, SipTransport$outboundSchema;
79499
+ var init_siptransport = __esm(() => {
79500
+ init_v3();
79501
+ SipTransport = {
79502
+ Tls: "tls",
79503
+ Tcp: "tcp",
79504
+ Udp: "udp"
79505
+ };
79506
+ SipTransport$inboundSchema = nativeEnumType(SipTransport);
79507
+ SipTransport$outboundSchema = SipTransport$inboundSchema;
79508
+ });
79509
+
79510
+ // src/models/components/sipendpoint.ts
79511
+ var SipEndpoint$inboundSchema, SipEndpoint$outboundSchema;
79512
+ var init_sipendpoint = __esm(() => {
79513
+ init_v3();
79514
+ init_siptransport();
79515
+ SipEndpoint$inboundSchema = objectType({
79516
+ host: stringType(),
79517
+ port: nullableType(stringType()).optional(),
79518
+ transport: nullableType(SipTransport$inboundSchema).optional()
79519
+ });
79520
+ SipEndpoint$outboundSchema = objectType({
79521
+ host: stringType(),
79522
+ port: nullableType(stringType()).optional(),
79523
+ transport: nullableType(SipTransport$outboundSchema).optional()
79524
+ });
79525
+ });
79526
+
79527
+ // src/models/components/siptransfermode.ts
79528
+ var SipTransferMode, SipTransferMode$inboundSchema, SipTransferMode$outboundSchema;
79529
+ var init_siptransfermode = __esm(() => {
79530
+ init_v3();
79531
+ SipTransferMode = {
79532
+ Refer: "refer",
79533
+ Invite: "invite"
79534
+ };
79535
+ SipTransferMode$inboundSchema = nativeEnumType(SipTransferMode);
79536
+ SipTransferMode$outboundSchema = SipTransferMode$inboundSchema;
79537
+ });
79538
+
79539
+ // src/models/components/sipconfiguration.ts
79540
+ var SipConfiguration$inboundSchema, SipConfiguration$outboundSchema;
79541
+ var init_sipconfiguration = __esm(() => {
79542
+ init_v3();
79543
+ init_primitives();
79544
+ init_sipendpoint();
79545
+ init_siptransfermode();
79546
+ SipConfiguration$inboundSchema = objectType({
79547
+ sip_transfer_mode: nullableType(SipTransferMode$inboundSchema).optional(),
79548
+ sip_endpoints: nullableType(arrayType(SipEndpoint$inboundSchema)).optional(),
79549
+ call_info_placement: nullableType(stringType()).optional()
79550
+ }).transform((v2) => {
79551
+ return remap(v2, {
79552
+ sip_transfer_mode: "sipTransferMode",
79553
+ sip_endpoints: "sipEndpoints",
79554
+ call_info_placement: "callInfoPlacement"
79555
+ });
79556
+ });
79557
+ SipConfiguration$outboundSchema = objectType({
79558
+ sipTransferMode: nullableType(SipTransferMode$outboundSchema).optional(),
79559
+ sipEndpoints: nullableType(arrayType(SipEndpoint$outboundSchema)).optional(),
79560
+ callInfoPlacement: nullableType(stringType()).optional()
79561
+ }).transform((v2) => {
79562
+ return remap(v2, {
79563
+ sipTransferMode: "sip_transfer_mode",
79564
+ sipEndpoints: "sip_endpoints",
79565
+ callInfoPlacement: "call_info_placement"
79566
+ });
79567
+ });
79568
+ });
79569
+
79497
79570
  // src/models/components/targetmodes.ts
79498
79571
  var TargetModes, TargetModes$inboundSchema, TargetModes$outboundSchema;
79499
79572
  var init_targetmodes = __esm(() => {
@@ -79515,6 +79588,7 @@ var init_channeltargetresponse = __esm(() => {
79515
79588
  init_v3();
79516
79589
  init_primitives();
79517
79590
  init_agentresponse();
79591
+ init_sipconfiguration();
79518
79592
  init_targetmodes();
79519
79593
  ChannelTargetResponse$inboundSchema = objectType({
79520
79594
  agent_id: numberType().int(),
@@ -79528,7 +79602,8 @@ var init_channeltargetresponse = __esm(() => {
79528
79602
  updated_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
79529
79603
  last_updated_by: stringType(),
79530
79604
  agent: nullableType(lazyType(() => AgentResponse$inboundSchema)).optional(),
79531
- a2p_verified: nullableType(booleanType()).optional()
79605
+ a2p_verified: nullableType(booleanType()).optional(),
79606
+ sip_configuration: nullableType(SipConfiguration$inboundSchema).optional()
79532
79607
  }).transform((v2) => {
79533
79608
  return remap(v2, {
79534
79609
  agent_id: "agentId",
@@ -79539,7 +79614,8 @@ var init_channeltargetresponse = __esm(() => {
79539
79614
  channel_name: "channelName",
79540
79615
  updated_at: "updatedAt",
79541
79616
  last_updated_by: "lastUpdatedBy",
79542
- a2p_verified: "a2pVerified"
79617
+ a2p_verified: "a2pVerified",
79618
+ sip_configuration: "sipConfiguration"
79543
79619
  });
79544
79620
  });
79545
79621
  ChannelTargetResponse$outboundSchema = objectType({
@@ -79554,7 +79630,8 @@ var init_channeltargetresponse = __esm(() => {
79554
79630
  updatedAt: dateType().transform((v2) => v2.toISOString()),
79555
79631
  lastUpdatedBy: stringType(),
79556
79632
  agent: nullableType(lazyType(() => AgentResponse$outboundSchema)).optional(),
79557
- a2pVerified: nullableType(booleanType()).optional()
79633
+ a2pVerified: nullableType(booleanType()).optional(),
79634
+ sipConfiguration: nullableType(SipConfiguration$outboundSchema).optional()
79558
79635
  }).transform((v2) => {
79559
79636
  return remap(v2, {
79560
79637
  agentId: "agent_id",
@@ -79565,7 +79642,8 @@ var init_channeltargetresponse = __esm(() => {
79565
79642
  channelName: "channel_name",
79566
79643
  updatedAt: "updated_at",
79567
79644
  lastUpdatedBy: "last_updated_by",
79568
- a2pVerified: "a2p_verified"
79645
+ a2pVerified: "a2p_verified",
79646
+ sipConfiguration: "sip_configuration"
79569
79647
  });
79570
79648
  });
79571
79649
  });
@@ -84334,79 +84412,6 @@ var init_emailconfigurations = __esm(() => {
84334
84412
  });
84335
84413
  });
84336
84414
 
84337
- // src/models/components/siptransport.ts
84338
- var SipTransport, SipTransport$inboundSchema, SipTransport$outboundSchema;
84339
- var init_siptransport = __esm(() => {
84340
- init_v3();
84341
- SipTransport = {
84342
- Tls: "tls",
84343
- Tcp: "tcp",
84344
- Udp: "udp"
84345
- };
84346
- SipTransport$inboundSchema = nativeEnumType(SipTransport);
84347
- SipTransport$outboundSchema = SipTransport$inboundSchema;
84348
- });
84349
-
84350
- // src/models/components/sipendpoint.ts
84351
- var SipEndpoint$inboundSchema, SipEndpoint$outboundSchema;
84352
- var init_sipendpoint = __esm(() => {
84353
- init_v3();
84354
- init_siptransport();
84355
- SipEndpoint$inboundSchema = objectType({
84356
- host: stringType(),
84357
- port: nullableType(stringType()).optional(),
84358
- transport: nullableType(SipTransport$inboundSchema).optional()
84359
- });
84360
- SipEndpoint$outboundSchema = objectType({
84361
- host: stringType(),
84362
- port: nullableType(stringType()).optional(),
84363
- transport: nullableType(SipTransport$outboundSchema).optional()
84364
- });
84365
- });
84366
-
84367
- // src/models/components/siptransfermode.ts
84368
- var SipTransferMode, SipTransferMode$inboundSchema, SipTransferMode$outboundSchema;
84369
- var init_siptransfermode = __esm(() => {
84370
- init_v3();
84371
- SipTransferMode = {
84372
- Refer: "refer",
84373
- Invite: "invite"
84374
- };
84375
- SipTransferMode$inboundSchema = nativeEnumType(SipTransferMode);
84376
- SipTransferMode$outboundSchema = SipTransferMode$inboundSchema;
84377
- });
84378
-
84379
- // src/models/components/sipconfiguration.ts
84380
- var SipConfiguration$inboundSchema, SipConfiguration$outboundSchema;
84381
- var init_sipconfiguration = __esm(() => {
84382
- init_v3();
84383
- init_primitives();
84384
- init_sipendpoint();
84385
- init_siptransfermode();
84386
- SipConfiguration$inboundSchema = objectType({
84387
- sip_transfer_mode: nullableType(SipTransferMode$inboundSchema).optional(),
84388
- sip_endpoints: nullableType(arrayType(SipEndpoint$inboundSchema)).optional(),
84389
- call_info_placement: nullableType(stringType()).optional()
84390
- }).transform((v2) => {
84391
- return remap(v2, {
84392
- sip_transfer_mode: "sipTransferMode",
84393
- sip_endpoints: "sipEndpoints",
84394
- call_info_placement: "callInfoPlacement"
84395
- });
84396
- });
84397
- SipConfiguration$outboundSchema = objectType({
84398
- sipTransferMode: nullableType(SipTransferMode$outboundSchema).optional(),
84399
- sipEndpoints: nullableType(arrayType(SipEndpoint$outboundSchema)).optional(),
84400
- callInfoPlacement: nullableType(stringType()).optional()
84401
- }).transform((v2) => {
84402
- return remap(v2, {
84403
- sipTransferMode: "sip_transfer_mode",
84404
- sipEndpoints: "sip_endpoints",
84405
- callInfoPlacement: "call_info_placement"
84406
- });
84407
- });
84408
- });
84409
-
84410
84415
  // src/models/components/telephonyconfigurations.ts
84411
84416
  var TelephonyConfigurations$inboundSchema, TelephonyConfigurations$outboundSchema;
84412
84417
  var init_telephonyconfigurations = __esm(() => {
@@ -106451,7 +106456,10 @@ var init_insightsList2 = __esm(() => {
106451
106456
  name: "insights-list",
106452
106457
  description: `Insights List
106453
106458
 
106454
- List the evaluated insights for sessions.`,
106459
+ List evaluated insights, with at most 1,000 items and an offset (page * limit) up to 100,000.
106460
+
106461
+ Filter by start_datetime (inclusive) and end_datetime (exclusive) on insight creation time
106462
+ to narrow results. Use order_by_direction=desc to read the newest insights first.`,
106455
106463
  args: args81,
106456
106464
  tool: async (client, args82, ctx) => {
106457
106465
  const [result, apiCall] = await insightsList(client, args82.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
@@ -118029,7 +118037,7 @@ Generate voice sample.`,
118029
118037
  function createMCPServer(deps) {
118030
118038
  const server = new McpServer({
118031
118039
  name: "SyllableSDK",
118032
- version: "1.0.71"
118040
+ version: "1.0.72-rc.2"
118033
118041
  });
118034
118042
  const client = new SyllableSDKCore({
118035
118043
  apiKeyHeader: deps.apiKeyHeader,
@@ -119636,7 +119644,7 @@ var routes = ln({
119636
119644
  var app = _e(routes, {
119637
119645
  name: "mcp",
119638
119646
  versionInfo: {
119639
- currentVersion: "1.0.71"
119647
+ currentVersion: "1.0.72-rc.2"
119640
119648
  }
119641
119649
  });
119642
119650
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -119644,5 +119652,5 @@ export {
119644
119652
  app
119645
119653
  };
119646
119654
 
119647
- //# debugId=00127E98174EA51964756E2164756E21
119655
+ //# debugId=CA8D0DB6B1C0EC4E64756E2164756E21
119648
119656
  //# sourceMappingURL=mcp-server.js.map