syllable-sdk 1.0.73-rc.7 → 1.0.73-rc.9
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 +35 -25
- package/bin/mcp-server.js.map +11 -11
- package/funcs/channelsTargetsList.d.ts +4 -0
- package/funcs/channelsTargetsList.d.ts.map +1 -1
- package/funcs/channelsTargetsList.js +4 -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 +5 -1
- package/mcp-server/tools/channelsTargetsList.js.map +1 -1
- package/models/components/channeltargetproperties.d.ts +1 -0
- package/models/components/channeltargetproperties.d.ts.map +1 -1
- package/models/components/channeltargetproperties.js +1 -0
- package/models/components/channeltargetproperties.js.map +1 -1
- package/models/components/channeltargetresponse.d.ts +6 -0
- package/models/components/channeltargetresponse.d.ts.map +1 -1
- package/models/components/channeltargetresponse.js +5 -0
- package/models/components/channeltargetresponse.js.map +1 -1
- package/package.json +1 -1
- package/sdk/targets.d.ts +4 -0
- package/sdk/targets.d.ts.map +1 -1
- package/sdk/targets.js +4 -0
- package/sdk/targets.js.map +1 -1
- package/src/funcs/channelsTargetsList.ts +4 -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 +5 -1
- package/src/models/components/channeltargetproperties.ts +1 -0
- package/src/models/components/channeltargetresponse.ts +14 -0
- package/src/sdk/targets.ts +4 -0
package/bin/mcp-server.js
CHANGED
|
@@ -72051,9 +72051,9 @@ var init_config = __esm(() => {
|
|
|
72051
72051
|
SDK_METADATA = {
|
|
72052
72052
|
language: "typescript",
|
|
72053
72053
|
openapiDocVersion: "0.0.3",
|
|
72054
|
-
sdkVersion: "1.0.73-rc.
|
|
72054
|
+
sdkVersion: "1.0.73-rc.9",
|
|
72055
72055
|
genVersion: "2.954.8",
|
|
72056
|
-
userAgent: "speakeasy-sdk/typescript 1.0.73-rc.
|
|
72056
|
+
userAgent: "speakeasy-sdk/typescript 1.0.73-rc.9 2.954.8 0.0.3 syllable-sdk"
|
|
72057
72057
|
};
|
|
72058
72058
|
});
|
|
72059
72059
|
|
|
@@ -80191,6 +80191,20 @@ var init_agentproperties = __esm(() => {
|
|
|
80191
80191
|
AgentProperties$outboundSchema = AgentProperties$inboundSchema;
|
|
80192
80192
|
});
|
|
80193
80193
|
|
|
80194
|
+
// src/models/components/experimentstatus.ts
|
|
80195
|
+
var ExperimentStatus, ExperimentStatus$inboundSchema, ExperimentStatus$outboundSchema;
|
|
80196
|
+
var init_experimentstatus = __esm(() => {
|
|
80197
|
+
init_v3();
|
|
80198
|
+
ExperimentStatus = {
|
|
80199
|
+
Draft: "draft",
|
|
80200
|
+
Running: "running",
|
|
80201
|
+
Paused: "paused",
|
|
80202
|
+
Stopped: "stopped"
|
|
80203
|
+
};
|
|
80204
|
+
ExperimentStatus$inboundSchema = nativeEnumType(ExperimentStatus);
|
|
80205
|
+
ExperimentStatus$outboundSchema = ExperimentStatus$inboundSchema;
|
|
80206
|
+
});
|
|
80207
|
+
|
|
80194
80208
|
// src/models/components/siptransport.ts
|
|
80195
80209
|
var SipTransport, SipTransport$inboundSchema, SipTransport$outboundSchema;
|
|
80196
80210
|
var init_siptransport = __esm(() => {
|
|
@@ -80285,6 +80299,7 @@ var init_channeltargetresponse = __esm(() => {
|
|
|
80285
80299
|
init_v3();
|
|
80286
80300
|
init_primitives();
|
|
80287
80301
|
init_agentresponse();
|
|
80302
|
+
init_experimentstatus();
|
|
80288
80303
|
init_sipconfiguration();
|
|
80289
80304
|
init_targetmodes();
|
|
80290
80305
|
ChannelTargetResponse$inboundSchema = objectType({
|
|
@@ -80300,7 +80315,8 @@ var init_channeltargetresponse = __esm(() => {
|
|
|
80300
80315
|
last_updated_by: stringType(),
|
|
80301
80316
|
agent: nullableType(lazyType(() => AgentResponse$inboundSchema)).optional(),
|
|
80302
80317
|
a2p_verified: nullableType(booleanType()).optional(),
|
|
80303
|
-
sip_configuration: nullableType(SipConfiguration$inboundSchema).optional()
|
|
80318
|
+
sip_configuration: nullableType(SipConfiguration$inboundSchema).optional(),
|
|
80319
|
+
experiment_status: nullableType(ExperimentStatus$inboundSchema).optional()
|
|
80304
80320
|
}).transform((v2) => {
|
|
80305
80321
|
return remap(v2, {
|
|
80306
80322
|
agent_id: "agentId",
|
|
@@ -80312,7 +80328,8 @@ var init_channeltargetresponse = __esm(() => {
|
|
|
80312
80328
|
updated_at: "updatedAt",
|
|
80313
80329
|
last_updated_by: "lastUpdatedBy",
|
|
80314
80330
|
a2p_verified: "a2pVerified",
|
|
80315
|
-
sip_configuration: "sipConfiguration"
|
|
80331
|
+
sip_configuration: "sipConfiguration",
|
|
80332
|
+
experiment_status: "experimentStatus"
|
|
80316
80333
|
});
|
|
80317
80334
|
});
|
|
80318
80335
|
ChannelTargetResponse$outboundSchema = objectType({
|
|
@@ -80328,7 +80345,8 @@ var init_channeltargetresponse = __esm(() => {
|
|
|
80328
80345
|
lastUpdatedBy: stringType(),
|
|
80329
80346
|
agent: nullableType(lazyType(() => AgentResponse$outboundSchema)).optional(),
|
|
80330
80347
|
a2pVerified: nullableType(booleanType()).optional(),
|
|
80331
|
-
sipConfiguration: nullableType(SipConfiguration$outboundSchema).optional()
|
|
80348
|
+
sipConfiguration: nullableType(SipConfiguration$outboundSchema).optional(),
|
|
80349
|
+
experimentStatus: nullableType(ExperimentStatus$outboundSchema).optional()
|
|
80332
80350
|
}).transform((v2) => {
|
|
80333
80351
|
return remap(v2, {
|
|
80334
80352
|
agentId: "agent_id",
|
|
@@ -80340,7 +80358,8 @@ var init_channeltargetresponse = __esm(() => {
|
|
|
80340
80358
|
updatedAt: "updated_at",
|
|
80341
80359
|
lastUpdatedBy: "last_updated_by",
|
|
80342
80360
|
a2pVerified: "a2p_verified",
|
|
80343
|
-
sipConfiguration: "sip_configuration"
|
|
80361
|
+
sipConfiguration: "sip_configuration",
|
|
80362
|
+
experimentStatus: "experiment_status"
|
|
80344
80363
|
});
|
|
80345
80364
|
});
|
|
80346
80365
|
});
|
|
@@ -85400,7 +85419,8 @@ var init_channeltargetproperties = __esm(() => {
|
|
|
85400
85419
|
FallbackTarget: "fallback_target",
|
|
85401
85420
|
IsTest: "is_test",
|
|
85402
85421
|
UpdatedAt: "updated_at",
|
|
85403
|
-
A2pVerified: "a2p_verified"
|
|
85422
|
+
A2pVerified: "a2p_verified",
|
|
85423
|
+
ExperimentStatus: "experiment_status"
|
|
85404
85424
|
};
|
|
85405
85425
|
ChannelTargetProperties$inboundSchema = nativeEnumType(ChannelTargetProperties);
|
|
85406
85426
|
ChannelTargetProperties$outboundSchema = ChannelTargetProperties$inboundSchema;
|
|
@@ -86967,20 +86987,6 @@ var init_experimentproperties = __esm(() => {
|
|
|
86967
86987
|
ExperimentProperties$outboundSchema = ExperimentProperties$inboundSchema;
|
|
86968
86988
|
});
|
|
86969
86989
|
|
|
86970
|
-
// src/models/components/experimentstatus.ts
|
|
86971
|
-
var ExperimentStatus, ExperimentStatus$inboundSchema, ExperimentStatus$outboundSchema;
|
|
86972
|
-
var init_experimentstatus = __esm(() => {
|
|
86973
|
-
init_v3();
|
|
86974
|
-
ExperimentStatus = {
|
|
86975
|
-
Draft: "draft",
|
|
86976
|
-
Running: "running",
|
|
86977
|
-
Paused: "paused",
|
|
86978
|
-
Stopped: "stopped"
|
|
86979
|
-
};
|
|
86980
|
-
ExperimentStatus$inboundSchema = nativeEnumType(ExperimentStatus);
|
|
86981
|
-
ExperimentStatus$outboundSchema = ExperimentStatus$inboundSchema;
|
|
86982
|
-
});
|
|
86983
|
-
|
|
86984
86990
|
// src/models/components/experimentresponse.ts
|
|
86985
86991
|
var ExperimentResponse$inboundSchema, ExperimentResponse$outboundSchema;
|
|
86986
86992
|
var init_experimentresponse = __esm(() => {
|
|
@@ -100291,7 +100297,11 @@ addition to \`target_mode\` (single value), \`target_mode_list\` accepts a comma
|
|
|
100291
100297
|
modes (e.g. \`voice,sms\`) and matches targets whose mode is any of the listed values. Whitespace
|
|
100292
100298
|
around tokens is tolerated and empty tokens are ignored. If both \`target_mode\` and
|
|
100293
100299
|
\`target_mode_list\` are supplied, the two filters are combined with AND. \`target_mode_list\` is
|
|
100294
|
-
filter-only and cannot be used as \`order_by
|
|
100300
|
+
filter-only and cannot be used as \`order_by\`.
|
|
100301
|
+
|
|
100302
|
+
\`experiment_status\` filters on the highest-priority non-deleted experiment status for each
|
|
100303
|
+
target: \`running\`, \`paused\`, \`draft\`, then \`stopped\`. Use \`none\` to match
|
|
100304
|
+
targets with no experiments. It is filter-only and cannot be used as \`order_by\`.`,
|
|
100295
100305
|
args: args21,
|
|
100296
100306
|
tool: async (client, args22, ctx) => {
|
|
100297
100307
|
const [result, apiCall] = await channelsTargetsList(client, args22.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
@@ -119211,7 +119221,7 @@ Generate voice sample.`,
|
|
|
119211
119221
|
function createMCPServer(deps) {
|
|
119212
119222
|
const server = new McpServer({
|
|
119213
119223
|
name: "SyllableSDK",
|
|
119214
|
-
version: "1.0.73-rc.
|
|
119224
|
+
version: "1.0.73-rc.9"
|
|
119215
119225
|
});
|
|
119216
119226
|
const client = new SyllableSDKCore({
|
|
119217
119227
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -120820,7 +120830,7 @@ var routes = ln({
|
|
|
120820
120830
|
var app = _e(routes, {
|
|
120821
120831
|
name: "mcp",
|
|
120822
120832
|
versionInfo: {
|
|
120823
|
-
currentVersion: "1.0.73-rc.
|
|
120833
|
+
currentVersion: "1.0.73-rc.9"
|
|
120824
120834
|
}
|
|
120825
120835
|
});
|
|
120826
120836
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -120828,5 +120838,5 @@ export {
|
|
|
120828
120838
|
app
|
|
120829
120839
|
};
|
|
120830
120840
|
|
|
120831
|
-
//# debugId=
|
|
120841
|
+
//# debugId=DC18675DF5E437DD64756E2164756E21
|
|
120832
120842
|
//# sourceMappingURL=mcp-server.js.map
|