syllable-sdk 1.0.48 → 1.0.49-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/README.md +5 -0
- package/bin/mcp-server.js +399 -161
- package/bin/mcp-server.js.map +15 -9
- package/funcs/sessionsTimelineGetById.d.ts +19 -0
- package/funcs/sessionsTimelineGetById.d.ts.map +1 -0
- package/funcs/sessionsTimelineGetById.js +125 -0
- package/funcs/sessionsTimelineGetById.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- 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.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/sessionsTimelineGetById.d.ts +8 -0
- package/mcp-server/tools/sessionsTimelineGetById.d.ts.map +1 -0
- package/mcp-server/tools/sessionsTimelineGetById.js +64 -0
- package/mcp-server/tools/sessionsTimelineGetById.js.map +1 -0
- package/models/components/index.d.ts +3 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -0
- package/models/components/index.js.map +1 -1
- package/models/components/sessionaction.d.ts +5 -0
- package/models/components/sessionaction.d.ts.map +1 -1
- package/models/components/sessionaction.js +4 -0
- package/models/components/sessionaction.js.map +1 -1
- package/models/components/sessiontimelineresponse.d.ts +34 -0
- package/models/components/sessiontimelineresponse.d.ts.map +1 -0
- package/models/components/sessiontimelineresponse.js +74 -0
- package/models/components/sessiontimelineresponse.js.map +1 -0
- package/models/components/timelineevent.d.ts +86 -0
- package/models/components/timelineevent.d.ts.map +1 -0
- package/models/components/timelineevent.js +102 -0
- package/models/components/timelineevent.js.map +1 -0
- package/models/components/timelineeventkind.d.ts +13 -0
- package/models/components/timelineeventkind.d.ts.map +1 -0
- package/models/components/timelineeventkind.js +50 -0
- package/models/components/timelineeventkind.js.map +1 -0
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/sessiontimelinegetbyid.d.ts +17 -0
- package/models/operations/sessiontimelinegetbyid.d.ts.map +1 -0
- package/models/operations/sessiontimelinegetbyid.js +67 -0
- package/models/operations/sessiontimelinegetbyid.js.map +1 -0
- package/package.json +1 -1
- package/sdk/sessions.d.ts +3 -0
- package/sdk/sessions.d.ts.map +1 -1
- package/sdk/sessions.js +4 -0
- package/sdk/sessions.js.map +1 -1
- package/sdk/timeline.d.ts +13 -0
- package/sdk/timeline.d.ts.map +1 -0
- package/sdk/timeline.js +22 -0
- package/sdk/timeline.js.map +1 -0
- package/src/funcs/sessionsTimelineGetById.ts +178 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/sessionsTimelineGetById.ts +37 -0
- package/src/models/components/index.ts +3 -0
- package/src/models/components/sessionaction.ts +9 -0
- package/src/models/components/sessiontimelineresponse.ts +90 -0
- package/src/models/components/timelineevent.ts +163 -0
- package/src/models/components/timelineeventkind.ts +22 -0
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/sessiontimelinegetbyid.ts +62 -0
- package/src/sdk/sessions.ts +6 -0
- package/src/sdk/timeline.ts +28 -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.
|
|
53076
|
-
genVersion: "2.
|
|
53077
|
-
userAgent: "speakeasy-sdk/typescript 1.0.
|
|
53075
|
+
sdkVersion: "1.0.49-rc.2",
|
|
53076
|
+
genVersion: "2.912.1",
|
|
53077
|
+
userAgent: "speakeasy-sdk/typescript 1.0.49-rc.2 2.912.1 0.0.3 syllable-sdk"
|
|
53078
53078
|
};
|
|
53079
53079
|
});
|
|
53080
53080
|
|
|
@@ -63749,13 +63749,15 @@ var init_sessionaction = __esm(() => {
|
|
|
63749
63749
|
tool_name: nullableType(stringType()).optional(),
|
|
63750
63750
|
tool_request: nullableType(stringType()).optional(),
|
|
63751
63751
|
tool_result: nullableType(stringType()).optional(),
|
|
63752
|
-
tool_error: nullableType(stringType()).optional()
|
|
63752
|
+
tool_error: nullableType(stringType()).optional(),
|
|
63753
|
+
duration_ms: nullableType(numberType()).optional()
|
|
63753
63754
|
}).transform((v2) => {
|
|
63754
63755
|
return remap(v2, {
|
|
63755
63756
|
tool_name: "toolName",
|
|
63756
63757
|
tool_request: "toolRequest",
|
|
63757
63758
|
tool_result: "toolResult",
|
|
63758
|
-
tool_error: "toolError"
|
|
63759
|
+
tool_error: "toolError",
|
|
63760
|
+
duration_ms: "durationMs"
|
|
63759
63761
|
});
|
|
63760
63762
|
});
|
|
63761
63763
|
SessionAction$outboundSchema = objectType({
|
|
@@ -63763,13 +63765,15 @@ var init_sessionaction = __esm(() => {
|
|
|
63763
63765
|
toolName: nullableType(stringType()).optional(),
|
|
63764
63766
|
toolRequest: nullableType(stringType()).optional(),
|
|
63765
63767
|
toolResult: nullableType(stringType()).optional(),
|
|
63766
|
-
toolError: nullableType(stringType()).optional()
|
|
63768
|
+
toolError: nullableType(stringType()).optional(),
|
|
63769
|
+
durationMs: nullableType(numberType()).optional()
|
|
63767
63770
|
}).transform((v2) => {
|
|
63768
63771
|
return remap(v2, {
|
|
63769
63772
|
toolName: "tool_name",
|
|
63770
63773
|
toolRequest: "tool_request",
|
|
63771
63774
|
toolResult: "tool_result",
|
|
63772
|
-
toolError: "tool_error"
|
|
63775
|
+
toolError: "tool_error",
|
|
63776
|
+
durationMs: "duration_ms"
|
|
63773
63777
|
});
|
|
63774
63778
|
});
|
|
63775
63779
|
});
|
|
@@ -63970,6 +63974,103 @@ var init_sessiontext = __esm(() => {
|
|
|
63970
63974
|
});
|
|
63971
63975
|
});
|
|
63972
63976
|
|
|
63977
|
+
// src/models/components/timelineeventkind.ts
|
|
63978
|
+
var TimelineEventKind, TimelineEventKind$inboundSchema, TimelineEventKind$outboundSchema;
|
|
63979
|
+
var init_timelineeventkind = __esm(() => {
|
|
63980
|
+
init_v3();
|
|
63981
|
+
TimelineEventKind = {
|
|
63982
|
+
Transcript: "transcript",
|
|
63983
|
+
Tool: "tool",
|
|
63984
|
+
Latency: "latency"
|
|
63985
|
+
};
|
|
63986
|
+
TimelineEventKind$inboundSchema = nativeEnumType(TimelineEventKind);
|
|
63987
|
+
TimelineEventKind$outboundSchema = TimelineEventKind$inboundSchema;
|
|
63988
|
+
});
|
|
63989
|
+
|
|
63990
|
+
// src/models/components/timelineevent.ts
|
|
63991
|
+
var TimelineEvent$inboundSchema, TimelineEvent$outboundSchema;
|
|
63992
|
+
var init_timelineevent = __esm(() => {
|
|
63993
|
+
init_v3();
|
|
63994
|
+
init_primitives();
|
|
63995
|
+
init_timelineeventkind();
|
|
63996
|
+
TimelineEvent$inboundSchema = objectType({
|
|
63997
|
+
kind: TimelineEventKind$inboundSchema,
|
|
63998
|
+
timestamp: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
63999
|
+
offset: stringType(),
|
|
64000
|
+
turn_index: nullableType(numberType().int()).optional(),
|
|
64001
|
+
source: nullableType(stringType()).optional(),
|
|
64002
|
+
text: nullableType(stringType()).optional(),
|
|
64003
|
+
lang: nullableType(stringType()).optional(),
|
|
64004
|
+
category: nullableType(stringType()).optional(),
|
|
64005
|
+
label: nullableType(stringType()).optional(),
|
|
64006
|
+
metadata: nullableType(arrayType(stringType())).optional(),
|
|
64007
|
+
duration_ms: nullableType(numberType()).optional(),
|
|
64008
|
+
tool_request: nullableType(stringType()).optional(),
|
|
64009
|
+
tool_result: nullableType(stringType()).optional(),
|
|
64010
|
+
tool_error: nullableType(stringType()).optional()
|
|
64011
|
+
}).transform((v2) => {
|
|
64012
|
+
return remap(v2, {
|
|
64013
|
+
turn_index: "turnIndex",
|
|
64014
|
+
duration_ms: "durationMs",
|
|
64015
|
+
tool_request: "toolRequest",
|
|
64016
|
+
tool_result: "toolResult",
|
|
64017
|
+
tool_error: "toolError"
|
|
64018
|
+
});
|
|
64019
|
+
});
|
|
64020
|
+
TimelineEvent$outboundSchema = objectType({
|
|
64021
|
+
kind: TimelineEventKind$outboundSchema,
|
|
64022
|
+
timestamp: dateType().transform((v2) => v2.toISOString()),
|
|
64023
|
+
offset: stringType(),
|
|
64024
|
+
turnIndex: nullableType(numberType().int()).optional(),
|
|
64025
|
+
source: nullableType(stringType()).optional(),
|
|
64026
|
+
text: nullableType(stringType()).optional(),
|
|
64027
|
+
lang: nullableType(stringType()).optional(),
|
|
64028
|
+
category: nullableType(stringType()).optional(),
|
|
64029
|
+
label: nullableType(stringType()).optional(),
|
|
64030
|
+
metadata: nullableType(arrayType(stringType())).optional(),
|
|
64031
|
+
durationMs: nullableType(numberType()).optional(),
|
|
64032
|
+
toolRequest: nullableType(stringType()).optional(),
|
|
64033
|
+
toolResult: nullableType(stringType()).optional(),
|
|
64034
|
+
toolError: nullableType(stringType()).optional()
|
|
64035
|
+
}).transform((v2) => {
|
|
64036
|
+
return remap(v2, {
|
|
64037
|
+
turnIndex: "turn_index",
|
|
64038
|
+
durationMs: "duration_ms",
|
|
64039
|
+
toolRequest: "tool_request",
|
|
64040
|
+
toolResult: "tool_result",
|
|
64041
|
+
toolError: "tool_error"
|
|
64042
|
+
});
|
|
64043
|
+
});
|
|
64044
|
+
});
|
|
64045
|
+
|
|
64046
|
+
// src/models/components/sessiontimelineresponse.ts
|
|
64047
|
+
var SessionTimelineResponse$inboundSchema, SessionTimelineResponse$outboundSchema;
|
|
64048
|
+
var init_sessiontimelineresponse = __esm(() => {
|
|
64049
|
+
init_v3();
|
|
64050
|
+
init_primitives();
|
|
64051
|
+
init_timelineevent();
|
|
64052
|
+
SessionTimelineResponse$inboundSchema = objectType({
|
|
64053
|
+
session_id: stringType(),
|
|
64054
|
+
session_start: nullableType(stringType().datetime({ offset: true }).transform((v2) => new Date(v2))).optional(),
|
|
64055
|
+
events: arrayType(TimelineEvent$inboundSchema)
|
|
64056
|
+
}).transform((v2) => {
|
|
64057
|
+
return remap(v2, {
|
|
64058
|
+
session_id: "sessionId",
|
|
64059
|
+
session_start: "sessionStart"
|
|
64060
|
+
});
|
|
64061
|
+
});
|
|
64062
|
+
SessionTimelineResponse$outboundSchema = objectType({
|
|
64063
|
+
sessionId: stringType(),
|
|
64064
|
+
sessionStart: nullableType(dateType().transform((v2) => v2.toISOString())).optional(),
|
|
64065
|
+
events: arrayType(TimelineEvent$outboundSchema)
|
|
64066
|
+
}).transform((v2) => {
|
|
64067
|
+
return remap(v2, {
|
|
64068
|
+
sessionId: "session_id",
|
|
64069
|
+
sessionStart: "session_start"
|
|
64070
|
+
});
|
|
64071
|
+
});
|
|
64072
|
+
});
|
|
64073
|
+
|
|
63973
64074
|
// src/models/components/sessiontranscriptionresponse.ts
|
|
63974
64075
|
var SessionTranscriptionResponse$inboundSchema, SessionTranscriptionResponse$outboundSchema;
|
|
63975
64076
|
var init_sessiontranscriptionresponse = __esm(() => {
|
|
@@ -65033,6 +65134,7 @@ var init_components = __esm(() => {
|
|
|
65033
65134
|
init_sessionrecordingresponse();
|
|
65034
65135
|
init_sessionsummaryresponse();
|
|
65035
65136
|
init_sessiontext();
|
|
65137
|
+
init_sessiontimelineresponse();
|
|
65036
65138
|
init_sessiontranscriptionresponse();
|
|
65037
65139
|
init_setvalueaction();
|
|
65038
65140
|
init_statictoolparameter();
|
|
@@ -65049,6 +65151,8 @@ var init_components = __esm(() => {
|
|
|
65049
65151
|
init_telephonyconfigurations();
|
|
65050
65152
|
init_testmessage();
|
|
65051
65153
|
init_testmessageresponse();
|
|
65154
|
+
init_timelineevent();
|
|
65155
|
+
init_timelineeventkind();
|
|
65052
65156
|
init_toolagentinfo();
|
|
65053
65157
|
init_toolargumentlocation();
|
|
65054
65158
|
init_toolauthtype();
|
|
@@ -68288,6 +68392,27 @@ var init_sessionslist = __esm(() => {
|
|
|
68288
68392
|
});
|
|
68289
68393
|
});
|
|
68290
68394
|
|
|
68395
|
+
// src/models/operations/sessiontimelinegetbyid.ts
|
|
68396
|
+
var SessionTimelineGetByIdRequest$inboundSchema, SessionTimelineGetByIdRequest$outboundSchema;
|
|
68397
|
+
var init_sessiontimelinegetbyid = __esm(() => {
|
|
68398
|
+
init_v3();
|
|
68399
|
+
init_primitives();
|
|
68400
|
+
SessionTimelineGetByIdRequest$inboundSchema = objectType({
|
|
68401
|
+
session_id: stringType()
|
|
68402
|
+
}).transform((v2) => {
|
|
68403
|
+
return remap(v2, {
|
|
68404
|
+
session_id: "sessionId"
|
|
68405
|
+
});
|
|
68406
|
+
});
|
|
68407
|
+
SessionTimelineGetByIdRequest$outboundSchema = objectType({
|
|
68408
|
+
sessionId: stringType()
|
|
68409
|
+
}).transform((v2) => {
|
|
68410
|
+
return remap(v2, {
|
|
68411
|
+
sessionId: "session_id"
|
|
68412
|
+
});
|
|
68413
|
+
});
|
|
68414
|
+
});
|
|
68415
|
+
|
|
68291
68416
|
// src/models/operations/sessiontranscriptgetbyid.ts
|
|
68292
68417
|
var SessionTranscriptGetByIdRequest$inboundSchema, SessionTranscriptGetByIdRequest$outboundSchema;
|
|
68293
68418
|
var init_sessiontranscriptgetbyid = __esm(() => {
|
|
@@ -68789,6 +68914,7 @@ var init_operations = __esm(() => {
|
|
|
68789
68914
|
init_sessionlatencygetbyid();
|
|
68790
68915
|
init_sessionrecordingstream();
|
|
68791
68916
|
init_sessionslist();
|
|
68917
|
+
init_sessiontimelinegetbyid();
|
|
68792
68918
|
init_sessiontranscriptgetbyid();
|
|
68793
68919
|
init_takeoutsgetbyjobid();
|
|
68794
68920
|
init_takeoutsgetfile();
|
|
@@ -84494,11 +84620,121 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
|
84494
84620
|
};
|
|
84495
84621
|
});
|
|
84496
84622
|
|
|
84497
|
-
// src/funcs/
|
|
84498
|
-
function
|
|
84623
|
+
// src/funcs/sessionsTimelineGetById.ts
|
|
84624
|
+
function sessionsTimelineGetById(client, request, options) {
|
|
84499
84625
|
return new APIPromise($do148(client, request, options));
|
|
84500
84626
|
}
|
|
84501
84627
|
async function $do148(client, request, options) {
|
|
84628
|
+
const parsed = safeParse4(request, (value) => SessionTimelineGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84629
|
+
if (!parsed.ok) {
|
|
84630
|
+
return [parsed, { status: "invalid" }];
|
|
84631
|
+
}
|
|
84632
|
+
const payload = parsed.value;
|
|
84633
|
+
const body = null;
|
|
84634
|
+
const pathParams = {
|
|
84635
|
+
session_id: encodeSimple("session_id", payload.session_id, {
|
|
84636
|
+
explode: false,
|
|
84637
|
+
charEncoding: "percent"
|
|
84638
|
+
})
|
|
84639
|
+
};
|
|
84640
|
+
const path = pathToFunc("/api/v1/sessions/timeline/{session_id}")(pathParams);
|
|
84641
|
+
const headers = new Headers(compactMap({
|
|
84642
|
+
Accept: "application/json"
|
|
84643
|
+
}));
|
|
84644
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
84645
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
84646
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
84647
|
+
const context2 = {
|
|
84648
|
+
options: client._options,
|
|
84649
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
84650
|
+
operationID: "session_timeline_get_by_id",
|
|
84651
|
+
oAuth2Scopes: null,
|
|
84652
|
+
resolvedSecurity: requestSecurity,
|
|
84653
|
+
securitySource: client._options.apiKeyHeader,
|
|
84654
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
84655
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
84656
|
+
};
|
|
84657
|
+
const requestRes = client._createRequest(context2, {
|
|
84658
|
+
security: requestSecurity,
|
|
84659
|
+
method: "GET",
|
|
84660
|
+
baseURL: options?.serverURL,
|
|
84661
|
+
path,
|
|
84662
|
+
headers,
|
|
84663
|
+
body,
|
|
84664
|
+
userAgent: client._options.userAgent,
|
|
84665
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
84666
|
+
}, options);
|
|
84667
|
+
if (!requestRes.ok) {
|
|
84668
|
+
return [requestRes, { status: "invalid" }];
|
|
84669
|
+
}
|
|
84670
|
+
const req = requestRes.value;
|
|
84671
|
+
const doResult = await client._do(req, {
|
|
84672
|
+
context: context2,
|
|
84673
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
84674
|
+
retryConfig: context2.retryConfig,
|
|
84675
|
+
retryCodes: context2.retryCodes
|
|
84676
|
+
});
|
|
84677
|
+
if (!doResult.ok) {
|
|
84678
|
+
return [doResult, { status: "request-error", request: req }];
|
|
84679
|
+
}
|
|
84680
|
+
const response = doResult.value;
|
|
84681
|
+
const responseFields = {
|
|
84682
|
+
HttpMeta: { Response: response, Request: req }
|
|
84683
|
+
};
|
|
84684
|
+
const [result] = await match(json(200, SessionTimelineResponse$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
84685
|
+
if (!result.ok) {
|
|
84686
|
+
return [result, { status: "complete", request: req, response }];
|
|
84687
|
+
}
|
|
84688
|
+
return [result, { status: "complete", request: req, response }];
|
|
84689
|
+
}
|
|
84690
|
+
var init_sessionsTimelineGetById = __esm(() => {
|
|
84691
|
+
init_encodings();
|
|
84692
|
+
init_http();
|
|
84693
|
+
init_matchers();
|
|
84694
|
+
init_primitives();
|
|
84695
|
+
init_schemas4();
|
|
84696
|
+
init_security();
|
|
84697
|
+
init_url();
|
|
84698
|
+
init_components();
|
|
84699
|
+
init_errors4();
|
|
84700
|
+
init_operations();
|
|
84701
|
+
init_async();
|
|
84702
|
+
});
|
|
84703
|
+
|
|
84704
|
+
// src/mcp-server/tools/sessionsTimelineGetById.ts
|
|
84705
|
+
var args132, tool$sessionsTimelineGetById;
|
|
84706
|
+
var init_sessionsTimelineGetById2 = __esm(() => {
|
|
84707
|
+
init_sessionsTimelineGetById();
|
|
84708
|
+
init_operations();
|
|
84709
|
+
init_tools();
|
|
84710
|
+
args132 = {
|
|
84711
|
+
request: SessionTimelineGetByIdRequest$inboundSchema
|
|
84712
|
+
};
|
|
84713
|
+
tool$sessionsTimelineGetById = {
|
|
84714
|
+
name: "sessions-timeline-get-by-id",
|
|
84715
|
+
description: `Get Session Timeline By Id
|
|
84716
|
+
|
|
84717
|
+
Consolidated, time-ordered timeline of a session's events.`,
|
|
84718
|
+
args: args132,
|
|
84719
|
+
tool: async (client, args133, ctx) => {
|
|
84720
|
+
const [result, apiCall] = await sessionsTimelineGetById(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84721
|
+
if (!result.ok) {
|
|
84722
|
+
return {
|
|
84723
|
+
content: [{ type: "text", text: result.error.message }],
|
|
84724
|
+
isError: true
|
|
84725
|
+
};
|
|
84726
|
+
}
|
|
84727
|
+
const value = result.value;
|
|
84728
|
+
return formatResult(value, apiCall);
|
|
84729
|
+
}
|
|
84730
|
+
};
|
|
84731
|
+
});
|
|
84732
|
+
|
|
84733
|
+
// src/funcs/sessionsTranscriptGetById.ts
|
|
84734
|
+
function sessionsTranscriptGetById(client, request, options) {
|
|
84735
|
+
return new APIPromise($do149(client, request, options));
|
|
84736
|
+
}
|
|
84737
|
+
async function $do149(client, request, options) {
|
|
84502
84738
|
const parsed = safeParse4(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84503
84739
|
if (!parsed.ok) {
|
|
84504
84740
|
return [parsed, { status: "invalid" }];
|
|
@@ -84576,20 +84812,20 @@ var init_sessionsTranscriptGetById = __esm(() => {
|
|
|
84576
84812
|
});
|
|
84577
84813
|
|
|
84578
84814
|
// src/mcp-server/tools/sessionsTranscriptGetById.ts
|
|
84579
|
-
var
|
|
84815
|
+
var args133, tool$sessionsTranscriptGetById;
|
|
84580
84816
|
var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
84581
84817
|
init_sessionsTranscriptGetById();
|
|
84582
84818
|
init_operations();
|
|
84583
84819
|
init_tools();
|
|
84584
|
-
|
|
84820
|
+
args133 = {
|
|
84585
84821
|
request: SessionTranscriptGetByIdRequest$inboundSchema
|
|
84586
84822
|
};
|
|
84587
84823
|
tool$sessionsTranscriptGetById = {
|
|
84588
84824
|
name: "sessions-transcript-get-by-id",
|
|
84589
84825
|
description: `Get Session Transcript By Id`,
|
|
84590
|
-
args:
|
|
84591
|
-
tool: async (client,
|
|
84592
|
-
const [result, apiCall] = await sessionsTranscriptGetById(client,
|
|
84826
|
+
args: args133,
|
|
84827
|
+
tool: async (client, args134, ctx) => {
|
|
84828
|
+
const [result, apiCall] = await sessionsTranscriptGetById(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84593
84829
|
if (!result.ok) {
|
|
84594
84830
|
return {
|
|
84595
84831
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84604,9 +84840,9 @@ var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
|
84604
84840
|
|
|
84605
84841
|
// src/funcs/takeoutsCreate.ts
|
|
84606
84842
|
function takeoutsCreate(client, options) {
|
|
84607
|
-
return new APIPromise($
|
|
84843
|
+
return new APIPromise($do150(client, options));
|
|
84608
84844
|
}
|
|
84609
|
-
async function $
|
|
84845
|
+
async function $do150(client, options) {
|
|
84610
84846
|
const path = pathToFunc("/api/v1/takeouts/create")();
|
|
84611
84847
|
const headers = new Headers(compactMap({
|
|
84612
84848
|
Accept: "application/json"
|
|
@@ -84687,9 +84923,9 @@ var init_takeoutsCreate2 = __esm(() => {
|
|
|
84687
84923
|
|
|
84688
84924
|
// src/funcs/takeoutsTakeoutsGetByJobId.ts
|
|
84689
84925
|
function takeoutsTakeoutsGetByJobId(client, request, options) {
|
|
84690
|
-
return new APIPromise($
|
|
84926
|
+
return new APIPromise($do151(client, request, options));
|
|
84691
84927
|
}
|
|
84692
|
-
async function $
|
|
84928
|
+
async function $do151(client, request, options) {
|
|
84693
84929
|
const parsed = safeParse4(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84694
84930
|
if (!parsed.ok) {
|
|
84695
84931
|
return [parsed, { status: "invalid" }];
|
|
@@ -84767,20 +85003,20 @@ var init_takeoutsTakeoutsGetByJobId = __esm(() => {
|
|
|
84767
85003
|
});
|
|
84768
85004
|
|
|
84769
85005
|
// src/mcp-server/tools/takeoutsTakeoutsGetByJobId.ts
|
|
84770
|
-
var
|
|
85006
|
+
var args134, tool$takeoutsTakeoutsGetByJobId;
|
|
84771
85007
|
var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
84772
85008
|
init_takeoutsTakeoutsGetByJobId();
|
|
84773
85009
|
init_operations();
|
|
84774
85010
|
init_tools();
|
|
84775
|
-
|
|
85011
|
+
args134 = {
|
|
84776
85012
|
request: TakeoutsGetByJobIdRequest$inboundSchema
|
|
84777
85013
|
};
|
|
84778
85014
|
tool$takeoutsTakeoutsGetByJobId = {
|
|
84779
85015
|
name: "takeouts-takeouts-get-by-job-id",
|
|
84780
85016
|
description: `Get Takeout`,
|
|
84781
|
-
args:
|
|
84782
|
-
tool: async (client,
|
|
84783
|
-
const [result, apiCall] = await takeoutsTakeoutsGetByJobId(client,
|
|
85017
|
+
args: args134,
|
|
85018
|
+
tool: async (client, args135, ctx) => {
|
|
85019
|
+
const [result, apiCall] = await takeoutsTakeoutsGetByJobId(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84784
85020
|
if (!result.ok) {
|
|
84785
85021
|
return {
|
|
84786
85022
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84795,9 +85031,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
|
84795
85031
|
|
|
84796
85032
|
// src/funcs/takeoutsTakeoutsGetFile.ts
|
|
84797
85033
|
function takeoutsTakeoutsGetFile(client, request, options) {
|
|
84798
|
-
return new APIPromise($
|
|
85034
|
+
return new APIPromise($do152(client, request, options));
|
|
84799
85035
|
}
|
|
84800
|
-
async function $
|
|
85036
|
+
async function $do152(client, request, options) {
|
|
84801
85037
|
const parsed = safeParse4(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84802
85038
|
if (!parsed.ok) {
|
|
84803
85039
|
return [parsed, { status: "invalid" }];
|
|
@@ -84881,20 +85117,20 @@ var init_takeoutsTakeoutsGetFile = __esm(() => {
|
|
|
84881
85117
|
});
|
|
84882
85118
|
|
|
84883
85119
|
// src/mcp-server/tools/takeoutsTakeoutsGetFile.ts
|
|
84884
|
-
var
|
|
85120
|
+
var args135, tool$takeoutsTakeoutsGetFile;
|
|
84885
85121
|
var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
84886
85122
|
init_takeoutsTakeoutsGetFile();
|
|
84887
85123
|
init_operations();
|
|
84888
85124
|
init_tools();
|
|
84889
|
-
|
|
85125
|
+
args135 = {
|
|
84890
85126
|
request: TakeoutsGetFileRequest$inboundSchema
|
|
84891
85127
|
};
|
|
84892
85128
|
tool$takeoutsTakeoutsGetFile = {
|
|
84893
85129
|
name: "takeouts-takeouts-get-file",
|
|
84894
85130
|
description: `Get File`,
|
|
84895
|
-
args:
|
|
84896
|
-
tool: async (client,
|
|
84897
|
-
const [result, apiCall] = await takeoutsTakeoutsGetFile(client,
|
|
85131
|
+
args: args135,
|
|
85132
|
+
tool: async (client, args136, ctx) => {
|
|
85133
|
+
const [result, apiCall] = await takeoutsTakeoutsGetFile(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
84898
85134
|
if (!result.ok) {
|
|
84899
85135
|
return {
|
|
84900
85136
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -84909,9 +85145,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
|
84909
85145
|
|
|
84910
85146
|
// src/funcs/toolsCreate.ts
|
|
84911
85147
|
function toolsCreate(client, request, options) {
|
|
84912
|
-
return new APIPromise($
|
|
85148
|
+
return new APIPromise($do153(client, request, options));
|
|
84913
85149
|
}
|
|
84914
|
-
async function $
|
|
85150
|
+
async function $do153(client, request, options) {
|
|
84915
85151
|
const parsed = safeParse4(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
84916
85152
|
if (!parsed.ok) {
|
|
84917
85153
|
return [parsed, { status: "invalid" }];
|
|
@@ -84983,12 +85219,12 @@ var init_toolsCreate = __esm(() => {
|
|
|
84983
85219
|
});
|
|
84984
85220
|
|
|
84985
85221
|
// src/mcp-server/tools/toolsCreate.ts
|
|
84986
|
-
var
|
|
85222
|
+
var args136, tool$toolsCreate;
|
|
84987
85223
|
var init_toolsCreate2 = __esm(() => {
|
|
84988
85224
|
init_toolsCreate();
|
|
84989
85225
|
init_components();
|
|
84990
85226
|
init_tools();
|
|
84991
|
-
|
|
85227
|
+
args136 = {
|
|
84992
85228
|
request: ToolCreateRequest$inboundSchema
|
|
84993
85229
|
};
|
|
84994
85230
|
tool$toolsCreate = {
|
|
@@ -84996,9 +85232,9 @@ var init_toolsCreate2 = __esm(() => {
|
|
|
84996
85232
|
description: `Create Tool
|
|
84997
85233
|
|
|
84998
85234
|
Create a new tool`,
|
|
84999
|
-
args:
|
|
85000
|
-
tool: async (client,
|
|
85001
|
-
const [result, apiCall] = await toolsCreate(client,
|
|
85235
|
+
args: args136,
|
|
85236
|
+
tool: async (client, args137, ctx) => {
|
|
85237
|
+
const [result, apiCall] = await toolsCreate(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85002
85238
|
if (!result.ok) {
|
|
85003
85239
|
return {
|
|
85004
85240
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85013,9 +85249,9 @@ Create a new tool`,
|
|
|
85013
85249
|
|
|
85014
85250
|
// src/funcs/toolsDelete.ts
|
|
85015
85251
|
function toolsDelete(client, request, options) {
|
|
85016
|
-
return new APIPromise($
|
|
85252
|
+
return new APIPromise($do154(client, request, options));
|
|
85017
85253
|
}
|
|
85018
|
-
async function $
|
|
85254
|
+
async function $do154(client, request, options) {
|
|
85019
85255
|
const parsed = safeParse4(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85020
85256
|
if (!parsed.ok) {
|
|
85021
85257
|
return [parsed, { status: "invalid" }];
|
|
@@ -85097,12 +85333,12 @@ var init_toolsDelete = __esm(() => {
|
|
|
85097
85333
|
});
|
|
85098
85334
|
|
|
85099
85335
|
// src/mcp-server/tools/toolsDelete.ts
|
|
85100
|
-
var
|
|
85336
|
+
var args137, tool$toolsDelete;
|
|
85101
85337
|
var init_toolsDelete2 = __esm(() => {
|
|
85102
85338
|
init_toolsDelete();
|
|
85103
85339
|
init_operations();
|
|
85104
85340
|
init_tools();
|
|
85105
|
-
|
|
85341
|
+
args137 = {
|
|
85106
85342
|
request: ToolDeleteRequest$inboundSchema
|
|
85107
85343
|
};
|
|
85108
85344
|
tool$toolsDelete = {
|
|
@@ -85110,9 +85346,9 @@ var init_toolsDelete2 = __esm(() => {
|
|
|
85110
85346
|
description: `Delete Tool
|
|
85111
85347
|
|
|
85112
85348
|
Delete a tool.`,
|
|
85113
|
-
args:
|
|
85114
|
-
tool: async (client,
|
|
85115
|
-
const [result, apiCall] = await toolsDelete(client,
|
|
85349
|
+
args: args137,
|
|
85350
|
+
tool: async (client, args138, ctx) => {
|
|
85351
|
+
const [result, apiCall] = await toolsDelete(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85116
85352
|
if (!result.ok) {
|
|
85117
85353
|
return {
|
|
85118
85354
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85127,9 +85363,9 @@ Delete a tool.`,
|
|
|
85127
85363
|
|
|
85128
85364
|
// src/funcs/toolsGetByName.ts
|
|
85129
85365
|
function toolsGetByName(client, request, options) {
|
|
85130
|
-
return new APIPromise($
|
|
85366
|
+
return new APIPromise($do155(client, request, options));
|
|
85131
85367
|
}
|
|
85132
|
-
async function $
|
|
85368
|
+
async function $do155(client, request, options) {
|
|
85133
85369
|
const parsed = safeParse4(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85134
85370
|
if (!parsed.ok) {
|
|
85135
85371
|
return [parsed, { status: "invalid" }];
|
|
@@ -85207,12 +85443,12 @@ var init_toolsGetByName = __esm(() => {
|
|
|
85207
85443
|
});
|
|
85208
85444
|
|
|
85209
85445
|
// src/mcp-server/tools/toolsGetByName.ts
|
|
85210
|
-
var
|
|
85446
|
+
var args138, tool$toolsGetByName;
|
|
85211
85447
|
var init_toolsGetByName2 = __esm(() => {
|
|
85212
85448
|
init_toolsGetByName();
|
|
85213
85449
|
init_operations();
|
|
85214
85450
|
init_tools();
|
|
85215
|
-
|
|
85451
|
+
args138 = {
|
|
85216
85452
|
request: ToolGetByNameRequest$inboundSchema
|
|
85217
85453
|
};
|
|
85218
85454
|
tool$toolsGetByName = {
|
|
@@ -85220,9 +85456,9 @@ var init_toolsGetByName2 = __esm(() => {
|
|
|
85220
85456
|
description: `Tool Info
|
|
85221
85457
|
|
|
85222
85458
|
Get the details of a specific tool`,
|
|
85223
|
-
args:
|
|
85224
|
-
tool: async (client,
|
|
85225
|
-
const [result, apiCall] = await toolsGetByName(client,
|
|
85459
|
+
args: args138,
|
|
85460
|
+
tool: async (client, args139, ctx) => {
|
|
85461
|
+
const [result, apiCall] = await toolsGetByName(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85226
85462
|
if (!result.ok) {
|
|
85227
85463
|
return {
|
|
85228
85464
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85237,9 +85473,9 @@ Get the details of a specific tool`,
|
|
|
85237
85473
|
|
|
85238
85474
|
// src/funcs/toolsList.ts
|
|
85239
85475
|
function toolsList(client, request, options) {
|
|
85240
|
-
return new APIPromise($
|
|
85476
|
+
return new APIPromise($do156(client, request, options));
|
|
85241
85477
|
}
|
|
85242
|
-
async function $
|
|
85478
|
+
async function $do156(client, request, options) {
|
|
85243
85479
|
const parsed = safeParse4(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85244
85480
|
if (!parsed.ok) {
|
|
85245
85481
|
return [parsed, { status: "invalid" }];
|
|
@@ -85323,12 +85559,12 @@ var init_toolsList = __esm(() => {
|
|
|
85323
85559
|
});
|
|
85324
85560
|
|
|
85325
85561
|
// src/mcp-server/tools/toolsList.ts
|
|
85326
|
-
var
|
|
85562
|
+
var args139, tool$toolsList;
|
|
85327
85563
|
var init_toolsList2 = __esm(() => {
|
|
85328
85564
|
init_toolsList();
|
|
85329
85565
|
init_operations();
|
|
85330
85566
|
init_tools();
|
|
85331
|
-
|
|
85567
|
+
args139 = {
|
|
85332
85568
|
request: ToolListRequest$inboundSchema
|
|
85333
85569
|
};
|
|
85334
85570
|
tool$toolsList = {
|
|
@@ -85336,9 +85572,9 @@ var init_toolsList2 = __esm(() => {
|
|
|
85336
85572
|
description: `Tool List
|
|
85337
85573
|
|
|
85338
85574
|
List the existing tools`,
|
|
85339
|
-
args:
|
|
85340
|
-
tool: async (client,
|
|
85341
|
-
const [result, apiCall] = await toolsList(client,
|
|
85575
|
+
args: args139,
|
|
85576
|
+
tool: async (client, args140, ctx) => {
|
|
85577
|
+
const [result, apiCall] = await toolsList(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85342
85578
|
if (!result.ok) {
|
|
85343
85579
|
return {
|
|
85344
85580
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85353,9 +85589,9 @@ List the existing tools`,
|
|
|
85353
85589
|
|
|
85354
85590
|
// src/funcs/toolsToolHistory.ts
|
|
85355
85591
|
function toolsToolHistory(client, request, options) {
|
|
85356
|
-
return new APIPromise($
|
|
85592
|
+
return new APIPromise($do157(client, request, options));
|
|
85357
85593
|
}
|
|
85358
|
-
async function $
|
|
85594
|
+
async function $do157(client, request, options) {
|
|
85359
85595
|
const parsed = safeParse4(request, (value) => ToolHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85360
85596
|
if (!parsed.ok) {
|
|
85361
85597
|
return [parsed, { status: "invalid" }];
|
|
@@ -85439,12 +85675,12 @@ var init_toolsToolHistory = __esm(() => {
|
|
|
85439
85675
|
});
|
|
85440
85676
|
|
|
85441
85677
|
// src/mcp-server/tools/toolsToolHistory.ts
|
|
85442
|
-
var
|
|
85678
|
+
var args140, tool$toolsToolHistory;
|
|
85443
85679
|
var init_toolsToolHistory2 = __esm(() => {
|
|
85444
85680
|
init_toolsToolHistory();
|
|
85445
85681
|
init_operations();
|
|
85446
85682
|
init_tools();
|
|
85447
|
-
|
|
85683
|
+
args140 = {
|
|
85448
85684
|
request: ToolHistoryRequest$inboundSchema
|
|
85449
85685
|
};
|
|
85450
85686
|
tool$toolsToolHistory = {
|
|
@@ -85452,9 +85688,9 @@ var init_toolsToolHistory2 = __esm(() => {
|
|
|
85452
85688
|
description: `Tool History
|
|
85453
85689
|
|
|
85454
85690
|
Get version history for a tool.`,
|
|
85455
|
-
args:
|
|
85456
|
-
tool: async (client,
|
|
85457
|
-
const [result, apiCall] = await toolsToolHistory(client,
|
|
85691
|
+
args: args140,
|
|
85692
|
+
tool: async (client, args141, ctx) => {
|
|
85693
|
+
const [result, apiCall] = await toolsToolHistory(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85458
85694
|
if (!result.ok) {
|
|
85459
85695
|
return {
|
|
85460
85696
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85469,9 +85705,9 @@ Get version history for a tool.`,
|
|
|
85469
85705
|
|
|
85470
85706
|
// src/funcs/toolsUpdate.ts
|
|
85471
85707
|
function toolsUpdate(client, request, options) {
|
|
85472
|
-
return new APIPromise($
|
|
85708
|
+
return new APIPromise($do158(client, request, options));
|
|
85473
85709
|
}
|
|
85474
|
-
async function $
|
|
85710
|
+
async function $do158(client, request, options) {
|
|
85475
85711
|
const parsed = safeParse4(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85476
85712
|
if (!parsed.ok) {
|
|
85477
85713
|
return [parsed, { status: "invalid" }];
|
|
@@ -85543,12 +85779,12 @@ var init_toolsUpdate = __esm(() => {
|
|
|
85543
85779
|
});
|
|
85544
85780
|
|
|
85545
85781
|
// src/mcp-server/tools/toolsUpdate.ts
|
|
85546
|
-
var
|
|
85782
|
+
var args141, tool$toolsUpdate;
|
|
85547
85783
|
var init_toolsUpdate2 = __esm(() => {
|
|
85548
85784
|
init_toolsUpdate();
|
|
85549
85785
|
init_components();
|
|
85550
85786
|
init_tools();
|
|
85551
|
-
|
|
85787
|
+
args141 = {
|
|
85552
85788
|
request: ToolUpdateRequest$inboundSchema
|
|
85553
85789
|
};
|
|
85554
85790
|
tool$toolsUpdate = {
|
|
@@ -85556,9 +85792,9 @@ var init_toolsUpdate2 = __esm(() => {
|
|
|
85556
85792
|
description: `Update Tool
|
|
85557
85793
|
|
|
85558
85794
|
Update an existing tool`,
|
|
85559
|
-
args:
|
|
85560
|
-
tool: async (client,
|
|
85561
|
-
const [result, apiCall] = await toolsUpdate(client,
|
|
85795
|
+
args: args141,
|
|
85796
|
+
tool: async (client, args142, ctx) => {
|
|
85797
|
+
const [result, apiCall] = await toolsUpdate(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85562
85798
|
if (!result.ok) {
|
|
85563
85799
|
return {
|
|
85564
85800
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85573,9 +85809,9 @@ Update an existing tool`,
|
|
|
85573
85809
|
|
|
85574
85810
|
// src/funcs/usersCreate.ts
|
|
85575
85811
|
function usersCreate(client, request, options) {
|
|
85576
|
-
return new APIPromise($
|
|
85812
|
+
return new APIPromise($do159(client, request, options));
|
|
85577
85813
|
}
|
|
85578
|
-
async function $
|
|
85814
|
+
async function $do159(client, request, options) {
|
|
85579
85815
|
const parsed = safeParse4(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85580
85816
|
if (!parsed.ok) {
|
|
85581
85817
|
return [parsed, { status: "invalid" }];
|
|
@@ -85647,12 +85883,12 @@ var init_usersCreate = __esm(() => {
|
|
|
85647
85883
|
});
|
|
85648
85884
|
|
|
85649
85885
|
// src/mcp-server/tools/usersCreate.ts
|
|
85650
|
-
var
|
|
85886
|
+
var args142, tool$usersCreate;
|
|
85651
85887
|
var init_usersCreate2 = __esm(() => {
|
|
85652
85888
|
init_usersCreate();
|
|
85653
85889
|
init_components();
|
|
85654
85890
|
init_tools();
|
|
85655
|
-
|
|
85891
|
+
args142 = {
|
|
85656
85892
|
request: UserCreateRequest$inboundSchema
|
|
85657
85893
|
};
|
|
85658
85894
|
tool$usersCreate = {
|
|
@@ -85660,9 +85896,9 @@ var init_usersCreate2 = __esm(() => {
|
|
|
85660
85896
|
description: `Create User
|
|
85661
85897
|
|
|
85662
85898
|
Create a new user.`,
|
|
85663
|
-
args:
|
|
85664
|
-
tool: async (client,
|
|
85665
|
-
const [result, apiCall] = await usersCreate(client,
|
|
85899
|
+
args: args142,
|
|
85900
|
+
tool: async (client, args143, ctx) => {
|
|
85901
|
+
const [result, apiCall] = await usersCreate(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85666
85902
|
if (!result.ok) {
|
|
85667
85903
|
return {
|
|
85668
85904
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85677,9 +85913,9 @@ Create a new user.`,
|
|
|
85677
85913
|
|
|
85678
85914
|
// src/funcs/usersDelete.ts
|
|
85679
85915
|
function usersDelete(client, request, options) {
|
|
85680
|
-
return new APIPromise($
|
|
85916
|
+
return new APIPromise($do160(client, request, options));
|
|
85681
85917
|
}
|
|
85682
|
-
async function $
|
|
85918
|
+
async function $do160(client, request, options) {
|
|
85683
85919
|
const parsed = safeParse4(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85684
85920
|
if (!parsed.ok) {
|
|
85685
85921
|
return [parsed, { status: "invalid" }];
|
|
@@ -85752,12 +85988,12 @@ var init_usersDelete = __esm(() => {
|
|
|
85752
85988
|
});
|
|
85753
85989
|
|
|
85754
85990
|
// src/mcp-server/tools/usersDelete.ts
|
|
85755
|
-
var
|
|
85991
|
+
var args143, tool$usersDelete;
|
|
85756
85992
|
var init_usersDelete2 = __esm(() => {
|
|
85757
85993
|
init_usersDelete();
|
|
85758
85994
|
init_components();
|
|
85759
85995
|
init_tools();
|
|
85760
|
-
|
|
85996
|
+
args143 = {
|
|
85761
85997
|
request: UserDeleteRequest$inboundSchema
|
|
85762
85998
|
};
|
|
85763
85999
|
tool$usersDelete = {
|
|
@@ -85765,9 +86001,9 @@ var init_usersDelete2 = __esm(() => {
|
|
|
85765
86001
|
description: `Delete User
|
|
85766
86002
|
|
|
85767
86003
|
Delete a user.`,
|
|
85768
|
-
args:
|
|
85769
|
-
tool: async (client,
|
|
85770
|
-
const [result, apiCall] = await usersDelete(client,
|
|
86004
|
+
args: args143,
|
|
86005
|
+
tool: async (client, args144, ctx) => {
|
|
86006
|
+
const [result, apiCall] = await usersDelete(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85771
86007
|
if (!result.ok) {
|
|
85772
86008
|
return {
|
|
85773
86009
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85782,9 +86018,9 @@ Delete a user.`,
|
|
|
85782
86018
|
|
|
85783
86019
|
// src/funcs/usersList.ts
|
|
85784
86020
|
function usersList(client, request, options) {
|
|
85785
|
-
return new APIPromise($
|
|
86021
|
+
return new APIPromise($do161(client, request, options));
|
|
85786
86022
|
}
|
|
85787
|
-
async function $
|
|
86023
|
+
async function $do161(client, request, options) {
|
|
85788
86024
|
const parsed = safeParse4(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85789
86025
|
if (!parsed.ok) {
|
|
85790
86026
|
return [parsed, { status: "invalid" }];
|
|
@@ -85868,12 +86104,12 @@ var init_usersList = __esm(() => {
|
|
|
85868
86104
|
});
|
|
85869
86105
|
|
|
85870
86106
|
// src/mcp-server/tools/usersList.ts
|
|
85871
|
-
var
|
|
86107
|
+
var args144, tool$usersList;
|
|
85872
86108
|
var init_usersList2 = __esm(() => {
|
|
85873
86109
|
init_usersList();
|
|
85874
86110
|
init_operations();
|
|
85875
86111
|
init_tools();
|
|
85876
|
-
|
|
86112
|
+
args144 = {
|
|
85877
86113
|
request: UsersListRequest$inboundSchema
|
|
85878
86114
|
};
|
|
85879
86115
|
tool$usersList = {
|
|
@@ -85881,9 +86117,9 @@ var init_usersList2 = __esm(() => {
|
|
|
85881
86117
|
description: `List Users
|
|
85882
86118
|
|
|
85883
86119
|
List the existing users.`,
|
|
85884
|
-
args:
|
|
85885
|
-
tool: async (client,
|
|
85886
|
-
const [result, apiCall] = await usersList(client,
|
|
86120
|
+
args: args144,
|
|
86121
|
+
tool: async (client, args145, ctx) => {
|
|
86122
|
+
const [result, apiCall] = await usersList(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85887
86123
|
if (!result.ok) {
|
|
85888
86124
|
return {
|
|
85889
86125
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -85898,9 +86134,9 @@ List the existing users.`,
|
|
|
85898
86134
|
|
|
85899
86135
|
// src/funcs/usersUpdate.ts
|
|
85900
86136
|
function usersUpdate(client, request, options) {
|
|
85901
|
-
return new APIPromise($
|
|
86137
|
+
return new APIPromise($do162(client, request, options));
|
|
85902
86138
|
}
|
|
85903
|
-
async function $
|
|
86139
|
+
async function $do162(client, request, options) {
|
|
85904
86140
|
const parsed = safeParse4(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
85905
86141
|
if (!parsed.ok) {
|
|
85906
86142
|
return [parsed, { status: "invalid" }];
|
|
@@ -85972,12 +86208,12 @@ var init_usersUpdate = __esm(() => {
|
|
|
85972
86208
|
});
|
|
85973
86209
|
|
|
85974
86210
|
// src/mcp-server/tools/usersUpdate.ts
|
|
85975
|
-
var
|
|
86211
|
+
var args145, tool$usersUpdate;
|
|
85976
86212
|
var init_usersUpdate2 = __esm(() => {
|
|
85977
86213
|
init_usersUpdate();
|
|
85978
86214
|
init_components();
|
|
85979
86215
|
init_tools();
|
|
85980
|
-
|
|
86216
|
+
args145 = {
|
|
85981
86217
|
request: UserUpdateRequest$inboundSchema
|
|
85982
86218
|
};
|
|
85983
86219
|
tool$usersUpdate = {
|
|
@@ -85985,9 +86221,9 @@ var init_usersUpdate2 = __esm(() => {
|
|
|
85985
86221
|
description: `Update User
|
|
85986
86222
|
|
|
85987
86223
|
Update an existing user.`,
|
|
85988
|
-
args:
|
|
85989
|
-
tool: async (client,
|
|
85990
|
-
const [result, apiCall] = await usersUpdate(client,
|
|
86224
|
+
args: args145,
|
|
86225
|
+
tool: async (client, args146, ctx) => {
|
|
86226
|
+
const [result, apiCall] = await usersUpdate(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
85991
86227
|
if (!result.ok) {
|
|
85992
86228
|
return {
|
|
85993
86229
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86002,9 +86238,9 @@ Update an existing user.`,
|
|
|
86002
86238
|
|
|
86003
86239
|
// src/funcs/usersUsersDeleteAccount.ts
|
|
86004
86240
|
function usersUsersDeleteAccount(client, options) {
|
|
86005
|
-
return new APIPromise($
|
|
86241
|
+
return new APIPromise($do163(client, options));
|
|
86006
86242
|
}
|
|
86007
|
-
async function $
|
|
86243
|
+
async function $do163(client, options) {
|
|
86008
86244
|
const path = pathToFunc("/api/v1/users/delete_account")();
|
|
86009
86245
|
const headers = new Headers(compactMap({
|
|
86010
86246
|
Accept: "application/json"
|
|
@@ -86088,9 +86324,9 @@ accounts.`,
|
|
|
86088
86324
|
|
|
86089
86325
|
// src/funcs/usersUsersGetByEmail.ts
|
|
86090
86326
|
function usersUsersGetByEmail(client, request, options) {
|
|
86091
|
-
return new APIPromise($
|
|
86327
|
+
return new APIPromise($do164(client, request, options));
|
|
86092
86328
|
}
|
|
86093
|
-
async function $
|
|
86329
|
+
async function $do164(client, request, options) {
|
|
86094
86330
|
const parsed = safeParse4(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
86095
86331
|
if (!parsed.ok) {
|
|
86096
86332
|
return [parsed, { status: "invalid" }];
|
|
@@ -86168,12 +86404,12 @@ var init_usersUsersGetByEmail = __esm(() => {
|
|
|
86168
86404
|
});
|
|
86169
86405
|
|
|
86170
86406
|
// src/mcp-server/tools/usersUsersGetByEmail.ts
|
|
86171
|
-
var
|
|
86407
|
+
var args146, tool$usersUsersGetByEmail;
|
|
86172
86408
|
var init_usersUsersGetByEmail2 = __esm(() => {
|
|
86173
86409
|
init_usersUsersGetByEmail();
|
|
86174
86410
|
init_operations();
|
|
86175
86411
|
init_tools();
|
|
86176
|
-
|
|
86412
|
+
args146 = {
|
|
86177
86413
|
request: UsersGetByEmailRequest$inboundSchema
|
|
86178
86414
|
};
|
|
86179
86415
|
tool$usersUsersGetByEmail = {
|
|
@@ -86181,9 +86417,9 @@ var init_usersUsersGetByEmail2 = __esm(() => {
|
|
|
86181
86417
|
description: `Get User
|
|
86182
86418
|
|
|
86183
86419
|
Fetch a given user.`,
|
|
86184
|
-
args:
|
|
86185
|
-
tool: async (client,
|
|
86186
|
-
const [result, apiCall] = await usersUsersGetByEmail(client,
|
|
86420
|
+
args: args146,
|
|
86421
|
+
tool: async (client, args147, ctx) => {
|
|
86422
|
+
const [result, apiCall] = await usersUsersGetByEmail(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86187
86423
|
if (!result.ok) {
|
|
86188
86424
|
return {
|
|
86189
86425
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86198,9 +86434,9 @@ Fetch a given user.`,
|
|
|
86198
86434
|
|
|
86199
86435
|
// src/funcs/usersUsersSendEmail.ts
|
|
86200
86436
|
function usersUsersSendEmail(client, request, options) {
|
|
86201
|
-
return new APIPromise($
|
|
86437
|
+
return new APIPromise($do165(client, request, options));
|
|
86202
86438
|
}
|
|
86203
|
-
async function $
|
|
86439
|
+
async function $do165(client, request, options) {
|
|
86204
86440
|
const parsed = safeParse4(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
86205
86441
|
if (!parsed.ok) {
|
|
86206
86442
|
return [parsed, { status: "invalid" }];
|
|
@@ -86282,12 +86518,12 @@ var init_usersUsersSendEmail = __esm(() => {
|
|
|
86282
86518
|
});
|
|
86283
86519
|
|
|
86284
86520
|
// src/mcp-server/tools/usersUsersSendEmail.ts
|
|
86285
|
-
var
|
|
86521
|
+
var args147, tool$usersUsersSendEmail;
|
|
86286
86522
|
var init_usersUsersSendEmail2 = __esm(() => {
|
|
86287
86523
|
init_usersUsersSendEmail();
|
|
86288
86524
|
init_operations();
|
|
86289
86525
|
init_tools();
|
|
86290
|
-
|
|
86526
|
+
args147 = {
|
|
86291
86527
|
request: UsersSendEmailRequest$inboundSchema
|
|
86292
86528
|
};
|
|
86293
86529
|
tool$usersUsersSendEmail = {
|
|
@@ -86295,9 +86531,9 @@ var init_usersUsersSendEmail2 = __esm(() => {
|
|
|
86295
86531
|
description: `Send User Email
|
|
86296
86532
|
|
|
86297
86533
|
Send a welcome email to a user.`,
|
|
86298
|
-
args:
|
|
86299
|
-
tool: async (client,
|
|
86300
|
-
const [result, apiCall] = await usersUsersSendEmail(client,
|
|
86534
|
+
args: args147,
|
|
86535
|
+
tool: async (client, args148, ctx) => {
|
|
86536
|
+
const [result, apiCall] = await usersUsersSendEmail(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86301
86537
|
if (!result.ok) {
|
|
86302
86538
|
return {
|
|
86303
86539
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86312,9 +86548,9 @@ Send a welcome email to a user.`,
|
|
|
86312
86548
|
|
|
86313
86549
|
// src/funcs/voiceGroupsCreate.ts
|
|
86314
86550
|
function voiceGroupsCreate(client, request, options) {
|
|
86315
|
-
return new APIPromise($
|
|
86551
|
+
return new APIPromise($do166(client, request, options));
|
|
86316
86552
|
}
|
|
86317
|
-
async function $
|
|
86553
|
+
async function $do166(client, request, options) {
|
|
86318
86554
|
const parsed = safeParse4(request, (value) => VoiceGroupCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
86319
86555
|
if (!parsed.ok) {
|
|
86320
86556
|
return [parsed, { status: "invalid" }];
|
|
@@ -86386,12 +86622,12 @@ var init_voiceGroupsCreate = __esm(() => {
|
|
|
86386
86622
|
});
|
|
86387
86623
|
|
|
86388
86624
|
// src/mcp-server/tools/voiceGroupsCreate.ts
|
|
86389
|
-
var
|
|
86625
|
+
var args148, tool$voiceGroupsCreate;
|
|
86390
86626
|
var init_voiceGroupsCreate2 = __esm(() => {
|
|
86391
86627
|
init_voiceGroupsCreate();
|
|
86392
86628
|
init_components();
|
|
86393
86629
|
init_tools();
|
|
86394
|
-
|
|
86630
|
+
args148 = {
|
|
86395
86631
|
request: VoiceGroupCreateRequest$inboundSchema
|
|
86396
86632
|
};
|
|
86397
86633
|
tool$voiceGroupsCreate = {
|
|
@@ -86399,9 +86635,9 @@ var init_voiceGroupsCreate2 = __esm(() => {
|
|
|
86399
86635
|
description: `Create Voice Group
|
|
86400
86636
|
|
|
86401
86637
|
Create a new voice group.`,
|
|
86402
|
-
args:
|
|
86403
|
-
tool: async (client,
|
|
86404
|
-
const [result, apiCall] = await voiceGroupsCreate(client,
|
|
86638
|
+
args: args148,
|
|
86639
|
+
tool: async (client, args149, ctx) => {
|
|
86640
|
+
const [result, apiCall] = await voiceGroupsCreate(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86405
86641
|
if (!result.ok) {
|
|
86406
86642
|
return {
|
|
86407
86643
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86416,9 +86652,9 @@ Create a new voice group.`,
|
|
|
86416
86652
|
|
|
86417
86653
|
// src/funcs/voiceGroupsDelete.ts
|
|
86418
86654
|
function voiceGroupsDelete(client, request, options) {
|
|
86419
|
-
return new APIPromise($
|
|
86655
|
+
return new APIPromise($do167(client, request, options));
|
|
86420
86656
|
}
|
|
86421
|
-
async function $
|
|
86657
|
+
async function $do167(client, request, options) {
|
|
86422
86658
|
const parsed = safeParse4(request, (value) => VoiceGroupsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
86423
86659
|
if (!parsed.ok) {
|
|
86424
86660
|
return [parsed, { status: "invalid" }];
|
|
@@ -86500,12 +86736,12 @@ var init_voiceGroupsDelete = __esm(() => {
|
|
|
86500
86736
|
});
|
|
86501
86737
|
|
|
86502
86738
|
// src/mcp-server/tools/voiceGroupsDelete.ts
|
|
86503
|
-
var
|
|
86739
|
+
var args149, tool$voiceGroupsDelete;
|
|
86504
86740
|
var init_voiceGroupsDelete2 = __esm(() => {
|
|
86505
86741
|
init_voiceGroupsDelete();
|
|
86506
86742
|
init_operations();
|
|
86507
86743
|
init_tools();
|
|
86508
|
-
|
|
86744
|
+
args149 = {
|
|
86509
86745
|
request: VoiceGroupsDeleteRequest$inboundSchema
|
|
86510
86746
|
};
|
|
86511
86747
|
tool$voiceGroupsDelete = {
|
|
@@ -86513,9 +86749,9 @@ var init_voiceGroupsDelete2 = __esm(() => {
|
|
|
86513
86749
|
description: `Delete Voice Group
|
|
86514
86750
|
|
|
86515
86751
|
Delete a voice group.`,
|
|
86516
|
-
args:
|
|
86517
|
-
tool: async (client,
|
|
86518
|
-
const [result, apiCall] = await voiceGroupsDelete(client,
|
|
86752
|
+
args: args149,
|
|
86753
|
+
tool: async (client, args150, ctx) => {
|
|
86754
|
+
const [result, apiCall] = await voiceGroupsDelete(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86519
86755
|
if (!result.ok) {
|
|
86520
86756
|
return {
|
|
86521
86757
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86530,9 +86766,9 @@ Delete a voice group.`,
|
|
|
86530
86766
|
|
|
86531
86767
|
// src/funcs/voiceGroupsGetById.ts
|
|
86532
86768
|
function voiceGroupsGetById(client, request, options) {
|
|
86533
|
-
return new APIPromise($
|
|
86769
|
+
return new APIPromise($do168(client, request, options));
|
|
86534
86770
|
}
|
|
86535
|
-
async function $
|
|
86771
|
+
async function $do168(client, request, options) {
|
|
86536
86772
|
const parsed = safeParse4(request, (value) => VoiceGroupsGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
86537
86773
|
if (!parsed.ok) {
|
|
86538
86774
|
return [parsed, { status: "invalid" }];
|
|
@@ -86610,12 +86846,12 @@ var init_voiceGroupsGetById = __esm(() => {
|
|
|
86610
86846
|
});
|
|
86611
86847
|
|
|
86612
86848
|
// src/mcp-server/tools/voiceGroupsGetById.ts
|
|
86613
|
-
var
|
|
86849
|
+
var args150, tool$voiceGroupsGetById;
|
|
86614
86850
|
var init_voiceGroupsGetById2 = __esm(() => {
|
|
86615
86851
|
init_voiceGroupsGetById();
|
|
86616
86852
|
init_operations();
|
|
86617
86853
|
init_tools();
|
|
86618
|
-
|
|
86854
|
+
args150 = {
|
|
86619
86855
|
request: VoiceGroupsGetByIdRequest$inboundSchema
|
|
86620
86856
|
};
|
|
86621
86857
|
tool$voiceGroupsGetById = {
|
|
@@ -86623,9 +86859,9 @@ var init_voiceGroupsGetById2 = __esm(() => {
|
|
|
86623
86859
|
description: `Get Voice Group
|
|
86624
86860
|
|
|
86625
86861
|
Fetch a given voice group.`,
|
|
86626
|
-
args:
|
|
86627
|
-
tool: async (client,
|
|
86628
|
-
const [result, apiCall] = await voiceGroupsGetById(client,
|
|
86862
|
+
args: args150,
|
|
86863
|
+
tool: async (client, args151, ctx) => {
|
|
86864
|
+
const [result, apiCall] = await voiceGroupsGetById(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86629
86865
|
if (!result.ok) {
|
|
86630
86866
|
return {
|
|
86631
86867
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86640,9 +86876,9 @@ Fetch a given voice group.`,
|
|
|
86640
86876
|
|
|
86641
86877
|
// src/funcs/voiceGroupsList.ts
|
|
86642
86878
|
function voiceGroupsList(client, request, options) {
|
|
86643
|
-
return new APIPromise($
|
|
86879
|
+
return new APIPromise($do169(client, request, options));
|
|
86644
86880
|
}
|
|
86645
|
-
async function $
|
|
86881
|
+
async function $do169(client, request, options) {
|
|
86646
86882
|
const parsed = safeParse4(request, (value) => VoiceGroupsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
86647
86883
|
if (!parsed.ok) {
|
|
86648
86884
|
return [parsed, { status: "invalid" }];
|
|
@@ -86726,12 +86962,12 @@ var init_voiceGroupsList = __esm(() => {
|
|
|
86726
86962
|
});
|
|
86727
86963
|
|
|
86728
86964
|
// src/mcp-server/tools/voiceGroupsList.ts
|
|
86729
|
-
var
|
|
86965
|
+
var args151, tool$voiceGroupsList;
|
|
86730
86966
|
var init_voiceGroupsList2 = __esm(() => {
|
|
86731
86967
|
init_voiceGroupsList();
|
|
86732
86968
|
init_operations();
|
|
86733
86969
|
init_tools();
|
|
86734
|
-
|
|
86970
|
+
args151 = {
|
|
86735
86971
|
request: VoiceGroupsListRequest$inboundSchema
|
|
86736
86972
|
};
|
|
86737
86973
|
tool$voiceGroupsList = {
|
|
@@ -86739,9 +86975,9 @@ var init_voiceGroupsList2 = __esm(() => {
|
|
|
86739
86975
|
description: `List Voice Groups
|
|
86740
86976
|
|
|
86741
86977
|
Fetch voice groups.`,
|
|
86742
|
-
args:
|
|
86743
|
-
tool: async (client,
|
|
86744
|
-
const [result, apiCall] = await voiceGroupsList(client,
|
|
86978
|
+
args: args151,
|
|
86979
|
+
tool: async (client, args152, ctx) => {
|
|
86980
|
+
const [result, apiCall] = await voiceGroupsList(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86745
86981
|
if (!result.ok) {
|
|
86746
86982
|
return {
|
|
86747
86983
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86756,9 +86992,9 @@ Fetch voice groups.`,
|
|
|
86756
86992
|
|
|
86757
86993
|
// src/funcs/voiceGroupsUpdate.ts
|
|
86758
86994
|
function voiceGroupsUpdate(client, request, options) {
|
|
86759
|
-
return new APIPromise($
|
|
86995
|
+
return new APIPromise($do170(client, request, options));
|
|
86760
86996
|
}
|
|
86761
|
-
async function $
|
|
86997
|
+
async function $do170(client, request, options) {
|
|
86762
86998
|
const parsed = safeParse4(request, (value) => VoiceGroupUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
86763
86999
|
if (!parsed.ok) {
|
|
86764
87000
|
return [parsed, { status: "invalid" }];
|
|
@@ -86830,12 +87066,12 @@ var init_voiceGroupsUpdate = __esm(() => {
|
|
|
86830
87066
|
});
|
|
86831
87067
|
|
|
86832
87068
|
// src/mcp-server/tools/voiceGroupsUpdate.ts
|
|
86833
|
-
var
|
|
87069
|
+
var args152, tool$voiceGroupsUpdate;
|
|
86834
87070
|
var init_voiceGroupsUpdate2 = __esm(() => {
|
|
86835
87071
|
init_voiceGroupsUpdate();
|
|
86836
87072
|
init_components();
|
|
86837
87073
|
init_tools();
|
|
86838
|
-
|
|
87074
|
+
args152 = {
|
|
86839
87075
|
request: VoiceGroupUpdateRequest$inboundSchema
|
|
86840
87076
|
};
|
|
86841
87077
|
tool$voiceGroupsUpdate = {
|
|
@@ -86843,9 +87079,9 @@ var init_voiceGroupsUpdate2 = __esm(() => {
|
|
|
86843
87079
|
description: `Update Voice Group
|
|
86844
87080
|
|
|
86845
87081
|
Update an existing voice group`,
|
|
86846
|
-
args:
|
|
86847
|
-
tool: async (client,
|
|
86848
|
-
const [result, apiCall] = await voiceGroupsUpdate(client,
|
|
87082
|
+
args: args152,
|
|
87083
|
+
tool: async (client, args153, ctx) => {
|
|
87084
|
+
const [result, apiCall] = await voiceGroupsUpdate(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86849
87085
|
if (!result.ok) {
|
|
86850
87086
|
return {
|
|
86851
87087
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86860,9 +87096,9 @@ Update an existing voice group`,
|
|
|
86860
87096
|
|
|
86861
87097
|
// src/funcs/voiceGroupsVoiceGroupsCreateVoiceSample.ts
|
|
86862
87098
|
function voiceGroupsVoiceGroupsCreateVoiceSample(client, request, options) {
|
|
86863
|
-
return new APIPromise($
|
|
87099
|
+
return new APIPromise($do171(client, request, options));
|
|
86864
87100
|
}
|
|
86865
|
-
async function $
|
|
87101
|
+
async function $do171(client, request, options) {
|
|
86866
87102
|
const parsed = safeParse4(request, (value) => VoiceSampleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
86867
87103
|
if (!parsed.ok) {
|
|
86868
87104
|
return [parsed, { status: "invalid" }];
|
|
@@ -86935,12 +87171,12 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample = __esm(() => {
|
|
|
86935
87171
|
});
|
|
86936
87172
|
|
|
86937
87173
|
// src/mcp-server/tools/voiceGroupsVoiceGroupsCreateVoiceSample.ts
|
|
86938
|
-
var
|
|
87174
|
+
var args153, tool$voiceGroupsVoiceGroupsCreateVoiceSample;
|
|
86939
87175
|
var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
86940
87176
|
init_voiceGroupsVoiceGroupsCreateVoiceSample();
|
|
86941
87177
|
init_components();
|
|
86942
87178
|
init_tools();
|
|
86943
|
-
|
|
87179
|
+
args153 = {
|
|
86944
87180
|
request: VoiceSampleCreateRequest$inboundSchema
|
|
86945
87181
|
};
|
|
86946
87182
|
tool$voiceGroupsVoiceGroupsCreateVoiceSample = {
|
|
@@ -86948,9 +87184,9 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
|
86948
87184
|
description: `Create Voice Sample
|
|
86949
87185
|
|
|
86950
87186
|
Generate voice sample.`,
|
|
86951
|
-
args:
|
|
86952
|
-
tool: async (client,
|
|
86953
|
-
const [result, apiCall] = await voiceGroupsVoiceGroupsCreateVoiceSample(client,
|
|
87187
|
+
args: args153,
|
|
87188
|
+
tool: async (client, args154, ctx) => {
|
|
87189
|
+
const [result, apiCall] = await voiceGroupsVoiceGroupsCreateVoiceSample(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
86954
87190
|
if (!result.ok) {
|
|
86955
87191
|
return {
|
|
86956
87192
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -86967,7 +87203,7 @@ Generate voice sample.`,
|
|
|
86967
87203
|
function createMCPServer(deps) {
|
|
86968
87204
|
const server = new McpServer({
|
|
86969
87205
|
name: "SyllableSDK",
|
|
86970
|
-
version: "1.0.
|
|
87206
|
+
version: "1.0.49-rc.2"
|
|
86971
87207
|
});
|
|
86972
87208
|
const client = new SyllableSDKCore({
|
|
86973
87209
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -87129,6 +87365,7 @@ function createMCPServer(deps) {
|
|
|
87129
87365
|
tool(tool$sessionsTranscriptGetById);
|
|
87130
87366
|
tool(tool$sessionsFullSummaryGetById);
|
|
87131
87367
|
tool(tool$sessionsLatencyGetById);
|
|
87368
|
+
tool(tool$sessionsTimelineGetById);
|
|
87132
87369
|
tool(tool$organizationsSipIpRangesList);
|
|
87133
87370
|
tool(tool$organizationsSipIpRangesCreate);
|
|
87134
87371
|
tool(tool$organizationsSipIpRangesUpdate);
|
|
@@ -87305,6 +87542,7 @@ var init_server2 = __esm(() => {
|
|
|
87305
87542
|
init_sessionsLatencyGetById2();
|
|
87306
87543
|
init_sessionsList2();
|
|
87307
87544
|
init_sessionsSessionRecordingStream2();
|
|
87545
|
+
init_sessionsTimelineGetById2();
|
|
87308
87546
|
init_sessionsTranscriptGetById2();
|
|
87309
87547
|
init_takeoutsCreate2();
|
|
87310
87548
|
init_takeoutsTakeoutsGetByJobId2();
|
|
@@ -88523,7 +88761,7 @@ var routes = ln({
|
|
|
88523
88761
|
var app = _e(routes, {
|
|
88524
88762
|
name: "mcp",
|
|
88525
88763
|
versionInfo: {
|
|
88526
|
-
currentVersion: "1.0.
|
|
88764
|
+
currentVersion: "1.0.49-rc.2"
|
|
88527
88765
|
}
|
|
88528
88766
|
});
|
|
88529
88767
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -88531,5 +88769,5 @@ export {
|
|
|
88531
88769
|
app
|
|
88532
88770
|
};
|
|
88533
88771
|
|
|
88534
|
-
//# debugId=
|
|
88772
|
+
//# debugId=0540F4834831877A64756E2164756E21
|
|
88535
88773
|
//# sourceMappingURL=mcp-server.js.map
|