syllable-sdk 1.0.2-rc.7 → 1.0.2-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 +24 -29
- package/bin/mcp-server.js.map +9 -9
- package/docs/sdks/batches/README.md +4 -4
- 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/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/dictionarymetadata.d.ts +2 -2
- package/models/components/dictionarymetadata.d.ts.map +1 -1
- package/models/components/dictionarymetadata.js +2 -2
- package/models/components/dictionarymetadata.js.map +1 -1
- package/models/components/matchtype.d.ts +3 -0
- package/models/components/matchtype.d.ts.map +1 -1
- package/models/components/matchtype.js +1 -0
- package/models/components/matchtype.js.map +1 -1
- package/models/components/pronunciationoverride.d.ts +8 -29
- package/models/components/pronunciationoverride.d.ts.map +1 -1
- package/models/components/pronunciationoverride.js +9 -32
- package/models/components/pronunciationoverride.js.map +1 -1
- package/models/components/pronunciationscsvuploadresponse.d.ts +6 -6
- package/models/components/pronunciationscsvuploadresponse.d.ts.map +1 -1
- package/models/components/pronunciationscsvuploadresponse.js +6 -6
- package/models/components/pronunciationscsvuploadresponse.js.map +1 -1
- package/openapi.json +60 -111
- 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/dictionarymetadata.ts +4 -4
- package/src/models/components/matchtype.ts +1 -0
- package/src/models/components/pronunciationoverride.ts +16 -62
- package/src/models/components/pronunciationscsvuploadresponse.ts +12 -12
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.2-rc.
|
|
34417
|
+
sdkVersion: "1.0.2-rc.9",
|
|
34418
34418
|
genVersion: "2.723.11",
|
|
34419
|
-
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.
|
|
34419
|
+
userAgent: "speakeasy-sdk/typescript 1.0.2-rc.9 2.723.11 0.0.2 syllable-sdk"
|
|
34420
34420
|
};
|
|
34421
34421
|
});
|
|
34422
34422
|
|
|
@@ -39148,12 +39148,12 @@ var init_dictionarymetadata = __esm(() => {
|
|
|
39148
39148
|
DictionaryMetadata$inboundSchema = objectType({
|
|
39149
39149
|
entries: numberType().int(),
|
|
39150
39150
|
hash: stringType(),
|
|
39151
|
-
source:
|
|
39151
|
+
source: stringType().default("")
|
|
39152
39152
|
});
|
|
39153
39153
|
DictionaryMetadata$outboundSchema = objectType({
|
|
39154
39154
|
entries: numberType().int(),
|
|
39155
39155
|
hash: stringType(),
|
|
39156
|
-
source:
|
|
39156
|
+
source: stringType().default("")
|
|
39157
39157
|
});
|
|
39158
39158
|
((DictionaryMetadata$) => {
|
|
39159
39159
|
DictionaryMetadata$.inboundSchema = DictionaryMetadata$inboundSchema;
|
|
@@ -41951,7 +41951,8 @@ var MatchType, MatchType$inboundSchema, MatchType$outboundSchema, MatchType$;
|
|
|
41951
41951
|
var init_matchtype = __esm(() => {
|
|
41952
41952
|
init_zod();
|
|
41953
41953
|
MatchType = {
|
|
41954
|
-
Exact: "exact"
|
|
41954
|
+
Exact: "exact",
|
|
41955
|
+
Substring: "substring"
|
|
41955
41956
|
};
|
|
41956
41957
|
MatchType$inboundSchema = nativeEnumType(MatchType);
|
|
41957
41958
|
MatchType$outboundSchema = MatchType$inboundSchema;
|
|
@@ -42491,27 +42492,21 @@ var init_promptupdaterequest = __esm(() => {
|
|
|
42491
42492
|
});
|
|
42492
42493
|
|
|
42493
42494
|
// src/models/components/pronunciationoverride.ts
|
|
42494
|
-
var
|
|
42495
|
+
var PronunciationOverride$inboundSchema, PronunciationOverride$outboundSchema, PronunciationOverride$;
|
|
42495
42496
|
var init_pronunciationoverride = __esm(() => {
|
|
42496
42497
|
init_zod();
|
|
42497
42498
|
init_primitives();
|
|
42498
42499
|
init_matchtype();
|
|
42499
|
-
Language$inboundSchema = unionType([stringType(), arrayType(stringType())]);
|
|
42500
|
-
Language$outboundSchema = unionType([stringType(), arrayType(stringType())]);
|
|
42501
|
-
((Language$) => {
|
|
42502
|
-
Language$.inboundSchema = Language$inboundSchema;
|
|
42503
|
-
Language$.outboundSchema = Language$outboundSchema;
|
|
42504
|
-
})(Language$ ||= {});
|
|
42505
42500
|
PronunciationOverride$inboundSchema = objectType({
|
|
42506
42501
|
text: stringType(),
|
|
42507
42502
|
replacement: stringType(),
|
|
42508
|
-
|
|
42509
|
-
provider:
|
|
42510
|
-
voice:
|
|
42503
|
+
languages: arrayType(stringType()).optional(),
|
|
42504
|
+
provider: stringType().default(""),
|
|
42505
|
+
voice: stringType().default(""),
|
|
42511
42506
|
match_type: MatchType$inboundSchema.optional(),
|
|
42512
42507
|
match_options: arrayType(stringType()).optional(),
|
|
42513
42508
|
enabled: booleanType().default(true),
|
|
42514
|
-
notes:
|
|
42509
|
+
notes: stringType().default("")
|
|
42515
42510
|
}).transform((v2) => {
|
|
42516
42511
|
return remap(v2, {
|
|
42517
42512
|
match_type: "matchType",
|
|
@@ -42521,13 +42516,13 @@ var init_pronunciationoverride = __esm(() => {
|
|
|
42521
42516
|
PronunciationOverride$outboundSchema = objectType({
|
|
42522
42517
|
text: stringType(),
|
|
42523
42518
|
replacement: stringType(),
|
|
42524
|
-
|
|
42525
|
-
provider:
|
|
42526
|
-
voice:
|
|
42519
|
+
languages: arrayType(stringType()).optional(),
|
|
42520
|
+
provider: stringType().default(""),
|
|
42521
|
+
voice: stringType().default(""),
|
|
42527
42522
|
matchType: MatchType$outboundSchema.optional(),
|
|
42528
42523
|
matchOptions: arrayType(stringType()).optional(),
|
|
42529
42524
|
enabled: booleanType().default(true),
|
|
42530
|
-
notes:
|
|
42525
|
+
notes: stringType().default("")
|
|
42531
42526
|
}).transform((v2) => {
|
|
42532
42527
|
return remap(v2, {
|
|
42533
42528
|
matchType: "match_type",
|
|
@@ -42599,10 +42594,10 @@ var init_pronunciationscsvuploadresponse = __esm(() => {
|
|
|
42599
42594
|
init_primitives();
|
|
42600
42595
|
PronunciationsCsvUploadResponse$inboundSchema = objectType({
|
|
42601
42596
|
revision: numberType().int(),
|
|
42602
|
-
hash:
|
|
42603
|
-
entries:
|
|
42597
|
+
hash: stringType(),
|
|
42598
|
+
entries: numberType().int(),
|
|
42604
42599
|
uploaded_at: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
42605
|
-
uploaded_by:
|
|
42600
|
+
uploaded_by: stringType()
|
|
42606
42601
|
}).transform((v2) => {
|
|
42607
42602
|
return remap(v2, {
|
|
42608
42603
|
uploaded_at: "uploadedAt",
|
|
@@ -42611,10 +42606,10 @@ var init_pronunciationscsvuploadresponse = __esm(() => {
|
|
|
42611
42606
|
});
|
|
42612
42607
|
PronunciationsCsvUploadResponse$outboundSchema = objectType({
|
|
42613
42608
|
revision: numberType().int(),
|
|
42614
|
-
hash:
|
|
42615
|
-
entries:
|
|
42609
|
+
hash: stringType(),
|
|
42610
|
+
entries: numberType().int(),
|
|
42616
42611
|
uploadedAt: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
42617
|
-
uploadedBy:
|
|
42612
|
+
uploadedBy: stringType()
|
|
42618
42613
|
}).transform((v2) => {
|
|
42619
42614
|
return remap(v2, {
|
|
42620
42615
|
uploadedAt: "uploaded_at",
|
|
@@ -62960,7 +62955,7 @@ Send a welcome email to a user.`,
|
|
|
62960
62955
|
function createMCPServer(deps) {
|
|
62961
62956
|
const server = new McpServer({
|
|
62962
62957
|
name: "SyllableSDK",
|
|
62963
|
-
version: "1.0.2-rc.
|
|
62958
|
+
version: "1.0.2-rc.9"
|
|
62964
62959
|
});
|
|
62965
62960
|
const client = new SyllableSDKCore({
|
|
62966
62961
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -64466,7 +64461,7 @@ var routes = ln({
|
|
|
64466
64461
|
var app = _e(routes, {
|
|
64467
64462
|
name: "mcp",
|
|
64468
64463
|
versionInfo: {
|
|
64469
|
-
currentVersion: "1.0.2-rc.
|
|
64464
|
+
currentVersion: "1.0.2-rc.9"
|
|
64470
64465
|
}
|
|
64471
64466
|
});
|
|
64472
64467
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64474,5 +64469,5 @@ export {
|
|
|
64474
64469
|
app
|
|
64475
64470
|
};
|
|
64476
64471
|
|
|
64477
|
-
//# debugId=
|
|
64472
|
+
//# debugId=E2160DC92189532664756E2164756E21
|
|
64478
64473
|
//# sourceMappingURL=mcp-server.js.map
|