syllable-sdk 1.0.47-rc.2 → 1.0.47-rc.4
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 +39 -8
- package/bin/mcp-server.js.map +12 -11
- package/funcs/channelsTargetsList.d.ts +10 -0
- package/funcs/channelsTargetsList.d.ts.map +1 -1
- package/funcs/channelsTargetsList.js +10 -0
- package/funcs/channelsTargetsList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/channelsTargetsList.d.ts.map +1 -1
- package/mcp-server/tools/channelsTargetsList.js +10 -1
- package/mcp-server/tools/channelsTargetsList.js.map +1 -1
- package/models/components/channeltargetorderproperties.d.ts +32 -0
- package/models/components/channeltargetorderproperties.d.ts.map +1 -0
- package/models/components/channeltargetorderproperties.js +63 -0
- package/models/components/channeltargetorderproperties.js.map +1 -0
- package/models/components/channeltargetproperties.d.ts +7 -4
- package/models/components/channeltargetproperties.d.ts.map +1 -1
- package/models/components/channeltargetproperties.js +4 -2
- package/models/components/channeltargetproperties.js.map +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/operations/channeltargetslist.d.ts +1 -1
- package/models/operations/channeltargetslist.d.ts.map +1 -1
- package/models/operations/channeltargetslist.js +2 -2
- package/models/operations/channeltargetslist.js.map +1 -1
- package/package.json +1 -1
- package/sdk/targets.d.ts +10 -0
- package/sdk/targets.d.ts.map +1 -1
- package/sdk/targets.js +10 -0
- package/sdk/targets.js.map +1 -1
- package/src/funcs/channelsTargetsList.ts +10 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/channelsTargetsList.ts +10 -1
- package/src/models/components/channeltargetorderproperties.ts +43 -0
- package/src/models/components/channeltargetproperties.ts +7 -4
- package/src/models/components/index.ts +1 -0
- package/src/models/operations/channeltargetslist.ts +3 -3
- package/src/sdk/targets.ts +10 -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.47-rc.
|
|
53075
|
+
sdkVersion: "1.0.47-rc.4",
|
|
53076
53076
|
genVersion: "2.893.0",
|
|
53077
|
-
userAgent: "speakeasy-sdk/typescript 1.0.47-rc.
|
|
53077
|
+
userAgent: "speakeasy-sdk/typescript 1.0.47-rc.4 2.893.0 0.0.3 syllable-sdk"
|
|
53078
53078
|
};
|
|
53079
53079
|
});
|
|
53080
53080
|
|
|
@@ -58667,6 +58667,26 @@ var init_channeltargetcreaterequest = __esm(() => {
|
|
|
58667
58667
|
});
|
|
58668
58668
|
});
|
|
58669
58669
|
|
|
58670
|
+
// src/models/components/channeltargetorderproperties.ts
|
|
58671
|
+
var ChannelTargetOrderProperties, ChannelTargetOrderProperties$inboundSchema, ChannelTargetOrderProperties$outboundSchema;
|
|
58672
|
+
var init_channeltargetorderproperties = __esm(() => {
|
|
58673
|
+
init_v3();
|
|
58674
|
+
ChannelTargetOrderProperties = {
|
|
58675
|
+
Id: "id",
|
|
58676
|
+
ChannelId: "channel_id",
|
|
58677
|
+
ChannelName: "channel_name",
|
|
58678
|
+
AgentId: "agent_id",
|
|
58679
|
+
Target: "target",
|
|
58680
|
+
TargetMode: "target_mode",
|
|
58681
|
+
FallbackTarget: "fallback_target",
|
|
58682
|
+
IsTest: "is_test",
|
|
58683
|
+
UpdatedAt: "updated_at",
|
|
58684
|
+
A2pVerified: "a2p_verified"
|
|
58685
|
+
};
|
|
58686
|
+
ChannelTargetOrderProperties$inboundSchema = nativeEnumType(ChannelTargetOrderProperties);
|
|
58687
|
+
ChannelTargetOrderProperties$outboundSchema = ChannelTargetOrderProperties$inboundSchema;
|
|
58688
|
+
});
|
|
58689
|
+
|
|
58670
58690
|
// src/models/components/channeltargetproperties.ts
|
|
58671
58691
|
var ChannelTargetProperties, ChannelTargetProperties$inboundSchema, ChannelTargetProperties$outboundSchema;
|
|
58672
58692
|
var init_channeltargetproperties = __esm(() => {
|
|
@@ -58678,6 +58698,7 @@ var init_channeltargetproperties = __esm(() => {
|
|
|
58678
58698
|
AgentId: "agent_id",
|
|
58679
58699
|
Target: "target",
|
|
58680
58700
|
TargetMode: "target_mode",
|
|
58701
|
+
TargetModeList: "target_mode_list",
|
|
58681
58702
|
FallbackTarget: "fallback_target",
|
|
58682
58703
|
IsTest: "is_test",
|
|
58683
58704
|
UpdatedAt: "updated_at",
|
|
@@ -64710,6 +64731,7 @@ var init_components = __esm(() => {
|
|
|
64710
64731
|
init_channelproperties();
|
|
64711
64732
|
init_channelservices();
|
|
64712
64733
|
init_channeltargetcreaterequest();
|
|
64734
|
+
init_channeltargetorderproperties();
|
|
64713
64735
|
init_channeltargetproperties();
|
|
64714
64736
|
init_channeltargetresponse();
|
|
64715
64737
|
init_channeltargetupdaterequest();
|
|
@@ -65699,7 +65721,7 @@ var init_channeltargetslist = __esm(() => {
|
|
|
65699
65721
|
limit: numberType().int().default(25),
|
|
65700
65722
|
search_fields: arrayType(ChannelTargetProperties$inboundSchema).optional(),
|
|
65701
65723
|
search_field_values: arrayType(stringType()).optional(),
|
|
65702
|
-
order_by: nullableType(
|
|
65724
|
+
order_by: nullableType(ChannelTargetOrderProperties$inboundSchema).optional(),
|
|
65703
65725
|
order_by_direction: nullableType(OrderByDirection$inboundSchema).optional(),
|
|
65704
65726
|
fields: nullableType(arrayType(ChannelTargetProperties$inboundSchema)).optional(),
|
|
65705
65727
|
start_datetime: nullableType(stringType()).optional(),
|
|
@@ -65719,7 +65741,7 @@ var init_channeltargetslist = __esm(() => {
|
|
|
65719
65741
|
limit: numberType().int().default(25),
|
|
65720
65742
|
searchFields: arrayType(ChannelTargetProperties$outboundSchema).optional(),
|
|
65721
65743
|
searchFieldValues: arrayType(stringType()).optional(),
|
|
65722
|
-
orderBy: nullableType(
|
|
65744
|
+
orderBy: nullableType(ChannelTargetOrderProperties$outboundSchema).optional(),
|
|
65723
65745
|
orderByDirection: nullableType(OrderByDirection$outboundSchema).optional(),
|
|
65724
65746
|
fields: nullableType(arrayType(ChannelTargetProperties$outboundSchema)).optional(),
|
|
65725
65747
|
startDatetime: nullableType(stringType()).optional(),
|
|
@@ -69977,7 +69999,16 @@ var init_channelsTargetsList2 = __esm(() => {
|
|
|
69977
69999
|
};
|
|
69978
70000
|
tool$channelsTargetsList = {
|
|
69979
70001
|
name: "channels-targets-list",
|
|
69980
|
-
description: `Get Channel Targets
|
|
70002
|
+
description: `Get Channel Targets
|
|
70003
|
+
|
|
70004
|
+
List channel targets for the current suborg.
|
|
70005
|
+
|
|
70006
|
+
Supports the standard \`ListManager\` filters via \`search_fields\`/\`search_field_values\`. In
|
|
70007
|
+
addition to \`target_mode\` (single value), \`target_mode_list\` accepts a comma-separated list of
|
|
70008
|
+
modes (e.g. \`voice,sms\`) and matches targets whose mode is any of the listed values. Whitespace
|
|
70009
|
+
around tokens is tolerated and empty tokens are ignored. If both \`target_mode\` and
|
|
70010
|
+
\`target_mode_list\` are supplied, the two filters are combined with AND. \`target_mode_list\` is
|
|
70011
|
+
filter-only and cannot be used as \`order_by\`.`,
|
|
69981
70012
|
args: args13,
|
|
69982
70013
|
tool: async (client, args14, ctx) => {
|
|
69983
70014
|
const [result, apiCall] = await channelsTargetsList(client, args14.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -86817,7 +86848,7 @@ Generate voice sample.`,
|
|
|
86817
86848
|
function createMCPServer(deps) {
|
|
86818
86849
|
const server = new McpServer({
|
|
86819
86850
|
name: "SyllableSDK",
|
|
86820
|
-
version: "1.0.47-rc.
|
|
86851
|
+
version: "1.0.47-rc.4"
|
|
86821
86852
|
});
|
|
86822
86853
|
const client = new SyllableSDKCore({
|
|
86823
86854
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -88373,7 +88404,7 @@ var routes = ln({
|
|
|
88373
88404
|
var app = _e(routes, {
|
|
88374
88405
|
name: "mcp",
|
|
88375
88406
|
versionInfo: {
|
|
88376
|
-
currentVersion: "1.0.47-rc.
|
|
88407
|
+
currentVersion: "1.0.47-rc.4"
|
|
88377
88408
|
}
|
|
88378
88409
|
});
|
|
88379
88410
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -88381,5 +88412,5 @@ export {
|
|
|
88381
88412
|
app
|
|
88382
88413
|
};
|
|
88383
88414
|
|
|
88384
|
-
//# debugId=
|
|
88415
|
+
//# debugId=7B6DD04A2387471664756E2164756E21
|
|
88385
88416
|
//# sourceMappingURL=mcp-server.js.map
|