@moovio/sdk 0.19.2 → 0.21.0
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 +70 -46
- package/bin/mcp-server.js +1259 -659
- package/bin/mcp-server.js.map +19 -9
- package/docs/sdks/feeplans/README.md +276 -0
- package/examples/package-lock.json +1 -1
- package/funcs/feePlansGetResidual.d.ts +17 -0
- package/funcs/feePlansGetResidual.d.ts.map +1 -0
- package/funcs/feePlansGetResidual.js +129 -0
- package/funcs/feePlansGetResidual.js.map +1 -0
- package/funcs/feePlansListResidualFees.d.ts +17 -0
- package/funcs/feePlansListResidualFees.d.ts.map +1 -0
- package/funcs/feePlansListResidualFees.js +136 -0
- package/funcs/feePlansListResidualFees.js.map +1 -0
- package/funcs/feePlansListResiduals.d.ts +17 -0
- package/funcs/feePlansListResiduals.d.ts.map +1 -0
- package/funcs/feePlansListResiduals.js +132 -0
- package/funcs/feePlansListResiduals.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +7 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/feePlansGetResidual.d.ts +8 -0
- package/mcp-server/tools/feePlansGetResidual.d.ts.map +1 -0
- package/mcp-server/tools/feePlansGetResidual.js +65 -0
- package/mcp-server/tools/feePlansGetResidual.js.map +1 -0
- package/mcp-server/tools/feePlansListResidualFees.d.ts +8 -0
- package/mcp-server/tools/feePlansListResidualFees.d.ts.map +1 -0
- package/mcp-server/tools/feePlansListResidualFees.js +65 -0
- package/mcp-server/tools/feePlansListResidualFees.js.map +1 -0
- package/mcp-server/tools/feePlansListResiduals.d.ts +8 -0
- package/mcp-server/tools/feePlansListResiduals.d.ts.map +1 -0
- package/mcp-server/tools/feePlansListResiduals.js +65 -0
- package/mcp-server/tools/feePlansListResiduals.js.map +1 -0
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/productimagemetadata.d.ts +5 -0
- package/models/components/productimagemetadata.d.ts.map +1 -1
- package/models/components/productimagemetadata.js +2 -0
- package/models/components/productimagemetadata.js.map +1 -1
- package/models/components/residual.d.ts +59 -0
- package/models/components/residual.d.ts.map +1 -0
- package/models/components/residual.js +92 -0
- package/models/components/residual.js.map +1 -0
- package/models/operations/getresidual.d.ts +101 -0
- package/models/operations/getresidual.d.ts.map +1 -0
- package/models/operations/getresidual.js +147 -0
- package/models/operations/getresidual.js.map +1 -0
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/listresidualfees.d.ts +115 -0
- package/models/operations/listresidualfees.d.ts.map +1 -0
- package/models/operations/listresidualfees.js +155 -0
- package/models/operations/listresidualfees.js.map +1 -0
- package/models/operations/listresiduals.d.ts +113 -0
- package/models/operations/listresiduals.d.ts.map +1 -0
- package/models/operations/listresiduals.js +153 -0
- package/models/operations/listresiduals.js.map +1 -0
- package/package.json +1 -1
- package/sdk/feeplans.d.ts +21 -0
- package/sdk/feeplans.d.ts.map +1 -1
- package/sdk/feeplans.js +30 -0
- package/sdk/feeplans.js.map +1 -1
- package/src/funcs/feePlansGetResidual.ts +185 -0
- package/src/funcs/feePlansListResidualFees.ts +193 -0
- package/src/funcs/feePlansListResiduals.ts +187 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -1
- package/src/mcp-server/tools/feePlansGetResidual.ts +38 -0
- package/src/mcp-server/tools/feePlansListResidualFees.ts +38 -0
- package/src/mcp-server/tools/feePlansListResiduals.ts +38 -0
- package/src/models/components/index.ts +1 -0
- package/src/models/components/productimagemetadata.ts +7 -0
- package/src/models/components/residual.ts +121 -0
- package/src/models/operations/getresidual.ts +223 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/listresidualfees.ts +245 -0
- package/src/models/operations/listresiduals.ts +241 -0
- package/src/sdk/feeplans.ts +54 -0
package/bin/mcp-server.js
CHANGED
|
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
|
|
|
34175
34175
|
SDK_METADATA = {
|
|
34176
34176
|
language: "typescript",
|
|
34177
34177
|
openapiDocVersion: "latest",
|
|
34178
|
-
sdkVersion: "0.
|
|
34179
|
-
genVersion: "2.
|
|
34180
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
34178
|
+
sdkVersion: "0.21.0",
|
|
34179
|
+
genVersion: "2.737.0",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.21.0 2.737.0 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -47341,12 +47341,14 @@ var init_productimagemetadata = __esm(() => {
|
|
|
47341
47341
|
ProductImageMetadata$inboundSchema = objectType({
|
|
47342
47342
|
imageID: stringType(),
|
|
47343
47343
|
altText: stringType().optional(),
|
|
47344
|
-
link: stringType()
|
|
47344
|
+
link: stringType(),
|
|
47345
|
+
publicID: stringType()
|
|
47345
47346
|
});
|
|
47346
47347
|
ProductImageMetadata$outboundSchema = objectType({
|
|
47347
47348
|
imageID: stringType(),
|
|
47348
47349
|
altText: stringType().optional(),
|
|
47349
|
-
link: stringType()
|
|
47350
|
+
link: stringType(),
|
|
47351
|
+
publicID: stringType()
|
|
47350
47352
|
});
|
|
47351
47353
|
((ProductImageMetadata$) => {
|
|
47352
47354
|
ProductImageMetadata$.inboundSchema = ProductImageMetadata$inboundSchema;
|
|
@@ -47729,6 +47731,45 @@ var init_requestcard = __esm(() => {
|
|
|
47729
47731
|
})(RequestCard$ ||= {});
|
|
47730
47732
|
});
|
|
47731
47733
|
|
|
47734
|
+
// src/models/components/residual.ts
|
|
47735
|
+
var Residual$inboundSchema, Residual$outboundSchema, Residual$;
|
|
47736
|
+
var init_residual = __esm(() => {
|
|
47737
|
+
init_esm();
|
|
47738
|
+
init_amountdecimal();
|
|
47739
|
+
Residual$inboundSchema = objectType({
|
|
47740
|
+
residualID: stringType(),
|
|
47741
|
+
partnerAccountID: stringType(),
|
|
47742
|
+
periodStart: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
47743
|
+
periodEnd: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
47744
|
+
merchantFees: AmountDecimal$inboundSchema,
|
|
47745
|
+
partnerCost: AmountDecimal$inboundSchema,
|
|
47746
|
+
netIncome: AmountDecimal$inboundSchema,
|
|
47747
|
+
revenueShare: stringType(),
|
|
47748
|
+
residualAmount: AmountDecimal$inboundSchema,
|
|
47749
|
+
moovShare: AmountDecimal$inboundSchema,
|
|
47750
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
47751
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
47752
|
+
});
|
|
47753
|
+
Residual$outboundSchema = objectType({
|
|
47754
|
+
residualID: stringType(),
|
|
47755
|
+
partnerAccountID: stringType(),
|
|
47756
|
+
periodStart: dateType().transform((v2) => v2.toISOString()),
|
|
47757
|
+
periodEnd: dateType().transform((v2) => v2.toISOString()),
|
|
47758
|
+
merchantFees: AmountDecimal$outboundSchema,
|
|
47759
|
+
partnerCost: AmountDecimal$outboundSchema,
|
|
47760
|
+
netIncome: AmountDecimal$outboundSchema,
|
|
47761
|
+
revenueShare: stringType(),
|
|
47762
|
+
residualAmount: AmountDecimal$outboundSchema,
|
|
47763
|
+
moovShare: AmountDecimal$outboundSchema,
|
|
47764
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
47765
|
+
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
47766
|
+
});
|
|
47767
|
+
((Residual$) => {
|
|
47768
|
+
Residual$.inboundSchema = Residual$inboundSchema;
|
|
47769
|
+
Residual$.outboundSchema = Residual$outboundSchema;
|
|
47770
|
+
})(Residual$ ||= {});
|
|
47771
|
+
});
|
|
47772
|
+
|
|
47732
47773
|
// src/models/components/reversedwithcancellation.ts
|
|
47733
47774
|
var ReversedWithCancellation$inboundSchema, ReversedWithCancellation$outboundSchema, ReversedWithCancellation$;
|
|
47734
47775
|
var init_reversedwithcancellation = __esm(() => {
|
|
@@ -50783,6 +50824,7 @@ var init_components = __esm(() => {
|
|
|
50783
50824
|
init_requirementerror();
|
|
50784
50825
|
init_requirementerrorcode();
|
|
50785
50826
|
init_requirementid();
|
|
50827
|
+
init_residual();
|
|
50786
50828
|
init_returnpolicytype();
|
|
50787
50829
|
init_reversal();
|
|
50788
50830
|
init_reversedwithcancellation();
|
|
@@ -57702,6 +57744,66 @@ var init_getrepresentative = __esm(() => {
|
|
|
57702
57744
|
})(GetRepresentativeResponse$ ||= {});
|
|
57703
57745
|
});
|
|
57704
57746
|
|
|
57747
|
+
// src/models/operations/getresidual.ts
|
|
57748
|
+
var GetResidualGlobals$inboundSchema, GetResidualGlobals$outboundSchema, GetResidualGlobals$, GetResidualRequest$inboundSchema, GetResidualRequest$outboundSchema, GetResidualRequest$, GetResidualResponse$inboundSchema, GetResidualResponse$outboundSchema, GetResidualResponse$;
|
|
57749
|
+
var init_getresidual = __esm(() => {
|
|
57750
|
+
init_esm();
|
|
57751
|
+
init_primitives();
|
|
57752
|
+
init_components();
|
|
57753
|
+
GetResidualGlobals$inboundSchema = objectType({
|
|
57754
|
+
"X-Moov-Version": stringType().default("v2024.01.00")
|
|
57755
|
+
}).transform((v2) => {
|
|
57756
|
+
return remap(v2, {
|
|
57757
|
+
"X-Moov-Version": "xMoovVersion"
|
|
57758
|
+
});
|
|
57759
|
+
});
|
|
57760
|
+
GetResidualGlobals$outboundSchema = objectType({
|
|
57761
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
57762
|
+
}).transform((v2) => {
|
|
57763
|
+
return remap(v2, {
|
|
57764
|
+
xMoovVersion: "X-Moov-Version"
|
|
57765
|
+
});
|
|
57766
|
+
});
|
|
57767
|
+
((GetResidualGlobals$) => {
|
|
57768
|
+
GetResidualGlobals$.inboundSchema = GetResidualGlobals$inboundSchema;
|
|
57769
|
+
GetResidualGlobals$.outboundSchema = GetResidualGlobals$outboundSchema;
|
|
57770
|
+
})(GetResidualGlobals$ ||= {});
|
|
57771
|
+
GetResidualRequest$inboundSchema = objectType({
|
|
57772
|
+
accountID: stringType(),
|
|
57773
|
+
residualID: stringType()
|
|
57774
|
+
});
|
|
57775
|
+
GetResidualRequest$outboundSchema = objectType({
|
|
57776
|
+
accountID: stringType(),
|
|
57777
|
+
residualID: stringType()
|
|
57778
|
+
});
|
|
57779
|
+
((GetResidualRequest$) => {
|
|
57780
|
+
GetResidualRequest$.inboundSchema = GetResidualRequest$inboundSchema;
|
|
57781
|
+
GetResidualRequest$.outboundSchema = GetResidualRequest$outboundSchema;
|
|
57782
|
+
})(GetResidualRequest$ ||= {});
|
|
57783
|
+
GetResidualResponse$inboundSchema = objectType({
|
|
57784
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
57785
|
+
Result: Residual$inboundSchema
|
|
57786
|
+
}).transform((v2) => {
|
|
57787
|
+
return remap(v2, {
|
|
57788
|
+
Headers: "headers",
|
|
57789
|
+
Result: "result"
|
|
57790
|
+
});
|
|
57791
|
+
});
|
|
57792
|
+
GetResidualResponse$outboundSchema = objectType({
|
|
57793
|
+
headers: recordType(arrayType(stringType())),
|
|
57794
|
+
result: Residual$outboundSchema
|
|
57795
|
+
}).transform((v2) => {
|
|
57796
|
+
return remap(v2, {
|
|
57797
|
+
headers: "Headers",
|
|
57798
|
+
result: "Result"
|
|
57799
|
+
});
|
|
57800
|
+
});
|
|
57801
|
+
((GetResidualResponse$) => {
|
|
57802
|
+
GetResidualResponse$.inboundSchema = GetResidualResponse$inboundSchema;
|
|
57803
|
+
GetResidualResponse$.outboundSchema = GetResidualResponse$outboundSchema;
|
|
57804
|
+
})(GetResidualResponse$ ||= {});
|
|
57805
|
+
});
|
|
57806
|
+
|
|
57705
57807
|
// src/models/operations/getscheduledoccurrence.ts
|
|
57706
57808
|
var GetScheduledOccurrenceGlobals$inboundSchema, GetScheduledOccurrenceGlobals$outboundSchema, GetScheduledOccurrenceGlobals$, GetScheduledOccurrenceRequest$inboundSchema, GetScheduledOccurrenceRequest$outboundSchema, GetScheduledOccurrenceRequest$, GetScheduledOccurrenceResponse$inboundSchema, GetScheduledOccurrenceResponse$outboundSchema, GetScheduledOccurrenceResponse$;
|
|
57707
57809
|
var init_getscheduledoccurrence = __esm(() => {
|
|
@@ -60747,6 +60849,140 @@ var init_listrepresentatives = __esm(() => {
|
|
|
60747
60849
|
})(ListRepresentativesResponse$ ||= {});
|
|
60748
60850
|
});
|
|
60749
60851
|
|
|
60852
|
+
// src/models/operations/listresidualfees.ts
|
|
60853
|
+
var ListResidualFeesGlobals$inboundSchema, ListResidualFeesGlobals$outboundSchema, ListResidualFeesGlobals$, ListResidualFeesRequest$inboundSchema, ListResidualFeesRequest$outboundSchema, ListResidualFeesRequest$, ListResidualFeesResponse$inboundSchema, ListResidualFeesResponse$outboundSchema, ListResidualFeesResponse$;
|
|
60854
|
+
var init_listresidualfees = __esm(() => {
|
|
60855
|
+
init_esm();
|
|
60856
|
+
init_primitives();
|
|
60857
|
+
init_components();
|
|
60858
|
+
ListResidualFeesGlobals$inboundSchema = objectType({
|
|
60859
|
+
"X-Moov-Version": stringType().default("v2024.01.00")
|
|
60860
|
+
}).transform((v2) => {
|
|
60861
|
+
return remap(v2, {
|
|
60862
|
+
"X-Moov-Version": "xMoovVersion"
|
|
60863
|
+
});
|
|
60864
|
+
});
|
|
60865
|
+
ListResidualFeesGlobals$outboundSchema = objectType({
|
|
60866
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
60867
|
+
}).transform((v2) => {
|
|
60868
|
+
return remap(v2, {
|
|
60869
|
+
xMoovVersion: "X-Moov-Version"
|
|
60870
|
+
});
|
|
60871
|
+
});
|
|
60872
|
+
((ListResidualFeesGlobals$) => {
|
|
60873
|
+
ListResidualFeesGlobals$.inboundSchema = ListResidualFeesGlobals$inboundSchema;
|
|
60874
|
+
ListResidualFeesGlobals$.outboundSchema = ListResidualFeesGlobals$outboundSchema;
|
|
60875
|
+
})(ListResidualFeesGlobals$ ||= {});
|
|
60876
|
+
ListResidualFeesRequest$inboundSchema = objectType({
|
|
60877
|
+
skip: numberType().int().optional(),
|
|
60878
|
+
count: numberType().int().optional(),
|
|
60879
|
+
accountID: stringType(),
|
|
60880
|
+
residualID: stringType(),
|
|
60881
|
+
startDateTime: stringType().optional(),
|
|
60882
|
+
endDateTime: stringType().optional()
|
|
60883
|
+
});
|
|
60884
|
+
ListResidualFeesRequest$outboundSchema = objectType({
|
|
60885
|
+
skip: numberType().int().optional(),
|
|
60886
|
+
count: numberType().int().optional(),
|
|
60887
|
+
accountID: stringType(),
|
|
60888
|
+
residualID: stringType(),
|
|
60889
|
+
startDateTime: stringType().optional(),
|
|
60890
|
+
endDateTime: stringType().optional()
|
|
60891
|
+
});
|
|
60892
|
+
((ListResidualFeesRequest$) => {
|
|
60893
|
+
ListResidualFeesRequest$.inboundSchema = ListResidualFeesRequest$inboundSchema;
|
|
60894
|
+
ListResidualFeesRequest$.outboundSchema = ListResidualFeesRequest$outboundSchema;
|
|
60895
|
+
})(ListResidualFeesRequest$ ||= {});
|
|
60896
|
+
ListResidualFeesResponse$inboundSchema = objectType({
|
|
60897
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
60898
|
+
Result: arrayType(IncurredFee$inboundSchema)
|
|
60899
|
+
}).transform((v2) => {
|
|
60900
|
+
return remap(v2, {
|
|
60901
|
+
Headers: "headers",
|
|
60902
|
+
Result: "result"
|
|
60903
|
+
});
|
|
60904
|
+
});
|
|
60905
|
+
ListResidualFeesResponse$outboundSchema = objectType({
|
|
60906
|
+
headers: recordType(arrayType(stringType())),
|
|
60907
|
+
result: arrayType(IncurredFee$outboundSchema)
|
|
60908
|
+
}).transform((v2) => {
|
|
60909
|
+
return remap(v2, {
|
|
60910
|
+
headers: "Headers",
|
|
60911
|
+
result: "Result"
|
|
60912
|
+
});
|
|
60913
|
+
});
|
|
60914
|
+
((ListResidualFeesResponse$) => {
|
|
60915
|
+
ListResidualFeesResponse$.inboundSchema = ListResidualFeesResponse$inboundSchema;
|
|
60916
|
+
ListResidualFeesResponse$.outboundSchema = ListResidualFeesResponse$outboundSchema;
|
|
60917
|
+
})(ListResidualFeesResponse$ ||= {});
|
|
60918
|
+
});
|
|
60919
|
+
|
|
60920
|
+
// src/models/operations/listresiduals.ts
|
|
60921
|
+
var ListResidualsGlobals$inboundSchema, ListResidualsGlobals$outboundSchema, ListResidualsGlobals$, ListResidualsRequest$inboundSchema, ListResidualsRequest$outboundSchema, ListResidualsRequest$, ListResidualsResponse$inboundSchema, ListResidualsResponse$outboundSchema, ListResidualsResponse$;
|
|
60922
|
+
var init_listresiduals = __esm(() => {
|
|
60923
|
+
init_esm();
|
|
60924
|
+
init_primitives();
|
|
60925
|
+
init_components();
|
|
60926
|
+
ListResidualsGlobals$inboundSchema = objectType({
|
|
60927
|
+
"X-Moov-Version": stringType().default("v2024.01.00")
|
|
60928
|
+
}).transform((v2) => {
|
|
60929
|
+
return remap(v2, {
|
|
60930
|
+
"X-Moov-Version": "xMoovVersion"
|
|
60931
|
+
});
|
|
60932
|
+
});
|
|
60933
|
+
ListResidualsGlobals$outboundSchema = objectType({
|
|
60934
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
60935
|
+
}).transform((v2) => {
|
|
60936
|
+
return remap(v2, {
|
|
60937
|
+
xMoovVersion: "X-Moov-Version"
|
|
60938
|
+
});
|
|
60939
|
+
});
|
|
60940
|
+
((ListResidualsGlobals$) => {
|
|
60941
|
+
ListResidualsGlobals$.inboundSchema = ListResidualsGlobals$inboundSchema;
|
|
60942
|
+
ListResidualsGlobals$.outboundSchema = ListResidualsGlobals$outboundSchema;
|
|
60943
|
+
})(ListResidualsGlobals$ ||= {});
|
|
60944
|
+
ListResidualsRequest$inboundSchema = objectType({
|
|
60945
|
+
skip: numberType().int().optional(),
|
|
60946
|
+
count: numberType().int().optional(),
|
|
60947
|
+
accountID: stringType(),
|
|
60948
|
+
startDateTime: stringType().optional(),
|
|
60949
|
+
endDateTime: stringType().optional()
|
|
60950
|
+
});
|
|
60951
|
+
ListResidualsRequest$outboundSchema = objectType({
|
|
60952
|
+
skip: numberType().int().optional(),
|
|
60953
|
+
count: numberType().int().optional(),
|
|
60954
|
+
accountID: stringType(),
|
|
60955
|
+
startDateTime: stringType().optional(),
|
|
60956
|
+
endDateTime: stringType().optional()
|
|
60957
|
+
});
|
|
60958
|
+
((ListResidualsRequest$) => {
|
|
60959
|
+
ListResidualsRequest$.inboundSchema = ListResidualsRequest$inboundSchema;
|
|
60960
|
+
ListResidualsRequest$.outboundSchema = ListResidualsRequest$outboundSchema;
|
|
60961
|
+
})(ListResidualsRequest$ ||= {});
|
|
60962
|
+
ListResidualsResponse$inboundSchema = objectType({
|
|
60963
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
60964
|
+
Result: arrayType(Residual$inboundSchema)
|
|
60965
|
+
}).transform((v2) => {
|
|
60966
|
+
return remap(v2, {
|
|
60967
|
+
Headers: "headers",
|
|
60968
|
+
Result: "result"
|
|
60969
|
+
});
|
|
60970
|
+
});
|
|
60971
|
+
ListResidualsResponse$outboundSchema = objectType({
|
|
60972
|
+
headers: recordType(arrayType(stringType())),
|
|
60973
|
+
result: arrayType(Residual$outboundSchema)
|
|
60974
|
+
}).transform((v2) => {
|
|
60975
|
+
return remap(v2, {
|
|
60976
|
+
headers: "Headers",
|
|
60977
|
+
result: "Result"
|
|
60978
|
+
});
|
|
60979
|
+
});
|
|
60980
|
+
((ListResidualsResponse$) => {
|
|
60981
|
+
ListResidualsResponse$.inboundSchema = ListResidualsResponse$inboundSchema;
|
|
60982
|
+
ListResidualsResponse$.outboundSchema = ListResidualsResponse$outboundSchema;
|
|
60983
|
+
})(ListResidualsResponse$ ||= {});
|
|
60984
|
+
});
|
|
60985
|
+
|
|
60750
60986
|
// src/models/operations/listschedules.ts
|
|
60751
60987
|
var Hydrate, ListSchedulesGlobals$inboundSchema, ListSchedulesGlobals$outboundSchema, ListSchedulesGlobals$, Hydrate$inboundSchema, Hydrate$outboundSchema, Hydrate$, ListSchedulesRequest$inboundSchema, ListSchedulesRequest$outboundSchema, ListSchedulesRequest$, ListSchedulesResponse$inboundSchema, ListSchedulesResponse$outboundSchema, ListSchedulesResponse$;
|
|
60752
60988
|
var init_listschedules = __esm(() => {
|
|
@@ -63678,6 +63914,7 @@ var init_operations = __esm(() => {
|
|
|
63678
63914
|
init_getpublicimage();
|
|
63679
63915
|
init_getrefund();
|
|
63680
63916
|
init_getrepresentative();
|
|
63917
|
+
init_getresidual();
|
|
63681
63918
|
init_getscheduledoccurrence();
|
|
63682
63919
|
init_getschedules();
|
|
63683
63920
|
init_getstatement();
|
|
@@ -63726,6 +63963,8 @@ var init_operations = __esm(() => {
|
|
|
63726
63963
|
init_listreceipts();
|
|
63727
63964
|
init_listrefunds();
|
|
63728
63965
|
init_listrepresentatives();
|
|
63966
|
+
init_listresidualfees();
|
|
63967
|
+
init_listresiduals();
|
|
63729
63968
|
init_listschedules();
|
|
63730
63969
|
init_liststatements();
|
|
63731
63970
|
init_listsweepconfigs();
|
|
@@ -71893,11 +72132,126 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
71893
72132
|
};
|
|
71894
72133
|
});
|
|
71895
72134
|
|
|
71896
|
-
// src/funcs/
|
|
71897
|
-
function
|
|
72135
|
+
// src/funcs/feePlansGetResidual.ts
|
|
72136
|
+
function feePlansGetResidual(client, request, options) {
|
|
71898
72137
|
return new APIPromise($do67(client, request, options));
|
|
71899
72138
|
}
|
|
71900
72139
|
async function $do67(client, request, options) {
|
|
72140
|
+
const parsed = safeParse(request, (value) => GetResidualRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72141
|
+
if (!parsed.ok) {
|
|
72142
|
+
return [parsed, { status: "invalid" }];
|
|
72143
|
+
}
|
|
72144
|
+
const payload = parsed.value;
|
|
72145
|
+
const body = null;
|
|
72146
|
+
const pathParams = {
|
|
72147
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72148
|
+
explode: false,
|
|
72149
|
+
charEncoding: "percent"
|
|
72150
|
+
}),
|
|
72151
|
+
residualID: encodeSimple("residualID", payload.residualID, {
|
|
72152
|
+
explode: false,
|
|
72153
|
+
charEncoding: "percent"
|
|
72154
|
+
})
|
|
72155
|
+
};
|
|
72156
|
+
const path = pathToFunc("/accounts/{accountID}/residuals/{residualID}")(pathParams);
|
|
72157
|
+
const headers = new Headers(compactMap({
|
|
72158
|
+
Accept: "application/json",
|
|
72159
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72160
|
+
}));
|
|
72161
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72162
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72163
|
+
const context = {
|
|
72164
|
+
options: client._options,
|
|
72165
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72166
|
+
operationID: "getResidual",
|
|
72167
|
+
oAuth2Scopes: null,
|
|
72168
|
+
resolvedSecurity: requestSecurity,
|
|
72169
|
+
securitySource: client._options.security,
|
|
72170
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72171
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72172
|
+
};
|
|
72173
|
+
const requestRes = client._createRequest(context, {
|
|
72174
|
+
security: requestSecurity,
|
|
72175
|
+
method: "GET",
|
|
72176
|
+
baseURL: options?.serverURL,
|
|
72177
|
+
path,
|
|
72178
|
+
headers,
|
|
72179
|
+
body,
|
|
72180
|
+
userAgent: client._options.userAgent,
|
|
72181
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72182
|
+
}, options);
|
|
72183
|
+
if (!requestRes.ok) {
|
|
72184
|
+
return [requestRes, { status: "invalid" }];
|
|
72185
|
+
}
|
|
72186
|
+
const req = requestRes.value;
|
|
72187
|
+
const doResult = await client._do(req, {
|
|
72188
|
+
context,
|
|
72189
|
+
errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
72190
|
+
retryConfig: context.retryConfig,
|
|
72191
|
+
retryCodes: context.retryCodes
|
|
72192
|
+
});
|
|
72193
|
+
if (!doResult.ok) {
|
|
72194
|
+
return [doResult, { status: "request-error", request: req }];
|
|
72195
|
+
}
|
|
72196
|
+
const response = doResult.value;
|
|
72197
|
+
const responseFields = {
|
|
72198
|
+
HttpMeta: { Response: response, Request: req }
|
|
72199
|
+
};
|
|
72200
|
+
const [result] = await match(json(200, GetResidualResponse$inboundSchema, {
|
|
72201
|
+
hdrs: true,
|
|
72202
|
+
key: "Result"
|
|
72203
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
72204
|
+
if (!result.ok) {
|
|
72205
|
+
return [result, { status: "complete", request: req, response }];
|
|
72206
|
+
}
|
|
72207
|
+
return [result, { status: "complete", request: req, response }];
|
|
72208
|
+
}
|
|
72209
|
+
var init_feePlansGetResidual = __esm(() => {
|
|
72210
|
+
init_encodings();
|
|
72211
|
+
init_matchers();
|
|
72212
|
+
init_primitives();
|
|
72213
|
+
init_schemas();
|
|
72214
|
+
init_security();
|
|
72215
|
+
init_url();
|
|
72216
|
+
init_operations();
|
|
72217
|
+
init_async();
|
|
72218
|
+
});
|
|
72219
|
+
|
|
72220
|
+
// src/mcp-server/tools/feePlansGetResidual.ts
|
|
72221
|
+
var args67, tool$feePlansGetResidual;
|
|
72222
|
+
var init_feePlansGetResidual2 = __esm(() => {
|
|
72223
|
+
init_feePlansGetResidual();
|
|
72224
|
+
init_operations();
|
|
72225
|
+
init_tools();
|
|
72226
|
+
args67 = {
|
|
72227
|
+
request: GetResidualRequest$inboundSchema
|
|
72228
|
+
};
|
|
72229
|
+
tool$feePlansGetResidual = {
|
|
72230
|
+
name: "fee-plans-get-residual",
|
|
72231
|
+
description: `Get a residual associated with an account.
|
|
72232
|
+
|
|
72233
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72234
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72235
|
+
args: args67,
|
|
72236
|
+
tool: async (client, args68, ctx) => {
|
|
72237
|
+
const [result, apiCall] = await feePlansGetResidual(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72238
|
+
if (!result.ok) {
|
|
72239
|
+
return {
|
|
72240
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72241
|
+
isError: true
|
|
72242
|
+
};
|
|
72243
|
+
}
|
|
72244
|
+
const value = result.value.result;
|
|
72245
|
+
return formatResult(value, apiCall);
|
|
72246
|
+
}
|
|
72247
|
+
};
|
|
72248
|
+
});
|
|
72249
|
+
|
|
72250
|
+
// src/funcs/feePlansListFeePlanAgreements.ts
|
|
72251
|
+
function feePlansListFeePlanAgreements(client, request, options) {
|
|
72252
|
+
return new APIPromise($do68(client, request, options));
|
|
72253
|
+
}
|
|
72254
|
+
async function $do68(client, request, options) {
|
|
71901
72255
|
const parsed = safeParse(request, (value) => ListFeePlanAgreementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71902
72256
|
if (!parsed.ok) {
|
|
71903
72257
|
return [parsed, { status: "invalid" }];
|
|
@@ -71982,12 +72336,12 @@ var init_feePlansListFeePlanAgreements = __esm(() => {
|
|
|
71982
72336
|
});
|
|
71983
72337
|
|
|
71984
72338
|
// src/mcp-server/tools/feePlansListFeePlanAgreements.ts
|
|
71985
|
-
var
|
|
72339
|
+
var args68, tool$feePlansListFeePlanAgreements;
|
|
71986
72340
|
var init_feePlansListFeePlanAgreements2 = __esm(() => {
|
|
71987
72341
|
init_feePlansListFeePlanAgreements();
|
|
71988
72342
|
init_operations();
|
|
71989
72343
|
init_tools();
|
|
71990
|
-
|
|
72344
|
+
args68 = {
|
|
71991
72345
|
request: ListFeePlanAgreementsRequest$inboundSchema
|
|
71992
72346
|
};
|
|
71993
72347
|
tool$feePlansListFeePlanAgreements = {
|
|
@@ -71996,9 +72350,9 @@ var init_feePlansListFeePlanAgreements2 = __esm(() => {
|
|
|
71996
72350
|
|
|
71997
72351
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71998
72352
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
71999
|
-
args:
|
|
72000
|
-
tool: async (client,
|
|
72001
|
-
const [result, apiCall] = await feePlansListFeePlanAgreements(client,
|
|
72353
|
+
args: args68,
|
|
72354
|
+
tool: async (client, args69, ctx) => {
|
|
72355
|
+
const [result, apiCall] = await feePlansListFeePlanAgreements(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72002
72356
|
if (!result.ok) {
|
|
72003
72357
|
return {
|
|
72004
72358
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72013,9 +72367,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72013
72367
|
|
|
72014
72368
|
// src/funcs/feePlansListFeePlans.ts
|
|
72015
72369
|
function feePlansListFeePlans(client, request, options) {
|
|
72016
|
-
return new APIPromise($
|
|
72370
|
+
return new APIPromise($do69(client, request, options));
|
|
72017
72371
|
}
|
|
72018
|
-
async function $
|
|
72372
|
+
async function $do69(client, request, options) {
|
|
72019
72373
|
const parsed = safeParse(request, (value) => ListFeePlansRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72020
72374
|
if (!parsed.ok) {
|
|
72021
72375
|
return [parsed, { status: "invalid" }];
|
|
@@ -72097,12 +72451,12 @@ var init_feePlansListFeePlans = __esm(() => {
|
|
|
72097
72451
|
});
|
|
72098
72452
|
|
|
72099
72453
|
// src/mcp-server/tools/feePlansListFeePlans.ts
|
|
72100
|
-
var
|
|
72454
|
+
var args69, tool$feePlansListFeePlans;
|
|
72101
72455
|
var init_feePlansListFeePlans2 = __esm(() => {
|
|
72102
72456
|
init_feePlansListFeePlans();
|
|
72103
72457
|
init_operations();
|
|
72104
72458
|
init_tools();
|
|
72105
|
-
|
|
72459
|
+
args69 = {
|
|
72106
72460
|
request: ListFeePlansRequest$inboundSchema
|
|
72107
72461
|
};
|
|
72108
72462
|
tool$feePlansListFeePlans = {
|
|
@@ -72112,9 +72466,9 @@ selecting a fee plan to apply to a connected account.
|
|
|
72112
72466
|
|
|
72113
72467
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72114
72468
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72115
|
-
args:
|
|
72116
|
-
tool: async (client,
|
|
72117
|
-
const [result, apiCall] = await feePlansListFeePlans(client,
|
|
72469
|
+
args: args69,
|
|
72470
|
+
tool: async (client, args70, ctx) => {
|
|
72471
|
+
const [result, apiCall] = await feePlansListFeePlans(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72118
72472
|
if (!result.ok) {
|
|
72119
72473
|
return {
|
|
72120
72474
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72129,9 +72483,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72129
72483
|
|
|
72130
72484
|
// src/funcs/feePlansListFeesFetch.ts
|
|
72131
72485
|
function feePlansListFeesFetch(client, request, options) {
|
|
72132
|
-
return new APIPromise($
|
|
72486
|
+
return new APIPromise($do70(client, request, options));
|
|
72133
72487
|
}
|
|
72134
|
-
async function $
|
|
72488
|
+
async function $do70(client, request, options) {
|
|
72135
72489
|
const parsed = safeParse(request, (value) => ListFeesFetchRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
72136
72490
|
if (!parsed.ok) {
|
|
72137
72491
|
return [parsed, { status: "invalid" }];
|
|
@@ -72212,12 +72566,12 @@ var init_feePlansListFeesFetch = __esm(() => {
|
|
|
72212
72566
|
});
|
|
72213
72567
|
|
|
72214
72568
|
// src/mcp-server/tools/feePlansListFeesFetch.ts
|
|
72215
|
-
var
|
|
72569
|
+
var args70, tool$feePlansListFeesFetch;
|
|
72216
72570
|
var init_feePlansListFeesFetch2 = __esm(() => {
|
|
72217
72571
|
init_feePlansListFeesFetch();
|
|
72218
72572
|
init_operations();
|
|
72219
72573
|
init_tools();
|
|
72220
|
-
|
|
72574
|
+
args70 = {
|
|
72221
72575
|
request: ListFeesFetchRequest$inboundSchema2
|
|
72222
72576
|
};
|
|
72223
72577
|
tool$feePlansListFeesFetch = {
|
|
@@ -72226,9 +72580,9 @@ var init_feePlansListFeesFetch2 = __esm(() => {
|
|
|
72226
72580
|
|
|
72227
72581
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72228
72582
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72229
|
-
args:
|
|
72230
|
-
tool: async (client,
|
|
72231
|
-
const [result, apiCall] = await feePlansListFeesFetch(client,
|
|
72583
|
+
args: args70,
|
|
72584
|
+
tool: async (client, args71, ctx) => {
|
|
72585
|
+
const [result, apiCall] = await feePlansListFeesFetch(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72232
72586
|
if (!result.ok) {
|
|
72233
72587
|
return {
|
|
72234
72588
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72243,9 +72597,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72243
72597
|
|
|
72244
72598
|
// src/funcs/feePlansListPartnerPricing.ts
|
|
72245
72599
|
function feePlansListPartnerPricing(client, request, options) {
|
|
72246
|
-
return new APIPromise($
|
|
72600
|
+
return new APIPromise($do71(client, request, options));
|
|
72247
72601
|
}
|
|
72248
|
-
async function $
|
|
72602
|
+
async function $do71(client, request, options) {
|
|
72249
72603
|
const parsed = safeParse(request, (value) => ListPartnerPricingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72250
72604
|
if (!parsed.ok) {
|
|
72251
72605
|
return [parsed, { status: "invalid" }];
|
|
@@ -72327,12 +72681,12 @@ var init_feePlansListPartnerPricing = __esm(() => {
|
|
|
72327
72681
|
});
|
|
72328
72682
|
|
|
72329
72683
|
// src/mcp-server/tools/feePlansListPartnerPricing.ts
|
|
72330
|
-
var
|
|
72684
|
+
var args71, tool$feePlansListPartnerPricing;
|
|
72331
72685
|
var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
72332
72686
|
init_feePlansListPartnerPricing();
|
|
72333
72687
|
init_operations();
|
|
72334
72688
|
init_tools();
|
|
72335
|
-
|
|
72689
|
+
args71 = {
|
|
72336
72690
|
request: ListPartnerPricingRequest$inboundSchema
|
|
72337
72691
|
};
|
|
72338
72692
|
tool$feePlansListPartnerPricing = {
|
|
@@ -72341,9 +72695,9 @@ var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
|
72341
72695
|
|
|
72342
72696
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72343
72697
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72344
|
-
args:
|
|
72345
|
-
tool: async (client,
|
|
72346
|
-
const [result, apiCall] = await feePlansListPartnerPricing(client,
|
|
72698
|
+
args: args71,
|
|
72699
|
+
tool: async (client, args72, ctx) => {
|
|
72700
|
+
const [result, apiCall] = await feePlansListPartnerPricing(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72347
72701
|
if (!result.ok) {
|
|
72348
72702
|
return {
|
|
72349
72703
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72358,9 +72712,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72358
72712
|
|
|
72359
72713
|
// src/funcs/feePlansListPartnerPricingAgreements.ts
|
|
72360
72714
|
function feePlansListPartnerPricingAgreements(client, request, options) {
|
|
72361
|
-
return new APIPromise($
|
|
72715
|
+
return new APIPromise($do72(client, request, options));
|
|
72362
72716
|
}
|
|
72363
|
-
async function $
|
|
72717
|
+
async function $do72(client, request, options) {
|
|
72364
72718
|
const parsed = safeParse(request, (value) => ListPartnerPricingAgreementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72365
72719
|
if (!parsed.ok) {
|
|
72366
72720
|
return [parsed, { status: "invalid" }];
|
|
@@ -72445,12 +72799,12 @@ var init_feePlansListPartnerPricingAgreements = __esm(() => {
|
|
|
72445
72799
|
});
|
|
72446
72800
|
|
|
72447
72801
|
// src/mcp-server/tools/feePlansListPartnerPricingAgreements.ts
|
|
72448
|
-
var
|
|
72802
|
+
var args72, tool$feePlansListPartnerPricingAgreements;
|
|
72449
72803
|
var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
72450
72804
|
init_feePlansListPartnerPricingAgreements();
|
|
72451
72805
|
init_operations();
|
|
72452
72806
|
init_tools();
|
|
72453
|
-
|
|
72807
|
+
args72 = {
|
|
72454
72808
|
request: ListPartnerPricingAgreementsRequest$inboundSchema
|
|
72455
72809
|
};
|
|
72456
72810
|
tool$feePlansListPartnerPricingAgreements = {
|
|
@@ -72459,9 +72813,249 @@ var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
|
72459
72813
|
|
|
72460
72814
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72461
72815
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72462
|
-
args:
|
|
72463
|
-
tool: async (client,
|
|
72464
|
-
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client,
|
|
72816
|
+
args: args72,
|
|
72817
|
+
tool: async (client, args73, ctx) => {
|
|
72818
|
+
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72819
|
+
if (!result.ok) {
|
|
72820
|
+
return {
|
|
72821
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72822
|
+
isError: true
|
|
72823
|
+
};
|
|
72824
|
+
}
|
|
72825
|
+
const value = result.value.result;
|
|
72826
|
+
return formatResult(value, apiCall);
|
|
72827
|
+
}
|
|
72828
|
+
};
|
|
72829
|
+
});
|
|
72830
|
+
|
|
72831
|
+
// src/funcs/feePlansListResidualFees.ts
|
|
72832
|
+
function feePlansListResidualFees(client, request, options) {
|
|
72833
|
+
return new APIPromise($do73(client, request, options));
|
|
72834
|
+
}
|
|
72835
|
+
async function $do73(client, request, options) {
|
|
72836
|
+
const parsed = safeParse(request, (value) => ListResidualFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72837
|
+
if (!parsed.ok) {
|
|
72838
|
+
return [parsed, { status: "invalid" }];
|
|
72839
|
+
}
|
|
72840
|
+
const payload = parsed.value;
|
|
72841
|
+
const body = null;
|
|
72842
|
+
const pathParams = {
|
|
72843
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72844
|
+
explode: false,
|
|
72845
|
+
charEncoding: "percent"
|
|
72846
|
+
}),
|
|
72847
|
+
residualID: encodeSimple("residualID", payload.residualID, {
|
|
72848
|
+
explode: false,
|
|
72849
|
+
charEncoding: "percent"
|
|
72850
|
+
})
|
|
72851
|
+
};
|
|
72852
|
+
const path = pathToFunc("/accounts/{accountID}/residuals/{residualID}/fees")(pathParams);
|
|
72853
|
+
const query = encodeFormQuery({
|
|
72854
|
+
count: payload.count,
|
|
72855
|
+
endDateTime: payload.endDateTime,
|
|
72856
|
+
skip: payload.skip,
|
|
72857
|
+
startDateTime: payload.startDateTime
|
|
72858
|
+
}, { explode: false });
|
|
72859
|
+
const headers = new Headers(compactMap({
|
|
72860
|
+
Accept: "application/json",
|
|
72861
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72862
|
+
}));
|
|
72863
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72864
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72865
|
+
const context = {
|
|
72866
|
+
options: client._options,
|
|
72867
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72868
|
+
operationID: "listResidualFees",
|
|
72869
|
+
oAuth2Scopes: null,
|
|
72870
|
+
resolvedSecurity: requestSecurity,
|
|
72871
|
+
securitySource: client._options.security,
|
|
72872
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72873
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72874
|
+
};
|
|
72875
|
+
const requestRes = client._createRequest(context, {
|
|
72876
|
+
security: requestSecurity,
|
|
72877
|
+
method: "GET",
|
|
72878
|
+
baseURL: options?.serverURL,
|
|
72879
|
+
path,
|
|
72880
|
+
headers,
|
|
72881
|
+
query,
|
|
72882
|
+
body,
|
|
72883
|
+
userAgent: client._options.userAgent,
|
|
72884
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72885
|
+
}, options);
|
|
72886
|
+
if (!requestRes.ok) {
|
|
72887
|
+
return [requestRes, { status: "invalid" }];
|
|
72888
|
+
}
|
|
72889
|
+
const req = requestRes.value;
|
|
72890
|
+
const doResult = await client._do(req, {
|
|
72891
|
+
context,
|
|
72892
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
72893
|
+
retryConfig: context.retryConfig,
|
|
72894
|
+
retryCodes: context.retryCodes
|
|
72895
|
+
});
|
|
72896
|
+
if (!doResult.ok) {
|
|
72897
|
+
return [doResult, { status: "request-error", request: req }];
|
|
72898
|
+
}
|
|
72899
|
+
const response = doResult.value;
|
|
72900
|
+
const responseFields = {
|
|
72901
|
+
HttpMeta: { Response: response, Request: req }
|
|
72902
|
+
};
|
|
72903
|
+
const [result] = await match(json(200, ListResidualFeesResponse$inboundSchema, {
|
|
72904
|
+
hdrs: true,
|
|
72905
|
+
key: "Result"
|
|
72906
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
72907
|
+
if (!result.ok) {
|
|
72908
|
+
return [result, { status: "complete", request: req, response }];
|
|
72909
|
+
}
|
|
72910
|
+
return [result, { status: "complete", request: req, response }];
|
|
72911
|
+
}
|
|
72912
|
+
var init_feePlansListResidualFees = __esm(() => {
|
|
72913
|
+
init_encodings();
|
|
72914
|
+
init_matchers();
|
|
72915
|
+
init_primitives();
|
|
72916
|
+
init_schemas();
|
|
72917
|
+
init_security();
|
|
72918
|
+
init_url();
|
|
72919
|
+
init_operations();
|
|
72920
|
+
init_async();
|
|
72921
|
+
});
|
|
72922
|
+
|
|
72923
|
+
// src/mcp-server/tools/feePlansListResidualFees.ts
|
|
72924
|
+
var args73, tool$feePlansListResidualFees;
|
|
72925
|
+
var init_feePlansListResidualFees2 = __esm(() => {
|
|
72926
|
+
init_feePlansListResidualFees();
|
|
72927
|
+
init_operations();
|
|
72928
|
+
init_tools();
|
|
72929
|
+
args73 = {
|
|
72930
|
+
request: ListResidualFeesRequest$inboundSchema
|
|
72931
|
+
};
|
|
72932
|
+
tool$feePlansListResidualFees = {
|
|
72933
|
+
name: "fee-plans-list-residual-fees",
|
|
72934
|
+
description: `List all fees associated with a residual.
|
|
72935
|
+
|
|
72936
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72937
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72938
|
+
args: args73,
|
|
72939
|
+
tool: async (client, args74, ctx) => {
|
|
72940
|
+
const [result, apiCall] = await feePlansListResidualFees(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72941
|
+
if (!result.ok) {
|
|
72942
|
+
return {
|
|
72943
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72944
|
+
isError: true
|
|
72945
|
+
};
|
|
72946
|
+
}
|
|
72947
|
+
const value = result.value.result;
|
|
72948
|
+
return formatResult(value, apiCall);
|
|
72949
|
+
}
|
|
72950
|
+
};
|
|
72951
|
+
});
|
|
72952
|
+
|
|
72953
|
+
// src/funcs/feePlansListResiduals.ts
|
|
72954
|
+
function feePlansListResiduals(client, request, options) {
|
|
72955
|
+
return new APIPromise($do74(client, request, options));
|
|
72956
|
+
}
|
|
72957
|
+
async function $do74(client, request, options) {
|
|
72958
|
+
const parsed = safeParse(request, (value) => ListResidualsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72959
|
+
if (!parsed.ok) {
|
|
72960
|
+
return [parsed, { status: "invalid" }];
|
|
72961
|
+
}
|
|
72962
|
+
const payload = parsed.value;
|
|
72963
|
+
const body = null;
|
|
72964
|
+
const pathParams = {
|
|
72965
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72966
|
+
explode: false,
|
|
72967
|
+
charEncoding: "percent"
|
|
72968
|
+
})
|
|
72969
|
+
};
|
|
72970
|
+
const path = pathToFunc("/accounts/{accountID}/residuals")(pathParams);
|
|
72971
|
+
const query = encodeFormQuery({
|
|
72972
|
+
count: payload.count,
|
|
72973
|
+
endDateTime: payload.endDateTime,
|
|
72974
|
+
skip: payload.skip,
|
|
72975
|
+
startDateTime: payload.startDateTime
|
|
72976
|
+
}, { explode: false });
|
|
72977
|
+
const headers = new Headers(compactMap({
|
|
72978
|
+
Accept: "application/json",
|
|
72979
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72980
|
+
}));
|
|
72981
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72982
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72983
|
+
const context = {
|
|
72984
|
+
options: client._options,
|
|
72985
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72986
|
+
operationID: "listResiduals",
|
|
72987
|
+
oAuth2Scopes: null,
|
|
72988
|
+
resolvedSecurity: requestSecurity,
|
|
72989
|
+
securitySource: client._options.security,
|
|
72990
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72991
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72992
|
+
};
|
|
72993
|
+
const requestRes = client._createRequest(context, {
|
|
72994
|
+
security: requestSecurity,
|
|
72995
|
+
method: "GET",
|
|
72996
|
+
baseURL: options?.serverURL,
|
|
72997
|
+
path,
|
|
72998
|
+
headers,
|
|
72999
|
+
query,
|
|
73000
|
+
body,
|
|
73001
|
+
userAgent: client._options.userAgent,
|
|
73002
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
73003
|
+
}, options);
|
|
73004
|
+
if (!requestRes.ok) {
|
|
73005
|
+
return [requestRes, { status: "invalid" }];
|
|
73006
|
+
}
|
|
73007
|
+
const req = requestRes.value;
|
|
73008
|
+
const doResult = await client._do(req, {
|
|
73009
|
+
context,
|
|
73010
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
73011
|
+
retryConfig: context.retryConfig,
|
|
73012
|
+
retryCodes: context.retryCodes
|
|
73013
|
+
});
|
|
73014
|
+
if (!doResult.ok) {
|
|
73015
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73016
|
+
}
|
|
73017
|
+
const response = doResult.value;
|
|
73018
|
+
const responseFields = {
|
|
73019
|
+
HttpMeta: { Response: response, Request: req }
|
|
73020
|
+
};
|
|
73021
|
+
const [result] = await match(json(200, ListResidualsResponse$inboundSchema, {
|
|
73022
|
+
hdrs: true,
|
|
73023
|
+
key: "Result"
|
|
73024
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
73025
|
+
if (!result.ok) {
|
|
73026
|
+
return [result, { status: "complete", request: req, response }];
|
|
73027
|
+
}
|
|
73028
|
+
return [result, { status: "complete", request: req, response }];
|
|
73029
|
+
}
|
|
73030
|
+
var init_feePlansListResiduals = __esm(() => {
|
|
73031
|
+
init_encodings();
|
|
73032
|
+
init_matchers();
|
|
73033
|
+
init_primitives();
|
|
73034
|
+
init_schemas();
|
|
73035
|
+
init_security();
|
|
73036
|
+
init_url();
|
|
73037
|
+
init_operations();
|
|
73038
|
+
init_async();
|
|
73039
|
+
});
|
|
73040
|
+
|
|
73041
|
+
// src/mcp-server/tools/feePlansListResiduals.ts
|
|
73042
|
+
var args74, tool$feePlansListResiduals;
|
|
73043
|
+
var init_feePlansListResiduals2 = __esm(() => {
|
|
73044
|
+
init_feePlansListResiduals();
|
|
73045
|
+
init_operations();
|
|
73046
|
+
init_tools();
|
|
73047
|
+
args74 = {
|
|
73048
|
+
request: ListResidualsRequest$inboundSchema
|
|
73049
|
+
};
|
|
73050
|
+
tool$feePlansListResiduals = {
|
|
73051
|
+
name: "fee-plans-list-residuals",
|
|
73052
|
+
description: `List all residuals associated with an account.
|
|
73053
|
+
|
|
73054
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73055
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
73056
|
+
args: args74,
|
|
73057
|
+
tool: async (client, args75, ctx) => {
|
|
73058
|
+
const [result, apiCall] = await feePlansListResiduals(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72465
73059
|
if (!result.ok) {
|
|
72466
73060
|
return {
|
|
72467
73061
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72476,9 +73070,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72476
73070
|
|
|
72477
73071
|
// src/funcs/feePlansRetrieveFees.ts
|
|
72478
73072
|
function feePlansRetrieveFees(client, request, options) {
|
|
72479
|
-
return new APIPromise($
|
|
73073
|
+
return new APIPromise($do75(client, request, options));
|
|
72480
73074
|
}
|
|
72481
|
-
async function $
|
|
73075
|
+
async function $do75(client, request, options) {
|
|
72482
73076
|
const parsed = safeParse(request, (value) => RetrieveFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72483
73077
|
if (!parsed.ok) {
|
|
72484
73078
|
return [parsed, { status: "invalid" }];
|
|
@@ -72565,12 +73159,12 @@ var init_feePlansRetrieveFees = __esm(() => {
|
|
|
72565
73159
|
});
|
|
72566
73160
|
|
|
72567
73161
|
// src/mcp-server/tools/feePlansRetrieveFees.ts
|
|
72568
|
-
var
|
|
73162
|
+
var args75, tool$feePlansRetrieveFees;
|
|
72569
73163
|
var init_feePlansRetrieveFees2 = __esm(() => {
|
|
72570
73164
|
init_feePlansRetrieveFees();
|
|
72571
73165
|
init_operations();
|
|
72572
73166
|
init_tools();
|
|
72573
|
-
|
|
73167
|
+
args75 = {
|
|
72574
73168
|
request: RetrieveFeesRequest$inboundSchema
|
|
72575
73169
|
};
|
|
72576
73170
|
tool$feePlansRetrieveFees = {
|
|
@@ -72579,9 +73173,9 @@ var init_feePlansRetrieveFees2 = __esm(() => {
|
|
|
72579
73173
|
|
|
72580
73174
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72581
73175
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72582
|
-
args:
|
|
72583
|
-
tool: async (client,
|
|
72584
|
-
const [result, apiCall] = await feePlansRetrieveFees(client,
|
|
73176
|
+
args: args75,
|
|
73177
|
+
tool: async (client, args76, ctx) => {
|
|
73178
|
+
const [result, apiCall] = await feePlansRetrieveFees(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72585
73179
|
if (!result.ok) {
|
|
72586
73180
|
return {
|
|
72587
73181
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72596,9 +73190,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72596
73190
|
|
|
72597
73191
|
// src/funcs/filesGet.ts
|
|
72598
73192
|
function filesGet(client, request, options) {
|
|
72599
|
-
return new APIPromise($
|
|
73193
|
+
return new APIPromise($do76(client, request, options));
|
|
72600
73194
|
}
|
|
72601
|
-
async function $
|
|
73195
|
+
async function $do76(client, request, options) {
|
|
72602
73196
|
const parsed = safeParse(request, (value) => GetFileDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72603
73197
|
if (!parsed.ok) {
|
|
72604
73198
|
return [parsed, { status: "invalid" }];
|
|
@@ -72680,12 +73274,12 @@ var init_filesGet = __esm(() => {
|
|
|
72680
73274
|
});
|
|
72681
73275
|
|
|
72682
73276
|
// src/mcp-server/tools/filesGet.ts
|
|
72683
|
-
var
|
|
73277
|
+
var args76, tool$filesGet;
|
|
72684
73278
|
var init_filesGet2 = __esm(() => {
|
|
72685
73279
|
init_filesGet();
|
|
72686
73280
|
init_operations();
|
|
72687
73281
|
init_tools();
|
|
72688
|
-
|
|
73282
|
+
args76 = {
|
|
72689
73283
|
request: GetFileDetailsRequest$inboundSchema
|
|
72690
73284
|
};
|
|
72691
73285
|
tool$filesGet = {
|
|
@@ -72694,9 +73288,9 @@ var init_filesGet2 = __esm(() => {
|
|
|
72694
73288
|
|
|
72695
73289
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72696
73290
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
72697
|
-
args:
|
|
72698
|
-
tool: async (client,
|
|
72699
|
-
const [result, apiCall] = await filesGet(client,
|
|
73291
|
+
args: args76,
|
|
73292
|
+
tool: async (client, args77, ctx) => {
|
|
73293
|
+
const [result, apiCall] = await filesGet(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72700
73294
|
if (!result.ok) {
|
|
72701
73295
|
return {
|
|
72702
73296
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72711,9 +73305,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
72711
73305
|
|
|
72712
73306
|
// src/funcs/filesList.ts
|
|
72713
73307
|
function filesList(client, request, options) {
|
|
72714
|
-
return new APIPromise($
|
|
73308
|
+
return new APIPromise($do77(client, request, options));
|
|
72715
73309
|
}
|
|
72716
|
-
async function $
|
|
73310
|
+
async function $do77(client, request, options) {
|
|
72717
73311
|
const parsed = safeParse(request, (value) => ListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72718
73312
|
if (!parsed.ok) {
|
|
72719
73313
|
return [parsed, { status: "invalid" }];
|
|
@@ -72791,12 +73385,12 @@ var init_filesList = __esm(() => {
|
|
|
72791
73385
|
});
|
|
72792
73386
|
|
|
72793
73387
|
// src/mcp-server/tools/filesList.ts
|
|
72794
|
-
var
|
|
73388
|
+
var args77, tool$filesList;
|
|
72795
73389
|
var init_filesList2 = __esm(() => {
|
|
72796
73390
|
init_filesList();
|
|
72797
73391
|
init_operations();
|
|
72798
73392
|
init_tools();
|
|
72799
|
-
|
|
73393
|
+
args77 = {
|
|
72800
73394
|
request: ListFilesRequest$inboundSchema
|
|
72801
73395
|
};
|
|
72802
73396
|
tool$filesList = {
|
|
@@ -72805,9 +73399,9 @@ var init_filesList2 = __esm(() => {
|
|
|
72805
73399
|
|
|
72806
73400
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72807
73401
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
72808
|
-
args:
|
|
72809
|
-
tool: async (client,
|
|
72810
|
-
const [result, apiCall] = await filesList(client,
|
|
73402
|
+
args: args77,
|
|
73403
|
+
tool: async (client, args78, ctx) => {
|
|
73404
|
+
const [result, apiCall] = await filesList(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72811
73405
|
if (!result.ok) {
|
|
72812
73406
|
return {
|
|
72813
73407
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72822,9 +73416,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
72822
73416
|
|
|
72823
73417
|
// src/funcs/filesUpload.ts
|
|
72824
73418
|
function filesUpload(client, request, options) {
|
|
72825
|
-
return new APIPromise($
|
|
73419
|
+
return new APIPromise($do78(client, request, options));
|
|
72826
73420
|
}
|
|
72827
|
-
async function $
|
|
73421
|
+
async function $do78(client, request, options) {
|
|
72828
73422
|
const parsed = safeParse(request, (value) => UploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72829
73423
|
if (!parsed.ok) {
|
|
72830
73424
|
return [parsed, { status: "invalid" }];
|
|
@@ -72933,12 +73527,12 @@ var init_filesUpload = __esm(() => {
|
|
|
72933
73527
|
});
|
|
72934
73528
|
|
|
72935
73529
|
// src/mcp-server/tools/filesUpload.ts
|
|
72936
|
-
var
|
|
73530
|
+
var args78, tool$filesUpload;
|
|
72937
73531
|
var init_filesUpload2 = __esm(() => {
|
|
72938
73532
|
init_filesUpload();
|
|
72939
73533
|
init_operations();
|
|
72940
73534
|
init_tools();
|
|
72941
|
-
|
|
73535
|
+
args78 = {
|
|
72942
73536
|
request: UploadFileRequest$inboundSchema
|
|
72943
73537
|
};
|
|
72944
73538
|
tool$filesUpload = {
|
|
@@ -72950,9 +73544,9 @@ and png.
|
|
|
72950
73544
|
|
|
72951
73545
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72952
73546
|
you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
72953
|
-
args:
|
|
72954
|
-
tool: async (client,
|
|
72955
|
-
const [result, apiCall] = await filesUpload(client,
|
|
73547
|
+
args: args78,
|
|
73548
|
+
tool: async (client, args79, ctx) => {
|
|
73549
|
+
const [result, apiCall] = await filesUpload(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72956
73550
|
if (!result.ok) {
|
|
72957
73551
|
return {
|
|
72958
73552
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72967,9 +73561,9 @@ you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
|
72967
73561
|
|
|
72968
73562
|
// src/funcs/imagesDelete.ts
|
|
72969
73563
|
function imagesDelete(client, request, options) {
|
|
72970
|
-
return new APIPromise($
|
|
73564
|
+
return new APIPromise($do79(client, request, options));
|
|
72971
73565
|
}
|
|
72972
|
-
async function $
|
|
73566
|
+
async function $do79(client, request, options) {
|
|
72973
73567
|
const parsed = safeParse(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72974
73568
|
if (!parsed.ok) {
|
|
72975
73569
|
return [parsed, { status: "invalid" }];
|
|
@@ -73062,20 +73656,20 @@ var init_imagesDelete = __esm(() => {
|
|
|
73062
73656
|
});
|
|
73063
73657
|
|
|
73064
73658
|
// src/mcp-server/tools/imagesDelete.ts
|
|
73065
|
-
var
|
|
73659
|
+
var args79, tool$imagesDelete;
|
|
73066
73660
|
var init_imagesDelete2 = __esm(() => {
|
|
73067
73661
|
init_imagesDelete();
|
|
73068
73662
|
init_operations();
|
|
73069
73663
|
init_tools();
|
|
73070
|
-
|
|
73664
|
+
args79 = {
|
|
73071
73665
|
request: DeleteImageRequest$inboundSchema
|
|
73072
73666
|
};
|
|
73073
73667
|
tool$imagesDelete = {
|
|
73074
73668
|
name: "images-delete",
|
|
73075
73669
|
description: `Permanently delete an image by its ID.`,
|
|
73076
|
-
args:
|
|
73077
|
-
tool: async (client,
|
|
73078
|
-
const [result, apiCall] = await imagesDelete(client,
|
|
73670
|
+
args: args79,
|
|
73671
|
+
tool: async (client, args80, ctx) => {
|
|
73672
|
+
const [result, apiCall] = await imagesDelete(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73079
73673
|
if (!result.ok) {
|
|
73080
73674
|
return {
|
|
73081
73675
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73089,9 +73683,9 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
73089
73683
|
|
|
73090
73684
|
// src/funcs/imagesGetMetadata.ts
|
|
73091
73685
|
function imagesGetMetadata(client, request, options) {
|
|
73092
|
-
return new APIPromise($
|
|
73686
|
+
return new APIPromise($do80(client, request, options));
|
|
73093
73687
|
}
|
|
73094
|
-
async function $
|
|
73688
|
+
async function $do80(client, request, options) {
|
|
73095
73689
|
const parsed = safeParse(request, (value) => GetImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73096
73690
|
if (!parsed.ok) {
|
|
73097
73691
|
return [parsed, { status: "invalid" }];
|
|
@@ -73173,20 +73767,20 @@ var init_imagesGetMetadata = __esm(() => {
|
|
|
73173
73767
|
});
|
|
73174
73768
|
|
|
73175
73769
|
// src/mcp-server/tools/imagesGetMetadata.ts
|
|
73176
|
-
var
|
|
73770
|
+
var args80, tool$imagesGetMetadata;
|
|
73177
73771
|
var init_imagesGetMetadata2 = __esm(() => {
|
|
73178
73772
|
init_imagesGetMetadata();
|
|
73179
73773
|
init_operations();
|
|
73180
73774
|
init_tools();
|
|
73181
|
-
|
|
73775
|
+
args80 = {
|
|
73182
73776
|
request: GetImageMetadataRequest$inboundSchema
|
|
73183
73777
|
};
|
|
73184
73778
|
tool$imagesGetMetadata = {
|
|
73185
73779
|
name: "images-get-metadata",
|
|
73186
73780
|
description: `Retrieve metadata for a specific image by its ID.`,
|
|
73187
|
-
args:
|
|
73188
|
-
tool: async (client,
|
|
73189
|
-
const [result, apiCall] = await imagesGetMetadata(client,
|
|
73781
|
+
args: args80,
|
|
73782
|
+
tool: async (client, args81, ctx) => {
|
|
73783
|
+
const [result, apiCall] = await imagesGetMetadata(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73190
73784
|
if (!result.ok) {
|
|
73191
73785
|
return {
|
|
73192
73786
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73201,9 +73795,9 @@ var init_imagesGetMetadata2 = __esm(() => {
|
|
|
73201
73795
|
|
|
73202
73796
|
// src/funcs/imagesGetPublic.ts
|
|
73203
73797
|
function imagesGetPublic(client, request, options) {
|
|
73204
|
-
return new APIPromise($
|
|
73798
|
+
return new APIPromise($do81(client, request, options));
|
|
73205
73799
|
}
|
|
73206
|
-
async function $
|
|
73800
|
+
async function $do81(client, request, options) {
|
|
73207
73801
|
const parsed = safeParse(request, (value) => GetPublicImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73208
73802
|
if (!parsed.ok) {
|
|
73209
73803
|
return [parsed, { status: "invalid" }];
|
|
@@ -73295,20 +73889,20 @@ var init_imagesGetPublic = __esm(() => {
|
|
|
73295
73889
|
});
|
|
73296
73890
|
|
|
73297
73891
|
// src/mcp-server/tools/imagesGetPublic.ts
|
|
73298
|
-
var
|
|
73892
|
+
var args81, tool$imagesGetPublic;
|
|
73299
73893
|
var init_imagesGetPublic2 = __esm(() => {
|
|
73300
73894
|
init_imagesGetPublic();
|
|
73301
73895
|
init_operations();
|
|
73302
73896
|
init_tools();
|
|
73303
|
-
|
|
73897
|
+
args81 = {
|
|
73304
73898
|
request: GetPublicImageRequest$inboundSchema
|
|
73305
73899
|
};
|
|
73306
73900
|
tool$imagesGetPublic = {
|
|
73307
73901
|
name: "images-get-public",
|
|
73308
73902
|
description: `Get an image by its public ID.`,
|
|
73309
|
-
args:
|
|
73310
|
-
tool: async (client,
|
|
73311
|
-
const [result, apiCall] = await imagesGetPublic(client,
|
|
73903
|
+
args: args81,
|
|
73904
|
+
tool: async (client, args82, ctx) => {
|
|
73905
|
+
const [result, apiCall] = await imagesGetPublic(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73312
73906
|
if (!result.ok) {
|
|
73313
73907
|
return {
|
|
73314
73908
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73323,9 +73917,9 @@ var init_imagesGetPublic2 = __esm(() => {
|
|
|
73323
73917
|
|
|
73324
73918
|
// src/funcs/imagesList.ts
|
|
73325
73919
|
function imagesList(client, request, options) {
|
|
73326
|
-
return new APIPromise($
|
|
73920
|
+
return new APIPromise($do82(client, request, options));
|
|
73327
73921
|
}
|
|
73328
|
-
async function $
|
|
73922
|
+
async function $do82(client, request, options) {
|
|
73329
73923
|
const parsed = safeParse(request, (value) => ListImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73330
73924
|
if (!parsed.ok) {
|
|
73331
73925
|
return [parsed, { status: "invalid" }];
|
|
@@ -73408,20 +74002,20 @@ var init_imagesList = __esm(() => {
|
|
|
73408
74002
|
});
|
|
73409
74003
|
|
|
73410
74004
|
// src/mcp-server/tools/imagesList.ts
|
|
73411
|
-
var
|
|
74005
|
+
var args82, tool$imagesList;
|
|
73412
74006
|
var init_imagesList2 = __esm(() => {
|
|
73413
74007
|
init_imagesList();
|
|
73414
74008
|
init_operations();
|
|
73415
74009
|
init_tools();
|
|
73416
|
-
|
|
74010
|
+
args82 = {
|
|
73417
74011
|
request: ListImageMetadataRequest$inboundSchema
|
|
73418
74012
|
};
|
|
73419
74013
|
tool$imagesList = {
|
|
73420
74014
|
name: "images-list",
|
|
73421
74015
|
description: `List metadata for all images in the specified account.`,
|
|
73422
|
-
args:
|
|
73423
|
-
tool: async (client,
|
|
73424
|
-
const [result, apiCall] = await imagesList(client,
|
|
74016
|
+
args: args82,
|
|
74017
|
+
tool: async (client, args83, ctx) => {
|
|
74018
|
+
const [result, apiCall] = await imagesList(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73425
74019
|
if (!result.ok) {
|
|
73426
74020
|
return {
|
|
73427
74021
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73436,9 +74030,9 @@ var init_imagesList2 = __esm(() => {
|
|
|
73436
74030
|
|
|
73437
74031
|
// src/funcs/imagesUpdate.ts
|
|
73438
74032
|
function imagesUpdate(client, request, options) {
|
|
73439
|
-
return new APIPromise($
|
|
74033
|
+
return new APIPromise($do83(client, request, options));
|
|
73440
74034
|
}
|
|
73441
|
-
async function $
|
|
74035
|
+
async function $do83(client, request, options) {
|
|
73442
74036
|
const parsed = safeParse(request, (value) => UpdateImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73443
74037
|
if (!parsed.ok) {
|
|
73444
74038
|
return [parsed, { status: "invalid" }];
|
|
@@ -73554,12 +74148,12 @@ var init_imagesUpdate = __esm(() => {
|
|
|
73554
74148
|
});
|
|
73555
74149
|
|
|
73556
74150
|
// src/mcp-server/tools/imagesUpdate.ts
|
|
73557
|
-
var
|
|
74151
|
+
var args83, tool$imagesUpdate;
|
|
73558
74152
|
var init_imagesUpdate2 = __esm(() => {
|
|
73559
74153
|
init_imagesUpdate();
|
|
73560
74154
|
init_operations();
|
|
73561
74155
|
init_tools();
|
|
73562
|
-
|
|
74156
|
+
args83 = {
|
|
73563
74157
|
request: UpdateImageRequest$inboundSchema
|
|
73564
74158
|
};
|
|
73565
74159
|
tool$imagesUpdate = {
|
|
@@ -73569,9 +74163,9 @@ var init_imagesUpdate2 = __esm(() => {
|
|
|
73569
74163
|
This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
73570
74164
|
the metadata form section to keep existing metadata, or send \`null\` to clear it.
|
|
73571
74165
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
73572
|
-
args:
|
|
73573
|
-
tool: async (client,
|
|
73574
|
-
const [result, apiCall] = await imagesUpdate(client,
|
|
74166
|
+
args: args83,
|
|
74167
|
+
tool: async (client, args84, ctx) => {
|
|
74168
|
+
const [result, apiCall] = await imagesUpdate(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73575
74169
|
if (!result.ok) {
|
|
73576
74170
|
return {
|
|
73577
74171
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73586,9 +74180,9 @@ Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
|
73586
74180
|
|
|
73587
74181
|
// src/funcs/imagesUpdateMetadata.ts
|
|
73588
74182
|
function imagesUpdateMetadata(client, request, options) {
|
|
73589
|
-
return new APIPromise($
|
|
74183
|
+
return new APIPromise($do84(client, request, options));
|
|
73590
74184
|
}
|
|
73591
|
-
async function $
|
|
74185
|
+
async function $do84(client, request, options) {
|
|
73592
74186
|
const parsed = safeParse(request, (value) => UpdateImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73593
74187
|
if (!parsed.ok) {
|
|
73594
74188
|
return [parsed, { status: "invalid" }];
|
|
@@ -73688,20 +74282,20 @@ var init_imagesUpdateMetadata = __esm(() => {
|
|
|
73688
74282
|
});
|
|
73689
74283
|
|
|
73690
74284
|
// src/mcp-server/tools/imagesUpdateMetadata.ts
|
|
73691
|
-
var
|
|
74285
|
+
var args84, tool$imagesUpdateMetadata;
|
|
73692
74286
|
var init_imagesUpdateMetadata2 = __esm(() => {
|
|
73693
74287
|
init_imagesUpdateMetadata();
|
|
73694
74288
|
init_operations();
|
|
73695
74289
|
init_tools();
|
|
73696
|
-
|
|
74290
|
+
args84 = {
|
|
73697
74291
|
request: UpdateImageMetadataRequest$inboundSchema
|
|
73698
74292
|
};
|
|
73699
74293
|
tool$imagesUpdateMetadata = {
|
|
73700
74294
|
name: "images-update-metadata",
|
|
73701
74295
|
description: `Replace the metadata for an existing image.`,
|
|
73702
|
-
args:
|
|
73703
|
-
tool: async (client,
|
|
73704
|
-
const [result, apiCall] = await imagesUpdateMetadata(client,
|
|
74296
|
+
args: args84,
|
|
74297
|
+
tool: async (client, args85, ctx) => {
|
|
74298
|
+
const [result, apiCall] = await imagesUpdateMetadata(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73705
74299
|
if (!result.ok) {
|
|
73706
74300
|
return {
|
|
73707
74301
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73716,9 +74310,9 @@ var init_imagesUpdateMetadata2 = __esm(() => {
|
|
|
73716
74310
|
|
|
73717
74311
|
// src/funcs/imagesUpload.ts
|
|
73718
74312
|
function imagesUpload(client, request, options) {
|
|
73719
|
-
return new APIPromise($
|
|
74313
|
+
return new APIPromise($do85(client, request, options));
|
|
73720
74314
|
}
|
|
73721
|
-
async function $
|
|
74315
|
+
async function $do85(client, request, options) {
|
|
73722
74316
|
const parsed = safeParse(request, (value) => UploadImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73723
74317
|
if (!parsed.ok) {
|
|
73724
74318
|
return [parsed, { status: "invalid" }];
|
|
@@ -73830,21 +74424,21 @@ var init_imagesUpload = __esm(() => {
|
|
|
73830
74424
|
});
|
|
73831
74425
|
|
|
73832
74426
|
// src/mcp-server/tools/imagesUpload.ts
|
|
73833
|
-
var
|
|
74427
|
+
var args85, tool$imagesUpload;
|
|
73834
74428
|
var init_imagesUpload2 = __esm(() => {
|
|
73835
74429
|
init_imagesUpload();
|
|
73836
74430
|
init_operations();
|
|
73837
74431
|
init_tools();
|
|
73838
|
-
|
|
74432
|
+
args85 = {
|
|
73839
74433
|
request: UploadImageRequest$inboundSchema
|
|
73840
74434
|
};
|
|
73841
74435
|
tool$imagesUpload = {
|
|
73842
74436
|
name: "images-upload",
|
|
73843
74437
|
description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
73844
74438
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
73845
|
-
args:
|
|
73846
|
-
tool: async (client,
|
|
73847
|
-
const [result, apiCall] = await imagesUpload(client,
|
|
74439
|
+
args: args85,
|
|
74440
|
+
tool: async (client, args86, ctx) => {
|
|
74441
|
+
const [result, apiCall] = await imagesUpload(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73848
74442
|
if (!result.ok) {
|
|
73849
74443
|
return {
|
|
73850
74444
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73859,9 +74453,9 @@ var init_imagesUpload2 = __esm(() => {
|
|
|
73859
74453
|
|
|
73860
74454
|
// src/funcs/industriesList.ts
|
|
73861
74455
|
function industriesList(client, _request, options) {
|
|
73862
|
-
return new APIPromise($
|
|
74456
|
+
return new APIPromise($do86(client, _request, options));
|
|
73863
74457
|
}
|
|
73864
|
-
async function $
|
|
74458
|
+
async function $do86(client, _request, options) {
|
|
73865
74459
|
const path = pathToFunc("/industries")();
|
|
73866
74460
|
const headers = new Headers(compactMap({
|
|
73867
74461
|
Accept: "application/json",
|
|
@@ -73925,12 +74519,12 @@ var init_industriesList = __esm(() => {
|
|
|
73925
74519
|
});
|
|
73926
74520
|
|
|
73927
74521
|
// src/mcp-server/tools/industriesList.ts
|
|
73928
|
-
var
|
|
74522
|
+
var args86, tool$industriesList;
|
|
73929
74523
|
var init_industriesList2 = __esm(() => {
|
|
73930
74524
|
init_industriesList();
|
|
73931
74525
|
init_operations();
|
|
73932
74526
|
init_tools();
|
|
73933
|
-
|
|
74527
|
+
args86 = {
|
|
73934
74528
|
request: ListIndustriesRequest$inboundSchema
|
|
73935
74529
|
};
|
|
73936
74530
|
tool$industriesList = {
|
|
@@ -73939,9 +74533,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
73939
74533
|
|
|
73940
74534
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
73941
74535
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
73942
|
-
args:
|
|
73943
|
-
tool: async (client,
|
|
73944
|
-
const [result, apiCall] = await industriesList(client,
|
|
74536
|
+
args: args86,
|
|
74537
|
+
tool: async (client, args87, ctx) => {
|
|
74538
|
+
const [result, apiCall] = await industriesList(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73945
74539
|
if (!result.ok) {
|
|
73946
74540
|
return {
|
|
73947
74541
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73956,9 +74550,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
73956
74550
|
|
|
73957
74551
|
// src/funcs/institutionsSearch.ts
|
|
73958
74552
|
function institutionsSearch(client, request, options) {
|
|
73959
|
-
return new APIPromise($
|
|
74553
|
+
return new APIPromise($do87(client, request, options));
|
|
73960
74554
|
}
|
|
73961
|
-
async function $
|
|
74555
|
+
async function $do87(client, request, options) {
|
|
73962
74556
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73963
74557
|
if (!parsed.ok) {
|
|
73964
74558
|
return [parsed, { status: "invalid" }];
|
|
@@ -74038,12 +74632,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
74038
74632
|
});
|
|
74039
74633
|
|
|
74040
74634
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
74041
|
-
var
|
|
74635
|
+
var args87, tool$institutionsSearch;
|
|
74042
74636
|
var init_institutionsSearch2 = __esm(() => {
|
|
74043
74637
|
init_institutionsSearch();
|
|
74044
74638
|
init_operations();
|
|
74045
74639
|
init_tools();
|
|
74046
|
-
|
|
74640
|
+
args87 = {
|
|
74047
74641
|
request: ListInstitutionsRequest$inboundSchema
|
|
74048
74642
|
};
|
|
74049
74643
|
tool$institutionsSearch = {
|
|
@@ -74052,9 +74646,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
74052
74646
|
|
|
74053
74647
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74054
74648
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
74055
|
-
args:
|
|
74056
|
-
tool: async (client,
|
|
74057
|
-
const [result, apiCall] = await institutionsSearch(client,
|
|
74649
|
+
args: args87,
|
|
74650
|
+
tool: async (client, args88, ctx) => {
|
|
74651
|
+
const [result, apiCall] = await institutionsSearch(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74058
74652
|
if (!result.ok) {
|
|
74059
74653
|
return {
|
|
74060
74654
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74069,9 +74663,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
74069
74663
|
|
|
74070
74664
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
74071
74665
|
function institutionsSearchInstitutions(client, request, options) {
|
|
74072
|
-
return new APIPromise($
|
|
74666
|
+
return new APIPromise($do88(client, request, options));
|
|
74073
74667
|
}
|
|
74074
|
-
async function $
|
|
74668
|
+
async function $do88(client, request, options) {
|
|
74075
74669
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74076
74670
|
if (!parsed.ok) {
|
|
74077
74671
|
return [parsed, { status: "invalid" }];
|
|
@@ -74149,12 +74743,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
74149
74743
|
});
|
|
74150
74744
|
|
|
74151
74745
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
74152
|
-
var
|
|
74746
|
+
var args88, tool$institutionsSearchInstitutions;
|
|
74153
74747
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
74154
74748
|
init_institutionsSearchInstitutions();
|
|
74155
74749
|
init_operations();
|
|
74156
74750
|
init_tools();
|
|
74157
|
-
|
|
74751
|
+
args88 = {
|
|
74158
74752
|
request: SearchInstitutionsRequest$inboundSchema
|
|
74159
74753
|
};
|
|
74160
74754
|
tool$institutionsSearchInstitutions = {
|
|
@@ -74167,9 +74761,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
74167
74761
|
|
|
74168
74762
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74169
74763
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
74170
|
-
args:
|
|
74171
|
-
tool: async (client,
|
|
74172
|
-
const [result, apiCall] = await institutionsSearchInstitutions(client,
|
|
74764
|
+
args: args88,
|
|
74765
|
+
tool: async (client, args89, ctx) => {
|
|
74766
|
+
const [result, apiCall] = await institutionsSearchInstitutions(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74173
74767
|
if (!result.ok) {
|
|
74174
74768
|
return {
|
|
74175
74769
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74184,9 +74778,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
74184
74778
|
|
|
74185
74779
|
// src/funcs/issuingTransactionsGet.ts
|
|
74186
74780
|
function issuingTransactionsGet(client, request, options) {
|
|
74187
|
-
return new APIPromise($
|
|
74781
|
+
return new APIPromise($do89(client, request, options));
|
|
74188
74782
|
}
|
|
74189
|
-
async function $
|
|
74783
|
+
async function $do89(client, request, options) {
|
|
74190
74784
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74191
74785
|
if (!parsed.ok) {
|
|
74192
74786
|
return [parsed, { status: "invalid" }];
|
|
@@ -74265,12 +74859,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
74265
74859
|
});
|
|
74266
74860
|
|
|
74267
74861
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
74268
|
-
var
|
|
74862
|
+
var args89, tool$issuingTransactionsGet;
|
|
74269
74863
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
74270
74864
|
init_issuingTransactionsGet();
|
|
74271
74865
|
init_operations();
|
|
74272
74866
|
init_tools();
|
|
74273
|
-
|
|
74867
|
+
args89 = {
|
|
74274
74868
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
74275
74869
|
};
|
|
74276
74870
|
tool$issuingTransactionsGet = {
|
|
@@ -74279,9 +74873,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
74279
74873
|
|
|
74280
74874
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74281
74875
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74282
|
-
args:
|
|
74283
|
-
tool: async (client,
|
|
74284
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
74876
|
+
args: args89,
|
|
74877
|
+
tool: async (client, args90, ctx) => {
|
|
74878
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74285
74879
|
if (!result.ok) {
|
|
74286
74880
|
return {
|
|
74287
74881
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74296,9 +74890,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74296
74890
|
|
|
74297
74891
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
74298
74892
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
74299
|
-
return new APIPromise($
|
|
74893
|
+
return new APIPromise($do90(client, request, options));
|
|
74300
74894
|
}
|
|
74301
|
-
async function $
|
|
74895
|
+
async function $do90(client, request, options) {
|
|
74302
74896
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74303
74897
|
if (!parsed.ok) {
|
|
74304
74898
|
return [parsed, { status: "invalid" }];
|
|
@@ -74380,12 +74974,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
74380
74974
|
});
|
|
74381
74975
|
|
|
74382
74976
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
74383
|
-
var
|
|
74977
|
+
var args90, tool$issuingTransactionsGetAuthorization;
|
|
74384
74978
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
74385
74979
|
init_issuingTransactionsGetAuthorization();
|
|
74386
74980
|
init_operations();
|
|
74387
74981
|
init_tools();
|
|
74388
|
-
|
|
74982
|
+
args90 = {
|
|
74389
74983
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
74390
74984
|
};
|
|
74391
74985
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -74394,9 +74988,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
74394
74988
|
|
|
74395
74989
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74396
74990
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74397
|
-
args:
|
|
74398
|
-
tool: async (client,
|
|
74399
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
74991
|
+
args: args90,
|
|
74992
|
+
tool: async (client, args91, ctx) => {
|
|
74993
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74400
74994
|
if (!result.ok) {
|
|
74401
74995
|
return {
|
|
74402
74996
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74411,9 +75005,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74411
75005
|
|
|
74412
75006
|
// src/funcs/issuingTransactionsList.ts
|
|
74413
75007
|
function issuingTransactionsList(client, request, options) {
|
|
74414
|
-
return new APIPromise($
|
|
75008
|
+
return new APIPromise($do91(client, request, options));
|
|
74415
75009
|
}
|
|
74416
|
-
async function $
|
|
75010
|
+
async function $do91(client, request, options) {
|
|
74417
75011
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74418
75012
|
if (!parsed.ok) {
|
|
74419
75013
|
return [parsed, { status: "invalid" }];
|
|
@@ -74499,12 +75093,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
74499
75093
|
});
|
|
74500
75094
|
|
|
74501
75095
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
74502
|
-
var
|
|
75096
|
+
var args91, tool$issuingTransactionsList;
|
|
74503
75097
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
74504
75098
|
init_issuingTransactionsList();
|
|
74505
75099
|
init_operations();
|
|
74506
75100
|
init_tools();
|
|
74507
|
-
|
|
75101
|
+
args91 = {
|
|
74508
75102
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
74509
75103
|
};
|
|
74510
75104
|
tool$issuingTransactionsList = {
|
|
@@ -74513,9 +75107,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
74513
75107
|
|
|
74514
75108
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74515
75109
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74516
|
-
args:
|
|
74517
|
-
tool: async (client,
|
|
74518
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
75110
|
+
args: args91,
|
|
75111
|
+
tool: async (client, args92, ctx) => {
|
|
75112
|
+
const [result, apiCall] = await issuingTransactionsList(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74519
75113
|
if (!result.ok) {
|
|
74520
75114
|
return {
|
|
74521
75115
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74530,9 +75124,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74530
75124
|
|
|
74531
75125
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
74532
75126
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
74533
|
-
return new APIPromise($
|
|
75127
|
+
return new APIPromise($do92(client, request, options));
|
|
74534
75128
|
}
|
|
74535
|
-
async function $
|
|
75129
|
+
async function $do92(client, request, options) {
|
|
74536
75130
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74537
75131
|
if (!parsed.ok) {
|
|
74538
75132
|
return [parsed, { status: "invalid" }];
|
|
@@ -74616,12 +75210,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
74616
75210
|
});
|
|
74617
75211
|
|
|
74618
75212
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
74619
|
-
var
|
|
75213
|
+
var args92, tool$issuingTransactionsListAuthorizationEvents;
|
|
74620
75214
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
74621
75215
|
init_issuingTransactionsListAuthorizationEvents();
|
|
74622
75216
|
init_operations();
|
|
74623
75217
|
init_tools();
|
|
74624
|
-
|
|
75218
|
+
args92 = {
|
|
74625
75219
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
74626
75220
|
};
|
|
74627
75221
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -74630,9 +75224,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
74630
75224
|
|
|
74631
75225
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74632
75226
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74633
|
-
args:
|
|
74634
|
-
tool: async (client,
|
|
74635
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
75227
|
+
args: args92,
|
|
75228
|
+
tool: async (client, args93, ctx) => {
|
|
75229
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74636
75230
|
if (!result.ok) {
|
|
74637
75231
|
return {
|
|
74638
75232
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74647,9 +75241,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74647
75241
|
|
|
74648
75242
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
74649
75243
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
74650
|
-
return new APIPromise($
|
|
75244
|
+
return new APIPromise($do93(client, request, options));
|
|
74651
75245
|
}
|
|
74652
|
-
async function $
|
|
75246
|
+
async function $do93(client, request, options) {
|
|
74653
75247
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74654
75248
|
if (!parsed.ok) {
|
|
74655
75249
|
return [parsed, { status: "invalid" }];
|
|
@@ -74736,12 +75330,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
74736
75330
|
});
|
|
74737
75331
|
|
|
74738
75332
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
74739
|
-
var
|
|
75333
|
+
var args93, tool$issuingTransactionsListAuthorizations;
|
|
74740
75334
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
74741
75335
|
init_issuingTransactionsListAuthorizations();
|
|
74742
75336
|
init_operations();
|
|
74743
75337
|
init_tools();
|
|
74744
|
-
|
|
75338
|
+
args93 = {
|
|
74745
75339
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
74746
75340
|
};
|
|
74747
75341
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -74750,9 +75344,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
74750
75344
|
|
|
74751
75345
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74752
75346
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74753
|
-
args:
|
|
74754
|
-
tool: async (client,
|
|
74755
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
75347
|
+
args: args93,
|
|
75348
|
+
tool: async (client, args94, ctx) => {
|
|
75349
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74756
75350
|
if (!result.ok) {
|
|
74757
75351
|
return {
|
|
74758
75352
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74767,9 +75361,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74767
75361
|
|
|
74768
75362
|
// src/funcs/onboardingCreateInvite.ts
|
|
74769
75363
|
function onboardingCreateInvite(client, request, options) {
|
|
74770
|
-
return new APIPromise($
|
|
75364
|
+
return new APIPromise($do94(client, request, options));
|
|
74771
75365
|
}
|
|
74772
|
-
async function $
|
|
75366
|
+
async function $do94(client, request, options) {
|
|
74773
75367
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74774
75368
|
if (!parsed.ok) {
|
|
74775
75369
|
return [parsed, { status: "invalid" }];
|
|
@@ -74856,12 +75450,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
74856
75450
|
});
|
|
74857
75451
|
|
|
74858
75452
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
74859
|
-
var
|
|
75453
|
+
var args94, tool$onboardingCreateInvite;
|
|
74860
75454
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
74861
75455
|
init_onboardingCreateInvite();
|
|
74862
75456
|
init_components();
|
|
74863
75457
|
init_tools();
|
|
74864
|
-
|
|
75458
|
+
args94 = {
|
|
74865
75459
|
request: OnboardingInviteRequest$inboundSchema
|
|
74866
75460
|
};
|
|
74867
75461
|
tool$onboardingCreateInvite = {
|
|
@@ -74870,9 +75464,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
74870
75464
|
|
|
74871
75465
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74872
75466
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
74873
|
-
args:
|
|
74874
|
-
tool: async (client,
|
|
74875
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
75467
|
+
args: args94,
|
|
75468
|
+
tool: async (client, args95, ctx) => {
|
|
75469
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74876
75470
|
if (!result.ok) {
|
|
74877
75471
|
return {
|
|
74878
75472
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74887,9 +75481,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
74887
75481
|
|
|
74888
75482
|
// src/funcs/onboardingGetInvite.ts
|
|
74889
75483
|
function onboardingGetInvite(client, request, options) {
|
|
74890
|
-
return new APIPromise($
|
|
75484
|
+
return new APIPromise($do95(client, request, options));
|
|
74891
75485
|
}
|
|
74892
|
-
async function $
|
|
75486
|
+
async function $do95(client, request, options) {
|
|
74893
75487
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74894
75488
|
if (!parsed.ok) {
|
|
74895
75489
|
return [parsed, { status: "invalid" }];
|
|
@@ -74967,12 +75561,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
74967
75561
|
});
|
|
74968
75562
|
|
|
74969
75563
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
74970
|
-
var
|
|
75564
|
+
var args95, tool$onboardingGetInvite;
|
|
74971
75565
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
74972
75566
|
init_onboardingGetInvite();
|
|
74973
75567
|
init_operations();
|
|
74974
75568
|
init_tools();
|
|
74975
|
-
|
|
75569
|
+
args95 = {
|
|
74976
75570
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
74977
75571
|
};
|
|
74978
75572
|
tool$onboardingGetInvite = {
|
|
@@ -74981,9 +75575,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
74981
75575
|
|
|
74982
75576
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74983
75577
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
74984
|
-
args:
|
|
74985
|
-
tool: async (client,
|
|
74986
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
75578
|
+
args: args95,
|
|
75579
|
+
tool: async (client, args96, ctx) => {
|
|
75580
|
+
const [result, apiCall] = await onboardingGetInvite(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74987
75581
|
if (!result.ok) {
|
|
74988
75582
|
return {
|
|
74989
75583
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74998,9 +75592,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
74998
75592
|
|
|
74999
75593
|
// src/funcs/onboardingListInvites.ts
|
|
75000
75594
|
function onboardingListInvites(client, _request, options) {
|
|
75001
|
-
return new APIPromise($
|
|
75595
|
+
return new APIPromise($do96(client, _request, options));
|
|
75002
75596
|
}
|
|
75003
|
-
async function $
|
|
75597
|
+
async function $do96(client, _request, options) {
|
|
75004
75598
|
const path = pathToFunc("/onboarding-invites")();
|
|
75005
75599
|
const headers = new Headers(compactMap({
|
|
75006
75600
|
Accept: "application/json",
|
|
@@ -75064,12 +75658,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
75064
75658
|
});
|
|
75065
75659
|
|
|
75066
75660
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
75067
|
-
var
|
|
75661
|
+
var args96, tool$onboardingListInvites;
|
|
75068
75662
|
var init_onboardingListInvites2 = __esm(() => {
|
|
75069
75663
|
init_onboardingListInvites();
|
|
75070
75664
|
init_operations();
|
|
75071
75665
|
init_tools();
|
|
75072
|
-
|
|
75666
|
+
args96 = {
|
|
75073
75667
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
75074
75668
|
};
|
|
75075
75669
|
tool$onboardingListInvites = {
|
|
@@ -75078,9 +75672,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
75078
75672
|
|
|
75079
75673
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75080
75674
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
75081
|
-
args:
|
|
75082
|
-
tool: async (client,
|
|
75083
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
75675
|
+
args: args96,
|
|
75676
|
+
tool: async (client, args97, ctx) => {
|
|
75677
|
+
const [result, apiCall] = await onboardingListInvites(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75084
75678
|
if (!result.ok) {
|
|
75085
75679
|
return {
|
|
75086
75680
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75095,9 +75689,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
75095
75689
|
|
|
75096
75690
|
// src/funcs/onboardingRevokeInvite.ts
|
|
75097
75691
|
function onboardingRevokeInvite(client, request, options) {
|
|
75098
|
-
return new APIPromise($
|
|
75692
|
+
return new APIPromise($do97(client, request, options));
|
|
75099
75693
|
}
|
|
75100
|
-
async function $
|
|
75694
|
+
async function $do97(client, request, options) {
|
|
75101
75695
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75102
75696
|
if (!parsed.ok) {
|
|
75103
75697
|
return [parsed, { status: "invalid" }];
|
|
@@ -75172,12 +75766,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
75172
75766
|
});
|
|
75173
75767
|
|
|
75174
75768
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
75175
|
-
var
|
|
75769
|
+
var args97, tool$onboardingRevokeInvite;
|
|
75176
75770
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
75177
75771
|
init_onboardingRevokeInvite();
|
|
75178
75772
|
init_operations();
|
|
75179
75773
|
init_tools();
|
|
75180
|
-
|
|
75774
|
+
args97 = {
|
|
75181
75775
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
75182
75776
|
};
|
|
75183
75777
|
tool$onboardingRevokeInvite = {
|
|
@@ -75186,9 +75780,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
75186
75780
|
|
|
75187
75781
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75188
75782
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
75189
|
-
args:
|
|
75190
|
-
tool: async (client,
|
|
75191
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
75783
|
+
args: args97,
|
|
75784
|
+
tool: async (client, args98, ctx) => {
|
|
75785
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75192
75786
|
if (!result.ok) {
|
|
75193
75787
|
return {
|
|
75194
75788
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75202,9 +75796,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
75202
75796
|
|
|
75203
75797
|
// src/funcs/paymentLinksCreate.ts
|
|
75204
75798
|
function paymentLinksCreate(client, request, options) {
|
|
75205
|
-
return new APIPromise($
|
|
75799
|
+
return new APIPromise($do98(client, request, options));
|
|
75206
75800
|
}
|
|
75207
|
-
async function $
|
|
75801
|
+
async function $do98(client, request, options) {
|
|
75208
75802
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75209
75803
|
if (!parsed.ok) {
|
|
75210
75804
|
return [parsed, { status: "invalid" }];
|
|
@@ -75296,12 +75890,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
75296
75890
|
});
|
|
75297
75891
|
|
|
75298
75892
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
75299
|
-
var
|
|
75893
|
+
var args98, tool$paymentLinksCreate;
|
|
75300
75894
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
75301
75895
|
init_paymentLinksCreate();
|
|
75302
75896
|
init_operations();
|
|
75303
75897
|
init_tools();
|
|
75304
|
-
|
|
75898
|
+
args98 = {
|
|
75305
75899
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
75306
75900
|
};
|
|
75307
75901
|
tool$paymentLinksCreate = {
|
|
@@ -75310,9 +75904,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
75310
75904
|
|
|
75311
75905
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75312
75906
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75313
|
-
args:
|
|
75314
|
-
tool: async (client,
|
|
75315
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
75907
|
+
args: args98,
|
|
75908
|
+
tool: async (client, args99, ctx) => {
|
|
75909
|
+
const [result, apiCall] = await paymentLinksCreate(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75316
75910
|
if (!result.ok) {
|
|
75317
75911
|
return {
|
|
75318
75912
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75327,9 +75921,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75327
75921
|
|
|
75328
75922
|
// src/funcs/paymentLinksDisable.ts
|
|
75329
75923
|
function paymentLinksDisable(client, request, options) {
|
|
75330
|
-
return new APIPromise($
|
|
75924
|
+
return new APIPromise($do99(client, request, options));
|
|
75331
75925
|
}
|
|
75332
|
-
async function $
|
|
75926
|
+
async function $do99(client, request, options) {
|
|
75333
75927
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75334
75928
|
if (!parsed.ok) {
|
|
75335
75929
|
return [parsed, { status: "invalid" }];
|
|
@@ -75410,12 +76004,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
75410
76004
|
});
|
|
75411
76005
|
|
|
75412
76006
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
75413
|
-
var
|
|
76007
|
+
var args99, tool$paymentLinksDisable;
|
|
75414
76008
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
75415
76009
|
init_paymentLinksDisable();
|
|
75416
76010
|
init_operations();
|
|
75417
76011
|
init_tools();
|
|
75418
|
-
|
|
76012
|
+
args99 = {
|
|
75419
76013
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
75420
76014
|
};
|
|
75421
76015
|
tool$paymentLinksDisable = {
|
|
@@ -75424,9 +76018,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
75424
76018
|
|
|
75425
76019
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75426
76020
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75427
|
-
args:
|
|
75428
|
-
tool: async (client,
|
|
75429
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
76021
|
+
args: args99,
|
|
76022
|
+
tool: async (client, args100, ctx) => {
|
|
76023
|
+
const [result, apiCall] = await paymentLinksDisable(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75430
76024
|
if (!result.ok) {
|
|
75431
76025
|
return {
|
|
75432
76026
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75440,9 +76034,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75440
76034
|
|
|
75441
76035
|
// src/funcs/paymentLinksGet.ts
|
|
75442
76036
|
function paymentLinksGet(client, request, options) {
|
|
75443
|
-
return new APIPromise($
|
|
76037
|
+
return new APIPromise($do100(client, request, options));
|
|
75444
76038
|
}
|
|
75445
|
-
async function $
|
|
76039
|
+
async function $do100(client, request, options) {
|
|
75446
76040
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75447
76041
|
if (!parsed.ok) {
|
|
75448
76042
|
return [parsed, { status: "invalid" }];
|
|
@@ -75524,12 +76118,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
75524
76118
|
});
|
|
75525
76119
|
|
|
75526
76120
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
75527
|
-
var
|
|
76121
|
+
var args100, tool$paymentLinksGet;
|
|
75528
76122
|
var init_paymentLinksGet2 = __esm(() => {
|
|
75529
76123
|
init_paymentLinksGet();
|
|
75530
76124
|
init_operations();
|
|
75531
76125
|
init_tools();
|
|
75532
|
-
|
|
76126
|
+
args100 = {
|
|
75533
76127
|
request: GetPaymentLinkRequest$inboundSchema
|
|
75534
76128
|
};
|
|
75535
76129
|
tool$paymentLinksGet = {
|
|
@@ -75538,9 +76132,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
75538
76132
|
|
|
75539
76133
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75540
76134
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75541
|
-
args:
|
|
75542
|
-
tool: async (client,
|
|
75543
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
76135
|
+
args: args100,
|
|
76136
|
+
tool: async (client, args101, ctx) => {
|
|
76137
|
+
const [result, apiCall] = await paymentLinksGet(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75544
76138
|
if (!result.ok) {
|
|
75545
76139
|
return {
|
|
75546
76140
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75555,9 +76149,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75555
76149
|
|
|
75556
76150
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
75557
76151
|
function paymentLinksGetQRCode(client, request, options) {
|
|
75558
|
-
return new APIPromise($
|
|
76152
|
+
return new APIPromise($do101(client, request, options));
|
|
75559
76153
|
}
|
|
75560
|
-
async function $
|
|
76154
|
+
async function $do101(client, request, options) {
|
|
75561
76155
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75562
76156
|
if (!parsed.ok) {
|
|
75563
76157
|
return [parsed, { status: "invalid" }];
|
|
@@ -75643,12 +76237,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
75643
76237
|
});
|
|
75644
76238
|
|
|
75645
76239
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
75646
|
-
var
|
|
76240
|
+
var args101, tool$paymentLinksGetQRCode;
|
|
75647
76241
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
75648
76242
|
init_paymentLinksGetQRCode();
|
|
75649
76243
|
init_operations();
|
|
75650
76244
|
init_tools();
|
|
75651
|
-
|
|
76245
|
+
args101 = {
|
|
75652
76246
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
75653
76247
|
};
|
|
75654
76248
|
tool$paymentLinksGetQRCode = {
|
|
@@ -75659,9 +76253,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
75659
76253
|
|
|
75660
76254
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75661
76255
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75662
|
-
args:
|
|
75663
|
-
tool: async (client,
|
|
75664
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
76256
|
+
args: args101,
|
|
76257
|
+
tool: async (client, args102, ctx) => {
|
|
76258
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75665
76259
|
if (!result.ok) {
|
|
75666
76260
|
return {
|
|
75667
76261
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75676,9 +76270,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75676
76270
|
|
|
75677
76271
|
// src/funcs/paymentLinksList.ts
|
|
75678
76272
|
function paymentLinksList(client, request, options) {
|
|
75679
|
-
return new APIPromise($
|
|
76273
|
+
return new APIPromise($do102(client, request, options));
|
|
75680
76274
|
}
|
|
75681
|
-
async function $
|
|
76275
|
+
async function $do102(client, request, options) {
|
|
75682
76276
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75683
76277
|
if (!parsed.ok) {
|
|
75684
76278
|
return [parsed, { status: "invalid" }];
|
|
@@ -75756,12 +76350,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
75756
76350
|
});
|
|
75757
76351
|
|
|
75758
76352
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
75759
|
-
var
|
|
76353
|
+
var args102, tool$paymentLinksList;
|
|
75760
76354
|
var init_paymentLinksList2 = __esm(() => {
|
|
75761
76355
|
init_paymentLinksList();
|
|
75762
76356
|
init_operations();
|
|
75763
76357
|
init_tools();
|
|
75764
|
-
|
|
76358
|
+
args102 = {
|
|
75765
76359
|
request: ListPaymentLinksRequest$inboundSchema
|
|
75766
76360
|
};
|
|
75767
76361
|
tool$paymentLinksList = {
|
|
@@ -75770,9 +76364,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
75770
76364
|
|
|
75771
76365
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75772
76366
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75773
|
-
args:
|
|
75774
|
-
tool: async (client,
|
|
75775
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
76367
|
+
args: args102,
|
|
76368
|
+
tool: async (client, args103, ctx) => {
|
|
76369
|
+
const [result, apiCall] = await paymentLinksList(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75776
76370
|
if (!result.ok) {
|
|
75777
76371
|
return {
|
|
75778
76372
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75787,9 +76381,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75787
76381
|
|
|
75788
76382
|
// src/funcs/paymentLinksUpdate.ts
|
|
75789
76383
|
function paymentLinksUpdate(client, request, options) {
|
|
75790
|
-
return new APIPromise($
|
|
76384
|
+
return new APIPromise($do103(client, request, options));
|
|
75791
76385
|
}
|
|
75792
|
-
async function $
|
|
76386
|
+
async function $do103(client, request, options) {
|
|
75793
76387
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75794
76388
|
if (!parsed.ok) {
|
|
75795
76389
|
return [parsed, { status: "invalid" }];
|
|
@@ -75885,12 +76479,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
75885
76479
|
});
|
|
75886
76480
|
|
|
75887
76481
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
75888
|
-
var
|
|
76482
|
+
var args103, tool$paymentLinksUpdate;
|
|
75889
76483
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
75890
76484
|
init_paymentLinksUpdate();
|
|
75891
76485
|
init_operations();
|
|
75892
76486
|
init_tools();
|
|
75893
|
-
|
|
76487
|
+
args103 = {
|
|
75894
76488
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
75895
76489
|
};
|
|
75896
76490
|
tool$paymentLinksUpdate = {
|
|
@@ -75899,9 +76493,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
75899
76493
|
|
|
75900
76494
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75901
76495
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75902
|
-
args:
|
|
75903
|
-
tool: async (client,
|
|
75904
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
76496
|
+
args: args103,
|
|
76497
|
+
tool: async (client, args104, ctx) => {
|
|
76498
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75905
76499
|
if (!result.ok) {
|
|
75906
76500
|
return {
|
|
75907
76501
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75916,9 +76510,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75916
76510
|
|
|
75917
76511
|
// src/funcs/paymentMethodsGet.ts
|
|
75918
76512
|
function paymentMethodsGet(client, request, options) {
|
|
75919
|
-
return new APIPromise($
|
|
76513
|
+
return new APIPromise($do104(client, request, options));
|
|
75920
76514
|
}
|
|
75921
|
-
async function $
|
|
76515
|
+
async function $do104(client, request, options) {
|
|
75922
76516
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75923
76517
|
if (!parsed.ok) {
|
|
75924
76518
|
return [parsed, { status: "invalid" }];
|
|
@@ -76000,12 +76594,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
76000
76594
|
});
|
|
76001
76595
|
|
|
76002
76596
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
76003
|
-
var
|
|
76597
|
+
var args104, tool$paymentMethodsGet;
|
|
76004
76598
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
76005
76599
|
init_paymentMethodsGet();
|
|
76006
76600
|
init_operations();
|
|
76007
76601
|
init_tools();
|
|
76008
|
-
|
|
76602
|
+
args104 = {
|
|
76009
76603
|
request: GetPaymentMethodRequest$inboundSchema
|
|
76010
76604
|
};
|
|
76011
76605
|
tool$paymentMethodsGet = {
|
|
@@ -76014,9 +76608,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
76014
76608
|
|
|
76015
76609
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76016
76610
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
76017
|
-
args:
|
|
76018
|
-
tool: async (client,
|
|
76019
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
76611
|
+
args: args104,
|
|
76612
|
+
tool: async (client, args105, ctx) => {
|
|
76613
|
+
const [result, apiCall] = await paymentMethodsGet(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76020
76614
|
if (!result.ok) {
|
|
76021
76615
|
return {
|
|
76022
76616
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76031,9 +76625,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
76031
76625
|
|
|
76032
76626
|
// src/funcs/paymentMethodsList.ts
|
|
76033
76627
|
function paymentMethodsList(client, request, options) {
|
|
76034
|
-
return new APIPromise($
|
|
76628
|
+
return new APIPromise($do105(client, request, options));
|
|
76035
76629
|
}
|
|
76036
|
-
async function $
|
|
76630
|
+
async function $do105(client, request, options) {
|
|
76037
76631
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76038
76632
|
if (!parsed.ok) {
|
|
76039
76633
|
return [parsed, { status: "invalid" }];
|
|
@@ -76116,12 +76710,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
76116
76710
|
});
|
|
76117
76711
|
|
|
76118
76712
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
76119
|
-
var
|
|
76713
|
+
var args105, tool$paymentMethodsList;
|
|
76120
76714
|
var init_paymentMethodsList2 = __esm(() => {
|
|
76121
76715
|
init_paymentMethodsList();
|
|
76122
76716
|
init_operations();
|
|
76123
76717
|
init_tools();
|
|
76124
|
-
|
|
76718
|
+
args105 = {
|
|
76125
76719
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
76126
76720
|
};
|
|
76127
76721
|
tool$paymentMethodsList = {
|
|
@@ -76131,9 +76725,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
76131
76725
|
|
|
76132
76726
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76133
76727
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
76134
|
-
args:
|
|
76135
|
-
tool: async (client,
|
|
76136
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
76728
|
+
args: args105,
|
|
76729
|
+
tool: async (client, args106, ctx) => {
|
|
76730
|
+
const [result, apiCall] = await paymentMethodsList(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76137
76731
|
if (!result.ok) {
|
|
76138
76732
|
return {
|
|
76139
76733
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76148,9 +76742,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
76148
76742
|
|
|
76149
76743
|
// src/funcs/pingPing.ts
|
|
76150
76744
|
function pingPing(client, _request, options) {
|
|
76151
|
-
return new APIPromise($
|
|
76745
|
+
return new APIPromise($do106(client, _request, options));
|
|
76152
76746
|
}
|
|
76153
|
-
async function $
|
|
76747
|
+
async function $do106(client, _request, options) {
|
|
76154
76748
|
const path = pathToFunc("/ping")();
|
|
76155
76749
|
const headers = new Headers(compactMap({
|
|
76156
76750
|
Accept: "*/*",
|
|
@@ -76213,12 +76807,12 @@ var init_pingPing = __esm(() => {
|
|
|
76213
76807
|
});
|
|
76214
76808
|
|
|
76215
76809
|
// src/mcp-server/tools/pingPing.ts
|
|
76216
|
-
var
|
|
76810
|
+
var args106, tool$pingPing;
|
|
76217
76811
|
var init_pingPing2 = __esm(() => {
|
|
76218
76812
|
init_pingPing();
|
|
76219
76813
|
init_operations();
|
|
76220
76814
|
init_tools();
|
|
76221
|
-
|
|
76815
|
+
args106 = {
|
|
76222
76816
|
request: PingRequest$inboundSchema
|
|
76223
76817
|
};
|
|
76224
76818
|
tool$pingPing = {
|
|
@@ -76227,9 +76821,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
76227
76821
|
|
|
76228
76822
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76229
76823
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
76230
|
-
args:
|
|
76231
|
-
tool: async (client,
|
|
76232
|
-
const [result, apiCall] = await pingPing(client,
|
|
76824
|
+
args: args106,
|
|
76825
|
+
tool: async (client, args107, ctx) => {
|
|
76826
|
+
const [result, apiCall] = await pingPing(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76233
76827
|
if (!result.ok) {
|
|
76234
76828
|
return {
|
|
76235
76829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76243,9 +76837,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
76243
76837
|
|
|
76244
76838
|
// src/funcs/productsCreate.ts
|
|
76245
76839
|
function productsCreate(client, request, options) {
|
|
76246
|
-
return new APIPromise($
|
|
76840
|
+
return new APIPromise($do107(client, request, options));
|
|
76247
76841
|
}
|
|
76248
|
-
async function $
|
|
76842
|
+
async function $do107(client, request, options) {
|
|
76249
76843
|
const parsed = safeParse(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76250
76844
|
if (!parsed.ok) {
|
|
76251
76845
|
return [parsed, { status: "invalid" }];
|
|
@@ -76339,20 +76933,20 @@ var init_productsCreate = __esm(() => {
|
|
|
76339
76933
|
});
|
|
76340
76934
|
|
|
76341
76935
|
// src/mcp-server/tools/productsCreate.ts
|
|
76342
|
-
var
|
|
76936
|
+
var args107, tool$productsCreate;
|
|
76343
76937
|
var init_productsCreate2 = __esm(() => {
|
|
76344
76938
|
init_productsCreate();
|
|
76345
76939
|
init_operations();
|
|
76346
76940
|
init_tools();
|
|
76347
|
-
|
|
76941
|
+
args107 = {
|
|
76348
76942
|
request: CreateProductRequest$inboundSchema
|
|
76349
76943
|
};
|
|
76350
76944
|
tool$productsCreate = {
|
|
76351
76945
|
name: "products-create",
|
|
76352
76946
|
description: `Creates a new product for the specified account.`,
|
|
76353
|
-
args:
|
|
76354
|
-
tool: async (client,
|
|
76355
|
-
const [result, apiCall] = await productsCreate(client,
|
|
76947
|
+
args: args107,
|
|
76948
|
+
tool: async (client, args108, ctx) => {
|
|
76949
|
+
const [result, apiCall] = await productsCreate(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76356
76950
|
if (!result.ok) {
|
|
76357
76951
|
return {
|
|
76358
76952
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76367,9 +76961,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
76367
76961
|
|
|
76368
76962
|
// src/funcs/productsDisable.ts
|
|
76369
76963
|
function productsDisable(client, request, options) {
|
|
76370
|
-
return new APIPromise($
|
|
76964
|
+
return new APIPromise($do108(client, request, options));
|
|
76371
76965
|
}
|
|
76372
|
-
async function $
|
|
76966
|
+
async function $do108(client, request, options) {
|
|
76373
76967
|
const parsed = safeParse(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76374
76968
|
if (!parsed.ok) {
|
|
76375
76969
|
return [parsed, { status: "invalid" }];
|
|
@@ -76462,12 +77056,12 @@ var init_productsDisable = __esm(() => {
|
|
|
76462
77056
|
});
|
|
76463
77057
|
|
|
76464
77058
|
// src/mcp-server/tools/productsDisable.ts
|
|
76465
|
-
var
|
|
77059
|
+
var args108, tool$productsDisable;
|
|
76466
77060
|
var init_productsDisable2 = __esm(() => {
|
|
76467
77061
|
init_productsDisable();
|
|
76468
77062
|
init_operations();
|
|
76469
77063
|
init_tools();
|
|
76470
|
-
|
|
77064
|
+
args108 = {
|
|
76471
77065
|
request: DisableProductRequest$inboundSchema
|
|
76472
77066
|
};
|
|
76473
77067
|
tool$productsDisable = {
|
|
@@ -76475,9 +77069,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
76475
77069
|
description: `Disable a product by ID.
|
|
76476
77070
|
|
|
76477
77071
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
76478
|
-
args:
|
|
76479
|
-
tool: async (client,
|
|
76480
|
-
const [result, apiCall] = await productsDisable(client,
|
|
77072
|
+
args: args108,
|
|
77073
|
+
tool: async (client, args109, ctx) => {
|
|
77074
|
+
const [result, apiCall] = await productsDisable(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76481
77075
|
if (!result.ok) {
|
|
76482
77076
|
return {
|
|
76483
77077
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76491,9 +77085,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
76491
77085
|
|
|
76492
77086
|
// src/funcs/productsGet.ts
|
|
76493
77087
|
function productsGet(client, request, options) {
|
|
76494
|
-
return new APIPromise($
|
|
77088
|
+
return new APIPromise($do109(client, request, options));
|
|
76495
77089
|
}
|
|
76496
|
-
async function $
|
|
77090
|
+
async function $do109(client, request, options) {
|
|
76497
77091
|
const parsed = safeParse(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76498
77092
|
if (!parsed.ok) {
|
|
76499
77093
|
return [parsed, { status: "invalid" }];
|
|
@@ -76575,20 +77169,20 @@ var init_productsGet = __esm(() => {
|
|
|
76575
77169
|
});
|
|
76576
77170
|
|
|
76577
77171
|
// src/mcp-server/tools/productsGet.ts
|
|
76578
|
-
var
|
|
77172
|
+
var args109, tool$productsGet;
|
|
76579
77173
|
var init_productsGet2 = __esm(() => {
|
|
76580
77174
|
init_productsGet();
|
|
76581
77175
|
init_operations();
|
|
76582
77176
|
init_tools();
|
|
76583
|
-
|
|
77177
|
+
args109 = {
|
|
76584
77178
|
request: GetProductRequest$inboundSchema
|
|
76585
77179
|
};
|
|
76586
77180
|
tool$productsGet = {
|
|
76587
77181
|
name: "products-get",
|
|
76588
77182
|
description: `Retrieve a product by ID.`,
|
|
76589
|
-
args:
|
|
76590
|
-
tool: async (client,
|
|
76591
|
-
const [result, apiCall] = await productsGet(client,
|
|
77183
|
+
args: args109,
|
|
77184
|
+
tool: async (client, args110, ctx) => {
|
|
77185
|
+
const [result, apiCall] = await productsGet(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76592
77186
|
if (!result.ok) {
|
|
76593
77187
|
return {
|
|
76594
77188
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76603,9 +77197,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
76603
77197
|
|
|
76604
77198
|
// src/funcs/productsList.ts
|
|
76605
77199
|
function productsList(client, request, options) {
|
|
76606
|
-
return new APIPromise($
|
|
77200
|
+
return new APIPromise($do110(client, request, options));
|
|
76607
77201
|
}
|
|
76608
|
-
async function $
|
|
77202
|
+
async function $do110(client, request, options) {
|
|
76609
77203
|
const parsed = safeParse(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76610
77204
|
if (!parsed.ok) {
|
|
76611
77205
|
return [parsed, { status: "invalid" }];
|
|
@@ -76688,20 +77282,20 @@ var init_productsList = __esm(() => {
|
|
|
76688
77282
|
});
|
|
76689
77283
|
|
|
76690
77284
|
// src/mcp-server/tools/productsList.ts
|
|
76691
|
-
var
|
|
77285
|
+
var args110, tool$productsList;
|
|
76692
77286
|
var init_productsList2 = __esm(() => {
|
|
76693
77287
|
init_productsList();
|
|
76694
77288
|
init_operations();
|
|
76695
77289
|
init_tools();
|
|
76696
|
-
|
|
77290
|
+
args110 = {
|
|
76697
77291
|
request: ListProductsRequest$inboundSchema
|
|
76698
77292
|
};
|
|
76699
77293
|
tool$productsList = {
|
|
76700
77294
|
name: "products-list",
|
|
76701
77295
|
description: `List active (non-disabled) products for an account.`,
|
|
76702
|
-
args:
|
|
76703
|
-
tool: async (client,
|
|
76704
|
-
const [result, apiCall] = await productsList(client,
|
|
77296
|
+
args: args110,
|
|
77297
|
+
tool: async (client, args111, ctx) => {
|
|
77298
|
+
const [result, apiCall] = await productsList(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76705
77299
|
if (!result.ok) {
|
|
76706
77300
|
return {
|
|
76707
77301
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76716,9 +77310,9 @@ var init_productsList2 = __esm(() => {
|
|
|
76716
77310
|
|
|
76717
77311
|
// src/funcs/productsUpdate.ts
|
|
76718
77312
|
function productsUpdate(client, request, options) {
|
|
76719
|
-
return new APIPromise($
|
|
77313
|
+
return new APIPromise($do111(client, request, options));
|
|
76720
77314
|
}
|
|
76721
|
-
async function $
|
|
77315
|
+
async function $do111(client, request, options) {
|
|
76722
77316
|
const parsed = safeParse(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76723
77317
|
if (!parsed.ok) {
|
|
76724
77318
|
return [parsed, { status: "invalid" }];
|
|
@@ -76816,20 +77410,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
76816
77410
|
});
|
|
76817
77411
|
|
|
76818
77412
|
// src/mcp-server/tools/productsUpdate.ts
|
|
76819
|
-
var
|
|
77413
|
+
var args111, tool$productsUpdate;
|
|
76820
77414
|
var init_productsUpdate2 = __esm(() => {
|
|
76821
77415
|
init_productsUpdate();
|
|
76822
77416
|
init_operations();
|
|
76823
77417
|
init_tools();
|
|
76824
|
-
|
|
77418
|
+
args111 = {
|
|
76825
77419
|
request: UpdateProductRequest$inboundSchema
|
|
76826
77420
|
};
|
|
76827
77421
|
tool$productsUpdate = {
|
|
76828
77422
|
name: "products-update",
|
|
76829
77423
|
description: `Update a product and its options.`,
|
|
76830
|
-
args:
|
|
76831
|
-
tool: async (client,
|
|
76832
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
77424
|
+
args: args111,
|
|
77425
|
+
tool: async (client, args112, ctx) => {
|
|
77426
|
+
const [result, apiCall] = await productsUpdate(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76833
77427
|
if (!result.ok) {
|
|
76834
77428
|
return {
|
|
76835
77429
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76844,9 +77438,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
76844
77438
|
|
|
76845
77439
|
// src/funcs/receiptsCreate.ts
|
|
76846
77440
|
function receiptsCreate(client, request, options) {
|
|
76847
|
-
return new APIPromise($
|
|
77441
|
+
return new APIPromise($do112(client, request, options));
|
|
76848
77442
|
}
|
|
76849
|
-
async function $
|
|
77443
|
+
async function $do112(client, request, options) {
|
|
76850
77444
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
76851
77445
|
if (!parsed.ok) {
|
|
76852
77446
|
return [parsed, { status: "invalid" }];
|
|
@@ -76934,13 +77528,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
76934
77528
|
});
|
|
76935
77529
|
|
|
76936
77530
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
76937
|
-
var
|
|
77531
|
+
var args112, tool$receiptsCreate;
|
|
76938
77532
|
var init_receiptsCreate2 = __esm(() => {
|
|
76939
77533
|
init_esm();
|
|
76940
77534
|
init_receiptsCreate();
|
|
76941
77535
|
init_components();
|
|
76942
77536
|
init_tools();
|
|
76943
|
-
|
|
77537
|
+
args112 = {
|
|
76944
77538
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
76945
77539
|
};
|
|
76946
77540
|
tool$receiptsCreate = {
|
|
@@ -76949,9 +77543,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76949
77543
|
|
|
76950
77544
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76951
77545
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
76952
|
-
args:
|
|
76953
|
-
tool: async (client,
|
|
76954
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
77546
|
+
args: args112,
|
|
77547
|
+
tool: async (client, args113, ctx) => {
|
|
77548
|
+
const [result, apiCall] = await receiptsCreate(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76955
77549
|
if (!result.ok) {
|
|
76956
77550
|
return {
|
|
76957
77551
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76966,9 +77560,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76966
77560
|
|
|
76967
77561
|
// src/funcs/receiptsList.ts
|
|
76968
77562
|
function receiptsList(client, request, options) {
|
|
76969
|
-
return new APIPromise($
|
|
77563
|
+
return new APIPromise($do113(client, request, options));
|
|
76970
77564
|
}
|
|
76971
|
-
async function $
|
|
77565
|
+
async function $do113(client, request, options) {
|
|
76972
77566
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76973
77567
|
if (!parsed.ok) {
|
|
76974
77568
|
return [parsed, { status: "invalid" }];
|
|
@@ -77044,12 +77638,12 @@ var init_receiptsList = __esm(() => {
|
|
|
77044
77638
|
});
|
|
77045
77639
|
|
|
77046
77640
|
// src/mcp-server/tools/receiptsList.ts
|
|
77047
|
-
var
|
|
77641
|
+
var args113, tool$receiptsList;
|
|
77048
77642
|
var init_receiptsList2 = __esm(() => {
|
|
77049
77643
|
init_receiptsList();
|
|
77050
77644
|
init_operations();
|
|
77051
77645
|
init_tools();
|
|
77052
|
-
|
|
77646
|
+
args113 = {
|
|
77053
77647
|
request: ListReceiptsRequest$inboundSchema
|
|
77054
77648
|
};
|
|
77055
77649
|
tool$receiptsList = {
|
|
@@ -77058,9 +77652,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
77058
77652
|
|
|
77059
77653
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77060
77654
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77061
|
-
args:
|
|
77062
|
-
tool: async (client,
|
|
77063
|
-
const [result, apiCall] = await receiptsList(client,
|
|
77655
|
+
args: args113,
|
|
77656
|
+
tool: async (client, args114, ctx) => {
|
|
77657
|
+
const [result, apiCall] = await receiptsList(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77064
77658
|
if (!result.ok) {
|
|
77065
77659
|
return {
|
|
77066
77660
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77075,9 +77669,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77075
77669
|
|
|
77076
77670
|
// src/funcs/representativesCreate.ts
|
|
77077
77671
|
function representativesCreate(client, request, options) {
|
|
77078
|
-
return new APIPromise($
|
|
77672
|
+
return new APIPromise($do114(client, request, options));
|
|
77079
77673
|
}
|
|
77080
|
-
async function $
|
|
77674
|
+
async function $do114(client, request, options) {
|
|
77081
77675
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77082
77676
|
if (!parsed.ok) {
|
|
77083
77677
|
return [parsed, { status: "invalid" }];
|
|
@@ -77173,12 +77767,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
77173
77767
|
});
|
|
77174
77768
|
|
|
77175
77769
|
// src/mcp-server/tools/representativesCreate.ts
|
|
77176
|
-
var
|
|
77770
|
+
var args114, tool$representativesCreate;
|
|
77177
77771
|
var init_representativesCreate2 = __esm(() => {
|
|
77178
77772
|
init_representativesCreate();
|
|
77179
77773
|
init_operations();
|
|
77180
77774
|
init_tools();
|
|
77181
|
-
|
|
77775
|
+
args114 = {
|
|
77182
77776
|
request: CreateRepresentativeRequest$inboundSchema
|
|
77183
77777
|
};
|
|
77184
77778
|
tool$representativesCreate = {
|
|
@@ -77189,9 +77783,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
77189
77783
|
|
|
77190
77784
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77191
77785
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
77192
|
-
args:
|
|
77193
|
-
tool: async (client,
|
|
77194
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
77786
|
+
args: args114,
|
|
77787
|
+
tool: async (client, args115, ctx) => {
|
|
77788
|
+
const [result, apiCall] = await representativesCreate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77195
77789
|
if (!result.ok) {
|
|
77196
77790
|
return {
|
|
77197
77791
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77206,9 +77800,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
77206
77800
|
|
|
77207
77801
|
// src/funcs/representativesDelete.ts
|
|
77208
77802
|
function representativesDelete(client, request, options) {
|
|
77209
|
-
return new APIPromise($
|
|
77803
|
+
return new APIPromise($do115(client, request, options));
|
|
77210
77804
|
}
|
|
77211
|
-
async function $
|
|
77805
|
+
async function $do115(client, request, options) {
|
|
77212
77806
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77213
77807
|
if (!parsed.ok) {
|
|
77214
77808
|
return [parsed, { status: "invalid" }];
|
|
@@ -77296,12 +77890,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
77296
77890
|
});
|
|
77297
77891
|
|
|
77298
77892
|
// src/mcp-server/tools/representativesDelete.ts
|
|
77299
|
-
var
|
|
77893
|
+
var args115, tool$representativesDelete;
|
|
77300
77894
|
var init_representativesDelete2 = __esm(() => {
|
|
77301
77895
|
init_representativesDelete();
|
|
77302
77896
|
init_operations();
|
|
77303
77897
|
init_tools();
|
|
77304
|
-
|
|
77898
|
+
args115 = {
|
|
77305
77899
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
77306
77900
|
};
|
|
77307
77901
|
tool$representativesDelete = {
|
|
@@ -77310,9 +77904,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
77310
77904
|
|
|
77311
77905
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77312
77906
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
77313
|
-
args:
|
|
77314
|
-
tool: async (client,
|
|
77315
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
77907
|
+
args: args115,
|
|
77908
|
+
tool: async (client, args116, ctx) => {
|
|
77909
|
+
const [result, apiCall] = await representativesDelete(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77316
77910
|
if (!result.ok) {
|
|
77317
77911
|
return {
|
|
77318
77912
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77326,9 +77920,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
77326
77920
|
|
|
77327
77921
|
// src/funcs/representativesGet.ts
|
|
77328
77922
|
function representativesGet(client, request, options) {
|
|
77329
|
-
return new APIPromise($
|
|
77923
|
+
return new APIPromise($do116(client, request, options));
|
|
77330
77924
|
}
|
|
77331
|
-
async function $
|
|
77925
|
+
async function $do116(client, request, options) {
|
|
77332
77926
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77333
77927
|
if (!parsed.ok) {
|
|
77334
77928
|
return [parsed, { status: "invalid" }];
|
|
@@ -77407,12 +78001,12 @@ var init_representativesGet = __esm(() => {
|
|
|
77407
78001
|
});
|
|
77408
78002
|
|
|
77409
78003
|
// src/mcp-server/tools/representativesGet.ts
|
|
77410
|
-
var
|
|
78004
|
+
var args116, tool$representativesGet;
|
|
77411
78005
|
var init_representativesGet2 = __esm(() => {
|
|
77412
78006
|
init_representativesGet();
|
|
77413
78007
|
init_operations();
|
|
77414
78008
|
init_tools();
|
|
77415
|
-
|
|
78009
|
+
args116 = {
|
|
77416
78010
|
request: GetRepresentativeRequest$inboundSchema
|
|
77417
78011
|
};
|
|
77418
78012
|
tool$representativesGet = {
|
|
@@ -77421,9 +78015,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
77421
78015
|
|
|
77422
78016
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77423
78017
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
77424
|
-
args:
|
|
77425
|
-
tool: async (client,
|
|
77426
|
-
const [result, apiCall] = await representativesGet(client,
|
|
78018
|
+
args: args116,
|
|
78019
|
+
tool: async (client, args117, ctx) => {
|
|
78020
|
+
const [result, apiCall] = await representativesGet(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77427
78021
|
if (!result.ok) {
|
|
77428
78022
|
return {
|
|
77429
78023
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77438,9 +78032,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
77438
78032
|
|
|
77439
78033
|
// src/funcs/representativesList.ts
|
|
77440
78034
|
function representativesList(client, request, options) {
|
|
77441
|
-
return new APIPromise($
|
|
78035
|
+
return new APIPromise($do117(client, request, options));
|
|
77442
78036
|
}
|
|
77443
|
-
async function $
|
|
78037
|
+
async function $do117(client, request, options) {
|
|
77444
78038
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77445
78039
|
if (!parsed.ok) {
|
|
77446
78040
|
return [parsed, { status: "invalid" }];
|
|
@@ -77518,12 +78112,12 @@ var init_representativesList = __esm(() => {
|
|
|
77518
78112
|
});
|
|
77519
78113
|
|
|
77520
78114
|
// src/mcp-server/tools/representativesList.ts
|
|
77521
|
-
var
|
|
78115
|
+
var args117, tool$representativesList;
|
|
77522
78116
|
var init_representativesList2 = __esm(() => {
|
|
77523
78117
|
init_representativesList();
|
|
77524
78118
|
init_operations();
|
|
77525
78119
|
init_tools();
|
|
77526
|
-
|
|
78120
|
+
args117 = {
|
|
77527
78121
|
request: ListRepresentativesRequest$inboundSchema
|
|
77528
78122
|
};
|
|
77529
78123
|
tool$representativesList = {
|
|
@@ -77535,9 +78129,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
77535
78129
|
|
|
77536
78130
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77537
78131
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
77538
|
-
args:
|
|
77539
|
-
tool: async (client,
|
|
77540
|
-
const [result, apiCall] = await representativesList(client,
|
|
78132
|
+
args: args117,
|
|
78133
|
+
tool: async (client, args118, ctx) => {
|
|
78134
|
+
const [result, apiCall] = await representativesList(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77541
78135
|
if (!result.ok) {
|
|
77542
78136
|
return {
|
|
77543
78137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77552,9 +78146,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
77552
78146
|
|
|
77553
78147
|
// src/funcs/representativesUpdate.ts
|
|
77554
78148
|
function representativesUpdate(client, request, options) {
|
|
77555
|
-
return new APIPromise($
|
|
78149
|
+
return new APIPromise($do118(client, request, options));
|
|
77556
78150
|
}
|
|
77557
|
-
async function $
|
|
78151
|
+
async function $do118(client, request, options) {
|
|
77558
78152
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77559
78153
|
if (!parsed.ok) {
|
|
77560
78154
|
return [parsed, { status: "invalid" }];
|
|
@@ -77648,12 +78242,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
77648
78242
|
});
|
|
77649
78243
|
|
|
77650
78244
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
77651
|
-
var
|
|
78245
|
+
var args118, tool$representativesUpdate;
|
|
77652
78246
|
var init_representativesUpdate2 = __esm(() => {
|
|
77653
78247
|
init_representativesUpdate();
|
|
77654
78248
|
init_operations();
|
|
77655
78249
|
init_tools();
|
|
77656
|
-
|
|
78250
|
+
args118 = {
|
|
77657
78251
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
77658
78252
|
};
|
|
77659
78253
|
tool$representativesUpdate = {
|
|
@@ -77675,9 +78269,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
77675
78269
|
|
|
77676
78270
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77677
78271
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
77678
|
-
args:
|
|
77679
|
-
tool: async (client,
|
|
77680
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
78272
|
+
args: args118,
|
|
78273
|
+
tool: async (client, args119, ctx) => {
|
|
78274
|
+
const [result, apiCall] = await representativesUpdate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77681
78275
|
if (!result.ok) {
|
|
77682
78276
|
return {
|
|
77683
78277
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77692,9 +78286,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
77692
78286
|
|
|
77693
78287
|
// src/funcs/schedulingCancel.ts
|
|
77694
78288
|
function schedulingCancel(client, request, options) {
|
|
77695
|
-
return new APIPromise($
|
|
78289
|
+
return new APIPromise($do119(client, request, options));
|
|
77696
78290
|
}
|
|
77697
|
-
async function $
|
|
78291
|
+
async function $do119(client, request, options) {
|
|
77698
78292
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77699
78293
|
if (!parsed.ok) {
|
|
77700
78294
|
return [parsed, { status: "invalid" }];
|
|
@@ -77787,12 +78381,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
77787
78381
|
});
|
|
77788
78382
|
|
|
77789
78383
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
77790
|
-
var
|
|
78384
|
+
var args119, tool$schedulingCancel;
|
|
77791
78385
|
var init_schedulingCancel2 = __esm(() => {
|
|
77792
78386
|
init_schedulingCancel();
|
|
77793
78387
|
init_operations();
|
|
77794
78388
|
init_tools();
|
|
77795
|
-
|
|
78389
|
+
args119 = {
|
|
77796
78390
|
request: CancelScheduleRequest$inboundSchema
|
|
77797
78391
|
};
|
|
77798
78392
|
tool$schedulingCancel = {
|
|
@@ -77801,9 +78395,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
77801
78395
|
|
|
77802
78396
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77803
78397
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77804
|
-
args:
|
|
77805
|
-
tool: async (client,
|
|
77806
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
78398
|
+
args: args119,
|
|
78399
|
+
tool: async (client, args120, ctx) => {
|
|
78400
|
+
const [result, apiCall] = await schedulingCancel(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77807
78401
|
if (!result.ok) {
|
|
77808
78402
|
return {
|
|
77809
78403
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77817,9 +78411,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77817
78411
|
|
|
77818
78412
|
// src/funcs/schedulingCreate.ts
|
|
77819
78413
|
function schedulingCreate(client, request, options) {
|
|
77820
|
-
return new APIPromise($
|
|
78414
|
+
return new APIPromise($do120(client, request, options));
|
|
77821
78415
|
}
|
|
77822
|
-
async function $
|
|
78416
|
+
async function $do120(client, request, options) {
|
|
77823
78417
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77824
78418
|
if (!parsed.ok) {
|
|
77825
78419
|
return [parsed, { status: "invalid" }];
|
|
@@ -77913,12 +78507,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
77913
78507
|
});
|
|
77914
78508
|
|
|
77915
78509
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
77916
|
-
var
|
|
78510
|
+
var args120, tool$schedulingCreate;
|
|
77917
78511
|
var init_schedulingCreate2 = __esm(() => {
|
|
77918
78512
|
init_schedulingCreate();
|
|
77919
78513
|
init_operations();
|
|
77920
78514
|
init_tools();
|
|
77921
|
-
|
|
78515
|
+
args120 = {
|
|
77922
78516
|
request: CreateScheduleRequest$inboundSchema
|
|
77923
78517
|
};
|
|
77924
78518
|
tool$schedulingCreate = {
|
|
@@ -77927,9 +78521,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
77927
78521
|
|
|
77928
78522
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77929
78523
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77930
|
-
args:
|
|
77931
|
-
tool: async (client,
|
|
77932
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
78524
|
+
args: args120,
|
|
78525
|
+
tool: async (client, args121, ctx) => {
|
|
78526
|
+
const [result, apiCall] = await schedulingCreate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77933
78527
|
if (!result.ok) {
|
|
77934
78528
|
return {
|
|
77935
78529
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77944,9 +78538,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77944
78538
|
|
|
77945
78539
|
// src/funcs/schedulingGet.ts
|
|
77946
78540
|
function schedulingGet(client, request, options) {
|
|
77947
|
-
return new APIPromise($
|
|
78541
|
+
return new APIPromise($do121(client, request, options));
|
|
77948
78542
|
}
|
|
77949
|
-
async function $
|
|
78543
|
+
async function $do121(client, request, options) {
|
|
77950
78544
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77951
78545
|
if (!parsed.ok) {
|
|
77952
78546
|
return [parsed, { status: "invalid" }];
|
|
@@ -78028,12 +78622,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
78028
78622
|
});
|
|
78029
78623
|
|
|
78030
78624
|
// src/mcp-server/tools/schedulingGet.ts
|
|
78031
|
-
var
|
|
78625
|
+
var args121, tool$schedulingGet;
|
|
78032
78626
|
var init_schedulingGet2 = __esm(() => {
|
|
78033
78627
|
init_schedulingGet();
|
|
78034
78628
|
init_operations();
|
|
78035
78629
|
init_tools();
|
|
78036
|
-
|
|
78630
|
+
args121 = {
|
|
78037
78631
|
request: GetSchedulesRequest$inboundSchema
|
|
78038
78632
|
};
|
|
78039
78633
|
tool$schedulingGet = {
|
|
@@ -78042,9 +78636,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
78042
78636
|
|
|
78043
78637
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78044
78638
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78045
|
-
args:
|
|
78046
|
-
tool: async (client,
|
|
78047
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
78639
|
+
args: args121,
|
|
78640
|
+
tool: async (client, args122, ctx) => {
|
|
78641
|
+
const [result, apiCall] = await schedulingGet(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78048
78642
|
if (!result.ok) {
|
|
78049
78643
|
return {
|
|
78050
78644
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78059,9 +78653,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78059
78653
|
|
|
78060
78654
|
// src/funcs/schedulingGetOccurrance.ts
|
|
78061
78655
|
function schedulingGetOccurrance(client, request, options) {
|
|
78062
|
-
return new APIPromise($
|
|
78656
|
+
return new APIPromise($do122(client, request, options));
|
|
78063
78657
|
}
|
|
78064
|
-
async function $
|
|
78658
|
+
async function $do122(client, request, options) {
|
|
78065
78659
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78066
78660
|
if (!parsed.ok) {
|
|
78067
78661
|
return [parsed, { status: "invalid" }];
|
|
@@ -78144,12 +78738,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
78144
78738
|
});
|
|
78145
78739
|
|
|
78146
78740
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
78147
|
-
var
|
|
78741
|
+
var args122, tool$schedulingGetOccurrance;
|
|
78148
78742
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
78149
78743
|
init_schedulingGetOccurrance();
|
|
78150
78744
|
init_operations();
|
|
78151
78745
|
init_tools();
|
|
78152
|
-
|
|
78746
|
+
args122 = {
|
|
78153
78747
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
78154
78748
|
};
|
|
78155
78749
|
tool$schedulingGetOccurrance = {
|
|
@@ -78158,9 +78752,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
78158
78752
|
|
|
78159
78753
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78160
78754
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78161
|
-
args:
|
|
78162
|
-
tool: async (client,
|
|
78163
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
78755
|
+
args: args122,
|
|
78756
|
+
tool: async (client, args123, ctx) => {
|
|
78757
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78164
78758
|
if (!result.ok) {
|
|
78165
78759
|
return {
|
|
78166
78760
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78175,9 +78769,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78175
78769
|
|
|
78176
78770
|
// src/funcs/schedulingList.ts
|
|
78177
78771
|
function schedulingList(client, request, options) {
|
|
78178
|
-
return new APIPromise($
|
|
78772
|
+
return new APIPromise($do123(client, request, options));
|
|
78179
78773
|
}
|
|
78180
|
-
async function $
|
|
78774
|
+
async function $do123(client, request, options) {
|
|
78181
78775
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78182
78776
|
if (!parsed.ok) {
|
|
78183
78777
|
return [parsed, { status: "invalid" }];
|
|
@@ -78261,12 +78855,12 @@ var init_schedulingList = __esm(() => {
|
|
|
78261
78855
|
});
|
|
78262
78856
|
|
|
78263
78857
|
// src/mcp-server/tools/schedulingList.ts
|
|
78264
|
-
var
|
|
78858
|
+
var args123, tool$schedulingList;
|
|
78265
78859
|
var init_schedulingList2 = __esm(() => {
|
|
78266
78860
|
init_schedulingList();
|
|
78267
78861
|
init_operations();
|
|
78268
78862
|
init_tools();
|
|
78269
|
-
|
|
78863
|
+
args123 = {
|
|
78270
78864
|
request: ListSchedulesRequest$inboundSchema
|
|
78271
78865
|
};
|
|
78272
78866
|
tool$schedulingList = {
|
|
@@ -78275,9 +78869,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
78275
78869
|
|
|
78276
78870
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78277
78871
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78278
|
-
args:
|
|
78279
|
-
tool: async (client,
|
|
78280
|
-
const [result, apiCall] = await schedulingList(client,
|
|
78872
|
+
args: args123,
|
|
78873
|
+
tool: async (client, args124, ctx) => {
|
|
78874
|
+
const [result, apiCall] = await schedulingList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78281
78875
|
if (!result.ok) {
|
|
78282
78876
|
return {
|
|
78283
78877
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78292,9 +78886,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78292
78886
|
|
|
78293
78887
|
// src/funcs/schedulingUpdate.ts
|
|
78294
78888
|
function schedulingUpdate(client, request, options) {
|
|
78295
|
-
return new APIPromise($
|
|
78889
|
+
return new APIPromise($do124(client, request, options));
|
|
78296
78890
|
}
|
|
78297
|
-
async function $
|
|
78891
|
+
async function $do124(client, request, options) {
|
|
78298
78892
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78299
78893
|
if (!parsed.ok) {
|
|
78300
78894
|
return [parsed, { status: "invalid" }];
|
|
@@ -78392,12 +78986,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
78392
78986
|
});
|
|
78393
78987
|
|
|
78394
78988
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
78395
|
-
var
|
|
78989
|
+
var args124, tool$schedulingUpdate;
|
|
78396
78990
|
var init_schedulingUpdate2 = __esm(() => {
|
|
78397
78991
|
init_schedulingUpdate();
|
|
78398
78992
|
init_operations();
|
|
78399
78993
|
init_tools();
|
|
78400
|
-
|
|
78994
|
+
args124 = {
|
|
78401
78995
|
request: UpdateScheduleRequest$inboundSchema
|
|
78402
78996
|
};
|
|
78403
78997
|
tool$schedulingUpdate = {
|
|
@@ -78406,9 +79000,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
78406
79000
|
|
|
78407
79001
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78408
79002
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78409
|
-
args:
|
|
78410
|
-
tool: async (client,
|
|
78411
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
79003
|
+
args: args124,
|
|
79004
|
+
tool: async (client, args125, ctx) => {
|
|
79005
|
+
const [result, apiCall] = await schedulingUpdate(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78412
79006
|
if (!result.ok) {
|
|
78413
79007
|
return {
|
|
78414
79008
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78423,9 +79017,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78423
79017
|
|
|
78424
79018
|
// src/funcs/statementsGet.ts
|
|
78425
79019
|
function statementsGet(client, request, options) {
|
|
78426
|
-
return new APIPromise($
|
|
79020
|
+
return new APIPromise($do125(client, request, options));
|
|
78427
79021
|
}
|
|
78428
|
-
async function $
|
|
79022
|
+
async function $do125(client, request, options) {
|
|
78429
79023
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78430
79024
|
if (!parsed.ok) {
|
|
78431
79025
|
return [parsed, { status: "invalid" }];
|
|
@@ -78511,12 +79105,12 @@ var init_statementsGet = __esm(() => {
|
|
|
78511
79105
|
});
|
|
78512
79106
|
|
|
78513
79107
|
// src/mcp-server/tools/statementsGet.ts
|
|
78514
|
-
var
|
|
79108
|
+
var args125, tool$statementsGet;
|
|
78515
79109
|
var init_statementsGet2 = __esm(() => {
|
|
78516
79110
|
init_statementsGet();
|
|
78517
79111
|
init_operations();
|
|
78518
79112
|
init_tools();
|
|
78519
|
-
|
|
79113
|
+
args125 = {
|
|
78520
79114
|
request: GetStatementRequest$inboundSchema
|
|
78521
79115
|
};
|
|
78522
79116
|
tool$statementsGet = {
|
|
@@ -78527,9 +79121,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
78527
79121
|
|
|
78528
79122
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78529
79123
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
78530
|
-
args:
|
|
78531
|
-
tool: async (client,
|
|
78532
|
-
const [result, apiCall] = await statementsGet(client,
|
|
79124
|
+
args: args125,
|
|
79125
|
+
tool: async (client, args126, ctx) => {
|
|
79126
|
+
const [result, apiCall] = await statementsGet(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78533
79127
|
if (!result.ok) {
|
|
78534
79128
|
return {
|
|
78535
79129
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78544,9 +79138,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
78544
79138
|
|
|
78545
79139
|
// src/funcs/statementsList.ts
|
|
78546
79140
|
function statementsList(client, request, options) {
|
|
78547
|
-
return new APIPromise($
|
|
79141
|
+
return new APIPromise($do126(client, request, options));
|
|
78548
79142
|
}
|
|
78549
|
-
async function $
|
|
79143
|
+
async function $do126(client, request, options) {
|
|
78550
79144
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78551
79145
|
if (!parsed.ok) {
|
|
78552
79146
|
return [parsed, { status: "invalid" }];
|
|
@@ -78632,12 +79226,12 @@ var init_statementsList = __esm(() => {
|
|
|
78632
79226
|
});
|
|
78633
79227
|
|
|
78634
79228
|
// src/mcp-server/tools/statementsList.ts
|
|
78635
|
-
var
|
|
79229
|
+
var args126, tool$statementsList;
|
|
78636
79230
|
var init_statementsList2 = __esm(() => {
|
|
78637
79231
|
init_statementsList();
|
|
78638
79232
|
init_operations();
|
|
78639
79233
|
init_tools();
|
|
78640
|
-
|
|
79234
|
+
args126 = {
|
|
78641
79235
|
request: ListStatementsRequest$inboundSchema
|
|
78642
79236
|
};
|
|
78643
79237
|
tool$statementsList = {
|
|
@@ -78646,9 +79240,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
78646
79240
|
|
|
78647
79241
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78648
79242
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
78649
|
-
args:
|
|
78650
|
-
tool: async (client,
|
|
78651
|
-
const [result, apiCall] = await statementsList(client,
|
|
79243
|
+
args: args126,
|
|
79244
|
+
tool: async (client, args127, ctx) => {
|
|
79245
|
+
const [result, apiCall] = await statementsList(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78652
79246
|
if (!result.ok) {
|
|
78653
79247
|
return {
|
|
78654
79248
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78663,9 +79257,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
78663
79257
|
|
|
78664
79258
|
// src/funcs/supportCreateTicket.ts
|
|
78665
79259
|
function supportCreateTicket(client, request, options) {
|
|
78666
|
-
return new APIPromise($
|
|
79260
|
+
return new APIPromise($do127(client, request, options));
|
|
78667
79261
|
}
|
|
78668
|
-
async function $
|
|
79262
|
+
async function $do127(client, request, options) {
|
|
78669
79263
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78670
79264
|
if (!parsed.ok) {
|
|
78671
79265
|
return [parsed, { status: "invalid" }];
|
|
@@ -78757,12 +79351,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
78757
79351
|
});
|
|
78758
79352
|
|
|
78759
79353
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
78760
|
-
var
|
|
79354
|
+
var args127, tool$supportCreateTicket;
|
|
78761
79355
|
var init_supportCreateTicket2 = __esm(() => {
|
|
78762
79356
|
init_supportCreateTicket();
|
|
78763
79357
|
init_operations();
|
|
78764
79358
|
init_tools();
|
|
78765
|
-
|
|
79359
|
+
args127 = {
|
|
78766
79360
|
request: CreateTicketRequest$inboundSchema
|
|
78767
79361
|
};
|
|
78768
79362
|
tool$supportCreateTicket = {
|
|
@@ -78774,9 +79368,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
78774
79368
|
|
|
78775
79369
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
78776
79370
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78777
|
-
args:
|
|
78778
|
-
tool: async (client,
|
|
78779
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
79371
|
+
args: args127,
|
|
79372
|
+
tool: async (client, args128, ctx) => {
|
|
79373
|
+
const [result, apiCall] = await supportCreateTicket(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78780
79374
|
if (!result.ok) {
|
|
78781
79375
|
return {
|
|
78782
79376
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78791,9 +79385,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
78791
79385
|
|
|
78792
79386
|
// src/funcs/supportGetTicket.ts
|
|
78793
79387
|
function supportGetTicket(client, request, options) {
|
|
78794
|
-
return new APIPromise($
|
|
79388
|
+
return new APIPromise($do128(client, request, options));
|
|
78795
79389
|
}
|
|
78796
|
-
async function $
|
|
79390
|
+
async function $do128(client, request, options) {
|
|
78797
79391
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78798
79392
|
if (!parsed.ok) {
|
|
78799
79393
|
return [parsed, { status: "invalid" }];
|
|
@@ -78875,12 +79469,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
78875
79469
|
});
|
|
78876
79470
|
|
|
78877
79471
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
78878
|
-
var
|
|
79472
|
+
var args128, tool$supportGetTicket;
|
|
78879
79473
|
var init_supportGetTicket2 = __esm(() => {
|
|
78880
79474
|
init_supportGetTicket();
|
|
78881
79475
|
init_operations();
|
|
78882
79476
|
init_tools();
|
|
78883
|
-
|
|
79477
|
+
args128 = {
|
|
78884
79478
|
request: GetTicketRequest$inboundSchema
|
|
78885
79479
|
};
|
|
78886
79480
|
tool$supportGetTicket = {
|
|
@@ -78892,9 +79486,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78892
79486
|
|
|
78893
79487
|
If you're retrieving another account's ticket, then you'll need to
|
|
78894
79488
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78895
|
-
args:
|
|
78896
|
-
tool: async (client,
|
|
78897
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
79489
|
+
args: args128,
|
|
79490
|
+
tool: async (client, args129, ctx) => {
|
|
79491
|
+
const [result, apiCall] = await supportGetTicket(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78898
79492
|
if (!result.ok) {
|
|
78899
79493
|
return {
|
|
78900
79494
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78909,9 +79503,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78909
79503
|
|
|
78910
79504
|
// src/funcs/supportListTicketMessages.ts
|
|
78911
79505
|
function supportListTicketMessages(client, request, options) {
|
|
78912
|
-
return new APIPromise($
|
|
79506
|
+
return new APIPromise($do129(client, request, options));
|
|
78913
79507
|
}
|
|
78914
|
-
async function $
|
|
79508
|
+
async function $do129(client, request, options) {
|
|
78915
79509
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78916
79510
|
if (!parsed.ok) {
|
|
78917
79511
|
return [parsed, { status: "invalid" }];
|
|
@@ -78993,12 +79587,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
78993
79587
|
});
|
|
78994
79588
|
|
|
78995
79589
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
78996
|
-
var
|
|
79590
|
+
var args129, tool$supportListTicketMessages;
|
|
78997
79591
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
78998
79592
|
init_supportListTicketMessages();
|
|
78999
79593
|
init_operations();
|
|
79000
79594
|
init_tools();
|
|
79001
|
-
|
|
79595
|
+
args129 = {
|
|
79002
79596
|
request: ListTicketMessagesRequest$inboundSchema
|
|
79003
79597
|
};
|
|
79004
79598
|
tool$supportListTicketMessages = {
|
|
@@ -79010,9 +79604,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
79010
79604
|
|
|
79011
79605
|
If you're listing another account's messages, then you'll need to
|
|
79012
79606
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
79013
|
-
args:
|
|
79014
|
-
tool: async (client,
|
|
79015
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
79607
|
+
args: args129,
|
|
79608
|
+
tool: async (client, args130, ctx) => {
|
|
79609
|
+
const [result, apiCall] = await supportListTicketMessages(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79016
79610
|
if (!result.ok) {
|
|
79017
79611
|
return {
|
|
79018
79612
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79027,9 +79621,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
79027
79621
|
|
|
79028
79622
|
// src/funcs/supportListTickets.ts
|
|
79029
79623
|
function supportListTickets(client, request, options) {
|
|
79030
|
-
return new APIPromise($
|
|
79624
|
+
return new APIPromise($do130(client, request, options));
|
|
79031
79625
|
}
|
|
79032
|
-
async function $
|
|
79626
|
+
async function $do130(client, request, options) {
|
|
79033
79627
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79034
79628
|
if (!parsed.ok) {
|
|
79035
79629
|
return [parsed, { status: "invalid" }];
|
|
@@ -79114,12 +79708,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
79114
79708
|
});
|
|
79115
79709
|
|
|
79116
79710
|
// src/mcp-server/tools/supportListTickets.ts
|
|
79117
|
-
var
|
|
79711
|
+
var args130, tool$supportListTickets;
|
|
79118
79712
|
var init_supportListTickets2 = __esm(() => {
|
|
79119
79713
|
init_supportListTickets();
|
|
79120
79714
|
init_operations();
|
|
79121
79715
|
init_tools();
|
|
79122
|
-
|
|
79716
|
+
args130 = {
|
|
79123
79717
|
request: ListTicketsRequest$inboundSchema
|
|
79124
79718
|
};
|
|
79125
79719
|
tool$supportListTickets = {
|
|
@@ -79131,9 +79725,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
79131
79725
|
|
|
79132
79726
|
If you're listing another account's tickets, then you'll need to
|
|
79133
79727
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
79134
|
-
args:
|
|
79135
|
-
tool: async (client,
|
|
79136
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
79728
|
+
args: args130,
|
|
79729
|
+
tool: async (client, args131, ctx) => {
|
|
79730
|
+
const [result, apiCall] = await supportListTickets(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79137
79731
|
if (!result.ok) {
|
|
79138
79732
|
return {
|
|
79139
79733
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79148,9 +79742,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
79148
79742
|
|
|
79149
79743
|
// src/funcs/supportUpdateTicket.ts
|
|
79150
79744
|
function supportUpdateTicket(client, request, options) {
|
|
79151
|
-
return new APIPromise($
|
|
79745
|
+
return new APIPromise($do131(client, request, options));
|
|
79152
79746
|
}
|
|
79153
|
-
async function $
|
|
79747
|
+
async function $do131(client, request, options) {
|
|
79154
79748
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79155
79749
|
if (!parsed.ok) {
|
|
79156
79750
|
return [parsed, { status: "invalid" }];
|
|
@@ -79246,12 +79840,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
79246
79840
|
});
|
|
79247
79841
|
|
|
79248
79842
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
79249
|
-
var
|
|
79843
|
+
var args131, tool$supportUpdateTicket;
|
|
79250
79844
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
79251
79845
|
init_supportUpdateTicket();
|
|
79252
79846
|
init_operations();
|
|
79253
79847
|
init_tools();
|
|
79254
|
-
|
|
79848
|
+
args131 = {
|
|
79255
79849
|
request: UpdateTicketRequest$inboundSchema
|
|
79256
79850
|
};
|
|
79257
79851
|
tool$supportUpdateTicket = {
|
|
@@ -79263,9 +79857,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
79263
79857
|
|
|
79264
79858
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
79265
79859
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
79266
|
-
args:
|
|
79267
|
-
tool: async (client,
|
|
79268
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
79860
|
+
args: args131,
|
|
79861
|
+
tool: async (client, args132, ctx) => {
|
|
79862
|
+
const [result, apiCall] = await supportUpdateTicket(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79269
79863
|
if (!result.ok) {
|
|
79270
79864
|
return {
|
|
79271
79865
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79280,9 +79874,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
79280
79874
|
|
|
79281
79875
|
// src/funcs/sweepsCreateConfig.ts
|
|
79282
79876
|
function sweepsCreateConfig(client, request, options) {
|
|
79283
|
-
return new APIPromise($
|
|
79877
|
+
return new APIPromise($do132(client, request, options));
|
|
79284
79878
|
}
|
|
79285
|
-
async function $
|
|
79879
|
+
async function $do132(client, request, options) {
|
|
79286
79880
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79287
79881
|
if (!parsed.ok) {
|
|
79288
79882
|
return [parsed, { status: "invalid" }];
|
|
@@ -79374,12 +79968,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
79374
79968
|
});
|
|
79375
79969
|
|
|
79376
79970
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
79377
|
-
var
|
|
79971
|
+
var args132, tool$sweepsCreateConfig;
|
|
79378
79972
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
79379
79973
|
init_sweepsCreateConfig();
|
|
79380
79974
|
init_operations();
|
|
79381
79975
|
init_tools();
|
|
79382
|
-
|
|
79976
|
+
args132 = {
|
|
79383
79977
|
request: CreateSweepConfigRequest$inboundSchema
|
|
79384
79978
|
};
|
|
79385
79979
|
tool$sweepsCreateConfig = {
|
|
@@ -79388,9 +79982,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
79388
79982
|
|
|
79389
79983
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79390
79984
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79391
|
-
args:
|
|
79392
|
-
tool: async (client,
|
|
79393
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
79985
|
+
args: args132,
|
|
79986
|
+
tool: async (client, args133, ctx) => {
|
|
79987
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79394
79988
|
if (!result.ok) {
|
|
79395
79989
|
return {
|
|
79396
79990
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79405,9 +79999,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79405
79999
|
|
|
79406
80000
|
// src/funcs/sweepsGet.ts
|
|
79407
80001
|
function sweepsGet(client, request, options) {
|
|
79408
|
-
return new APIPromise($
|
|
80002
|
+
return new APIPromise($do133(client, request, options));
|
|
79409
80003
|
}
|
|
79410
|
-
async function $
|
|
80004
|
+
async function $do133(client, request, options) {
|
|
79411
80005
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79412
80006
|
if (!parsed.ok) {
|
|
79413
80007
|
return [parsed, { status: "invalid" }];
|
|
@@ -79493,12 +80087,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
79493
80087
|
});
|
|
79494
80088
|
|
|
79495
80089
|
// src/mcp-server/tools/sweepsGet.ts
|
|
79496
|
-
var
|
|
80090
|
+
var args133, tool$sweepsGet;
|
|
79497
80091
|
var init_sweepsGet2 = __esm(() => {
|
|
79498
80092
|
init_sweepsGet();
|
|
79499
80093
|
init_operations();
|
|
79500
80094
|
init_tools();
|
|
79501
|
-
|
|
80095
|
+
args133 = {
|
|
79502
80096
|
request: GetSweepRequest$inboundSchema
|
|
79503
80097
|
};
|
|
79504
80098
|
tool$sweepsGet = {
|
|
@@ -79507,9 +80101,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
79507
80101
|
|
|
79508
80102
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79509
80103
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79510
|
-
args:
|
|
79511
|
-
tool: async (client,
|
|
79512
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
80104
|
+
args: args133,
|
|
80105
|
+
tool: async (client, args134, ctx) => {
|
|
80106
|
+
const [result, apiCall] = await sweepsGet(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79513
80107
|
if (!result.ok) {
|
|
79514
80108
|
return {
|
|
79515
80109
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79524,9 +80118,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79524
80118
|
|
|
79525
80119
|
// src/funcs/sweepsGetConfig.ts
|
|
79526
80120
|
function sweepsGetConfig(client, request, options) {
|
|
79527
|
-
return new APIPromise($
|
|
80121
|
+
return new APIPromise($do134(client, request, options));
|
|
79528
80122
|
}
|
|
79529
|
-
async function $
|
|
80123
|
+
async function $do134(client, request, options) {
|
|
79530
80124
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79531
80125
|
if (!parsed.ok) {
|
|
79532
80126
|
return [parsed, { status: "invalid" }];
|
|
@@ -79608,12 +80202,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
79608
80202
|
});
|
|
79609
80203
|
|
|
79610
80204
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
79611
|
-
var
|
|
80205
|
+
var args134, tool$sweepsGetConfig;
|
|
79612
80206
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
79613
80207
|
init_sweepsGetConfig();
|
|
79614
80208
|
init_operations();
|
|
79615
80209
|
init_tools();
|
|
79616
|
-
|
|
80210
|
+
args134 = {
|
|
79617
80211
|
request: GetSweepConfigRequest$inboundSchema
|
|
79618
80212
|
};
|
|
79619
80213
|
tool$sweepsGetConfig = {
|
|
@@ -79622,9 +80216,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
79622
80216
|
|
|
79623
80217
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79624
80218
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79625
|
-
args:
|
|
79626
|
-
tool: async (client,
|
|
79627
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
80219
|
+
args: args134,
|
|
80220
|
+
tool: async (client, args135, ctx) => {
|
|
80221
|
+
const [result, apiCall] = await sweepsGetConfig(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79628
80222
|
if (!result.ok) {
|
|
79629
80223
|
return {
|
|
79630
80224
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79639,9 +80233,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79639
80233
|
|
|
79640
80234
|
// src/funcs/sweepsList.ts
|
|
79641
80235
|
function sweepsList(client, request, options) {
|
|
79642
|
-
return new APIPromise($
|
|
80236
|
+
return new APIPromise($do135(client, request, options));
|
|
79643
80237
|
}
|
|
79644
|
-
async function $
|
|
80238
|
+
async function $do135(client, request, options) {
|
|
79645
80239
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79646
80240
|
if (!parsed.ok) {
|
|
79647
80241
|
return [parsed, { status: "invalid" }];
|
|
@@ -79730,12 +80324,12 @@ var init_sweepsList = __esm(() => {
|
|
|
79730
80324
|
});
|
|
79731
80325
|
|
|
79732
80326
|
// src/mcp-server/tools/sweepsList.ts
|
|
79733
|
-
var
|
|
80327
|
+
var args135, tool$sweepsList;
|
|
79734
80328
|
var init_sweepsList2 = __esm(() => {
|
|
79735
80329
|
init_sweepsList();
|
|
79736
80330
|
init_operations();
|
|
79737
80331
|
init_tools();
|
|
79738
|
-
|
|
80332
|
+
args135 = {
|
|
79739
80333
|
request: ListSweepsRequest$inboundSchema
|
|
79740
80334
|
};
|
|
79741
80335
|
tool$sweepsList = {
|
|
@@ -79744,9 +80338,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
79744
80338
|
|
|
79745
80339
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79746
80340
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79747
|
-
args:
|
|
79748
|
-
tool: async (client,
|
|
79749
|
-
const [result, apiCall] = await sweepsList(client,
|
|
80341
|
+
args: args135,
|
|
80342
|
+
tool: async (client, args136, ctx) => {
|
|
80343
|
+
const [result, apiCall] = await sweepsList(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79750
80344
|
if (!result.ok) {
|
|
79751
80345
|
return {
|
|
79752
80346
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79761,9 +80355,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79761
80355
|
|
|
79762
80356
|
// src/funcs/sweepsListConfigs.ts
|
|
79763
80357
|
function sweepsListConfigs(client, request, options) {
|
|
79764
|
-
return new APIPromise($
|
|
80358
|
+
return new APIPromise($do136(client, request, options));
|
|
79765
80359
|
}
|
|
79766
|
-
async function $
|
|
80360
|
+
async function $do136(client, request, options) {
|
|
79767
80361
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79768
80362
|
if (!parsed.ok) {
|
|
79769
80363
|
return [parsed, { status: "invalid" }];
|
|
@@ -79841,12 +80435,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
79841
80435
|
});
|
|
79842
80436
|
|
|
79843
80437
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
79844
|
-
var
|
|
80438
|
+
var args136, tool$sweepsListConfigs;
|
|
79845
80439
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
79846
80440
|
init_sweepsListConfigs();
|
|
79847
80441
|
init_operations();
|
|
79848
80442
|
init_tools();
|
|
79849
|
-
|
|
80443
|
+
args136 = {
|
|
79850
80444
|
request: ListSweepConfigsRequest$inboundSchema
|
|
79851
80445
|
};
|
|
79852
80446
|
tool$sweepsListConfigs = {
|
|
@@ -79855,9 +80449,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
79855
80449
|
|
|
79856
80450
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79857
80451
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79858
|
-
args:
|
|
79859
|
-
tool: async (client,
|
|
79860
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
80452
|
+
args: args136,
|
|
80453
|
+
tool: async (client, args137, ctx) => {
|
|
80454
|
+
const [result, apiCall] = await sweepsListConfigs(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79861
80455
|
if (!result.ok) {
|
|
79862
80456
|
return {
|
|
79863
80457
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79872,9 +80466,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79872
80466
|
|
|
79873
80467
|
// src/funcs/sweepsUpdateConfig.ts
|
|
79874
80468
|
function sweepsUpdateConfig(client, request, options) {
|
|
79875
|
-
return new APIPromise($
|
|
80469
|
+
return new APIPromise($do137(client, request, options));
|
|
79876
80470
|
}
|
|
79877
|
-
async function $
|
|
80471
|
+
async function $do137(client, request, options) {
|
|
79878
80472
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79879
80473
|
if (!parsed.ok) {
|
|
79880
80474
|
return [parsed, { status: "invalid" }];
|
|
@@ -79970,12 +80564,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
79970
80564
|
});
|
|
79971
80565
|
|
|
79972
80566
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
79973
|
-
var
|
|
80567
|
+
var args137, tool$sweepsUpdateConfig;
|
|
79974
80568
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
79975
80569
|
init_sweepsUpdateConfig();
|
|
79976
80570
|
init_operations();
|
|
79977
80571
|
init_tools();
|
|
79978
|
-
|
|
80572
|
+
args137 = {
|
|
79979
80573
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
79980
80574
|
};
|
|
79981
80575
|
tool$sweepsUpdateConfig = {
|
|
@@ -79984,9 +80578,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
79984
80578
|
|
|
79985
80579
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79986
80580
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79987
|
-
args:
|
|
79988
|
-
tool: async (client,
|
|
79989
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
80581
|
+
args: args137,
|
|
80582
|
+
tool: async (client, args138, ctx) => {
|
|
80583
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79990
80584
|
if (!result.ok) {
|
|
79991
80585
|
return {
|
|
79992
80586
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80001,9 +80595,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
80001
80595
|
|
|
80002
80596
|
// src/funcs/terminalApplicationsCreate.ts
|
|
80003
80597
|
function terminalApplicationsCreate(client, request, options) {
|
|
80004
|
-
return new APIPromise($
|
|
80598
|
+
return new APIPromise($do138(client, request, options));
|
|
80005
80599
|
}
|
|
80006
|
-
async function $
|
|
80600
|
+
async function $do138(client, request, options) {
|
|
80007
80601
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
80008
80602
|
if (!parsed.ok) {
|
|
80009
80603
|
return [parsed, { status: "invalid" }];
|
|
@@ -80092,12 +80686,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
80092
80686
|
});
|
|
80093
80687
|
|
|
80094
80688
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
80095
|
-
var
|
|
80689
|
+
var args138, tool$terminalApplicationsCreate;
|
|
80096
80690
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
80097
80691
|
init_terminalApplicationsCreate();
|
|
80098
80692
|
init_components();
|
|
80099
80693
|
init_tools();
|
|
80100
|
-
|
|
80694
|
+
args138 = {
|
|
80101
80695
|
request: CreateTerminalApplication$inboundSchema
|
|
80102
80696
|
};
|
|
80103
80697
|
tool$terminalApplicationsCreate = {
|
|
@@ -80106,9 +80700,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
80106
80700
|
|
|
80107
80701
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80108
80702
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
80109
|
-
args:
|
|
80110
|
-
tool: async (client,
|
|
80111
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
80703
|
+
args: args138,
|
|
80704
|
+
tool: async (client, args139, ctx) => {
|
|
80705
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80112
80706
|
if (!result.ok) {
|
|
80113
80707
|
return {
|
|
80114
80708
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80123,9 +80717,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
80123
80717
|
|
|
80124
80718
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
80125
80719
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
80126
|
-
return new APIPromise($
|
|
80720
|
+
return new APIPromise($do139(client, request, options));
|
|
80127
80721
|
}
|
|
80128
|
-
async function $
|
|
80722
|
+
async function $do139(client, request, options) {
|
|
80129
80723
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80130
80724
|
if (!parsed.ok) {
|
|
80131
80725
|
return [parsed, { status: "invalid" }];
|
|
@@ -80215,12 +80809,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
80215
80809
|
});
|
|
80216
80810
|
|
|
80217
80811
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
80218
|
-
var
|
|
80812
|
+
var args139, tool$terminalApplicationsCreateVersion;
|
|
80219
80813
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
80220
80814
|
init_terminalApplicationsCreateVersion();
|
|
80221
80815
|
init_operations();
|
|
80222
80816
|
init_tools();
|
|
80223
|
-
|
|
80817
|
+
args139 = {
|
|
80224
80818
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
80225
80819
|
};
|
|
80226
80820
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -80229,9 +80823,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
80229
80823
|
|
|
80230
80824
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80231
80825
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
80232
|
-
args:
|
|
80233
|
-
tool: async (client,
|
|
80234
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
80826
|
+
args: args139,
|
|
80827
|
+
tool: async (client, args140, ctx) => {
|
|
80828
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80235
80829
|
if (!result.ok) {
|
|
80236
80830
|
return {
|
|
80237
80831
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80246,9 +80840,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
80246
80840
|
|
|
80247
80841
|
// src/funcs/terminalApplicationsDelete.ts
|
|
80248
80842
|
function terminalApplicationsDelete(client, request, options) {
|
|
80249
|
-
return new APIPromise($
|
|
80843
|
+
return new APIPromise($do140(client, request, options));
|
|
80250
80844
|
}
|
|
80251
|
-
async function $
|
|
80845
|
+
async function $do140(client, request, options) {
|
|
80252
80846
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80253
80847
|
if (!parsed.ok) {
|
|
80254
80848
|
return [parsed, { status: "invalid" }];
|
|
@@ -80332,12 +80926,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
80332
80926
|
});
|
|
80333
80927
|
|
|
80334
80928
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
80335
|
-
var
|
|
80929
|
+
var args140, tool$terminalApplicationsDelete;
|
|
80336
80930
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
80337
80931
|
init_terminalApplicationsDelete();
|
|
80338
80932
|
init_operations();
|
|
80339
80933
|
init_tools();
|
|
80340
|
-
|
|
80934
|
+
args140 = {
|
|
80341
80935
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
80342
80936
|
};
|
|
80343
80937
|
tool$terminalApplicationsDelete = {
|
|
@@ -80346,9 +80940,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
80346
80940
|
|
|
80347
80941
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80348
80942
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
80349
|
-
args:
|
|
80350
|
-
tool: async (client,
|
|
80351
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
80943
|
+
args: args140,
|
|
80944
|
+
tool: async (client, args141, ctx) => {
|
|
80945
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80352
80946
|
if (!result.ok) {
|
|
80353
80947
|
return {
|
|
80354
80948
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80362,9 +80956,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
80362
80956
|
|
|
80363
80957
|
// src/funcs/terminalApplicationsGet.ts
|
|
80364
80958
|
function terminalApplicationsGet(client, request, options) {
|
|
80365
|
-
return new APIPromise($
|
|
80959
|
+
return new APIPromise($do141(client, request, options));
|
|
80366
80960
|
}
|
|
80367
|
-
async function $
|
|
80961
|
+
async function $do141(client, request, options) {
|
|
80368
80962
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80369
80963
|
if (!parsed.ok) {
|
|
80370
80964
|
return [parsed, { status: "invalid" }];
|
|
@@ -80439,12 +81033,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
80439
81033
|
});
|
|
80440
81034
|
|
|
80441
81035
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
80442
|
-
var
|
|
81036
|
+
var args141, tool$terminalApplicationsGet;
|
|
80443
81037
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
80444
81038
|
init_terminalApplicationsGet();
|
|
80445
81039
|
init_operations();
|
|
80446
81040
|
init_tools();
|
|
80447
|
-
|
|
81041
|
+
args141 = {
|
|
80448
81042
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
80449
81043
|
};
|
|
80450
81044
|
tool$terminalApplicationsGet = {
|
|
@@ -80453,9 +81047,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
80453
81047
|
|
|
80454
81048
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80455
81049
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
80456
|
-
args:
|
|
80457
|
-
tool: async (client,
|
|
80458
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
81050
|
+
args: args141,
|
|
81051
|
+
tool: async (client, args142, ctx) => {
|
|
81052
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80459
81053
|
if (!result.ok) {
|
|
80460
81054
|
return {
|
|
80461
81055
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80470,9 +81064,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
80470
81064
|
|
|
80471
81065
|
// src/funcs/terminalApplicationsList.ts
|
|
80472
81066
|
function terminalApplicationsList(client, _request, options) {
|
|
80473
|
-
return new APIPromise($
|
|
81067
|
+
return new APIPromise($do142(client, _request, options));
|
|
80474
81068
|
}
|
|
80475
|
-
async function $
|
|
81069
|
+
async function $do142(client, _request, options) {
|
|
80476
81070
|
const path = pathToFunc("/terminal-applications")();
|
|
80477
81071
|
const headers = new Headers(compactMap({
|
|
80478
81072
|
Accept: "application/json",
|
|
@@ -80536,12 +81130,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
80536
81130
|
});
|
|
80537
81131
|
|
|
80538
81132
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
80539
|
-
var
|
|
81133
|
+
var args142, tool$terminalApplicationsList;
|
|
80540
81134
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
80541
81135
|
init_terminalApplicationsList();
|
|
80542
81136
|
init_operations();
|
|
80543
81137
|
init_tools();
|
|
80544
|
-
|
|
81138
|
+
args142 = {
|
|
80545
81139
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
80546
81140
|
};
|
|
80547
81141
|
tool$terminalApplicationsList = {
|
|
@@ -80550,9 +81144,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
80550
81144
|
|
|
80551
81145
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80552
81146
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
80553
|
-
args:
|
|
80554
|
-
tool: async (client,
|
|
80555
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
81147
|
+
args: args142,
|
|
81148
|
+
tool: async (client, args143, ctx) => {
|
|
81149
|
+
const [result, apiCall] = await terminalApplicationsList(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80556
81150
|
if (!result.ok) {
|
|
80557
81151
|
return {
|
|
80558
81152
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80567,9 +81161,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
80567
81161
|
|
|
80568
81162
|
// src/funcs/transfersCreate.ts
|
|
80569
81163
|
function transfersCreate(client, request, options) {
|
|
80570
|
-
return new APIPromise($
|
|
81164
|
+
return new APIPromise($do143(client, request, options));
|
|
80571
81165
|
}
|
|
80572
|
-
async function $
|
|
81166
|
+
async function $do143(client, request, options) {
|
|
80573
81167
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80574
81168
|
if (!parsed.ok) {
|
|
80575
81169
|
return [parsed, { status: "invalid" }];
|
|
@@ -80662,12 +81256,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
80662
81256
|
});
|
|
80663
81257
|
|
|
80664
81258
|
// src/mcp-server/tools/transfersCreate.ts
|
|
80665
|
-
var
|
|
81259
|
+
var args143, tool$transfersCreate;
|
|
80666
81260
|
var init_transfersCreate2 = __esm(() => {
|
|
80667
81261
|
init_transfersCreate();
|
|
80668
81262
|
init_operations();
|
|
80669
81263
|
init_tools();
|
|
80670
|
-
|
|
81264
|
+
args143 = {
|
|
80671
81265
|
request: CreateTransferRequest$inboundSchema
|
|
80672
81266
|
};
|
|
80673
81267
|
tool$transfersCreate = {
|
|
@@ -80678,9 +81272,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
80678
81272
|
|
|
80679
81273
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80680
81274
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80681
|
-
args:
|
|
80682
|
-
tool: async (client,
|
|
80683
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
81275
|
+
args: args143,
|
|
81276
|
+
tool: async (client, args144, ctx) => {
|
|
81277
|
+
const [result, apiCall] = await transfersCreate(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80684
81278
|
if (!result.ok) {
|
|
80685
81279
|
return {
|
|
80686
81280
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80695,9 +81289,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80695
81289
|
|
|
80696
81290
|
// src/funcs/transfersCreateCancellation.ts
|
|
80697
81291
|
function transfersCreateCancellation(client, request, options) {
|
|
80698
|
-
return new APIPromise($
|
|
81292
|
+
return new APIPromise($do144(client, request, options));
|
|
80699
81293
|
}
|
|
80700
|
-
async function $
|
|
81294
|
+
async function $do144(client, request, options) {
|
|
80701
81295
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80702
81296
|
if (!parsed.ok) {
|
|
80703
81297
|
return [parsed, { status: "invalid" }];
|
|
@@ -80780,12 +81374,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
80780
81374
|
});
|
|
80781
81375
|
|
|
80782
81376
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
80783
|
-
var
|
|
81377
|
+
var args144, tool$transfersCreateCancellation;
|
|
80784
81378
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
80785
81379
|
init_transfersCreateCancellation();
|
|
80786
81380
|
init_operations();
|
|
80787
81381
|
init_tools();
|
|
80788
|
-
|
|
81382
|
+
args144 = {
|
|
80789
81383
|
request: CreateCancellationRequest$inboundSchema
|
|
80790
81384
|
};
|
|
80791
81385
|
tool$transfersCreateCancellation = {
|
|
@@ -80794,9 +81388,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80794
81388
|
|
|
80795
81389
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80796
81390
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80797
|
-
args:
|
|
80798
|
-
tool: async (client,
|
|
80799
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
81391
|
+
args: args144,
|
|
81392
|
+
tool: async (client, args145, ctx) => {
|
|
81393
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80800
81394
|
if (!result.ok) {
|
|
80801
81395
|
return {
|
|
80802
81396
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80811,9 +81405,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80811
81405
|
|
|
80812
81406
|
// src/funcs/transfersCreateReversal.ts
|
|
80813
81407
|
function transfersCreateReversal(client, request, options) {
|
|
80814
|
-
return new APIPromise($
|
|
81408
|
+
return new APIPromise($do145(client, request, options));
|
|
80815
81409
|
}
|
|
80816
|
-
async function $
|
|
81410
|
+
async function $do145(client, request, options) {
|
|
80817
81411
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80818
81412
|
if (!parsed.ok) {
|
|
80819
81413
|
return [parsed, { status: "invalid" }];
|
|
@@ -80912,12 +81506,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
80912
81506
|
});
|
|
80913
81507
|
|
|
80914
81508
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
80915
|
-
var
|
|
81509
|
+
var args145, tool$transfersCreateReversal;
|
|
80916
81510
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
80917
81511
|
init_transfersCreateReversal();
|
|
80918
81512
|
init_operations();
|
|
80919
81513
|
init_tools();
|
|
80920
|
-
|
|
81514
|
+
args145 = {
|
|
80921
81515
|
request: CreateReversalRequest$inboundSchema
|
|
80922
81516
|
};
|
|
80923
81517
|
tool$transfersCreateReversal = {
|
|
@@ -80928,9 +81522,9 @@ to learn more.
|
|
|
80928
81522
|
|
|
80929
81523
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80930
81524
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80931
|
-
args:
|
|
80932
|
-
tool: async (client,
|
|
80933
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
81525
|
+
args: args145,
|
|
81526
|
+
tool: async (client, args146, ctx) => {
|
|
81527
|
+
const [result, apiCall] = await transfersCreateReversal(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80934
81528
|
if (!result.ok) {
|
|
80935
81529
|
return {
|
|
80936
81530
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80945,9 +81539,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80945
81539
|
|
|
80946
81540
|
// src/funcs/transfersGenerateOptions.ts
|
|
80947
81541
|
function transfersGenerateOptions(client, request, options) {
|
|
80948
|
-
return new APIPromise($
|
|
81542
|
+
return new APIPromise($do146(client, request, options));
|
|
80949
81543
|
}
|
|
80950
|
-
async function $
|
|
81544
|
+
async function $do146(client, request, options) {
|
|
80951
81545
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80952
81546
|
if (!parsed.ok) {
|
|
80953
81547
|
return [parsed, { status: "invalid" }];
|
|
@@ -81031,12 +81625,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
81031
81625
|
});
|
|
81032
81626
|
|
|
81033
81627
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
81034
|
-
var
|
|
81628
|
+
var args146, tool$transfersGenerateOptions;
|
|
81035
81629
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
81036
81630
|
init_transfersGenerateOptions();
|
|
81037
81631
|
init_operations();
|
|
81038
81632
|
init_tools();
|
|
81039
|
-
|
|
81633
|
+
args146 = {
|
|
81040
81634
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
81041
81635
|
};
|
|
81042
81636
|
tool$transfersGenerateOptions = {
|
|
@@ -81050,9 +81644,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
81050
81644
|
|
|
81051
81645
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81052
81646
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81053
|
-
args:
|
|
81054
|
-
tool: async (client,
|
|
81055
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
81647
|
+
args: args146,
|
|
81648
|
+
tool: async (client, args147, ctx) => {
|
|
81649
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81056
81650
|
if (!result.ok) {
|
|
81057
81651
|
return {
|
|
81058
81652
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81067,9 +81661,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81067
81661
|
|
|
81068
81662
|
// src/funcs/transfersGet.ts
|
|
81069
81663
|
function transfersGet(client, request, options) {
|
|
81070
|
-
return new APIPromise($
|
|
81664
|
+
return new APIPromise($do147(client, request, options));
|
|
81071
81665
|
}
|
|
81072
|
-
async function $
|
|
81666
|
+
async function $do147(client, request, options) {
|
|
81073
81667
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81074
81668
|
if (!parsed.ok) {
|
|
81075
81669
|
return [parsed, { status: "invalid" }];
|
|
@@ -81151,12 +81745,12 @@ var init_transfersGet = __esm(() => {
|
|
|
81151
81745
|
});
|
|
81152
81746
|
|
|
81153
81747
|
// src/mcp-server/tools/transfersGet.ts
|
|
81154
|
-
var
|
|
81748
|
+
var args147, tool$transfersGet;
|
|
81155
81749
|
var init_transfersGet2 = __esm(() => {
|
|
81156
81750
|
init_transfersGet();
|
|
81157
81751
|
init_operations();
|
|
81158
81752
|
init_tools();
|
|
81159
|
-
|
|
81753
|
+
args147 = {
|
|
81160
81754
|
request: GetTransferRequest$inboundSchema
|
|
81161
81755
|
};
|
|
81162
81756
|
tool$transfersGet = {
|
|
@@ -81168,9 +81762,9 @@ to learn more.
|
|
|
81168
81762
|
|
|
81169
81763
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81170
81764
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81171
|
-
args:
|
|
81172
|
-
tool: async (client,
|
|
81173
|
-
const [result, apiCall] = await transfersGet(client,
|
|
81765
|
+
args: args147,
|
|
81766
|
+
tool: async (client, args148, ctx) => {
|
|
81767
|
+
const [result, apiCall] = await transfersGet(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81174
81768
|
if (!result.ok) {
|
|
81175
81769
|
return {
|
|
81176
81770
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81185,9 +81779,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81185
81779
|
|
|
81186
81780
|
// src/funcs/transfersGetCancellation.ts
|
|
81187
81781
|
function transfersGetCancellation(client, request, options) {
|
|
81188
|
-
return new APIPromise($
|
|
81782
|
+
return new APIPromise($do148(client, request, options));
|
|
81189
81783
|
}
|
|
81190
|
-
async function $
|
|
81784
|
+
async function $do148(client, request, options) {
|
|
81191
81785
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81192
81786
|
if (!parsed.ok) {
|
|
81193
81787
|
return [parsed, { status: "invalid" }];
|
|
@@ -81273,12 +81867,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
81273
81867
|
});
|
|
81274
81868
|
|
|
81275
81869
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
81276
|
-
var
|
|
81870
|
+
var args148, tool$transfersGetCancellation;
|
|
81277
81871
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
81278
81872
|
init_transfersGetCancellation();
|
|
81279
81873
|
init_operations();
|
|
81280
81874
|
init_tools();
|
|
81281
|
-
|
|
81875
|
+
args148 = {
|
|
81282
81876
|
request: GetCancellationRequest$inboundSchema
|
|
81283
81877
|
};
|
|
81284
81878
|
tool$transfersGetCancellation = {
|
|
@@ -81287,9 +81881,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
81287
81881
|
|
|
81288
81882
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
81289
81883
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81290
|
-
args:
|
|
81291
|
-
tool: async (client,
|
|
81292
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
81884
|
+
args: args148,
|
|
81885
|
+
tool: async (client, args149, ctx) => {
|
|
81886
|
+
const [result, apiCall] = await transfersGetCancellation(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81293
81887
|
if (!result.ok) {
|
|
81294
81888
|
return {
|
|
81295
81889
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81304,9 +81898,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
81304
81898
|
|
|
81305
81899
|
// src/funcs/transfersGetRefund.ts
|
|
81306
81900
|
function transfersGetRefund(client, request, options) {
|
|
81307
|
-
return new APIPromise($
|
|
81901
|
+
return new APIPromise($do149(client, request, options));
|
|
81308
81902
|
}
|
|
81309
|
-
async function $
|
|
81903
|
+
async function $do149(client, request, options) {
|
|
81310
81904
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81311
81905
|
if (!parsed.ok) {
|
|
81312
81906
|
return [parsed, { status: "invalid" }];
|
|
@@ -81392,12 +81986,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
81392
81986
|
});
|
|
81393
81987
|
|
|
81394
81988
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
81395
|
-
var
|
|
81989
|
+
var args149, tool$transfersGetRefund;
|
|
81396
81990
|
var init_transfersGetRefund2 = __esm(() => {
|
|
81397
81991
|
init_transfersGetRefund();
|
|
81398
81992
|
init_operations();
|
|
81399
81993
|
init_tools();
|
|
81400
|
-
|
|
81994
|
+
args149 = {
|
|
81401
81995
|
request: GetRefundRequest$inboundSchema
|
|
81402
81996
|
};
|
|
81403
81997
|
tool$transfersGetRefund = {
|
|
@@ -81406,9 +82000,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
81406
82000
|
|
|
81407
82001
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81408
82002
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81409
|
-
args:
|
|
81410
|
-
tool: async (client,
|
|
81411
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
82003
|
+
args: args149,
|
|
82004
|
+
tool: async (client, args150, ctx) => {
|
|
82005
|
+
const [result, apiCall] = await transfersGetRefund(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81412
82006
|
if (!result.ok) {
|
|
81413
82007
|
return {
|
|
81414
82008
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81423,9 +82017,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81423
82017
|
|
|
81424
82018
|
// src/funcs/transfersInitiateRefund.ts
|
|
81425
82019
|
function transfersInitiateRefund(client, request, options) {
|
|
81426
|
-
return new APIPromise($
|
|
82020
|
+
return new APIPromise($do150(client, request, options));
|
|
81427
82021
|
}
|
|
81428
|
-
async function $
|
|
82022
|
+
async function $do150(client, request, options) {
|
|
81429
82023
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81430
82024
|
if (!parsed.ok) {
|
|
81431
82025
|
return [parsed, { status: "invalid" }];
|
|
@@ -81517,12 +82111,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
81517
82111
|
});
|
|
81518
82112
|
|
|
81519
82113
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
81520
|
-
var
|
|
82114
|
+
var args150, tool$transfersInitiateRefund;
|
|
81521
82115
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
81522
82116
|
init_transfersInitiateRefund();
|
|
81523
82117
|
init_operations();
|
|
81524
82118
|
init_tools();
|
|
81525
|
-
|
|
82119
|
+
args150 = {
|
|
81526
82120
|
request: InitiateRefundRequest$inboundSchema
|
|
81527
82121
|
};
|
|
81528
82122
|
tool$transfersInitiateRefund = {
|
|
@@ -81534,9 +82128,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
81534
82128
|
|
|
81535
82129
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81536
82130
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81537
|
-
args:
|
|
81538
|
-
tool: async (client,
|
|
81539
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
82131
|
+
args: args150,
|
|
82132
|
+
tool: async (client, args151, ctx) => {
|
|
82133
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81540
82134
|
if (!result.ok) {
|
|
81541
82135
|
return {
|
|
81542
82136
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81551,9 +82145,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81551
82145
|
|
|
81552
82146
|
// src/funcs/transfersList.ts
|
|
81553
82147
|
function transfersList(client, request, options) {
|
|
81554
|
-
return new APIPromise($
|
|
82148
|
+
return new APIPromise($do151(client, request, options));
|
|
81555
82149
|
}
|
|
81556
|
-
async function $
|
|
82150
|
+
async function $do151(client, request, options) {
|
|
81557
82151
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81558
82152
|
if (!parsed.ok) {
|
|
81559
82153
|
return [parsed, { status: "invalid" }];
|
|
@@ -81649,12 +82243,12 @@ var init_transfersList = __esm(() => {
|
|
|
81649
82243
|
});
|
|
81650
82244
|
|
|
81651
82245
|
// src/mcp-server/tools/transfersList.ts
|
|
81652
|
-
var
|
|
82246
|
+
var args151, tool$transfersList;
|
|
81653
82247
|
var init_transfersList2 = __esm(() => {
|
|
81654
82248
|
init_transfersList();
|
|
81655
82249
|
init_operations();
|
|
81656
82250
|
init_tools();
|
|
81657
|
-
|
|
82251
|
+
args151 = {
|
|
81658
82252
|
request: ListTransfersRequest$inboundSchema
|
|
81659
82253
|
};
|
|
81660
82254
|
tool$transfersList = {
|
|
@@ -81670,9 +82264,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
81670
82264
|
|
|
81671
82265
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81672
82266
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81673
|
-
args:
|
|
81674
|
-
tool: async (client,
|
|
81675
|
-
const [result, apiCall] = await transfersList(client,
|
|
82267
|
+
args: args151,
|
|
82268
|
+
tool: async (client, args152, ctx) => {
|
|
82269
|
+
const [result, apiCall] = await transfersList(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81676
82270
|
if (!result.ok) {
|
|
81677
82271
|
return {
|
|
81678
82272
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81687,9 +82281,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81687
82281
|
|
|
81688
82282
|
// src/funcs/transfersListRefunds.ts
|
|
81689
82283
|
function transfersListRefunds(client, request, options) {
|
|
81690
|
-
return new APIPromise($
|
|
82284
|
+
return new APIPromise($do152(client, request, options));
|
|
81691
82285
|
}
|
|
81692
|
-
async function $
|
|
82286
|
+
async function $do152(client, request, options) {
|
|
81693
82287
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81694
82288
|
if (!parsed.ok) {
|
|
81695
82289
|
return [parsed, { status: "invalid" }];
|
|
@@ -81771,12 +82365,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
81771
82365
|
});
|
|
81772
82366
|
|
|
81773
82367
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
81774
|
-
var
|
|
82368
|
+
var args152, tool$transfersListRefunds;
|
|
81775
82369
|
var init_transfersListRefunds2 = __esm(() => {
|
|
81776
82370
|
init_transfersListRefunds();
|
|
81777
82371
|
init_operations();
|
|
81778
82372
|
init_tools();
|
|
81779
|
-
|
|
82373
|
+
args152 = {
|
|
81780
82374
|
request: ListRefundsRequest$inboundSchema
|
|
81781
82375
|
};
|
|
81782
82376
|
tool$transfersListRefunds = {
|
|
@@ -81785,9 +82379,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
81785
82379
|
|
|
81786
82380
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81787
82381
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81788
|
-
args:
|
|
81789
|
-
tool: async (client,
|
|
81790
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
82382
|
+
args: args152,
|
|
82383
|
+
tool: async (client, args153, ctx) => {
|
|
82384
|
+
const [result, apiCall] = await transfersListRefunds(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81791
82385
|
if (!result.ok) {
|
|
81792
82386
|
return {
|
|
81793
82387
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81802,9 +82396,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81802
82396
|
|
|
81803
82397
|
// src/funcs/transfersUpdate.ts
|
|
81804
82398
|
function transfersUpdate(client, request, options) {
|
|
81805
|
-
return new APIPromise($
|
|
82399
|
+
return new APIPromise($do153(client, request, options));
|
|
81806
82400
|
}
|
|
81807
|
-
async function $
|
|
82401
|
+
async function $do153(client, request, options) {
|
|
81808
82402
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81809
82403
|
if (!parsed.ok) {
|
|
81810
82404
|
return [parsed, { status: "invalid" }];
|
|
@@ -81890,12 +82484,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
81890
82484
|
});
|
|
81891
82485
|
|
|
81892
82486
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
81893
|
-
var
|
|
82487
|
+
var args153, tool$transfersUpdate;
|
|
81894
82488
|
var init_transfersUpdate2 = __esm(() => {
|
|
81895
82489
|
init_transfersUpdate();
|
|
81896
82490
|
init_operations();
|
|
81897
82491
|
init_tools();
|
|
81898
|
-
|
|
82492
|
+
args153 = {
|
|
81899
82493
|
request: UpdateTransferRequest$inboundSchema
|
|
81900
82494
|
};
|
|
81901
82495
|
tool$transfersUpdate = {
|
|
@@ -81906,9 +82500,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
81906
82500
|
|
|
81907
82501
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81908
82502
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81909
|
-
args:
|
|
81910
|
-
tool: async (client,
|
|
81911
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
82503
|
+
args: args153,
|
|
82504
|
+
tool: async (client, args154, ctx) => {
|
|
82505
|
+
const [result, apiCall] = await transfersUpdate(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81912
82506
|
if (!result.ok) {
|
|
81913
82507
|
return {
|
|
81914
82508
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81923,9 +82517,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81923
82517
|
|
|
81924
82518
|
// src/funcs/underwritingGet.ts
|
|
81925
82519
|
function underwritingGet(client, request, options) {
|
|
81926
|
-
return new APIPromise($
|
|
82520
|
+
return new APIPromise($do154(client, request, options));
|
|
81927
82521
|
}
|
|
81928
|
-
async function $
|
|
82522
|
+
async function $do154(client, request, options) {
|
|
81929
82523
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81930
82524
|
if (!parsed.ok) {
|
|
81931
82525
|
return [parsed, { status: "invalid" }];
|
|
@@ -82003,12 +82597,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
82003
82597
|
});
|
|
82004
82598
|
|
|
82005
82599
|
// src/mcp-server/tools/underwritingGet.ts
|
|
82006
|
-
var
|
|
82600
|
+
var args154, tool$underwritingGet;
|
|
82007
82601
|
var init_underwritingGet2 = __esm(() => {
|
|
82008
82602
|
init_underwritingGet();
|
|
82009
82603
|
init_operations();
|
|
82010
82604
|
init_tools();
|
|
82011
|
-
|
|
82605
|
+
args154 = {
|
|
82012
82606
|
request: GetUnderwritingRequest$inboundSchema
|
|
82013
82607
|
};
|
|
82014
82608
|
tool$underwritingGet = {
|
|
@@ -82019,9 +82613,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
82019
82613
|
|
|
82020
82614
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82021
82615
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
82022
|
-
args:
|
|
82023
|
-
tool: async (client,
|
|
82024
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
82616
|
+
args: args154,
|
|
82617
|
+
tool: async (client, args155, ctx) => {
|
|
82618
|
+
const [result, apiCall] = await underwritingGet(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82025
82619
|
if (!result.ok) {
|
|
82026
82620
|
return {
|
|
82027
82621
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82036,9 +82630,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
82036
82630
|
|
|
82037
82631
|
// src/funcs/underwritingSave.ts
|
|
82038
82632
|
function underwritingSave(client, request, options) {
|
|
82039
|
-
return new APIPromise($
|
|
82633
|
+
return new APIPromise($do155(client, request, options));
|
|
82040
82634
|
}
|
|
82041
|
-
async function $
|
|
82635
|
+
async function $do155(client, request, options) {
|
|
82042
82636
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82043
82637
|
if (!parsed.ok) {
|
|
82044
82638
|
return [parsed, { status: "invalid" }];
|
|
@@ -82134,12 +82728,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
82134
82728
|
});
|
|
82135
82729
|
|
|
82136
82730
|
// src/mcp-server/tools/underwritingSave.ts
|
|
82137
|
-
var
|
|
82731
|
+
var args155, tool$underwritingSave;
|
|
82138
82732
|
var init_underwritingSave2 = __esm(() => {
|
|
82139
82733
|
init_underwritingSave();
|
|
82140
82734
|
init_operations();
|
|
82141
82735
|
init_tools();
|
|
82142
|
-
|
|
82736
|
+
args155 = {
|
|
82143
82737
|
request: SaveUnderwritingRequest$inboundSchema
|
|
82144
82738
|
};
|
|
82145
82739
|
tool$underwritingSave = {
|
|
@@ -82150,9 +82744,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
82150
82744
|
|
|
82151
82745
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82152
82746
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
82153
|
-
args:
|
|
82154
|
-
tool: async (client,
|
|
82155
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
82747
|
+
args: args155,
|
|
82748
|
+
tool: async (client, args156, ctx) => {
|
|
82749
|
+
const [result, apiCall] = await underwritingSave(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82156
82750
|
if (!result.ok) {
|
|
82157
82751
|
return {
|
|
82158
82752
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82167,9 +82761,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
82167
82761
|
|
|
82168
82762
|
// src/funcs/underwritingUpsert.ts
|
|
82169
82763
|
function underwritingUpsert(client, request, options) {
|
|
82170
|
-
return new APIPromise($
|
|
82764
|
+
return new APIPromise($do156(client, request, options));
|
|
82171
82765
|
}
|
|
82172
|
-
async function $
|
|
82766
|
+
async function $do156(client, request, options) {
|
|
82173
82767
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82174
82768
|
if (!parsed.ok) {
|
|
82175
82769
|
return [parsed, { status: "invalid" }];
|
|
@@ -82265,12 +82859,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
82265
82859
|
});
|
|
82266
82860
|
|
|
82267
82861
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
82268
|
-
var
|
|
82862
|
+
var args156, tool$underwritingUpsert;
|
|
82269
82863
|
var init_underwritingUpsert2 = __esm(() => {
|
|
82270
82864
|
init_underwritingUpsert();
|
|
82271
82865
|
init_operations();
|
|
82272
82866
|
init_tools();
|
|
82273
|
-
|
|
82867
|
+
args156 = {
|
|
82274
82868
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
82275
82869
|
};
|
|
82276
82870
|
tool$underwritingUpsert = {
|
|
@@ -82281,9 +82875,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
82281
82875
|
|
|
82282
82876
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82283
82877
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
82284
|
-
args:
|
|
82285
|
-
tool: async (client,
|
|
82286
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
82878
|
+
args: args156,
|
|
82879
|
+
tool: async (client, args157, ctx) => {
|
|
82880
|
+
const [result, apiCall] = await underwritingUpsert(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82287
82881
|
if (!result.ok) {
|
|
82288
82882
|
return {
|
|
82289
82883
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82298,9 +82892,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
82298
82892
|
|
|
82299
82893
|
// src/funcs/walletsCreate.ts
|
|
82300
82894
|
function walletsCreate(client, request, options) {
|
|
82301
|
-
return new APIPromise($
|
|
82895
|
+
return new APIPromise($do157(client, request, options));
|
|
82302
82896
|
}
|
|
82303
|
-
async function $
|
|
82897
|
+
async function $do157(client, request, options) {
|
|
82304
82898
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82305
82899
|
if (!parsed.ok) {
|
|
82306
82900
|
return [parsed, { status: "invalid" }];
|
|
@@ -82394,12 +82988,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
82394
82988
|
});
|
|
82395
82989
|
|
|
82396
82990
|
// src/mcp-server/tools/walletsCreate.ts
|
|
82397
|
-
var
|
|
82991
|
+
var args157, tool$walletsCreate;
|
|
82398
82992
|
var init_walletsCreate2 = __esm(() => {
|
|
82399
82993
|
init_walletsCreate();
|
|
82400
82994
|
init_operations();
|
|
82401
82995
|
init_tools();
|
|
82402
|
-
|
|
82996
|
+
args157 = {
|
|
82403
82997
|
request: CreateWalletRequest$inboundSchema
|
|
82404
82998
|
};
|
|
82405
82999
|
tool$walletsCreate = {
|
|
@@ -82410,9 +83004,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82410
83004
|
|
|
82411
83005
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82412
83006
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
82413
|
-
args:
|
|
82414
|
-
tool: async (client,
|
|
82415
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
83007
|
+
args: args157,
|
|
83008
|
+
tool: async (client, args158, ctx) => {
|
|
83009
|
+
const [result, apiCall] = await walletsCreate(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82416
83010
|
if (!result.ok) {
|
|
82417
83011
|
return {
|
|
82418
83012
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82427,9 +83021,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
82427
83021
|
|
|
82428
83022
|
// src/funcs/walletsGet.ts
|
|
82429
83023
|
function walletsGet(client, request, options) {
|
|
82430
|
-
return new APIPromise($
|
|
83024
|
+
return new APIPromise($do158(client, request, options));
|
|
82431
83025
|
}
|
|
82432
|
-
async function $
|
|
83026
|
+
async function $do158(client, request, options) {
|
|
82433
83027
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82434
83028
|
if (!parsed.ok) {
|
|
82435
83029
|
return [parsed, { status: "invalid" }];
|
|
@@ -82511,12 +83105,12 @@ var init_walletsGet = __esm(() => {
|
|
|
82511
83105
|
});
|
|
82512
83106
|
|
|
82513
83107
|
// src/mcp-server/tools/walletsGet.ts
|
|
82514
|
-
var
|
|
83108
|
+
var args158, tool$walletsGet;
|
|
82515
83109
|
var init_walletsGet2 = __esm(() => {
|
|
82516
83110
|
init_walletsGet();
|
|
82517
83111
|
init_operations();
|
|
82518
83112
|
init_tools();
|
|
82519
|
-
|
|
83113
|
+
args158 = {
|
|
82520
83114
|
request: GetWalletRequest$inboundSchema
|
|
82521
83115
|
};
|
|
82522
83116
|
tool$walletsGet = {
|
|
@@ -82527,9 +83121,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82527
83121
|
|
|
82528
83122
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82529
83123
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82530
|
-
args:
|
|
82531
|
-
tool: async (client,
|
|
82532
|
-
const [result, apiCall] = await walletsGet(client,
|
|
83124
|
+
args: args158,
|
|
83125
|
+
tool: async (client, args159, ctx) => {
|
|
83126
|
+
const [result, apiCall] = await walletsGet(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82533
83127
|
if (!result.ok) {
|
|
82534
83128
|
return {
|
|
82535
83129
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82544,9 +83138,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82544
83138
|
|
|
82545
83139
|
// src/funcs/walletsList.ts
|
|
82546
83140
|
function walletsList(client, request, options) {
|
|
82547
|
-
return new APIPromise($
|
|
83141
|
+
return new APIPromise($do159(client, request, options));
|
|
82548
83142
|
}
|
|
82549
|
-
async function $
|
|
83143
|
+
async function $do159(client, request, options) {
|
|
82550
83144
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82551
83145
|
if (!parsed.ok) {
|
|
82552
83146
|
return [parsed, { status: "invalid" }];
|
|
@@ -82634,12 +83228,12 @@ var init_walletsList = __esm(() => {
|
|
|
82634
83228
|
});
|
|
82635
83229
|
|
|
82636
83230
|
// src/mcp-server/tools/walletsList.ts
|
|
82637
|
-
var
|
|
83231
|
+
var args159, tool$walletsList;
|
|
82638
83232
|
var init_walletsList2 = __esm(() => {
|
|
82639
83233
|
init_walletsList();
|
|
82640
83234
|
init_operations();
|
|
82641
83235
|
init_tools();
|
|
82642
|
-
|
|
83236
|
+
args159 = {
|
|
82643
83237
|
request: ListWalletsRequest$inboundSchema
|
|
82644
83238
|
};
|
|
82645
83239
|
tool$walletsList = {
|
|
@@ -82650,9 +83244,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82650
83244
|
|
|
82651
83245
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82652
83246
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82653
|
-
args:
|
|
82654
|
-
tool: async (client,
|
|
82655
|
-
const [result, apiCall] = await walletsList(client,
|
|
83247
|
+
args: args159,
|
|
83248
|
+
tool: async (client, args160, ctx) => {
|
|
83249
|
+
const [result, apiCall] = await walletsList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82656
83250
|
if (!result.ok) {
|
|
82657
83251
|
return {
|
|
82658
83252
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82667,9 +83261,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82667
83261
|
|
|
82668
83262
|
// src/funcs/walletsUpdate.ts
|
|
82669
83263
|
function walletsUpdate(client, request, options) {
|
|
82670
|
-
return new APIPromise($
|
|
83264
|
+
return new APIPromise($do160(client, request, options));
|
|
82671
83265
|
}
|
|
82672
|
-
async function $
|
|
83266
|
+
async function $do160(client, request, options) {
|
|
82673
83267
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82674
83268
|
if (!parsed.ok) {
|
|
82675
83269
|
return [parsed, { status: "invalid" }];
|
|
@@ -82767,12 +83361,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
82767
83361
|
});
|
|
82768
83362
|
|
|
82769
83363
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
82770
|
-
var
|
|
83364
|
+
var args160, tool$walletsUpdate;
|
|
82771
83365
|
var init_walletsUpdate2 = __esm(() => {
|
|
82772
83366
|
init_walletsUpdate();
|
|
82773
83367
|
init_operations();
|
|
82774
83368
|
init_tools();
|
|
82775
|
-
|
|
83369
|
+
args160 = {
|
|
82776
83370
|
request: UpdateWalletRequest$inboundSchema
|
|
82777
83371
|
};
|
|
82778
83372
|
tool$walletsUpdate = {
|
|
@@ -82783,9 +83377,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82783
83377
|
|
|
82784
83378
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82785
83379
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
82786
|
-
args:
|
|
82787
|
-
tool: async (client,
|
|
82788
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
83380
|
+
args: args160,
|
|
83381
|
+
tool: async (client, args161, ctx) => {
|
|
83382
|
+
const [result, apiCall] = await walletsUpdate(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82789
83383
|
if (!result.ok) {
|
|
82790
83384
|
return {
|
|
82791
83385
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82800,9 +83394,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
82800
83394
|
|
|
82801
83395
|
// src/funcs/walletTransactionsGet.ts
|
|
82802
83396
|
function walletTransactionsGet(client, request, options) {
|
|
82803
|
-
return new APIPromise($
|
|
83397
|
+
return new APIPromise($do161(client, request, options));
|
|
82804
83398
|
}
|
|
82805
|
-
async function $
|
|
83399
|
+
async function $do161(client, request, options) {
|
|
82806
83400
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82807
83401
|
if (!parsed.ok) {
|
|
82808
83402
|
return [parsed, { status: "invalid" }];
|
|
@@ -82888,12 +83482,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
82888
83482
|
});
|
|
82889
83483
|
|
|
82890
83484
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
82891
|
-
var
|
|
83485
|
+
var args161, tool$walletTransactionsGet;
|
|
82892
83486
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
82893
83487
|
init_walletTransactionsGet();
|
|
82894
83488
|
init_operations();
|
|
82895
83489
|
init_tools();
|
|
82896
|
-
|
|
83490
|
+
args161 = {
|
|
82897
83491
|
request: GetWalletTransactionRequest$inboundSchema
|
|
82898
83492
|
};
|
|
82899
83493
|
tool$walletTransactionsGet = {
|
|
@@ -82904,9 +83498,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
82904
83498
|
|
|
82905
83499
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82906
83500
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82907
|
-
args:
|
|
82908
|
-
tool: async (client,
|
|
82909
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
83501
|
+
args: args161,
|
|
83502
|
+
tool: async (client, args162, ctx) => {
|
|
83503
|
+
const [result, apiCall] = await walletTransactionsGet(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82910
83504
|
if (!result.ok) {
|
|
82911
83505
|
return {
|
|
82912
83506
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82921,9 +83515,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82921
83515
|
|
|
82922
83516
|
// src/funcs/walletTransactionsList.ts
|
|
82923
83517
|
function walletTransactionsList(client, request, options) {
|
|
82924
|
-
return new APIPromise($
|
|
83518
|
+
return new APIPromise($do162(client, request, options));
|
|
82925
83519
|
}
|
|
82926
|
-
async function $
|
|
83520
|
+
async function $do162(client, request, options) {
|
|
82927
83521
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82928
83522
|
if (!parsed.ok) {
|
|
82929
83523
|
return [parsed, { status: "invalid" }];
|
|
@@ -83023,12 +83617,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
83023
83617
|
});
|
|
83024
83618
|
|
|
83025
83619
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
83026
|
-
var
|
|
83620
|
+
var args162, tool$walletTransactionsList;
|
|
83027
83621
|
var init_walletTransactionsList2 = __esm(() => {
|
|
83028
83622
|
init_walletTransactionsList();
|
|
83029
83623
|
init_operations();
|
|
83030
83624
|
init_tools();
|
|
83031
|
-
|
|
83625
|
+
args162 = {
|
|
83032
83626
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
83033
83627
|
};
|
|
83034
83628
|
tool$walletTransactionsList = {
|
|
@@ -83039,9 +83633,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
83039
83633
|
|
|
83040
83634
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
83041
83635
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
83042
|
-
args:
|
|
83043
|
-
tool: async (client,
|
|
83044
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
83636
|
+
args: args162,
|
|
83637
|
+
tool: async (client, args163, ctx) => {
|
|
83638
|
+
const [result, apiCall] = await walletTransactionsList(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83045
83639
|
if (!result.ok) {
|
|
83046
83640
|
return {
|
|
83047
83641
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83058,7 +83652,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
83058
83652
|
function createMCPServer(deps) {
|
|
83059
83653
|
const server = new McpServer({
|
|
83060
83654
|
name: "Moov",
|
|
83061
|
-
version: "0.
|
|
83655
|
+
version: "0.21.0"
|
|
83062
83656
|
});
|
|
83063
83657
|
const client = new MoovCore({
|
|
83064
83658
|
security: deps.security,
|
|
@@ -83129,6 +83723,9 @@ function createMCPServer(deps) {
|
|
|
83129
83723
|
tool(tool$feePlansListFeesFetch);
|
|
83130
83724
|
tool(tool$feePlansListPartnerPricing);
|
|
83131
83725
|
tool(tool$feePlansListPartnerPricingAgreements);
|
|
83726
|
+
tool(tool$feePlansListResiduals);
|
|
83727
|
+
tool(tool$feePlansGetResidual);
|
|
83728
|
+
tool(tool$feePlansListResidualFees);
|
|
83132
83729
|
tool(tool$filesUpload);
|
|
83133
83730
|
tool(tool$filesList);
|
|
83134
83731
|
tool(tool$filesGet);
|
|
@@ -83305,11 +83902,14 @@ var init_server2 = __esm(() => {
|
|
|
83305
83902
|
init_enrichedAddressGet2();
|
|
83306
83903
|
init_enrichedProfileGet2();
|
|
83307
83904
|
init_feePlansCreateFeePlanAgreements2();
|
|
83905
|
+
init_feePlansGetResidual2();
|
|
83308
83906
|
init_feePlansListFeePlanAgreements2();
|
|
83309
83907
|
init_feePlansListFeePlans2();
|
|
83310
83908
|
init_feePlansListFeesFetch2();
|
|
83311
83909
|
init_feePlansListPartnerPricing2();
|
|
83312
83910
|
init_feePlansListPartnerPricingAgreements2();
|
|
83911
|
+
init_feePlansListResidualFees2();
|
|
83912
|
+
init_feePlansListResiduals2();
|
|
83313
83913
|
init_feePlansRetrieveFees2();
|
|
83314
83914
|
init_filesGet2();
|
|
83315
83915
|
init_filesList2();
|
|
@@ -84600,7 +85200,7 @@ var routes = rn({
|
|
|
84600
85200
|
var app = Ve(routes, {
|
|
84601
85201
|
name: "mcp",
|
|
84602
85202
|
versionInfo: {
|
|
84603
|
-
currentVersion: "0.
|
|
85203
|
+
currentVersion: "0.21.0"
|
|
84604
85204
|
}
|
|
84605
85205
|
});
|
|
84606
85206
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -84608,5 +85208,5 @@ export {
|
|
|
84608
85208
|
app
|
|
84609
85209
|
};
|
|
84610
85210
|
|
|
84611
|
-
//# debugId=
|
|
85211
|
+
//# debugId=75D9072019A1E3C264756E2164756E21
|
|
84612
85212
|
//# sourceMappingURL=mcp-server.js.map
|