syllable-sdk 1.0.54 → 1.0.55-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 +86 -7
- package/bin/mcp-server.js.map +10 -8
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/server.js.map +1 -1
- package/models/components/callaction.d.ts +6 -0
- package/models/components/callaction.d.ts.map +1 -1
- package/models/components/callaction.js +3 -0
- package/models/components/callaction.js.map +1 -1
- package/models/components/callresult.d.ts +24 -0
- package/models/components/callresult.d.ts.map +1 -0
- package/models/components/callresult.js +59 -0
- package/models/components/callresult.js.map +1 -0
- package/models/components/callresultsavemapping.d.ts +81 -0
- package/models/components/callresultsavemapping.d.ts.map +1 -0
- package/models/components/callresultsavemapping.js +129 -0
- package/models/components/callresultsavemapping.js.map +1 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +2 -0
- package/models/components/index.js.map +1 -1
- package/package.json +1 -1
- 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/models/components/callaction.ts +13 -0
- package/src/models/components/callresult.ts +59 -0
- package/src/models/components/callresultsavemapping.ts +225 -0
- package/src/models/components/index.ts +2 -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.
|
|
53075
|
+
sdkVersion: "1.0.55-rc.2",
|
|
53076
53076
|
genVersion: "2.924.0",
|
|
53077
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
53077
|
+
userAgent: "speakeasy-sdk/typescript 1.0.55-rc.2 2.924.0 0.0.3 syllable-sdk"
|
|
53078
53078
|
};
|
|
53079
53079
|
});
|
|
53080
53080
|
|
|
@@ -55696,10 +55696,85 @@ var init_caseexpression = __esm(() => {
|
|
|
55696
55696
|
});
|
|
55697
55697
|
});
|
|
55698
55698
|
|
|
55699
|
+
// src/models/components/callresultsavemapping.ts
|
|
55700
|
+
var From1$inboundSchema, From1$outboundSchema, From$inboundSchema, From$outboundSchema, CallResultSaveMapping$inboundSchema, CallResultSaveMapping$outboundSchema;
|
|
55701
|
+
var init_callresultsavemapping = __esm(() => {
|
|
55702
|
+
init_v3();
|
|
55703
|
+
init_caseexpression();
|
|
55704
|
+
init_celexpression();
|
|
55705
|
+
init_jmespathexpression();
|
|
55706
|
+
From1$inboundSchema = unionType([
|
|
55707
|
+
CelExpression$inboundSchema,
|
|
55708
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
55709
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
55710
|
+
]);
|
|
55711
|
+
From1$outboundSchema = unionType([
|
|
55712
|
+
CelExpression$outboundSchema,
|
|
55713
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
55714
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
55715
|
+
]);
|
|
55716
|
+
From$inboundSchema = unionType([
|
|
55717
|
+
CaseExpression$inboundSchema,
|
|
55718
|
+
unionType([
|
|
55719
|
+
CelExpression$inboundSchema,
|
|
55720
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
55721
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
55722
|
+
]),
|
|
55723
|
+
stringType()
|
|
55724
|
+
]);
|
|
55725
|
+
From$outboundSchema = unionType([
|
|
55726
|
+
CaseExpression$outboundSchema,
|
|
55727
|
+
unionType([
|
|
55728
|
+
CelExpression$outboundSchema,
|
|
55729
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
55730
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
55731
|
+
]),
|
|
55732
|
+
stringType()
|
|
55733
|
+
]);
|
|
55734
|
+
CallResultSaveMapping$inboundSchema = objectType({
|
|
55735
|
+
from: unionType([
|
|
55736
|
+
CaseExpression$inboundSchema,
|
|
55737
|
+
unionType([
|
|
55738
|
+
CelExpression$inboundSchema,
|
|
55739
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
55740
|
+
JMESPathExpression$inboundSchema.and(objectType({ type: literalType("jp") }))
|
|
55741
|
+
]),
|
|
55742
|
+
stringType()
|
|
55743
|
+
]),
|
|
55744
|
+
to: stringType()
|
|
55745
|
+
});
|
|
55746
|
+
CallResultSaveMapping$outboundSchema = objectType({
|
|
55747
|
+
from: unionType([
|
|
55748
|
+
CaseExpression$outboundSchema,
|
|
55749
|
+
unionType([
|
|
55750
|
+
CelExpression$outboundSchema,
|
|
55751
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jmespath") })),
|
|
55752
|
+
JMESPathExpression$outboundSchema.and(objectType({ type: literalType("jp") }))
|
|
55753
|
+
]),
|
|
55754
|
+
stringType()
|
|
55755
|
+
]),
|
|
55756
|
+
to: stringType()
|
|
55757
|
+
});
|
|
55758
|
+
});
|
|
55759
|
+
|
|
55760
|
+
// src/models/components/callresult.ts
|
|
55761
|
+
var CallResult$inboundSchema, CallResult$outboundSchema;
|
|
55762
|
+
var init_callresult = __esm(() => {
|
|
55763
|
+
init_v3();
|
|
55764
|
+
init_callresultsavemapping();
|
|
55765
|
+
CallResult$inboundSchema = objectType({
|
|
55766
|
+
save: arrayType(CallResultSaveMapping$inboundSchema).optional()
|
|
55767
|
+
});
|
|
55768
|
+
CallResult$outboundSchema = objectType({
|
|
55769
|
+
save: arrayType(CallResultSaveMapping$outboundSchema).optional()
|
|
55770
|
+
});
|
|
55771
|
+
});
|
|
55772
|
+
|
|
55699
55773
|
// src/models/components/callaction.ts
|
|
55700
55774
|
var CallActionIf1$inboundSchema, CallActionIf1$outboundSchema, CallActionIf$inboundSchema, CallActionIf$outboundSchema, CallAction$inboundSchema, CallAction$outboundSchema;
|
|
55701
55775
|
var init_callaction = __esm(() => {
|
|
55702
55776
|
init_v3();
|
|
55777
|
+
init_callresult();
|
|
55703
55778
|
init_caseexpression();
|
|
55704
55779
|
init_celexpression();
|
|
55705
55780
|
init_jmespathexpression();
|
|
@@ -55743,7 +55818,8 @@ var init_callaction = __esm(() => {
|
|
|
55743
55818
|
])).optional(),
|
|
55744
55819
|
action: literalType("call"),
|
|
55745
55820
|
name: stringType(),
|
|
55746
|
-
arguments: nullableType(recordType(anyType())).optional()
|
|
55821
|
+
arguments: nullableType(recordType(anyType())).optional(),
|
|
55822
|
+
result: nullableType(CallResult$inboundSchema).optional()
|
|
55747
55823
|
});
|
|
55748
55824
|
CallAction$outboundSchema = objectType({
|
|
55749
55825
|
if: nullableType(unionType([
|
|
@@ -55757,7 +55833,8 @@ var init_callaction = __esm(() => {
|
|
|
55757
55833
|
])).optional(),
|
|
55758
55834
|
action: literalType("call"),
|
|
55759
55835
|
name: stringType(),
|
|
55760
|
-
arguments: nullableType(recordType(anyType())).optional()
|
|
55836
|
+
arguments: nullableType(recordType(anyType())).optional(),
|
|
55837
|
+
result: nullableType(CallResult$outboundSchema).optional()
|
|
55761
55838
|
});
|
|
55762
55839
|
});
|
|
55763
55840
|
|
|
@@ -65462,6 +65539,8 @@ var init_components = __esm(() => {
|
|
|
65462
65539
|
init_bridgephrasesresponse();
|
|
65463
65540
|
init_bridgephrasesupdaterequest();
|
|
65464
65541
|
init_callaction();
|
|
65542
|
+
init_callresult();
|
|
65543
|
+
init_callresultsavemapping();
|
|
65465
65544
|
init_campaignproperties();
|
|
65466
65545
|
init_caseexpression();
|
|
65467
65546
|
init_celexpression();
|
|
@@ -88374,7 +88453,7 @@ Generate voice sample.`,
|
|
|
88374
88453
|
function createMCPServer(deps) {
|
|
88375
88454
|
const server = new McpServer({
|
|
88376
88455
|
name: "SyllableSDK",
|
|
88377
|
-
version: "1.0.
|
|
88456
|
+
version: "1.0.55-rc.2"
|
|
88378
88457
|
});
|
|
88379
88458
|
const client = new SyllableSDKCore({
|
|
88380
88459
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -89942,7 +90021,7 @@ var routes = ln({
|
|
|
89942
90021
|
var app = _e(routes, {
|
|
89943
90022
|
name: "mcp",
|
|
89944
90023
|
versionInfo: {
|
|
89945
|
-
currentVersion: "1.0.
|
|
90024
|
+
currentVersion: "1.0.55-rc.2"
|
|
89946
90025
|
}
|
|
89947
90026
|
});
|
|
89948
90027
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -89950,5 +90029,5 @@ export {
|
|
|
89950
90029
|
app
|
|
89951
90030
|
};
|
|
89952
90031
|
|
|
89953
|
-
//# debugId=
|
|
90032
|
+
//# debugId=34F2BD1F96B9D91864756E2164756E21
|
|
89954
90033
|
//# sourceMappingURL=mcp-server.js.map
|