syllable-sdk 1.0.74-rc.7 → 1.0.74-rc.8
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 +1 -2
- package/bin/mcp-server.js +10 -281
- package/bin/mcp-server.js.map +15 -21
- package/funcs/outboundBatchesUpload.d.ts +1 -12
- package/funcs/outboundBatchesUpload.d.ts.map +1 -1
- package/funcs/outboundBatchesUpload.js +2 -16
- package/funcs/outboundBatchesUpload.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/outboundBatchesUpload.d.ts.map +1 -1
- package/mcp-server/tools/outboundBatchesUpload.js +1 -10
- package/mcp-server/tools/outboundBatchesUpload.js.map +1 -1
- package/models/components/index.d.ts +0 -5
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -5
- 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 +7 -16
- package/models/components/outreachoverriderules.d.ts.map +1 -1
- package/models/components/outreachoverriderules.js +0 -2
- package/models/components/outreachoverriderules.js.map +1 -1
- package/models/components/scheduleoverride.d.ts +6 -5
- package/models/components/scheduleoverride.d.ts.map +1 -1
- package/models/components/scheduleoverride.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/operations/outboundbatchupload.d.ts +0 -5
- package/models/operations/outboundbatchupload.d.ts.map +1 -1
- package/models/operations/outboundbatchupload.js +0 -4
- package/models/operations/outboundbatchupload.js.map +1 -1
- package/package.json +1 -1
- package/sdk/batches.d.ts +2 -12
- package/sdk/batches.d.ts.map +1 -1
- package/sdk/batches.js +0 -10
- package/sdk/batches.js.map +1 -1
- package/src/funcs/outboundBatchesUpload.ts +6 -30
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/outboundBatchesUpload.ts +1 -10
- package/src/models/components/index.ts +0 -5
- package/src/models/components/outboundcampaign.ts +1 -1
- package/src/models/components/outboundcampaigninput.ts +1 -1
- package/src/models/components/outreachoverriderules.ts +7 -14
- package/src/models/components/scheduleoverride.ts +6 -5
- package/src/models/errors/index.ts +0 -1
- package/src/models/operations/outboundbatchupload.ts +0 -9
- package/src/sdk/batches.ts +1 -11
- package/models/components/batchfilecheckresult.d.ts +0 -76
- package/models/components/batchfilecheckresult.d.ts.map +0 -1
- package/models/components/batchfilecheckresult.js +0 -104
- package/models/components/batchfilecheckresult.js.map +0 -1
- package/models/components/batchfileproblem.d.ts +0 -21
- package/models/components/batchfileproblem.d.ts.map +0 -1
- package/models/components/batchfileproblem.js +0 -55
- package/models/components/batchfileproblem.js.map +0 -1
- package/models/components/batchfileproblemcount.d.ts +0 -39
- package/models/components/batchfileproblemcount.d.ts.map +0 -1
- package/models/components/batchfileproblemcount.js +0 -65
- package/models/components/batchfileproblemcount.js.map +0 -1
- package/models/components/batchfileproblemrow.d.ts +0 -39
- package/models/components/batchfileproblemrow.d.ts.map +0 -1
- package/models/components/batchfileproblemrow.js +0 -76
- package/models/components/batchfileproblemrow.js.map +0 -1
- package/models/components/batchfilesamplerow.d.ts +0 -37
- package/models/components/batchfilesamplerow.d.ts.map +0 -1
- package/models/components/batchfilesamplerow.js +0 -73
- package/models/components/batchfilesamplerow.js.map +0 -1
- package/models/errors/batchfilecheckresult.d.ts +0 -127
- package/models/errors/batchfilecheckresult.d.ts.map +0 -1
- package/models/errors/batchfilecheckresult.js +0 -131
- package/models/errors/batchfilecheckresult.js.map +0 -1
- package/src/models/components/batchfilecheckresult.ts +0 -168
- package/src/models/components/batchfileproblem.ts +0 -30
- package/src/models/components/batchfileproblemcount.ts +0 -83
- package/src/models/components/batchfileproblemrow.ts +0 -94
- package/src/models/components/batchfilesamplerow.ts +0 -82
- package/src/models/errors/batchfilecheckresult.ts +0 -224
package/README.md
CHANGED
|
@@ -998,7 +998,7 @@ run();
|
|
|
998
998
|
* [`SyllableSDKError`](./src/models/errors/syllablesdkerror.ts): The base class for HTTP error responses.
|
|
999
999
|
* [`HTTPValidationError`](./src/models/errors/httpvalidationerror.ts): Validation Error. Status code `422`. *
|
|
1000
1000
|
|
|
1001
|
-
<details><summary>Less common errors (
|
|
1001
|
+
<details><summary>Less common errors (16)</summary>
|
|
1002
1002
|
|
|
1003
1003
|
<br />
|
|
1004
1004
|
|
|
@@ -1018,7 +1018,6 @@ run();
|
|
|
1018
1018
|
* [`SessionLabelsListResponseBody`](./src/models/errors/sessionlabelslistresponsebody.ts): Bad request, including malformed datetime query parameters. Status code `400`. Applicable to 1 of 208 methods.*
|
|
1019
1019
|
* [`SessionsListSessionsResponseBody`](./src/models/errors/sessionslistsessionsresponsebody.ts): Bad request, including malformed datetime query parameters. Status code `400`. Applicable to 1 of 208 methods.*
|
|
1020
1020
|
* [`DirectoryMemberListResponseBody`](./src/models/errors/directorymemberlistresponsebody.ts): Bad request, including malformed datetime query parameters. Status code `400`. Applicable to 1 of 208 methods.*
|
|
1021
|
-
* [`BatchFileCheckResult`](./src/models/errors/batchfilecheckresult.ts): Results of the check of a batch file. The check runs before any request is created. Status code `400`. Applicable to 1 of 208 methods.*
|
|
1022
1021
|
* [`OutboundCampaignListResponseBody`](./src/models/errors/outboundcampaignlistresponsebody.ts): Bad request, including malformed datetime query parameters. Status code `400`. Applicable to 1 of 208 methods.*
|
|
1023
1022
|
* [`SessionSummaryErrorResponse`](./src/models/errors/sessionsummaryerrorresponse.ts): Summary service unavailable or returned an invalid response. Applicable to 1 of 208 methods.*
|
|
1024
1023
|
* [`SessionsListResponseBody`](./src/models/errors/sessionslistresponsebody.ts): The request timed out. Status code `504`. Applicable to 1 of 208 methods.*
|
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-rc.
|
|
72054
|
+
sdkVersion: "1.0.74-rc.8",
|
|
72055
72055
|
genVersion: "2.961.1",
|
|
72056
|
-
userAgent: "speakeasy-sdk/typescript 1.0.74-rc.
|
|
72056
|
+
userAgent: "speakeasy-sdk/typescript 1.0.74-rc.8 2.961.1 0.0.3 syllable-sdk"
|
|
72057
72057
|
};
|
|
72058
72058
|
});
|
|
72059
72059
|
|
|
@@ -84811,155 +84811,6 @@ 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
|
-
|
|
84963
84814
|
// src/models/components/batchproperties.ts
|
|
84964
84815
|
var BatchProperties, BatchProperties$inboundSchema, BatchProperties$outboundSchema;
|
|
84965
84816
|
var init_batchproperties = __esm(() => {
|
|
@@ -90346,13 +90197,11 @@ var init_outreachoverriderules = __esm(() => {
|
|
|
90346
90197
|
init_scheduleoverride();
|
|
90347
90198
|
OutreachOverrideRules$inboundSchema = objectType({
|
|
90348
90199
|
days: recordType(ScheduleOverride$inboundSchema).optional(),
|
|
90349
|
-
dates: recordType(ScheduleOverride$inboundSchema).optional()
|
|
90350
|
-
holidays: recordType(ScheduleOverride$inboundSchema).optional()
|
|
90200
|
+
dates: recordType(ScheduleOverride$inboundSchema).optional()
|
|
90351
90201
|
});
|
|
90352
90202
|
OutreachOverrideRules$outboundSchema = objectType({
|
|
90353
90203
|
days: recordType(ScheduleOverride$outboundSchema).optional(),
|
|
90354
|
-
dates: recordType(ScheduleOverride$outboundSchema).optional()
|
|
90355
|
-
holidays: recordType(ScheduleOverride$outboundSchema).optional()
|
|
90204
|
+
dates: recordType(ScheduleOverride$outboundSchema).optional()
|
|
90356
90205
|
});
|
|
90357
90206
|
});
|
|
90358
90207
|
|
|
@@ -94076,11 +93925,6 @@ var init_components = __esm(() => {
|
|
|
94076
93925
|
init_availabletarget();
|
|
94077
93926
|
init_availabletargetproperties();
|
|
94078
93927
|
init_batchdetails();
|
|
94079
|
-
init_batchfilecheckresult();
|
|
94080
|
-
init_batchfileproblem();
|
|
94081
|
-
init_batchfileproblemcount();
|
|
94082
|
-
init_batchfileproblemrow();
|
|
94083
|
-
init_batchfilesamplerow();
|
|
94084
93928
|
init_batchproperties();
|
|
94085
93929
|
init_batchstatus();
|
|
94086
93930
|
init_bodydirectorymemberbulkload();
|
|
@@ -94467,103 +94311,6 @@ var init_agenterrorresponse = __esm(() => {
|
|
|
94467
94311
|
}));
|
|
94468
94312
|
});
|
|
94469
94313
|
|
|
94470
|
-
// src/models/errors/batchfilecheckresult.ts
|
|
94471
|
-
var BatchFileCheckResult, BatchFileCheckResult$inboundSchema2, BatchFileCheckResult$outboundSchema2;
|
|
94472
|
-
var init_batchfilecheckresult2 = __esm(() => {
|
|
94473
|
-
init_v3();
|
|
94474
|
-
init_primitives();
|
|
94475
|
-
init_components();
|
|
94476
|
-
init_syllablesdkerror();
|
|
94477
|
-
BatchFileCheckResult = class BatchFileCheckResult extends SyllableSDKError {
|
|
94478
|
-
accepted;
|
|
94479
|
-
errorMessage;
|
|
94480
|
-
columns;
|
|
94481
|
-
referenceIdColumn;
|
|
94482
|
-
requestVariableColumns;
|
|
94483
|
-
totalRows;
|
|
94484
|
-
rowsToCall;
|
|
94485
|
-
problemCounts;
|
|
94486
|
-
warnings;
|
|
94487
|
-
problemRows;
|
|
94488
|
-
sampleRows;
|
|
94489
|
-
data$;
|
|
94490
|
-
constructor(err, httpMeta) {
|
|
94491
|
-
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
94492
|
-
super(message, httpMeta);
|
|
94493
|
-
this.data$ = err;
|
|
94494
|
-
this.accepted = err.accepted;
|
|
94495
|
-
if (err.errorMessage != null)
|
|
94496
|
-
this.errorMessage = err.errorMessage;
|
|
94497
|
-
this.columns = err.columns;
|
|
94498
|
-
this.referenceIdColumn = err.referenceIdColumn;
|
|
94499
|
-
this.requestVariableColumns = err.requestVariableColumns;
|
|
94500
|
-
this.totalRows = err.totalRows;
|
|
94501
|
-
this.rowsToCall = err.rowsToCall;
|
|
94502
|
-
this.problemCounts = err.problemCounts;
|
|
94503
|
-
this.warnings = err.warnings;
|
|
94504
|
-
this.problemRows = err.problemRows;
|
|
94505
|
-
this.sampleRows = err.sampleRows;
|
|
94506
|
-
this.name = "BatchFileCheckResult";
|
|
94507
|
-
}
|
|
94508
|
-
};
|
|
94509
|
-
BatchFileCheckResult$inboundSchema2 = objectType({
|
|
94510
|
-
accepted: booleanType(),
|
|
94511
|
-
error_message: nullableType(stringType()).optional(),
|
|
94512
|
-
columns: arrayType(stringType()),
|
|
94513
|
-
reference_id_column: booleanType(),
|
|
94514
|
-
request_variable_columns: arrayType(stringType()),
|
|
94515
|
-
total_rows: numberType().int(),
|
|
94516
|
-
rows_to_call: numberType().int(),
|
|
94517
|
-
problem_counts: arrayType(BatchFileProblemCount$inboundSchema),
|
|
94518
|
-
warnings: arrayType(stringType()),
|
|
94519
|
-
problem_rows: arrayType(BatchFileProblemRow$inboundSchema),
|
|
94520
|
-
sample_rows: arrayType(BatchFileSampleRow$inboundSchema),
|
|
94521
|
-
request$: instanceOfType(Request),
|
|
94522
|
-
response$: instanceOfType(Response),
|
|
94523
|
-
body$: stringType()
|
|
94524
|
-
}).transform((v2) => {
|
|
94525
|
-
const remapped = remap(v2, {
|
|
94526
|
-
error_message: "errorMessage",
|
|
94527
|
-
reference_id_column: "referenceIdColumn",
|
|
94528
|
-
request_variable_columns: "requestVariableColumns",
|
|
94529
|
-
total_rows: "totalRows",
|
|
94530
|
-
rows_to_call: "rowsToCall",
|
|
94531
|
-
problem_counts: "problemCounts",
|
|
94532
|
-
problem_rows: "problemRows",
|
|
94533
|
-
sample_rows: "sampleRows"
|
|
94534
|
-
});
|
|
94535
|
-
return new BatchFileCheckResult(remapped, {
|
|
94536
|
-
request: v2.request$,
|
|
94537
|
-
response: v2.response$,
|
|
94538
|
-
body: v2.body$
|
|
94539
|
-
});
|
|
94540
|
-
});
|
|
94541
|
-
BatchFileCheckResult$outboundSchema2 = instanceOfType(BatchFileCheckResult).transform((v2) => v2.data$).pipe(objectType({
|
|
94542
|
-
accepted: booleanType(),
|
|
94543
|
-
errorMessage: nullableType(stringType()).optional(),
|
|
94544
|
-
columns: arrayType(stringType()),
|
|
94545
|
-
referenceIdColumn: booleanType(),
|
|
94546
|
-
requestVariableColumns: arrayType(stringType()),
|
|
94547
|
-
totalRows: numberType().int(),
|
|
94548
|
-
rowsToCall: numberType().int(),
|
|
94549
|
-
problemCounts: arrayType(BatchFileProblemCount$outboundSchema),
|
|
94550
|
-
warnings: arrayType(stringType()),
|
|
94551
|
-
problemRows: arrayType(BatchFileProblemRow$outboundSchema),
|
|
94552
|
-
sampleRows: arrayType(BatchFileSampleRow$outboundSchema)
|
|
94553
|
-
}).transform((v2) => {
|
|
94554
|
-
return remap(v2, {
|
|
94555
|
-
errorMessage: "error_message",
|
|
94556
|
-
referenceIdColumn: "reference_id_column",
|
|
94557
|
-
requestVariableColumns: "request_variable_columns",
|
|
94558
|
-
totalRows: "total_rows",
|
|
94559
|
-
rowsToCall: "rows_to_call",
|
|
94560
|
-
problemCounts: "problem_counts",
|
|
94561
|
-
problemRows: "problem_rows",
|
|
94562
|
-
sampleRows: "sample_rows"
|
|
94563
|
-
});
|
|
94564
|
-
}));
|
|
94565
|
-
});
|
|
94566
|
-
|
|
94567
94314
|
// src/models/errors/custommessageerrorresponse.ts
|
|
94568
94315
|
var CustomMessageErrorResponse, CustomMessageErrorResponse$inboundSchema, CustomMessageErrorResponse$outboundSchema;
|
|
94569
94316
|
var init_custommessageerrorresponse = __esm(() => {
|
|
@@ -94975,7 +94722,6 @@ var init_sessionsummaryerrorresponse = __esm(() => {
|
|
|
94975
94722
|
// src/models/errors/index.ts
|
|
94976
94723
|
var init_errors10 = __esm(() => {
|
|
94977
94724
|
init_agenterrorresponse();
|
|
94978
|
-
init_batchfilecheckresult2();
|
|
94979
94725
|
init_custommessageerrorresponse();
|
|
94980
94726
|
init_directorymemberlist();
|
|
94981
94727
|
init_httpclienterrors();
|
|
@@ -97920,23 +97666,19 @@ var init_outboundbatchupload = __esm(() => {
|
|
|
97920
97666
|
init_components();
|
|
97921
97667
|
OutboundBatchUploadRequest$inboundSchema = objectType({
|
|
97922
97668
|
batch_id: stringType(),
|
|
97923
|
-
validate_only: booleanType().default(false),
|
|
97924
97669
|
Body_outbound_batch_upload: BodyOutboundBatchUpload$inboundSchema.optional()
|
|
97925
97670
|
}).transform((v2) => {
|
|
97926
97671
|
return remap(v2, {
|
|
97927
97672
|
batch_id: "batchId",
|
|
97928
|
-
validate_only: "validateOnly",
|
|
97929
97673
|
Body_outbound_batch_upload: "bodyOutboundBatchUpload"
|
|
97930
97674
|
});
|
|
97931
97675
|
});
|
|
97932
97676
|
OutboundBatchUploadRequest$outboundSchema = objectType({
|
|
97933
97677
|
batchId: stringType(),
|
|
97934
|
-
validateOnly: booleanType().default(false),
|
|
97935
97678
|
bodyOutboundBatchUpload: BodyOutboundBatchUpload$outboundSchema.optional()
|
|
97936
97679
|
}).transform((v2) => {
|
|
97937
97680
|
return remap(v2, {
|
|
97938
97681
|
batchId: "batch_id",
|
|
97939
|
-
validateOnly: "validate_only",
|
|
97940
97682
|
bodyOutboundBatchUpload: "Body_outbound_batch_upload"
|
|
97941
97683
|
});
|
|
97942
97684
|
});
|
|
@@ -114199,9 +113941,6 @@ async function $do136(client, request, options) {
|
|
|
114199
113941
|
})
|
|
114200
113942
|
};
|
|
114201
113943
|
const path = pathToFunc("/api/v1/outbound/batches/{batch_id}/upload_batch")(pathParams);
|
|
114202
|
-
const query = encodeFormQuery({
|
|
114203
|
-
validate_only: payload.validate_only
|
|
114204
|
-
});
|
|
114205
113944
|
const headers = new Headers(compactMap({
|
|
114206
113945
|
Accept: "application/json"
|
|
114207
113946
|
}));
|
|
@@ -114224,7 +113963,6 @@ async function $do136(client, request, options) {
|
|
|
114224
113963
|
baseURL: options?.serverURL,
|
|
114225
113964
|
path,
|
|
114226
113965
|
headers,
|
|
114227
|
-
query,
|
|
114228
113966
|
body,
|
|
114229
113967
|
userAgent: client._options.userAgent,
|
|
114230
113968
|
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
@@ -114246,13 +113984,14 @@ async function $do136(client, request, options) {
|
|
|
114246
113984
|
const responseFields = {
|
|
114247
113985
|
HttpMeta: { Response: response, Request: req }
|
|
114248
113986
|
};
|
|
114249
|
-
const [result] = await match(json(200,
|
|
113987
|
+
const [result] = await match(json(200, anyType()), jsonErr(422, HTTPValidationError$inboundSchema), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
114250
113988
|
if (!result.ok) {
|
|
114251
113989
|
return [result, { status: "complete", request: req, response }];
|
|
114252
113990
|
}
|
|
114253
113991
|
return [result, { status: "complete", request: req, response }];
|
|
114254
113992
|
}
|
|
114255
113993
|
var init_outboundBatchesUpload = __esm(() => {
|
|
113994
|
+
init_v3();
|
|
114256
113995
|
init_encodings();
|
|
114257
113996
|
init_http();
|
|
114258
113997
|
init_matchers();
|
|
@@ -114260,7 +113999,6 @@ var init_outboundBatchesUpload = __esm(() => {
|
|
|
114260
113999
|
init_schemas9();
|
|
114261
114000
|
init_security();
|
|
114262
114001
|
init_url();
|
|
114263
|
-
init_components();
|
|
114264
114002
|
init_errors10();
|
|
114265
114003
|
init_operations();
|
|
114266
114004
|
init_async();
|
|
@@ -114278,16 +114016,7 @@ var init_outboundBatchesUpload2 = __esm(() => {
|
|
|
114278
114016
|
};
|
|
114279
114017
|
tool$outboundBatchesUpload = {
|
|
114280
114018
|
name: "outbound-batches-upload",
|
|
114281
|
-
description: `Upload Outbound Communication Batch
|
|
114282
|
-
|
|
114283
|
-
Check a batch file, then create a request for each row that can be called.
|
|
114284
|
-
|
|
114285
|
-
The check runs before the response, so the response contains the results. A file with a problem
|
|
114286
|
-
that stops the whole file returns 400, and the batch is marked FAILED with the reason. Requests
|
|
114287
|
-
are created in the background after the response.
|
|
114288
|
-
|
|
114289
|
-
In validate-only mode, the response is always 200: the check itself succeeded, and accepted tells
|
|
114290
|
-
whether the file would be accepted.`,
|
|
114019
|
+
description: `Upload Outbound Communication Batch`,
|
|
114291
114020
|
args: args125,
|
|
114292
114021
|
tool: async (client, args126, ctx) => {
|
|
114293
114022
|
const [result, apiCall] = await outboundBatchesUpload(client, args126.request, { fetchOptions: { signal: ctx.mcpReq.signal } }).$inspect();
|
|
@@ -121232,7 +120961,7 @@ Generate voice sample.`,
|
|
|
121232
120961
|
function createMCPServer(deps) {
|
|
121233
120962
|
const server = new McpServer({
|
|
121234
120963
|
name: "SyllableSDK",
|
|
121235
|
-
version: "1.0.74-rc.
|
|
120964
|
+
version: "1.0.74-rc.8"
|
|
121236
120965
|
});
|
|
121237
120966
|
const client = new SyllableSDKCore({
|
|
121238
120967
|
apiKeyHeader: deps.apiKeyHeader,
|
|
@@ -122853,7 +122582,7 @@ var routes = ln({
|
|
|
122853
122582
|
var app = _e(routes, {
|
|
122854
122583
|
name: "mcp",
|
|
122855
122584
|
versionInfo: {
|
|
122856
|
-
currentVersion: "1.0.74-rc.
|
|
122585
|
+
currentVersion: "1.0.74-rc.8"
|
|
122857
122586
|
}
|
|
122858
122587
|
});
|
|
122859
122588
|
Yt(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -122861,5 +122590,5 @@ export {
|
|
|
122861
122590
|
app
|
|
122862
122591
|
};
|
|
122863
122592
|
|
|
122864
|
-
//# debugId=
|
|
122593
|
+
//# debugId=BBBB925B652703D564756E2164756E21
|
|
122865
122594
|
//# sourceMappingURL=mcp-server.js.map
|