syllable-sdk 1.0.76-rc.1 → 1.0.76-rc.3

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 CHANGED
@@ -72095,9 +72095,9 @@ var init_config = __esm(() => {
72095
72095
  SDK_METADATA = {
72096
72096
  language: "typescript",
72097
72097
  openapiDocVersion: "0.0.3",
72098
- sdkVersion: "1.0.76-rc.1",
72098
+ sdkVersion: "1.0.76-rc.3",
72099
72099
  genVersion: "2.968.1",
72100
- userAgent: "speakeasy-sdk/typescript 1.0.76-rc.1 2.968.1 0.0.3 syllable-sdk"
72100
+ userAgent: "speakeasy-sdk/typescript 1.0.76-rc.3 2.968.1 0.0.3 syllable-sdk"
72101
72101
  };
72102
72102
  });
72103
72103
 
@@ -95860,9 +95860,10 @@ var init_sessionlatencygetbyid = __esm(() => {
95860
95860
  });
95861
95861
 
95862
95862
  // src/models/operations/sessionrecordingstream.ts
95863
- var SessionRecordingStreamRequest$inboundSchema, SessionRecordingStreamRequest$outboundSchema;
95863
+ var SessionRecordingStreamRequest$inboundSchema, SessionRecordingStreamRequest$outboundSchema, SessionRecordingStreamResponse$inboundSchema;
95864
95864
  var init_sessionrecordingstream = __esm(() => {
95865
95865
  init_v3();
95866
+ init_primitives();
95866
95867
  init_schemas9();
95867
95868
  SessionRecordingStreamRequest$inboundSchema = /* @__PURE__ */ lazySchema(() => objectType({
95868
95869
  token: stringType()
@@ -95870,6 +95871,15 @@ var init_sessionrecordingstream = __esm(() => {
95870
95871
  SessionRecordingStreamRequest$outboundSchema = /* @__PURE__ */ lazySchema(() => objectType({
95871
95872
  token: stringType()
95872
95873
  }));
95874
+ SessionRecordingStreamResponse$inboundSchema = /* @__PURE__ */ lazySchema(() => objectType({
95875
+ Headers: recordType(arrayType(stringType())).default({}),
95876
+ Result: instanceOfType(ReadableStream)
95877
+ }).transform((v2) => {
95878
+ return remap(v2, {
95879
+ Headers: "headers",
95880
+ Result: "result"
95881
+ });
95882
+ }));
95873
95883
  });
95874
95884
 
95875
95885
  // src/models/operations/sessionslist.ts
@@ -116301,14 +116311,15 @@ async function $do178(client, request, options) {
116301
116311
  const responseFields = {
116302
116312
  HttpMeta: { Response: response, Request: req }
116303
116313
  };
116304
- const [result] = await match(stream(200, instanceOfType(ReadableStream)), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
116314
+ const [result] = await match(stream(200, SessionRecordingStreamResponse$inboundSchema, {
116315
+ key: "Result"
116316
+ }), jsonErr(422, HTTPValidationError$inboundSchema), fail(504), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
116305
116317
  if (!result.ok) {
116306
116318
  return [result, { status: "complete", request: req, response }];
116307
116319
  }
116308
116320
  return [result, { status: "complete", request: req, response }];
116309
116321
  }
116310
116322
  var init_sessionsSessionRecordingStream = __esm(() => {
116311
- init_v3();
116312
116323
  init_encodings();
116313
116324
  init_http();
116314
116325
  init_matchers();
@@ -116342,7 +116353,7 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
116342
116353
  isError: true
116343
116354
  };
116344
116355
  }
116345
- const value = result.value;
116356
+ const value = result.value.result;
116346
116357
  return formatResult(value, apiCall);
116347
116358
  }
116348
116359
  };
@@ -118989,7 +119000,7 @@ Generate voice sample.`,
118989
119000
  function createMCPServer(deps) {
118990
119001
  const server = new McpServer({
118991
119002
  name: "SyllableSDK",
118992
- version: "1.0.76-rc.1"
119003
+ version: "1.0.76-rc.3"
118993
119004
  });
118994
119005
  const client = new SyllableSDKCore({
118995
119006
  apiKeyHeader: deps.apiKeyHeader,
@@ -120612,7 +120623,7 @@ var routes = ln({
120612
120623
  var app = _e(routes, {
120613
120624
  name: "mcp",
120614
120625
  versionInfo: {
120615
- currentVersion: "1.0.76-rc.1"
120626
+ currentVersion: "1.0.76-rc.3"
120616
120627
  }
120617
120628
  });
120618
120629
  Yt(app, process3.argv.slice(2), buildContext(process3));
@@ -120620,5 +120631,5 @@ export {
120620
120631
  app
120621
120632
  };
120622
120633
 
120623
- //# debugId=D96459CEFCA90A3164756E2164756E21
120634
+ //# debugId=CB88C48AE76AA0EA64756E2164756E21
120624
120635
  //# sourceMappingURL=mcp-server.js.map