syllable-sdk 1.0.51-rc.8 → 1.0.51

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.
Files changed (49) hide show
  1. package/bin/mcp-server.js +99 -11
  2. package/bin/mcp-server.js.map +13 -10
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/lib/config.js.map +1 -1
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/mcp-server.js.map +1 -1
  9. package/mcp-server/server.js +1 -1
  10. package/mcp-server/server.js.map +1 -1
  11. package/models/components/communicationrequestresult.d.ts +14 -0
  12. package/models/components/communicationrequestresult.d.ts.map +1 -1
  13. package/models/components/communicationrequestresult.js +15 -1
  14. package/models/components/communicationrequestresult.js.map +1 -1
  15. package/models/components/filterop.d.ts +22 -0
  16. package/models/components/filterop.d.ts.map +1 -0
  17. package/models/components/filterop.js +57 -0
  18. package/models/components/filterop.js.map +1 -0
  19. package/models/components/index.d.ts +3 -0
  20. package/models/components/index.d.ts.map +1 -1
  21. package/models/components/index.js +3 -0
  22. package/models/components/index.js.map +1 -1
  23. package/models/components/outboundcampaign.d.ts +6 -0
  24. package/models/components/outboundcampaign.d.ts.map +1 -1
  25. package/models/components/outboundcampaign.js +5 -0
  26. package/models/components/outboundcampaign.js.map +1 -1
  27. package/models/components/outboundcampaigninput.d.ts +6 -0
  28. package/models/components/outboundcampaigninput.d.ts.map +1 -1
  29. package/models/components/outboundcampaigninput.js +5 -0
  30. package/models/components/outboundcampaigninput.js.map +1 -1
  31. package/models/components/targetfilterrule.d.ts +39 -0
  32. package/models/components/targetfilterrule.d.ts.map +1 -0
  33. package/models/components/targetfilterrule.js +63 -0
  34. package/models/components/targetfilterrule.js.map +1 -0
  35. package/models/components/targetfilters.d.ts +72 -0
  36. package/models/components/targetfilters.d.ts.map +1 -0
  37. package/models/components/targetfilters.js +95 -0
  38. package/models/components/targetfilters.js.map +1 -0
  39. package/package.json +1 -1
  40. package/src/lib/config.ts +3 -3
  41. package/src/mcp-server/mcp-server.ts +1 -1
  42. package/src/mcp-server/server.ts +1 -1
  43. package/src/models/components/communicationrequestresult.ts +38 -0
  44. package/src/models/components/filterop.ts +29 -0
  45. package/src/models/components/index.ts +3 -0
  46. package/src/models/components/outboundcampaign.ts +15 -0
  47. package/src/models/components/outboundcampaigninput.ts +15 -0
  48. package/src/models/components/targetfilterrule.ts +81 -0
  49. package/src/models/components/targetfilters.ts +129 -0
package/bin/mcp-server.js CHANGED
@@ -53072,9 +53072,9 @@ var init_config = __esm(() => {
53072
53072
  SDK_METADATA = {
53073
53073
  language: "typescript",
53074
53074
  openapiDocVersion: "0.0.3",
53075
- sdkVersion: "1.0.51-rc.8",
53076
- genVersion: "2.916.4",
53077
- userAgent: "speakeasy-sdk/typescript 1.0.51-rc.8 2.916.4 0.0.3 syllable-sdk"
53075
+ sdkVersion: "1.0.51",
53076
+ genVersion: "2.918.1",
53077
+ userAgent: "speakeasy-sdk/typescript 1.0.51 2.918.1 0.0.3 syllable-sdk"
53078
53078
  };
53079
53079
  });
53080
53080
 
@@ -59242,13 +59242,15 @@ var init_requeststatus = __esm(() => {
59242
59242
  });
59243
59243
 
59244
59244
  // src/models/components/communicationrequestresult.ts
59245
- var Insights$inboundSchema, Insights$outboundSchema, CommunicationRequestResult$inboundSchema, CommunicationRequestResult$outboundSchema;
59245
+ var Insights$inboundSchema, Insights$outboundSchema, Enrichment$inboundSchema, Enrichment$outboundSchema, CommunicationRequestResult$inboundSchema, CommunicationRequestResult$outboundSchema;
59246
59246
  var init_communicationrequestresult = __esm(() => {
59247
59247
  init_v3();
59248
59248
  init_primitives();
59249
59249
  init_requeststatus();
59250
59250
  Insights$inboundSchema = unionType([stringType(), numberType().int(), numberType()]);
59251
59251
  Insights$outboundSchema = unionType([stringType(), numberType().int(), numberType()]);
59252
+ Enrichment$inboundSchema = objectType({});
59253
+ Enrichment$outboundSchema = objectType({});
59252
59254
  CommunicationRequestResult$inboundSchema = objectType({
59253
59255
  reference_id: stringType(),
59254
59256
  target: stringType(),
@@ -59263,7 +59265,8 @@ var init_communicationrequestresult = __esm(() => {
59263
59265
  channel_manager_status: nullableType(stringType()).optional(),
59264
59266
  insights_status: nullableType(stringType()).optional(),
59265
59267
  insights: nullableType(recordType(unionType([stringType(), numberType().int(), numberType()]))).optional(),
59266
- line_type: nullableType(stringType()).optional()
59268
+ line_type: nullableType(stringType()).optional(),
59269
+ enrichment: nullableType(lazyType(() => Enrichment$inboundSchema)).optional()
59267
59270
  }).transform((v2) => {
59268
59271
  return remap(v2, {
59269
59272
  reference_id: "referenceId",
@@ -59294,7 +59297,8 @@ var init_communicationrequestresult = __esm(() => {
59294
59297
  channelManagerStatus: nullableType(stringType()).optional(),
59295
59298
  insightsStatus: nullableType(stringType()).optional(),
59296
59299
  insights: nullableType(recordType(unionType([stringType(), numberType().int(), numberType()]))).optional(),
59297
- lineType: nullableType(stringType()).optional()
59300
+ lineType: nullableType(stringType()).optional(),
59301
+ enrichment: nullableType(lazyType(() => Enrichment$outboundSchema)).optional()
59298
59302
  }).transform((v2) => {
59299
59303
  return remap(v2, {
59300
59304
  referenceId: "reference_id",
@@ -60249,6 +60253,22 @@ var init_eventproperties = __esm(() => {
60249
60253
  EventProperties$outboundSchema = EventProperties$inboundSchema;
60250
60254
  });
60251
60255
 
60256
+ // src/models/components/filterop.ts
60257
+ var FilterOp, FilterOp$inboundSchema, FilterOp$outboundSchema;
60258
+ var init_filterop = __esm(() => {
60259
+ init_v3();
60260
+ FilterOp = {
60261
+ In: "in",
60262
+ NotIn: "not_in",
60263
+ Eq: "eq",
60264
+ Neq: "neq",
60265
+ Exists: "exists",
60266
+ NotExists: "not_exists"
60267
+ };
60268
+ FilterOp$inboundSchema = nativeEnumType(FilterOp);
60269
+ FilterOp$outboundSchema = FilterOp$inboundSchema;
60270
+ });
60271
+
60252
60272
  // src/models/components/folderdetails.ts
60253
60273
  var FolderStats$inboundSchema, FolderStats$outboundSchema, FolderDetails$inboundSchema, FolderDetails$outboundSchema;
60254
60274
  var init_folderdetails = __esm(() => {
@@ -62192,6 +62212,61 @@ var init_outboundcampaignwebhookresponse = __esm(() => {
62192
62212
  });
62193
62213
  });
62194
62214
 
62215
+ // src/models/components/targetfilterrule.ts
62216
+ var TargetFilterRule$inboundSchema, TargetFilterRule$outboundSchema;
62217
+ var init_targetfilterrule = __esm(() => {
62218
+ init_v3();
62219
+ init_filterop();
62220
+ TargetFilterRule$inboundSchema = objectType({
62221
+ field: stringType(),
62222
+ op: FilterOp$inboundSchema,
62223
+ values: arrayType(stringType()).optional()
62224
+ });
62225
+ TargetFilterRule$outboundSchema = objectType({
62226
+ field: stringType(),
62227
+ op: FilterOp$outboundSchema,
62228
+ values: arrayType(stringType()).optional()
62229
+ });
62230
+ });
62231
+
62232
+ // src/models/components/targetfilters.ts
62233
+ var Match, OnUnknown, Match$inboundSchema, Match$outboundSchema, OnUnknown$inboundSchema, OnUnknown$outboundSchema, TargetFilters$inboundSchema, TargetFilters$outboundSchema;
62234
+ var init_targetfilters = __esm(() => {
62235
+ init_v3();
62236
+ init_primitives();
62237
+ init_targetfilterrule();
62238
+ Match = {
62239
+ All: "all",
62240
+ Any: "any"
62241
+ };
62242
+ OnUnknown = {
62243
+ Include: "include",
62244
+ Exclude: "exclude"
62245
+ };
62246
+ Match$inboundSchema = nativeEnumType(Match);
62247
+ Match$outboundSchema = Match$inboundSchema;
62248
+ OnUnknown$inboundSchema = nativeEnumType(OnUnknown);
62249
+ OnUnknown$outboundSchema = OnUnknown$inboundSchema;
62250
+ TargetFilters$inboundSchema = objectType({
62251
+ match: Match$inboundSchema.default("all"),
62252
+ on_unknown: OnUnknown$inboundSchema.default("include"),
62253
+ rules: arrayType(TargetFilterRule$inboundSchema).optional()
62254
+ }).transform((v2) => {
62255
+ return remap(v2, {
62256
+ on_unknown: "onUnknown"
62257
+ });
62258
+ });
62259
+ TargetFilters$outboundSchema = objectType({
62260
+ match: Match$outboundSchema.default("all"),
62261
+ onUnknown: OnUnknown$outboundSchema.default("include"),
62262
+ rules: arrayType(TargetFilterRule$outboundSchema).optional()
62263
+ }).transform((v2) => {
62264
+ return remap(v2, {
62265
+ onUnknown: "on_unknown"
62266
+ });
62267
+ });
62268
+ });
62269
+
62195
62270
  // src/models/components/voicemaildetectionconfig.ts
62196
62271
  var Mode, Mode$inboundSchema, Mode$outboundSchema, VoicemailDetectionConfig$inboundSchema, VoicemailDetectionConfig$outboundSchema;
62197
62272
  var init_voicemaildetectionconfig = __esm(() => {
@@ -62247,6 +62322,7 @@ var init_outboundcampaign = __esm(() => {
62247
62322
  init_daysofweek();
62248
62323
  init_linetypebucket();
62249
62324
  init_outboundcampaignwebhookresponse();
62325
+ init_targetfilters();
62250
62326
  init_voicemaildetectionconfig();
62251
62327
  OutboundCampaign$inboundSchema = objectType({
62252
62328
  campaign_name: stringType(),
@@ -62268,6 +62344,7 @@ var init_outboundcampaign = __esm(() => {
62268
62344
  voicemail_detection: nullableType(VoicemailDetectionConfig$inboundSchema).optional(),
62269
62345
  allowed_line_types: nullableType(arrayType(LineTypeBucket$inboundSchema)).optional(),
62270
62346
  include_unknown_line_types: booleanType().default(true),
62347
+ target_filters: nullableType(TargetFilters$inboundSchema).optional(),
62271
62348
  id: numberType().int(),
62272
62349
  agent_id: nullableType(numberType().int()).optional(),
62273
62350
  created_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
@@ -62290,6 +62367,7 @@ var init_outboundcampaign = __esm(() => {
62290
62367
  voicemail_detection: "voicemailDetection",
62291
62368
  allowed_line_types: "allowedLineTypes",
62292
62369
  include_unknown_line_types: "includeUnknownLineTypes",
62370
+ target_filters: "targetFilters",
62293
62371
  agent_id: "agentId",
62294
62372
  created_at: "createdAt",
62295
62373
  updated_at: "updatedAt",
@@ -62316,6 +62394,7 @@ var init_outboundcampaign = __esm(() => {
62316
62394
  voicemailDetection: nullableType(VoicemailDetectionConfig$outboundSchema).optional(),
62317
62395
  allowedLineTypes: nullableType(arrayType(LineTypeBucket$outboundSchema)).optional(),
62318
62396
  includeUnknownLineTypes: booleanType().default(true),
62397
+ targetFilters: nullableType(TargetFilters$outboundSchema).optional(),
62319
62398
  id: numberType().int(),
62320
62399
  agentId: nullableType(numberType().int()).optional(),
62321
62400
  createdAt: dateType().transform((v2) => v2.toISOString()).optional(),
@@ -62338,6 +62417,7 @@ var init_outboundcampaign = __esm(() => {
62338
62417
  voicemailDetection: "voicemail_detection",
62339
62418
  allowedLineTypes: "allowed_line_types",
62340
62419
  includeUnknownLineTypes: "include_unknown_line_types",
62420
+ targetFilters: "target_filters",
62341
62421
  agentId: "agent_id",
62342
62422
  createdAt: "created_at",
62343
62423
  updatedAt: "updated_at",
@@ -63452,6 +63532,7 @@ var init_outboundcampaigninput = __esm(() => {
63452
63532
  init_daysofweek();
63453
63533
  init_linetypebucket();
63454
63534
  init_outboundcampaignwebhookinput();
63535
+ init_targetfilters();
63455
63536
  init_voicemaildetectionconfig();
63456
63537
  OutboundCampaignInput$inboundSchema = objectType({
63457
63538
  campaign_name: stringType(),
@@ -63473,6 +63554,7 @@ var init_outboundcampaigninput = __esm(() => {
63473
63554
  voicemail_detection: nullableType(VoicemailDetectionConfig$inboundSchema).optional(),
63474
63555
  allowed_line_types: nullableType(arrayType(LineTypeBucket$inboundSchema)).optional(),
63475
63556
  include_unknown_line_types: booleanType().default(true),
63557
+ target_filters: nullableType(TargetFilters$inboundSchema).optional(),
63476
63558
  webhooks: arrayType(OutboundCampaignWebhookInput$inboundSchema).optional()
63477
63559
  }).transform((v2) => {
63478
63560
  return remap(v2, {
@@ -63489,7 +63571,8 @@ var init_outboundcampaigninput = __esm(() => {
63489
63571
  active_days: "activeDays",
63490
63572
  voicemail_detection: "voicemailDetection",
63491
63573
  allowed_line_types: "allowedLineTypes",
63492
- include_unknown_line_types: "includeUnknownLineTypes"
63574
+ include_unknown_line_types: "includeUnknownLineTypes",
63575
+ target_filters: "targetFilters"
63493
63576
  });
63494
63577
  });
63495
63578
  OutboundCampaignInput$outboundSchema = objectType({
@@ -63512,6 +63595,7 @@ var init_outboundcampaigninput = __esm(() => {
63512
63595
  voicemailDetection: nullableType(VoicemailDetectionConfig$outboundSchema).optional(),
63513
63596
  allowedLineTypes: nullableType(arrayType(LineTypeBucket$outboundSchema)).optional(),
63514
63597
  includeUnknownLineTypes: booleanType().default(true),
63598
+ targetFilters: nullableType(TargetFilters$outboundSchema).optional(),
63515
63599
  webhooks: arrayType(OutboundCampaignWebhookInput$outboundSchema).optional()
63516
63600
  }).transform((v2) => {
63517
63601
  return remap(v2, {
@@ -63528,7 +63612,8 @@ var init_outboundcampaigninput = __esm(() => {
63528
63612
  activeDays: "active_days",
63529
63613
  voicemailDetection: "voicemail_detection",
63530
63614
  allowedLineTypes: "allowed_line_types",
63531
- includeUnknownLineTypes: "include_unknown_line_types"
63615
+ includeUnknownLineTypes: "include_unknown_line_types",
63616
+ targetFilters: "target_filters"
63532
63617
  });
63533
63618
  });
63534
63619
  });
@@ -65338,6 +65423,7 @@ var init_components = __esm(() => {
65338
65423
  init_eventtaskevents();
65339
65424
  init_expressiontask();
65340
65425
  init_expressiontaskevents();
65426
+ init_filterop();
65341
65427
  init_folderdetails();
65342
65428
  init_getvalueaction();
65343
65429
  init_incidentcreaterequest();
@@ -65482,6 +65568,8 @@ var init_components = __esm(() => {
65482
65568
  init_supportedllm();
65483
65569
  init_takeoutrequeststatus();
65484
65570
  init_takeoutstatusresponse();
65571
+ init_targetfilterrule();
65572
+ init_targetfilters();
65485
65573
  init_targetmodes();
65486
65574
  init_telephonyconfigurations();
65487
65575
  init_testmessage();
@@ -88177,7 +88265,7 @@ Generate voice sample.`,
88177
88265
  function createMCPServer(deps) {
88178
88266
  const server = new McpServer({
88179
88267
  name: "SyllableSDK",
88180
- version: "1.0.51-rc.8"
88268
+ version: "1.0.51"
88181
88269
  });
88182
88270
  const client = new SyllableSDKCore({
88183
88271
  apiKeyHeader: deps.apiKeyHeader,
@@ -89745,7 +89833,7 @@ var routes = ln({
89745
89833
  var app = _e(routes, {
89746
89834
  name: "mcp",
89747
89835
  versionInfo: {
89748
- currentVersion: "1.0.51-rc.8"
89836
+ currentVersion: "1.0.51"
89749
89837
  }
89750
89838
  });
89751
89839
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -89753,5 +89841,5 @@ export {
89753
89841
  app
89754
89842
  };
89755
89843
 
89756
- //# debugId=74BE5350A5E547CD64756E2164756E21
89844
+ //# debugId=4198CFA020C88B0864756E2164756E21
89757
89845
  //# sourceMappingURL=mcp-server.js.map