syllable-sdk 1.0.3 → 1.0.4-rc.1
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 +13 -8
- package/bin/mcp-server.js.map +7 -7
- package/docs/sdks/batches/README.md +4 -4
- package/docs/sdks/channels/README.md +16 -0
- package/docs/sdks/workflows/README.md +8 -8
- package/examples/package-lock.json +1 -1
- 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/channelservices.d.ts +3 -0
- package/models/components/channelservices.d.ts.map +1 -1
- package/models/components/channelservices.js +1 -0
- package/models/components/channelservices.js.map +1 -1
- package/models/components/organizationchannelconfig.d.ts +9 -0
- package/models/components/organizationchannelconfig.d.ts.map +1 -1
- package/models/components/organizationchannelconfig.js +4 -0
- package/models/components/organizationchannelconfig.js.map +1 -1
- package/openapi.json +80 -34
- 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/channelservices.ts +1 -0
- package/src/models/components/organizationchannelconfig.ts +9 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34414,9 +34414,9 @@ var init_config = __esm(() => {
|
|
|
34414
34414
|
SDK_METADATA = {
|
|
34415
34415
|
language: "typescript",
|
|
34416
34416
|
openapiDocVersion: "0.0.2",
|
|
34417
|
-
sdkVersion: "1.0.
|
|
34417
|
+
sdkVersion: "1.0.4-rc.1",
|
|
34418
34418
|
genVersion: "2.723.11",
|
|
34419
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
34419
|
+
userAgent: "speakeasy-sdk/typescript 1.0.4-rc.1 2.723.11 0.0.2 syllable-sdk"
|
|
34420
34420
|
};
|
|
34421
34421
|
});
|
|
34422
34422
|
|
|
@@ -38089,7 +38089,8 @@ var init_channelservices = __esm(() => {
|
|
|
38089
38089
|
Sip: "sip",
|
|
38090
38090
|
Twilio: "twilio",
|
|
38091
38091
|
Email: "email",
|
|
38092
|
-
Webchat: "webchat"
|
|
38092
|
+
Webchat: "webchat",
|
|
38093
|
+
Africastalking: "africastalking"
|
|
38093
38094
|
};
|
|
38094
38095
|
ChannelServices$inboundSchema = nativeEnumType(ChannelServices);
|
|
38095
38096
|
ChannelServices$outboundSchema = ChannelServices$inboundSchema;
|
|
@@ -41991,21 +41992,25 @@ var init_organizationchannelconfig = __esm(() => {
|
|
|
41991
41992
|
OrganizationChannelConfig$inboundSchema = objectType({
|
|
41992
41993
|
account_sid: nullableType(stringType()).optional(),
|
|
41993
41994
|
auth_token: nullableType(stringType()).optional(),
|
|
41995
|
+
provider_credentials: nullableType(recordType(stringType())).optional(),
|
|
41994
41996
|
telephony: nullableType(TelephonyConfigurations$inboundSchema).optional()
|
|
41995
41997
|
}).transform((v2) => {
|
|
41996
41998
|
return remap(v2, {
|
|
41997
41999
|
account_sid: "accountSid",
|
|
41998
|
-
auth_token: "authToken"
|
|
42000
|
+
auth_token: "authToken",
|
|
42001
|
+
provider_credentials: "providerCredentials"
|
|
41999
42002
|
});
|
|
42000
42003
|
});
|
|
42001
42004
|
OrganizationChannelConfig$outboundSchema = objectType({
|
|
42002
42005
|
accountSid: nullableType(stringType()).optional(),
|
|
42003
42006
|
authToken: nullableType(stringType()).optional(),
|
|
42007
|
+
providerCredentials: nullableType(recordType(stringType())).optional(),
|
|
42004
42008
|
telephony: nullableType(TelephonyConfigurations$outboundSchema).optional()
|
|
42005
42009
|
}).transform((v2) => {
|
|
42006
42010
|
return remap(v2, {
|
|
42007
42011
|
accountSid: "account_sid",
|
|
42008
|
-
authToken: "auth_token"
|
|
42012
|
+
authToken: "auth_token",
|
|
42013
|
+
providerCredentials: "provider_credentials"
|
|
42009
42014
|
});
|
|
42010
42015
|
});
|
|
42011
42016
|
((OrganizationChannelConfig$) => {
|
|
@@ -62965,7 +62970,7 @@ Send a welcome email to a user.`,
|
|
|
62965
62970
|
function createMCPServer(deps) {
|
|
62966
62971
|
const server = new McpServer({
|
|
62967
62972
|
name: "SyllableSDK",
|
|
62968
|
-
version: "1.0.
|
|
62973
|
+
version: "1.0.4-rc.1"
|
|
62969
62974
|
});
|
|
62970
62975
|
const client = new SyllableSDKCore({
|
|
62971
62976
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -64471,7 +64476,7 @@ var routes = ln({
|
|
|
64471
64476
|
var app = _e(routes, {
|
|
64472
64477
|
name: "mcp",
|
|
64473
64478
|
versionInfo: {
|
|
64474
|
-
currentVersion: "1.0.
|
|
64479
|
+
currentVersion: "1.0.4-rc.1"
|
|
64475
64480
|
}
|
|
64476
64481
|
});
|
|
64477
64482
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64479,5 +64484,5 @@ export {
|
|
|
64479
64484
|
app
|
|
64480
64485
|
};
|
|
64481
64486
|
|
|
64482
|
-
//# debugId=
|
|
64487
|
+
//# debugId=1400F2D70B95607764756E2164756E21
|
|
64483
64488
|
//# sourceMappingURL=mcp-server.js.map
|