syllable-sdk 1.0.74-rc.8 → 1.0.74
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 +14 -11
- package/bin/mcp-server.js +947 -458
- package/bin/mcp-server.js.map +28 -16
- package/funcs/outboundBatchesUpload.d.ts +12 -1
- package/funcs/outboundBatchesUpload.d.ts.map +1 -1
- package/funcs/outboundBatchesUpload.js +16 -2
- package/funcs/outboundBatchesUpload.js.map +1 -1
- package/funcs/outboundCampaignsOutboundCampaignExcludedDates.d.ts +18 -0
- package/funcs/outboundCampaignsOutboundCampaignExcludedDates.d.ts.map +1 -0
- package/funcs/outboundCampaignsOutboundCampaignExcludedDates.js +119 -0
- package/funcs/outboundCampaignsOutboundCampaignExcludedDates.js.map +1 -0
- 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.d.ts.map +1 -1
- package/mcp-server/server.js +3 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/outboundBatchesUpload.d.ts.map +1 -1
- package/mcp-server/tools/outboundBatchesUpload.js +10 -1
- package/mcp-server/tools/outboundBatchesUpload.js.map +1 -1
- package/mcp-server/tools/outboundCampaignsOutboundCampaignExcludedDates.d.ts +8 -0
- package/mcp-server/tools/outboundCampaignsOutboundCampaignExcludedDates.d.ts.map +1 -0
- package/mcp-server/tools/outboundCampaignsOutboundCampaignExcludedDates.js +64 -0
- package/mcp-server/tools/outboundCampaignsOutboundCampaignExcludedDates.js.map +1 -0
- package/models/components/batchfilecheckresult.d.ts +76 -0
- package/models/components/batchfilecheckresult.d.ts.map +1 -0
- package/models/components/batchfilecheckresult.js +104 -0
- package/models/components/batchfilecheckresult.js.map +1 -0
- package/models/components/batchfileproblem.d.ts +21 -0
- package/models/components/batchfileproblem.d.ts.map +1 -0
- package/models/components/batchfileproblem.js +55 -0
- package/models/components/batchfileproblem.js.map +1 -0
- package/models/components/batchfileproblemcount.d.ts +39 -0
- package/models/components/batchfileproblemcount.d.ts.map +1 -0
- package/models/components/batchfileproblemcount.js +65 -0
- package/models/components/batchfileproblemcount.js.map +1 -0
- package/models/components/batchfileproblemrow.d.ts +39 -0
- package/models/components/batchfileproblemrow.d.ts.map +1 -0
- package/models/components/batchfileproblemrow.js +76 -0
- package/models/components/batchfileproblemrow.js.map +1 -0
- package/models/components/batchfilesamplerow.d.ts +37 -0
- package/models/components/batchfilesamplerow.d.ts.map +1 -0
- package/models/components/batchfilesamplerow.js +73 -0
- package/models/components/batchfilesamplerow.js.map +1 -0
- package/models/components/campaignexcludeddate.d.ts +48 -0
- package/models/components/campaignexcludeddate.d.ts.map +1 -0
- package/models/components/campaignexcludeddate.js +75 -0
- package/models/components/campaignexcludeddate.js.map +1 -0
- package/models/components/campaignexcludeddateholiday.d.ts +26 -0
- package/models/components/campaignexcludeddateholiday.d.ts.map +1 -0
- package/models/components/campaignexcludeddateholiday.js +61 -0
- package/models/components/campaignexcludeddateholiday.js.map +1 -0
- package/models/components/campaignexcludeddates.d.ts +37 -0
- package/models/components/campaignexcludeddates.d.ts.map +1 -0
- package/models/components/campaignexcludeddates.js +77 -0
- package/models/components/campaignexcludeddates.js.map +1 -0
- package/models/components/campaignexcludeddatesrequest.d.ts +51 -0
- package/models/components/campaignexcludeddatesrequest.d.ts.map +1 -0
- package/models/components/campaignexcludeddatesrequest.js +88 -0
- package/models/components/campaignexcludeddatesrequest.js.map +1 -0
- package/models/components/index.d.ts +9 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +9 -0
- package/models/components/index.js.map +1 -1
- package/models/components/outboundcampaign.d.ts +1 -1
- package/models/components/outboundcampaigninput.d.ts +1 -1
- package/models/components/outreachoverriderules.d.ts +16 -7
- package/models/components/outreachoverriderules.d.ts.map +1 -1
- package/models/components/outreachoverriderules.js +2 -0
- package/models/components/outreachoverriderules.js.map +1 -1
- package/models/components/scheduleoverride.d.ts +5 -6
- package/models/components/scheduleoverride.d.ts.map +1 -1
- package/models/components/scheduleoverride.js.map +1 -1
- package/models/errors/batchfilecheckresult.d.ts +127 -0
- package/models/errors/batchfilecheckresult.d.ts.map +1 -0
- package/models/errors/batchfilecheckresult.js +131 -0
- package/models/errors/batchfilecheckresult.js.map +1 -0
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/operations/outboundbatchupload.d.ts +5 -0
- package/models/operations/outboundbatchupload.d.ts.map +1 -1
- package/models/operations/outboundbatchupload.js +4 -0
- package/models/operations/outboundbatchupload.js.map +1 -1
- package/package.json +1 -1
- package/sdk/batches.d.ts +12 -2
- package/sdk/batches.d.ts.map +1 -1
- package/sdk/batches.js +10 -0
- package/sdk/batches.js.map +1 -1
- package/sdk/campaigns.d.ts +7 -0
- package/sdk/campaigns.d.ts.map +1 -1
- package/sdk/campaigns.js +10 -0
- package/sdk/campaigns.js.map +1 -1
- package/src/funcs/outboundBatchesUpload.ts +30 -6
- package/src/funcs/outboundCampaignsOutboundCampaignExcludedDates.ts +172 -0
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +3 -1
- package/src/mcp-server/tools/outboundBatchesUpload.ts +10 -1
- package/src/mcp-server/tools/outboundCampaignsOutboundCampaignExcludedDates.ts +39 -0
- package/src/models/components/batchfilecheckresult.ts +168 -0
- package/src/models/components/batchfileproblem.ts +30 -0
- package/src/models/components/batchfileproblemcount.ts +83 -0
- package/src/models/components/batchfileproblemrow.ts +94 -0
- package/src/models/components/batchfilesamplerow.ts +82 -0
- package/src/models/components/campaignexcludeddate.ts +96 -0
- package/src/models/components/campaignexcludeddateholiday.ts +68 -0
- package/src/models/components/campaignexcludeddates.ts +93 -0
- package/src/models/components/campaignexcludeddatesrequest.ts +123 -0
- package/src/models/components/index.ts +9 -0
- package/src/models/components/outboundcampaign.ts +1 -1
- package/src/models/components/outboundcampaigninput.ts +1 -1
- package/src/models/components/outreachoverriderules.ts +14 -7
- package/src/models/components/scheduleoverride.ts +5 -6
- package/src/models/errors/batchfilecheckresult.ts +224 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/operations/outboundbatchupload.ts +9 -0
- package/src/sdk/batches.ts +11 -1
- package/src/sdk/campaigns.ts +18 -0
package/bin/mcp-server.js
CHANGED
|
@@ -72051,9 +72051,9 @@ var init_config = __esm(() => {
|
|
|
72051
72051
|
SDK_METADATA = {
|
|
72052
72052
|
language: "typescript",
|
|
72053
72053
|
openapiDocVersion: "0.0.3",
|
|
72054
|
-
sdkVersion: "1.0.74
|
|
72054
|
+
sdkVersion: "1.0.74",
|
|
72055
72055
|
genVersion: "2.961.1",
|
|
72056
|
-
userAgent: "speakeasy-sdk/typescript 1.0.74
|
|
72056
|
+
userAgent: "speakeasy-sdk/typescript 1.0.74 2.961.1 0.0.3 syllable-sdk"
|
|
72057
72057
|
};
|
|
72058
72058
|
});
|
|
72059
72059
|
|
|
@@ -84811,6 +84811,155 @@ var init_batchdetails = __esm(() => {
|
|
|
84811
84811
|
});
|
|
84812
84812
|
});
|
|
84813
84813
|
|
|
84814
|
+
// src/models/components/batchfileproblem.ts
|
|
84815
|
+
var BatchFileProblem, BatchFileProblem$inboundSchema, BatchFileProblem$outboundSchema;
|
|
84816
|
+
var init_batchfileproblem = __esm(() => {
|
|
84817
|
+
init_v3();
|
|
84818
|
+
BatchFileProblem = {
|
|
84819
|
+
InvalidTarget: "invalid_target",
|
|
84820
|
+
MissingTarget: "missing_target",
|
|
84821
|
+
DuplicateTarget: "duplicate_target",
|
|
84822
|
+
DuplicateReferenceId: "duplicate_reference_id",
|
|
84823
|
+
MissingOpId: "missing_op_id"
|
|
84824
|
+
};
|
|
84825
|
+
BatchFileProblem$inboundSchema = nativeEnumType(BatchFileProblem);
|
|
84826
|
+
BatchFileProblem$outboundSchema = BatchFileProblem$inboundSchema;
|
|
84827
|
+
});
|
|
84828
|
+
|
|
84829
|
+
// src/models/components/batchfileproblemcount.ts
|
|
84830
|
+
var BatchFileProblemCount$inboundSchema, BatchFileProblemCount$outboundSchema;
|
|
84831
|
+
var init_batchfileproblemcount = __esm(() => {
|
|
84832
|
+
init_v3();
|
|
84833
|
+
init_batchfileproblem();
|
|
84834
|
+
BatchFileProblemCount$inboundSchema = objectType({
|
|
84835
|
+
problem: BatchFileProblem$inboundSchema,
|
|
84836
|
+
count: numberType().int(),
|
|
84837
|
+
called: booleanType(),
|
|
84838
|
+
outcome: stringType()
|
|
84839
|
+
});
|
|
84840
|
+
BatchFileProblemCount$outboundSchema = objectType({
|
|
84841
|
+
problem: BatchFileProblem$outboundSchema,
|
|
84842
|
+
count: numberType().int(),
|
|
84843
|
+
called: booleanType(),
|
|
84844
|
+
outcome: stringType()
|
|
84845
|
+
});
|
|
84846
|
+
});
|
|
84847
|
+
|
|
84848
|
+
// src/models/components/batchfileproblemrow.ts
|
|
84849
|
+
var BatchFileProblemRow$inboundSchema, BatchFileProblemRow$outboundSchema;
|
|
84850
|
+
var init_batchfileproblemrow = __esm(() => {
|
|
84851
|
+
init_v3();
|
|
84852
|
+
init_primitives();
|
|
84853
|
+
init_batchfileproblem();
|
|
84854
|
+
BatchFileProblemRow$inboundSchema = objectType({
|
|
84855
|
+
row_number: numberType().int(),
|
|
84856
|
+
reference_id: nullableType(stringType()).optional(),
|
|
84857
|
+
problem: BatchFileProblem$inboundSchema,
|
|
84858
|
+
reason: stringType()
|
|
84859
|
+
}).transform((v2) => {
|
|
84860
|
+
return remap(v2, {
|
|
84861
|
+
row_number: "rowNumber",
|
|
84862
|
+
reference_id: "referenceId"
|
|
84863
|
+
});
|
|
84864
|
+
});
|
|
84865
|
+
BatchFileProblemRow$outboundSchema = objectType({
|
|
84866
|
+
rowNumber: numberType().int(),
|
|
84867
|
+
referenceId: nullableType(stringType()).optional(),
|
|
84868
|
+
problem: BatchFileProblem$outboundSchema,
|
|
84869
|
+
reason: stringType()
|
|
84870
|
+
}).transform((v2) => {
|
|
84871
|
+
return remap(v2, {
|
|
84872
|
+
rowNumber: "row_number",
|
|
84873
|
+
referenceId: "reference_id"
|
|
84874
|
+
});
|
|
84875
|
+
});
|
|
84876
|
+
});
|
|
84877
|
+
|
|
84878
|
+
// src/models/components/batchfilesamplerow.ts
|
|
84879
|
+
var BatchFileSampleRow$inboundSchema, BatchFileSampleRow$outboundSchema;
|
|
84880
|
+
var init_batchfilesamplerow = __esm(() => {
|
|
84881
|
+
init_v3();
|
|
84882
|
+
init_primitives();
|
|
84883
|
+
BatchFileSampleRow$inboundSchema = objectType({
|
|
84884
|
+
reference_id: stringType(),
|
|
84885
|
+
target: stringType(),
|
|
84886
|
+
request_variables: recordType(stringType())
|
|
84887
|
+
}).transform((v2) => {
|
|
84888
|
+
return remap(v2, {
|
|
84889
|
+
reference_id: "referenceId",
|
|
84890
|
+
request_variables: "requestVariables"
|
|
84891
|
+
});
|
|
84892
|
+
});
|
|
84893
|
+
BatchFileSampleRow$outboundSchema = objectType({
|
|
84894
|
+
referenceId: stringType(),
|
|
84895
|
+
target: stringType(),
|
|
84896
|
+
requestVariables: recordType(stringType())
|
|
84897
|
+
}).transform((v2) => {
|
|
84898
|
+
return remap(v2, {
|
|
84899
|
+
referenceId: "reference_id",
|
|
84900
|
+
requestVariables: "request_variables"
|
|
84901
|
+
});
|
|
84902
|
+
});
|
|
84903
|
+
});
|
|
84904
|
+
|
|
84905
|
+
// src/models/components/batchfilecheckresult.ts
|
|
84906
|
+
var BatchFileCheckResult$inboundSchema, BatchFileCheckResult$outboundSchema;
|
|
84907
|
+
var init_batchfilecheckresult = __esm(() => {
|
|
84908
|
+
init_v3();
|
|
84909
|
+
init_primitives();
|
|
84910
|
+
init_batchfileproblemcount();
|
|
84911
|
+
init_batchfileproblemrow();
|
|
84912
|
+
init_batchfilesamplerow();
|
|
84913
|
+
BatchFileCheckResult$inboundSchema = objectType({
|
|
84914
|
+
accepted: booleanType(),
|
|
84915
|
+
error_message: nullableType(stringType()).optional(),
|
|
84916
|
+
columns: arrayType(stringType()),
|
|
84917
|
+
reference_id_column: booleanType(),
|
|
84918
|
+
request_variable_columns: arrayType(stringType()),
|
|
84919
|
+
total_rows: numberType().int(),
|
|
84920
|
+
rows_to_call: numberType().int(),
|
|
84921
|
+
problem_counts: arrayType(BatchFileProblemCount$inboundSchema),
|
|
84922
|
+
warnings: arrayType(stringType()),
|
|
84923
|
+
problem_rows: arrayType(BatchFileProblemRow$inboundSchema),
|
|
84924
|
+
sample_rows: arrayType(BatchFileSampleRow$inboundSchema)
|
|
84925
|
+
}).transform((v2) => {
|
|
84926
|
+
return remap(v2, {
|
|
84927
|
+
error_message: "errorMessage",
|
|
84928
|
+
reference_id_column: "referenceIdColumn",
|
|
84929
|
+
request_variable_columns: "requestVariableColumns",
|
|
84930
|
+
total_rows: "totalRows",
|
|
84931
|
+
rows_to_call: "rowsToCall",
|
|
84932
|
+
problem_counts: "problemCounts",
|
|
84933
|
+
problem_rows: "problemRows",
|
|
84934
|
+
sample_rows: "sampleRows"
|
|
84935
|
+
});
|
|
84936
|
+
});
|
|
84937
|
+
BatchFileCheckResult$outboundSchema = objectType({
|
|
84938
|
+
accepted: booleanType(),
|
|
84939
|
+
errorMessage: nullableType(stringType()).optional(),
|
|
84940
|
+
columns: arrayType(stringType()),
|
|
84941
|
+
referenceIdColumn: booleanType(),
|
|
84942
|
+
requestVariableColumns: arrayType(stringType()),
|
|
84943
|
+
totalRows: numberType().int(),
|
|
84944
|
+
rowsToCall: numberType().int(),
|
|
84945
|
+
problemCounts: arrayType(BatchFileProblemCount$outboundSchema),
|
|
84946
|
+
warnings: arrayType(stringType()),
|
|
84947
|
+
problemRows: arrayType(BatchFileProblemRow$outboundSchema),
|
|
84948
|
+
sampleRows: arrayType(BatchFileSampleRow$outboundSchema)
|
|
84949
|
+
}).transform((v2) => {
|
|
84950
|
+
return remap(v2, {
|
|
84951
|
+
errorMessage: "error_message",
|
|
84952
|
+
referenceIdColumn: "reference_id_column",
|
|
84953
|
+
requestVariableColumns: "request_variable_columns",
|
|
84954
|
+
totalRows: "total_rows",
|
|
84955
|
+
rowsToCall: "rows_to_call",
|
|
84956
|
+
problemCounts: "problem_counts",
|
|
84957
|
+
problemRows: "problem_rows",
|
|
84958
|
+
sampleRows: "sample_rows"
|
|
84959
|
+
});
|
|
84960
|
+
});
|
|
84961
|
+
});
|
|
84962
|
+
|
|
84814
84963
|
// src/models/components/batchproperties.ts
|
|
84815
84964
|
var BatchProperties, BatchProperties$inboundSchema, BatchProperties$outboundSchema;
|
|
84816
84965
|
var init_batchproperties = __esm(() => {
|
|
@@ -85418,6 +85567,179 @@ var init_bridgephrasesupdaterequest = __esm(() => {
|
|
|
85418
85567
|
});
|
|
85419
85568
|
});
|
|
85420
85569
|
|
|
85570
|
+
// src/models/components/campaignexcludeddateholiday.ts
|
|
85571
|
+
var CampaignExcludedDateHoliday$inboundSchema, CampaignExcludedDateHoliday$outboundSchema;
|
|
85572
|
+
var init_campaignexcludeddateholiday = __esm(() => {
|
|
85573
|
+
init_v3();
|
|
85574
|
+
init_holiday();
|
|
85575
|
+
CampaignExcludedDateHoliday$inboundSchema = objectType({
|
|
85576
|
+
holiday: Holiday$inboundSchema,
|
|
85577
|
+
label: stringType()
|
|
85578
|
+
});
|
|
85579
|
+
CampaignExcludedDateHoliday$outboundSchema = objectType({
|
|
85580
|
+
holiday: Holiday$outboundSchema,
|
|
85581
|
+
label: stringType()
|
|
85582
|
+
});
|
|
85583
|
+
});
|
|
85584
|
+
|
|
85585
|
+
// src/models/components/campaignexcludeddate.ts
|
|
85586
|
+
var Rule, Rule$inboundSchema, Rule$outboundSchema, CampaignExcludedDate$inboundSchema, CampaignExcludedDate$outboundSchema;
|
|
85587
|
+
var init_campaignexcludeddate = __esm(() => {
|
|
85588
|
+
init_v3();
|
|
85589
|
+
init_rfcdate();
|
|
85590
|
+
init_campaignexcludeddateholiday();
|
|
85591
|
+
Rule = {
|
|
85592
|
+
Date: "date",
|
|
85593
|
+
Holiday: "holiday"
|
|
85594
|
+
};
|
|
85595
|
+
Rule$inboundSchema = nativeEnumType(Rule);
|
|
85596
|
+
Rule$outboundSchema = Rule$inboundSchema;
|
|
85597
|
+
CampaignExcludedDate$inboundSchema = objectType({
|
|
85598
|
+
date: stringType().transform((v2) => new RFCDate(v2)),
|
|
85599
|
+
rule: Rule$inboundSchema,
|
|
85600
|
+
holidays: arrayType(CampaignExcludedDateHoliday$inboundSchema).optional()
|
|
85601
|
+
});
|
|
85602
|
+
CampaignExcludedDate$outboundSchema = objectType({
|
|
85603
|
+
date: instanceOfType(RFCDate).transform((v2) => v2.toString()),
|
|
85604
|
+
rule: Rule$outboundSchema,
|
|
85605
|
+
holidays: arrayType(CampaignExcludedDateHoliday$outboundSchema).optional()
|
|
85606
|
+
});
|
|
85607
|
+
});
|
|
85608
|
+
|
|
85609
|
+
// src/models/components/campaignexcludeddates.ts
|
|
85610
|
+
var CampaignExcludedDates$inboundSchema, CampaignExcludedDates$outboundSchema;
|
|
85611
|
+
var init_campaignexcludeddates = __esm(() => {
|
|
85612
|
+
init_v3();
|
|
85613
|
+
init_primitives();
|
|
85614
|
+
init_rfcdate();
|
|
85615
|
+
init_campaignexcludeddate();
|
|
85616
|
+
CampaignExcludedDates$inboundSchema = objectType({
|
|
85617
|
+
timezone: stringType(),
|
|
85618
|
+
start_date: stringType().transform((v2) => new RFCDate(v2)),
|
|
85619
|
+
end_date: stringType().transform((v2) => new RFCDate(v2)),
|
|
85620
|
+
dates: arrayType(CampaignExcludedDate$inboundSchema).optional()
|
|
85621
|
+
}).transform((v2) => {
|
|
85622
|
+
return remap(v2, {
|
|
85623
|
+
start_date: "startDate",
|
|
85624
|
+
end_date: "endDate"
|
|
85625
|
+
});
|
|
85626
|
+
});
|
|
85627
|
+
CampaignExcludedDates$outboundSchema = objectType({
|
|
85628
|
+
timezone: stringType(),
|
|
85629
|
+
startDate: instanceOfType(RFCDate).transform((v2) => v2.toString()),
|
|
85630
|
+
endDate: instanceOfType(RFCDate).transform((v2) => v2.toString()),
|
|
85631
|
+
dates: arrayType(CampaignExcludedDate$outboundSchema).optional()
|
|
85632
|
+
}).transform((v2) => {
|
|
85633
|
+
return remap(v2, {
|
|
85634
|
+
startDate: "start_date",
|
|
85635
|
+
endDate: "end_date"
|
|
85636
|
+
});
|
|
85637
|
+
});
|
|
85638
|
+
});
|
|
85639
|
+
|
|
85640
|
+
// src/models/components/daysofweek.ts
|
|
85641
|
+
var DaysOfWeek, DaysOfWeek$inboundSchema, DaysOfWeek$outboundSchema;
|
|
85642
|
+
var init_daysofweek = __esm(() => {
|
|
85643
|
+
init_v3();
|
|
85644
|
+
DaysOfWeek = {
|
|
85645
|
+
Mon: "mon",
|
|
85646
|
+
Tue: "tue",
|
|
85647
|
+
Wed: "wed",
|
|
85648
|
+
Thu: "thu",
|
|
85649
|
+
Fri: "fri",
|
|
85650
|
+
Sat: "sat",
|
|
85651
|
+
Sun: "sun"
|
|
85652
|
+
};
|
|
85653
|
+
DaysOfWeek$inboundSchema = nativeEnumType(DaysOfWeek);
|
|
85654
|
+
DaysOfWeek$outboundSchema = DaysOfWeek$inboundSchema;
|
|
85655
|
+
});
|
|
85656
|
+
|
|
85657
|
+
// src/models/components/scheduleoverride.ts
|
|
85658
|
+
var ScheduleOverride$inboundSchema, ScheduleOverride$outboundSchema;
|
|
85659
|
+
var init_scheduleoverride = __esm(() => {
|
|
85660
|
+
init_v3();
|
|
85661
|
+
init_primitives();
|
|
85662
|
+
ScheduleOverride$inboundSchema = objectType({
|
|
85663
|
+
active: nullableType(booleanType()).optional(),
|
|
85664
|
+
daily_start_time: nullableType(stringType()).optional(),
|
|
85665
|
+
daily_end_time: nullableType(stringType()).optional(),
|
|
85666
|
+
max_daily_calls: nullableType(numberType().int()).optional()
|
|
85667
|
+
}).transform((v2) => {
|
|
85668
|
+
return remap(v2, {
|
|
85669
|
+
daily_start_time: "dailyStartTime",
|
|
85670
|
+
daily_end_time: "dailyEndTime",
|
|
85671
|
+
max_daily_calls: "maxDailyCalls"
|
|
85672
|
+
});
|
|
85673
|
+
});
|
|
85674
|
+
ScheduleOverride$outboundSchema = objectType({
|
|
85675
|
+
active: nullableType(booleanType()).optional(),
|
|
85676
|
+
dailyStartTime: nullableType(stringType()).optional(),
|
|
85677
|
+
dailyEndTime: nullableType(stringType()).optional(),
|
|
85678
|
+
maxDailyCalls: nullableType(numberType().int()).optional()
|
|
85679
|
+
}).transform((v2) => {
|
|
85680
|
+
return remap(v2, {
|
|
85681
|
+
dailyStartTime: "daily_start_time",
|
|
85682
|
+
dailyEndTime: "daily_end_time",
|
|
85683
|
+
maxDailyCalls: "max_daily_calls"
|
|
85684
|
+
});
|
|
85685
|
+
});
|
|
85686
|
+
});
|
|
85687
|
+
|
|
85688
|
+
// src/models/components/outreachoverriderules.ts
|
|
85689
|
+
var OutreachOverrideRules$inboundSchema, OutreachOverrideRules$outboundSchema;
|
|
85690
|
+
var init_outreachoverriderules = __esm(() => {
|
|
85691
|
+
init_v3();
|
|
85692
|
+
init_scheduleoverride();
|
|
85693
|
+
OutreachOverrideRules$inboundSchema = objectType({
|
|
85694
|
+
days: recordType(ScheduleOverride$inboundSchema).optional(),
|
|
85695
|
+
dates: recordType(ScheduleOverride$inboundSchema).optional(),
|
|
85696
|
+
holidays: recordType(ScheduleOverride$inboundSchema).optional()
|
|
85697
|
+
});
|
|
85698
|
+
OutreachOverrideRules$outboundSchema = objectType({
|
|
85699
|
+
days: recordType(ScheduleOverride$outboundSchema).optional(),
|
|
85700
|
+
dates: recordType(ScheduleOverride$outboundSchema).optional(),
|
|
85701
|
+
holidays: recordType(ScheduleOverride$outboundSchema).optional()
|
|
85702
|
+
});
|
|
85703
|
+
});
|
|
85704
|
+
|
|
85705
|
+
// src/models/components/campaignexcludeddatesrequest.ts
|
|
85706
|
+
var CampaignExcludedDatesRequest$inboundSchema, CampaignExcludedDatesRequest$outboundSchema;
|
|
85707
|
+
var init_campaignexcludeddatesrequest = __esm(() => {
|
|
85708
|
+
init_v3();
|
|
85709
|
+
init_primitives();
|
|
85710
|
+
init_rfcdate();
|
|
85711
|
+
init_daysofweek();
|
|
85712
|
+
init_outreachoverriderules();
|
|
85713
|
+
CampaignExcludedDatesRequest$inboundSchema = objectType({
|
|
85714
|
+
outreach_override_rules: nullableType(OutreachOverrideRules$inboundSchema).optional(),
|
|
85715
|
+
active_days: nullableType(arrayType(DaysOfWeek$inboundSchema)).optional(),
|
|
85716
|
+
start_date: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
|
|
85717
|
+
end_date: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
|
|
85718
|
+
timezone: stringType().default("UTC")
|
|
85719
|
+
}).transform((v2) => {
|
|
85720
|
+
return remap(v2, {
|
|
85721
|
+
outreach_override_rules: "outreachOverrideRules",
|
|
85722
|
+
active_days: "activeDays",
|
|
85723
|
+
start_date: "startDate",
|
|
85724
|
+
end_date: "endDate"
|
|
85725
|
+
});
|
|
85726
|
+
});
|
|
85727
|
+
CampaignExcludedDatesRequest$outboundSchema = objectType({
|
|
85728
|
+
outreachOverrideRules: nullableType(OutreachOverrideRules$outboundSchema).optional(),
|
|
85729
|
+
activeDays: nullableType(arrayType(DaysOfWeek$outboundSchema)).optional(),
|
|
85730
|
+
startDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
|
|
85731
|
+
endDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
|
|
85732
|
+
timezone: stringType().default("UTC")
|
|
85733
|
+
}).transform((v2) => {
|
|
85734
|
+
return remap(v2, {
|
|
85735
|
+
outreachOverrideRules: "outreach_override_rules",
|
|
85736
|
+
activeDays: "active_days",
|
|
85737
|
+
startDate: "start_date",
|
|
85738
|
+
endDate: "end_date"
|
|
85739
|
+
});
|
|
85740
|
+
});
|
|
85741
|
+
});
|
|
85742
|
+
|
|
85421
85743
|
// src/models/components/campaignproperties.ts
|
|
85422
85744
|
var CampaignProperties, CampaignProperties$inboundSchema, CampaignProperties$outboundSchema;
|
|
85423
85745
|
var init_campaignproperties = __esm(() => {
|
|
@@ -86857,23 +87179,6 @@ var init_datasourceupdaterequest = __esm(() => {
|
|
|
86857
87179
|
});
|
|
86858
87180
|
});
|
|
86859
87181
|
|
|
86860
|
-
// src/models/components/daysofweek.ts
|
|
86861
|
-
var DaysOfWeek, DaysOfWeek$inboundSchema, DaysOfWeek$outboundSchema;
|
|
86862
|
-
var init_daysofweek = __esm(() => {
|
|
86863
|
-
init_v3();
|
|
86864
|
-
DaysOfWeek = {
|
|
86865
|
-
Mon: "mon",
|
|
86866
|
-
Tue: "tue",
|
|
86867
|
-
Wed: "wed",
|
|
86868
|
-
Thu: "thu",
|
|
86869
|
-
Fri: "fri",
|
|
86870
|
-
Sat: "sat",
|
|
86871
|
-
Sun: "sun"
|
|
86872
|
-
};
|
|
86873
|
-
DaysOfWeek$inboundSchema = nativeEnumType(DaysOfWeek);
|
|
86874
|
-
DaysOfWeek$outboundSchema = DaysOfWeek$inboundSchema;
|
|
86875
|
-
});
|
|
86876
|
-
|
|
86877
87182
|
// src/models/components/dialogmessage.ts
|
|
86878
87183
|
var DialogMessage$inboundSchema, DialogMessage$outboundSchema;
|
|
86879
87184
|
var init_dialogmessage = __esm(() => {
|
|
@@ -90159,52 +90464,6 @@ var init_outboundcampaignwebhookresponse = __esm(() => {
|
|
|
90159
90464
|
});
|
|
90160
90465
|
});
|
|
90161
90466
|
|
|
90162
|
-
// src/models/components/scheduleoverride.ts
|
|
90163
|
-
var ScheduleOverride$inboundSchema, ScheduleOverride$outboundSchema;
|
|
90164
|
-
var init_scheduleoverride = __esm(() => {
|
|
90165
|
-
init_v3();
|
|
90166
|
-
init_primitives();
|
|
90167
|
-
ScheduleOverride$inboundSchema = objectType({
|
|
90168
|
-
active: nullableType(booleanType()).optional(),
|
|
90169
|
-
daily_start_time: nullableType(stringType()).optional(),
|
|
90170
|
-
daily_end_time: nullableType(stringType()).optional(),
|
|
90171
|
-
max_daily_calls: nullableType(numberType().int()).optional()
|
|
90172
|
-
}).transform((v2) => {
|
|
90173
|
-
return remap(v2, {
|
|
90174
|
-
daily_start_time: "dailyStartTime",
|
|
90175
|
-
daily_end_time: "dailyEndTime",
|
|
90176
|
-
max_daily_calls: "maxDailyCalls"
|
|
90177
|
-
});
|
|
90178
|
-
});
|
|
90179
|
-
ScheduleOverride$outboundSchema = objectType({
|
|
90180
|
-
active: nullableType(booleanType()).optional(),
|
|
90181
|
-
dailyStartTime: nullableType(stringType()).optional(),
|
|
90182
|
-
dailyEndTime: nullableType(stringType()).optional(),
|
|
90183
|
-
maxDailyCalls: nullableType(numberType().int()).optional()
|
|
90184
|
-
}).transform((v2) => {
|
|
90185
|
-
return remap(v2, {
|
|
90186
|
-
dailyStartTime: "daily_start_time",
|
|
90187
|
-
dailyEndTime: "daily_end_time",
|
|
90188
|
-
maxDailyCalls: "max_daily_calls"
|
|
90189
|
-
});
|
|
90190
|
-
});
|
|
90191
|
-
});
|
|
90192
|
-
|
|
90193
|
-
// src/models/components/outreachoverriderules.ts
|
|
90194
|
-
var OutreachOverrideRules$inboundSchema, OutreachOverrideRules$outboundSchema;
|
|
90195
|
-
var init_outreachoverriderules = __esm(() => {
|
|
90196
|
-
init_v3();
|
|
90197
|
-
init_scheduleoverride();
|
|
90198
|
-
OutreachOverrideRules$inboundSchema = objectType({
|
|
90199
|
-
days: recordType(ScheduleOverride$inboundSchema).optional(),
|
|
90200
|
-
dates: recordType(ScheduleOverride$inboundSchema).optional()
|
|
90201
|
-
});
|
|
90202
|
-
OutreachOverrideRules$outboundSchema = objectType({
|
|
90203
|
-
days: recordType(ScheduleOverride$outboundSchema).optional(),
|
|
90204
|
-
dates: recordType(ScheduleOverride$outboundSchema).optional()
|
|
90205
|
-
});
|
|
90206
|
-
});
|
|
90207
|
-
|
|
90208
90467
|
// src/models/components/targetfilterrule.ts
|
|
90209
90468
|
var TargetFilterRule$inboundSchema, TargetFilterRule$outboundSchema;
|
|
90210
90469
|
var init_targetfilterrule = __esm(() => {
|
|
@@ -93925,6 +94184,11 @@ var init_components = __esm(() => {
|
|
|
93925
94184
|
init_availabletarget();
|
|
93926
94185
|
init_availabletargetproperties();
|
|
93927
94186
|
init_batchdetails();
|
|
94187
|
+
init_batchfilecheckresult();
|
|
94188
|
+
init_batchfileproblem();
|
|
94189
|
+
init_batchfileproblemcount();
|
|
94190
|
+
init_batchfileproblemrow();
|
|
94191
|
+
init_batchfilesamplerow();
|
|
93928
94192
|
init_batchproperties();
|
|
93929
94193
|
init_batchstatus();
|
|
93930
94194
|
init_bodydirectorymemberbulkload();
|
|
@@ -93945,6 +94209,10 @@ var init_components = __esm(() => {
|
|
|
93945
94209
|
init_callaction();
|
|
93946
94210
|
init_callresult();
|
|
93947
94211
|
init_callresultsavemapping();
|
|
94212
|
+
init_campaignexcludeddate();
|
|
94213
|
+
init_campaignexcludeddateholiday();
|
|
94214
|
+
init_campaignexcludeddates();
|
|
94215
|
+
init_campaignexcludeddatesrequest();
|
|
93948
94216
|
init_campaignproperties();
|
|
93949
94217
|
init_cardclickrequest();
|
|
93950
94218
|
init_cardclickresponse();
|
|
@@ -94311,6 +94579,103 @@ var init_agenterrorresponse = __esm(() => {
|
|
|
94311
94579
|
}));
|
|
94312
94580
|
});
|
|
94313
94581
|
|
|
94582
|
+
// src/models/errors/batchfilecheckresult.ts
|
|
94583
|
+
var BatchFileCheckResult, BatchFileCheckResult$inboundSchema2, BatchFileCheckResult$outboundSchema2;
|
|
94584
|
+
var init_batchfilecheckresult2 = __esm(() => {
|
|
94585
|
+
init_v3();
|
|
94586
|
+
init_primitives();
|
|
94587
|
+
init_components();
|
|
94588
|
+
init_syllablesdkerror();
|
|
94589
|
+
BatchFileCheckResult = class BatchFileCheckResult extends SyllableSDKError {
|
|
94590
|
+
accepted;
|
|
94591
|
+
errorMessage;
|
|
94592
|
+
columns;
|
|
94593
|
+
referenceIdColumn;
|
|
94594
|
+
requestVariableColumns;
|
|
94595
|
+
totalRows;
|
|
94596
|
+
rowsToCall;
|
|
94597
|
+
problemCounts;
|
|
94598
|
+
warnings;
|
|
94599
|
+
problemRows;
|
|
94600
|
+
sampleRows;
|
|
94601
|
+
data$;
|
|
94602
|
+
constructor(err, httpMeta) {
|
|
94603
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
94604
|
+
super(message, httpMeta);
|
|
94605
|
+
this.data$ = err;
|
|
94606
|
+
this.accepted = err.accepted;
|
|
94607
|
+
if (err.errorMessage != null)
|
|
94608
|
+
this.errorMessage = err.errorMessage;
|
|
94609
|
+
this.columns = err.columns;
|
|
94610
|
+
this.referenceIdColumn = err.referenceIdColumn;
|
|
94611
|
+
this.requestVariableColumns = err.requestVariableColumns;
|
|
94612
|
+
this.totalRows = err.totalRows;
|
|
94613
|
+
this.rowsToCall = err.rowsToCall;
|
|
94614
|
+
this.problemCounts = err.problemCounts;
|
|
94615
|
+
this.warnings = err.warnings;
|
|
94616
|
+
this.problemRows = err.problemRows;
|
|
94617
|
+
this.sampleRows = err.sampleRows;
|
|
94618
|
+
this.name = "BatchFileCheckResult";
|
|
94619
|
+
}
|
|
94620
|
+
};
|
|
94621
|
+
BatchFileCheckResult$inboundSchema2 = objectType({
|
|
94622
|
+
accepted: booleanType(),
|
|
94623
|
+
error_message: nullableType(stringType()).optional(),
|
|
94624
|
+
columns: arrayType(stringType()),
|
|
94625
|
+
reference_id_column: booleanType(),
|
|
94626
|
+
request_variable_columns: arrayType(stringType()),
|
|
94627
|
+
total_rows: numberType().int(),
|
|
94628
|
+
rows_to_call: numberType().int(),
|
|
94629
|
+
problem_counts: arrayType(BatchFileProblemCount$inboundSchema),
|
|
94630
|
+
warnings: arrayType(stringType()),
|
|
94631
|
+
problem_rows: arrayType(BatchFileProblemRow$inboundSchema),
|
|
94632
|
+
sample_rows: arrayType(BatchFileSampleRow$inboundSchema),
|
|
94633
|
+
request$: instanceOfType(Request),
|
|
94634
|
+
response$: instanceOfType(Response),
|
|
94635
|
+
body$: stringType()
|
|
94636
|
+
}).transform((v2) => {
|
|
94637
|
+
const remapped = remap(v2, {
|
|
94638
|
+
error_message: "errorMessage",
|
|
94639
|
+
reference_id_column: "referenceIdColumn",
|
|
94640
|
+
request_variable_columns: "requestVariableColumns",
|
|
94641
|
+
total_rows: "totalRows",
|
|
94642
|
+
rows_to_call: "rowsToCall",
|
|
94643
|
+
problem_counts: "problemCounts",
|
|
94644
|
+
problem_rows: "problemRows",
|
|
94645
|
+
sample_rows: "sampleRows"
|
|
94646
|
+
});
|
|
94647
|
+
return new BatchFileCheckResult(remapped, {
|
|
94648
|
+
request: v2.request$,
|
|
94649
|
+
response: v2.response$,
|
|
94650
|
+
body: v2.body$
|
|
94651
|
+
});
|
|
94652
|
+
});
|
|
94653
|
+
BatchFileCheckResult$outboundSchema2 = instanceOfType(BatchFileCheckResult).transform((v2) => v2.data$).pipe(objectType({
|
|
94654
|
+
accepted: booleanType(),
|
|
94655
|
+
errorMessage: nullableType(stringType()).optional(),
|
|
94656
|
+
columns: arrayType(stringType()),
|
|
94657
|
+
referenceIdColumn: booleanType(),
|
|
94658
|
+
requestVariableColumns: arrayType(stringType()),
|
|
94659
|
+
totalRows: numberType().int(),
|
|
94660
|
+
rowsToCall: numberType().int(),
|
|
94661
|
+
problemCounts: arrayType(BatchFileProblemCount$outboundSchema),
|
|
94662
|
+
warnings: arrayType(stringType()),
|
|
94663
|
+
problemRows: arrayType(BatchFileProblemRow$outboundSchema),
|
|
94664
|
+
sampleRows: arrayType(BatchFileSampleRow$outboundSchema)
|
|
94665
|
+
}).transform((v2) => {
|
|
94666
|
+
return remap(v2, {
|
|
94667
|
+
errorMessage: "error_message",
|
|
94668
|
+
referenceIdColumn: "reference_id_column",
|
|
94669
|
+
requestVariableColumns: "request_variable_columns",
|
|
94670
|
+
totalRows: "total_rows",
|
|
94671
|
+
rowsToCall: "rows_to_call",
|
|
94672
|
+
problemCounts: "problem_counts",
|
|
94673
|
+
problemRows: "problem_rows",
|
|
94674
|
+
sampleRows: "sample_rows"
|
|
94675
|
+
});
|
|
94676
|
+
}));
|
|
94677
|
+
});
|
|
94678
|
+
|
|
94314
94679
|
// src/models/errors/custommessageerrorresponse.ts
|
|
94315
94680
|
var CustomMessageErrorResponse, CustomMessageErrorResponse$inboundSchema, CustomMessageErrorResponse$outboundSchema;
|
|
94316
94681
|
var init_custommessageerrorresponse = __esm(() => {
|
|
@@ -94722,6 +95087,7 @@ var init_sessionsummaryerrorresponse = __esm(() => {
|
|
|
94722
95087
|
// src/models/errors/index.ts
|
|
94723
95088
|
var init_errors10 = __esm(() => {
|
|
94724
95089
|
init_agenterrorresponse();
|
|
95090
|
+
init_batchfilecheckresult2();
|
|
94725
95091
|
init_custommessageerrorresponse();
|
|
94726
95092
|
init_directorymemberlist();
|
|
94727
95093
|
init_httpclienterrors();
|
|
@@ -97666,19 +98032,23 @@ var init_outboundbatchupload = __esm(() => {
|
|
|
97666
98032
|
init_components();
|
|
97667
98033
|
OutboundBatchUploadRequest$inboundSchema = objectType({
|
|
97668
98034
|
batch_id: stringType(),
|
|
98035
|
+
validate_only: booleanType().default(false),
|
|
97669
98036
|
Body_outbound_batch_upload: BodyOutboundBatchUpload$inboundSchema.optional()
|
|
97670
98037
|
}).transform((v2) => {
|
|
97671
98038
|
return remap(v2, {
|
|
97672
98039
|
batch_id: "batchId",
|
|
98040
|
+
validate_only: "validateOnly",
|
|
97673
98041
|
Body_outbound_batch_upload: "bodyOutboundBatchUpload"
|
|
97674
98042
|
});
|
|
97675
98043
|
});
|
|
97676
98044
|
OutboundBatchUploadRequest$outboundSchema = objectType({
|
|
97677
98045
|
batchId: stringType(),
|
|
98046
|
+
validateOnly: booleanType().default(false),
|
|
97678
98047
|
bodyOutboundBatchUpload: BodyOutboundBatchUpload$outboundSchema.optional()
|
|
97679
98048
|
}).transform((v2) => {
|
|
97680
98049
|
return remap(v2, {
|
|
97681
98050
|
batchId: "batch_id",
|
|
98051
|
+
validateOnly: "validate_only",
|
|
97682
98052
|
bodyOutboundBatchUpload: "Body_outbound_batch_upload"
|
|
97683
98053
|
});
|
|
97684
98054
|
});
|
|
@@ -113941,6 +114311,9 @@ async function $do136(client, request, options) {
|
|
|
113941
114311
|
})
|
|
113942
114312
|
};
|
|
113943
114313
|
const path = pathToFunc("/api/v1/outbound/batches/{batch_id}/upload_batch")(pathParams);
|
|
114314
|
+
const query = encodeFormQuery({
|
|
114315
|
+
validate_only: payload.validate_only
|
|
114316
|
+
});
|
|
113944
114317
|
const headers = new Headers(compactMap({
|
|
113945
114318
|
Accept: "application/json"
|
|
113946
114319
|
}));
|
|
@@ -113963,6 +114336,7 @@ async function $do136(client, request, options) {
|
|
|
113963
114336
|
baseURL: options?.serverURL,
|
|
113964
114337
|
path,
|
|
113965
114338
|
headers,
|
|
114339
|
+
query,
|
|
113966
114340
|
body,
|
|
113967
114341
|
userAgent: client._options.userAgent,
|
|
113968
114342
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -113984,14 +114358,13 @@ async function $do136(client, request, options) {
|
|
|
113984
114358
|
const responseFields = {
|
|
113985
114359
|
HttpMeta: { Response: response, Request: req }
|
|
113986
114360
|
};
|
|
113987
|
-
const [result] = await match(json(200,
|
|
114361
|
+
const [result] = await match(json(200, BatchFileCheckResult$inboundSchema), jsonErr(400, BatchFileCheckResult$inboundSchema2), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
113988
114362
|
if (!result.ok) {
|
|
113989
114363
|
return [result, { status: "complete", request: req, response }];
|
|
113990
114364
|
}
|
|
113991
114365
|
return [result, { status: "complete", request: req, response }];
|
|
113992
114366
|
}
|
|
113993
114367
|
var init_outboundBatchesUpload = __esm(() => {
|
|
113994
|
-
init_v3();
|
|
113995
114368
|
init_encodings();
|
|
113996
114369
|
init_http();
|
|
113997
114370
|
init_matchers();
|
|
@@ -113999,6 +114372,7 @@ var init_outboundBatchesUpload = __esm(() => {
|
|
|
113999
114372
|
init_schemas9();
|
|
114000
114373
|
init_security();
|
|
114001
114374
|
init_url();
|
|
114375
|
+
init_components();
|
|
114002
114376
|
init_errors10();
|
|
114003
114377
|
init_operations();
|
|
114004
114378
|
init_async();
|
|
@@ -114016,7 +114390,16 @@ var init_outboundBatchesUpload2 = __esm(() => {
|
|
|
114016
114390
|
};
|
|
114017
114391
|
tool$outboundBatchesUpload = {
|
|
114018
114392
|
name: "outbound-batches-upload",
|
|
114019
|
-
description: `Upload Outbound Communication Batch
|
|
114393
|
+
description: `Upload Outbound Communication Batch
|
|
114394
|
+
|
|
114395
|
+
Check a batch file, then create a request for each row that can be called.
|
|
114396
|
+
|
|
114397
|
+
The check runs before the response, so the response contains the results. A file with a problem
|
|
114398
|
+
that stops the whole file returns 400, and the batch is marked FAILED with the reason. Requests
|
|
114399
|
+
are created in the background after the response.
|
|
114400
|
+
|
|
114401
|
+
In validate-only mode, the response is always 200: the check itself succeeded, and accepted tells
|
|
114402
|
+
whether the file would be accepted.`,
|
|
114020
114403
|
args: args125,
|
|
114021
114404
|
tool: async (client, args126, ctx) => {
|
|
114022
114405
|
const [result, apiCall] = await outboundBatchesUpload(client, args126.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
@@ -114464,11 +114847,115 @@ var init_outboundCampaignsList2 = __esm(() => {
|
|
|
114464
114847
|
};
|
|
114465
114848
|
});
|
|
114466
114849
|
|
|
114467
|
-
// src/funcs/
|
|
114468
|
-
function
|
|
114850
|
+
// src/funcs/outboundCampaignsOutboundCampaignExcludedDates.ts
|
|
114851
|
+
function outboundCampaignsOutboundCampaignExcludedDates(client, request, options) {
|
|
114469
114852
|
return new APIPromise($do141(client, request, options));
|
|
114470
114853
|
}
|
|
114471
114854
|
async function $do141(client, request, options) {
|
|
114855
|
+
const parsed = safeParse6(request, (value) => CampaignExcludedDatesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114856
|
+
if (!parsed.ok) {
|
|
114857
|
+
return [parsed, { status: "invalid" }];
|
|
114858
|
+
}
|
|
114859
|
+
const payload = parsed.value;
|
|
114860
|
+
const body = encodeJSON("body", payload, { explode: true });
|
|
114861
|
+
const path = pathToFunc("/api/v1/outbound/campaigns/excluded_dates")();
|
|
114862
|
+
const headers = new Headers(compactMap({
|
|
114863
|
+
"Content-Type": "application/json",
|
|
114864
|
+
Accept: "application/json"
|
|
114865
|
+
}));
|
|
114866
|
+
const secConfig = await extractSecurity(client._options.apiKeyHeader);
|
|
114867
|
+
const securityInput = secConfig == null ? {} : { apiKeyHeader: secConfig };
|
|
114868
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
114869
|
+
const context2 = {
|
|
114870
|
+
options: client._options,
|
|
114871
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
114872
|
+
operationID: "outbound_campaign_excluded_dates",
|
|
114873
|
+
oAuth2Scopes: null,
|
|
114874
|
+
resolvedSecurity: requestSecurity,
|
|
114875
|
+
securitySource: client._options.apiKeyHeader,
|
|
114876
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
114877
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
114878
|
+
};
|
|
114879
|
+
const requestRes = client._createRequest(context2, {
|
|
114880
|
+
security: requestSecurity,
|
|
114881
|
+
method: "POST",
|
|
114882
|
+
baseURL: options?.serverURL,
|
|
114883
|
+
path,
|
|
114884
|
+
headers,
|
|
114885
|
+
body,
|
|
114886
|
+
userAgent: client._options.userAgent,
|
|
114887
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
114888
|
+
}, options);
|
|
114889
|
+
if (!requestRes.ok) {
|
|
114890
|
+
return [requestRes, { status: "invalid" }];
|
|
114891
|
+
}
|
|
114892
|
+
const req = requestRes.value;
|
|
114893
|
+
const doResult = await client._do(req, {
|
|
114894
|
+
context: context2,
|
|
114895
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
114896
|
+
retryConfig: context2.retryConfig,
|
|
114897
|
+
retryCodes: context2.retryCodes
|
|
114898
|
+
});
|
|
114899
|
+
if (!doResult.ok) {
|
|
114900
|
+
return [doResult, { status: "request-error", request: req }];
|
|
114901
|
+
}
|
|
114902
|
+
const response = doResult.value;
|
|
114903
|
+
const responseFields = {
|
|
114904
|
+
HttpMeta: { Response: response, Request: req }
|
|
114905
|
+
};
|
|
114906
|
+
const [result] = await match(json(200, CampaignExcludedDates$inboundSchema), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
114907
|
+
if (!result.ok) {
|
|
114908
|
+
return [result, { status: "complete", request: req, response }];
|
|
114909
|
+
}
|
|
114910
|
+
return [result, { status: "complete", request: req, response }];
|
|
114911
|
+
}
|
|
114912
|
+
var init_outboundCampaignsOutboundCampaignExcludedDates = __esm(() => {
|
|
114913
|
+
init_encodings();
|
|
114914
|
+
init_http();
|
|
114915
|
+
init_matchers();
|
|
114916
|
+
init_primitives();
|
|
114917
|
+
init_schemas9();
|
|
114918
|
+
init_security();
|
|
114919
|
+
init_url();
|
|
114920
|
+
init_components();
|
|
114921
|
+
init_errors10();
|
|
114922
|
+
init_async();
|
|
114923
|
+
});
|
|
114924
|
+
|
|
114925
|
+
// src/mcp-server/tools/outboundCampaignsOutboundCampaignExcludedDates.ts
|
|
114926
|
+
var args130, tool$outboundCampaignsOutboundCampaignExcludedDates;
|
|
114927
|
+
var init_outboundCampaignsOutboundCampaignExcludedDates2 = __esm(() => {
|
|
114928
|
+
init_outboundCampaignsOutboundCampaignExcludedDates();
|
|
114929
|
+
init_components();
|
|
114930
|
+
init_tools();
|
|
114931
|
+
args130 = {
|
|
114932
|
+
request: CampaignExcludedDatesRequest$inboundSchema
|
|
114933
|
+
};
|
|
114934
|
+
tool$outboundCampaignsOutboundCampaignExcludedDates = {
|
|
114935
|
+
name: "outbound-campaigns-outbound-campaign-excluded-dates",
|
|
114936
|
+
description: `List Outbound Communication Campaign Excluded Dates
|
|
114937
|
+
|
|
114938
|
+
The dates on which a date or holiday rule stops all outreach, with the names of the matching holidays. The rules and the active days come from the request body, so the dates can be shown for a campaign that is not saved yet. A date on which the campaign does not run anyway is not listed. Nothing is stored. With no range, the next 12 months from today in the given time zone are returned. The range can be at most 5 years.`,
|
|
114939
|
+
args: args130,
|
|
114940
|
+
tool: async (client, args131, ctx) => {
|
|
114941
|
+
const [result, apiCall] = await outboundCampaignsOutboundCampaignExcludedDates(client, args131.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
114942
|
+
if (!result.ok) {
|
|
114943
|
+
return {
|
|
114944
|
+
content: [{ type: "text", text: result.error.message }],
|
|
114945
|
+
isError: true
|
|
114946
|
+
};
|
|
114947
|
+
}
|
|
114948
|
+
const value = result.value;
|
|
114949
|
+
return formatResult(value, apiCall);
|
|
114950
|
+
}
|
|
114951
|
+
};
|
|
114952
|
+
});
|
|
114953
|
+
|
|
114954
|
+
// src/funcs/outboundCampaignsUpdate.ts
|
|
114955
|
+
function outboundCampaignsUpdate(client, request, options) {
|
|
114956
|
+
return new APIPromise($do142(client, request, options));
|
|
114957
|
+
}
|
|
114958
|
+
async function $do142(client, request, options) {
|
|
114472
114959
|
const parsed = safeParse6(request, (value) => OutboundCampaignUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114473
114960
|
if (!parsed.ok) {
|
|
114474
114961
|
return [parsed, { status: "invalid" }];
|
|
@@ -114549,20 +115036,20 @@ var init_outboundCampaignsUpdate = __esm(() => {
|
|
|
114549
115036
|
});
|
|
114550
115037
|
|
|
114551
115038
|
// src/mcp-server/tools/outboundCampaignsUpdate.ts
|
|
114552
|
-
var
|
|
115039
|
+
var args131, tool$outboundCampaignsUpdate;
|
|
114553
115040
|
var init_outboundCampaignsUpdate2 = __esm(() => {
|
|
114554
115041
|
init_outboundCampaignsUpdate();
|
|
114555
115042
|
init_operations();
|
|
114556
115043
|
init_tools();
|
|
114557
|
-
|
|
115044
|
+
args131 = {
|
|
114558
115045
|
request: OutboundCampaignUpdateRequest$inboundSchema
|
|
114559
115046
|
};
|
|
114560
115047
|
tool$outboundCampaignsUpdate = {
|
|
114561
115048
|
name: "outbound-campaigns-update",
|
|
114562
115049
|
description: `Update Outbound Communication Campaign`,
|
|
114563
|
-
args:
|
|
114564
|
-
tool: async (client,
|
|
114565
|
-
const [result, apiCall] = await outboundCampaignsUpdate(client,
|
|
115050
|
+
args: args131,
|
|
115051
|
+
tool: async (client, args132, ctx) => {
|
|
115052
|
+
const [result, apiCall] = await outboundCampaignsUpdate(client, args132.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
114566
115053
|
if (!result.ok) {
|
|
114567
115054
|
return {
|
|
114568
115055
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114577,9 +115064,9 @@ var init_outboundCampaignsUpdate2 = __esm(() => {
|
|
|
114577
115064
|
|
|
114578
115065
|
// src/funcs/permissionsList.ts
|
|
114579
115066
|
function permissionsList(client, options) {
|
|
114580
|
-
return new APIPromise($
|
|
115067
|
+
return new APIPromise($do143(client, options));
|
|
114581
115068
|
}
|
|
114582
|
-
async function $
|
|
115069
|
+
async function $do143(client, options) {
|
|
114583
115070
|
const path = pathToFunc("/api/v1/permissions/")();
|
|
114584
115071
|
const headers = new Headers(compactMap({
|
|
114585
115072
|
Accept: "application/json"
|
|
@@ -114663,9 +115150,9 @@ Get all available permissions in the system.`,
|
|
|
114663
115150
|
|
|
114664
115151
|
// src/funcs/promptsCreate.ts
|
|
114665
115152
|
function promptsCreate(client, request, options) {
|
|
114666
|
-
return new APIPromise($
|
|
115153
|
+
return new APIPromise($do144(client, request, options));
|
|
114667
115154
|
}
|
|
114668
|
-
async function $
|
|
115155
|
+
async function $do144(client, request, options) {
|
|
114669
115156
|
const parsed = safeParse6(request, (value) => PromptCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114670
115157
|
if (!parsed.ok) {
|
|
114671
115158
|
return [parsed, { status: "invalid" }];
|
|
@@ -114737,12 +115224,12 @@ var init_promptsCreate = __esm(() => {
|
|
|
114737
115224
|
});
|
|
114738
115225
|
|
|
114739
115226
|
// src/mcp-server/tools/promptsCreate.ts
|
|
114740
|
-
var
|
|
115227
|
+
var args132, tool$promptsCreate;
|
|
114741
115228
|
var init_promptsCreate2 = __esm(() => {
|
|
114742
115229
|
init_promptsCreate();
|
|
114743
115230
|
init_components();
|
|
114744
115231
|
init_tools();
|
|
114745
|
-
|
|
115232
|
+
args132 = {
|
|
114746
115233
|
request: PromptCreateRequest$inboundSchema
|
|
114747
115234
|
};
|
|
114748
115235
|
tool$promptsCreate = {
|
|
@@ -114750,9 +115237,9 @@ var init_promptsCreate2 = __esm(() => {
|
|
|
114750
115237
|
description: `Create Prompt
|
|
114751
115238
|
|
|
114752
115239
|
Create a new prompt`,
|
|
114753
|
-
args:
|
|
114754
|
-
tool: async (client,
|
|
114755
|
-
const [result, apiCall] = await promptsCreate(client,
|
|
115240
|
+
args: args132,
|
|
115241
|
+
tool: async (client, args133, ctx) => {
|
|
115242
|
+
const [result, apiCall] = await promptsCreate(client, args133.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
114756
115243
|
if (!result.ok) {
|
|
114757
115244
|
return {
|
|
114758
115245
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114767,9 +115254,9 @@ Create a new prompt`,
|
|
|
114767
115254
|
|
|
114768
115255
|
// src/funcs/promptsDelete.ts
|
|
114769
115256
|
function promptsDelete(client, request, options) {
|
|
114770
|
-
return new APIPromise($
|
|
115257
|
+
return new APIPromise($do145(client, request, options));
|
|
114771
115258
|
}
|
|
114772
|
-
async function $
|
|
115259
|
+
async function $do145(client, request, options) {
|
|
114773
115260
|
const parsed = safeParse6(request, (value) => PromptsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114774
115261
|
if (!parsed.ok) {
|
|
114775
115262
|
return [parsed, { status: "invalid" }];
|
|
@@ -114851,12 +115338,12 @@ var init_promptsDelete = __esm(() => {
|
|
|
114851
115338
|
});
|
|
114852
115339
|
|
|
114853
115340
|
// src/mcp-server/tools/promptsDelete.ts
|
|
114854
|
-
var
|
|
115341
|
+
var args133, tool$promptsDelete;
|
|
114855
115342
|
var init_promptsDelete2 = __esm(() => {
|
|
114856
115343
|
init_promptsDelete();
|
|
114857
115344
|
init_operations();
|
|
114858
115345
|
init_tools();
|
|
114859
|
-
|
|
115346
|
+
args133 = {
|
|
114860
115347
|
request: PromptsDeleteRequest$inboundSchema
|
|
114861
115348
|
};
|
|
114862
115349
|
tool$promptsDelete = {
|
|
@@ -114864,9 +115351,9 @@ var init_promptsDelete2 = __esm(() => {
|
|
|
114864
115351
|
description: `Delete Prompt
|
|
114865
115352
|
|
|
114866
115353
|
Delete a prompt`,
|
|
114867
|
-
args:
|
|
114868
|
-
tool: async (client,
|
|
114869
|
-
const [result, apiCall] = await promptsDelete(client,
|
|
115354
|
+
args: args133,
|
|
115355
|
+
tool: async (client, args134, ctx) => {
|
|
115356
|
+
const [result, apiCall] = await promptsDelete(client, args134.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
114870
115357
|
if (!result.ok) {
|
|
114871
115358
|
return {
|
|
114872
115359
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114881,9 +115368,9 @@ Delete a prompt`,
|
|
|
114881
115368
|
|
|
114882
115369
|
// src/funcs/promptsGetById.ts
|
|
114883
115370
|
function promptsGetById(client, request, options) {
|
|
114884
|
-
return new APIPromise($
|
|
115371
|
+
return new APIPromise($do146(client, request, options));
|
|
114885
115372
|
}
|
|
114886
|
-
async function $
|
|
115373
|
+
async function $do146(client, request, options) {
|
|
114887
115374
|
const parsed = safeParse6(request, (value) => PromptsGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114888
115375
|
if (!parsed.ok) {
|
|
114889
115376
|
return [parsed, { status: "invalid" }];
|
|
@@ -114961,12 +115448,12 @@ var init_promptsGetById = __esm(() => {
|
|
|
114961
115448
|
});
|
|
114962
115449
|
|
|
114963
115450
|
// src/mcp-server/tools/promptsGetById.ts
|
|
114964
|
-
var
|
|
115451
|
+
var args134, tool$promptsGetById;
|
|
114965
115452
|
var init_promptsGetById2 = __esm(() => {
|
|
114966
115453
|
init_promptsGetById();
|
|
114967
115454
|
init_operations();
|
|
114968
115455
|
init_tools();
|
|
114969
|
-
|
|
115456
|
+
args134 = {
|
|
114970
115457
|
request: PromptsGetByIdRequest$inboundSchema
|
|
114971
115458
|
};
|
|
114972
115459
|
tool$promptsGetById = {
|
|
@@ -114974,9 +115461,9 @@ var init_promptsGetById2 = __esm(() => {
|
|
|
114974
115461
|
description: `Get Prompt By Id
|
|
114975
115462
|
|
|
114976
115463
|
Get a prompt by ID`,
|
|
114977
|
-
args:
|
|
114978
|
-
tool: async (client,
|
|
114979
|
-
const [result, apiCall] = await promptsGetById(client,
|
|
115464
|
+
args: args134,
|
|
115465
|
+
tool: async (client, args135, ctx) => {
|
|
115466
|
+
const [result, apiCall] = await promptsGetById(client, args135.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
114980
115467
|
if (!result.ok) {
|
|
114981
115468
|
return {
|
|
114982
115469
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -114991,9 +115478,9 @@ Get a prompt by ID`,
|
|
|
114991
115478
|
|
|
114992
115479
|
// src/funcs/promptsList.ts
|
|
114993
115480
|
function promptsList(client, request, options) {
|
|
114994
|
-
return new APIPromise($
|
|
115481
|
+
return new APIPromise($do147(client, request, options));
|
|
114995
115482
|
}
|
|
114996
|
-
async function $
|
|
115483
|
+
async function $do147(client, request, options) {
|
|
114997
115484
|
const parsed = safeParse6(request, (value) => PromptsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
114998
115485
|
if (!parsed.ok) {
|
|
114999
115486
|
return [parsed, { status: "invalid" }];
|
|
@@ -115077,12 +115564,12 @@ var init_promptsList = __esm(() => {
|
|
|
115077
115564
|
});
|
|
115078
115565
|
|
|
115079
115566
|
// src/mcp-server/tools/promptsList.ts
|
|
115080
|
-
var
|
|
115567
|
+
var args135, tool$promptsList;
|
|
115081
115568
|
var init_promptsList2 = __esm(() => {
|
|
115082
115569
|
init_promptsList();
|
|
115083
115570
|
init_operations();
|
|
115084
115571
|
init_tools();
|
|
115085
|
-
|
|
115572
|
+
args135 = {
|
|
115086
115573
|
request: PromptsListRequest$inboundSchema
|
|
115087
115574
|
};
|
|
115088
115575
|
tool$promptsList = {
|
|
@@ -115090,9 +115577,9 @@ var init_promptsList2 = __esm(() => {
|
|
|
115090
115577
|
description: `Prompt List
|
|
115091
115578
|
|
|
115092
115579
|
List the existing prompts`,
|
|
115093
|
-
args:
|
|
115094
|
-
tool: async (client,
|
|
115095
|
-
const [result, apiCall] = await promptsList(client,
|
|
115580
|
+
args: args135,
|
|
115581
|
+
tool: async (client, args136, ctx) => {
|
|
115582
|
+
const [result, apiCall] = await promptsList(client, args136.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
115096
115583
|
if (!result.ok) {
|
|
115097
115584
|
return {
|
|
115098
115585
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -115107,9 +115594,9 @@ List the existing prompts`,
|
|
|
115107
115594
|
|
|
115108
115595
|
// src/funcs/promptsPromptGetSupportedLlms.ts
|
|
115109
115596
|
function promptsPromptGetSupportedLlms(client, request, options) {
|
|
115110
|
-
return new APIPromise($
|
|
115597
|
+
return new APIPromise($do148(client, request, options));
|
|
115111
115598
|
}
|
|
115112
|
-
async function $
|
|
115599
|
+
async function $do148(client, request, options) {
|
|
115113
115600
|
const parsed = safeParse6(request, (value) => PromptGetSupportedLlmsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115114
115601
|
if (!parsed.ok) {
|
|
115115
115602
|
return [parsed, { status: "invalid" }];
|
|
@@ -115186,12 +115673,12 @@ var init_promptsPromptGetSupportedLlms = __esm(() => {
|
|
|
115186
115673
|
});
|
|
115187
115674
|
|
|
115188
115675
|
// src/mcp-server/tools/promptsPromptGetSupportedLlms.ts
|
|
115189
|
-
var
|
|
115676
|
+
var args136, tool$promptsPromptGetSupportedLlms;
|
|
115190
115677
|
var init_promptsPromptGetSupportedLlms2 = __esm(() => {
|
|
115191
115678
|
init_promptsPromptGetSupportedLlms();
|
|
115192
115679
|
init_operations();
|
|
115193
115680
|
init_tools();
|
|
115194
|
-
|
|
115681
|
+
args136 = {
|
|
115195
115682
|
request: PromptGetSupportedLlmsRequest$inboundSchema
|
|
115196
115683
|
};
|
|
115197
115684
|
tool$promptsPromptGetSupportedLlms = {
|
|
@@ -115203,9 +115690,9 @@ Get supported LLM configs.
|
|
|
115203
115690
|
Each config's \`status\` is resolved against the current date. Retired models are omitted unless
|
|
115204
115691
|
they match \`selected_model\`, so a saved config still referencing a retired model can render it
|
|
115205
115692
|
as a locked field.`,
|
|
115206
|
-
args:
|
|
115207
|
-
tool: async (client,
|
|
115208
|
-
const [result, apiCall] = await promptsPromptGetSupportedLlms(client,
|
|
115693
|
+
args: args136,
|
|
115694
|
+
tool: async (client, args137, ctx) => {
|
|
115695
|
+
const [result, apiCall] = await promptsPromptGetSupportedLlms(client, args137.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
115209
115696
|
if (!result.ok) {
|
|
115210
115697
|
return {
|
|
115211
115698
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -115220,9 +115707,9 @@ as a locked field.`,
|
|
|
115220
115707
|
|
|
115221
115708
|
// src/funcs/promptsPromptsHistory.ts
|
|
115222
115709
|
function promptsPromptsHistory(client, request, options) {
|
|
115223
|
-
return new APIPromise($
|
|
115710
|
+
return new APIPromise($do149(client, request, options));
|
|
115224
115711
|
}
|
|
115225
|
-
async function $
|
|
115712
|
+
async function $do149(client, request, options) {
|
|
115226
115713
|
const parsed = safeParse6(request, (value) => PromptsHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115227
115714
|
if (!parsed.ok) {
|
|
115228
115715
|
return [parsed, { status: "invalid" }];
|
|
@@ -115301,12 +115788,12 @@ var init_promptsPromptsHistory = __esm(() => {
|
|
|
115301
115788
|
});
|
|
115302
115789
|
|
|
115303
115790
|
// src/mcp-server/tools/promptsPromptsHistory.ts
|
|
115304
|
-
var
|
|
115791
|
+
var args137, tool$promptsPromptsHistory;
|
|
115305
115792
|
var init_promptsPromptsHistory2 = __esm(() => {
|
|
115306
115793
|
init_promptsPromptsHistory();
|
|
115307
115794
|
init_operations();
|
|
115308
115795
|
init_tools();
|
|
115309
|
-
|
|
115796
|
+
args137 = {
|
|
115310
115797
|
request: PromptsHistoryRequest$inboundSchema
|
|
115311
115798
|
};
|
|
115312
115799
|
tool$promptsPromptsHistory = {
|
|
@@ -115314,9 +115801,9 @@ var init_promptsPromptsHistory2 = __esm(() => {
|
|
|
115314
115801
|
description: `Get Prompt History
|
|
115315
115802
|
|
|
115316
115803
|
Get a list of historical versions of a prompt by its ID`,
|
|
115317
|
-
args:
|
|
115318
|
-
tool: async (client,
|
|
115319
|
-
const [result, apiCall] = await promptsPromptsHistory(client,
|
|
115804
|
+
args: args137,
|
|
115805
|
+
tool: async (client, args138, ctx) => {
|
|
115806
|
+
const [result, apiCall] = await promptsPromptsHistory(client, args138.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
115320
115807
|
if (!result.ok) {
|
|
115321
115808
|
return {
|
|
115322
115809
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -115331,9 +115818,9 @@ Get a list of historical versions of a prompt by its ID`,
|
|
|
115331
115818
|
|
|
115332
115819
|
// src/funcs/promptsPromptsListActiveLabels.ts
|
|
115333
115820
|
function promptsPromptsListActiveLabels(client, options) {
|
|
115334
|
-
return new APIPromise($
|
|
115821
|
+
return new APIPromise($do150(client, options));
|
|
115335
115822
|
}
|
|
115336
|
-
async function $
|
|
115823
|
+
async function $do150(client, options) {
|
|
115337
115824
|
const path = pathToFunc("/api/v1/prompts/labels")();
|
|
115338
115825
|
const headers = new Headers(compactMap({
|
|
115339
115826
|
Accept: "application/json"
|
|
@@ -115416,9 +115903,9 @@ List all distinct labels in use across active prompts.`,
|
|
|
115416
115903
|
|
|
115417
115904
|
// src/funcs/promptsUpdate.ts
|
|
115418
115905
|
function promptsUpdate(client, request, options) {
|
|
115419
|
-
return new APIPromise($
|
|
115906
|
+
return new APIPromise($do151(client, request, options));
|
|
115420
115907
|
}
|
|
115421
|
-
async function $
|
|
115908
|
+
async function $do151(client, request, options) {
|
|
115422
115909
|
const parsed = safeParse6(request, (value) => PromptUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115423
115910
|
if (!parsed.ok) {
|
|
115424
115911
|
return [parsed, { status: "invalid" }];
|
|
@@ -115490,12 +115977,12 @@ var init_promptsUpdate = __esm(() => {
|
|
|
115490
115977
|
});
|
|
115491
115978
|
|
|
115492
115979
|
// src/mcp-server/tools/promptsUpdate.ts
|
|
115493
|
-
var
|
|
115980
|
+
var args138, tool$promptsUpdate;
|
|
115494
115981
|
var init_promptsUpdate2 = __esm(() => {
|
|
115495
115982
|
init_promptsUpdate();
|
|
115496
115983
|
init_components();
|
|
115497
115984
|
init_tools();
|
|
115498
|
-
|
|
115985
|
+
args138 = {
|
|
115499
115986
|
request: PromptUpdateRequest$inboundSchema
|
|
115500
115987
|
};
|
|
115501
115988
|
tool$promptsUpdate = {
|
|
@@ -115503,9 +115990,9 @@ var init_promptsUpdate2 = __esm(() => {
|
|
|
115503
115990
|
description: `Update Prompt
|
|
115504
115991
|
|
|
115505
115992
|
Update an existing prompt`,
|
|
115506
|
-
args:
|
|
115507
|
-
tool: async (client,
|
|
115508
|
-
const [result, apiCall] = await promptsUpdate(client,
|
|
115993
|
+
args: args138,
|
|
115994
|
+
tool: async (client, args139, ctx) => {
|
|
115995
|
+
const [result, apiCall] = await promptsUpdate(client, args139.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
115509
115996
|
if (!result.ok) {
|
|
115510
115997
|
return {
|
|
115511
115998
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -115520,9 +116007,9 @@ Update an existing prompt`,
|
|
|
115520
116007
|
|
|
115521
116008
|
// src/funcs/pronunciationsPronunciationsDeleteCsv.ts
|
|
115522
116009
|
function pronunciationsPronunciationsDeleteCsv(client, options) {
|
|
115523
|
-
return new APIPromise($
|
|
116010
|
+
return new APIPromise($do152(client, options));
|
|
115524
116011
|
}
|
|
115525
|
-
async function $
|
|
116012
|
+
async function $do152(client, options) {
|
|
115526
116013
|
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
115527
116014
|
const headers = new Headers(compactMap({
|
|
115528
116015
|
Accept: "*/*"
|
|
@@ -115602,9 +116089,9 @@ var init_pronunciationsPronunciationsDeleteCsv2 = __esm(() => {
|
|
|
115602
116089
|
|
|
115603
116090
|
// src/funcs/pronunciationsPronunciationsDownloadCsv.ts
|
|
115604
116091
|
function pronunciationsPronunciationsDownloadCsv(client, options) {
|
|
115605
|
-
return new APIPromise($
|
|
116092
|
+
return new APIPromise($do153(client, options));
|
|
115606
116093
|
}
|
|
115607
|
-
async function $
|
|
116094
|
+
async function $do153(client, options) {
|
|
115608
116095
|
const path = pathToFunc("/api/v1/pronunciations/csv")();
|
|
115609
116096
|
const headers = new Headers(compactMap({
|
|
115610
116097
|
Accept: "text/csv"
|
|
@@ -115687,9 +116174,9 @@ var init_pronunciationsPronunciationsDownloadCsv2 = __esm(() => {
|
|
|
115687
116174
|
|
|
115688
116175
|
// src/funcs/pronunciationsPronunciationsGet.ts
|
|
115689
116176
|
function pronunciationsPronunciationsGet(client, options) {
|
|
115690
|
-
return new APIPromise($
|
|
116177
|
+
return new APIPromise($do154(client, options));
|
|
115691
116178
|
}
|
|
115692
|
-
async function $
|
|
116179
|
+
async function $do154(client, options) {
|
|
115693
116180
|
const path = pathToFunc("/api/v1/pronunciations")();
|
|
115694
116181
|
const headers = new Headers(compactMap({
|
|
115695
116182
|
Accept: "application/json"
|
|
@@ -115770,9 +116257,9 @@ var init_pronunciationsPronunciationsGet2 = __esm(() => {
|
|
|
115770
116257
|
|
|
115771
116258
|
// src/funcs/pronunciationsPronunciationsGetMetadata.ts
|
|
115772
116259
|
function pronunciationsPronunciationsGetMetadata(client, options) {
|
|
115773
|
-
return new APIPromise($
|
|
116260
|
+
return new APIPromise($do155(client, options));
|
|
115774
116261
|
}
|
|
115775
|
-
async function $
|
|
116262
|
+
async function $do155(client, options) {
|
|
115776
116263
|
const path = pathToFunc("/api/v1/pronunciations/metadata")();
|
|
115777
116264
|
const headers = new Headers(compactMap({
|
|
115778
116265
|
Accept: "application/json"
|
|
@@ -115853,9 +116340,9 @@ var init_pronunciationsPronunciationsGetMetadata2 = __esm(() => {
|
|
|
115853
116340
|
|
|
115854
116341
|
// src/funcs/pronunciationsPronunciationsUploadCsv.ts
|
|
115855
116342
|
function pronunciationsPronunciationsUploadCsv(client, request, options) {
|
|
115856
|
-
return new APIPromise($
|
|
116343
|
+
return new APIPromise($do156(client, request, options));
|
|
115857
116344
|
}
|
|
115858
|
-
async function $
|
|
116345
|
+
async function $do156(client, request, options) {
|
|
115859
116346
|
const parsed = safeParse6(request, (value) => BodyPronunciationsUploadCsv$outboundSchema.parse(value), "Input validation failed");
|
|
115860
116347
|
if (!parsed.ok) {
|
|
115861
116348
|
return [parsed, { status: "invalid" }];
|
|
@@ -115940,20 +116427,20 @@ var init_pronunciationsPronunciationsUploadCsv = __esm(() => {
|
|
|
115940
116427
|
});
|
|
115941
116428
|
|
|
115942
116429
|
// src/mcp-server/tools/pronunciationsPronunciationsUploadCsv.ts
|
|
115943
|
-
var
|
|
116430
|
+
var args139, tool$pronunciationsPronunciationsUploadCsv;
|
|
115944
116431
|
var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
115945
116432
|
init_pronunciationsPronunciationsUploadCsv();
|
|
115946
116433
|
init_components();
|
|
115947
116434
|
init_tools();
|
|
115948
|
-
|
|
116435
|
+
args139 = {
|
|
115949
116436
|
request: BodyPronunciationsUploadCsv$inboundSchema
|
|
115950
116437
|
};
|
|
115951
116438
|
tool$pronunciationsPronunciationsUploadCsv = {
|
|
115952
116439
|
name: "pronunciations-pronunciations-upload-csv",
|
|
115953
116440
|
description: `Upload Pronunciations Csv`,
|
|
115954
|
-
args:
|
|
115955
|
-
tool: async (client,
|
|
115956
|
-
const [result, apiCall] = await pronunciationsPronunciationsUploadCsv(client,
|
|
116441
|
+
args: args139,
|
|
116442
|
+
tool: async (client, args140, ctx) => {
|
|
116443
|
+
const [result, apiCall] = await pronunciationsPronunciationsUploadCsv(client, args140.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
115957
116444
|
if (!result.ok) {
|
|
115958
116445
|
return {
|
|
115959
116446
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -115968,9 +116455,9 @@ var init_pronunciationsPronunciationsUploadCsv2 = __esm(() => {
|
|
|
115968
116455
|
|
|
115969
116456
|
// src/funcs/rolesCreate.ts
|
|
115970
116457
|
function rolesCreate(client, request, options) {
|
|
115971
|
-
return new APIPromise($
|
|
116458
|
+
return new APIPromise($do157(client, request, options));
|
|
115972
116459
|
}
|
|
115973
|
-
async function $
|
|
116460
|
+
async function $do157(client, request, options) {
|
|
115974
116461
|
const parsed = safeParse6(request, (value) => RoleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
115975
116462
|
if (!parsed.ok) {
|
|
115976
116463
|
return [parsed, { status: "invalid" }];
|
|
@@ -116042,12 +116529,12 @@ var init_rolesCreate = __esm(() => {
|
|
|
116042
116529
|
});
|
|
116043
116530
|
|
|
116044
116531
|
// src/mcp-server/tools/rolesCreate.ts
|
|
116045
|
-
var
|
|
116532
|
+
var args140, tool$rolesCreate;
|
|
116046
116533
|
var init_rolesCreate2 = __esm(() => {
|
|
116047
116534
|
init_rolesCreate();
|
|
116048
116535
|
init_components();
|
|
116049
116536
|
init_tools();
|
|
116050
|
-
|
|
116537
|
+
args140 = {
|
|
116051
116538
|
request: RoleCreateRequest$inboundSchema
|
|
116052
116539
|
};
|
|
116053
116540
|
tool$rolesCreate = {
|
|
@@ -116055,9 +116542,9 @@ var init_rolesCreate2 = __esm(() => {
|
|
|
116055
116542
|
description: `Create Role
|
|
116056
116543
|
|
|
116057
116544
|
Create a new role.`,
|
|
116058
|
-
args:
|
|
116059
|
-
tool: async (client,
|
|
116060
|
-
const [result, apiCall] = await rolesCreate(client,
|
|
116545
|
+
args: args140,
|
|
116546
|
+
tool: async (client, args141, ctx) => {
|
|
116547
|
+
const [result, apiCall] = await rolesCreate(client, args141.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
116061
116548
|
if (!result.ok) {
|
|
116062
116549
|
return {
|
|
116063
116550
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -116072,9 +116559,9 @@ Create a new role.`,
|
|
|
116072
116559
|
|
|
116073
116560
|
// src/funcs/rolesDelete.ts
|
|
116074
116561
|
function rolesDelete(client, request, options) {
|
|
116075
|
-
return new APIPromise($
|
|
116562
|
+
return new APIPromise($do158(client, request, options));
|
|
116076
116563
|
}
|
|
116077
|
-
async function $
|
|
116564
|
+
async function $do158(client, request, options) {
|
|
116078
116565
|
const parsed = safeParse6(request, (value) => RolesDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116079
116566
|
if (!parsed.ok) {
|
|
116080
116567
|
return [parsed, { status: "invalid" }];
|
|
@@ -116157,12 +116644,12 @@ var init_rolesDelete = __esm(() => {
|
|
|
116157
116644
|
});
|
|
116158
116645
|
|
|
116159
116646
|
// src/mcp-server/tools/rolesDelete.ts
|
|
116160
|
-
var
|
|
116647
|
+
var args141, tool$rolesDelete;
|
|
116161
116648
|
var init_rolesDelete2 = __esm(() => {
|
|
116162
116649
|
init_rolesDelete();
|
|
116163
116650
|
init_operations();
|
|
116164
116651
|
init_tools();
|
|
116165
|
-
|
|
116652
|
+
args141 = {
|
|
116166
116653
|
request: RolesDeleteRequest$inboundSchema
|
|
116167
116654
|
};
|
|
116168
116655
|
tool$rolesDelete = {
|
|
@@ -116170,9 +116657,9 @@ var init_rolesDelete2 = __esm(() => {
|
|
|
116170
116657
|
description: `Delete Role
|
|
116171
116658
|
|
|
116172
116659
|
Delete a role. Optionally, reassign existing users with that role to a new role.`,
|
|
116173
|
-
args:
|
|
116174
|
-
tool: async (client,
|
|
116175
|
-
const [result, apiCall] = await rolesDelete(client,
|
|
116660
|
+
args: args141,
|
|
116661
|
+
tool: async (client, args142, ctx) => {
|
|
116662
|
+
const [result, apiCall] = await rolesDelete(client, args142.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
116176
116663
|
if (!result.ok) {
|
|
116177
116664
|
return {
|
|
116178
116665
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -116187,9 +116674,9 @@ Delete a role. Optionally, reassign existing users with that role to a new role.
|
|
|
116187
116674
|
|
|
116188
116675
|
// src/funcs/rolesGetById.ts
|
|
116189
116676
|
function rolesGetById(client, request, options) {
|
|
116190
|
-
return new APIPromise($
|
|
116677
|
+
return new APIPromise($do159(client, request, options));
|
|
116191
116678
|
}
|
|
116192
|
-
async function $
|
|
116679
|
+
async function $do159(client, request, options) {
|
|
116193
116680
|
const parsed = safeParse6(request, (value) => RolesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116194
116681
|
if (!parsed.ok) {
|
|
116195
116682
|
return [parsed, { status: "invalid" }];
|
|
@@ -116267,12 +116754,12 @@ var init_rolesGetById = __esm(() => {
|
|
|
116267
116754
|
});
|
|
116268
116755
|
|
|
116269
116756
|
// src/mcp-server/tools/rolesGetById.ts
|
|
116270
|
-
var
|
|
116757
|
+
var args142, tool$rolesGetById;
|
|
116271
116758
|
var init_rolesGetById2 = __esm(() => {
|
|
116272
116759
|
init_rolesGetById();
|
|
116273
116760
|
init_operations();
|
|
116274
116761
|
init_tools();
|
|
116275
|
-
|
|
116762
|
+
args142 = {
|
|
116276
116763
|
request: RolesGetByIdRequest$inboundSchema
|
|
116277
116764
|
};
|
|
116278
116765
|
tool$rolesGetById = {
|
|
@@ -116280,9 +116767,9 @@ var init_rolesGetById2 = __esm(() => {
|
|
|
116280
116767
|
description: `Get Role
|
|
116281
116768
|
|
|
116282
116769
|
Fetch a given role.`,
|
|
116283
|
-
args:
|
|
116284
|
-
tool: async (client,
|
|
116285
|
-
const [result, apiCall] = await rolesGetById(client,
|
|
116770
|
+
args: args142,
|
|
116771
|
+
tool: async (client, args143, ctx) => {
|
|
116772
|
+
const [result, apiCall] = await rolesGetById(client, args143.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
116286
116773
|
if (!result.ok) {
|
|
116287
116774
|
return {
|
|
116288
116775
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -116297,9 +116784,9 @@ Fetch a given role.`,
|
|
|
116297
116784
|
|
|
116298
116785
|
// src/funcs/rolesList.ts
|
|
116299
116786
|
function rolesList(client, request, options) {
|
|
116300
|
-
return new APIPromise($
|
|
116787
|
+
return new APIPromise($do160(client, request, options));
|
|
116301
116788
|
}
|
|
116302
|
-
async function $
|
|
116789
|
+
async function $do160(client, request, options) {
|
|
116303
116790
|
const parsed = safeParse6(request, (value) => RolesListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116304
116791
|
if (!parsed.ok) {
|
|
116305
116792
|
return [parsed, { status: "invalid" }];
|
|
@@ -116383,12 +116870,12 @@ var init_rolesList = __esm(() => {
|
|
|
116383
116870
|
});
|
|
116384
116871
|
|
|
116385
116872
|
// src/mcp-server/tools/rolesList.ts
|
|
116386
|
-
var
|
|
116873
|
+
var args143, tool$rolesList;
|
|
116387
116874
|
var init_rolesList2 = __esm(() => {
|
|
116388
116875
|
init_rolesList();
|
|
116389
116876
|
init_operations();
|
|
116390
116877
|
init_tools();
|
|
116391
|
-
|
|
116878
|
+
args143 = {
|
|
116392
116879
|
request: RolesListRequest$inboundSchema
|
|
116393
116880
|
};
|
|
116394
116881
|
tool$rolesList = {
|
|
@@ -116396,9 +116883,9 @@ var init_rolesList2 = __esm(() => {
|
|
|
116396
116883
|
description: `List Roles
|
|
116397
116884
|
|
|
116398
116885
|
List the existing roles.`,
|
|
116399
|
-
args:
|
|
116400
|
-
tool: async (client,
|
|
116401
|
-
const [result, apiCall] = await rolesList(client,
|
|
116886
|
+
args: args143,
|
|
116887
|
+
tool: async (client, args144, ctx) => {
|
|
116888
|
+
const [result, apiCall] = await rolesList(client, args144.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
116402
116889
|
if (!result.ok) {
|
|
116403
116890
|
return {
|
|
116404
116891
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -116413,9 +116900,9 @@ List the existing roles.`,
|
|
|
116413
116900
|
|
|
116414
116901
|
// src/funcs/rolesUpdate.ts
|
|
116415
116902
|
function rolesUpdate(client, request, options) {
|
|
116416
|
-
return new APIPromise($
|
|
116903
|
+
return new APIPromise($do161(client, request, options));
|
|
116417
116904
|
}
|
|
116418
|
-
async function $
|
|
116905
|
+
async function $do161(client, request, options) {
|
|
116419
116906
|
const parsed = safeParse6(request, (value) => RoleUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116420
116907
|
if (!parsed.ok) {
|
|
116421
116908
|
return [parsed, { status: "invalid" }];
|
|
@@ -116487,12 +116974,12 @@ var init_rolesUpdate = __esm(() => {
|
|
|
116487
116974
|
});
|
|
116488
116975
|
|
|
116489
116976
|
// src/mcp-server/tools/rolesUpdate.ts
|
|
116490
|
-
var
|
|
116977
|
+
var args144, tool$rolesUpdate;
|
|
116491
116978
|
var init_rolesUpdate2 = __esm(() => {
|
|
116492
116979
|
init_rolesUpdate();
|
|
116493
116980
|
init_components();
|
|
116494
116981
|
init_tools();
|
|
116495
|
-
|
|
116982
|
+
args144 = {
|
|
116496
116983
|
request: RoleUpdateRequest$inboundSchema
|
|
116497
116984
|
};
|
|
116498
116985
|
tool$rolesUpdate = {
|
|
@@ -116500,9 +116987,9 @@ var init_rolesUpdate2 = __esm(() => {
|
|
|
116500
116987
|
description: `Update Role
|
|
116501
116988
|
|
|
116502
116989
|
Update an existing role.`,
|
|
116503
|
-
args:
|
|
116504
|
-
tool: async (client,
|
|
116505
|
-
const [result, apiCall] = await rolesUpdate(client,
|
|
116990
|
+
args: args144,
|
|
116991
|
+
tool: async (client, args145, ctx) => {
|
|
116992
|
+
const [result, apiCall] = await rolesUpdate(client, args145.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
116506
116993
|
if (!result.ok) {
|
|
116507
116994
|
return {
|
|
116508
116995
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -116517,9 +117004,9 @@ Update an existing role.`,
|
|
|
116517
117004
|
|
|
116518
117005
|
// src/funcs/servicesCreate.ts
|
|
116519
117006
|
function servicesCreate(client, request, options) {
|
|
116520
|
-
return new APIPromise($
|
|
117007
|
+
return new APIPromise($do162(client, request, options));
|
|
116521
117008
|
}
|
|
116522
|
-
async function $
|
|
117009
|
+
async function $do162(client, request, options) {
|
|
116523
117010
|
const parsed = safeParse6(request, (value) => ServiceCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116524
117011
|
if (!parsed.ok) {
|
|
116525
117012
|
return [parsed, { status: "invalid" }];
|
|
@@ -116591,12 +117078,12 @@ var init_servicesCreate = __esm(() => {
|
|
|
116591
117078
|
});
|
|
116592
117079
|
|
|
116593
117080
|
// src/mcp-server/tools/servicesCreate.ts
|
|
116594
|
-
var
|
|
117081
|
+
var args145, tool$servicesCreate;
|
|
116595
117082
|
var init_servicesCreate2 = __esm(() => {
|
|
116596
117083
|
init_servicesCreate();
|
|
116597
117084
|
init_components();
|
|
116598
117085
|
init_tools();
|
|
116599
|
-
|
|
117086
|
+
args145 = {
|
|
116600
117087
|
request: ServiceCreateRequest$inboundSchema
|
|
116601
117088
|
};
|
|
116602
117089
|
tool$servicesCreate = {
|
|
@@ -116604,9 +117091,9 @@ var init_servicesCreate2 = __esm(() => {
|
|
|
116604
117091
|
description: `Create Service
|
|
116605
117092
|
|
|
116606
117093
|
Create a new service.`,
|
|
116607
|
-
args:
|
|
116608
|
-
tool: async (client,
|
|
116609
|
-
const [result, apiCall] = await servicesCreate(client,
|
|
117094
|
+
args: args145,
|
|
117095
|
+
tool: async (client, args146, ctx) => {
|
|
117096
|
+
const [result, apiCall] = await servicesCreate(client, args146.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
116610
117097
|
if (!result.ok) {
|
|
116611
117098
|
return {
|
|
116612
117099
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -116621,9 +117108,9 @@ Create a new service.`,
|
|
|
116621
117108
|
|
|
116622
117109
|
// src/funcs/servicesDelete.ts
|
|
116623
117110
|
function servicesDelete(client, request, options) {
|
|
116624
|
-
return new APIPromise($
|
|
117111
|
+
return new APIPromise($do163(client, request, options));
|
|
116625
117112
|
}
|
|
116626
|
-
async function $
|
|
117113
|
+
async function $do163(client, request, options) {
|
|
116627
117114
|
const parsed = safeParse6(request, (value) => ServiceDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116628
117115
|
if (!parsed.ok) {
|
|
116629
117116
|
return [parsed, { status: "invalid" }];
|
|
@@ -116705,12 +117192,12 @@ var init_servicesDelete = __esm(() => {
|
|
|
116705
117192
|
});
|
|
116706
117193
|
|
|
116707
117194
|
// src/mcp-server/tools/servicesDelete.ts
|
|
116708
|
-
var
|
|
117195
|
+
var args146, tool$servicesDelete;
|
|
116709
117196
|
var init_servicesDelete2 = __esm(() => {
|
|
116710
117197
|
init_servicesDelete();
|
|
116711
117198
|
init_operations();
|
|
116712
117199
|
init_tools();
|
|
116713
|
-
|
|
117200
|
+
args146 = {
|
|
116714
117201
|
request: ServiceDeleteRequest$inboundSchema
|
|
116715
117202
|
};
|
|
116716
117203
|
tool$servicesDelete = {
|
|
@@ -116718,9 +117205,9 @@ var init_servicesDelete2 = __esm(() => {
|
|
|
116718
117205
|
description: `Delete Service
|
|
116719
117206
|
|
|
116720
117207
|
Delete a service. A service with linked tools cannot be deleted.`,
|
|
116721
|
-
args:
|
|
116722
|
-
tool: async (client,
|
|
116723
|
-
const [result, apiCall] = await servicesDelete(client,
|
|
117208
|
+
args: args146,
|
|
117209
|
+
tool: async (client, args147, ctx) => {
|
|
117210
|
+
const [result, apiCall] = await servicesDelete(client, args147.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
116724
117211
|
if (!result.ok) {
|
|
116725
117212
|
return {
|
|
116726
117213
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -116735,9 +117222,9 @@ Delete a service. A service with linked tools cannot be deleted.`,
|
|
|
116735
117222
|
|
|
116736
117223
|
// src/funcs/servicesGetById.ts
|
|
116737
117224
|
function servicesGetById(client, request, options) {
|
|
116738
|
-
return new APIPromise($
|
|
117225
|
+
return new APIPromise($do164(client, request, options));
|
|
116739
117226
|
}
|
|
116740
|
-
async function $
|
|
117227
|
+
async function $do164(client, request, options) {
|
|
116741
117228
|
const parsed = safeParse6(request, (value) => ServicesGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116742
117229
|
if (!parsed.ok) {
|
|
116743
117230
|
return [parsed, { status: "invalid" }];
|
|
@@ -116815,12 +117302,12 @@ var init_servicesGetById = __esm(() => {
|
|
|
116815
117302
|
});
|
|
116816
117303
|
|
|
116817
117304
|
// src/mcp-server/tools/servicesGetById.ts
|
|
116818
|
-
var
|
|
117305
|
+
var args147, tool$servicesGetById;
|
|
116819
117306
|
var init_servicesGetById2 = __esm(() => {
|
|
116820
117307
|
init_servicesGetById();
|
|
116821
117308
|
init_operations();
|
|
116822
117309
|
init_tools();
|
|
116823
|
-
|
|
117310
|
+
args147 = {
|
|
116824
117311
|
request: ServicesGetByIdRequest$inboundSchema
|
|
116825
117312
|
};
|
|
116826
117313
|
tool$servicesGetById = {
|
|
@@ -116828,9 +117315,9 @@ var init_servicesGetById2 = __esm(() => {
|
|
|
116828
117315
|
description: `Get Service By Id
|
|
116829
117316
|
|
|
116830
117317
|
Get a service by its ID`,
|
|
116831
|
-
args:
|
|
116832
|
-
tool: async (client,
|
|
116833
|
-
const [result, apiCall] = await servicesGetById(client,
|
|
117318
|
+
args: args147,
|
|
117319
|
+
tool: async (client, args148, ctx) => {
|
|
117320
|
+
const [result, apiCall] = await servicesGetById(client, args148.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
116834
117321
|
if (!result.ok) {
|
|
116835
117322
|
return {
|
|
116836
117323
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -116845,9 +117332,9 @@ Get a service by its ID`,
|
|
|
116845
117332
|
|
|
116846
117333
|
// src/funcs/servicesList.ts
|
|
116847
117334
|
function servicesList(client, request, options) {
|
|
116848
|
-
return new APIPromise($
|
|
117335
|
+
return new APIPromise($do165(client, request, options));
|
|
116849
117336
|
}
|
|
116850
|
-
async function $
|
|
117337
|
+
async function $do165(client, request, options) {
|
|
116851
117338
|
const parsed = safeParse6(request, (value) => ServiceListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116852
117339
|
if (!parsed.ok) {
|
|
116853
117340
|
return [parsed, { status: "invalid" }];
|
|
@@ -116931,12 +117418,12 @@ var init_servicesList = __esm(() => {
|
|
|
116931
117418
|
});
|
|
116932
117419
|
|
|
116933
117420
|
// src/mcp-server/tools/servicesList.ts
|
|
116934
|
-
var
|
|
117421
|
+
var args148, tool$servicesList;
|
|
116935
117422
|
var init_servicesList2 = __esm(() => {
|
|
116936
117423
|
init_servicesList();
|
|
116937
117424
|
init_operations();
|
|
116938
117425
|
init_tools();
|
|
116939
|
-
|
|
117426
|
+
args148 = {
|
|
116940
117427
|
request: ServiceListRequest$inboundSchema
|
|
116941
117428
|
};
|
|
116942
117429
|
tool$servicesList = {
|
|
@@ -116944,9 +117431,9 @@ var init_servicesList2 = __esm(() => {
|
|
|
116944
117431
|
description: `Service List
|
|
116945
117432
|
|
|
116946
117433
|
List the existing services`,
|
|
116947
|
-
args:
|
|
116948
|
-
tool: async (client,
|
|
116949
|
-
const [result, apiCall] = await servicesList(client,
|
|
117434
|
+
args: args148,
|
|
117435
|
+
tool: async (client, args149, ctx) => {
|
|
117436
|
+
const [result, apiCall] = await servicesList(client, args149.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
116950
117437
|
if (!result.ok) {
|
|
116951
117438
|
return {
|
|
116952
117439
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -116961,9 +117448,9 @@ List the existing services`,
|
|
|
116961
117448
|
|
|
116962
117449
|
// src/funcs/servicesUpdate.ts
|
|
116963
117450
|
function servicesUpdate(client, request, options) {
|
|
116964
|
-
return new APIPromise($
|
|
117451
|
+
return new APIPromise($do166(client, request, options));
|
|
116965
117452
|
}
|
|
116966
|
-
async function $
|
|
117453
|
+
async function $do166(client, request, options) {
|
|
116967
117454
|
const parsed = safeParse6(request, (value) => ServiceUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
116968
117455
|
if (!parsed.ok) {
|
|
116969
117456
|
return [parsed, { status: "invalid" }];
|
|
@@ -117035,12 +117522,12 @@ var init_servicesUpdate = __esm(() => {
|
|
|
117035
117522
|
});
|
|
117036
117523
|
|
|
117037
117524
|
// src/mcp-server/tools/servicesUpdate.ts
|
|
117038
|
-
var
|
|
117525
|
+
var args149, tool$servicesUpdate;
|
|
117039
117526
|
var init_servicesUpdate2 = __esm(() => {
|
|
117040
117527
|
init_servicesUpdate();
|
|
117041
117528
|
init_components();
|
|
117042
117529
|
init_tools();
|
|
117043
|
-
|
|
117530
|
+
args149 = {
|
|
117044
117531
|
request: ServiceUpdateRequest$inboundSchema
|
|
117045
117532
|
};
|
|
117046
117533
|
tool$servicesUpdate = {
|
|
@@ -117048,9 +117535,9 @@ var init_servicesUpdate2 = __esm(() => {
|
|
|
117048
117535
|
description: `Update Service
|
|
117049
117536
|
|
|
117050
117537
|
Update an existing service.`,
|
|
117051
|
-
args:
|
|
117052
|
-
tool: async (client,
|
|
117053
|
-
const [result, apiCall] = await servicesUpdate(client,
|
|
117538
|
+
args: args149,
|
|
117539
|
+
tool: async (client, args150, ctx) => {
|
|
117540
|
+
const [result, apiCall] = await servicesUpdate(client, args150.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
117054
117541
|
if (!result.ok) {
|
|
117055
117542
|
return {
|
|
117056
117543
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -117065,9 +117552,9 @@ Update an existing service.`,
|
|
|
117065
117552
|
|
|
117066
117553
|
// src/funcs/sessionDebugGetSessionDataBySessionId.ts
|
|
117067
117554
|
function sessionDebugGetSessionDataBySessionId(client, request, options) {
|
|
117068
|
-
return new APIPromise($
|
|
117555
|
+
return new APIPromise($do167(client, request, options));
|
|
117069
117556
|
}
|
|
117070
|
-
async function $
|
|
117557
|
+
async function $do167(client, request, options) {
|
|
117071
117558
|
const parsed = safeParse6(request, (value) => GetSessionDataBySessionIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117072
117559
|
if (!parsed.ok) {
|
|
117073
117560
|
return [parsed, { status: "invalid" }];
|
|
@@ -117145,20 +117632,20 @@ var init_sessionDebugGetSessionDataBySessionId = __esm(() => {
|
|
|
117145
117632
|
});
|
|
117146
117633
|
|
|
117147
117634
|
// src/mcp-server/tools/sessionDebugGetSessionDataBySessionId.ts
|
|
117148
|
-
var
|
|
117635
|
+
var args150, tool$sessionDebugGetSessionDataBySessionId;
|
|
117149
117636
|
var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
117150
117637
|
init_sessionDebugGetSessionDataBySessionId();
|
|
117151
117638
|
init_operations();
|
|
117152
117639
|
init_tools();
|
|
117153
|
-
|
|
117640
|
+
args150 = {
|
|
117154
117641
|
request: GetSessionDataBySessionIdRequest$inboundSchema
|
|
117155
117642
|
};
|
|
117156
117643
|
tool$sessionDebugGetSessionDataBySessionId = {
|
|
117157
117644
|
name: "session-debug-get-session-data-by-session-id",
|
|
117158
117645
|
description: `Get Session Data By Session Id`,
|
|
117159
|
-
args:
|
|
117160
|
-
tool: async (client,
|
|
117161
|
-
const [result, apiCall] = await sessionDebugGetSessionDataBySessionId(client,
|
|
117646
|
+
args: args150,
|
|
117647
|
+
tool: async (client, args151, ctx) => {
|
|
117648
|
+
const [result, apiCall] = await sessionDebugGetSessionDataBySessionId(client, args151.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
117162
117649
|
if (!result.ok) {
|
|
117163
117650
|
return {
|
|
117164
117651
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -117173,9 +117660,9 @@ var init_sessionDebugGetSessionDataBySessionId2 = __esm(() => {
|
|
|
117173
117660
|
|
|
117174
117661
|
// src/funcs/sessionDebugGetSessionDataBySid.ts
|
|
117175
117662
|
function sessionDebugGetSessionDataBySid(client, request, options) {
|
|
117176
|
-
return new APIPromise($
|
|
117663
|
+
return new APIPromise($do168(client, request, options));
|
|
117177
117664
|
}
|
|
117178
|
-
async function $
|
|
117665
|
+
async function $do168(client, request, options) {
|
|
117179
117666
|
const parsed = safeParse6(request, (value) => GetSessionDataBySidRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117180
117667
|
if (!parsed.ok) {
|
|
117181
117668
|
return [parsed, { status: "invalid" }];
|
|
@@ -117251,20 +117738,20 @@ var init_sessionDebugGetSessionDataBySid = __esm(() => {
|
|
|
117251
117738
|
});
|
|
117252
117739
|
|
|
117253
117740
|
// src/mcp-server/tools/sessionDebugGetSessionDataBySid.ts
|
|
117254
|
-
var
|
|
117741
|
+
var args151, tool$sessionDebugGetSessionDataBySid;
|
|
117255
117742
|
var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
117256
117743
|
init_sessionDebugGetSessionDataBySid();
|
|
117257
117744
|
init_operations();
|
|
117258
117745
|
init_tools();
|
|
117259
|
-
|
|
117746
|
+
args151 = {
|
|
117260
117747
|
request: GetSessionDataBySidRequest$inboundSchema
|
|
117261
117748
|
};
|
|
117262
117749
|
tool$sessionDebugGetSessionDataBySid = {
|
|
117263
117750
|
name: "session-debug-get-session-data-by-sid",
|
|
117264
117751
|
description: `Get Session Data By Sid`,
|
|
117265
|
-
args:
|
|
117266
|
-
tool: async (client,
|
|
117267
|
-
const [result, apiCall] = await sessionDebugGetSessionDataBySid(client,
|
|
117752
|
+
args: args151,
|
|
117753
|
+
tool: async (client, args152, ctx) => {
|
|
117754
|
+
const [result, apiCall] = await sessionDebugGetSessionDataBySid(client, args152.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
117268
117755
|
if (!result.ok) {
|
|
117269
117756
|
return {
|
|
117270
117757
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -117279,9 +117766,9 @@ var init_sessionDebugGetSessionDataBySid2 = __esm(() => {
|
|
|
117279
117766
|
|
|
117280
117767
|
// src/funcs/sessionDebugGetSessionToolCallResultById.ts
|
|
117281
117768
|
function sessionDebugGetSessionToolCallResultById(client, request, options) {
|
|
117282
|
-
return new APIPromise($
|
|
117769
|
+
return new APIPromise($do169(client, request, options));
|
|
117283
117770
|
}
|
|
117284
|
-
async function $
|
|
117771
|
+
async function $do169(client, request, options) {
|
|
117285
117772
|
const parsed = safeParse6(request, (value) => GetSessionToolCallResultByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117286
117773
|
if (!parsed.ok) {
|
|
117287
117774
|
return [parsed, { status: "invalid" }];
|
|
@@ -117363,20 +117850,20 @@ var init_sessionDebugGetSessionToolCallResultById = __esm(() => {
|
|
|
117363
117850
|
});
|
|
117364
117851
|
|
|
117365
117852
|
// src/mcp-server/tools/sessionDebugGetSessionToolCallResultById.ts
|
|
117366
|
-
var
|
|
117853
|
+
var args152, tool$sessionDebugGetSessionToolCallResultById;
|
|
117367
117854
|
var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
117368
117855
|
init_sessionDebugGetSessionToolCallResultById();
|
|
117369
117856
|
init_operations();
|
|
117370
117857
|
init_tools();
|
|
117371
|
-
|
|
117858
|
+
args152 = {
|
|
117372
117859
|
request: GetSessionToolCallResultByIdRequest$inboundSchema
|
|
117373
117860
|
};
|
|
117374
117861
|
tool$sessionDebugGetSessionToolCallResultById = {
|
|
117375
117862
|
name: "session-debug-get-session-tool-call-result-by-id",
|
|
117376
117863
|
description: `Get Session Tool Call Result By Id`,
|
|
117377
|
-
args:
|
|
117378
|
-
tool: async (client,
|
|
117379
|
-
const [result, apiCall] = await sessionDebugGetSessionToolCallResultById(client,
|
|
117864
|
+
args: args152,
|
|
117865
|
+
tool: async (client, args153, ctx) => {
|
|
117866
|
+
const [result, apiCall] = await sessionDebugGetSessionToolCallResultById(client, args153.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
117380
117867
|
if (!result.ok) {
|
|
117381
117868
|
return {
|
|
117382
117869
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -117391,9 +117878,9 @@ var init_sessionDebugGetSessionToolCallResultById2 = __esm(() => {
|
|
|
117391
117878
|
|
|
117392
117879
|
// src/funcs/sessionLabelsCreate.ts
|
|
117393
117880
|
function sessionLabelsCreate(client, request, options) {
|
|
117394
|
-
return new APIPromise($
|
|
117881
|
+
return new APIPromise($do170(client, request, options));
|
|
117395
117882
|
}
|
|
117396
|
-
async function $
|
|
117883
|
+
async function $do170(client, request, options) {
|
|
117397
117884
|
const parsed = safeParse6(request, (value) => SessionLabelCreate$outboundSchema.parse(value), "Input validation failed");
|
|
117398
117885
|
if (!parsed.ok) {
|
|
117399
117886
|
return [parsed, { status: "invalid" }];
|
|
@@ -117465,12 +117952,12 @@ var init_sessionLabelsCreate = __esm(() => {
|
|
|
117465
117952
|
});
|
|
117466
117953
|
|
|
117467
117954
|
// src/mcp-server/tools/sessionLabelsCreate.ts
|
|
117468
|
-
var
|
|
117955
|
+
var args153, tool$sessionLabelsCreate;
|
|
117469
117956
|
var init_sessionLabelsCreate2 = __esm(() => {
|
|
117470
117957
|
init_sessionLabelsCreate();
|
|
117471
117958
|
init_components();
|
|
117472
117959
|
init_tools();
|
|
117473
|
-
|
|
117960
|
+
args153 = {
|
|
117474
117961
|
request: SessionLabelCreate$inboundSchema
|
|
117475
117962
|
};
|
|
117476
117963
|
tool$sessionLabelsCreate = {
|
|
@@ -117478,9 +117965,9 @@ var init_sessionLabelsCreate2 = __esm(() => {
|
|
|
117478
117965
|
description: `Create Label
|
|
117479
117966
|
|
|
117480
117967
|
Create a new label`,
|
|
117481
|
-
args:
|
|
117482
|
-
tool: async (client,
|
|
117483
|
-
const [result, apiCall] = await sessionLabelsCreate(client,
|
|
117968
|
+
args: args153,
|
|
117969
|
+
tool: async (client, args154, ctx) => {
|
|
117970
|
+
const [result, apiCall] = await sessionLabelsCreate(client, args154.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
117484
117971
|
if (!result.ok) {
|
|
117485
117972
|
return {
|
|
117486
117973
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -117495,9 +117982,9 @@ Create a new label`,
|
|
|
117495
117982
|
|
|
117496
117983
|
// src/funcs/sessionLabelsGetById.ts
|
|
117497
117984
|
function sessionLabelsGetById(client, request, options) {
|
|
117498
|
-
return new APIPromise($
|
|
117985
|
+
return new APIPromise($do171(client, request, options));
|
|
117499
117986
|
}
|
|
117500
|
-
async function $
|
|
117987
|
+
async function $do171(client, request, options) {
|
|
117501
117988
|
const parsed = safeParse6(request, (value) => SessionLabelGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117502
117989
|
if (!parsed.ok) {
|
|
117503
117990
|
return [parsed, { status: "invalid" }];
|
|
@@ -117572,20 +118059,20 @@ var init_sessionLabelsGetById = __esm(() => {
|
|
|
117572
118059
|
});
|
|
117573
118060
|
|
|
117574
118061
|
// src/mcp-server/tools/sessionLabelsGetById.ts
|
|
117575
|
-
var
|
|
118062
|
+
var args154, tool$sessionLabelsGetById;
|
|
117576
118063
|
var init_sessionLabelsGetById2 = __esm(() => {
|
|
117577
118064
|
init_sessionLabelsGetById();
|
|
117578
118065
|
init_operations();
|
|
117579
118066
|
init_tools();
|
|
117580
|
-
|
|
118067
|
+
args154 = {
|
|
117581
118068
|
request: SessionLabelGetByIdRequest$inboundSchema
|
|
117582
118069
|
};
|
|
117583
118070
|
tool$sessionLabelsGetById = {
|
|
117584
118071
|
name: "session-labels-get-by-id",
|
|
117585
118072
|
description: `Get Label By Id`,
|
|
117586
|
-
args:
|
|
117587
|
-
tool: async (client,
|
|
117588
|
-
const [result, apiCall] = await sessionLabelsGetById(client,
|
|
118073
|
+
args: args154,
|
|
118074
|
+
tool: async (client, args155, ctx) => {
|
|
118075
|
+
const [result, apiCall] = await sessionLabelsGetById(client, args155.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
117589
118076
|
if (!result.ok) {
|
|
117590
118077
|
return {
|
|
117591
118078
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -117600,9 +118087,9 @@ var init_sessionLabelsGetById2 = __esm(() => {
|
|
|
117600
118087
|
|
|
117601
118088
|
// src/funcs/sessionLabelsList.ts
|
|
117602
118089
|
function sessionLabelsList(client, request, options) {
|
|
117603
|
-
return new APIPromise($
|
|
118090
|
+
return new APIPromise($do172(client, request, options));
|
|
117604
118091
|
}
|
|
117605
|
-
async function $
|
|
118092
|
+
async function $do172(client, request, options) {
|
|
117606
118093
|
const parsed = safeParse6(request, (value) => SessionLabelsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117607
118094
|
if (!parsed.ok) {
|
|
117608
118095
|
return [parsed, { status: "invalid" }];
|
|
@@ -117686,20 +118173,20 @@ var init_sessionLabelsList = __esm(() => {
|
|
|
117686
118173
|
});
|
|
117687
118174
|
|
|
117688
118175
|
// src/mcp-server/tools/sessionLabelsList.ts
|
|
117689
|
-
var
|
|
118176
|
+
var args155, tool$sessionLabelsList;
|
|
117690
118177
|
var init_sessionLabelsList2 = __esm(() => {
|
|
117691
118178
|
init_sessionLabelsList();
|
|
117692
118179
|
init_operations();
|
|
117693
118180
|
init_tools();
|
|
117694
|
-
|
|
118181
|
+
args155 = {
|
|
117695
118182
|
request: SessionLabelsListRequest$inboundSchema
|
|
117696
118183
|
};
|
|
117697
118184
|
tool$sessionLabelsList = {
|
|
117698
118185
|
name: "session-labels-list",
|
|
117699
118186
|
description: `Session Labels List`,
|
|
117700
|
-
args:
|
|
117701
|
-
tool: async (client,
|
|
117702
|
-
const [result, apiCall] = await sessionLabelsList(client,
|
|
118187
|
+
args: args155,
|
|
118188
|
+
tool: async (client, args156, ctx) => {
|
|
118189
|
+
const [result, apiCall] = await sessionLabelsList(client, args156.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
117703
118190
|
if (!result.ok) {
|
|
117704
118191
|
return {
|
|
117705
118192
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -117714,9 +118201,9 @@ var init_sessionLabelsList2 = __esm(() => {
|
|
|
117714
118201
|
|
|
117715
118202
|
// src/funcs/sessionsFullSummaryGetById.ts
|
|
117716
118203
|
function sessionsFullSummaryGetById(client, request, options) {
|
|
117717
|
-
return new APIPromise($
|
|
118204
|
+
return new APIPromise($do173(client, request, options));
|
|
117718
118205
|
}
|
|
117719
|
-
async function $
|
|
118206
|
+
async function $do173(client, request, options) {
|
|
117720
118207
|
const parsed = safeParse6(request, (value) => SessionFullSummaryGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117721
118208
|
if (!parsed.ok) {
|
|
117722
118209
|
return [parsed, { status: "invalid" }];
|
|
@@ -117794,20 +118281,20 @@ var init_sessionsFullSummaryGetById = __esm(() => {
|
|
|
117794
118281
|
});
|
|
117795
118282
|
|
|
117796
118283
|
// src/mcp-server/tools/sessionsFullSummaryGetById.ts
|
|
117797
|
-
var
|
|
118284
|
+
var args156, tool$sessionsFullSummaryGetById;
|
|
117798
118285
|
var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
117799
118286
|
init_sessionsFullSummaryGetById();
|
|
117800
118287
|
init_operations();
|
|
117801
118288
|
init_tools();
|
|
117802
|
-
|
|
118289
|
+
args156 = {
|
|
117803
118290
|
request: SessionFullSummaryGetByIdRequest$inboundSchema
|
|
117804
118291
|
};
|
|
117805
118292
|
tool$sessionsFullSummaryGetById = {
|
|
117806
118293
|
name: "sessions-full-summary-get-by-id",
|
|
117807
118294
|
description: `Get Full Session Summary By Id`,
|
|
117808
|
-
args:
|
|
117809
|
-
tool: async (client,
|
|
117810
|
-
const [result, apiCall] = await sessionsFullSummaryGetById(client,
|
|
118295
|
+
args: args156,
|
|
118296
|
+
tool: async (client, args157, ctx) => {
|
|
118297
|
+
const [result, apiCall] = await sessionsFullSummaryGetById(client, args157.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
117811
118298
|
if (!result.ok) {
|
|
117812
118299
|
return {
|
|
117813
118300
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -117822,9 +118309,9 @@ var init_sessionsFullSummaryGetById2 = __esm(() => {
|
|
|
117822
118309
|
|
|
117823
118310
|
// src/funcs/sessionsGenerateSessionRecordingUrls.ts
|
|
117824
118311
|
function sessionsGenerateSessionRecordingUrls(client, request, options) {
|
|
117825
|
-
return new APIPromise($
|
|
118312
|
+
return new APIPromise($do174(client, request, options));
|
|
117826
118313
|
}
|
|
117827
|
-
async function $
|
|
118314
|
+
async function $do174(client, request, options) {
|
|
117828
118315
|
const parsed = safeParse6(request, (value) => GenerateSessionRecordingUrlsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117829
118316
|
if (!parsed.ok) {
|
|
117830
118317
|
return [parsed, { status: "invalid" }];
|
|
@@ -117902,20 +118389,20 @@ var init_sessionsGenerateSessionRecordingUrls = __esm(() => {
|
|
|
117902
118389
|
});
|
|
117903
118390
|
|
|
117904
118391
|
// src/mcp-server/tools/sessionsGenerateSessionRecordingUrls.ts
|
|
117905
|
-
var
|
|
118392
|
+
var args157, tool$sessionsGenerateSessionRecordingUrls;
|
|
117906
118393
|
var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
117907
118394
|
init_sessionsGenerateSessionRecordingUrls();
|
|
117908
118395
|
init_operations();
|
|
117909
118396
|
init_tools();
|
|
117910
|
-
|
|
118397
|
+
args157 = {
|
|
117911
118398
|
request: GenerateSessionRecordingUrlsRequest$inboundSchema
|
|
117912
118399
|
};
|
|
117913
118400
|
tool$sessionsGenerateSessionRecordingUrls = {
|
|
117914
118401
|
name: "sessions-generate-session-recording-urls",
|
|
117915
118402
|
description: `Generate Recording Urls`,
|
|
117916
|
-
args:
|
|
117917
|
-
tool: async (client,
|
|
117918
|
-
const [result, apiCall] = await sessionsGenerateSessionRecordingUrls(client,
|
|
118403
|
+
args: args157,
|
|
118404
|
+
tool: async (client, args158, ctx) => {
|
|
118405
|
+
const [result, apiCall] = await sessionsGenerateSessionRecordingUrls(client, args158.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
117919
118406
|
if (!result.ok) {
|
|
117920
118407
|
return {
|
|
117921
118408
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -117930,9 +118417,9 @@ var init_sessionsGenerateSessionRecordingUrls2 = __esm(() => {
|
|
|
117930
118417
|
|
|
117931
118418
|
// src/funcs/sessionsGetById.ts
|
|
117932
118419
|
function sessionsGetById(client, request, options) {
|
|
117933
|
-
return new APIPromise($
|
|
118420
|
+
return new APIPromise($do175(client, request, options));
|
|
117934
118421
|
}
|
|
117935
|
-
async function $
|
|
118422
|
+
async function $do175(client, request, options) {
|
|
117936
118423
|
const parsed = safeParse6(request, (value) => SessionGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
117937
118424
|
if (!parsed.ok) {
|
|
117938
118425
|
return [parsed, { status: "invalid" }];
|
|
@@ -118010,20 +118497,20 @@ var init_sessionsGetById = __esm(() => {
|
|
|
118010
118497
|
});
|
|
118011
118498
|
|
|
118012
118499
|
// src/mcp-server/tools/sessionsGetById.ts
|
|
118013
|
-
var
|
|
118500
|
+
var args158, tool$sessionsGetById;
|
|
118014
118501
|
var init_sessionsGetById2 = __esm(() => {
|
|
118015
118502
|
init_sessionsGetById();
|
|
118016
118503
|
init_operations();
|
|
118017
118504
|
init_tools();
|
|
118018
|
-
|
|
118505
|
+
args158 = {
|
|
118019
118506
|
request: SessionGetByIdRequest$inboundSchema
|
|
118020
118507
|
};
|
|
118021
118508
|
tool$sessionsGetById = {
|
|
118022
118509
|
name: "sessions-get-by-id",
|
|
118023
118510
|
description: `Get A Single Session By Id`,
|
|
118024
|
-
args:
|
|
118025
|
-
tool: async (client,
|
|
118026
|
-
const [result, apiCall] = await sessionsGetById(client,
|
|
118511
|
+
args: args158,
|
|
118512
|
+
tool: async (client, args159, ctx) => {
|
|
118513
|
+
const [result, apiCall] = await sessionsGetById(client, args159.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
118027
118514
|
if (!result.ok) {
|
|
118028
118515
|
return {
|
|
118029
118516
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -118038,9 +118525,9 @@ var init_sessionsGetById2 = __esm(() => {
|
|
|
118038
118525
|
|
|
118039
118526
|
// src/funcs/sessionsLatencyGetById.ts
|
|
118040
118527
|
function sessionsLatencyGetById(client, request, options) {
|
|
118041
|
-
return new APIPromise($
|
|
118528
|
+
return new APIPromise($do176(client, request, options));
|
|
118042
118529
|
}
|
|
118043
|
-
async function $
|
|
118530
|
+
async function $do176(client, request, options) {
|
|
118044
118531
|
const parsed = safeParse6(request, (value) => SessionLatencyGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118045
118532
|
if (!parsed.ok) {
|
|
118046
118533
|
return [parsed, { status: "invalid" }];
|
|
@@ -118118,20 +118605,20 @@ var init_sessionsLatencyGetById = __esm(() => {
|
|
|
118118
118605
|
});
|
|
118119
118606
|
|
|
118120
118607
|
// src/mcp-server/tools/sessionsLatencyGetById.ts
|
|
118121
|
-
var
|
|
118608
|
+
var args159, tool$sessionsLatencyGetById;
|
|
118122
118609
|
var init_sessionsLatencyGetById2 = __esm(() => {
|
|
118123
118610
|
init_sessionsLatencyGetById();
|
|
118124
118611
|
init_operations();
|
|
118125
118612
|
init_tools();
|
|
118126
|
-
|
|
118613
|
+
args159 = {
|
|
118127
118614
|
request: SessionLatencyGetByIdRequest$inboundSchema
|
|
118128
118615
|
};
|
|
118129
118616
|
tool$sessionsLatencyGetById = {
|
|
118130
118617
|
name: "sessions-latency-get-by-id",
|
|
118131
118618
|
description: `Inspect Latency For Session`,
|
|
118132
|
-
args:
|
|
118133
|
-
tool: async (client,
|
|
118134
|
-
const [result, apiCall] = await sessionsLatencyGetById(client,
|
|
118619
|
+
args: args159,
|
|
118620
|
+
tool: async (client, args160, ctx) => {
|
|
118621
|
+
const [result, apiCall] = await sessionsLatencyGetById(client, args160.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
118135
118622
|
if (!result.ok) {
|
|
118136
118623
|
return {
|
|
118137
118624
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -118146,9 +118633,9 @@ var init_sessionsLatencyGetById2 = __esm(() => {
|
|
|
118146
118633
|
|
|
118147
118634
|
// src/funcs/sessionsList.ts
|
|
118148
118635
|
function sessionsList(client, request, options) {
|
|
118149
|
-
return new APIPromise($
|
|
118636
|
+
return new APIPromise($do177(client, request, options));
|
|
118150
118637
|
}
|
|
118151
|
-
async function $
|
|
118638
|
+
async function $do177(client, request, options) {
|
|
118152
118639
|
const parsed = safeParse6(request, (value) => SessionsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118153
118640
|
if (!parsed.ok) {
|
|
118154
118641
|
return [parsed, { status: "invalid" }];
|
|
@@ -118232,20 +118719,20 @@ var init_sessionsList = __esm(() => {
|
|
|
118232
118719
|
});
|
|
118233
118720
|
|
|
118234
118721
|
// src/mcp-server/tools/sessionsList.ts
|
|
118235
|
-
var
|
|
118722
|
+
var args160, tool$sessionsList;
|
|
118236
118723
|
var init_sessionsList2 = __esm(() => {
|
|
118237
118724
|
init_sessionsList();
|
|
118238
118725
|
init_operations();
|
|
118239
118726
|
init_tools();
|
|
118240
|
-
|
|
118727
|
+
args160 = {
|
|
118241
118728
|
request: SessionsListRequest$inboundSchema
|
|
118242
118729
|
};
|
|
118243
118730
|
tool$sessionsList = {
|
|
118244
118731
|
name: "sessions-list",
|
|
118245
118732
|
description: `Sessions List`,
|
|
118246
|
-
args:
|
|
118247
|
-
tool: async (client,
|
|
118248
|
-
const [result, apiCall] = await sessionsList(client,
|
|
118733
|
+
args: args160,
|
|
118734
|
+
tool: async (client, args161, ctx) => {
|
|
118735
|
+
const [result, apiCall] = await sessionsList(client, args161.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
118249
118736
|
if (!result.ok) {
|
|
118250
118737
|
return {
|
|
118251
118738
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -118260,9 +118747,9 @@ var init_sessionsList2 = __esm(() => {
|
|
|
118260
118747
|
|
|
118261
118748
|
// src/funcs/sessionsSessionRecordingStream.ts
|
|
118262
118749
|
function sessionsSessionRecordingStream(client, request, options) {
|
|
118263
|
-
return new APIPromise($
|
|
118750
|
+
return new APIPromise($do178(client, request, options));
|
|
118264
118751
|
}
|
|
118265
|
-
async function $
|
|
118752
|
+
async function $do178(client, request, options) {
|
|
118266
118753
|
const parsed = safeParse6(request, (value) => SessionRecordingStreamRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118267
118754
|
if (!parsed.ok) {
|
|
118268
118755
|
return [parsed, { status: "invalid" }];
|
|
@@ -118338,20 +118825,20 @@ var init_sessionsSessionRecordingStream = __esm(() => {
|
|
|
118338
118825
|
});
|
|
118339
118826
|
|
|
118340
118827
|
// src/mcp-server/tools/sessionsSessionRecordingStream.ts
|
|
118341
|
-
var
|
|
118828
|
+
var args161, tool$sessionsSessionRecordingStream;
|
|
118342
118829
|
var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
118343
118830
|
init_sessionsSessionRecordingStream();
|
|
118344
118831
|
init_operations();
|
|
118345
118832
|
init_tools();
|
|
118346
|
-
|
|
118833
|
+
args161 = {
|
|
118347
118834
|
request: SessionRecordingStreamRequest$inboundSchema
|
|
118348
118835
|
};
|
|
118349
118836
|
tool$sessionsSessionRecordingStream = {
|
|
118350
118837
|
name: "sessions-session-recording-stream",
|
|
118351
118838
|
description: `Stream Recording`,
|
|
118352
|
-
args:
|
|
118353
|
-
tool: async (client,
|
|
118354
|
-
const [result, apiCall] = await sessionsSessionRecordingStream(client,
|
|
118839
|
+
args: args161,
|
|
118840
|
+
tool: async (client, args162, ctx) => {
|
|
118841
|
+
const [result, apiCall] = await sessionsSessionRecordingStream(client, args162.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
118355
118842
|
if (!result.ok) {
|
|
118356
118843
|
return {
|
|
118357
118844
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -118366,9 +118853,9 @@ var init_sessionsSessionRecordingStream2 = __esm(() => {
|
|
|
118366
118853
|
|
|
118367
118854
|
// src/funcs/sessionsTimelineGetById.ts
|
|
118368
118855
|
function sessionsTimelineGetById(client, request, options) {
|
|
118369
|
-
return new APIPromise($
|
|
118856
|
+
return new APIPromise($do179(client, request, options));
|
|
118370
118857
|
}
|
|
118371
|
-
async function $
|
|
118858
|
+
async function $do179(client, request, options) {
|
|
118372
118859
|
const parsed = safeParse6(request, (value) => SessionTimelineGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118373
118860
|
if (!parsed.ok) {
|
|
118374
118861
|
return [parsed, { status: "invalid" }];
|
|
@@ -118446,12 +118933,12 @@ var init_sessionsTimelineGetById = __esm(() => {
|
|
|
118446
118933
|
});
|
|
118447
118934
|
|
|
118448
118935
|
// src/mcp-server/tools/sessionsTimelineGetById.ts
|
|
118449
|
-
var
|
|
118936
|
+
var args162, tool$sessionsTimelineGetById;
|
|
118450
118937
|
var init_sessionsTimelineGetById2 = __esm(() => {
|
|
118451
118938
|
init_sessionsTimelineGetById();
|
|
118452
118939
|
init_operations();
|
|
118453
118940
|
init_tools();
|
|
118454
|
-
|
|
118941
|
+
args162 = {
|
|
118455
118942
|
request: SessionTimelineGetByIdRequest$inboundSchema
|
|
118456
118943
|
};
|
|
118457
118944
|
tool$sessionsTimelineGetById = {
|
|
@@ -118459,9 +118946,9 @@ var init_sessionsTimelineGetById2 = __esm(() => {
|
|
|
118459
118946
|
description: `Get Session Timeline By Id
|
|
118460
118947
|
|
|
118461
118948
|
Consolidated, time-ordered timeline of a session's events.`,
|
|
118462
|
-
args:
|
|
118463
|
-
tool: async (client,
|
|
118464
|
-
const [result, apiCall] = await sessionsTimelineGetById(client,
|
|
118949
|
+
args: args162,
|
|
118950
|
+
tool: async (client, args163, ctx) => {
|
|
118951
|
+
const [result, apiCall] = await sessionsTimelineGetById(client, args163.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
118465
118952
|
if (!result.ok) {
|
|
118466
118953
|
return {
|
|
118467
118954
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -118476,9 +118963,9 @@ Consolidated, time-ordered timeline of a session's events.`,
|
|
|
118476
118963
|
|
|
118477
118964
|
// src/funcs/sessionsTranscriptGetById.ts
|
|
118478
118965
|
function sessionsTranscriptGetById(client, request, options) {
|
|
118479
|
-
return new APIPromise($
|
|
118966
|
+
return new APIPromise($do180(client, request, options));
|
|
118480
118967
|
}
|
|
118481
|
-
async function $
|
|
118968
|
+
async function $do180(client, request, options) {
|
|
118482
118969
|
const parsed = safeParse6(request, (value) => SessionTranscriptGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118483
118970
|
if (!parsed.ok) {
|
|
118484
118971
|
return [parsed, { status: "invalid" }];
|
|
@@ -118556,12 +119043,12 @@ var init_sessionsTranscriptGetById = __esm(() => {
|
|
|
118556
119043
|
});
|
|
118557
119044
|
|
|
118558
119045
|
// src/mcp-server/tools/sessionsTranscriptGetById.ts
|
|
118559
|
-
var
|
|
119046
|
+
var args163, tool$sessionsTranscriptGetById;
|
|
118560
119047
|
var init_sessionsTranscriptGetById2 = __esm(() => {
|
|
118561
119048
|
init_sessionsTranscriptGetById();
|
|
118562
119049
|
init_operations();
|
|
118563
119050
|
init_tools();
|
|
118564
|
-
|
|
119051
|
+
args163 = {
|
|
118565
119052
|
request: SessionTranscriptGetByIdRequest$inboundSchema
|
|
118566
119053
|
};
|
|
118567
119054
|
tool$sessionsTranscriptGetById = {
|
|
@@ -118581,9 +119068,9 @@ A time limit is required rather than optional. \`transcript_complete\` never tur
|
|
|
118581
119068
|
session still in progress, for a session on a channel that reports no expected count (only
|
|
118582
119069
|
voice reports one today), or for a session that ended before the field was introduced - so a
|
|
118583
119070
|
caller polling without a limit would never stop.`,
|
|
118584
|
-
args:
|
|
118585
|
-
tool: async (client,
|
|
118586
|
-
const [result, apiCall] = await sessionsTranscriptGetById(client,
|
|
119071
|
+
args: args163,
|
|
119072
|
+
tool: async (client, args164, ctx) => {
|
|
119073
|
+
const [result, apiCall] = await sessionsTranscriptGetById(client, args164.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
118587
119074
|
if (!result.ok) {
|
|
118588
119075
|
return {
|
|
118589
119076
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -118598,9 +119085,9 @@ caller polling without a limit would never stop.`,
|
|
|
118598
119085
|
|
|
118599
119086
|
// src/funcs/takeoutsCreate.ts
|
|
118600
119087
|
function takeoutsCreate(client, options) {
|
|
118601
|
-
return new APIPromise($
|
|
119088
|
+
return new APIPromise($do181(client, options));
|
|
118602
119089
|
}
|
|
118603
|
-
async function $
|
|
119090
|
+
async function $do181(client, options) {
|
|
118604
119091
|
const path = pathToFunc("/api/v1/takeouts/create")();
|
|
118605
119092
|
const headers = new Headers(compactMap({
|
|
118606
119093
|
Accept: "application/json"
|
|
@@ -118681,9 +119168,9 @@ var init_takeoutsCreate2 = __esm(() => {
|
|
|
118681
119168
|
|
|
118682
119169
|
// src/funcs/takeoutsTakeoutsGetByJobId.ts
|
|
118683
119170
|
function takeoutsTakeoutsGetByJobId(client, request, options) {
|
|
118684
|
-
return new APIPromise($
|
|
119171
|
+
return new APIPromise($do182(client, request, options));
|
|
118685
119172
|
}
|
|
118686
|
-
async function $
|
|
119173
|
+
async function $do182(client, request, options) {
|
|
118687
119174
|
const parsed = safeParse6(request, (value) => TakeoutsGetByJobIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118688
119175
|
if (!parsed.ok) {
|
|
118689
119176
|
return [parsed, { status: "invalid" }];
|
|
@@ -118761,20 +119248,20 @@ var init_takeoutsTakeoutsGetByJobId = __esm(() => {
|
|
|
118761
119248
|
});
|
|
118762
119249
|
|
|
118763
119250
|
// src/mcp-server/tools/takeoutsTakeoutsGetByJobId.ts
|
|
118764
|
-
var
|
|
119251
|
+
var args164, tool$takeoutsTakeoutsGetByJobId;
|
|
118765
119252
|
var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
118766
119253
|
init_takeoutsTakeoutsGetByJobId();
|
|
118767
119254
|
init_operations();
|
|
118768
119255
|
init_tools();
|
|
118769
|
-
|
|
119256
|
+
args164 = {
|
|
118770
119257
|
request: TakeoutsGetByJobIdRequest$inboundSchema
|
|
118771
119258
|
};
|
|
118772
119259
|
tool$takeoutsTakeoutsGetByJobId = {
|
|
118773
119260
|
name: "takeouts-takeouts-get-by-job-id",
|
|
118774
119261
|
description: `Get Takeout`,
|
|
118775
|
-
args:
|
|
118776
|
-
tool: async (client,
|
|
118777
|
-
const [result, apiCall] = await takeoutsTakeoutsGetByJobId(client,
|
|
119262
|
+
args: args164,
|
|
119263
|
+
tool: async (client, args165, ctx) => {
|
|
119264
|
+
const [result, apiCall] = await takeoutsTakeoutsGetByJobId(client, args165.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
118778
119265
|
if (!result.ok) {
|
|
118779
119266
|
return {
|
|
118780
119267
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -118789,9 +119276,9 @@ var init_takeoutsTakeoutsGetByJobId2 = __esm(() => {
|
|
|
118789
119276
|
|
|
118790
119277
|
// src/funcs/takeoutsTakeoutsGetFile.ts
|
|
118791
119278
|
function takeoutsTakeoutsGetFile(client, request, options) {
|
|
118792
|
-
return new APIPromise($
|
|
119279
|
+
return new APIPromise($do183(client, request, options));
|
|
118793
119280
|
}
|
|
118794
|
-
async function $
|
|
119281
|
+
async function $do183(client, request, options) {
|
|
118795
119282
|
const parsed = safeParse6(request, (value) => TakeoutsGetFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118796
119283
|
if (!parsed.ok) {
|
|
118797
119284
|
return [parsed, { status: "invalid" }];
|
|
@@ -118875,20 +119362,20 @@ var init_takeoutsTakeoutsGetFile = __esm(() => {
|
|
|
118875
119362
|
});
|
|
118876
119363
|
|
|
118877
119364
|
// src/mcp-server/tools/takeoutsTakeoutsGetFile.ts
|
|
118878
|
-
var
|
|
119365
|
+
var args165, tool$takeoutsTakeoutsGetFile;
|
|
118879
119366
|
var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
118880
119367
|
init_takeoutsTakeoutsGetFile();
|
|
118881
119368
|
init_operations();
|
|
118882
119369
|
init_tools();
|
|
118883
|
-
|
|
119370
|
+
args165 = {
|
|
118884
119371
|
request: TakeoutsGetFileRequest$inboundSchema
|
|
118885
119372
|
};
|
|
118886
119373
|
tool$takeoutsTakeoutsGetFile = {
|
|
118887
119374
|
name: "takeouts-takeouts-get-file",
|
|
118888
119375
|
description: `Get File`,
|
|
118889
|
-
args:
|
|
118890
|
-
tool: async (client,
|
|
118891
|
-
const [result, apiCall] = await takeoutsTakeoutsGetFile(client,
|
|
119376
|
+
args: args165,
|
|
119377
|
+
tool: async (client, args166, ctx) => {
|
|
119378
|
+
const [result, apiCall] = await takeoutsTakeoutsGetFile(client, args166.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
118892
119379
|
if (!result.ok) {
|
|
118893
119380
|
return {
|
|
118894
119381
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -118903,9 +119390,9 @@ var init_takeoutsTakeoutsGetFile2 = __esm(() => {
|
|
|
118903
119390
|
|
|
118904
119391
|
// src/funcs/toolsCreate.ts
|
|
118905
119392
|
function toolsCreate(client, request, options) {
|
|
118906
|
-
return new APIPromise($
|
|
119393
|
+
return new APIPromise($do184(client, request, options));
|
|
118907
119394
|
}
|
|
118908
|
-
async function $
|
|
119395
|
+
async function $do184(client, request, options) {
|
|
118909
119396
|
const parsed = safeParse6(request, (value) => ToolCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
118910
119397
|
if (!parsed.ok) {
|
|
118911
119398
|
return [parsed, { status: "invalid" }];
|
|
@@ -118977,12 +119464,12 @@ var init_toolsCreate = __esm(() => {
|
|
|
118977
119464
|
});
|
|
118978
119465
|
|
|
118979
119466
|
// src/mcp-server/tools/toolsCreate.ts
|
|
118980
|
-
var
|
|
119467
|
+
var args166, tool$toolsCreate;
|
|
118981
119468
|
var init_toolsCreate2 = __esm(() => {
|
|
118982
119469
|
init_toolsCreate();
|
|
118983
119470
|
init_components();
|
|
118984
119471
|
init_tools();
|
|
118985
|
-
|
|
119472
|
+
args166 = {
|
|
118986
119473
|
request: ToolCreateRequest$inboundSchema
|
|
118987
119474
|
};
|
|
118988
119475
|
tool$toolsCreate = {
|
|
@@ -118990,9 +119477,9 @@ var init_toolsCreate2 = __esm(() => {
|
|
|
118990
119477
|
description: `Create Tool
|
|
118991
119478
|
|
|
118992
119479
|
Create a new tool`,
|
|
118993
|
-
args:
|
|
118994
|
-
tool: async (client,
|
|
118995
|
-
const [result, apiCall] = await toolsCreate(client,
|
|
119480
|
+
args: args166,
|
|
119481
|
+
tool: async (client, args167, ctx) => {
|
|
119482
|
+
const [result, apiCall] = await toolsCreate(client, args167.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
118996
119483
|
if (!result.ok) {
|
|
118997
119484
|
return {
|
|
118998
119485
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119007,9 +119494,9 @@ Create a new tool`,
|
|
|
119007
119494
|
|
|
119008
119495
|
// src/funcs/toolsDelete.ts
|
|
119009
119496
|
function toolsDelete(client, request, options) {
|
|
119010
|
-
return new APIPromise($
|
|
119497
|
+
return new APIPromise($do185(client, request, options));
|
|
119011
119498
|
}
|
|
119012
|
-
async function $
|
|
119499
|
+
async function $do185(client, request, options) {
|
|
119013
119500
|
const parsed = safeParse6(request, (value) => ToolDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119014
119501
|
if (!parsed.ok) {
|
|
119015
119502
|
return [parsed, { status: "invalid" }];
|
|
@@ -119091,12 +119578,12 @@ var init_toolsDelete = __esm(() => {
|
|
|
119091
119578
|
});
|
|
119092
119579
|
|
|
119093
119580
|
// src/mcp-server/tools/toolsDelete.ts
|
|
119094
|
-
var
|
|
119581
|
+
var args167, tool$toolsDelete;
|
|
119095
119582
|
var init_toolsDelete2 = __esm(() => {
|
|
119096
119583
|
init_toolsDelete();
|
|
119097
119584
|
init_operations();
|
|
119098
119585
|
init_tools();
|
|
119099
|
-
|
|
119586
|
+
args167 = {
|
|
119100
119587
|
request: ToolDeleteRequest$inboundSchema
|
|
119101
119588
|
};
|
|
119102
119589
|
tool$toolsDelete = {
|
|
@@ -119104,9 +119591,9 @@ var init_toolsDelete2 = __esm(() => {
|
|
|
119104
119591
|
description: `Delete Tool
|
|
119105
119592
|
|
|
119106
119593
|
Delete a tool.`,
|
|
119107
|
-
args:
|
|
119108
|
-
tool: async (client,
|
|
119109
|
-
const [result, apiCall] = await toolsDelete(client,
|
|
119594
|
+
args: args167,
|
|
119595
|
+
tool: async (client, args168, ctx) => {
|
|
119596
|
+
const [result, apiCall] = await toolsDelete(client, args168.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
119110
119597
|
if (!result.ok) {
|
|
119111
119598
|
return {
|
|
119112
119599
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119121,9 +119608,9 @@ Delete a tool.`,
|
|
|
119121
119608
|
|
|
119122
119609
|
// src/funcs/toolsGetByName.ts
|
|
119123
119610
|
function toolsGetByName(client, request, options) {
|
|
119124
|
-
return new APIPromise($
|
|
119611
|
+
return new APIPromise($do186(client, request, options));
|
|
119125
119612
|
}
|
|
119126
|
-
async function $
|
|
119613
|
+
async function $do186(client, request, options) {
|
|
119127
119614
|
const parsed = safeParse6(request, (value) => ToolGetByNameRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119128
119615
|
if (!parsed.ok) {
|
|
119129
119616
|
return [parsed, { status: "invalid" }];
|
|
@@ -119201,12 +119688,12 @@ var init_toolsGetByName = __esm(() => {
|
|
|
119201
119688
|
});
|
|
119202
119689
|
|
|
119203
119690
|
// src/mcp-server/tools/toolsGetByName.ts
|
|
119204
|
-
var
|
|
119691
|
+
var args168, tool$toolsGetByName;
|
|
119205
119692
|
var init_toolsGetByName2 = __esm(() => {
|
|
119206
119693
|
init_toolsGetByName();
|
|
119207
119694
|
init_operations();
|
|
119208
119695
|
init_tools();
|
|
119209
|
-
|
|
119696
|
+
args168 = {
|
|
119210
119697
|
request: ToolGetByNameRequest$inboundSchema
|
|
119211
119698
|
};
|
|
119212
119699
|
tool$toolsGetByName = {
|
|
@@ -119214,9 +119701,9 @@ var init_toolsGetByName2 = __esm(() => {
|
|
|
119214
119701
|
description: `Tool Info
|
|
119215
119702
|
|
|
119216
119703
|
Get the details of a specific tool`,
|
|
119217
|
-
args:
|
|
119218
|
-
tool: async (client,
|
|
119219
|
-
const [result, apiCall] = await toolsGetByName(client,
|
|
119704
|
+
args: args168,
|
|
119705
|
+
tool: async (client, args169, ctx) => {
|
|
119706
|
+
const [result, apiCall] = await toolsGetByName(client, args169.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
119220
119707
|
if (!result.ok) {
|
|
119221
119708
|
return {
|
|
119222
119709
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119231,9 +119718,9 @@ Get the details of a specific tool`,
|
|
|
119231
119718
|
|
|
119232
119719
|
// src/funcs/toolsList.ts
|
|
119233
119720
|
function toolsList(client, request, options) {
|
|
119234
|
-
return new APIPromise($
|
|
119721
|
+
return new APIPromise($do187(client, request, options));
|
|
119235
119722
|
}
|
|
119236
|
-
async function $
|
|
119723
|
+
async function $do187(client, request, options) {
|
|
119237
119724
|
const parsed = safeParse6(request, (value) => ToolListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119238
119725
|
if (!parsed.ok) {
|
|
119239
119726
|
return [parsed, { status: "invalid" }];
|
|
@@ -119317,12 +119804,12 @@ var init_toolsList = __esm(() => {
|
|
|
119317
119804
|
});
|
|
119318
119805
|
|
|
119319
119806
|
// src/mcp-server/tools/toolsList.ts
|
|
119320
|
-
var
|
|
119807
|
+
var args169, tool$toolsList;
|
|
119321
119808
|
var init_toolsList2 = __esm(() => {
|
|
119322
119809
|
init_toolsList();
|
|
119323
119810
|
init_operations();
|
|
119324
119811
|
init_tools();
|
|
119325
|
-
|
|
119812
|
+
args169 = {
|
|
119326
119813
|
request: ToolListRequest$inboundSchema
|
|
119327
119814
|
};
|
|
119328
119815
|
tool$toolsList = {
|
|
@@ -119330,9 +119817,9 @@ var init_toolsList2 = __esm(() => {
|
|
|
119330
119817
|
description: `Tool List
|
|
119331
119818
|
|
|
119332
119819
|
List the existing tools`,
|
|
119333
|
-
args:
|
|
119334
|
-
tool: async (client,
|
|
119335
|
-
const [result, apiCall] = await toolsList(client,
|
|
119820
|
+
args: args169,
|
|
119821
|
+
tool: async (client, args170, ctx) => {
|
|
119822
|
+
const [result, apiCall] = await toolsList(client, args170.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
119336
119823
|
if (!result.ok) {
|
|
119337
119824
|
return {
|
|
119338
119825
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119347,9 +119834,9 @@ List the existing tools`,
|
|
|
119347
119834
|
|
|
119348
119835
|
// src/funcs/toolsToolHistory.ts
|
|
119349
119836
|
function toolsToolHistory(client, request, options) {
|
|
119350
|
-
return new APIPromise($
|
|
119837
|
+
return new APIPromise($do188(client, request, options));
|
|
119351
119838
|
}
|
|
119352
|
-
async function $
|
|
119839
|
+
async function $do188(client, request, options) {
|
|
119353
119840
|
const parsed = safeParse6(request, (value) => ToolHistoryRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119354
119841
|
if (!parsed.ok) {
|
|
119355
119842
|
return [parsed, { status: "invalid" }];
|
|
@@ -119433,12 +119920,12 @@ var init_toolsToolHistory = __esm(() => {
|
|
|
119433
119920
|
});
|
|
119434
119921
|
|
|
119435
119922
|
// src/mcp-server/tools/toolsToolHistory.ts
|
|
119436
|
-
var
|
|
119923
|
+
var args170, tool$toolsToolHistory;
|
|
119437
119924
|
var init_toolsToolHistory2 = __esm(() => {
|
|
119438
119925
|
init_toolsToolHistory();
|
|
119439
119926
|
init_operations();
|
|
119440
119927
|
init_tools();
|
|
119441
|
-
|
|
119928
|
+
args170 = {
|
|
119442
119929
|
request: ToolHistoryRequest$inboundSchema
|
|
119443
119930
|
};
|
|
119444
119931
|
tool$toolsToolHistory = {
|
|
@@ -119446,9 +119933,9 @@ var init_toolsToolHistory2 = __esm(() => {
|
|
|
119446
119933
|
description: `Tool History
|
|
119447
119934
|
|
|
119448
119935
|
Get version history for a tool.`,
|
|
119449
|
-
args:
|
|
119450
|
-
tool: async (client,
|
|
119451
|
-
const [result, apiCall] = await toolsToolHistory(client,
|
|
119936
|
+
args: args170,
|
|
119937
|
+
tool: async (client, args171, ctx) => {
|
|
119938
|
+
const [result, apiCall] = await toolsToolHistory(client, args171.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
119452
119939
|
if (!result.ok) {
|
|
119453
119940
|
return {
|
|
119454
119941
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119463,9 +119950,9 @@ Get version history for a tool.`,
|
|
|
119463
119950
|
|
|
119464
119951
|
// src/funcs/toolsUpdate.ts
|
|
119465
119952
|
function toolsUpdate(client, request, options) {
|
|
119466
|
-
return new APIPromise($
|
|
119953
|
+
return new APIPromise($do189(client, request, options));
|
|
119467
119954
|
}
|
|
119468
|
-
async function $
|
|
119955
|
+
async function $do189(client, request, options) {
|
|
119469
119956
|
const parsed = safeParse6(request, (value) => ToolUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119470
119957
|
if (!parsed.ok) {
|
|
119471
119958
|
return [parsed, { status: "invalid" }];
|
|
@@ -119537,12 +120024,12 @@ var init_toolsUpdate = __esm(() => {
|
|
|
119537
120024
|
});
|
|
119538
120025
|
|
|
119539
120026
|
// src/mcp-server/tools/toolsUpdate.ts
|
|
119540
|
-
var
|
|
120027
|
+
var args171, tool$toolsUpdate;
|
|
119541
120028
|
var init_toolsUpdate2 = __esm(() => {
|
|
119542
120029
|
init_toolsUpdate();
|
|
119543
120030
|
init_components();
|
|
119544
120031
|
init_tools();
|
|
119545
|
-
|
|
120032
|
+
args171 = {
|
|
119546
120033
|
request: ToolUpdateRequest$inboundSchema
|
|
119547
120034
|
};
|
|
119548
120035
|
tool$toolsUpdate = {
|
|
@@ -119550,9 +120037,9 @@ var init_toolsUpdate2 = __esm(() => {
|
|
|
119550
120037
|
description: `Update Tool
|
|
119551
120038
|
|
|
119552
120039
|
Update an existing tool`,
|
|
119553
|
-
args:
|
|
119554
|
-
tool: async (client,
|
|
119555
|
-
const [result, apiCall] = await toolsUpdate(client,
|
|
120040
|
+
args: args171,
|
|
120041
|
+
tool: async (client, args172, ctx) => {
|
|
120042
|
+
const [result, apiCall] = await toolsUpdate(client, args172.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
119556
120043
|
if (!result.ok) {
|
|
119557
120044
|
return {
|
|
119558
120045
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119567,9 +120054,9 @@ Update an existing tool`,
|
|
|
119567
120054
|
|
|
119568
120055
|
// src/funcs/usersCreate.ts
|
|
119569
120056
|
function usersCreate(client, request, options) {
|
|
119570
|
-
return new APIPromise($
|
|
120057
|
+
return new APIPromise($do190(client, request, options));
|
|
119571
120058
|
}
|
|
119572
|
-
async function $
|
|
120059
|
+
async function $do190(client, request, options) {
|
|
119573
120060
|
const parsed = safeParse6(request, (value) => UserCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119574
120061
|
if (!parsed.ok) {
|
|
119575
120062
|
return [parsed, { status: "invalid" }];
|
|
@@ -119641,12 +120128,12 @@ var init_usersCreate = __esm(() => {
|
|
|
119641
120128
|
});
|
|
119642
120129
|
|
|
119643
120130
|
// src/mcp-server/tools/usersCreate.ts
|
|
119644
|
-
var
|
|
120131
|
+
var args172, tool$usersCreate;
|
|
119645
120132
|
var init_usersCreate2 = __esm(() => {
|
|
119646
120133
|
init_usersCreate();
|
|
119647
120134
|
init_components();
|
|
119648
120135
|
init_tools();
|
|
119649
|
-
|
|
120136
|
+
args172 = {
|
|
119650
120137
|
request: UserCreateRequest$inboundSchema
|
|
119651
120138
|
};
|
|
119652
120139
|
tool$usersCreate = {
|
|
@@ -119654,9 +120141,9 @@ var init_usersCreate2 = __esm(() => {
|
|
|
119654
120141
|
description: `Create User
|
|
119655
120142
|
|
|
119656
120143
|
Create a new user.`,
|
|
119657
|
-
args:
|
|
119658
|
-
tool: async (client,
|
|
119659
|
-
const [result, apiCall] = await usersCreate(client,
|
|
120144
|
+
args: args172,
|
|
120145
|
+
tool: async (client, args173, ctx) => {
|
|
120146
|
+
const [result, apiCall] = await usersCreate(client, args173.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
119660
120147
|
if (!result.ok) {
|
|
119661
120148
|
return {
|
|
119662
120149
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119671,9 +120158,9 @@ Create a new user.`,
|
|
|
119671
120158
|
|
|
119672
120159
|
// src/funcs/usersDelete.ts
|
|
119673
120160
|
function usersDelete(client, request, options) {
|
|
119674
|
-
return new APIPromise($
|
|
120161
|
+
return new APIPromise($do191(client, request, options));
|
|
119675
120162
|
}
|
|
119676
|
-
async function $
|
|
120163
|
+
async function $do191(client, request, options) {
|
|
119677
120164
|
const parsed = safeParse6(request, (value) => UserDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119678
120165
|
if (!parsed.ok) {
|
|
119679
120166
|
return [parsed, { status: "invalid" }];
|
|
@@ -119746,12 +120233,12 @@ var init_usersDelete = __esm(() => {
|
|
|
119746
120233
|
});
|
|
119747
120234
|
|
|
119748
120235
|
// src/mcp-server/tools/usersDelete.ts
|
|
119749
|
-
var
|
|
120236
|
+
var args173, tool$usersDelete;
|
|
119750
120237
|
var init_usersDelete2 = __esm(() => {
|
|
119751
120238
|
init_usersDelete();
|
|
119752
120239
|
init_components();
|
|
119753
120240
|
init_tools();
|
|
119754
|
-
|
|
120241
|
+
args173 = {
|
|
119755
120242
|
request: UserDeleteRequest$inboundSchema
|
|
119756
120243
|
};
|
|
119757
120244
|
tool$usersDelete = {
|
|
@@ -119759,9 +120246,9 @@ var init_usersDelete2 = __esm(() => {
|
|
|
119759
120246
|
description: `Delete User
|
|
119760
120247
|
|
|
119761
120248
|
Delete a user.`,
|
|
119762
|
-
args:
|
|
119763
|
-
tool: async (client,
|
|
119764
|
-
const [result, apiCall] = await usersDelete(client,
|
|
120249
|
+
args: args173,
|
|
120250
|
+
tool: async (client, args174, ctx) => {
|
|
120251
|
+
const [result, apiCall] = await usersDelete(client, args174.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
119765
120252
|
if (!result.ok) {
|
|
119766
120253
|
return {
|
|
119767
120254
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119776,9 +120263,9 @@ Delete a user.`,
|
|
|
119776
120263
|
|
|
119777
120264
|
// src/funcs/usersList.ts
|
|
119778
120265
|
function usersList(client, request, options) {
|
|
119779
|
-
return new APIPromise($
|
|
120266
|
+
return new APIPromise($do192(client, request, options));
|
|
119780
120267
|
}
|
|
119781
|
-
async function $
|
|
120268
|
+
async function $do192(client, request, options) {
|
|
119782
120269
|
const parsed = safeParse6(request, (value) => UsersListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119783
120270
|
if (!parsed.ok) {
|
|
119784
120271
|
return [parsed, { status: "invalid" }];
|
|
@@ -119862,12 +120349,12 @@ var init_usersList = __esm(() => {
|
|
|
119862
120349
|
});
|
|
119863
120350
|
|
|
119864
120351
|
// src/mcp-server/tools/usersList.ts
|
|
119865
|
-
var
|
|
120352
|
+
var args174, tool$usersList;
|
|
119866
120353
|
var init_usersList2 = __esm(() => {
|
|
119867
120354
|
init_usersList();
|
|
119868
120355
|
init_operations();
|
|
119869
120356
|
init_tools();
|
|
119870
|
-
|
|
120357
|
+
args174 = {
|
|
119871
120358
|
request: UsersListRequest$inboundSchema
|
|
119872
120359
|
};
|
|
119873
120360
|
tool$usersList = {
|
|
@@ -119875,9 +120362,9 @@ var init_usersList2 = __esm(() => {
|
|
|
119875
120362
|
description: `List Users
|
|
119876
120363
|
|
|
119877
120364
|
List the existing users.`,
|
|
119878
|
-
args:
|
|
119879
|
-
tool: async (client,
|
|
119880
|
-
const [result, apiCall] = await usersList(client,
|
|
120365
|
+
args: args174,
|
|
120366
|
+
tool: async (client, args175, ctx) => {
|
|
120367
|
+
const [result, apiCall] = await usersList(client, args175.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
119881
120368
|
if (!result.ok) {
|
|
119882
120369
|
return {
|
|
119883
120370
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119892,9 +120379,9 @@ List the existing users.`,
|
|
|
119892
120379
|
|
|
119893
120380
|
// src/funcs/usersUpdate.ts
|
|
119894
120381
|
function usersUpdate(client, request, options) {
|
|
119895
|
-
return new APIPromise($
|
|
120382
|
+
return new APIPromise($do193(client, request, options));
|
|
119896
120383
|
}
|
|
119897
|
-
async function $
|
|
120384
|
+
async function $do193(client, request, options) {
|
|
119898
120385
|
const parsed = safeParse6(request, (value) => UserUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
119899
120386
|
if (!parsed.ok) {
|
|
119900
120387
|
return [parsed, { status: "invalid" }];
|
|
@@ -119966,12 +120453,12 @@ var init_usersUpdate = __esm(() => {
|
|
|
119966
120453
|
});
|
|
119967
120454
|
|
|
119968
120455
|
// src/mcp-server/tools/usersUpdate.ts
|
|
119969
|
-
var
|
|
120456
|
+
var args175, tool$usersUpdate;
|
|
119970
120457
|
var init_usersUpdate2 = __esm(() => {
|
|
119971
120458
|
init_usersUpdate();
|
|
119972
120459
|
init_components();
|
|
119973
120460
|
init_tools();
|
|
119974
|
-
|
|
120461
|
+
args175 = {
|
|
119975
120462
|
request: UserUpdateRequest$inboundSchema
|
|
119976
120463
|
};
|
|
119977
120464
|
tool$usersUpdate = {
|
|
@@ -119979,9 +120466,9 @@ var init_usersUpdate2 = __esm(() => {
|
|
|
119979
120466
|
description: `Update User
|
|
119980
120467
|
|
|
119981
120468
|
Update an existing user.`,
|
|
119982
|
-
args:
|
|
119983
|
-
tool: async (client,
|
|
119984
|
-
const [result, apiCall] = await usersUpdate(client,
|
|
120469
|
+
args: args175,
|
|
120470
|
+
tool: async (client, args176, ctx) => {
|
|
120471
|
+
const [result, apiCall] = await usersUpdate(client, args176.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
119985
120472
|
if (!result.ok) {
|
|
119986
120473
|
return {
|
|
119987
120474
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -119996,9 +120483,9 @@ Update an existing user.`,
|
|
|
119996
120483
|
|
|
119997
120484
|
// src/funcs/usersUsersDeleteAccount.ts
|
|
119998
120485
|
function usersUsersDeleteAccount(client, options) {
|
|
119999
|
-
return new APIPromise($
|
|
120486
|
+
return new APIPromise($do194(client, options));
|
|
120000
120487
|
}
|
|
120001
|
-
async function $
|
|
120488
|
+
async function $do194(client, options) {
|
|
120002
120489
|
const path = pathToFunc("/api/v1/users/delete_account")();
|
|
120003
120490
|
const headers = new Headers(compactMap({
|
|
120004
120491
|
Accept: "application/json"
|
|
@@ -120082,9 +120569,9 @@ accounts.`,
|
|
|
120082
120569
|
|
|
120083
120570
|
// src/funcs/usersUsersGetByEmail.ts
|
|
120084
120571
|
function usersUsersGetByEmail(client, request, options) {
|
|
120085
|
-
return new APIPromise($
|
|
120572
|
+
return new APIPromise($do195(client, request, options));
|
|
120086
120573
|
}
|
|
120087
|
-
async function $
|
|
120574
|
+
async function $do195(client, request, options) {
|
|
120088
120575
|
const parsed = safeParse6(request, (value) => UsersGetByEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120089
120576
|
if (!parsed.ok) {
|
|
120090
120577
|
return [parsed, { status: "invalid" }];
|
|
@@ -120162,12 +120649,12 @@ var init_usersUsersGetByEmail = __esm(() => {
|
|
|
120162
120649
|
});
|
|
120163
120650
|
|
|
120164
120651
|
// src/mcp-server/tools/usersUsersGetByEmail.ts
|
|
120165
|
-
var
|
|
120652
|
+
var args176, tool$usersUsersGetByEmail;
|
|
120166
120653
|
var init_usersUsersGetByEmail2 = __esm(() => {
|
|
120167
120654
|
init_usersUsersGetByEmail();
|
|
120168
120655
|
init_operations();
|
|
120169
120656
|
init_tools();
|
|
120170
|
-
|
|
120657
|
+
args176 = {
|
|
120171
120658
|
request: UsersGetByEmailRequest$inboundSchema
|
|
120172
120659
|
};
|
|
120173
120660
|
tool$usersUsersGetByEmail = {
|
|
@@ -120175,9 +120662,9 @@ var init_usersUsersGetByEmail2 = __esm(() => {
|
|
|
120175
120662
|
description: `Get User
|
|
120176
120663
|
|
|
120177
120664
|
Fetch a given user.`,
|
|
120178
|
-
args:
|
|
120179
|
-
tool: async (client,
|
|
120180
|
-
const [result, apiCall] = await usersUsersGetByEmail(client,
|
|
120665
|
+
args: args176,
|
|
120666
|
+
tool: async (client, args177, ctx) => {
|
|
120667
|
+
const [result, apiCall] = await usersUsersGetByEmail(client, args177.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
120181
120668
|
if (!result.ok) {
|
|
120182
120669
|
return {
|
|
120183
120670
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -120192,9 +120679,9 @@ Fetch a given user.`,
|
|
|
120192
120679
|
|
|
120193
120680
|
// src/funcs/usersUsersSendEmail.ts
|
|
120194
120681
|
function usersUsersSendEmail(client, request, options) {
|
|
120195
|
-
return new APIPromise($
|
|
120682
|
+
return new APIPromise($do196(client, request, options));
|
|
120196
120683
|
}
|
|
120197
|
-
async function $
|
|
120684
|
+
async function $do196(client, request, options) {
|
|
120198
120685
|
const parsed = safeParse6(request, (value) => UsersSendEmailRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120199
120686
|
if (!parsed.ok) {
|
|
120200
120687
|
return [parsed, { status: "invalid" }];
|
|
@@ -120276,12 +120763,12 @@ var init_usersUsersSendEmail = __esm(() => {
|
|
|
120276
120763
|
});
|
|
120277
120764
|
|
|
120278
120765
|
// src/mcp-server/tools/usersUsersSendEmail.ts
|
|
120279
|
-
var
|
|
120766
|
+
var args177, tool$usersUsersSendEmail;
|
|
120280
120767
|
var init_usersUsersSendEmail2 = __esm(() => {
|
|
120281
120768
|
init_usersUsersSendEmail();
|
|
120282
120769
|
init_operations();
|
|
120283
120770
|
init_tools();
|
|
120284
|
-
|
|
120771
|
+
args177 = {
|
|
120285
120772
|
request: UsersSendEmailRequest$inboundSchema
|
|
120286
120773
|
};
|
|
120287
120774
|
tool$usersUsersSendEmail = {
|
|
@@ -120289,9 +120776,9 @@ var init_usersUsersSendEmail2 = __esm(() => {
|
|
|
120289
120776
|
description: `Send User Email
|
|
120290
120777
|
|
|
120291
120778
|
Send a welcome email to a user.`,
|
|
120292
|
-
args:
|
|
120293
|
-
tool: async (client,
|
|
120294
|
-
const [result, apiCall] = await usersUsersSendEmail(client,
|
|
120779
|
+
args: args177,
|
|
120780
|
+
tool: async (client, args178, ctx) => {
|
|
120781
|
+
const [result, apiCall] = await usersUsersSendEmail(client, args178.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
120295
120782
|
if (!result.ok) {
|
|
120296
120783
|
return {
|
|
120297
120784
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -120306,9 +120793,9 @@ Send a welcome email to a user.`,
|
|
|
120306
120793
|
|
|
120307
120794
|
// src/funcs/voiceGroupsCreate.ts
|
|
120308
120795
|
function voiceGroupsCreate(client, request, options) {
|
|
120309
|
-
return new APIPromise($
|
|
120796
|
+
return new APIPromise($do197(client, request, options));
|
|
120310
120797
|
}
|
|
120311
|
-
async function $
|
|
120798
|
+
async function $do197(client, request, options) {
|
|
120312
120799
|
const parsed = safeParse6(request, (value) => VoiceGroupCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120313
120800
|
if (!parsed.ok) {
|
|
120314
120801
|
return [parsed, { status: "invalid" }];
|
|
@@ -120380,12 +120867,12 @@ var init_voiceGroupsCreate = __esm(() => {
|
|
|
120380
120867
|
});
|
|
120381
120868
|
|
|
120382
120869
|
// src/mcp-server/tools/voiceGroupsCreate.ts
|
|
120383
|
-
var
|
|
120870
|
+
var args178, tool$voiceGroupsCreate;
|
|
120384
120871
|
var init_voiceGroupsCreate2 = __esm(() => {
|
|
120385
120872
|
init_voiceGroupsCreate();
|
|
120386
120873
|
init_components();
|
|
120387
120874
|
init_tools();
|
|
120388
|
-
|
|
120875
|
+
args178 = {
|
|
120389
120876
|
request: VoiceGroupCreateRequest$inboundSchema
|
|
120390
120877
|
};
|
|
120391
120878
|
tool$voiceGroupsCreate = {
|
|
@@ -120393,9 +120880,9 @@ var init_voiceGroupsCreate2 = __esm(() => {
|
|
|
120393
120880
|
description: `Create Voice Group
|
|
120394
120881
|
|
|
120395
120882
|
Create a new voice group.`,
|
|
120396
|
-
args:
|
|
120397
|
-
tool: async (client,
|
|
120398
|
-
const [result, apiCall] = await voiceGroupsCreate(client,
|
|
120883
|
+
args: args178,
|
|
120884
|
+
tool: async (client, args179, ctx) => {
|
|
120885
|
+
const [result, apiCall] = await voiceGroupsCreate(client, args179.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
120399
120886
|
if (!result.ok) {
|
|
120400
120887
|
return {
|
|
120401
120888
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -120410,9 +120897,9 @@ Create a new voice group.`,
|
|
|
120410
120897
|
|
|
120411
120898
|
// src/funcs/voiceGroupsDelete.ts
|
|
120412
120899
|
function voiceGroupsDelete(client, request, options) {
|
|
120413
|
-
return new APIPromise($
|
|
120900
|
+
return new APIPromise($do198(client, request, options));
|
|
120414
120901
|
}
|
|
120415
|
-
async function $
|
|
120902
|
+
async function $do198(client, request, options) {
|
|
120416
120903
|
const parsed = safeParse6(request, (value) => VoiceGroupsDeleteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120417
120904
|
if (!parsed.ok) {
|
|
120418
120905
|
return [parsed, { status: "invalid" }];
|
|
@@ -120494,12 +120981,12 @@ var init_voiceGroupsDelete = __esm(() => {
|
|
|
120494
120981
|
});
|
|
120495
120982
|
|
|
120496
120983
|
// src/mcp-server/tools/voiceGroupsDelete.ts
|
|
120497
|
-
var
|
|
120984
|
+
var args179, tool$voiceGroupsDelete;
|
|
120498
120985
|
var init_voiceGroupsDelete2 = __esm(() => {
|
|
120499
120986
|
init_voiceGroupsDelete();
|
|
120500
120987
|
init_operations();
|
|
120501
120988
|
init_tools();
|
|
120502
|
-
|
|
120989
|
+
args179 = {
|
|
120503
120990
|
request: VoiceGroupsDeleteRequest$inboundSchema
|
|
120504
120991
|
};
|
|
120505
120992
|
tool$voiceGroupsDelete = {
|
|
@@ -120507,9 +120994,9 @@ var init_voiceGroupsDelete2 = __esm(() => {
|
|
|
120507
120994
|
description: `Delete Voice Group
|
|
120508
120995
|
|
|
120509
120996
|
Delete a voice group.`,
|
|
120510
|
-
args:
|
|
120511
|
-
tool: async (client,
|
|
120512
|
-
const [result, apiCall] = await voiceGroupsDelete(client,
|
|
120997
|
+
args: args179,
|
|
120998
|
+
tool: async (client, args180, ctx) => {
|
|
120999
|
+
const [result, apiCall] = await voiceGroupsDelete(client, args180.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
120513
121000
|
if (!result.ok) {
|
|
120514
121001
|
return {
|
|
120515
121002
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -120524,9 +121011,9 @@ Delete a voice group.`,
|
|
|
120524
121011
|
|
|
120525
121012
|
// src/funcs/voiceGroupsGetById.ts
|
|
120526
121013
|
function voiceGroupsGetById(client, request, options) {
|
|
120527
|
-
return new APIPromise($
|
|
121014
|
+
return new APIPromise($do199(client, request, options));
|
|
120528
121015
|
}
|
|
120529
|
-
async function $
|
|
121016
|
+
async function $do199(client, request, options) {
|
|
120530
121017
|
const parsed = safeParse6(request, (value) => VoiceGroupsGetByIdRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120531
121018
|
if (!parsed.ok) {
|
|
120532
121019
|
return [parsed, { status: "invalid" }];
|
|
@@ -120604,12 +121091,12 @@ var init_voiceGroupsGetById = __esm(() => {
|
|
|
120604
121091
|
});
|
|
120605
121092
|
|
|
120606
121093
|
// src/mcp-server/tools/voiceGroupsGetById.ts
|
|
120607
|
-
var
|
|
121094
|
+
var args180, tool$voiceGroupsGetById;
|
|
120608
121095
|
var init_voiceGroupsGetById2 = __esm(() => {
|
|
120609
121096
|
init_voiceGroupsGetById();
|
|
120610
121097
|
init_operations();
|
|
120611
121098
|
init_tools();
|
|
120612
|
-
|
|
121099
|
+
args180 = {
|
|
120613
121100
|
request: VoiceGroupsGetByIdRequest$inboundSchema
|
|
120614
121101
|
};
|
|
120615
121102
|
tool$voiceGroupsGetById = {
|
|
@@ -120617,9 +121104,9 @@ var init_voiceGroupsGetById2 = __esm(() => {
|
|
|
120617
121104
|
description: `Get Voice Group
|
|
120618
121105
|
|
|
120619
121106
|
Fetch a given voice group.`,
|
|
120620
|
-
args:
|
|
120621
|
-
tool: async (client,
|
|
120622
|
-
const [result, apiCall] = await voiceGroupsGetById(client,
|
|
121107
|
+
args: args180,
|
|
121108
|
+
tool: async (client, args181, ctx) => {
|
|
121109
|
+
const [result, apiCall] = await voiceGroupsGetById(client, args181.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
120623
121110
|
if (!result.ok) {
|
|
120624
121111
|
return {
|
|
120625
121112
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -120634,9 +121121,9 @@ Fetch a given voice group.`,
|
|
|
120634
121121
|
|
|
120635
121122
|
// src/funcs/voiceGroupsList.ts
|
|
120636
121123
|
function voiceGroupsList(client, request, options) {
|
|
120637
|
-
return new APIPromise($
|
|
121124
|
+
return new APIPromise($do200(client, request, options));
|
|
120638
121125
|
}
|
|
120639
|
-
async function $
|
|
121126
|
+
async function $do200(client, request, options) {
|
|
120640
121127
|
const parsed = safeParse6(request, (value) => VoiceGroupsListRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120641
121128
|
if (!parsed.ok) {
|
|
120642
121129
|
return [parsed, { status: "invalid" }];
|
|
@@ -120720,12 +121207,12 @@ var init_voiceGroupsList = __esm(() => {
|
|
|
120720
121207
|
});
|
|
120721
121208
|
|
|
120722
121209
|
// src/mcp-server/tools/voiceGroupsList.ts
|
|
120723
|
-
var
|
|
121210
|
+
var args181, tool$voiceGroupsList;
|
|
120724
121211
|
var init_voiceGroupsList2 = __esm(() => {
|
|
120725
121212
|
init_voiceGroupsList();
|
|
120726
121213
|
init_operations();
|
|
120727
121214
|
init_tools();
|
|
120728
|
-
|
|
121215
|
+
args181 = {
|
|
120729
121216
|
request: VoiceGroupsListRequest$inboundSchema
|
|
120730
121217
|
};
|
|
120731
121218
|
tool$voiceGroupsList = {
|
|
@@ -120733,9 +121220,9 @@ var init_voiceGroupsList2 = __esm(() => {
|
|
|
120733
121220
|
description: `List Voice Groups
|
|
120734
121221
|
|
|
120735
121222
|
Fetch voice groups.`,
|
|
120736
|
-
args:
|
|
120737
|
-
tool: async (client,
|
|
120738
|
-
const [result, apiCall] = await voiceGroupsList(client,
|
|
121223
|
+
args: args181,
|
|
121224
|
+
tool: async (client, args182, ctx) => {
|
|
121225
|
+
const [result, apiCall] = await voiceGroupsList(client, args182.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
120739
121226
|
if (!result.ok) {
|
|
120740
121227
|
return {
|
|
120741
121228
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -120750,9 +121237,9 @@ Fetch voice groups.`,
|
|
|
120750
121237
|
|
|
120751
121238
|
// src/funcs/voiceGroupsUpdate.ts
|
|
120752
121239
|
function voiceGroupsUpdate(client, request, options) {
|
|
120753
|
-
return new APIPromise($
|
|
121240
|
+
return new APIPromise($do201(client, request, options));
|
|
120754
121241
|
}
|
|
120755
|
-
async function $
|
|
121242
|
+
async function $do201(client, request, options) {
|
|
120756
121243
|
const parsed = safeParse6(request, (value) => VoiceGroupUpdateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120757
121244
|
if (!parsed.ok) {
|
|
120758
121245
|
return [parsed, { status: "invalid" }];
|
|
@@ -120824,12 +121311,12 @@ var init_voiceGroupsUpdate = __esm(() => {
|
|
|
120824
121311
|
});
|
|
120825
121312
|
|
|
120826
121313
|
// src/mcp-server/tools/voiceGroupsUpdate.ts
|
|
120827
|
-
var
|
|
121314
|
+
var args182, tool$voiceGroupsUpdate;
|
|
120828
121315
|
var init_voiceGroupsUpdate2 = __esm(() => {
|
|
120829
121316
|
init_voiceGroupsUpdate();
|
|
120830
121317
|
init_components();
|
|
120831
121318
|
init_tools();
|
|
120832
|
-
|
|
121319
|
+
args182 = {
|
|
120833
121320
|
request: VoiceGroupUpdateRequest$inboundSchema
|
|
120834
121321
|
};
|
|
120835
121322
|
tool$voiceGroupsUpdate = {
|
|
@@ -120837,9 +121324,9 @@ var init_voiceGroupsUpdate2 = __esm(() => {
|
|
|
120837
121324
|
description: `Update Voice Group
|
|
120838
121325
|
|
|
120839
121326
|
Update an existing voice group`,
|
|
120840
|
-
args:
|
|
120841
|
-
tool: async (client,
|
|
120842
|
-
const [result, apiCall] = await voiceGroupsUpdate(client,
|
|
121327
|
+
args: args182,
|
|
121328
|
+
tool: async (client, args183, ctx) => {
|
|
121329
|
+
const [result, apiCall] = await voiceGroupsUpdate(client, args183.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
120843
121330
|
if (!result.ok) {
|
|
120844
121331
|
return {
|
|
120845
121332
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -120854,9 +121341,9 @@ Update an existing voice group`,
|
|
|
120854
121341
|
|
|
120855
121342
|
// src/funcs/voiceGroupsVoiceGroupsCreateVoiceSample.ts
|
|
120856
121343
|
function voiceGroupsVoiceGroupsCreateVoiceSample(client, request, options) {
|
|
120857
|
-
return new APIPromise($
|
|
121344
|
+
return new APIPromise($do202(client, request, options));
|
|
120858
121345
|
}
|
|
120859
|
-
async function $
|
|
121346
|
+
async function $do202(client, request, options) {
|
|
120860
121347
|
const parsed = safeParse6(request, (value) => VoiceSampleCreateRequest$outboundSchema.parse(value), "Input validation failed");
|
|
120861
121348
|
if (!parsed.ok) {
|
|
120862
121349
|
return [parsed, { status: "invalid" }];
|
|
@@ -120929,12 +121416,12 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample = __esm(() => {
|
|
|
120929
121416
|
});
|
|
120930
121417
|
|
|
120931
121418
|
// src/mcp-server/tools/voiceGroupsVoiceGroupsCreateVoiceSample.ts
|
|
120932
|
-
var
|
|
121419
|
+
var args183, tool$voiceGroupsVoiceGroupsCreateVoiceSample;
|
|
120933
121420
|
var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
120934
121421
|
init_voiceGroupsVoiceGroupsCreateVoiceSample();
|
|
120935
121422
|
init_components();
|
|
120936
121423
|
init_tools();
|
|
120937
|
-
|
|
121424
|
+
args183 = {
|
|
120938
121425
|
request: VoiceSampleCreateRequest$inboundSchema
|
|
120939
121426
|
};
|
|
120940
121427
|
tool$voiceGroupsVoiceGroupsCreateVoiceSample = {
|
|
@@ -120942,9 +121429,9 @@ var init_voiceGroupsVoiceGroupsCreateVoiceSample2 = __esm(() => {
|
|
|
120942
121429
|
description: `Create Voice Sample
|
|
120943
121430
|
|
|
120944
121431
|
Generate voice sample.`,
|
|
120945
|
-
args:
|
|
120946
|
-
tool: async (client,
|
|
120947
|
-
const [result, apiCall] = await voiceGroupsVoiceGroupsCreateVoiceSample(client,
|
|
121432
|
+
args: args183,
|
|
121433
|
+
tool: async (client, args184, ctx) => {
|
|
121434
|
+
const [result, apiCall] = await voiceGroupsVoiceGroupsCreateVoiceSample(client, args184.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
120948
121435
|
if (!result.ok) {
|
|
120949
121436
|
return {
|
|
120950
121437
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -120961,7 +121448,7 @@ Generate voice sample.`,
|
|
|
120961
121448
|
function createMCPServer(deps) {
|
|
120962
121449
|
const server = new McpServer({
|
|
120963
121450
|
name: "SyllableSDK",
|
|
120964
|
-
version: "1.0.74
|
|
121451
|
+
version: "1.0.74"
|
|
120965
121452
|
});
|
|
120966
121453
|
const client = new SyllableSDKCore({
|
|
120967
121454
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -121172,6 +121659,7 @@ function createMCPServer(deps) {
|
|
|
121172
121659
|
tool(tool$outboundCampaignsGetById);
|
|
121173
121660
|
tool(tool$outboundCampaignsUpdate);
|
|
121174
121661
|
tool(tool$outboundCampaignsDelete);
|
|
121662
|
+
tool(tool$outboundCampaignsOutboundCampaignExcludedDates);
|
|
121175
121663
|
tool(tool$channelsTwilioNumbersChannelsTwilioNumbersA2pComplianceCheck);
|
|
121176
121664
|
tool(tool$channelsTwilioNumbersAdd);
|
|
121177
121665
|
tool(tool$channelsTwilioNumbersUpdate);
|
|
@@ -121324,6 +121812,7 @@ var init_server = __esm(() => {
|
|
|
121324
121812
|
init_outboundCampaignsDelete2();
|
|
121325
121813
|
init_outboundCampaignsGetById2();
|
|
121326
121814
|
init_outboundCampaignsList2();
|
|
121815
|
+
init_outboundCampaignsOutboundCampaignExcludedDates2();
|
|
121327
121816
|
init_outboundCampaignsUpdate2();
|
|
121328
121817
|
init_permissionsList2();
|
|
121329
121818
|
init_promptsCreate2();
|
|
@@ -122582,7 +123071,7 @@ var routes = ln({
|
|
|
122582
123071
|
var app = _e(routes, {
|
|
122583
123072
|
name: "mcp",
|
|
122584
123073
|
versionInfo: {
|
|
122585
|
-
currentVersion: "1.0.74
|
|
123074
|
+
currentVersion: "1.0.74"
|
|
122586
123075
|
}
|
|
122587
123076
|
});
|
|
122588
123077
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -122590,5 +123079,5 @@ export {
|
|
|
122590
123079
|
app
|
|
122591
123080
|
};
|
|
122592
123081
|
|
|
122593
|
-
//# debugId=
|
|
123082
|
+
//# debugId=92DFDE060DCE784064756E2164756E21
|
|
122594
123083
|
//# sourceMappingURL=mcp-server.js.map
|