@moovio/sdk 0.19.1 → 0.20.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 +1261 -659
- package/bin/mcp-server.js.map +20 -10
- 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/imagemetadata.d.ts +5 -0
- package/models/components/imagemetadata.d.ts.map +1 -1
- package/models/components/imagemetadata.js +2 -0
- package/models/components/imagemetadata.js.map +1 -1
- package/models/components/incurredfee.d.ts +2 -0
- package/models/components/incurredfee.d.ts.map +1 -1
- package/models/components/incurredfee.js +2 -0
- package/models/components/incurredfee.js.map +1 -1
- 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/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/imagemetadata.ts +7 -0
- package/src/models/components/incurredfee.ts +4 -0
- package/src/models/components/index.ts +1 -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/test/tests/accounts.test.ts +2 -2
- package/test/tests/bankAccounts.test.ts +2 -8
- package/test/tests/capabilities.test.ts +3 -3
- package/test/tests/cards.test.ts +4 -4
- package/test/tests/paymentMethods.test.ts +3 -3
- package/test/tests/representatives.test.ts +3 -3
- package/test/tests/transfers.test.ts +6 -6
- package/test/tests/wallets.test.ts +1 -1
- package/test/utils/utils.ts +5 -2
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.20.0",
|
|
34179
|
+
genVersion: "2.735.1",
|
|
34180
|
+
userAgent: "speakeasy-sdk/typescript 0.20.0 2.735.1 latest @moovio/sdk"
|
|
34181
34181
|
};
|
|
34182
34182
|
});
|
|
34183
34183
|
|
|
@@ -45058,6 +45058,7 @@ var init_imagemetadata = __esm(() => {
|
|
|
45058
45058
|
init_esm();
|
|
45059
45059
|
ImageMetadata$inboundSchema = objectType({
|
|
45060
45060
|
imageID: stringType(),
|
|
45061
|
+
publicID: stringType(),
|
|
45061
45062
|
altText: stringType().optional(),
|
|
45062
45063
|
link: stringType(),
|
|
45063
45064
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
@@ -45065,6 +45066,7 @@ var init_imagemetadata = __esm(() => {
|
|
|
45065
45066
|
});
|
|
45066
45067
|
ImageMetadata$outboundSchema = objectType({
|
|
45067
45068
|
imageID: stringType(),
|
|
45069
|
+
publicID: stringType(),
|
|
45068
45070
|
altText: stringType().optional(),
|
|
45069
45071
|
link: stringType(),
|
|
45070
45072
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
@@ -45214,7 +45216,8 @@ var init_incurredfee = __esm(() => {
|
|
|
45214
45216
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
45215
45217
|
feeName: stringType().optional(),
|
|
45216
45218
|
amount: AmountDecimal$inboundSchema.optional(),
|
|
45217
|
-
generatedBy: GeneratedBy$inboundSchema.optional()
|
|
45219
|
+
generatedBy: GeneratedBy$inboundSchema.optional(),
|
|
45220
|
+
feeGroup: stringType().optional()
|
|
45218
45221
|
});
|
|
45219
45222
|
IncurredFee$outboundSchema = objectType({
|
|
45220
45223
|
feeID: stringType().optional(),
|
|
@@ -45223,7 +45226,8 @@ var init_incurredfee = __esm(() => {
|
|
|
45223
45226
|
createdOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
45224
45227
|
feeName: stringType().optional(),
|
|
45225
45228
|
amount: AmountDecimal$outboundSchema.optional(),
|
|
45226
|
-
generatedBy: GeneratedBy$outboundSchema.optional()
|
|
45229
|
+
generatedBy: GeneratedBy$outboundSchema.optional(),
|
|
45230
|
+
feeGroup: stringType().optional()
|
|
45227
45231
|
});
|
|
45228
45232
|
((IncurredFee$) => {
|
|
45229
45233
|
IncurredFee$.inboundSchema = IncurredFee$inboundSchema;
|
|
@@ -47725,6 +47729,45 @@ var init_requestcard = __esm(() => {
|
|
|
47725
47729
|
})(RequestCard$ ||= {});
|
|
47726
47730
|
});
|
|
47727
47731
|
|
|
47732
|
+
// src/models/components/residual.ts
|
|
47733
|
+
var Residual$inboundSchema, Residual$outboundSchema, Residual$;
|
|
47734
|
+
var init_residual = __esm(() => {
|
|
47735
|
+
init_esm();
|
|
47736
|
+
init_amountdecimal();
|
|
47737
|
+
Residual$inboundSchema = objectType({
|
|
47738
|
+
residualID: stringType(),
|
|
47739
|
+
partnerAccountID: stringType(),
|
|
47740
|
+
periodStart: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
47741
|
+
periodEnd: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
47742
|
+
merchantFees: AmountDecimal$inboundSchema,
|
|
47743
|
+
partnerCost: AmountDecimal$inboundSchema,
|
|
47744
|
+
netIncome: AmountDecimal$inboundSchema,
|
|
47745
|
+
revenueShare: stringType(),
|
|
47746
|
+
residualAmount: AmountDecimal$inboundSchema,
|
|
47747
|
+
moovShare: AmountDecimal$inboundSchema,
|
|
47748
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
47749
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
47750
|
+
});
|
|
47751
|
+
Residual$outboundSchema = objectType({
|
|
47752
|
+
residualID: stringType(),
|
|
47753
|
+
partnerAccountID: stringType(),
|
|
47754
|
+
periodStart: dateType().transform((v2) => v2.toISOString()),
|
|
47755
|
+
periodEnd: dateType().transform((v2) => v2.toISOString()),
|
|
47756
|
+
merchantFees: AmountDecimal$outboundSchema,
|
|
47757
|
+
partnerCost: AmountDecimal$outboundSchema,
|
|
47758
|
+
netIncome: AmountDecimal$outboundSchema,
|
|
47759
|
+
revenueShare: stringType(),
|
|
47760
|
+
residualAmount: AmountDecimal$outboundSchema,
|
|
47761
|
+
moovShare: AmountDecimal$outboundSchema,
|
|
47762
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
47763
|
+
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
47764
|
+
});
|
|
47765
|
+
((Residual$) => {
|
|
47766
|
+
Residual$.inboundSchema = Residual$inboundSchema;
|
|
47767
|
+
Residual$.outboundSchema = Residual$outboundSchema;
|
|
47768
|
+
})(Residual$ ||= {});
|
|
47769
|
+
});
|
|
47770
|
+
|
|
47728
47771
|
// src/models/components/reversedwithcancellation.ts
|
|
47729
47772
|
var ReversedWithCancellation$inboundSchema, ReversedWithCancellation$outboundSchema, ReversedWithCancellation$;
|
|
47730
47773
|
var init_reversedwithcancellation = __esm(() => {
|
|
@@ -50779,6 +50822,7 @@ var init_components = __esm(() => {
|
|
|
50779
50822
|
init_requirementerror();
|
|
50780
50823
|
init_requirementerrorcode();
|
|
50781
50824
|
init_requirementid();
|
|
50825
|
+
init_residual();
|
|
50782
50826
|
init_returnpolicytype();
|
|
50783
50827
|
init_reversal();
|
|
50784
50828
|
init_reversedwithcancellation();
|
|
@@ -57698,6 +57742,66 @@ var init_getrepresentative = __esm(() => {
|
|
|
57698
57742
|
})(GetRepresentativeResponse$ ||= {});
|
|
57699
57743
|
});
|
|
57700
57744
|
|
|
57745
|
+
// src/models/operations/getresidual.ts
|
|
57746
|
+
var GetResidualGlobals$inboundSchema, GetResidualGlobals$outboundSchema, GetResidualGlobals$, GetResidualRequest$inboundSchema, GetResidualRequest$outboundSchema, GetResidualRequest$, GetResidualResponse$inboundSchema, GetResidualResponse$outboundSchema, GetResidualResponse$;
|
|
57747
|
+
var init_getresidual = __esm(() => {
|
|
57748
|
+
init_esm();
|
|
57749
|
+
init_primitives();
|
|
57750
|
+
init_components();
|
|
57751
|
+
GetResidualGlobals$inboundSchema = objectType({
|
|
57752
|
+
"X-Moov-Version": stringType().default("v2024.01.00")
|
|
57753
|
+
}).transform((v2) => {
|
|
57754
|
+
return remap(v2, {
|
|
57755
|
+
"X-Moov-Version": "xMoovVersion"
|
|
57756
|
+
});
|
|
57757
|
+
});
|
|
57758
|
+
GetResidualGlobals$outboundSchema = objectType({
|
|
57759
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
57760
|
+
}).transform((v2) => {
|
|
57761
|
+
return remap(v2, {
|
|
57762
|
+
xMoovVersion: "X-Moov-Version"
|
|
57763
|
+
});
|
|
57764
|
+
});
|
|
57765
|
+
((GetResidualGlobals$) => {
|
|
57766
|
+
GetResidualGlobals$.inboundSchema = GetResidualGlobals$inboundSchema;
|
|
57767
|
+
GetResidualGlobals$.outboundSchema = GetResidualGlobals$outboundSchema;
|
|
57768
|
+
})(GetResidualGlobals$ ||= {});
|
|
57769
|
+
GetResidualRequest$inboundSchema = objectType({
|
|
57770
|
+
accountID: stringType(),
|
|
57771
|
+
residualID: stringType()
|
|
57772
|
+
});
|
|
57773
|
+
GetResidualRequest$outboundSchema = objectType({
|
|
57774
|
+
accountID: stringType(),
|
|
57775
|
+
residualID: stringType()
|
|
57776
|
+
});
|
|
57777
|
+
((GetResidualRequest$) => {
|
|
57778
|
+
GetResidualRequest$.inboundSchema = GetResidualRequest$inboundSchema;
|
|
57779
|
+
GetResidualRequest$.outboundSchema = GetResidualRequest$outboundSchema;
|
|
57780
|
+
})(GetResidualRequest$ ||= {});
|
|
57781
|
+
GetResidualResponse$inboundSchema = objectType({
|
|
57782
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
57783
|
+
Result: Residual$inboundSchema
|
|
57784
|
+
}).transform((v2) => {
|
|
57785
|
+
return remap(v2, {
|
|
57786
|
+
Headers: "headers",
|
|
57787
|
+
Result: "result"
|
|
57788
|
+
});
|
|
57789
|
+
});
|
|
57790
|
+
GetResidualResponse$outboundSchema = objectType({
|
|
57791
|
+
headers: recordType(arrayType(stringType())),
|
|
57792
|
+
result: Residual$outboundSchema
|
|
57793
|
+
}).transform((v2) => {
|
|
57794
|
+
return remap(v2, {
|
|
57795
|
+
headers: "Headers",
|
|
57796
|
+
result: "Result"
|
|
57797
|
+
});
|
|
57798
|
+
});
|
|
57799
|
+
((GetResidualResponse$) => {
|
|
57800
|
+
GetResidualResponse$.inboundSchema = GetResidualResponse$inboundSchema;
|
|
57801
|
+
GetResidualResponse$.outboundSchema = GetResidualResponse$outboundSchema;
|
|
57802
|
+
})(GetResidualResponse$ ||= {});
|
|
57803
|
+
});
|
|
57804
|
+
|
|
57701
57805
|
// src/models/operations/getscheduledoccurrence.ts
|
|
57702
57806
|
var GetScheduledOccurrenceGlobals$inboundSchema, GetScheduledOccurrenceGlobals$outboundSchema, GetScheduledOccurrenceGlobals$, GetScheduledOccurrenceRequest$inboundSchema, GetScheduledOccurrenceRequest$outboundSchema, GetScheduledOccurrenceRequest$, GetScheduledOccurrenceResponse$inboundSchema, GetScheduledOccurrenceResponse$outboundSchema, GetScheduledOccurrenceResponse$;
|
|
57703
57807
|
var init_getscheduledoccurrence = __esm(() => {
|
|
@@ -60743,6 +60847,140 @@ var init_listrepresentatives = __esm(() => {
|
|
|
60743
60847
|
})(ListRepresentativesResponse$ ||= {});
|
|
60744
60848
|
});
|
|
60745
60849
|
|
|
60850
|
+
// src/models/operations/listresidualfees.ts
|
|
60851
|
+
var ListResidualFeesGlobals$inboundSchema, ListResidualFeesGlobals$outboundSchema, ListResidualFeesGlobals$, ListResidualFeesRequest$inboundSchema, ListResidualFeesRequest$outboundSchema, ListResidualFeesRequest$, ListResidualFeesResponse$inboundSchema, ListResidualFeesResponse$outboundSchema, ListResidualFeesResponse$;
|
|
60852
|
+
var init_listresidualfees = __esm(() => {
|
|
60853
|
+
init_esm();
|
|
60854
|
+
init_primitives();
|
|
60855
|
+
init_components();
|
|
60856
|
+
ListResidualFeesGlobals$inboundSchema = objectType({
|
|
60857
|
+
"X-Moov-Version": stringType().default("v2024.01.00")
|
|
60858
|
+
}).transform((v2) => {
|
|
60859
|
+
return remap(v2, {
|
|
60860
|
+
"X-Moov-Version": "xMoovVersion"
|
|
60861
|
+
});
|
|
60862
|
+
});
|
|
60863
|
+
ListResidualFeesGlobals$outboundSchema = objectType({
|
|
60864
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
60865
|
+
}).transform((v2) => {
|
|
60866
|
+
return remap(v2, {
|
|
60867
|
+
xMoovVersion: "X-Moov-Version"
|
|
60868
|
+
});
|
|
60869
|
+
});
|
|
60870
|
+
((ListResidualFeesGlobals$) => {
|
|
60871
|
+
ListResidualFeesGlobals$.inboundSchema = ListResidualFeesGlobals$inboundSchema;
|
|
60872
|
+
ListResidualFeesGlobals$.outboundSchema = ListResidualFeesGlobals$outboundSchema;
|
|
60873
|
+
})(ListResidualFeesGlobals$ ||= {});
|
|
60874
|
+
ListResidualFeesRequest$inboundSchema = objectType({
|
|
60875
|
+
skip: numberType().int().optional(),
|
|
60876
|
+
count: numberType().int().optional(),
|
|
60877
|
+
accountID: stringType(),
|
|
60878
|
+
residualID: stringType(),
|
|
60879
|
+
startDateTime: stringType().optional(),
|
|
60880
|
+
endDateTime: stringType().optional()
|
|
60881
|
+
});
|
|
60882
|
+
ListResidualFeesRequest$outboundSchema = objectType({
|
|
60883
|
+
skip: numberType().int().optional(),
|
|
60884
|
+
count: numberType().int().optional(),
|
|
60885
|
+
accountID: stringType(),
|
|
60886
|
+
residualID: stringType(),
|
|
60887
|
+
startDateTime: stringType().optional(),
|
|
60888
|
+
endDateTime: stringType().optional()
|
|
60889
|
+
});
|
|
60890
|
+
((ListResidualFeesRequest$) => {
|
|
60891
|
+
ListResidualFeesRequest$.inboundSchema = ListResidualFeesRequest$inboundSchema;
|
|
60892
|
+
ListResidualFeesRequest$.outboundSchema = ListResidualFeesRequest$outboundSchema;
|
|
60893
|
+
})(ListResidualFeesRequest$ ||= {});
|
|
60894
|
+
ListResidualFeesResponse$inboundSchema = objectType({
|
|
60895
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
60896
|
+
Result: arrayType(IncurredFee$inboundSchema)
|
|
60897
|
+
}).transform((v2) => {
|
|
60898
|
+
return remap(v2, {
|
|
60899
|
+
Headers: "headers",
|
|
60900
|
+
Result: "result"
|
|
60901
|
+
});
|
|
60902
|
+
});
|
|
60903
|
+
ListResidualFeesResponse$outboundSchema = objectType({
|
|
60904
|
+
headers: recordType(arrayType(stringType())),
|
|
60905
|
+
result: arrayType(IncurredFee$outboundSchema)
|
|
60906
|
+
}).transform((v2) => {
|
|
60907
|
+
return remap(v2, {
|
|
60908
|
+
headers: "Headers",
|
|
60909
|
+
result: "Result"
|
|
60910
|
+
});
|
|
60911
|
+
});
|
|
60912
|
+
((ListResidualFeesResponse$) => {
|
|
60913
|
+
ListResidualFeesResponse$.inboundSchema = ListResidualFeesResponse$inboundSchema;
|
|
60914
|
+
ListResidualFeesResponse$.outboundSchema = ListResidualFeesResponse$outboundSchema;
|
|
60915
|
+
})(ListResidualFeesResponse$ ||= {});
|
|
60916
|
+
});
|
|
60917
|
+
|
|
60918
|
+
// src/models/operations/listresiduals.ts
|
|
60919
|
+
var ListResidualsGlobals$inboundSchema, ListResidualsGlobals$outboundSchema, ListResidualsGlobals$, ListResidualsRequest$inboundSchema, ListResidualsRequest$outboundSchema, ListResidualsRequest$, ListResidualsResponse$inboundSchema, ListResidualsResponse$outboundSchema, ListResidualsResponse$;
|
|
60920
|
+
var init_listresiduals = __esm(() => {
|
|
60921
|
+
init_esm();
|
|
60922
|
+
init_primitives();
|
|
60923
|
+
init_components();
|
|
60924
|
+
ListResidualsGlobals$inboundSchema = objectType({
|
|
60925
|
+
"X-Moov-Version": stringType().default("v2024.01.00")
|
|
60926
|
+
}).transform((v2) => {
|
|
60927
|
+
return remap(v2, {
|
|
60928
|
+
"X-Moov-Version": "xMoovVersion"
|
|
60929
|
+
});
|
|
60930
|
+
});
|
|
60931
|
+
ListResidualsGlobals$outboundSchema = objectType({
|
|
60932
|
+
xMoovVersion: stringType().default("v2024.01.00")
|
|
60933
|
+
}).transform((v2) => {
|
|
60934
|
+
return remap(v2, {
|
|
60935
|
+
xMoovVersion: "X-Moov-Version"
|
|
60936
|
+
});
|
|
60937
|
+
});
|
|
60938
|
+
((ListResidualsGlobals$) => {
|
|
60939
|
+
ListResidualsGlobals$.inboundSchema = ListResidualsGlobals$inboundSchema;
|
|
60940
|
+
ListResidualsGlobals$.outboundSchema = ListResidualsGlobals$outboundSchema;
|
|
60941
|
+
})(ListResidualsGlobals$ ||= {});
|
|
60942
|
+
ListResidualsRequest$inboundSchema = objectType({
|
|
60943
|
+
skip: numberType().int().optional(),
|
|
60944
|
+
count: numberType().int().optional(),
|
|
60945
|
+
accountID: stringType(),
|
|
60946
|
+
startDateTime: stringType().optional(),
|
|
60947
|
+
endDateTime: stringType().optional()
|
|
60948
|
+
});
|
|
60949
|
+
ListResidualsRequest$outboundSchema = objectType({
|
|
60950
|
+
skip: numberType().int().optional(),
|
|
60951
|
+
count: numberType().int().optional(),
|
|
60952
|
+
accountID: stringType(),
|
|
60953
|
+
startDateTime: stringType().optional(),
|
|
60954
|
+
endDateTime: stringType().optional()
|
|
60955
|
+
});
|
|
60956
|
+
((ListResidualsRequest$) => {
|
|
60957
|
+
ListResidualsRequest$.inboundSchema = ListResidualsRequest$inboundSchema;
|
|
60958
|
+
ListResidualsRequest$.outboundSchema = ListResidualsRequest$outboundSchema;
|
|
60959
|
+
})(ListResidualsRequest$ ||= {});
|
|
60960
|
+
ListResidualsResponse$inboundSchema = objectType({
|
|
60961
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
60962
|
+
Result: arrayType(Residual$inboundSchema)
|
|
60963
|
+
}).transform((v2) => {
|
|
60964
|
+
return remap(v2, {
|
|
60965
|
+
Headers: "headers",
|
|
60966
|
+
Result: "result"
|
|
60967
|
+
});
|
|
60968
|
+
});
|
|
60969
|
+
ListResidualsResponse$outboundSchema = objectType({
|
|
60970
|
+
headers: recordType(arrayType(stringType())),
|
|
60971
|
+
result: arrayType(Residual$outboundSchema)
|
|
60972
|
+
}).transform((v2) => {
|
|
60973
|
+
return remap(v2, {
|
|
60974
|
+
headers: "Headers",
|
|
60975
|
+
result: "Result"
|
|
60976
|
+
});
|
|
60977
|
+
});
|
|
60978
|
+
((ListResidualsResponse$) => {
|
|
60979
|
+
ListResidualsResponse$.inboundSchema = ListResidualsResponse$inboundSchema;
|
|
60980
|
+
ListResidualsResponse$.outboundSchema = ListResidualsResponse$outboundSchema;
|
|
60981
|
+
})(ListResidualsResponse$ ||= {});
|
|
60982
|
+
});
|
|
60983
|
+
|
|
60746
60984
|
// src/models/operations/listschedules.ts
|
|
60747
60985
|
var Hydrate, ListSchedulesGlobals$inboundSchema, ListSchedulesGlobals$outboundSchema, ListSchedulesGlobals$, Hydrate$inboundSchema, Hydrate$outboundSchema, Hydrate$, ListSchedulesRequest$inboundSchema, ListSchedulesRequest$outboundSchema, ListSchedulesRequest$, ListSchedulesResponse$inboundSchema, ListSchedulesResponse$outboundSchema, ListSchedulesResponse$;
|
|
60748
60986
|
var init_listschedules = __esm(() => {
|
|
@@ -63674,6 +63912,7 @@ var init_operations = __esm(() => {
|
|
|
63674
63912
|
init_getpublicimage();
|
|
63675
63913
|
init_getrefund();
|
|
63676
63914
|
init_getrepresentative();
|
|
63915
|
+
init_getresidual();
|
|
63677
63916
|
init_getscheduledoccurrence();
|
|
63678
63917
|
init_getschedules();
|
|
63679
63918
|
init_getstatement();
|
|
@@ -63722,6 +63961,8 @@ var init_operations = __esm(() => {
|
|
|
63722
63961
|
init_listreceipts();
|
|
63723
63962
|
init_listrefunds();
|
|
63724
63963
|
init_listrepresentatives();
|
|
63964
|
+
init_listresidualfees();
|
|
63965
|
+
init_listresiduals();
|
|
63725
63966
|
init_listschedules();
|
|
63726
63967
|
init_liststatements();
|
|
63727
63968
|
init_listsweepconfigs();
|
|
@@ -71889,11 +72130,126 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
71889
72130
|
};
|
|
71890
72131
|
});
|
|
71891
72132
|
|
|
71892
|
-
// src/funcs/
|
|
71893
|
-
function
|
|
72133
|
+
// src/funcs/feePlansGetResidual.ts
|
|
72134
|
+
function feePlansGetResidual(client, request, options) {
|
|
71894
72135
|
return new APIPromise($do67(client, request, options));
|
|
71895
72136
|
}
|
|
71896
72137
|
async function $do67(client, request, options) {
|
|
72138
|
+
const parsed = safeParse(request, (value) => GetResidualRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72139
|
+
if (!parsed.ok) {
|
|
72140
|
+
return [parsed, { status: "invalid" }];
|
|
72141
|
+
}
|
|
72142
|
+
const payload = parsed.value;
|
|
72143
|
+
const body = null;
|
|
72144
|
+
const pathParams = {
|
|
72145
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72146
|
+
explode: false,
|
|
72147
|
+
charEncoding: "percent"
|
|
72148
|
+
}),
|
|
72149
|
+
residualID: encodeSimple("residualID", payload.residualID, {
|
|
72150
|
+
explode: false,
|
|
72151
|
+
charEncoding: "percent"
|
|
72152
|
+
})
|
|
72153
|
+
};
|
|
72154
|
+
const path = pathToFunc("/accounts/{accountID}/residuals/{residualID}")(pathParams);
|
|
72155
|
+
const headers = new Headers(compactMap({
|
|
72156
|
+
Accept: "application/json",
|
|
72157
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72158
|
+
}));
|
|
72159
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72160
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72161
|
+
const context = {
|
|
72162
|
+
options: client._options,
|
|
72163
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72164
|
+
operationID: "getResidual",
|
|
72165
|
+
oAuth2Scopes: null,
|
|
72166
|
+
resolvedSecurity: requestSecurity,
|
|
72167
|
+
securitySource: client._options.security,
|
|
72168
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72169
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72170
|
+
};
|
|
72171
|
+
const requestRes = client._createRequest(context, {
|
|
72172
|
+
security: requestSecurity,
|
|
72173
|
+
method: "GET",
|
|
72174
|
+
baseURL: options?.serverURL,
|
|
72175
|
+
path,
|
|
72176
|
+
headers,
|
|
72177
|
+
body,
|
|
72178
|
+
userAgent: client._options.userAgent,
|
|
72179
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72180
|
+
}, options);
|
|
72181
|
+
if (!requestRes.ok) {
|
|
72182
|
+
return [requestRes, { status: "invalid" }];
|
|
72183
|
+
}
|
|
72184
|
+
const req = requestRes.value;
|
|
72185
|
+
const doResult = await client._do(req, {
|
|
72186
|
+
context,
|
|
72187
|
+
errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
|
|
72188
|
+
retryConfig: context.retryConfig,
|
|
72189
|
+
retryCodes: context.retryCodes
|
|
72190
|
+
});
|
|
72191
|
+
if (!doResult.ok) {
|
|
72192
|
+
return [doResult, { status: "request-error", request: req }];
|
|
72193
|
+
}
|
|
72194
|
+
const response = doResult.value;
|
|
72195
|
+
const responseFields = {
|
|
72196
|
+
HttpMeta: { Response: response, Request: req }
|
|
72197
|
+
};
|
|
72198
|
+
const [result] = await match(json(200, GetResidualResponse$inboundSchema, {
|
|
72199
|
+
hdrs: true,
|
|
72200
|
+
key: "Result"
|
|
72201
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
72202
|
+
if (!result.ok) {
|
|
72203
|
+
return [result, { status: "complete", request: req, response }];
|
|
72204
|
+
}
|
|
72205
|
+
return [result, { status: "complete", request: req, response }];
|
|
72206
|
+
}
|
|
72207
|
+
var init_feePlansGetResidual = __esm(() => {
|
|
72208
|
+
init_encodings();
|
|
72209
|
+
init_matchers();
|
|
72210
|
+
init_primitives();
|
|
72211
|
+
init_schemas();
|
|
72212
|
+
init_security();
|
|
72213
|
+
init_url();
|
|
72214
|
+
init_operations();
|
|
72215
|
+
init_async();
|
|
72216
|
+
});
|
|
72217
|
+
|
|
72218
|
+
// src/mcp-server/tools/feePlansGetResidual.ts
|
|
72219
|
+
var args67, tool$feePlansGetResidual;
|
|
72220
|
+
var init_feePlansGetResidual2 = __esm(() => {
|
|
72221
|
+
init_feePlansGetResidual();
|
|
72222
|
+
init_operations();
|
|
72223
|
+
init_tools();
|
|
72224
|
+
args67 = {
|
|
72225
|
+
request: GetResidualRequest$inboundSchema
|
|
72226
|
+
};
|
|
72227
|
+
tool$feePlansGetResidual = {
|
|
72228
|
+
name: "fee-plans-get-residual",
|
|
72229
|
+
description: `Get a residual associated with an account.
|
|
72230
|
+
|
|
72231
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72232
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72233
|
+
args: args67,
|
|
72234
|
+
tool: async (client, args68, ctx) => {
|
|
72235
|
+
const [result, apiCall] = await feePlansGetResidual(client, args68.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72236
|
+
if (!result.ok) {
|
|
72237
|
+
return {
|
|
72238
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72239
|
+
isError: true
|
|
72240
|
+
};
|
|
72241
|
+
}
|
|
72242
|
+
const value = result.value.result;
|
|
72243
|
+
return formatResult(value, apiCall);
|
|
72244
|
+
}
|
|
72245
|
+
};
|
|
72246
|
+
});
|
|
72247
|
+
|
|
72248
|
+
// src/funcs/feePlansListFeePlanAgreements.ts
|
|
72249
|
+
function feePlansListFeePlanAgreements(client, request, options) {
|
|
72250
|
+
return new APIPromise($do68(client, request, options));
|
|
72251
|
+
}
|
|
72252
|
+
async function $do68(client, request, options) {
|
|
71897
72253
|
const parsed = safeParse(request, (value) => ListFeePlanAgreementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
71898
72254
|
if (!parsed.ok) {
|
|
71899
72255
|
return [parsed, { status: "invalid" }];
|
|
@@ -71978,12 +72334,12 @@ var init_feePlansListFeePlanAgreements = __esm(() => {
|
|
|
71978
72334
|
});
|
|
71979
72335
|
|
|
71980
72336
|
// src/mcp-server/tools/feePlansListFeePlanAgreements.ts
|
|
71981
|
-
var
|
|
72337
|
+
var args68, tool$feePlansListFeePlanAgreements;
|
|
71982
72338
|
var init_feePlansListFeePlanAgreements2 = __esm(() => {
|
|
71983
72339
|
init_feePlansListFeePlanAgreements();
|
|
71984
72340
|
init_operations();
|
|
71985
72341
|
init_tools();
|
|
71986
|
-
|
|
72342
|
+
args68 = {
|
|
71987
72343
|
request: ListFeePlanAgreementsRequest$inboundSchema
|
|
71988
72344
|
};
|
|
71989
72345
|
tool$feePlansListFeePlanAgreements = {
|
|
@@ -71992,9 +72348,9 @@ var init_feePlansListFeePlanAgreements2 = __esm(() => {
|
|
|
71992
72348
|
|
|
71993
72349
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
71994
72350
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
71995
|
-
args:
|
|
71996
|
-
tool: async (client,
|
|
71997
|
-
const [result, apiCall] = await feePlansListFeePlanAgreements(client,
|
|
72351
|
+
args: args68,
|
|
72352
|
+
tool: async (client, args69, ctx) => {
|
|
72353
|
+
const [result, apiCall] = await feePlansListFeePlanAgreements(client, args69.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
71998
72354
|
if (!result.ok) {
|
|
71999
72355
|
return {
|
|
72000
72356
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72009,9 +72365,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72009
72365
|
|
|
72010
72366
|
// src/funcs/feePlansListFeePlans.ts
|
|
72011
72367
|
function feePlansListFeePlans(client, request, options) {
|
|
72012
|
-
return new APIPromise($
|
|
72368
|
+
return new APIPromise($do69(client, request, options));
|
|
72013
72369
|
}
|
|
72014
|
-
async function $
|
|
72370
|
+
async function $do69(client, request, options) {
|
|
72015
72371
|
const parsed = safeParse(request, (value) => ListFeePlansRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72016
72372
|
if (!parsed.ok) {
|
|
72017
72373
|
return [parsed, { status: "invalid" }];
|
|
@@ -72093,12 +72449,12 @@ var init_feePlansListFeePlans = __esm(() => {
|
|
|
72093
72449
|
});
|
|
72094
72450
|
|
|
72095
72451
|
// src/mcp-server/tools/feePlansListFeePlans.ts
|
|
72096
|
-
var
|
|
72452
|
+
var args69, tool$feePlansListFeePlans;
|
|
72097
72453
|
var init_feePlansListFeePlans2 = __esm(() => {
|
|
72098
72454
|
init_feePlansListFeePlans();
|
|
72099
72455
|
init_operations();
|
|
72100
72456
|
init_tools();
|
|
72101
|
-
|
|
72457
|
+
args69 = {
|
|
72102
72458
|
request: ListFeePlansRequest$inboundSchema
|
|
72103
72459
|
};
|
|
72104
72460
|
tool$feePlansListFeePlans = {
|
|
@@ -72108,9 +72464,9 @@ selecting a fee plan to apply to a connected account.
|
|
|
72108
72464
|
|
|
72109
72465
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72110
72466
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72111
|
-
args:
|
|
72112
|
-
tool: async (client,
|
|
72113
|
-
const [result, apiCall] = await feePlansListFeePlans(client,
|
|
72467
|
+
args: args69,
|
|
72468
|
+
tool: async (client, args70, ctx) => {
|
|
72469
|
+
const [result, apiCall] = await feePlansListFeePlans(client, args70.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72114
72470
|
if (!result.ok) {
|
|
72115
72471
|
return {
|
|
72116
72472
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72125,9 +72481,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72125
72481
|
|
|
72126
72482
|
// src/funcs/feePlansListFeesFetch.ts
|
|
72127
72483
|
function feePlansListFeesFetch(client, request, options) {
|
|
72128
|
-
return new APIPromise($
|
|
72484
|
+
return new APIPromise($do70(client, request, options));
|
|
72129
72485
|
}
|
|
72130
|
-
async function $
|
|
72486
|
+
async function $do70(client, request, options) {
|
|
72131
72487
|
const parsed = safeParse(request, (value) => ListFeesFetchRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
72132
72488
|
if (!parsed.ok) {
|
|
72133
72489
|
return [parsed, { status: "invalid" }];
|
|
@@ -72208,12 +72564,12 @@ var init_feePlansListFeesFetch = __esm(() => {
|
|
|
72208
72564
|
});
|
|
72209
72565
|
|
|
72210
72566
|
// src/mcp-server/tools/feePlansListFeesFetch.ts
|
|
72211
|
-
var
|
|
72567
|
+
var args70, tool$feePlansListFeesFetch;
|
|
72212
72568
|
var init_feePlansListFeesFetch2 = __esm(() => {
|
|
72213
72569
|
init_feePlansListFeesFetch();
|
|
72214
72570
|
init_operations();
|
|
72215
72571
|
init_tools();
|
|
72216
|
-
|
|
72572
|
+
args70 = {
|
|
72217
72573
|
request: ListFeesFetchRequest$inboundSchema2
|
|
72218
72574
|
};
|
|
72219
72575
|
tool$feePlansListFeesFetch = {
|
|
@@ -72222,9 +72578,9 @@ var init_feePlansListFeesFetch2 = __esm(() => {
|
|
|
72222
72578
|
|
|
72223
72579
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72224
72580
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72225
|
-
args:
|
|
72226
|
-
tool: async (client,
|
|
72227
|
-
const [result, apiCall] = await feePlansListFeesFetch(client,
|
|
72581
|
+
args: args70,
|
|
72582
|
+
tool: async (client, args71, ctx) => {
|
|
72583
|
+
const [result, apiCall] = await feePlansListFeesFetch(client, args71.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72228
72584
|
if (!result.ok) {
|
|
72229
72585
|
return {
|
|
72230
72586
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72239,9 +72595,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72239
72595
|
|
|
72240
72596
|
// src/funcs/feePlansListPartnerPricing.ts
|
|
72241
72597
|
function feePlansListPartnerPricing(client, request, options) {
|
|
72242
|
-
return new APIPromise($
|
|
72598
|
+
return new APIPromise($do71(client, request, options));
|
|
72243
72599
|
}
|
|
72244
|
-
async function $
|
|
72600
|
+
async function $do71(client, request, options) {
|
|
72245
72601
|
const parsed = safeParse(request, (value) => ListPartnerPricingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72246
72602
|
if (!parsed.ok) {
|
|
72247
72603
|
return [parsed, { status: "invalid" }];
|
|
@@ -72323,12 +72679,12 @@ var init_feePlansListPartnerPricing = __esm(() => {
|
|
|
72323
72679
|
});
|
|
72324
72680
|
|
|
72325
72681
|
// src/mcp-server/tools/feePlansListPartnerPricing.ts
|
|
72326
|
-
var
|
|
72682
|
+
var args71, tool$feePlansListPartnerPricing;
|
|
72327
72683
|
var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
72328
72684
|
init_feePlansListPartnerPricing();
|
|
72329
72685
|
init_operations();
|
|
72330
72686
|
init_tools();
|
|
72331
|
-
|
|
72687
|
+
args71 = {
|
|
72332
72688
|
request: ListPartnerPricingRequest$inboundSchema
|
|
72333
72689
|
};
|
|
72334
72690
|
tool$feePlansListPartnerPricing = {
|
|
@@ -72337,9 +72693,9 @@ var init_feePlansListPartnerPricing2 = __esm(() => {
|
|
|
72337
72693
|
|
|
72338
72694
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72339
72695
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72340
|
-
args:
|
|
72341
|
-
tool: async (client,
|
|
72342
|
-
const [result, apiCall] = await feePlansListPartnerPricing(client,
|
|
72696
|
+
args: args71,
|
|
72697
|
+
tool: async (client, args72, ctx) => {
|
|
72698
|
+
const [result, apiCall] = await feePlansListPartnerPricing(client, args72.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72343
72699
|
if (!result.ok) {
|
|
72344
72700
|
return {
|
|
72345
72701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72354,9 +72710,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72354
72710
|
|
|
72355
72711
|
// src/funcs/feePlansListPartnerPricingAgreements.ts
|
|
72356
72712
|
function feePlansListPartnerPricingAgreements(client, request, options) {
|
|
72357
|
-
return new APIPromise($
|
|
72713
|
+
return new APIPromise($do72(client, request, options));
|
|
72358
72714
|
}
|
|
72359
|
-
async function $
|
|
72715
|
+
async function $do72(client, request, options) {
|
|
72360
72716
|
const parsed = safeParse(request, (value) => ListPartnerPricingAgreementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72361
72717
|
if (!parsed.ok) {
|
|
72362
72718
|
return [parsed, { status: "invalid" }];
|
|
@@ -72441,12 +72797,12 @@ var init_feePlansListPartnerPricingAgreements = __esm(() => {
|
|
|
72441
72797
|
});
|
|
72442
72798
|
|
|
72443
72799
|
// src/mcp-server/tools/feePlansListPartnerPricingAgreements.ts
|
|
72444
|
-
var
|
|
72800
|
+
var args72, tool$feePlansListPartnerPricingAgreements;
|
|
72445
72801
|
var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
72446
72802
|
init_feePlansListPartnerPricingAgreements();
|
|
72447
72803
|
init_operations();
|
|
72448
72804
|
init_tools();
|
|
72449
|
-
|
|
72805
|
+
args72 = {
|
|
72450
72806
|
request: ListPartnerPricingAgreementsRequest$inboundSchema
|
|
72451
72807
|
};
|
|
72452
72808
|
tool$feePlansListPartnerPricingAgreements = {
|
|
@@ -72455,9 +72811,249 @@ var init_feePlansListPartnerPricingAgreements2 = __esm(() => {
|
|
|
72455
72811
|
|
|
72456
72812
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72457
72813
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72458
|
-
args:
|
|
72459
|
-
tool: async (client,
|
|
72460
|
-
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client,
|
|
72814
|
+
args: args72,
|
|
72815
|
+
tool: async (client, args73, ctx) => {
|
|
72816
|
+
const [result, apiCall] = await feePlansListPartnerPricingAgreements(client, args73.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72817
|
+
if (!result.ok) {
|
|
72818
|
+
return {
|
|
72819
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72820
|
+
isError: true
|
|
72821
|
+
};
|
|
72822
|
+
}
|
|
72823
|
+
const value = result.value.result;
|
|
72824
|
+
return formatResult(value, apiCall);
|
|
72825
|
+
}
|
|
72826
|
+
};
|
|
72827
|
+
});
|
|
72828
|
+
|
|
72829
|
+
// src/funcs/feePlansListResidualFees.ts
|
|
72830
|
+
function feePlansListResidualFees(client, request, options) {
|
|
72831
|
+
return new APIPromise($do73(client, request, options));
|
|
72832
|
+
}
|
|
72833
|
+
async function $do73(client, request, options) {
|
|
72834
|
+
const parsed = safeParse(request, (value) => ListResidualFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72835
|
+
if (!parsed.ok) {
|
|
72836
|
+
return [parsed, { status: "invalid" }];
|
|
72837
|
+
}
|
|
72838
|
+
const payload = parsed.value;
|
|
72839
|
+
const body = null;
|
|
72840
|
+
const pathParams = {
|
|
72841
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72842
|
+
explode: false,
|
|
72843
|
+
charEncoding: "percent"
|
|
72844
|
+
}),
|
|
72845
|
+
residualID: encodeSimple("residualID", payload.residualID, {
|
|
72846
|
+
explode: false,
|
|
72847
|
+
charEncoding: "percent"
|
|
72848
|
+
})
|
|
72849
|
+
};
|
|
72850
|
+
const path = pathToFunc("/accounts/{accountID}/residuals/{residualID}/fees")(pathParams);
|
|
72851
|
+
const query = encodeFormQuery({
|
|
72852
|
+
count: payload.count,
|
|
72853
|
+
endDateTime: payload.endDateTime,
|
|
72854
|
+
skip: payload.skip,
|
|
72855
|
+
startDateTime: payload.startDateTime
|
|
72856
|
+
}, { explode: false });
|
|
72857
|
+
const headers = new Headers(compactMap({
|
|
72858
|
+
Accept: "application/json",
|
|
72859
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72860
|
+
}));
|
|
72861
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72862
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72863
|
+
const context = {
|
|
72864
|
+
options: client._options,
|
|
72865
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72866
|
+
operationID: "listResidualFees",
|
|
72867
|
+
oAuth2Scopes: null,
|
|
72868
|
+
resolvedSecurity: requestSecurity,
|
|
72869
|
+
securitySource: client._options.security,
|
|
72870
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72871
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72872
|
+
};
|
|
72873
|
+
const requestRes = client._createRequest(context, {
|
|
72874
|
+
security: requestSecurity,
|
|
72875
|
+
method: "GET",
|
|
72876
|
+
baseURL: options?.serverURL,
|
|
72877
|
+
path,
|
|
72878
|
+
headers,
|
|
72879
|
+
query,
|
|
72880
|
+
body,
|
|
72881
|
+
userAgent: client._options.userAgent,
|
|
72882
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
72883
|
+
}, options);
|
|
72884
|
+
if (!requestRes.ok) {
|
|
72885
|
+
return [requestRes, { status: "invalid" }];
|
|
72886
|
+
}
|
|
72887
|
+
const req = requestRes.value;
|
|
72888
|
+
const doResult = await client._do(req, {
|
|
72889
|
+
context,
|
|
72890
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
72891
|
+
retryConfig: context.retryConfig,
|
|
72892
|
+
retryCodes: context.retryCodes
|
|
72893
|
+
});
|
|
72894
|
+
if (!doResult.ok) {
|
|
72895
|
+
return [doResult, { status: "request-error", request: req }];
|
|
72896
|
+
}
|
|
72897
|
+
const response = doResult.value;
|
|
72898
|
+
const responseFields = {
|
|
72899
|
+
HttpMeta: { Response: response, Request: req }
|
|
72900
|
+
};
|
|
72901
|
+
const [result] = await match(json(200, ListResidualFeesResponse$inboundSchema, {
|
|
72902
|
+
hdrs: true,
|
|
72903
|
+
key: "Result"
|
|
72904
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
72905
|
+
if (!result.ok) {
|
|
72906
|
+
return [result, { status: "complete", request: req, response }];
|
|
72907
|
+
}
|
|
72908
|
+
return [result, { status: "complete", request: req, response }];
|
|
72909
|
+
}
|
|
72910
|
+
var init_feePlansListResidualFees = __esm(() => {
|
|
72911
|
+
init_encodings();
|
|
72912
|
+
init_matchers();
|
|
72913
|
+
init_primitives();
|
|
72914
|
+
init_schemas();
|
|
72915
|
+
init_security();
|
|
72916
|
+
init_url();
|
|
72917
|
+
init_operations();
|
|
72918
|
+
init_async();
|
|
72919
|
+
});
|
|
72920
|
+
|
|
72921
|
+
// src/mcp-server/tools/feePlansListResidualFees.ts
|
|
72922
|
+
var args73, tool$feePlansListResidualFees;
|
|
72923
|
+
var init_feePlansListResidualFees2 = __esm(() => {
|
|
72924
|
+
init_feePlansListResidualFees();
|
|
72925
|
+
init_operations();
|
|
72926
|
+
init_tools();
|
|
72927
|
+
args73 = {
|
|
72928
|
+
request: ListResidualFeesRequest$inboundSchema
|
|
72929
|
+
};
|
|
72930
|
+
tool$feePlansListResidualFees = {
|
|
72931
|
+
name: "fee-plans-list-residual-fees",
|
|
72932
|
+
description: `List all fees associated with a residual.
|
|
72933
|
+
|
|
72934
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72935
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
72936
|
+
args: args73,
|
|
72937
|
+
tool: async (client, args74, ctx) => {
|
|
72938
|
+
const [result, apiCall] = await feePlansListResidualFees(client, args74.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72939
|
+
if (!result.ok) {
|
|
72940
|
+
return {
|
|
72941
|
+
content: [{ type: "text", text: result.error.message }],
|
|
72942
|
+
isError: true
|
|
72943
|
+
};
|
|
72944
|
+
}
|
|
72945
|
+
const value = result.value.result;
|
|
72946
|
+
return formatResult(value, apiCall);
|
|
72947
|
+
}
|
|
72948
|
+
};
|
|
72949
|
+
});
|
|
72950
|
+
|
|
72951
|
+
// src/funcs/feePlansListResiduals.ts
|
|
72952
|
+
function feePlansListResiduals(client, request, options) {
|
|
72953
|
+
return new APIPromise($do74(client, request, options));
|
|
72954
|
+
}
|
|
72955
|
+
async function $do74(client, request, options) {
|
|
72956
|
+
const parsed = safeParse(request, (value) => ListResidualsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72957
|
+
if (!parsed.ok) {
|
|
72958
|
+
return [parsed, { status: "invalid" }];
|
|
72959
|
+
}
|
|
72960
|
+
const payload = parsed.value;
|
|
72961
|
+
const body = null;
|
|
72962
|
+
const pathParams = {
|
|
72963
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
72964
|
+
explode: false,
|
|
72965
|
+
charEncoding: "percent"
|
|
72966
|
+
})
|
|
72967
|
+
};
|
|
72968
|
+
const path = pathToFunc("/accounts/{accountID}/residuals")(pathParams);
|
|
72969
|
+
const query = encodeFormQuery({
|
|
72970
|
+
count: payload.count,
|
|
72971
|
+
endDateTime: payload.endDateTime,
|
|
72972
|
+
skip: payload.skip,
|
|
72973
|
+
startDateTime: payload.startDateTime
|
|
72974
|
+
}, { explode: false });
|
|
72975
|
+
const headers = new Headers(compactMap({
|
|
72976
|
+
Accept: "application/json",
|
|
72977
|
+
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
72978
|
+
}));
|
|
72979
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
72980
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
72981
|
+
const context = {
|
|
72982
|
+
options: client._options,
|
|
72983
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
72984
|
+
operationID: "listResiduals",
|
|
72985
|
+
oAuth2Scopes: null,
|
|
72986
|
+
resolvedSecurity: requestSecurity,
|
|
72987
|
+
securitySource: client._options.security,
|
|
72988
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
72989
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
72990
|
+
};
|
|
72991
|
+
const requestRes = client._createRequest(context, {
|
|
72992
|
+
security: requestSecurity,
|
|
72993
|
+
method: "GET",
|
|
72994
|
+
baseURL: options?.serverURL,
|
|
72995
|
+
path,
|
|
72996
|
+
headers,
|
|
72997
|
+
query,
|
|
72998
|
+
body,
|
|
72999
|
+
userAgent: client._options.userAgent,
|
|
73000
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
73001
|
+
}, options);
|
|
73002
|
+
if (!requestRes.ok) {
|
|
73003
|
+
return [requestRes, { status: "invalid" }];
|
|
73004
|
+
}
|
|
73005
|
+
const req = requestRes.value;
|
|
73006
|
+
const doResult = await client._do(req, {
|
|
73007
|
+
context,
|
|
73008
|
+
errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
|
|
73009
|
+
retryConfig: context.retryConfig,
|
|
73010
|
+
retryCodes: context.retryCodes
|
|
73011
|
+
});
|
|
73012
|
+
if (!doResult.ok) {
|
|
73013
|
+
return [doResult, { status: "request-error", request: req }];
|
|
73014
|
+
}
|
|
73015
|
+
const response = doResult.value;
|
|
73016
|
+
const responseFields = {
|
|
73017
|
+
HttpMeta: { Response: response, Request: req }
|
|
73018
|
+
};
|
|
73019
|
+
const [result] = await match(json(200, ListResidualsResponse$inboundSchema, {
|
|
73020
|
+
hdrs: true,
|
|
73021
|
+
key: "Result"
|
|
73022
|
+
}), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
73023
|
+
if (!result.ok) {
|
|
73024
|
+
return [result, { status: "complete", request: req, response }];
|
|
73025
|
+
}
|
|
73026
|
+
return [result, { status: "complete", request: req, response }];
|
|
73027
|
+
}
|
|
73028
|
+
var init_feePlansListResiduals = __esm(() => {
|
|
73029
|
+
init_encodings();
|
|
73030
|
+
init_matchers();
|
|
73031
|
+
init_primitives();
|
|
73032
|
+
init_schemas();
|
|
73033
|
+
init_security();
|
|
73034
|
+
init_url();
|
|
73035
|
+
init_operations();
|
|
73036
|
+
init_async();
|
|
73037
|
+
});
|
|
73038
|
+
|
|
73039
|
+
// src/mcp-server/tools/feePlansListResiduals.ts
|
|
73040
|
+
var args74, tool$feePlansListResiduals;
|
|
73041
|
+
var init_feePlansListResiduals2 = __esm(() => {
|
|
73042
|
+
init_feePlansListResiduals();
|
|
73043
|
+
init_operations();
|
|
73044
|
+
init_tools();
|
|
73045
|
+
args74 = {
|
|
73046
|
+
request: ListResidualsRequest$inboundSchema
|
|
73047
|
+
};
|
|
73048
|
+
tool$feePlansListResiduals = {
|
|
73049
|
+
name: "fee-plans-list-residuals",
|
|
73050
|
+
description: `List all residuals associated with an account.
|
|
73051
|
+
|
|
73052
|
+
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
73053
|
+
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
73054
|
+
args: args74,
|
|
73055
|
+
tool: async (client, args75, ctx) => {
|
|
73056
|
+
const [result, apiCall] = await feePlansListResiduals(client, args75.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72461
73057
|
if (!result.ok) {
|
|
72462
73058
|
return {
|
|
72463
73059
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72472,9 +73068,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
72472
73068
|
|
|
72473
73069
|
// src/funcs/feePlansRetrieveFees.ts
|
|
72474
73070
|
function feePlansRetrieveFees(client, request, options) {
|
|
72475
|
-
return new APIPromise($
|
|
73071
|
+
return new APIPromise($do75(client, request, options));
|
|
72476
73072
|
}
|
|
72477
|
-
async function $
|
|
73073
|
+
async function $do75(client, request, options) {
|
|
72478
73074
|
const parsed = safeParse(request, (value) => RetrieveFeesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72479
73075
|
if (!parsed.ok) {
|
|
72480
73076
|
return [parsed, { status: "invalid" }];
|
|
@@ -72561,12 +73157,12 @@ var init_feePlansRetrieveFees = __esm(() => {
|
|
|
72561
73157
|
});
|
|
72562
73158
|
|
|
72563
73159
|
// src/mcp-server/tools/feePlansRetrieveFees.ts
|
|
72564
|
-
var
|
|
73160
|
+
var args75, tool$feePlansRetrieveFees;
|
|
72565
73161
|
var init_feePlansRetrieveFees2 = __esm(() => {
|
|
72566
73162
|
init_feePlansRetrieveFees();
|
|
72567
73163
|
init_operations();
|
|
72568
73164
|
init_tools();
|
|
72569
|
-
|
|
73165
|
+
args75 = {
|
|
72570
73166
|
request: RetrieveFeesRequest$inboundSchema
|
|
72571
73167
|
};
|
|
72572
73168
|
tool$feePlansRetrieveFees = {
|
|
@@ -72575,9 +73171,9 @@ var init_feePlansRetrieveFees2 = __esm(() => {
|
|
|
72575
73171
|
|
|
72576
73172
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72577
73173
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
72578
|
-
args:
|
|
72579
|
-
tool: async (client,
|
|
72580
|
-
const [result, apiCall] = await feePlansRetrieveFees(client,
|
|
73174
|
+
args: args75,
|
|
73175
|
+
tool: async (client, args76, ctx) => {
|
|
73176
|
+
const [result, apiCall] = await feePlansRetrieveFees(client, args76.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72581
73177
|
if (!result.ok) {
|
|
72582
73178
|
return {
|
|
72583
73179
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72592,9 +73188,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
72592
73188
|
|
|
72593
73189
|
// src/funcs/filesGet.ts
|
|
72594
73190
|
function filesGet(client, request, options) {
|
|
72595
|
-
return new APIPromise($
|
|
73191
|
+
return new APIPromise($do76(client, request, options));
|
|
72596
73192
|
}
|
|
72597
|
-
async function $
|
|
73193
|
+
async function $do76(client, request, options) {
|
|
72598
73194
|
const parsed = safeParse(request, (value) => GetFileDetailsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72599
73195
|
if (!parsed.ok) {
|
|
72600
73196
|
return [parsed, { status: "invalid" }];
|
|
@@ -72676,12 +73272,12 @@ var init_filesGet = __esm(() => {
|
|
|
72676
73272
|
});
|
|
72677
73273
|
|
|
72678
73274
|
// src/mcp-server/tools/filesGet.ts
|
|
72679
|
-
var
|
|
73275
|
+
var args76, tool$filesGet;
|
|
72680
73276
|
var init_filesGet2 = __esm(() => {
|
|
72681
73277
|
init_filesGet();
|
|
72682
73278
|
init_operations();
|
|
72683
73279
|
init_tools();
|
|
72684
|
-
|
|
73280
|
+
args76 = {
|
|
72685
73281
|
request: GetFileDetailsRequest$inboundSchema
|
|
72686
73282
|
};
|
|
72687
73283
|
tool$filesGet = {
|
|
@@ -72690,9 +73286,9 @@ var init_filesGet2 = __esm(() => {
|
|
|
72690
73286
|
|
|
72691
73287
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72692
73288
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
72693
|
-
args:
|
|
72694
|
-
tool: async (client,
|
|
72695
|
-
const [result, apiCall] = await filesGet(client,
|
|
73289
|
+
args: args76,
|
|
73290
|
+
tool: async (client, args77, ctx) => {
|
|
73291
|
+
const [result, apiCall] = await filesGet(client, args77.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72696
73292
|
if (!result.ok) {
|
|
72697
73293
|
return {
|
|
72698
73294
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72707,9 +73303,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
72707
73303
|
|
|
72708
73304
|
// src/funcs/filesList.ts
|
|
72709
73305
|
function filesList(client, request, options) {
|
|
72710
|
-
return new APIPromise($
|
|
73306
|
+
return new APIPromise($do77(client, request, options));
|
|
72711
73307
|
}
|
|
72712
|
-
async function $
|
|
73308
|
+
async function $do77(client, request, options) {
|
|
72713
73309
|
const parsed = safeParse(request, (value) => ListFilesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72714
73310
|
if (!parsed.ok) {
|
|
72715
73311
|
return [parsed, { status: "invalid" }];
|
|
@@ -72787,12 +73383,12 @@ var init_filesList = __esm(() => {
|
|
|
72787
73383
|
});
|
|
72788
73384
|
|
|
72789
73385
|
// src/mcp-server/tools/filesList.ts
|
|
72790
|
-
var
|
|
73386
|
+
var args77, tool$filesList;
|
|
72791
73387
|
var init_filesList2 = __esm(() => {
|
|
72792
73388
|
init_filesList();
|
|
72793
73389
|
init_operations();
|
|
72794
73390
|
init_tools();
|
|
72795
|
-
|
|
73391
|
+
args77 = {
|
|
72796
73392
|
request: ListFilesRequest$inboundSchema
|
|
72797
73393
|
};
|
|
72798
73394
|
tool$filesList = {
|
|
@@ -72801,9 +73397,9 @@ var init_filesList2 = __esm(() => {
|
|
|
72801
73397
|
|
|
72802
73398
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72803
73399
|
you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
72804
|
-
args:
|
|
72805
|
-
tool: async (client,
|
|
72806
|
-
const [result, apiCall] = await filesList(client,
|
|
73400
|
+
args: args77,
|
|
73401
|
+
tool: async (client, args78, ctx) => {
|
|
73402
|
+
const [result, apiCall] = await filesList(client, args78.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72807
73403
|
if (!result.ok) {
|
|
72808
73404
|
return {
|
|
72809
73405
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72818,9 +73414,9 @@ you'll need to specify the \`/accounts/{accountID}/files.read\` scope.`,
|
|
|
72818
73414
|
|
|
72819
73415
|
// src/funcs/filesUpload.ts
|
|
72820
73416
|
function filesUpload(client, request, options) {
|
|
72821
|
-
return new APIPromise($
|
|
73417
|
+
return new APIPromise($do78(client, request, options));
|
|
72822
73418
|
}
|
|
72823
|
-
async function $
|
|
73419
|
+
async function $do78(client, request, options) {
|
|
72824
73420
|
const parsed = safeParse(request, (value) => UploadFileRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72825
73421
|
if (!parsed.ok) {
|
|
72826
73422
|
return [parsed, { status: "invalid" }];
|
|
@@ -72929,12 +73525,12 @@ var init_filesUpload = __esm(() => {
|
|
|
72929
73525
|
});
|
|
72930
73526
|
|
|
72931
73527
|
// src/mcp-server/tools/filesUpload.ts
|
|
72932
|
-
var
|
|
73528
|
+
var args78, tool$filesUpload;
|
|
72933
73529
|
var init_filesUpload2 = __esm(() => {
|
|
72934
73530
|
init_filesUpload();
|
|
72935
73531
|
init_operations();
|
|
72936
73532
|
init_tools();
|
|
72937
|
-
|
|
73533
|
+
args78 = {
|
|
72938
73534
|
request: UploadFileRequest$inboundSchema
|
|
72939
73535
|
};
|
|
72940
73536
|
tool$filesUpload = {
|
|
@@ -72946,9 +73542,9 @@ and png.
|
|
|
72946
73542
|
|
|
72947
73543
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
72948
73544
|
you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
72949
|
-
args:
|
|
72950
|
-
tool: async (client,
|
|
72951
|
-
const [result, apiCall] = await filesUpload(client,
|
|
73545
|
+
args: args78,
|
|
73546
|
+
tool: async (client, args79, ctx) => {
|
|
73547
|
+
const [result, apiCall] = await filesUpload(client, args79.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
72952
73548
|
if (!result.ok) {
|
|
72953
73549
|
return {
|
|
72954
73550
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -72963,9 +73559,9 @@ you'll need to specify the \`/accounts/{accountID}/files.write\` scope.`,
|
|
|
72963
73559
|
|
|
72964
73560
|
// src/funcs/imagesDelete.ts
|
|
72965
73561
|
function imagesDelete(client, request, options) {
|
|
72966
|
-
return new APIPromise($
|
|
73562
|
+
return new APIPromise($do79(client, request, options));
|
|
72967
73563
|
}
|
|
72968
|
-
async function $
|
|
73564
|
+
async function $do79(client, request, options) {
|
|
72969
73565
|
const parsed = safeParse(request, (value) => DeleteImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
72970
73566
|
if (!parsed.ok) {
|
|
72971
73567
|
return [parsed, { status: "invalid" }];
|
|
@@ -73058,20 +73654,20 @@ var init_imagesDelete = __esm(() => {
|
|
|
73058
73654
|
});
|
|
73059
73655
|
|
|
73060
73656
|
// src/mcp-server/tools/imagesDelete.ts
|
|
73061
|
-
var
|
|
73657
|
+
var args79, tool$imagesDelete;
|
|
73062
73658
|
var init_imagesDelete2 = __esm(() => {
|
|
73063
73659
|
init_imagesDelete();
|
|
73064
73660
|
init_operations();
|
|
73065
73661
|
init_tools();
|
|
73066
|
-
|
|
73662
|
+
args79 = {
|
|
73067
73663
|
request: DeleteImageRequest$inboundSchema
|
|
73068
73664
|
};
|
|
73069
73665
|
tool$imagesDelete = {
|
|
73070
73666
|
name: "images-delete",
|
|
73071
73667
|
description: `Permanently delete an image by its ID.`,
|
|
73072
|
-
args:
|
|
73073
|
-
tool: async (client,
|
|
73074
|
-
const [result, apiCall] = await imagesDelete(client,
|
|
73668
|
+
args: args79,
|
|
73669
|
+
tool: async (client, args80, ctx) => {
|
|
73670
|
+
const [result, apiCall] = await imagesDelete(client, args80.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73075
73671
|
if (!result.ok) {
|
|
73076
73672
|
return {
|
|
73077
73673
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73085,9 +73681,9 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
73085
73681
|
|
|
73086
73682
|
// src/funcs/imagesGetMetadata.ts
|
|
73087
73683
|
function imagesGetMetadata(client, request, options) {
|
|
73088
|
-
return new APIPromise($
|
|
73684
|
+
return new APIPromise($do80(client, request, options));
|
|
73089
73685
|
}
|
|
73090
|
-
async function $
|
|
73686
|
+
async function $do80(client, request, options) {
|
|
73091
73687
|
const parsed = safeParse(request, (value) => GetImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73092
73688
|
if (!parsed.ok) {
|
|
73093
73689
|
return [parsed, { status: "invalid" }];
|
|
@@ -73169,20 +73765,20 @@ var init_imagesGetMetadata = __esm(() => {
|
|
|
73169
73765
|
});
|
|
73170
73766
|
|
|
73171
73767
|
// src/mcp-server/tools/imagesGetMetadata.ts
|
|
73172
|
-
var
|
|
73768
|
+
var args80, tool$imagesGetMetadata;
|
|
73173
73769
|
var init_imagesGetMetadata2 = __esm(() => {
|
|
73174
73770
|
init_imagesGetMetadata();
|
|
73175
73771
|
init_operations();
|
|
73176
73772
|
init_tools();
|
|
73177
|
-
|
|
73773
|
+
args80 = {
|
|
73178
73774
|
request: GetImageMetadataRequest$inboundSchema
|
|
73179
73775
|
};
|
|
73180
73776
|
tool$imagesGetMetadata = {
|
|
73181
73777
|
name: "images-get-metadata",
|
|
73182
73778
|
description: `Retrieve metadata for a specific image by its ID.`,
|
|
73183
|
-
args:
|
|
73184
|
-
tool: async (client,
|
|
73185
|
-
const [result, apiCall] = await imagesGetMetadata(client,
|
|
73779
|
+
args: args80,
|
|
73780
|
+
tool: async (client, args81, ctx) => {
|
|
73781
|
+
const [result, apiCall] = await imagesGetMetadata(client, args81.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73186
73782
|
if (!result.ok) {
|
|
73187
73783
|
return {
|
|
73188
73784
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73197,9 +73793,9 @@ var init_imagesGetMetadata2 = __esm(() => {
|
|
|
73197
73793
|
|
|
73198
73794
|
// src/funcs/imagesGetPublic.ts
|
|
73199
73795
|
function imagesGetPublic(client, request, options) {
|
|
73200
|
-
return new APIPromise($
|
|
73796
|
+
return new APIPromise($do81(client, request, options));
|
|
73201
73797
|
}
|
|
73202
|
-
async function $
|
|
73798
|
+
async function $do81(client, request, options) {
|
|
73203
73799
|
const parsed = safeParse(request, (value) => GetPublicImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73204
73800
|
if (!parsed.ok) {
|
|
73205
73801
|
return [parsed, { status: "invalid" }];
|
|
@@ -73291,20 +73887,20 @@ var init_imagesGetPublic = __esm(() => {
|
|
|
73291
73887
|
});
|
|
73292
73888
|
|
|
73293
73889
|
// src/mcp-server/tools/imagesGetPublic.ts
|
|
73294
|
-
var
|
|
73890
|
+
var args81, tool$imagesGetPublic;
|
|
73295
73891
|
var init_imagesGetPublic2 = __esm(() => {
|
|
73296
73892
|
init_imagesGetPublic();
|
|
73297
73893
|
init_operations();
|
|
73298
73894
|
init_tools();
|
|
73299
|
-
|
|
73895
|
+
args81 = {
|
|
73300
73896
|
request: GetPublicImageRequest$inboundSchema
|
|
73301
73897
|
};
|
|
73302
73898
|
tool$imagesGetPublic = {
|
|
73303
73899
|
name: "images-get-public",
|
|
73304
73900
|
description: `Get an image by its public ID.`,
|
|
73305
|
-
args:
|
|
73306
|
-
tool: async (client,
|
|
73307
|
-
const [result, apiCall] = await imagesGetPublic(client,
|
|
73901
|
+
args: args81,
|
|
73902
|
+
tool: async (client, args82, ctx) => {
|
|
73903
|
+
const [result, apiCall] = await imagesGetPublic(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73308
73904
|
if (!result.ok) {
|
|
73309
73905
|
return {
|
|
73310
73906
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73319,9 +73915,9 @@ var init_imagesGetPublic2 = __esm(() => {
|
|
|
73319
73915
|
|
|
73320
73916
|
// src/funcs/imagesList.ts
|
|
73321
73917
|
function imagesList(client, request, options) {
|
|
73322
|
-
return new APIPromise($
|
|
73918
|
+
return new APIPromise($do82(client, request, options));
|
|
73323
73919
|
}
|
|
73324
|
-
async function $
|
|
73920
|
+
async function $do82(client, request, options) {
|
|
73325
73921
|
const parsed = safeParse(request, (value) => ListImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73326
73922
|
if (!parsed.ok) {
|
|
73327
73923
|
return [parsed, { status: "invalid" }];
|
|
@@ -73404,20 +74000,20 @@ var init_imagesList = __esm(() => {
|
|
|
73404
74000
|
});
|
|
73405
74001
|
|
|
73406
74002
|
// src/mcp-server/tools/imagesList.ts
|
|
73407
|
-
var
|
|
74003
|
+
var args82, tool$imagesList;
|
|
73408
74004
|
var init_imagesList2 = __esm(() => {
|
|
73409
74005
|
init_imagesList();
|
|
73410
74006
|
init_operations();
|
|
73411
74007
|
init_tools();
|
|
73412
|
-
|
|
74008
|
+
args82 = {
|
|
73413
74009
|
request: ListImageMetadataRequest$inboundSchema
|
|
73414
74010
|
};
|
|
73415
74011
|
tool$imagesList = {
|
|
73416
74012
|
name: "images-list",
|
|
73417
74013
|
description: `List metadata for all images in the specified account.`,
|
|
73418
|
-
args:
|
|
73419
|
-
tool: async (client,
|
|
73420
|
-
const [result, apiCall] = await imagesList(client,
|
|
74014
|
+
args: args82,
|
|
74015
|
+
tool: async (client, args83, ctx) => {
|
|
74016
|
+
const [result, apiCall] = await imagesList(client, args83.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73421
74017
|
if (!result.ok) {
|
|
73422
74018
|
return {
|
|
73423
74019
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73432,9 +74028,9 @@ var init_imagesList2 = __esm(() => {
|
|
|
73432
74028
|
|
|
73433
74029
|
// src/funcs/imagesUpdate.ts
|
|
73434
74030
|
function imagesUpdate(client, request, options) {
|
|
73435
|
-
return new APIPromise($
|
|
74031
|
+
return new APIPromise($do83(client, request, options));
|
|
73436
74032
|
}
|
|
73437
|
-
async function $
|
|
74033
|
+
async function $do83(client, request, options) {
|
|
73438
74034
|
const parsed = safeParse(request, (value) => UpdateImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73439
74035
|
if (!parsed.ok) {
|
|
73440
74036
|
return [parsed, { status: "invalid" }];
|
|
@@ -73550,12 +74146,12 @@ var init_imagesUpdate = __esm(() => {
|
|
|
73550
74146
|
});
|
|
73551
74147
|
|
|
73552
74148
|
// src/mcp-server/tools/imagesUpdate.ts
|
|
73553
|
-
var
|
|
74149
|
+
var args83, tool$imagesUpdate;
|
|
73554
74150
|
var init_imagesUpdate2 = __esm(() => {
|
|
73555
74151
|
init_imagesUpdate();
|
|
73556
74152
|
init_operations();
|
|
73557
74153
|
init_tools();
|
|
73558
|
-
|
|
74154
|
+
args83 = {
|
|
73559
74155
|
request: UpdateImageRequest$inboundSchema
|
|
73560
74156
|
};
|
|
73561
74157
|
tool$imagesUpdate = {
|
|
@@ -73565,9 +74161,9 @@ var init_imagesUpdate2 = __esm(() => {
|
|
|
73565
74161
|
This endpoint replaces the existing image with the new PNG, JPEG, or WebP. Omit
|
|
73566
74162
|
the metadata form section to keep existing metadata, or send \`null\` to clear it.
|
|
73567
74163
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
73568
|
-
args:
|
|
73569
|
-
tool: async (client,
|
|
73570
|
-
const [result, apiCall] = await imagesUpdate(client,
|
|
74164
|
+
args: args83,
|
|
74165
|
+
tool: async (client, args84, ctx) => {
|
|
74166
|
+
const [result, apiCall] = await imagesUpdate(client, args84.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73571
74167
|
if (!result.ok) {
|
|
73572
74168
|
return {
|
|
73573
74169
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73582,9 +74178,9 @@ Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
|
73582
74178
|
|
|
73583
74179
|
// src/funcs/imagesUpdateMetadata.ts
|
|
73584
74180
|
function imagesUpdateMetadata(client, request, options) {
|
|
73585
|
-
return new APIPromise($
|
|
74181
|
+
return new APIPromise($do84(client, request, options));
|
|
73586
74182
|
}
|
|
73587
|
-
async function $
|
|
74183
|
+
async function $do84(client, request, options) {
|
|
73588
74184
|
const parsed = safeParse(request, (value) => UpdateImageMetadataRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73589
74185
|
if (!parsed.ok) {
|
|
73590
74186
|
return [parsed, { status: "invalid" }];
|
|
@@ -73684,20 +74280,20 @@ var init_imagesUpdateMetadata = __esm(() => {
|
|
|
73684
74280
|
});
|
|
73685
74281
|
|
|
73686
74282
|
// src/mcp-server/tools/imagesUpdateMetadata.ts
|
|
73687
|
-
var
|
|
74283
|
+
var args84, tool$imagesUpdateMetadata;
|
|
73688
74284
|
var init_imagesUpdateMetadata2 = __esm(() => {
|
|
73689
74285
|
init_imagesUpdateMetadata();
|
|
73690
74286
|
init_operations();
|
|
73691
74287
|
init_tools();
|
|
73692
|
-
|
|
74288
|
+
args84 = {
|
|
73693
74289
|
request: UpdateImageMetadataRequest$inboundSchema
|
|
73694
74290
|
};
|
|
73695
74291
|
tool$imagesUpdateMetadata = {
|
|
73696
74292
|
name: "images-update-metadata",
|
|
73697
74293
|
description: `Replace the metadata for an existing image.`,
|
|
73698
|
-
args:
|
|
73699
|
-
tool: async (client,
|
|
73700
|
-
const [result, apiCall] = await imagesUpdateMetadata(client,
|
|
74294
|
+
args: args84,
|
|
74295
|
+
tool: async (client, args85, ctx) => {
|
|
74296
|
+
const [result, apiCall] = await imagesUpdateMetadata(client, args85.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73701
74297
|
if (!result.ok) {
|
|
73702
74298
|
return {
|
|
73703
74299
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73712,9 +74308,9 @@ var init_imagesUpdateMetadata2 = __esm(() => {
|
|
|
73712
74308
|
|
|
73713
74309
|
// src/funcs/imagesUpload.ts
|
|
73714
74310
|
function imagesUpload(client, request, options) {
|
|
73715
|
-
return new APIPromise($
|
|
74311
|
+
return new APIPromise($do85(client, request, options));
|
|
73716
74312
|
}
|
|
73717
|
-
async function $
|
|
74313
|
+
async function $do85(client, request, options) {
|
|
73718
74314
|
const parsed = safeParse(request, (value) => UploadImageRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73719
74315
|
if (!parsed.ok) {
|
|
73720
74316
|
return [parsed, { status: "invalid" }];
|
|
@@ -73826,21 +74422,21 @@ var init_imagesUpload = __esm(() => {
|
|
|
73826
74422
|
});
|
|
73827
74423
|
|
|
73828
74424
|
// src/mcp-server/tools/imagesUpload.ts
|
|
73829
|
-
var
|
|
74425
|
+
var args85, tool$imagesUpload;
|
|
73830
74426
|
var init_imagesUpload2 = __esm(() => {
|
|
73831
74427
|
init_imagesUpload();
|
|
73832
74428
|
init_operations();
|
|
73833
74429
|
init_tools();
|
|
73834
|
-
|
|
74430
|
+
args85 = {
|
|
73835
74431
|
request: UploadImageRequest$inboundSchema
|
|
73836
74432
|
};
|
|
73837
74433
|
tool$imagesUpload = {
|
|
73838
74434
|
name: "images-upload",
|
|
73839
74435
|
description: ` Upload a new PNG, JPEG, or WebP image with optional metadata.
|
|
73840
74436
|
Duplicate images, and requests larger than 16MB will be rejected.`,
|
|
73841
|
-
args:
|
|
73842
|
-
tool: async (client,
|
|
73843
|
-
const [result, apiCall] = await imagesUpload(client,
|
|
74437
|
+
args: args85,
|
|
74438
|
+
tool: async (client, args86, ctx) => {
|
|
74439
|
+
const [result, apiCall] = await imagesUpload(client, args86.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73844
74440
|
if (!result.ok) {
|
|
73845
74441
|
return {
|
|
73846
74442
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73855,9 +74451,9 @@ var init_imagesUpload2 = __esm(() => {
|
|
|
73855
74451
|
|
|
73856
74452
|
// src/funcs/industriesList.ts
|
|
73857
74453
|
function industriesList(client, _request, options) {
|
|
73858
|
-
return new APIPromise($
|
|
74454
|
+
return new APIPromise($do86(client, _request, options));
|
|
73859
74455
|
}
|
|
73860
|
-
async function $
|
|
74456
|
+
async function $do86(client, _request, options) {
|
|
73861
74457
|
const path = pathToFunc("/industries")();
|
|
73862
74458
|
const headers = new Headers(compactMap({
|
|
73863
74459
|
Accept: "application/json",
|
|
@@ -73921,12 +74517,12 @@ var init_industriesList = __esm(() => {
|
|
|
73921
74517
|
});
|
|
73922
74518
|
|
|
73923
74519
|
// src/mcp-server/tools/industriesList.ts
|
|
73924
|
-
var
|
|
74520
|
+
var args86, tool$industriesList;
|
|
73925
74521
|
var init_industriesList2 = __esm(() => {
|
|
73926
74522
|
init_industriesList();
|
|
73927
74523
|
init_operations();
|
|
73928
74524
|
init_tools();
|
|
73929
|
-
|
|
74525
|
+
args86 = {
|
|
73930
74526
|
request: ListIndustriesRequest$inboundSchema
|
|
73931
74527
|
};
|
|
73932
74528
|
tool$industriesList = {
|
|
@@ -73935,9 +74531,9 @@ var init_industriesList2 = __esm(() => {
|
|
|
73935
74531
|
|
|
73936
74532
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/),
|
|
73937
74533
|
you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
73938
|
-
args:
|
|
73939
|
-
tool: async (client,
|
|
73940
|
-
const [result, apiCall] = await industriesList(client,
|
|
74534
|
+
args: args86,
|
|
74535
|
+
tool: async (client, args87, ctx) => {
|
|
74536
|
+
const [result, apiCall] = await industriesList(client, args87.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
73941
74537
|
if (!result.ok) {
|
|
73942
74538
|
return {
|
|
73943
74539
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -73952,9 +74548,9 @@ you'll need to specify the \`/profile-enrichment.read\` scope.`,
|
|
|
73952
74548
|
|
|
73953
74549
|
// src/funcs/institutionsSearch.ts
|
|
73954
74550
|
function institutionsSearch(client, request, options) {
|
|
73955
|
-
return new APIPromise($
|
|
74551
|
+
return new APIPromise($do87(client, request, options));
|
|
73956
74552
|
}
|
|
73957
|
-
async function $
|
|
74553
|
+
async function $do87(client, request, options) {
|
|
73958
74554
|
const parsed = safeParse(request, (value) => ListInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
73959
74555
|
if (!parsed.ok) {
|
|
73960
74556
|
return [parsed, { status: "invalid" }];
|
|
@@ -74034,12 +74630,12 @@ var init_institutionsSearch = __esm(() => {
|
|
|
74034
74630
|
});
|
|
74035
74631
|
|
|
74036
74632
|
// src/mcp-server/tools/institutionsSearch.ts
|
|
74037
|
-
var
|
|
74633
|
+
var args87, tool$institutionsSearch;
|
|
74038
74634
|
var init_institutionsSearch2 = __esm(() => {
|
|
74039
74635
|
init_institutionsSearch();
|
|
74040
74636
|
init_operations();
|
|
74041
74637
|
init_tools();
|
|
74042
|
-
|
|
74638
|
+
args87 = {
|
|
74043
74639
|
request: ListInstitutionsRequest$inboundSchema
|
|
74044
74640
|
};
|
|
74045
74641
|
tool$institutionsSearch = {
|
|
@@ -74048,9 +74644,9 @@ var init_institutionsSearch2 = __esm(() => {
|
|
|
74048
74644
|
|
|
74049
74645
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74050
74646
|
you'll need to specify the \`/fed.read\` scope.`,
|
|
74051
|
-
args:
|
|
74052
|
-
tool: async (client,
|
|
74053
|
-
const [result, apiCall] = await institutionsSearch(client,
|
|
74647
|
+
args: args87,
|
|
74648
|
+
tool: async (client, args88, ctx) => {
|
|
74649
|
+
const [result, apiCall] = await institutionsSearch(client, args88.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74054
74650
|
if (!result.ok) {
|
|
74055
74651
|
return {
|
|
74056
74652
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74065,9 +74661,9 @@ you'll need to specify the \`/fed.read\` scope.`,
|
|
|
74065
74661
|
|
|
74066
74662
|
// src/funcs/institutionsSearchInstitutions.ts
|
|
74067
74663
|
function institutionsSearchInstitutions(client, request, options) {
|
|
74068
|
-
return new APIPromise($
|
|
74664
|
+
return new APIPromise($do88(client, request, options));
|
|
74069
74665
|
}
|
|
74070
|
-
async function $
|
|
74666
|
+
async function $do88(client, request, options) {
|
|
74071
74667
|
const parsed = safeParse(request, (value) => SearchInstitutionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74072
74668
|
if (!parsed.ok) {
|
|
74073
74669
|
return [parsed, { status: "invalid" }];
|
|
@@ -74145,12 +74741,12 @@ var init_institutionsSearchInstitutions = __esm(() => {
|
|
|
74145
74741
|
});
|
|
74146
74742
|
|
|
74147
74743
|
// src/mcp-server/tools/institutionsSearchInstitutions.ts
|
|
74148
|
-
var
|
|
74744
|
+
var args88, tool$institutionsSearchInstitutions;
|
|
74149
74745
|
var init_institutionsSearchInstitutions2 = __esm(() => {
|
|
74150
74746
|
init_institutionsSearchInstitutions();
|
|
74151
74747
|
init_operations();
|
|
74152
74748
|
init_tools();
|
|
74153
|
-
|
|
74749
|
+
args88 = {
|
|
74154
74750
|
request: SearchInstitutionsRequest$inboundSchema
|
|
74155
74751
|
};
|
|
74156
74752
|
tool$institutionsSearchInstitutions = {
|
|
@@ -74163,9 +74759,9 @@ This can be used to validate a financial institution before initiating payment a
|
|
|
74163
74759
|
|
|
74164
74760
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74165
74761
|
you'll need to specify the \`/institutions.read\` scope.`,
|
|
74166
|
-
args:
|
|
74167
|
-
tool: async (client,
|
|
74168
|
-
const [result, apiCall] = await institutionsSearchInstitutions(client,
|
|
74762
|
+
args: args88,
|
|
74763
|
+
tool: async (client, args89, ctx) => {
|
|
74764
|
+
const [result, apiCall] = await institutionsSearchInstitutions(client, args89.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74169
74765
|
if (!result.ok) {
|
|
74170
74766
|
return {
|
|
74171
74767
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74180,9 +74776,9 @@ you'll need to specify the \`/institutions.read\` scope.`,
|
|
|
74180
74776
|
|
|
74181
74777
|
// src/funcs/issuingTransactionsGet.ts
|
|
74182
74778
|
function issuingTransactionsGet(client, request, options) {
|
|
74183
|
-
return new APIPromise($
|
|
74779
|
+
return new APIPromise($do89(client, request, options));
|
|
74184
74780
|
}
|
|
74185
|
-
async function $
|
|
74781
|
+
async function $do89(client, request, options) {
|
|
74186
74782
|
const parsed = safeParse(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74187
74783
|
if (!parsed.ok) {
|
|
74188
74784
|
return [parsed, { status: "invalid" }];
|
|
@@ -74261,12 +74857,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
74261
74857
|
});
|
|
74262
74858
|
|
|
74263
74859
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
74264
|
-
var
|
|
74860
|
+
var args89, tool$issuingTransactionsGet;
|
|
74265
74861
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
74266
74862
|
init_issuingTransactionsGet();
|
|
74267
74863
|
init_operations();
|
|
74268
74864
|
init_tools();
|
|
74269
|
-
|
|
74865
|
+
args89 = {
|
|
74270
74866
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
74271
74867
|
};
|
|
74272
74868
|
tool$issuingTransactionsGet = {
|
|
@@ -74275,9 +74871,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
74275
74871
|
|
|
74276
74872
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74277
74873
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74278
|
-
args:
|
|
74279
|
-
tool: async (client,
|
|
74280
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
74874
|
+
args: args89,
|
|
74875
|
+
tool: async (client, args90, ctx) => {
|
|
74876
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args90.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74281
74877
|
if (!result.ok) {
|
|
74282
74878
|
return {
|
|
74283
74879
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74292,9 +74888,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74292
74888
|
|
|
74293
74889
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
74294
74890
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
74295
|
-
return new APIPromise($
|
|
74891
|
+
return new APIPromise($do90(client, request, options));
|
|
74296
74892
|
}
|
|
74297
|
-
async function $
|
|
74893
|
+
async function $do90(client, request, options) {
|
|
74298
74894
|
const parsed = safeParse(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74299
74895
|
if (!parsed.ok) {
|
|
74300
74896
|
return [parsed, { status: "invalid" }];
|
|
@@ -74376,12 +74972,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
74376
74972
|
});
|
|
74377
74973
|
|
|
74378
74974
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
74379
|
-
var
|
|
74975
|
+
var args90, tool$issuingTransactionsGetAuthorization;
|
|
74380
74976
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
74381
74977
|
init_issuingTransactionsGetAuthorization();
|
|
74382
74978
|
init_operations();
|
|
74383
74979
|
init_tools();
|
|
74384
|
-
|
|
74980
|
+
args90 = {
|
|
74385
74981
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
74386
74982
|
};
|
|
74387
74983
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -74390,9 +74986,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
74390
74986
|
|
|
74391
74987
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74392
74988
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74393
|
-
args:
|
|
74394
|
-
tool: async (client,
|
|
74395
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
74989
|
+
args: args90,
|
|
74990
|
+
tool: async (client, args91, ctx) => {
|
|
74991
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args91.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74396
74992
|
if (!result.ok) {
|
|
74397
74993
|
return {
|
|
74398
74994
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74407,9 +75003,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74407
75003
|
|
|
74408
75004
|
// src/funcs/issuingTransactionsList.ts
|
|
74409
75005
|
function issuingTransactionsList(client, request, options) {
|
|
74410
|
-
return new APIPromise($
|
|
75006
|
+
return new APIPromise($do91(client, request, options));
|
|
74411
75007
|
}
|
|
74412
|
-
async function $
|
|
75008
|
+
async function $do91(client, request, options) {
|
|
74413
75009
|
const parsed = safeParse(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74414
75010
|
if (!parsed.ok) {
|
|
74415
75011
|
return [parsed, { status: "invalid" }];
|
|
@@ -74495,12 +75091,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
74495
75091
|
});
|
|
74496
75092
|
|
|
74497
75093
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
74498
|
-
var
|
|
75094
|
+
var args91, tool$issuingTransactionsList;
|
|
74499
75095
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
74500
75096
|
init_issuingTransactionsList();
|
|
74501
75097
|
init_operations();
|
|
74502
75098
|
init_tools();
|
|
74503
|
-
|
|
75099
|
+
args91 = {
|
|
74504
75100
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
74505
75101
|
};
|
|
74506
75102
|
tool$issuingTransactionsList = {
|
|
@@ -74509,9 +75105,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
74509
75105
|
|
|
74510
75106
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74511
75107
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74512
|
-
args:
|
|
74513
|
-
tool: async (client,
|
|
74514
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
75108
|
+
args: args91,
|
|
75109
|
+
tool: async (client, args92, ctx) => {
|
|
75110
|
+
const [result, apiCall] = await issuingTransactionsList(client, args92.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74515
75111
|
if (!result.ok) {
|
|
74516
75112
|
return {
|
|
74517
75113
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74526,9 +75122,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74526
75122
|
|
|
74527
75123
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
74528
75124
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
74529
|
-
return new APIPromise($
|
|
75125
|
+
return new APIPromise($do92(client, request, options));
|
|
74530
75126
|
}
|
|
74531
|
-
async function $
|
|
75127
|
+
async function $do92(client, request, options) {
|
|
74532
75128
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74533
75129
|
if (!parsed.ok) {
|
|
74534
75130
|
return [parsed, { status: "invalid" }];
|
|
@@ -74612,12 +75208,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
74612
75208
|
});
|
|
74613
75209
|
|
|
74614
75210
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
74615
|
-
var
|
|
75211
|
+
var args92, tool$issuingTransactionsListAuthorizationEvents;
|
|
74616
75212
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
74617
75213
|
init_issuingTransactionsListAuthorizationEvents();
|
|
74618
75214
|
init_operations();
|
|
74619
75215
|
init_tools();
|
|
74620
|
-
|
|
75216
|
+
args92 = {
|
|
74621
75217
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
74622
75218
|
};
|
|
74623
75219
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -74626,9 +75222,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
74626
75222
|
|
|
74627
75223
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74628
75224
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74629
|
-
args:
|
|
74630
|
-
tool: async (client,
|
|
74631
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
75225
|
+
args: args92,
|
|
75226
|
+
tool: async (client, args93, ctx) => {
|
|
75227
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74632
75228
|
if (!result.ok) {
|
|
74633
75229
|
return {
|
|
74634
75230
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74643,9 +75239,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74643
75239
|
|
|
74644
75240
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
74645
75241
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
74646
|
-
return new APIPromise($
|
|
75242
|
+
return new APIPromise($do93(client, request, options));
|
|
74647
75243
|
}
|
|
74648
|
-
async function $
|
|
75244
|
+
async function $do93(client, request, options) {
|
|
74649
75245
|
const parsed = safeParse(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74650
75246
|
if (!parsed.ok) {
|
|
74651
75247
|
return [parsed, { status: "invalid" }];
|
|
@@ -74732,12 +75328,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
74732
75328
|
});
|
|
74733
75329
|
|
|
74734
75330
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
74735
|
-
var
|
|
75331
|
+
var args93, tool$issuingTransactionsListAuthorizations;
|
|
74736
75332
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
74737
75333
|
init_issuingTransactionsListAuthorizations();
|
|
74738
75334
|
init_operations();
|
|
74739
75335
|
init_tools();
|
|
74740
|
-
|
|
75336
|
+
args93 = {
|
|
74741
75337
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
74742
75338
|
};
|
|
74743
75339
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -74746,9 +75342,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
74746
75342
|
|
|
74747
75343
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74748
75344
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
74749
|
-
args:
|
|
74750
|
-
tool: async (client,
|
|
74751
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
75345
|
+
args: args93,
|
|
75346
|
+
tool: async (client, args94, ctx) => {
|
|
75347
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74752
75348
|
if (!result.ok) {
|
|
74753
75349
|
return {
|
|
74754
75350
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74763,9 +75359,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
74763
75359
|
|
|
74764
75360
|
// src/funcs/onboardingCreateInvite.ts
|
|
74765
75361
|
function onboardingCreateInvite(client, request, options) {
|
|
74766
|
-
return new APIPromise($
|
|
75362
|
+
return new APIPromise($do94(client, request, options));
|
|
74767
75363
|
}
|
|
74768
|
-
async function $
|
|
75364
|
+
async function $do94(client, request, options) {
|
|
74769
75365
|
const parsed = safeParse(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74770
75366
|
if (!parsed.ok) {
|
|
74771
75367
|
return [parsed, { status: "invalid" }];
|
|
@@ -74852,12 +75448,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
74852
75448
|
});
|
|
74853
75449
|
|
|
74854
75450
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
74855
|
-
var
|
|
75451
|
+
var args94, tool$onboardingCreateInvite;
|
|
74856
75452
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
74857
75453
|
init_onboardingCreateInvite();
|
|
74858
75454
|
init_components();
|
|
74859
75455
|
init_tools();
|
|
74860
|
-
|
|
75456
|
+
args94 = {
|
|
74861
75457
|
request: OnboardingInviteRequest$inboundSchema
|
|
74862
75458
|
};
|
|
74863
75459
|
tool$onboardingCreateInvite = {
|
|
@@ -74866,9 +75462,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
74866
75462
|
|
|
74867
75463
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74868
75464
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
74869
|
-
args:
|
|
74870
|
-
tool: async (client,
|
|
74871
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
75465
|
+
args: args94,
|
|
75466
|
+
tool: async (client, args95, ctx) => {
|
|
75467
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74872
75468
|
if (!result.ok) {
|
|
74873
75469
|
return {
|
|
74874
75470
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74883,9 +75479,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
74883
75479
|
|
|
74884
75480
|
// src/funcs/onboardingGetInvite.ts
|
|
74885
75481
|
function onboardingGetInvite(client, request, options) {
|
|
74886
|
-
return new APIPromise($
|
|
75482
|
+
return new APIPromise($do95(client, request, options));
|
|
74887
75483
|
}
|
|
74888
|
-
async function $
|
|
75484
|
+
async function $do95(client, request, options) {
|
|
74889
75485
|
const parsed = safeParse(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
74890
75486
|
if (!parsed.ok) {
|
|
74891
75487
|
return [parsed, { status: "invalid" }];
|
|
@@ -74963,12 +75559,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
74963
75559
|
});
|
|
74964
75560
|
|
|
74965
75561
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
74966
|
-
var
|
|
75562
|
+
var args95, tool$onboardingGetInvite;
|
|
74967
75563
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
74968
75564
|
init_onboardingGetInvite();
|
|
74969
75565
|
init_operations();
|
|
74970
75566
|
init_tools();
|
|
74971
|
-
|
|
75567
|
+
args95 = {
|
|
74972
75568
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
74973
75569
|
};
|
|
74974
75570
|
tool$onboardingGetInvite = {
|
|
@@ -74977,9 +75573,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
74977
75573
|
|
|
74978
75574
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
74979
75575
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
74980
|
-
args:
|
|
74981
|
-
tool: async (client,
|
|
74982
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
75576
|
+
args: args95,
|
|
75577
|
+
tool: async (client, args96, ctx) => {
|
|
75578
|
+
const [result, apiCall] = await onboardingGetInvite(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
74983
75579
|
if (!result.ok) {
|
|
74984
75580
|
return {
|
|
74985
75581
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -74994,9 +75590,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
74994
75590
|
|
|
74995
75591
|
// src/funcs/onboardingListInvites.ts
|
|
74996
75592
|
function onboardingListInvites(client, _request, options) {
|
|
74997
|
-
return new APIPromise($
|
|
75593
|
+
return new APIPromise($do96(client, _request, options));
|
|
74998
75594
|
}
|
|
74999
|
-
async function $
|
|
75595
|
+
async function $do96(client, _request, options) {
|
|
75000
75596
|
const path = pathToFunc("/onboarding-invites")();
|
|
75001
75597
|
const headers = new Headers(compactMap({
|
|
75002
75598
|
Accept: "application/json",
|
|
@@ -75060,12 +75656,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
75060
75656
|
});
|
|
75061
75657
|
|
|
75062
75658
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
75063
|
-
var
|
|
75659
|
+
var args96, tool$onboardingListInvites;
|
|
75064
75660
|
var init_onboardingListInvites2 = __esm(() => {
|
|
75065
75661
|
init_onboardingListInvites();
|
|
75066
75662
|
init_operations();
|
|
75067
75663
|
init_tools();
|
|
75068
|
-
|
|
75664
|
+
args96 = {
|
|
75069
75665
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
75070
75666
|
};
|
|
75071
75667
|
tool$onboardingListInvites = {
|
|
@@ -75074,9 +75670,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
75074
75670
|
|
|
75075
75671
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75076
75672
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
75077
|
-
args:
|
|
75078
|
-
tool: async (client,
|
|
75079
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
75673
|
+
args: args96,
|
|
75674
|
+
tool: async (client, args97, ctx) => {
|
|
75675
|
+
const [result, apiCall] = await onboardingListInvites(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75080
75676
|
if (!result.ok) {
|
|
75081
75677
|
return {
|
|
75082
75678
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75091,9 +75687,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
75091
75687
|
|
|
75092
75688
|
// src/funcs/onboardingRevokeInvite.ts
|
|
75093
75689
|
function onboardingRevokeInvite(client, request, options) {
|
|
75094
|
-
return new APIPromise($
|
|
75690
|
+
return new APIPromise($do97(client, request, options));
|
|
75095
75691
|
}
|
|
75096
|
-
async function $
|
|
75692
|
+
async function $do97(client, request, options) {
|
|
75097
75693
|
const parsed = safeParse(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75098
75694
|
if (!parsed.ok) {
|
|
75099
75695
|
return [parsed, { status: "invalid" }];
|
|
@@ -75168,12 +75764,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
75168
75764
|
});
|
|
75169
75765
|
|
|
75170
75766
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
75171
|
-
var
|
|
75767
|
+
var args97, tool$onboardingRevokeInvite;
|
|
75172
75768
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
75173
75769
|
init_onboardingRevokeInvite();
|
|
75174
75770
|
init_operations();
|
|
75175
75771
|
init_tools();
|
|
75176
|
-
|
|
75772
|
+
args97 = {
|
|
75177
75773
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
75178
75774
|
};
|
|
75179
75775
|
tool$onboardingRevokeInvite = {
|
|
@@ -75182,9 +75778,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
75182
75778
|
|
|
75183
75779
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75184
75780
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
75185
|
-
args:
|
|
75186
|
-
tool: async (client,
|
|
75187
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
75781
|
+
args: args97,
|
|
75782
|
+
tool: async (client, args98, ctx) => {
|
|
75783
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75188
75784
|
if (!result.ok) {
|
|
75189
75785
|
return {
|
|
75190
75786
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75198,9 +75794,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
75198
75794
|
|
|
75199
75795
|
// src/funcs/paymentLinksCreate.ts
|
|
75200
75796
|
function paymentLinksCreate(client, request, options) {
|
|
75201
|
-
return new APIPromise($
|
|
75797
|
+
return new APIPromise($do98(client, request, options));
|
|
75202
75798
|
}
|
|
75203
|
-
async function $
|
|
75799
|
+
async function $do98(client, request, options) {
|
|
75204
75800
|
const parsed = safeParse(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75205
75801
|
if (!parsed.ok) {
|
|
75206
75802
|
return [parsed, { status: "invalid" }];
|
|
@@ -75292,12 +75888,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
75292
75888
|
});
|
|
75293
75889
|
|
|
75294
75890
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
75295
|
-
var
|
|
75891
|
+
var args98, tool$paymentLinksCreate;
|
|
75296
75892
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
75297
75893
|
init_paymentLinksCreate();
|
|
75298
75894
|
init_operations();
|
|
75299
75895
|
init_tools();
|
|
75300
|
-
|
|
75896
|
+
args98 = {
|
|
75301
75897
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
75302
75898
|
};
|
|
75303
75899
|
tool$paymentLinksCreate = {
|
|
@@ -75306,9 +75902,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
75306
75902
|
|
|
75307
75903
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75308
75904
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75309
|
-
args:
|
|
75310
|
-
tool: async (client,
|
|
75311
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
75905
|
+
args: args98,
|
|
75906
|
+
tool: async (client, args99, ctx) => {
|
|
75907
|
+
const [result, apiCall] = await paymentLinksCreate(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75312
75908
|
if (!result.ok) {
|
|
75313
75909
|
return {
|
|
75314
75910
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75323,9 +75919,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75323
75919
|
|
|
75324
75920
|
// src/funcs/paymentLinksDisable.ts
|
|
75325
75921
|
function paymentLinksDisable(client, request, options) {
|
|
75326
|
-
return new APIPromise($
|
|
75922
|
+
return new APIPromise($do99(client, request, options));
|
|
75327
75923
|
}
|
|
75328
|
-
async function $
|
|
75924
|
+
async function $do99(client, request, options) {
|
|
75329
75925
|
const parsed = safeParse(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75330
75926
|
if (!parsed.ok) {
|
|
75331
75927
|
return [parsed, { status: "invalid" }];
|
|
@@ -75406,12 +76002,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
75406
76002
|
});
|
|
75407
76003
|
|
|
75408
76004
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
75409
|
-
var
|
|
76005
|
+
var args99, tool$paymentLinksDisable;
|
|
75410
76006
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
75411
76007
|
init_paymentLinksDisable();
|
|
75412
76008
|
init_operations();
|
|
75413
76009
|
init_tools();
|
|
75414
|
-
|
|
76010
|
+
args99 = {
|
|
75415
76011
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
75416
76012
|
};
|
|
75417
76013
|
tool$paymentLinksDisable = {
|
|
@@ -75420,9 +76016,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
75420
76016
|
|
|
75421
76017
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75422
76018
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75423
|
-
args:
|
|
75424
|
-
tool: async (client,
|
|
75425
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
76019
|
+
args: args99,
|
|
76020
|
+
tool: async (client, args100, ctx) => {
|
|
76021
|
+
const [result, apiCall] = await paymentLinksDisable(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75426
76022
|
if (!result.ok) {
|
|
75427
76023
|
return {
|
|
75428
76024
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75436,9 +76032,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75436
76032
|
|
|
75437
76033
|
// src/funcs/paymentLinksGet.ts
|
|
75438
76034
|
function paymentLinksGet(client, request, options) {
|
|
75439
|
-
return new APIPromise($
|
|
76035
|
+
return new APIPromise($do100(client, request, options));
|
|
75440
76036
|
}
|
|
75441
|
-
async function $
|
|
76037
|
+
async function $do100(client, request, options) {
|
|
75442
76038
|
const parsed = safeParse(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75443
76039
|
if (!parsed.ok) {
|
|
75444
76040
|
return [parsed, { status: "invalid" }];
|
|
@@ -75520,12 +76116,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
75520
76116
|
});
|
|
75521
76117
|
|
|
75522
76118
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
75523
|
-
var
|
|
76119
|
+
var args100, tool$paymentLinksGet;
|
|
75524
76120
|
var init_paymentLinksGet2 = __esm(() => {
|
|
75525
76121
|
init_paymentLinksGet();
|
|
75526
76122
|
init_operations();
|
|
75527
76123
|
init_tools();
|
|
75528
|
-
|
|
76124
|
+
args100 = {
|
|
75529
76125
|
request: GetPaymentLinkRequest$inboundSchema
|
|
75530
76126
|
};
|
|
75531
76127
|
tool$paymentLinksGet = {
|
|
@@ -75534,9 +76130,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
75534
76130
|
|
|
75535
76131
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75536
76132
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75537
|
-
args:
|
|
75538
|
-
tool: async (client,
|
|
75539
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
76133
|
+
args: args100,
|
|
76134
|
+
tool: async (client, args101, ctx) => {
|
|
76135
|
+
const [result, apiCall] = await paymentLinksGet(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75540
76136
|
if (!result.ok) {
|
|
75541
76137
|
return {
|
|
75542
76138
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75551,9 +76147,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75551
76147
|
|
|
75552
76148
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
75553
76149
|
function paymentLinksGetQRCode(client, request, options) {
|
|
75554
|
-
return new APIPromise($
|
|
76150
|
+
return new APIPromise($do101(client, request, options));
|
|
75555
76151
|
}
|
|
75556
|
-
async function $
|
|
76152
|
+
async function $do101(client, request, options) {
|
|
75557
76153
|
const parsed = safeParse(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75558
76154
|
if (!parsed.ok) {
|
|
75559
76155
|
return [parsed, { status: "invalid" }];
|
|
@@ -75639,12 +76235,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
75639
76235
|
});
|
|
75640
76236
|
|
|
75641
76237
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
75642
|
-
var
|
|
76238
|
+
var args101, tool$paymentLinksGetQRCode;
|
|
75643
76239
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
75644
76240
|
init_paymentLinksGetQRCode();
|
|
75645
76241
|
init_operations();
|
|
75646
76242
|
init_tools();
|
|
75647
|
-
|
|
76243
|
+
args101 = {
|
|
75648
76244
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
75649
76245
|
};
|
|
75650
76246
|
tool$paymentLinksGetQRCode = {
|
|
@@ -75655,9 +76251,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
75655
76251
|
|
|
75656
76252
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75657
76253
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75658
|
-
args:
|
|
75659
|
-
tool: async (client,
|
|
75660
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
76254
|
+
args: args101,
|
|
76255
|
+
tool: async (client, args102, ctx) => {
|
|
76256
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75661
76257
|
if (!result.ok) {
|
|
75662
76258
|
return {
|
|
75663
76259
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75672,9 +76268,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75672
76268
|
|
|
75673
76269
|
// src/funcs/paymentLinksList.ts
|
|
75674
76270
|
function paymentLinksList(client, request, options) {
|
|
75675
|
-
return new APIPromise($
|
|
76271
|
+
return new APIPromise($do102(client, request, options));
|
|
75676
76272
|
}
|
|
75677
|
-
async function $
|
|
76273
|
+
async function $do102(client, request, options) {
|
|
75678
76274
|
const parsed = safeParse(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75679
76275
|
if (!parsed.ok) {
|
|
75680
76276
|
return [parsed, { status: "invalid" }];
|
|
@@ -75752,12 +76348,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
75752
76348
|
});
|
|
75753
76349
|
|
|
75754
76350
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
75755
|
-
var
|
|
76351
|
+
var args102, tool$paymentLinksList;
|
|
75756
76352
|
var init_paymentLinksList2 = __esm(() => {
|
|
75757
76353
|
init_paymentLinksList();
|
|
75758
76354
|
init_operations();
|
|
75759
76355
|
init_tools();
|
|
75760
|
-
|
|
76356
|
+
args102 = {
|
|
75761
76357
|
request: ListPaymentLinksRequest$inboundSchema
|
|
75762
76358
|
};
|
|
75763
76359
|
tool$paymentLinksList = {
|
|
@@ -75766,9 +76362,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
75766
76362
|
|
|
75767
76363
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75768
76364
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
75769
|
-
args:
|
|
75770
|
-
tool: async (client,
|
|
75771
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
76365
|
+
args: args102,
|
|
76366
|
+
tool: async (client, args103, ctx) => {
|
|
76367
|
+
const [result, apiCall] = await paymentLinksList(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75772
76368
|
if (!result.ok) {
|
|
75773
76369
|
return {
|
|
75774
76370
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75783,9 +76379,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
75783
76379
|
|
|
75784
76380
|
// src/funcs/paymentLinksUpdate.ts
|
|
75785
76381
|
function paymentLinksUpdate(client, request, options) {
|
|
75786
|
-
return new APIPromise($
|
|
76382
|
+
return new APIPromise($do103(client, request, options));
|
|
75787
76383
|
}
|
|
75788
|
-
async function $
|
|
76384
|
+
async function $do103(client, request, options) {
|
|
75789
76385
|
const parsed = safeParse(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75790
76386
|
if (!parsed.ok) {
|
|
75791
76387
|
return [parsed, { status: "invalid" }];
|
|
@@ -75881,12 +76477,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
75881
76477
|
});
|
|
75882
76478
|
|
|
75883
76479
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
75884
|
-
var
|
|
76480
|
+
var args103, tool$paymentLinksUpdate;
|
|
75885
76481
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
75886
76482
|
init_paymentLinksUpdate();
|
|
75887
76483
|
init_operations();
|
|
75888
76484
|
init_tools();
|
|
75889
|
-
|
|
76485
|
+
args103 = {
|
|
75890
76486
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
75891
76487
|
};
|
|
75892
76488
|
tool$paymentLinksUpdate = {
|
|
@@ -75895,9 +76491,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
75895
76491
|
|
|
75896
76492
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
75897
76493
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
75898
|
-
args:
|
|
75899
|
-
tool: async (client,
|
|
75900
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
76494
|
+
args: args103,
|
|
76495
|
+
tool: async (client, args104, ctx) => {
|
|
76496
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
75901
76497
|
if (!result.ok) {
|
|
75902
76498
|
return {
|
|
75903
76499
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -75912,9 +76508,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
75912
76508
|
|
|
75913
76509
|
// src/funcs/paymentMethodsGet.ts
|
|
75914
76510
|
function paymentMethodsGet(client, request, options) {
|
|
75915
|
-
return new APIPromise($
|
|
76511
|
+
return new APIPromise($do104(client, request, options));
|
|
75916
76512
|
}
|
|
75917
|
-
async function $
|
|
76513
|
+
async function $do104(client, request, options) {
|
|
75918
76514
|
const parsed = safeParse(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
75919
76515
|
if (!parsed.ok) {
|
|
75920
76516
|
return [parsed, { status: "invalid" }];
|
|
@@ -75996,12 +76592,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
75996
76592
|
});
|
|
75997
76593
|
|
|
75998
76594
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
75999
|
-
var
|
|
76595
|
+
var args104, tool$paymentMethodsGet;
|
|
76000
76596
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
76001
76597
|
init_paymentMethodsGet();
|
|
76002
76598
|
init_operations();
|
|
76003
76599
|
init_tools();
|
|
76004
|
-
|
|
76600
|
+
args104 = {
|
|
76005
76601
|
request: GetPaymentMethodRequest$inboundSchema
|
|
76006
76602
|
};
|
|
76007
76603
|
tool$paymentMethodsGet = {
|
|
@@ -76010,9 +76606,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
76010
76606
|
|
|
76011
76607
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76012
76608
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
76013
|
-
args:
|
|
76014
|
-
tool: async (client,
|
|
76015
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
76609
|
+
args: args104,
|
|
76610
|
+
tool: async (client, args105, ctx) => {
|
|
76611
|
+
const [result, apiCall] = await paymentMethodsGet(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76016
76612
|
if (!result.ok) {
|
|
76017
76613
|
return {
|
|
76018
76614
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76027,9 +76623,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
76027
76623
|
|
|
76028
76624
|
// src/funcs/paymentMethodsList.ts
|
|
76029
76625
|
function paymentMethodsList(client, request, options) {
|
|
76030
|
-
return new APIPromise($
|
|
76626
|
+
return new APIPromise($do105(client, request, options));
|
|
76031
76627
|
}
|
|
76032
|
-
async function $
|
|
76628
|
+
async function $do105(client, request, options) {
|
|
76033
76629
|
const parsed = safeParse(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76034
76630
|
if (!parsed.ok) {
|
|
76035
76631
|
return [parsed, { status: "invalid" }];
|
|
@@ -76112,12 +76708,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
76112
76708
|
});
|
|
76113
76709
|
|
|
76114
76710
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
76115
|
-
var
|
|
76711
|
+
var args105, tool$paymentMethodsList;
|
|
76116
76712
|
var init_paymentMethodsList2 = __esm(() => {
|
|
76117
76713
|
init_paymentMethodsList();
|
|
76118
76714
|
init_operations();
|
|
76119
76715
|
init_tools();
|
|
76120
|
-
|
|
76716
|
+
args105 = {
|
|
76121
76717
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
76122
76718
|
};
|
|
76123
76719
|
tool$paymentMethodsList = {
|
|
@@ -76127,9 +76723,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
76127
76723
|
|
|
76128
76724
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76129
76725
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
76130
|
-
args:
|
|
76131
|
-
tool: async (client,
|
|
76132
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
76726
|
+
args: args105,
|
|
76727
|
+
tool: async (client, args106, ctx) => {
|
|
76728
|
+
const [result, apiCall] = await paymentMethodsList(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76133
76729
|
if (!result.ok) {
|
|
76134
76730
|
return {
|
|
76135
76731
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76144,9 +76740,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
76144
76740
|
|
|
76145
76741
|
// src/funcs/pingPing.ts
|
|
76146
76742
|
function pingPing(client, _request, options) {
|
|
76147
|
-
return new APIPromise($
|
|
76743
|
+
return new APIPromise($do106(client, _request, options));
|
|
76148
76744
|
}
|
|
76149
|
-
async function $
|
|
76745
|
+
async function $do106(client, _request, options) {
|
|
76150
76746
|
const path = pathToFunc("/ping")();
|
|
76151
76747
|
const headers = new Headers(compactMap({
|
|
76152
76748
|
Accept: "*/*",
|
|
@@ -76209,12 +76805,12 @@ var init_pingPing = __esm(() => {
|
|
|
76209
76805
|
});
|
|
76210
76806
|
|
|
76211
76807
|
// src/mcp-server/tools/pingPing.ts
|
|
76212
|
-
var
|
|
76808
|
+
var args106, tool$pingPing;
|
|
76213
76809
|
var init_pingPing2 = __esm(() => {
|
|
76214
76810
|
init_pingPing();
|
|
76215
76811
|
init_operations();
|
|
76216
76812
|
init_tools();
|
|
76217
|
-
|
|
76813
|
+
args106 = {
|
|
76218
76814
|
request: PingRequest$inboundSchema
|
|
76219
76815
|
};
|
|
76220
76816
|
tool$pingPing = {
|
|
@@ -76223,9 +76819,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
76223
76819
|
|
|
76224
76820
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76225
76821
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
76226
|
-
args:
|
|
76227
|
-
tool: async (client,
|
|
76228
|
-
const [result, apiCall] = await pingPing(client,
|
|
76822
|
+
args: args106,
|
|
76823
|
+
tool: async (client, args107, ctx) => {
|
|
76824
|
+
const [result, apiCall] = await pingPing(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76229
76825
|
if (!result.ok) {
|
|
76230
76826
|
return {
|
|
76231
76827
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76239,9 +76835,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
76239
76835
|
|
|
76240
76836
|
// src/funcs/productsCreate.ts
|
|
76241
76837
|
function productsCreate(client, request, options) {
|
|
76242
|
-
return new APIPromise($
|
|
76838
|
+
return new APIPromise($do107(client, request, options));
|
|
76243
76839
|
}
|
|
76244
|
-
async function $
|
|
76840
|
+
async function $do107(client, request, options) {
|
|
76245
76841
|
const parsed = safeParse(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76246
76842
|
if (!parsed.ok) {
|
|
76247
76843
|
return [parsed, { status: "invalid" }];
|
|
@@ -76335,20 +76931,20 @@ var init_productsCreate = __esm(() => {
|
|
|
76335
76931
|
});
|
|
76336
76932
|
|
|
76337
76933
|
// src/mcp-server/tools/productsCreate.ts
|
|
76338
|
-
var
|
|
76934
|
+
var args107, tool$productsCreate;
|
|
76339
76935
|
var init_productsCreate2 = __esm(() => {
|
|
76340
76936
|
init_productsCreate();
|
|
76341
76937
|
init_operations();
|
|
76342
76938
|
init_tools();
|
|
76343
|
-
|
|
76939
|
+
args107 = {
|
|
76344
76940
|
request: CreateProductRequest$inboundSchema
|
|
76345
76941
|
};
|
|
76346
76942
|
tool$productsCreate = {
|
|
76347
76943
|
name: "products-create",
|
|
76348
76944
|
description: `Creates a new product for the specified account.`,
|
|
76349
|
-
args:
|
|
76350
|
-
tool: async (client,
|
|
76351
|
-
const [result, apiCall] = await productsCreate(client,
|
|
76945
|
+
args: args107,
|
|
76946
|
+
tool: async (client, args108, ctx) => {
|
|
76947
|
+
const [result, apiCall] = await productsCreate(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76352
76948
|
if (!result.ok) {
|
|
76353
76949
|
return {
|
|
76354
76950
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76363,9 +76959,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
76363
76959
|
|
|
76364
76960
|
// src/funcs/productsDisable.ts
|
|
76365
76961
|
function productsDisable(client, request, options) {
|
|
76366
|
-
return new APIPromise($
|
|
76962
|
+
return new APIPromise($do108(client, request, options));
|
|
76367
76963
|
}
|
|
76368
|
-
async function $
|
|
76964
|
+
async function $do108(client, request, options) {
|
|
76369
76965
|
const parsed = safeParse(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76370
76966
|
if (!parsed.ok) {
|
|
76371
76967
|
return [parsed, { status: "invalid" }];
|
|
@@ -76458,12 +77054,12 @@ var init_productsDisable = __esm(() => {
|
|
|
76458
77054
|
});
|
|
76459
77055
|
|
|
76460
77056
|
// src/mcp-server/tools/productsDisable.ts
|
|
76461
|
-
var
|
|
77057
|
+
var args108, tool$productsDisable;
|
|
76462
77058
|
var init_productsDisable2 = __esm(() => {
|
|
76463
77059
|
init_productsDisable();
|
|
76464
77060
|
init_operations();
|
|
76465
77061
|
init_tools();
|
|
76466
|
-
|
|
77062
|
+
args108 = {
|
|
76467
77063
|
request: DisableProductRequest$inboundSchema
|
|
76468
77064
|
};
|
|
76469
77065
|
tool$productsDisable = {
|
|
@@ -76471,9 +77067,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
76471
77067
|
description: `Disable a product by ID.
|
|
76472
77068
|
|
|
76473
77069
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
76474
|
-
args:
|
|
76475
|
-
tool: async (client,
|
|
76476
|
-
const [result, apiCall] = await productsDisable(client,
|
|
77070
|
+
args: args108,
|
|
77071
|
+
tool: async (client, args109, ctx) => {
|
|
77072
|
+
const [result, apiCall] = await productsDisable(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76477
77073
|
if (!result.ok) {
|
|
76478
77074
|
return {
|
|
76479
77075
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76487,9 +77083,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
76487
77083
|
|
|
76488
77084
|
// src/funcs/productsGet.ts
|
|
76489
77085
|
function productsGet(client, request, options) {
|
|
76490
|
-
return new APIPromise($
|
|
77086
|
+
return new APIPromise($do109(client, request, options));
|
|
76491
77087
|
}
|
|
76492
|
-
async function $
|
|
77088
|
+
async function $do109(client, request, options) {
|
|
76493
77089
|
const parsed = safeParse(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76494
77090
|
if (!parsed.ok) {
|
|
76495
77091
|
return [parsed, { status: "invalid" }];
|
|
@@ -76571,20 +77167,20 @@ var init_productsGet = __esm(() => {
|
|
|
76571
77167
|
});
|
|
76572
77168
|
|
|
76573
77169
|
// src/mcp-server/tools/productsGet.ts
|
|
76574
|
-
var
|
|
77170
|
+
var args109, tool$productsGet;
|
|
76575
77171
|
var init_productsGet2 = __esm(() => {
|
|
76576
77172
|
init_productsGet();
|
|
76577
77173
|
init_operations();
|
|
76578
77174
|
init_tools();
|
|
76579
|
-
|
|
77175
|
+
args109 = {
|
|
76580
77176
|
request: GetProductRequest$inboundSchema
|
|
76581
77177
|
};
|
|
76582
77178
|
tool$productsGet = {
|
|
76583
77179
|
name: "products-get",
|
|
76584
77180
|
description: `Retrieve a product by ID.`,
|
|
76585
|
-
args:
|
|
76586
|
-
tool: async (client,
|
|
76587
|
-
const [result, apiCall] = await productsGet(client,
|
|
77181
|
+
args: args109,
|
|
77182
|
+
tool: async (client, args110, ctx) => {
|
|
77183
|
+
const [result, apiCall] = await productsGet(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76588
77184
|
if (!result.ok) {
|
|
76589
77185
|
return {
|
|
76590
77186
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76599,9 +77195,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
76599
77195
|
|
|
76600
77196
|
// src/funcs/productsList.ts
|
|
76601
77197
|
function productsList(client, request, options) {
|
|
76602
|
-
return new APIPromise($
|
|
77198
|
+
return new APIPromise($do110(client, request, options));
|
|
76603
77199
|
}
|
|
76604
|
-
async function $
|
|
77200
|
+
async function $do110(client, request, options) {
|
|
76605
77201
|
const parsed = safeParse(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76606
77202
|
if (!parsed.ok) {
|
|
76607
77203
|
return [parsed, { status: "invalid" }];
|
|
@@ -76684,20 +77280,20 @@ var init_productsList = __esm(() => {
|
|
|
76684
77280
|
});
|
|
76685
77281
|
|
|
76686
77282
|
// src/mcp-server/tools/productsList.ts
|
|
76687
|
-
var
|
|
77283
|
+
var args110, tool$productsList;
|
|
76688
77284
|
var init_productsList2 = __esm(() => {
|
|
76689
77285
|
init_productsList();
|
|
76690
77286
|
init_operations();
|
|
76691
77287
|
init_tools();
|
|
76692
|
-
|
|
77288
|
+
args110 = {
|
|
76693
77289
|
request: ListProductsRequest$inboundSchema
|
|
76694
77290
|
};
|
|
76695
77291
|
tool$productsList = {
|
|
76696
77292
|
name: "products-list",
|
|
76697
77293
|
description: `List active (non-disabled) products for an account.`,
|
|
76698
|
-
args:
|
|
76699
|
-
tool: async (client,
|
|
76700
|
-
const [result, apiCall] = await productsList(client,
|
|
77294
|
+
args: args110,
|
|
77295
|
+
tool: async (client, args111, ctx) => {
|
|
77296
|
+
const [result, apiCall] = await productsList(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76701
77297
|
if (!result.ok) {
|
|
76702
77298
|
return {
|
|
76703
77299
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76712,9 +77308,9 @@ var init_productsList2 = __esm(() => {
|
|
|
76712
77308
|
|
|
76713
77309
|
// src/funcs/productsUpdate.ts
|
|
76714
77310
|
function productsUpdate(client, request, options) {
|
|
76715
|
-
return new APIPromise($
|
|
77311
|
+
return new APIPromise($do111(client, request, options));
|
|
76716
77312
|
}
|
|
76717
|
-
async function $
|
|
77313
|
+
async function $do111(client, request, options) {
|
|
76718
77314
|
const parsed = safeParse(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76719
77315
|
if (!parsed.ok) {
|
|
76720
77316
|
return [parsed, { status: "invalid" }];
|
|
@@ -76812,20 +77408,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
76812
77408
|
});
|
|
76813
77409
|
|
|
76814
77410
|
// src/mcp-server/tools/productsUpdate.ts
|
|
76815
|
-
var
|
|
77411
|
+
var args111, tool$productsUpdate;
|
|
76816
77412
|
var init_productsUpdate2 = __esm(() => {
|
|
76817
77413
|
init_productsUpdate();
|
|
76818
77414
|
init_operations();
|
|
76819
77415
|
init_tools();
|
|
76820
|
-
|
|
77416
|
+
args111 = {
|
|
76821
77417
|
request: UpdateProductRequest$inboundSchema
|
|
76822
77418
|
};
|
|
76823
77419
|
tool$productsUpdate = {
|
|
76824
77420
|
name: "products-update",
|
|
76825
77421
|
description: `Update a product and its options.`,
|
|
76826
|
-
args:
|
|
76827
|
-
tool: async (client,
|
|
76828
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
77422
|
+
args: args111,
|
|
77423
|
+
tool: async (client, args112, ctx) => {
|
|
77424
|
+
const [result, apiCall] = await productsUpdate(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76829
77425
|
if (!result.ok) {
|
|
76830
77426
|
return {
|
|
76831
77427
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76840,9 +77436,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
76840
77436
|
|
|
76841
77437
|
// src/funcs/receiptsCreate.ts
|
|
76842
77438
|
function receiptsCreate(client, request, options) {
|
|
76843
|
-
return new APIPromise($
|
|
77439
|
+
return new APIPromise($do112(client, request, options));
|
|
76844
77440
|
}
|
|
76845
|
-
async function $
|
|
77441
|
+
async function $do112(client, request, options) {
|
|
76846
77442
|
const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
76847
77443
|
if (!parsed.ok) {
|
|
76848
77444
|
return [parsed, { status: "invalid" }];
|
|
@@ -76930,13 +77526,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
76930
77526
|
});
|
|
76931
77527
|
|
|
76932
77528
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
76933
|
-
var
|
|
77529
|
+
var args112, tool$receiptsCreate;
|
|
76934
77530
|
var init_receiptsCreate2 = __esm(() => {
|
|
76935
77531
|
init_esm();
|
|
76936
77532
|
init_receiptsCreate();
|
|
76937
77533
|
init_components();
|
|
76938
77534
|
init_tools();
|
|
76939
|
-
|
|
77535
|
+
args112 = {
|
|
76940
77536
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
76941
77537
|
};
|
|
76942
77538
|
tool$receiptsCreate = {
|
|
@@ -76945,9 +77541,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76945
77541
|
|
|
76946
77542
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
76947
77543
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
76948
|
-
args:
|
|
76949
|
-
tool: async (client,
|
|
76950
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
77544
|
+
args: args112,
|
|
77545
|
+
tool: async (client, args113, ctx) => {
|
|
77546
|
+
const [result, apiCall] = await receiptsCreate(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
76951
77547
|
if (!result.ok) {
|
|
76952
77548
|
return {
|
|
76953
77549
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -76962,9 +77558,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
76962
77558
|
|
|
76963
77559
|
// src/funcs/receiptsList.ts
|
|
76964
77560
|
function receiptsList(client, request, options) {
|
|
76965
|
-
return new APIPromise($
|
|
77561
|
+
return new APIPromise($do113(client, request, options));
|
|
76966
77562
|
}
|
|
76967
|
-
async function $
|
|
77563
|
+
async function $do113(client, request, options) {
|
|
76968
77564
|
const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
76969
77565
|
if (!parsed.ok) {
|
|
76970
77566
|
return [parsed, { status: "invalid" }];
|
|
@@ -77040,12 +77636,12 @@ var init_receiptsList = __esm(() => {
|
|
|
77040
77636
|
});
|
|
77041
77637
|
|
|
77042
77638
|
// src/mcp-server/tools/receiptsList.ts
|
|
77043
|
-
var
|
|
77639
|
+
var args113, tool$receiptsList;
|
|
77044
77640
|
var init_receiptsList2 = __esm(() => {
|
|
77045
77641
|
init_receiptsList();
|
|
77046
77642
|
init_operations();
|
|
77047
77643
|
init_tools();
|
|
77048
|
-
|
|
77644
|
+
args113 = {
|
|
77049
77645
|
request: ListReceiptsRequest$inboundSchema
|
|
77050
77646
|
};
|
|
77051
77647
|
tool$receiptsList = {
|
|
@@ -77054,9 +77650,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
77054
77650
|
|
|
77055
77651
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77056
77652
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
77057
|
-
args:
|
|
77058
|
-
tool: async (client,
|
|
77059
|
-
const [result, apiCall] = await receiptsList(client,
|
|
77653
|
+
args: args113,
|
|
77654
|
+
tool: async (client, args114, ctx) => {
|
|
77655
|
+
const [result, apiCall] = await receiptsList(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77060
77656
|
if (!result.ok) {
|
|
77061
77657
|
return {
|
|
77062
77658
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77071,9 +77667,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
77071
77667
|
|
|
77072
77668
|
// src/funcs/representativesCreate.ts
|
|
77073
77669
|
function representativesCreate(client, request, options) {
|
|
77074
|
-
return new APIPromise($
|
|
77670
|
+
return new APIPromise($do114(client, request, options));
|
|
77075
77671
|
}
|
|
77076
|
-
async function $
|
|
77672
|
+
async function $do114(client, request, options) {
|
|
77077
77673
|
const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77078
77674
|
if (!parsed.ok) {
|
|
77079
77675
|
return [parsed, { status: "invalid" }];
|
|
@@ -77169,12 +77765,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
77169
77765
|
});
|
|
77170
77766
|
|
|
77171
77767
|
// src/mcp-server/tools/representativesCreate.ts
|
|
77172
|
-
var
|
|
77768
|
+
var args114, tool$representativesCreate;
|
|
77173
77769
|
var init_representativesCreate2 = __esm(() => {
|
|
77174
77770
|
init_representativesCreate();
|
|
77175
77771
|
init_operations();
|
|
77176
77772
|
init_tools();
|
|
77177
|
-
|
|
77773
|
+
args114 = {
|
|
77178
77774
|
request: CreateRepresentativeRequest$inboundSchema
|
|
77179
77775
|
};
|
|
77180
77776
|
tool$representativesCreate = {
|
|
@@ -77185,9 +77781,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
77185
77781
|
|
|
77186
77782
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77187
77783
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
77188
|
-
args:
|
|
77189
|
-
tool: async (client,
|
|
77190
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
77784
|
+
args: args114,
|
|
77785
|
+
tool: async (client, args115, ctx) => {
|
|
77786
|
+
const [result, apiCall] = await representativesCreate(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77191
77787
|
if (!result.ok) {
|
|
77192
77788
|
return {
|
|
77193
77789
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77202,9 +77798,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
77202
77798
|
|
|
77203
77799
|
// src/funcs/representativesDelete.ts
|
|
77204
77800
|
function representativesDelete(client, request, options) {
|
|
77205
|
-
return new APIPromise($
|
|
77801
|
+
return new APIPromise($do115(client, request, options));
|
|
77206
77802
|
}
|
|
77207
|
-
async function $
|
|
77803
|
+
async function $do115(client, request, options) {
|
|
77208
77804
|
const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77209
77805
|
if (!parsed.ok) {
|
|
77210
77806
|
return [parsed, { status: "invalid" }];
|
|
@@ -77292,12 +77888,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
77292
77888
|
});
|
|
77293
77889
|
|
|
77294
77890
|
// src/mcp-server/tools/representativesDelete.ts
|
|
77295
|
-
var
|
|
77891
|
+
var args115, tool$representativesDelete;
|
|
77296
77892
|
var init_representativesDelete2 = __esm(() => {
|
|
77297
77893
|
init_representativesDelete();
|
|
77298
77894
|
init_operations();
|
|
77299
77895
|
init_tools();
|
|
77300
|
-
|
|
77896
|
+
args115 = {
|
|
77301
77897
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
77302
77898
|
};
|
|
77303
77899
|
tool$representativesDelete = {
|
|
@@ -77306,9 +77902,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
77306
77902
|
|
|
77307
77903
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77308
77904
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
77309
|
-
args:
|
|
77310
|
-
tool: async (client,
|
|
77311
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
77905
|
+
args: args115,
|
|
77906
|
+
tool: async (client, args116, ctx) => {
|
|
77907
|
+
const [result, apiCall] = await representativesDelete(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77312
77908
|
if (!result.ok) {
|
|
77313
77909
|
return {
|
|
77314
77910
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77322,9 +77918,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
77322
77918
|
|
|
77323
77919
|
// src/funcs/representativesGet.ts
|
|
77324
77920
|
function representativesGet(client, request, options) {
|
|
77325
|
-
return new APIPromise($
|
|
77921
|
+
return new APIPromise($do116(client, request, options));
|
|
77326
77922
|
}
|
|
77327
|
-
async function $
|
|
77923
|
+
async function $do116(client, request, options) {
|
|
77328
77924
|
const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77329
77925
|
if (!parsed.ok) {
|
|
77330
77926
|
return [parsed, { status: "invalid" }];
|
|
@@ -77403,12 +77999,12 @@ var init_representativesGet = __esm(() => {
|
|
|
77403
77999
|
});
|
|
77404
78000
|
|
|
77405
78001
|
// src/mcp-server/tools/representativesGet.ts
|
|
77406
|
-
var
|
|
78002
|
+
var args116, tool$representativesGet;
|
|
77407
78003
|
var init_representativesGet2 = __esm(() => {
|
|
77408
78004
|
init_representativesGet();
|
|
77409
78005
|
init_operations();
|
|
77410
78006
|
init_tools();
|
|
77411
|
-
|
|
78007
|
+
args116 = {
|
|
77412
78008
|
request: GetRepresentativeRequest$inboundSchema
|
|
77413
78009
|
};
|
|
77414
78010
|
tool$representativesGet = {
|
|
@@ -77417,9 +78013,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
77417
78013
|
|
|
77418
78014
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77419
78015
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
77420
|
-
args:
|
|
77421
|
-
tool: async (client,
|
|
77422
|
-
const [result, apiCall] = await representativesGet(client,
|
|
78016
|
+
args: args116,
|
|
78017
|
+
tool: async (client, args117, ctx) => {
|
|
78018
|
+
const [result, apiCall] = await representativesGet(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77423
78019
|
if (!result.ok) {
|
|
77424
78020
|
return {
|
|
77425
78021
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77434,9 +78030,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
77434
78030
|
|
|
77435
78031
|
// src/funcs/representativesList.ts
|
|
77436
78032
|
function representativesList(client, request, options) {
|
|
77437
|
-
return new APIPromise($
|
|
78033
|
+
return new APIPromise($do117(client, request, options));
|
|
77438
78034
|
}
|
|
77439
|
-
async function $
|
|
78035
|
+
async function $do117(client, request, options) {
|
|
77440
78036
|
const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77441
78037
|
if (!parsed.ok) {
|
|
77442
78038
|
return [parsed, { status: "invalid" }];
|
|
@@ -77514,12 +78110,12 @@ var init_representativesList = __esm(() => {
|
|
|
77514
78110
|
});
|
|
77515
78111
|
|
|
77516
78112
|
// src/mcp-server/tools/representativesList.ts
|
|
77517
|
-
var
|
|
78113
|
+
var args117, tool$representativesList;
|
|
77518
78114
|
var init_representativesList2 = __esm(() => {
|
|
77519
78115
|
init_representativesList();
|
|
77520
78116
|
init_operations();
|
|
77521
78117
|
init_tools();
|
|
77522
|
-
|
|
78118
|
+
args117 = {
|
|
77523
78119
|
request: ListRepresentativesRequest$inboundSchema
|
|
77524
78120
|
};
|
|
77525
78121
|
tool$representativesList = {
|
|
@@ -77531,9 +78127,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
77531
78127
|
|
|
77532
78128
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77533
78129
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
77534
|
-
args:
|
|
77535
|
-
tool: async (client,
|
|
77536
|
-
const [result, apiCall] = await representativesList(client,
|
|
78130
|
+
args: args117,
|
|
78131
|
+
tool: async (client, args118, ctx) => {
|
|
78132
|
+
const [result, apiCall] = await representativesList(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77537
78133
|
if (!result.ok) {
|
|
77538
78134
|
return {
|
|
77539
78135
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77548,9 +78144,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
77548
78144
|
|
|
77549
78145
|
// src/funcs/representativesUpdate.ts
|
|
77550
78146
|
function representativesUpdate(client, request, options) {
|
|
77551
|
-
return new APIPromise($
|
|
78147
|
+
return new APIPromise($do118(client, request, options));
|
|
77552
78148
|
}
|
|
77553
|
-
async function $
|
|
78149
|
+
async function $do118(client, request, options) {
|
|
77554
78150
|
const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77555
78151
|
if (!parsed.ok) {
|
|
77556
78152
|
return [parsed, { status: "invalid" }];
|
|
@@ -77644,12 +78240,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
77644
78240
|
});
|
|
77645
78241
|
|
|
77646
78242
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
77647
|
-
var
|
|
78243
|
+
var args118, tool$representativesUpdate;
|
|
77648
78244
|
var init_representativesUpdate2 = __esm(() => {
|
|
77649
78245
|
init_representativesUpdate();
|
|
77650
78246
|
init_operations();
|
|
77651
78247
|
init_tools();
|
|
77652
|
-
|
|
78248
|
+
args118 = {
|
|
77653
78249
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
77654
78250
|
};
|
|
77655
78251
|
tool$representativesUpdate = {
|
|
@@ -77671,9 +78267,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
77671
78267
|
|
|
77672
78268
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77673
78269
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
77674
|
-
args:
|
|
77675
|
-
tool: async (client,
|
|
77676
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
78270
|
+
args: args118,
|
|
78271
|
+
tool: async (client, args119, ctx) => {
|
|
78272
|
+
const [result, apiCall] = await representativesUpdate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77677
78273
|
if (!result.ok) {
|
|
77678
78274
|
return {
|
|
77679
78275
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77688,9 +78284,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
77688
78284
|
|
|
77689
78285
|
// src/funcs/schedulingCancel.ts
|
|
77690
78286
|
function schedulingCancel(client, request, options) {
|
|
77691
|
-
return new APIPromise($
|
|
78287
|
+
return new APIPromise($do119(client, request, options));
|
|
77692
78288
|
}
|
|
77693
|
-
async function $
|
|
78289
|
+
async function $do119(client, request, options) {
|
|
77694
78290
|
const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77695
78291
|
if (!parsed.ok) {
|
|
77696
78292
|
return [parsed, { status: "invalid" }];
|
|
@@ -77783,12 +78379,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
77783
78379
|
});
|
|
77784
78380
|
|
|
77785
78381
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
77786
|
-
var
|
|
78382
|
+
var args119, tool$schedulingCancel;
|
|
77787
78383
|
var init_schedulingCancel2 = __esm(() => {
|
|
77788
78384
|
init_schedulingCancel();
|
|
77789
78385
|
init_operations();
|
|
77790
78386
|
init_tools();
|
|
77791
|
-
|
|
78387
|
+
args119 = {
|
|
77792
78388
|
request: CancelScheduleRequest$inboundSchema
|
|
77793
78389
|
};
|
|
77794
78390
|
tool$schedulingCancel = {
|
|
@@ -77797,9 +78393,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
77797
78393
|
|
|
77798
78394
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77799
78395
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77800
|
-
args:
|
|
77801
|
-
tool: async (client,
|
|
77802
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
78396
|
+
args: args119,
|
|
78397
|
+
tool: async (client, args120, ctx) => {
|
|
78398
|
+
const [result, apiCall] = await schedulingCancel(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77803
78399
|
if (!result.ok) {
|
|
77804
78400
|
return {
|
|
77805
78401
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77813,9 +78409,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77813
78409
|
|
|
77814
78410
|
// src/funcs/schedulingCreate.ts
|
|
77815
78411
|
function schedulingCreate(client, request, options) {
|
|
77816
|
-
return new APIPromise($
|
|
78412
|
+
return new APIPromise($do120(client, request, options));
|
|
77817
78413
|
}
|
|
77818
|
-
async function $
|
|
78414
|
+
async function $do120(client, request, options) {
|
|
77819
78415
|
const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77820
78416
|
if (!parsed.ok) {
|
|
77821
78417
|
return [parsed, { status: "invalid" }];
|
|
@@ -77909,12 +78505,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
77909
78505
|
});
|
|
77910
78506
|
|
|
77911
78507
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
77912
|
-
var
|
|
78508
|
+
var args120, tool$schedulingCreate;
|
|
77913
78509
|
var init_schedulingCreate2 = __esm(() => {
|
|
77914
78510
|
init_schedulingCreate();
|
|
77915
78511
|
init_operations();
|
|
77916
78512
|
init_tools();
|
|
77917
|
-
|
|
78513
|
+
args120 = {
|
|
77918
78514
|
request: CreateScheduleRequest$inboundSchema
|
|
77919
78515
|
};
|
|
77920
78516
|
tool$schedulingCreate = {
|
|
@@ -77923,9 +78519,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
77923
78519
|
|
|
77924
78520
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
77925
78521
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
77926
|
-
args:
|
|
77927
|
-
tool: async (client,
|
|
77928
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
78522
|
+
args: args120,
|
|
78523
|
+
tool: async (client, args121, ctx) => {
|
|
78524
|
+
const [result, apiCall] = await schedulingCreate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
77929
78525
|
if (!result.ok) {
|
|
77930
78526
|
return {
|
|
77931
78527
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -77940,9 +78536,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
77940
78536
|
|
|
77941
78537
|
// src/funcs/schedulingGet.ts
|
|
77942
78538
|
function schedulingGet(client, request, options) {
|
|
77943
|
-
return new APIPromise($
|
|
78539
|
+
return new APIPromise($do121(client, request, options));
|
|
77944
78540
|
}
|
|
77945
|
-
async function $
|
|
78541
|
+
async function $do121(client, request, options) {
|
|
77946
78542
|
const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
77947
78543
|
if (!parsed.ok) {
|
|
77948
78544
|
return [parsed, { status: "invalid" }];
|
|
@@ -78024,12 +78620,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
78024
78620
|
});
|
|
78025
78621
|
|
|
78026
78622
|
// src/mcp-server/tools/schedulingGet.ts
|
|
78027
|
-
var
|
|
78623
|
+
var args121, tool$schedulingGet;
|
|
78028
78624
|
var init_schedulingGet2 = __esm(() => {
|
|
78029
78625
|
init_schedulingGet();
|
|
78030
78626
|
init_operations();
|
|
78031
78627
|
init_tools();
|
|
78032
|
-
|
|
78628
|
+
args121 = {
|
|
78033
78629
|
request: GetSchedulesRequest$inboundSchema
|
|
78034
78630
|
};
|
|
78035
78631
|
tool$schedulingGet = {
|
|
@@ -78038,9 +78634,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
78038
78634
|
|
|
78039
78635
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78040
78636
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78041
|
-
args:
|
|
78042
|
-
tool: async (client,
|
|
78043
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
78637
|
+
args: args121,
|
|
78638
|
+
tool: async (client, args122, ctx) => {
|
|
78639
|
+
const [result, apiCall] = await schedulingGet(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78044
78640
|
if (!result.ok) {
|
|
78045
78641
|
return {
|
|
78046
78642
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78055,9 +78651,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78055
78651
|
|
|
78056
78652
|
// src/funcs/schedulingGetOccurrance.ts
|
|
78057
78653
|
function schedulingGetOccurrance(client, request, options) {
|
|
78058
|
-
return new APIPromise($
|
|
78654
|
+
return new APIPromise($do122(client, request, options));
|
|
78059
78655
|
}
|
|
78060
|
-
async function $
|
|
78656
|
+
async function $do122(client, request, options) {
|
|
78061
78657
|
const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78062
78658
|
if (!parsed.ok) {
|
|
78063
78659
|
return [parsed, { status: "invalid" }];
|
|
@@ -78140,12 +78736,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
78140
78736
|
});
|
|
78141
78737
|
|
|
78142
78738
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
78143
|
-
var
|
|
78739
|
+
var args122, tool$schedulingGetOccurrance;
|
|
78144
78740
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
78145
78741
|
init_schedulingGetOccurrance();
|
|
78146
78742
|
init_operations();
|
|
78147
78743
|
init_tools();
|
|
78148
|
-
|
|
78744
|
+
args122 = {
|
|
78149
78745
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
78150
78746
|
};
|
|
78151
78747
|
tool$schedulingGetOccurrance = {
|
|
@@ -78154,9 +78750,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
78154
78750
|
|
|
78155
78751
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78156
78752
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78157
|
-
args:
|
|
78158
|
-
tool: async (client,
|
|
78159
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
78753
|
+
args: args122,
|
|
78754
|
+
tool: async (client, args123, ctx) => {
|
|
78755
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78160
78756
|
if (!result.ok) {
|
|
78161
78757
|
return {
|
|
78162
78758
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78171,9 +78767,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78171
78767
|
|
|
78172
78768
|
// src/funcs/schedulingList.ts
|
|
78173
78769
|
function schedulingList(client, request, options) {
|
|
78174
|
-
return new APIPromise($
|
|
78770
|
+
return new APIPromise($do123(client, request, options));
|
|
78175
78771
|
}
|
|
78176
|
-
async function $
|
|
78772
|
+
async function $do123(client, request, options) {
|
|
78177
78773
|
const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78178
78774
|
if (!parsed.ok) {
|
|
78179
78775
|
return [parsed, { status: "invalid" }];
|
|
@@ -78257,12 +78853,12 @@ var init_schedulingList = __esm(() => {
|
|
|
78257
78853
|
});
|
|
78258
78854
|
|
|
78259
78855
|
// src/mcp-server/tools/schedulingList.ts
|
|
78260
|
-
var
|
|
78856
|
+
var args123, tool$schedulingList;
|
|
78261
78857
|
var init_schedulingList2 = __esm(() => {
|
|
78262
78858
|
init_schedulingList();
|
|
78263
78859
|
init_operations();
|
|
78264
78860
|
init_tools();
|
|
78265
|
-
|
|
78861
|
+
args123 = {
|
|
78266
78862
|
request: ListSchedulesRequest$inboundSchema
|
|
78267
78863
|
};
|
|
78268
78864
|
tool$schedulingList = {
|
|
@@ -78271,9 +78867,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
78271
78867
|
|
|
78272
78868
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78273
78869
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
78274
|
-
args:
|
|
78275
|
-
tool: async (client,
|
|
78276
|
-
const [result, apiCall] = await schedulingList(client,
|
|
78870
|
+
args: args123,
|
|
78871
|
+
tool: async (client, args124, ctx) => {
|
|
78872
|
+
const [result, apiCall] = await schedulingList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78277
78873
|
if (!result.ok) {
|
|
78278
78874
|
return {
|
|
78279
78875
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78288,9 +78884,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
78288
78884
|
|
|
78289
78885
|
// src/funcs/schedulingUpdate.ts
|
|
78290
78886
|
function schedulingUpdate(client, request, options) {
|
|
78291
|
-
return new APIPromise($
|
|
78887
|
+
return new APIPromise($do124(client, request, options));
|
|
78292
78888
|
}
|
|
78293
|
-
async function $
|
|
78889
|
+
async function $do124(client, request, options) {
|
|
78294
78890
|
const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78295
78891
|
if (!parsed.ok) {
|
|
78296
78892
|
return [parsed, { status: "invalid" }];
|
|
@@ -78388,12 +78984,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
78388
78984
|
});
|
|
78389
78985
|
|
|
78390
78986
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
78391
|
-
var
|
|
78987
|
+
var args124, tool$schedulingUpdate;
|
|
78392
78988
|
var init_schedulingUpdate2 = __esm(() => {
|
|
78393
78989
|
init_schedulingUpdate();
|
|
78394
78990
|
init_operations();
|
|
78395
78991
|
init_tools();
|
|
78396
|
-
|
|
78992
|
+
args124 = {
|
|
78397
78993
|
request: UpdateScheduleRequest$inboundSchema
|
|
78398
78994
|
};
|
|
78399
78995
|
tool$schedulingUpdate = {
|
|
@@ -78402,9 +78998,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
78402
78998
|
|
|
78403
78999
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78404
79000
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
78405
|
-
args:
|
|
78406
|
-
tool: async (client,
|
|
78407
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
79001
|
+
args: args124,
|
|
79002
|
+
tool: async (client, args125, ctx) => {
|
|
79003
|
+
const [result, apiCall] = await schedulingUpdate(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78408
79004
|
if (!result.ok) {
|
|
78409
79005
|
return {
|
|
78410
79006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78419,9 +79015,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
78419
79015
|
|
|
78420
79016
|
// src/funcs/statementsGet.ts
|
|
78421
79017
|
function statementsGet(client, request, options) {
|
|
78422
|
-
return new APIPromise($
|
|
79018
|
+
return new APIPromise($do125(client, request, options));
|
|
78423
79019
|
}
|
|
78424
|
-
async function $
|
|
79020
|
+
async function $do125(client, request, options) {
|
|
78425
79021
|
const parsed = safeParse(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78426
79022
|
if (!parsed.ok) {
|
|
78427
79023
|
return [parsed, { status: "invalid" }];
|
|
@@ -78507,12 +79103,12 @@ var init_statementsGet = __esm(() => {
|
|
|
78507
79103
|
});
|
|
78508
79104
|
|
|
78509
79105
|
// src/mcp-server/tools/statementsGet.ts
|
|
78510
|
-
var
|
|
79106
|
+
var args125, tool$statementsGet;
|
|
78511
79107
|
var init_statementsGet2 = __esm(() => {
|
|
78512
79108
|
init_statementsGet();
|
|
78513
79109
|
init_operations();
|
|
78514
79110
|
init_tools();
|
|
78515
|
-
|
|
79111
|
+
args125 = {
|
|
78516
79112
|
request: GetStatementRequest$inboundSchema
|
|
78517
79113
|
};
|
|
78518
79114
|
tool$statementsGet = {
|
|
@@ -78523,9 +79119,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
78523
79119
|
|
|
78524
79120
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78525
79121
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
78526
|
-
args:
|
|
78527
|
-
tool: async (client,
|
|
78528
|
-
const [result, apiCall] = await statementsGet(client,
|
|
79122
|
+
args: args125,
|
|
79123
|
+
tool: async (client, args126, ctx) => {
|
|
79124
|
+
const [result, apiCall] = await statementsGet(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78529
79125
|
if (!result.ok) {
|
|
78530
79126
|
return {
|
|
78531
79127
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78540,9 +79136,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
78540
79136
|
|
|
78541
79137
|
// src/funcs/statementsList.ts
|
|
78542
79138
|
function statementsList(client, request, options) {
|
|
78543
|
-
return new APIPromise($
|
|
79139
|
+
return new APIPromise($do126(client, request, options));
|
|
78544
79140
|
}
|
|
78545
|
-
async function $
|
|
79141
|
+
async function $do126(client, request, options) {
|
|
78546
79142
|
const parsed = safeParse(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78547
79143
|
if (!parsed.ok) {
|
|
78548
79144
|
return [parsed, { status: "invalid" }];
|
|
@@ -78628,12 +79224,12 @@ var init_statementsList = __esm(() => {
|
|
|
78628
79224
|
});
|
|
78629
79225
|
|
|
78630
79226
|
// src/mcp-server/tools/statementsList.ts
|
|
78631
|
-
var
|
|
79227
|
+
var args126, tool$statementsList;
|
|
78632
79228
|
var init_statementsList2 = __esm(() => {
|
|
78633
79229
|
init_statementsList();
|
|
78634
79230
|
init_operations();
|
|
78635
79231
|
init_tools();
|
|
78636
|
-
|
|
79232
|
+
args126 = {
|
|
78637
79233
|
request: ListStatementsRequest$inboundSchema
|
|
78638
79234
|
};
|
|
78639
79235
|
tool$statementsList = {
|
|
@@ -78642,9 +79238,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
78642
79238
|
|
|
78643
79239
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
78644
79240
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
78645
|
-
args:
|
|
78646
|
-
tool: async (client,
|
|
78647
|
-
const [result, apiCall] = await statementsList(client,
|
|
79241
|
+
args: args126,
|
|
79242
|
+
tool: async (client, args127, ctx) => {
|
|
79243
|
+
const [result, apiCall] = await statementsList(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78648
79244
|
if (!result.ok) {
|
|
78649
79245
|
return {
|
|
78650
79246
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78659,9 +79255,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
78659
79255
|
|
|
78660
79256
|
// src/funcs/supportCreateTicket.ts
|
|
78661
79257
|
function supportCreateTicket(client, request, options) {
|
|
78662
|
-
return new APIPromise($
|
|
79258
|
+
return new APIPromise($do127(client, request, options));
|
|
78663
79259
|
}
|
|
78664
|
-
async function $
|
|
79260
|
+
async function $do127(client, request, options) {
|
|
78665
79261
|
const parsed = safeParse(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78666
79262
|
if (!parsed.ok) {
|
|
78667
79263
|
return [parsed, { status: "invalid" }];
|
|
@@ -78753,12 +79349,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
78753
79349
|
});
|
|
78754
79350
|
|
|
78755
79351
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
78756
|
-
var
|
|
79352
|
+
var args127, tool$supportCreateTicket;
|
|
78757
79353
|
var init_supportCreateTicket2 = __esm(() => {
|
|
78758
79354
|
init_supportCreateTicket();
|
|
78759
79355
|
init_operations();
|
|
78760
79356
|
init_tools();
|
|
78761
|
-
|
|
79357
|
+
args127 = {
|
|
78762
79358
|
request: CreateTicketRequest$inboundSchema
|
|
78763
79359
|
};
|
|
78764
79360
|
tool$supportCreateTicket = {
|
|
@@ -78770,9 +79366,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
78770
79366
|
|
|
78771
79367
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
78772
79368
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78773
|
-
args:
|
|
78774
|
-
tool: async (client,
|
|
78775
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
79369
|
+
args: args127,
|
|
79370
|
+
tool: async (client, args128, ctx) => {
|
|
79371
|
+
const [result, apiCall] = await supportCreateTicket(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78776
79372
|
if (!result.ok) {
|
|
78777
79373
|
return {
|
|
78778
79374
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78787,9 +79383,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
78787
79383
|
|
|
78788
79384
|
// src/funcs/supportGetTicket.ts
|
|
78789
79385
|
function supportGetTicket(client, request, options) {
|
|
78790
|
-
return new APIPromise($
|
|
79386
|
+
return new APIPromise($do128(client, request, options));
|
|
78791
79387
|
}
|
|
78792
|
-
async function $
|
|
79388
|
+
async function $do128(client, request, options) {
|
|
78793
79389
|
const parsed = safeParse(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78794
79390
|
if (!parsed.ok) {
|
|
78795
79391
|
return [parsed, { status: "invalid" }];
|
|
@@ -78871,12 +79467,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
78871
79467
|
});
|
|
78872
79468
|
|
|
78873
79469
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
78874
|
-
var
|
|
79470
|
+
var args128, tool$supportGetTicket;
|
|
78875
79471
|
var init_supportGetTicket2 = __esm(() => {
|
|
78876
79472
|
init_supportGetTicket();
|
|
78877
79473
|
init_operations();
|
|
78878
79474
|
init_tools();
|
|
78879
|
-
|
|
79475
|
+
args128 = {
|
|
78880
79476
|
request: GetTicketRequest$inboundSchema
|
|
78881
79477
|
};
|
|
78882
79478
|
tool$supportGetTicket = {
|
|
@@ -78888,9 +79484,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
78888
79484
|
|
|
78889
79485
|
If you're retrieving another account's ticket, then you'll need to
|
|
78890
79486
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
78891
|
-
args:
|
|
78892
|
-
tool: async (client,
|
|
78893
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
79487
|
+
args: args128,
|
|
79488
|
+
tool: async (client, args129, ctx) => {
|
|
79489
|
+
const [result, apiCall] = await supportGetTicket(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
78894
79490
|
if (!result.ok) {
|
|
78895
79491
|
return {
|
|
78896
79492
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -78905,9 +79501,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
78905
79501
|
|
|
78906
79502
|
// src/funcs/supportListTicketMessages.ts
|
|
78907
79503
|
function supportListTicketMessages(client, request, options) {
|
|
78908
|
-
return new APIPromise($
|
|
79504
|
+
return new APIPromise($do129(client, request, options));
|
|
78909
79505
|
}
|
|
78910
|
-
async function $
|
|
79506
|
+
async function $do129(client, request, options) {
|
|
78911
79507
|
const parsed = safeParse(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
78912
79508
|
if (!parsed.ok) {
|
|
78913
79509
|
return [parsed, { status: "invalid" }];
|
|
@@ -78989,12 +79585,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
78989
79585
|
});
|
|
78990
79586
|
|
|
78991
79587
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
78992
|
-
var
|
|
79588
|
+
var args129, tool$supportListTicketMessages;
|
|
78993
79589
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
78994
79590
|
init_supportListTicketMessages();
|
|
78995
79591
|
init_operations();
|
|
78996
79592
|
init_tools();
|
|
78997
|
-
|
|
79593
|
+
args129 = {
|
|
78998
79594
|
request: ListTicketMessagesRequest$inboundSchema
|
|
78999
79595
|
};
|
|
79000
79596
|
tool$supportListTicketMessages = {
|
|
@@ -79006,9 +79602,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
79006
79602
|
|
|
79007
79603
|
If you're listing another account's messages, then you'll need to
|
|
79008
79604
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
79009
|
-
args:
|
|
79010
|
-
tool: async (client,
|
|
79011
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
79605
|
+
args: args129,
|
|
79606
|
+
tool: async (client, args130, ctx) => {
|
|
79607
|
+
const [result, apiCall] = await supportListTicketMessages(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79012
79608
|
if (!result.ok) {
|
|
79013
79609
|
return {
|
|
79014
79610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79023,9 +79619,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
79023
79619
|
|
|
79024
79620
|
// src/funcs/supportListTickets.ts
|
|
79025
79621
|
function supportListTickets(client, request, options) {
|
|
79026
|
-
return new APIPromise($
|
|
79622
|
+
return new APIPromise($do130(client, request, options));
|
|
79027
79623
|
}
|
|
79028
|
-
async function $
|
|
79624
|
+
async function $do130(client, request, options) {
|
|
79029
79625
|
const parsed = safeParse(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79030
79626
|
if (!parsed.ok) {
|
|
79031
79627
|
return [parsed, { status: "invalid" }];
|
|
@@ -79110,12 +79706,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
79110
79706
|
});
|
|
79111
79707
|
|
|
79112
79708
|
// src/mcp-server/tools/supportListTickets.ts
|
|
79113
|
-
var
|
|
79709
|
+
var args130, tool$supportListTickets;
|
|
79114
79710
|
var init_supportListTickets2 = __esm(() => {
|
|
79115
79711
|
init_supportListTickets();
|
|
79116
79712
|
init_operations();
|
|
79117
79713
|
init_tools();
|
|
79118
|
-
|
|
79714
|
+
args130 = {
|
|
79119
79715
|
request: ListTicketsRequest$inboundSchema
|
|
79120
79716
|
};
|
|
79121
79717
|
tool$supportListTickets = {
|
|
@@ -79127,9 +79723,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
79127
79723
|
|
|
79128
79724
|
If you're listing another account's tickets, then you'll need to
|
|
79129
79725
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
79130
|
-
args:
|
|
79131
|
-
tool: async (client,
|
|
79132
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
79726
|
+
args: args130,
|
|
79727
|
+
tool: async (client, args131, ctx) => {
|
|
79728
|
+
const [result, apiCall] = await supportListTickets(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79133
79729
|
if (!result.ok) {
|
|
79134
79730
|
return {
|
|
79135
79731
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79144,9 +79740,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
79144
79740
|
|
|
79145
79741
|
// src/funcs/supportUpdateTicket.ts
|
|
79146
79742
|
function supportUpdateTicket(client, request, options) {
|
|
79147
|
-
return new APIPromise($
|
|
79743
|
+
return new APIPromise($do131(client, request, options));
|
|
79148
79744
|
}
|
|
79149
|
-
async function $
|
|
79745
|
+
async function $do131(client, request, options) {
|
|
79150
79746
|
const parsed = safeParse(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79151
79747
|
if (!parsed.ok) {
|
|
79152
79748
|
return [parsed, { status: "invalid" }];
|
|
@@ -79242,12 +79838,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
79242
79838
|
});
|
|
79243
79839
|
|
|
79244
79840
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
79245
|
-
var
|
|
79841
|
+
var args131, tool$supportUpdateTicket;
|
|
79246
79842
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
79247
79843
|
init_supportUpdateTicket();
|
|
79248
79844
|
init_operations();
|
|
79249
79845
|
init_tools();
|
|
79250
|
-
|
|
79846
|
+
args131 = {
|
|
79251
79847
|
request: UpdateTicketRequest$inboundSchema
|
|
79252
79848
|
};
|
|
79253
79849
|
tool$supportUpdateTicket = {
|
|
@@ -79259,9 +79855,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
79259
79855
|
|
|
79260
79856
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
79261
79857
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
79262
|
-
args:
|
|
79263
|
-
tool: async (client,
|
|
79264
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
79858
|
+
args: args131,
|
|
79859
|
+
tool: async (client, args132, ctx) => {
|
|
79860
|
+
const [result, apiCall] = await supportUpdateTicket(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79265
79861
|
if (!result.ok) {
|
|
79266
79862
|
return {
|
|
79267
79863
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79276,9 +79872,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
79276
79872
|
|
|
79277
79873
|
// src/funcs/sweepsCreateConfig.ts
|
|
79278
79874
|
function sweepsCreateConfig(client, request, options) {
|
|
79279
|
-
return new APIPromise($
|
|
79875
|
+
return new APIPromise($do132(client, request, options));
|
|
79280
79876
|
}
|
|
79281
|
-
async function $
|
|
79877
|
+
async function $do132(client, request, options) {
|
|
79282
79878
|
const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79283
79879
|
if (!parsed.ok) {
|
|
79284
79880
|
return [parsed, { status: "invalid" }];
|
|
@@ -79370,12 +79966,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
79370
79966
|
});
|
|
79371
79967
|
|
|
79372
79968
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
79373
|
-
var
|
|
79969
|
+
var args132, tool$sweepsCreateConfig;
|
|
79374
79970
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
79375
79971
|
init_sweepsCreateConfig();
|
|
79376
79972
|
init_operations();
|
|
79377
79973
|
init_tools();
|
|
79378
|
-
|
|
79974
|
+
args132 = {
|
|
79379
79975
|
request: CreateSweepConfigRequest$inboundSchema
|
|
79380
79976
|
};
|
|
79381
79977
|
tool$sweepsCreateConfig = {
|
|
@@ -79384,9 +79980,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
79384
79980
|
|
|
79385
79981
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79386
79982
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79387
|
-
args:
|
|
79388
|
-
tool: async (client,
|
|
79389
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
79983
|
+
args: args132,
|
|
79984
|
+
tool: async (client, args133, ctx) => {
|
|
79985
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79390
79986
|
if (!result.ok) {
|
|
79391
79987
|
return {
|
|
79392
79988
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79401,9 +79997,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79401
79997
|
|
|
79402
79998
|
// src/funcs/sweepsGet.ts
|
|
79403
79999
|
function sweepsGet(client, request, options) {
|
|
79404
|
-
return new APIPromise($
|
|
80000
|
+
return new APIPromise($do133(client, request, options));
|
|
79405
80001
|
}
|
|
79406
|
-
async function $
|
|
80002
|
+
async function $do133(client, request, options) {
|
|
79407
80003
|
const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79408
80004
|
if (!parsed.ok) {
|
|
79409
80005
|
return [parsed, { status: "invalid" }];
|
|
@@ -79489,12 +80085,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
79489
80085
|
});
|
|
79490
80086
|
|
|
79491
80087
|
// src/mcp-server/tools/sweepsGet.ts
|
|
79492
|
-
var
|
|
80088
|
+
var args133, tool$sweepsGet;
|
|
79493
80089
|
var init_sweepsGet2 = __esm(() => {
|
|
79494
80090
|
init_sweepsGet();
|
|
79495
80091
|
init_operations();
|
|
79496
80092
|
init_tools();
|
|
79497
|
-
|
|
80093
|
+
args133 = {
|
|
79498
80094
|
request: GetSweepRequest$inboundSchema
|
|
79499
80095
|
};
|
|
79500
80096
|
tool$sweepsGet = {
|
|
@@ -79503,9 +80099,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
79503
80099
|
|
|
79504
80100
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79505
80101
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79506
|
-
args:
|
|
79507
|
-
tool: async (client,
|
|
79508
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
80102
|
+
args: args133,
|
|
80103
|
+
tool: async (client, args134, ctx) => {
|
|
80104
|
+
const [result, apiCall] = await sweepsGet(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79509
80105
|
if (!result.ok) {
|
|
79510
80106
|
return {
|
|
79511
80107
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79520,9 +80116,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79520
80116
|
|
|
79521
80117
|
// src/funcs/sweepsGetConfig.ts
|
|
79522
80118
|
function sweepsGetConfig(client, request, options) {
|
|
79523
|
-
return new APIPromise($
|
|
80119
|
+
return new APIPromise($do134(client, request, options));
|
|
79524
80120
|
}
|
|
79525
|
-
async function $
|
|
80121
|
+
async function $do134(client, request, options) {
|
|
79526
80122
|
const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79527
80123
|
if (!parsed.ok) {
|
|
79528
80124
|
return [parsed, { status: "invalid" }];
|
|
@@ -79604,12 +80200,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
79604
80200
|
});
|
|
79605
80201
|
|
|
79606
80202
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
79607
|
-
var
|
|
80203
|
+
var args134, tool$sweepsGetConfig;
|
|
79608
80204
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
79609
80205
|
init_sweepsGetConfig();
|
|
79610
80206
|
init_operations();
|
|
79611
80207
|
init_tools();
|
|
79612
|
-
|
|
80208
|
+
args134 = {
|
|
79613
80209
|
request: GetSweepConfigRequest$inboundSchema
|
|
79614
80210
|
};
|
|
79615
80211
|
tool$sweepsGetConfig = {
|
|
@@ -79618,9 +80214,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
79618
80214
|
|
|
79619
80215
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79620
80216
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79621
|
-
args:
|
|
79622
|
-
tool: async (client,
|
|
79623
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
80217
|
+
args: args134,
|
|
80218
|
+
tool: async (client, args135, ctx) => {
|
|
80219
|
+
const [result, apiCall] = await sweepsGetConfig(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79624
80220
|
if (!result.ok) {
|
|
79625
80221
|
return {
|
|
79626
80222
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79635,9 +80231,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79635
80231
|
|
|
79636
80232
|
// src/funcs/sweepsList.ts
|
|
79637
80233
|
function sweepsList(client, request, options) {
|
|
79638
|
-
return new APIPromise($
|
|
80234
|
+
return new APIPromise($do135(client, request, options));
|
|
79639
80235
|
}
|
|
79640
|
-
async function $
|
|
80236
|
+
async function $do135(client, request, options) {
|
|
79641
80237
|
const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79642
80238
|
if (!parsed.ok) {
|
|
79643
80239
|
return [parsed, { status: "invalid" }];
|
|
@@ -79726,12 +80322,12 @@ var init_sweepsList = __esm(() => {
|
|
|
79726
80322
|
});
|
|
79727
80323
|
|
|
79728
80324
|
// src/mcp-server/tools/sweepsList.ts
|
|
79729
|
-
var
|
|
80325
|
+
var args135, tool$sweepsList;
|
|
79730
80326
|
var init_sweepsList2 = __esm(() => {
|
|
79731
80327
|
init_sweepsList();
|
|
79732
80328
|
init_operations();
|
|
79733
80329
|
init_tools();
|
|
79734
|
-
|
|
80330
|
+
args135 = {
|
|
79735
80331
|
request: ListSweepsRequest$inboundSchema
|
|
79736
80332
|
};
|
|
79737
80333
|
tool$sweepsList = {
|
|
@@ -79740,9 +80336,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
79740
80336
|
|
|
79741
80337
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79742
80338
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79743
|
-
args:
|
|
79744
|
-
tool: async (client,
|
|
79745
|
-
const [result, apiCall] = await sweepsList(client,
|
|
80339
|
+
args: args135,
|
|
80340
|
+
tool: async (client, args136, ctx) => {
|
|
80341
|
+
const [result, apiCall] = await sweepsList(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79746
80342
|
if (!result.ok) {
|
|
79747
80343
|
return {
|
|
79748
80344
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79757,9 +80353,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79757
80353
|
|
|
79758
80354
|
// src/funcs/sweepsListConfigs.ts
|
|
79759
80355
|
function sweepsListConfigs(client, request, options) {
|
|
79760
|
-
return new APIPromise($
|
|
80356
|
+
return new APIPromise($do136(client, request, options));
|
|
79761
80357
|
}
|
|
79762
|
-
async function $
|
|
80358
|
+
async function $do136(client, request, options) {
|
|
79763
80359
|
const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79764
80360
|
if (!parsed.ok) {
|
|
79765
80361
|
return [parsed, { status: "invalid" }];
|
|
@@ -79837,12 +80433,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
79837
80433
|
});
|
|
79838
80434
|
|
|
79839
80435
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
79840
|
-
var
|
|
80436
|
+
var args136, tool$sweepsListConfigs;
|
|
79841
80437
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
79842
80438
|
init_sweepsListConfigs();
|
|
79843
80439
|
init_operations();
|
|
79844
80440
|
init_tools();
|
|
79845
|
-
|
|
80441
|
+
args136 = {
|
|
79846
80442
|
request: ListSweepConfigsRequest$inboundSchema
|
|
79847
80443
|
};
|
|
79848
80444
|
tool$sweepsListConfigs = {
|
|
@@ -79851,9 +80447,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
79851
80447
|
|
|
79852
80448
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79853
80449
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
79854
|
-
args:
|
|
79855
|
-
tool: async (client,
|
|
79856
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
80450
|
+
args: args136,
|
|
80451
|
+
tool: async (client, args137, ctx) => {
|
|
80452
|
+
const [result, apiCall] = await sweepsListConfigs(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79857
80453
|
if (!result.ok) {
|
|
79858
80454
|
return {
|
|
79859
80455
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79868,9 +80464,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
79868
80464
|
|
|
79869
80465
|
// src/funcs/sweepsUpdateConfig.ts
|
|
79870
80466
|
function sweepsUpdateConfig(client, request, options) {
|
|
79871
|
-
return new APIPromise($
|
|
80467
|
+
return new APIPromise($do137(client, request, options));
|
|
79872
80468
|
}
|
|
79873
|
-
async function $
|
|
80469
|
+
async function $do137(client, request, options) {
|
|
79874
80470
|
const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
79875
80471
|
if (!parsed.ok) {
|
|
79876
80472
|
return [parsed, { status: "invalid" }];
|
|
@@ -79966,12 +80562,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
79966
80562
|
});
|
|
79967
80563
|
|
|
79968
80564
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
79969
|
-
var
|
|
80565
|
+
var args137, tool$sweepsUpdateConfig;
|
|
79970
80566
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
79971
80567
|
init_sweepsUpdateConfig();
|
|
79972
80568
|
init_operations();
|
|
79973
80569
|
init_tools();
|
|
79974
|
-
|
|
80570
|
+
args137 = {
|
|
79975
80571
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
79976
80572
|
};
|
|
79977
80573
|
tool$sweepsUpdateConfig = {
|
|
@@ -79980,9 +80576,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
79980
80576
|
|
|
79981
80577
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
79982
80578
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
79983
|
-
args:
|
|
79984
|
-
tool: async (client,
|
|
79985
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
80579
|
+
args: args137,
|
|
80580
|
+
tool: async (client, args138, ctx) => {
|
|
80581
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
79986
80582
|
if (!result.ok) {
|
|
79987
80583
|
return {
|
|
79988
80584
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -79997,9 +80593,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
79997
80593
|
|
|
79998
80594
|
// src/funcs/terminalApplicationsCreate.ts
|
|
79999
80595
|
function terminalApplicationsCreate(client, request, options) {
|
|
80000
|
-
return new APIPromise($
|
|
80596
|
+
return new APIPromise($do138(client, request, options));
|
|
80001
80597
|
}
|
|
80002
|
-
async function $
|
|
80598
|
+
async function $do138(client, request, options) {
|
|
80003
80599
|
const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
80004
80600
|
if (!parsed.ok) {
|
|
80005
80601
|
return [parsed, { status: "invalid" }];
|
|
@@ -80088,12 +80684,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
80088
80684
|
});
|
|
80089
80685
|
|
|
80090
80686
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
80091
|
-
var
|
|
80687
|
+
var args138, tool$terminalApplicationsCreate;
|
|
80092
80688
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
80093
80689
|
init_terminalApplicationsCreate();
|
|
80094
80690
|
init_components();
|
|
80095
80691
|
init_tools();
|
|
80096
|
-
|
|
80692
|
+
args138 = {
|
|
80097
80693
|
request: CreateTerminalApplication$inboundSchema
|
|
80098
80694
|
};
|
|
80099
80695
|
tool$terminalApplicationsCreate = {
|
|
@@ -80102,9 +80698,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
80102
80698
|
|
|
80103
80699
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80104
80700
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
80105
|
-
args:
|
|
80106
|
-
tool: async (client,
|
|
80107
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
80701
|
+
args: args138,
|
|
80702
|
+
tool: async (client, args139, ctx) => {
|
|
80703
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80108
80704
|
if (!result.ok) {
|
|
80109
80705
|
return {
|
|
80110
80706
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80119,9 +80715,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
80119
80715
|
|
|
80120
80716
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
80121
80717
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
80122
|
-
return new APIPromise($
|
|
80718
|
+
return new APIPromise($do139(client, request, options));
|
|
80123
80719
|
}
|
|
80124
|
-
async function $
|
|
80720
|
+
async function $do139(client, request, options) {
|
|
80125
80721
|
const parsed = safeParse(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80126
80722
|
if (!parsed.ok) {
|
|
80127
80723
|
return [parsed, { status: "invalid" }];
|
|
@@ -80211,12 +80807,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
80211
80807
|
});
|
|
80212
80808
|
|
|
80213
80809
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
80214
|
-
var
|
|
80810
|
+
var args139, tool$terminalApplicationsCreateVersion;
|
|
80215
80811
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
80216
80812
|
init_terminalApplicationsCreateVersion();
|
|
80217
80813
|
init_operations();
|
|
80218
80814
|
init_tools();
|
|
80219
|
-
|
|
80815
|
+
args139 = {
|
|
80220
80816
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
80221
80817
|
};
|
|
80222
80818
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -80225,9 +80821,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
80225
80821
|
|
|
80226
80822
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80227
80823
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
80228
|
-
args:
|
|
80229
|
-
tool: async (client,
|
|
80230
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
80824
|
+
args: args139,
|
|
80825
|
+
tool: async (client, args140, ctx) => {
|
|
80826
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80231
80827
|
if (!result.ok) {
|
|
80232
80828
|
return {
|
|
80233
80829
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80242,9 +80838,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
80242
80838
|
|
|
80243
80839
|
// src/funcs/terminalApplicationsDelete.ts
|
|
80244
80840
|
function terminalApplicationsDelete(client, request, options) {
|
|
80245
|
-
return new APIPromise($
|
|
80841
|
+
return new APIPromise($do140(client, request, options));
|
|
80246
80842
|
}
|
|
80247
|
-
async function $
|
|
80843
|
+
async function $do140(client, request, options) {
|
|
80248
80844
|
const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80249
80845
|
if (!parsed.ok) {
|
|
80250
80846
|
return [parsed, { status: "invalid" }];
|
|
@@ -80328,12 +80924,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
80328
80924
|
});
|
|
80329
80925
|
|
|
80330
80926
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
80331
|
-
var
|
|
80927
|
+
var args140, tool$terminalApplicationsDelete;
|
|
80332
80928
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
80333
80929
|
init_terminalApplicationsDelete();
|
|
80334
80930
|
init_operations();
|
|
80335
80931
|
init_tools();
|
|
80336
|
-
|
|
80932
|
+
args140 = {
|
|
80337
80933
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
80338
80934
|
};
|
|
80339
80935
|
tool$terminalApplicationsDelete = {
|
|
@@ -80342,9 +80938,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
80342
80938
|
|
|
80343
80939
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80344
80940
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
80345
|
-
args:
|
|
80346
|
-
tool: async (client,
|
|
80347
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
80941
|
+
args: args140,
|
|
80942
|
+
tool: async (client, args141, ctx) => {
|
|
80943
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80348
80944
|
if (!result.ok) {
|
|
80349
80945
|
return {
|
|
80350
80946
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80358,9 +80954,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
80358
80954
|
|
|
80359
80955
|
// src/funcs/terminalApplicationsGet.ts
|
|
80360
80956
|
function terminalApplicationsGet(client, request, options) {
|
|
80361
|
-
return new APIPromise($
|
|
80957
|
+
return new APIPromise($do141(client, request, options));
|
|
80362
80958
|
}
|
|
80363
|
-
async function $
|
|
80959
|
+
async function $do141(client, request, options) {
|
|
80364
80960
|
const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80365
80961
|
if (!parsed.ok) {
|
|
80366
80962
|
return [parsed, { status: "invalid" }];
|
|
@@ -80435,12 +81031,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
80435
81031
|
});
|
|
80436
81032
|
|
|
80437
81033
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
80438
|
-
var
|
|
81034
|
+
var args141, tool$terminalApplicationsGet;
|
|
80439
81035
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
80440
81036
|
init_terminalApplicationsGet();
|
|
80441
81037
|
init_operations();
|
|
80442
81038
|
init_tools();
|
|
80443
|
-
|
|
81039
|
+
args141 = {
|
|
80444
81040
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
80445
81041
|
};
|
|
80446
81042
|
tool$terminalApplicationsGet = {
|
|
@@ -80449,9 +81045,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
80449
81045
|
|
|
80450
81046
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80451
81047
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
80452
|
-
args:
|
|
80453
|
-
tool: async (client,
|
|
80454
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
81048
|
+
args: args141,
|
|
81049
|
+
tool: async (client, args142, ctx) => {
|
|
81050
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80455
81051
|
if (!result.ok) {
|
|
80456
81052
|
return {
|
|
80457
81053
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80466,9 +81062,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
80466
81062
|
|
|
80467
81063
|
// src/funcs/terminalApplicationsList.ts
|
|
80468
81064
|
function terminalApplicationsList(client, _request, options) {
|
|
80469
|
-
return new APIPromise($
|
|
81065
|
+
return new APIPromise($do142(client, _request, options));
|
|
80470
81066
|
}
|
|
80471
|
-
async function $
|
|
81067
|
+
async function $do142(client, _request, options) {
|
|
80472
81068
|
const path = pathToFunc("/terminal-applications")();
|
|
80473
81069
|
const headers = new Headers(compactMap({
|
|
80474
81070
|
Accept: "application/json",
|
|
@@ -80532,12 +81128,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
80532
81128
|
});
|
|
80533
81129
|
|
|
80534
81130
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
80535
|
-
var
|
|
81131
|
+
var args142, tool$terminalApplicationsList;
|
|
80536
81132
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
80537
81133
|
init_terminalApplicationsList();
|
|
80538
81134
|
init_operations();
|
|
80539
81135
|
init_tools();
|
|
80540
|
-
|
|
81136
|
+
args142 = {
|
|
80541
81137
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
80542
81138
|
};
|
|
80543
81139
|
tool$terminalApplicationsList = {
|
|
@@ -80546,9 +81142,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
80546
81142
|
|
|
80547
81143
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80548
81144
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
80549
|
-
args:
|
|
80550
|
-
tool: async (client,
|
|
80551
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
81145
|
+
args: args142,
|
|
81146
|
+
tool: async (client, args143, ctx) => {
|
|
81147
|
+
const [result, apiCall] = await terminalApplicationsList(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80552
81148
|
if (!result.ok) {
|
|
80553
81149
|
return {
|
|
80554
81150
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80563,9 +81159,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
80563
81159
|
|
|
80564
81160
|
// src/funcs/transfersCreate.ts
|
|
80565
81161
|
function transfersCreate(client, request, options) {
|
|
80566
|
-
return new APIPromise($
|
|
81162
|
+
return new APIPromise($do143(client, request, options));
|
|
80567
81163
|
}
|
|
80568
|
-
async function $
|
|
81164
|
+
async function $do143(client, request, options) {
|
|
80569
81165
|
const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80570
81166
|
if (!parsed.ok) {
|
|
80571
81167
|
return [parsed, { status: "invalid" }];
|
|
@@ -80658,12 +81254,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
80658
81254
|
});
|
|
80659
81255
|
|
|
80660
81256
|
// src/mcp-server/tools/transfersCreate.ts
|
|
80661
|
-
var
|
|
81257
|
+
var args143, tool$transfersCreate;
|
|
80662
81258
|
var init_transfersCreate2 = __esm(() => {
|
|
80663
81259
|
init_transfersCreate();
|
|
80664
81260
|
init_operations();
|
|
80665
81261
|
init_tools();
|
|
80666
|
-
|
|
81262
|
+
args143 = {
|
|
80667
81263
|
request: CreateTransferRequest$inboundSchema
|
|
80668
81264
|
};
|
|
80669
81265
|
tool$transfersCreate = {
|
|
@@ -80674,9 +81270,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
80674
81270
|
|
|
80675
81271
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
80676
81272
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80677
|
-
args:
|
|
80678
|
-
tool: async (client,
|
|
80679
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
81273
|
+
args: args143,
|
|
81274
|
+
tool: async (client, args144, ctx) => {
|
|
81275
|
+
const [result, apiCall] = await transfersCreate(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80680
81276
|
if (!result.ok) {
|
|
80681
81277
|
return {
|
|
80682
81278
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80691,9 +81287,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80691
81287
|
|
|
80692
81288
|
// src/funcs/transfersCreateCancellation.ts
|
|
80693
81289
|
function transfersCreateCancellation(client, request, options) {
|
|
80694
|
-
return new APIPromise($
|
|
81290
|
+
return new APIPromise($do144(client, request, options));
|
|
80695
81291
|
}
|
|
80696
|
-
async function $
|
|
81292
|
+
async function $do144(client, request, options) {
|
|
80697
81293
|
const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80698
81294
|
if (!parsed.ok) {
|
|
80699
81295
|
return [parsed, { status: "invalid" }];
|
|
@@ -80776,12 +81372,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
80776
81372
|
});
|
|
80777
81373
|
|
|
80778
81374
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
80779
|
-
var
|
|
81375
|
+
var args144, tool$transfersCreateCancellation;
|
|
80780
81376
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
80781
81377
|
init_transfersCreateCancellation();
|
|
80782
81378
|
init_operations();
|
|
80783
81379
|
init_tools();
|
|
80784
|
-
|
|
81380
|
+
args144 = {
|
|
80785
81381
|
request: CreateCancellationRequest$inboundSchema
|
|
80786
81382
|
};
|
|
80787
81383
|
tool$transfersCreateCancellation = {
|
|
@@ -80790,9 +81386,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80790
81386
|
|
|
80791
81387
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80792
81388
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80793
|
-
args:
|
|
80794
|
-
tool: async (client,
|
|
80795
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
81389
|
+
args: args144,
|
|
81390
|
+
tool: async (client, args145, ctx) => {
|
|
81391
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80796
81392
|
if (!result.ok) {
|
|
80797
81393
|
return {
|
|
80798
81394
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80807,9 +81403,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
80807
81403
|
|
|
80808
81404
|
// src/funcs/transfersCreateReversal.ts
|
|
80809
81405
|
function transfersCreateReversal(client, request, options) {
|
|
80810
|
-
return new APIPromise($
|
|
81406
|
+
return new APIPromise($do145(client, request, options));
|
|
80811
81407
|
}
|
|
80812
|
-
async function $
|
|
81408
|
+
async function $do145(client, request, options) {
|
|
80813
81409
|
const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80814
81410
|
if (!parsed.ok) {
|
|
80815
81411
|
return [parsed, { status: "invalid" }];
|
|
@@ -80908,12 +81504,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
80908
81504
|
});
|
|
80909
81505
|
|
|
80910
81506
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
80911
|
-
var
|
|
81507
|
+
var args145, tool$transfersCreateReversal;
|
|
80912
81508
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
80913
81509
|
init_transfersCreateReversal();
|
|
80914
81510
|
init_operations();
|
|
80915
81511
|
init_tools();
|
|
80916
|
-
|
|
81512
|
+
args145 = {
|
|
80917
81513
|
request: CreateReversalRequest$inboundSchema
|
|
80918
81514
|
};
|
|
80919
81515
|
tool$transfersCreateReversal = {
|
|
@@ -80924,9 +81520,9 @@ to learn more.
|
|
|
80924
81520
|
|
|
80925
81521
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
80926
81522
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
80927
|
-
args:
|
|
80928
|
-
tool: async (client,
|
|
80929
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
81523
|
+
args: args145,
|
|
81524
|
+
tool: async (client, args146, ctx) => {
|
|
81525
|
+
const [result, apiCall] = await transfersCreateReversal(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
80930
81526
|
if (!result.ok) {
|
|
80931
81527
|
return {
|
|
80932
81528
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -80941,9 +81537,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
80941
81537
|
|
|
80942
81538
|
// src/funcs/transfersGenerateOptions.ts
|
|
80943
81539
|
function transfersGenerateOptions(client, request, options) {
|
|
80944
|
-
return new APIPromise($
|
|
81540
|
+
return new APIPromise($do146(client, request, options));
|
|
80945
81541
|
}
|
|
80946
|
-
async function $
|
|
81542
|
+
async function $do146(client, request, options) {
|
|
80947
81543
|
const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
80948
81544
|
if (!parsed.ok) {
|
|
80949
81545
|
return [parsed, { status: "invalid" }];
|
|
@@ -81027,12 +81623,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
81027
81623
|
});
|
|
81028
81624
|
|
|
81029
81625
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
81030
|
-
var
|
|
81626
|
+
var args146, tool$transfersGenerateOptions;
|
|
81031
81627
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
81032
81628
|
init_transfersGenerateOptions();
|
|
81033
81629
|
init_operations();
|
|
81034
81630
|
init_tools();
|
|
81035
|
-
|
|
81631
|
+
args146 = {
|
|
81036
81632
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
81037
81633
|
};
|
|
81038
81634
|
tool$transfersGenerateOptions = {
|
|
@@ -81046,9 +81642,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
81046
81642
|
|
|
81047
81643
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81048
81644
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81049
|
-
args:
|
|
81050
|
-
tool: async (client,
|
|
81051
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
81645
|
+
args: args146,
|
|
81646
|
+
tool: async (client, args147, ctx) => {
|
|
81647
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81052
81648
|
if (!result.ok) {
|
|
81053
81649
|
return {
|
|
81054
81650
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81063,9 +81659,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81063
81659
|
|
|
81064
81660
|
// src/funcs/transfersGet.ts
|
|
81065
81661
|
function transfersGet(client, request, options) {
|
|
81066
|
-
return new APIPromise($
|
|
81662
|
+
return new APIPromise($do147(client, request, options));
|
|
81067
81663
|
}
|
|
81068
|
-
async function $
|
|
81664
|
+
async function $do147(client, request, options) {
|
|
81069
81665
|
const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81070
81666
|
if (!parsed.ok) {
|
|
81071
81667
|
return [parsed, { status: "invalid" }];
|
|
@@ -81147,12 +81743,12 @@ var init_transfersGet = __esm(() => {
|
|
|
81147
81743
|
});
|
|
81148
81744
|
|
|
81149
81745
|
// src/mcp-server/tools/transfersGet.ts
|
|
81150
|
-
var
|
|
81746
|
+
var args147, tool$transfersGet;
|
|
81151
81747
|
var init_transfersGet2 = __esm(() => {
|
|
81152
81748
|
init_transfersGet();
|
|
81153
81749
|
init_operations();
|
|
81154
81750
|
init_tools();
|
|
81155
|
-
|
|
81751
|
+
args147 = {
|
|
81156
81752
|
request: GetTransferRequest$inboundSchema
|
|
81157
81753
|
};
|
|
81158
81754
|
tool$transfersGet = {
|
|
@@ -81164,9 +81760,9 @@ to learn more.
|
|
|
81164
81760
|
|
|
81165
81761
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81166
81762
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81167
|
-
args:
|
|
81168
|
-
tool: async (client,
|
|
81169
|
-
const [result, apiCall] = await transfersGet(client,
|
|
81763
|
+
args: args147,
|
|
81764
|
+
tool: async (client, args148, ctx) => {
|
|
81765
|
+
const [result, apiCall] = await transfersGet(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81170
81766
|
if (!result.ok) {
|
|
81171
81767
|
return {
|
|
81172
81768
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81181,9 +81777,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81181
81777
|
|
|
81182
81778
|
// src/funcs/transfersGetCancellation.ts
|
|
81183
81779
|
function transfersGetCancellation(client, request, options) {
|
|
81184
|
-
return new APIPromise($
|
|
81780
|
+
return new APIPromise($do148(client, request, options));
|
|
81185
81781
|
}
|
|
81186
|
-
async function $
|
|
81782
|
+
async function $do148(client, request, options) {
|
|
81187
81783
|
const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81188
81784
|
if (!parsed.ok) {
|
|
81189
81785
|
return [parsed, { status: "invalid" }];
|
|
@@ -81269,12 +81865,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
81269
81865
|
});
|
|
81270
81866
|
|
|
81271
81867
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
81272
|
-
var
|
|
81868
|
+
var args148, tool$transfersGetCancellation;
|
|
81273
81869
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
81274
81870
|
init_transfersGetCancellation();
|
|
81275
81871
|
init_operations();
|
|
81276
81872
|
init_tools();
|
|
81277
|
-
|
|
81873
|
+
args148 = {
|
|
81278
81874
|
request: GetCancellationRequest$inboundSchema
|
|
81279
81875
|
};
|
|
81280
81876
|
tool$transfersGetCancellation = {
|
|
@@ -81283,9 +81879,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
81283
81879
|
|
|
81284
81880
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
81285
81881
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81286
|
-
args:
|
|
81287
|
-
tool: async (client,
|
|
81288
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
81882
|
+
args: args148,
|
|
81883
|
+
tool: async (client, args149, ctx) => {
|
|
81884
|
+
const [result, apiCall] = await transfersGetCancellation(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81289
81885
|
if (!result.ok) {
|
|
81290
81886
|
return {
|
|
81291
81887
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81300,9 +81896,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
81300
81896
|
|
|
81301
81897
|
// src/funcs/transfersGetRefund.ts
|
|
81302
81898
|
function transfersGetRefund(client, request, options) {
|
|
81303
|
-
return new APIPromise($
|
|
81899
|
+
return new APIPromise($do149(client, request, options));
|
|
81304
81900
|
}
|
|
81305
|
-
async function $
|
|
81901
|
+
async function $do149(client, request, options) {
|
|
81306
81902
|
const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81307
81903
|
if (!parsed.ok) {
|
|
81308
81904
|
return [parsed, { status: "invalid" }];
|
|
@@ -81388,12 +81984,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
81388
81984
|
});
|
|
81389
81985
|
|
|
81390
81986
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
81391
|
-
var
|
|
81987
|
+
var args149, tool$transfersGetRefund;
|
|
81392
81988
|
var init_transfersGetRefund2 = __esm(() => {
|
|
81393
81989
|
init_transfersGetRefund();
|
|
81394
81990
|
init_operations();
|
|
81395
81991
|
init_tools();
|
|
81396
|
-
|
|
81992
|
+
args149 = {
|
|
81397
81993
|
request: GetRefundRequest$inboundSchema
|
|
81398
81994
|
};
|
|
81399
81995
|
tool$transfersGetRefund = {
|
|
@@ -81402,9 +81998,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
81402
81998
|
|
|
81403
81999
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81404
82000
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81405
|
-
args:
|
|
81406
|
-
tool: async (client,
|
|
81407
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
82001
|
+
args: args149,
|
|
82002
|
+
tool: async (client, args150, ctx) => {
|
|
82003
|
+
const [result, apiCall] = await transfersGetRefund(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81408
82004
|
if (!result.ok) {
|
|
81409
82005
|
return {
|
|
81410
82006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81419,9 +82015,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81419
82015
|
|
|
81420
82016
|
// src/funcs/transfersInitiateRefund.ts
|
|
81421
82017
|
function transfersInitiateRefund(client, request, options) {
|
|
81422
|
-
return new APIPromise($
|
|
82018
|
+
return new APIPromise($do150(client, request, options));
|
|
81423
82019
|
}
|
|
81424
|
-
async function $
|
|
82020
|
+
async function $do150(client, request, options) {
|
|
81425
82021
|
const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81426
82022
|
if (!parsed.ok) {
|
|
81427
82023
|
return [parsed, { status: "invalid" }];
|
|
@@ -81513,12 +82109,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
81513
82109
|
});
|
|
81514
82110
|
|
|
81515
82111
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
81516
|
-
var
|
|
82112
|
+
var args150, tool$transfersInitiateRefund;
|
|
81517
82113
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
81518
82114
|
init_transfersInitiateRefund();
|
|
81519
82115
|
init_operations();
|
|
81520
82116
|
init_tools();
|
|
81521
|
-
|
|
82117
|
+
args150 = {
|
|
81522
82118
|
request: InitiateRefundRequest$inboundSchema
|
|
81523
82119
|
};
|
|
81524
82120
|
tool$transfersInitiateRefund = {
|
|
@@ -81530,9 +82126,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
81530
82126
|
|
|
81531
82127
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81532
82128
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81533
|
-
args:
|
|
81534
|
-
tool: async (client,
|
|
81535
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
82129
|
+
args: args150,
|
|
82130
|
+
tool: async (client, args151, ctx) => {
|
|
82131
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81536
82132
|
if (!result.ok) {
|
|
81537
82133
|
return {
|
|
81538
82134
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81547,9 +82143,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81547
82143
|
|
|
81548
82144
|
// src/funcs/transfersList.ts
|
|
81549
82145
|
function transfersList(client, request, options) {
|
|
81550
|
-
return new APIPromise($
|
|
82146
|
+
return new APIPromise($do151(client, request, options));
|
|
81551
82147
|
}
|
|
81552
|
-
async function $
|
|
82148
|
+
async function $do151(client, request, options) {
|
|
81553
82149
|
const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81554
82150
|
if (!parsed.ok) {
|
|
81555
82151
|
return [parsed, { status: "invalid" }];
|
|
@@ -81645,12 +82241,12 @@ var init_transfersList = __esm(() => {
|
|
|
81645
82241
|
});
|
|
81646
82242
|
|
|
81647
82243
|
// src/mcp-server/tools/transfersList.ts
|
|
81648
|
-
var
|
|
82244
|
+
var args151, tool$transfersList;
|
|
81649
82245
|
var init_transfersList2 = __esm(() => {
|
|
81650
82246
|
init_transfersList();
|
|
81651
82247
|
init_operations();
|
|
81652
82248
|
init_tools();
|
|
81653
|
-
|
|
82249
|
+
args151 = {
|
|
81654
82250
|
request: ListTransfersRequest$inboundSchema
|
|
81655
82251
|
};
|
|
81656
82252
|
tool$transfersList = {
|
|
@@ -81666,9 +82262,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
81666
82262
|
|
|
81667
82263
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81668
82264
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81669
|
-
args:
|
|
81670
|
-
tool: async (client,
|
|
81671
|
-
const [result, apiCall] = await transfersList(client,
|
|
82265
|
+
args: args151,
|
|
82266
|
+
tool: async (client, args152, ctx) => {
|
|
82267
|
+
const [result, apiCall] = await transfersList(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81672
82268
|
if (!result.ok) {
|
|
81673
82269
|
return {
|
|
81674
82270
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81683,9 +82279,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81683
82279
|
|
|
81684
82280
|
// src/funcs/transfersListRefunds.ts
|
|
81685
82281
|
function transfersListRefunds(client, request, options) {
|
|
81686
|
-
return new APIPromise($
|
|
82282
|
+
return new APIPromise($do152(client, request, options));
|
|
81687
82283
|
}
|
|
81688
|
-
async function $
|
|
82284
|
+
async function $do152(client, request, options) {
|
|
81689
82285
|
const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81690
82286
|
if (!parsed.ok) {
|
|
81691
82287
|
return [parsed, { status: "invalid" }];
|
|
@@ -81767,12 +82363,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
81767
82363
|
});
|
|
81768
82364
|
|
|
81769
82365
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
81770
|
-
var
|
|
82366
|
+
var args152, tool$transfersListRefunds;
|
|
81771
82367
|
var init_transfersListRefunds2 = __esm(() => {
|
|
81772
82368
|
init_transfersListRefunds();
|
|
81773
82369
|
init_operations();
|
|
81774
82370
|
init_tools();
|
|
81775
|
-
|
|
82371
|
+
args152 = {
|
|
81776
82372
|
request: ListRefundsRequest$inboundSchema
|
|
81777
82373
|
};
|
|
81778
82374
|
tool$transfersListRefunds = {
|
|
@@ -81781,9 +82377,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
81781
82377
|
|
|
81782
82378
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81783
82379
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
81784
|
-
args:
|
|
81785
|
-
tool: async (client,
|
|
81786
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
82380
|
+
args: args152,
|
|
82381
|
+
tool: async (client, args153, ctx) => {
|
|
82382
|
+
const [result, apiCall] = await transfersListRefunds(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81787
82383
|
if (!result.ok) {
|
|
81788
82384
|
return {
|
|
81789
82385
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81798,9 +82394,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
81798
82394
|
|
|
81799
82395
|
// src/funcs/transfersUpdate.ts
|
|
81800
82396
|
function transfersUpdate(client, request, options) {
|
|
81801
|
-
return new APIPromise($
|
|
82397
|
+
return new APIPromise($do153(client, request, options));
|
|
81802
82398
|
}
|
|
81803
|
-
async function $
|
|
82399
|
+
async function $do153(client, request, options) {
|
|
81804
82400
|
const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81805
82401
|
if (!parsed.ok) {
|
|
81806
82402
|
return [parsed, { status: "invalid" }];
|
|
@@ -81886,12 +82482,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
81886
82482
|
});
|
|
81887
82483
|
|
|
81888
82484
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
81889
|
-
var
|
|
82485
|
+
var args153, tool$transfersUpdate;
|
|
81890
82486
|
var init_transfersUpdate2 = __esm(() => {
|
|
81891
82487
|
init_transfersUpdate();
|
|
81892
82488
|
init_operations();
|
|
81893
82489
|
init_tools();
|
|
81894
|
-
|
|
82490
|
+
args153 = {
|
|
81895
82491
|
request: UpdateTransferRequest$inboundSchema
|
|
81896
82492
|
};
|
|
81897
82493
|
tool$transfersUpdate = {
|
|
@@ -81902,9 +82498,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
81902
82498
|
|
|
81903
82499
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
81904
82500
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
81905
|
-
args:
|
|
81906
|
-
tool: async (client,
|
|
81907
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
82501
|
+
args: args153,
|
|
82502
|
+
tool: async (client, args154, ctx) => {
|
|
82503
|
+
const [result, apiCall] = await transfersUpdate(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
81908
82504
|
if (!result.ok) {
|
|
81909
82505
|
return {
|
|
81910
82506
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -81919,9 +82515,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
81919
82515
|
|
|
81920
82516
|
// src/funcs/underwritingGet.ts
|
|
81921
82517
|
function underwritingGet(client, request, options) {
|
|
81922
|
-
return new APIPromise($
|
|
82518
|
+
return new APIPromise($do154(client, request, options));
|
|
81923
82519
|
}
|
|
81924
|
-
async function $
|
|
82520
|
+
async function $do154(client, request, options) {
|
|
81925
82521
|
const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
81926
82522
|
if (!parsed.ok) {
|
|
81927
82523
|
return [parsed, { status: "invalid" }];
|
|
@@ -81999,12 +82595,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
81999
82595
|
});
|
|
82000
82596
|
|
|
82001
82597
|
// src/mcp-server/tools/underwritingGet.ts
|
|
82002
|
-
var
|
|
82598
|
+
var args154, tool$underwritingGet;
|
|
82003
82599
|
var init_underwritingGet2 = __esm(() => {
|
|
82004
82600
|
init_underwritingGet();
|
|
82005
82601
|
init_operations();
|
|
82006
82602
|
init_tools();
|
|
82007
|
-
|
|
82603
|
+
args154 = {
|
|
82008
82604
|
request: GetUnderwritingRequest$inboundSchema
|
|
82009
82605
|
};
|
|
82010
82606
|
tool$underwritingGet = {
|
|
@@ -82015,9 +82611,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
82015
82611
|
|
|
82016
82612
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82017
82613
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
82018
|
-
args:
|
|
82019
|
-
tool: async (client,
|
|
82020
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
82614
|
+
args: args154,
|
|
82615
|
+
tool: async (client, args155, ctx) => {
|
|
82616
|
+
const [result, apiCall] = await underwritingGet(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82021
82617
|
if (!result.ok) {
|
|
82022
82618
|
return {
|
|
82023
82619
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82032,9 +82628,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
82032
82628
|
|
|
82033
82629
|
// src/funcs/underwritingSave.ts
|
|
82034
82630
|
function underwritingSave(client, request, options) {
|
|
82035
|
-
return new APIPromise($
|
|
82631
|
+
return new APIPromise($do155(client, request, options));
|
|
82036
82632
|
}
|
|
82037
|
-
async function $
|
|
82633
|
+
async function $do155(client, request, options) {
|
|
82038
82634
|
const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82039
82635
|
if (!parsed.ok) {
|
|
82040
82636
|
return [parsed, { status: "invalid" }];
|
|
@@ -82130,12 +82726,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
82130
82726
|
});
|
|
82131
82727
|
|
|
82132
82728
|
// src/mcp-server/tools/underwritingSave.ts
|
|
82133
|
-
var
|
|
82729
|
+
var args155, tool$underwritingSave;
|
|
82134
82730
|
var init_underwritingSave2 = __esm(() => {
|
|
82135
82731
|
init_underwritingSave();
|
|
82136
82732
|
init_operations();
|
|
82137
82733
|
init_tools();
|
|
82138
|
-
|
|
82734
|
+
args155 = {
|
|
82139
82735
|
request: SaveUnderwritingRequest$inboundSchema
|
|
82140
82736
|
};
|
|
82141
82737
|
tool$underwritingSave = {
|
|
@@ -82146,9 +82742,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
82146
82742
|
|
|
82147
82743
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82148
82744
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
82149
|
-
args:
|
|
82150
|
-
tool: async (client,
|
|
82151
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
82745
|
+
args: args155,
|
|
82746
|
+
tool: async (client, args156, ctx) => {
|
|
82747
|
+
const [result, apiCall] = await underwritingSave(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82152
82748
|
if (!result.ok) {
|
|
82153
82749
|
return {
|
|
82154
82750
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82163,9 +82759,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
82163
82759
|
|
|
82164
82760
|
// src/funcs/underwritingUpsert.ts
|
|
82165
82761
|
function underwritingUpsert(client, request, options) {
|
|
82166
|
-
return new APIPromise($
|
|
82762
|
+
return new APIPromise($do156(client, request, options));
|
|
82167
82763
|
}
|
|
82168
|
-
async function $
|
|
82764
|
+
async function $do156(client, request, options) {
|
|
82169
82765
|
const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82170
82766
|
if (!parsed.ok) {
|
|
82171
82767
|
return [parsed, { status: "invalid" }];
|
|
@@ -82261,12 +82857,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
82261
82857
|
});
|
|
82262
82858
|
|
|
82263
82859
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
82264
|
-
var
|
|
82860
|
+
var args156, tool$underwritingUpsert;
|
|
82265
82861
|
var init_underwritingUpsert2 = __esm(() => {
|
|
82266
82862
|
init_underwritingUpsert();
|
|
82267
82863
|
init_operations();
|
|
82268
82864
|
init_tools();
|
|
82269
|
-
|
|
82865
|
+
args156 = {
|
|
82270
82866
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
82271
82867
|
};
|
|
82272
82868
|
tool$underwritingUpsert = {
|
|
@@ -82277,9 +82873,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
82277
82873
|
|
|
82278
82874
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82279
82875
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
82280
|
-
args:
|
|
82281
|
-
tool: async (client,
|
|
82282
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
82876
|
+
args: args156,
|
|
82877
|
+
tool: async (client, args157, ctx) => {
|
|
82878
|
+
const [result, apiCall] = await underwritingUpsert(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82283
82879
|
if (!result.ok) {
|
|
82284
82880
|
return {
|
|
82285
82881
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82294,9 +82890,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
82294
82890
|
|
|
82295
82891
|
// src/funcs/walletsCreate.ts
|
|
82296
82892
|
function walletsCreate(client, request, options) {
|
|
82297
|
-
return new APIPromise($
|
|
82893
|
+
return new APIPromise($do157(client, request, options));
|
|
82298
82894
|
}
|
|
82299
|
-
async function $
|
|
82895
|
+
async function $do157(client, request, options) {
|
|
82300
82896
|
const parsed = safeParse(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82301
82897
|
if (!parsed.ok) {
|
|
82302
82898
|
return [parsed, { status: "invalid" }];
|
|
@@ -82390,12 +82986,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
82390
82986
|
});
|
|
82391
82987
|
|
|
82392
82988
|
// src/mcp-server/tools/walletsCreate.ts
|
|
82393
|
-
var
|
|
82989
|
+
var args157, tool$walletsCreate;
|
|
82394
82990
|
var init_walletsCreate2 = __esm(() => {
|
|
82395
82991
|
init_walletsCreate();
|
|
82396
82992
|
init_operations();
|
|
82397
82993
|
init_tools();
|
|
82398
|
-
|
|
82994
|
+
args157 = {
|
|
82399
82995
|
request: CreateWalletRequest$inboundSchema
|
|
82400
82996
|
};
|
|
82401
82997
|
tool$walletsCreate = {
|
|
@@ -82406,9 +83002,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82406
83002
|
|
|
82407
83003
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82408
83004
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
82409
|
-
args:
|
|
82410
|
-
tool: async (client,
|
|
82411
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
83005
|
+
args: args157,
|
|
83006
|
+
tool: async (client, args158, ctx) => {
|
|
83007
|
+
const [result, apiCall] = await walletsCreate(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82412
83008
|
if (!result.ok) {
|
|
82413
83009
|
return {
|
|
82414
83010
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82423,9 +83019,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
82423
83019
|
|
|
82424
83020
|
// src/funcs/walletsGet.ts
|
|
82425
83021
|
function walletsGet(client, request, options) {
|
|
82426
|
-
return new APIPromise($
|
|
83022
|
+
return new APIPromise($do158(client, request, options));
|
|
82427
83023
|
}
|
|
82428
|
-
async function $
|
|
83024
|
+
async function $do158(client, request, options) {
|
|
82429
83025
|
const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82430
83026
|
if (!parsed.ok) {
|
|
82431
83027
|
return [parsed, { status: "invalid" }];
|
|
@@ -82507,12 +83103,12 @@ var init_walletsGet = __esm(() => {
|
|
|
82507
83103
|
});
|
|
82508
83104
|
|
|
82509
83105
|
// src/mcp-server/tools/walletsGet.ts
|
|
82510
|
-
var
|
|
83106
|
+
var args158, tool$walletsGet;
|
|
82511
83107
|
var init_walletsGet2 = __esm(() => {
|
|
82512
83108
|
init_walletsGet();
|
|
82513
83109
|
init_operations();
|
|
82514
83110
|
init_tools();
|
|
82515
|
-
|
|
83111
|
+
args158 = {
|
|
82516
83112
|
request: GetWalletRequest$inboundSchema
|
|
82517
83113
|
};
|
|
82518
83114
|
tool$walletsGet = {
|
|
@@ -82523,9 +83119,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82523
83119
|
|
|
82524
83120
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82525
83121
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82526
|
-
args:
|
|
82527
|
-
tool: async (client,
|
|
82528
|
-
const [result, apiCall] = await walletsGet(client,
|
|
83122
|
+
args: args158,
|
|
83123
|
+
tool: async (client, args159, ctx) => {
|
|
83124
|
+
const [result, apiCall] = await walletsGet(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82529
83125
|
if (!result.ok) {
|
|
82530
83126
|
return {
|
|
82531
83127
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82540,9 +83136,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82540
83136
|
|
|
82541
83137
|
// src/funcs/walletsList.ts
|
|
82542
83138
|
function walletsList(client, request, options) {
|
|
82543
|
-
return new APIPromise($
|
|
83139
|
+
return new APIPromise($do159(client, request, options));
|
|
82544
83140
|
}
|
|
82545
|
-
async function $
|
|
83141
|
+
async function $do159(client, request, options) {
|
|
82546
83142
|
const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82547
83143
|
if (!parsed.ok) {
|
|
82548
83144
|
return [parsed, { status: "invalid" }];
|
|
@@ -82630,12 +83226,12 @@ var init_walletsList = __esm(() => {
|
|
|
82630
83226
|
});
|
|
82631
83227
|
|
|
82632
83228
|
// src/mcp-server/tools/walletsList.ts
|
|
82633
|
-
var
|
|
83229
|
+
var args159, tool$walletsList;
|
|
82634
83230
|
var init_walletsList2 = __esm(() => {
|
|
82635
83231
|
init_walletsList();
|
|
82636
83232
|
init_operations();
|
|
82637
83233
|
init_tools();
|
|
82638
|
-
|
|
83234
|
+
args159 = {
|
|
82639
83235
|
request: ListWalletsRequest$inboundSchema
|
|
82640
83236
|
};
|
|
82641
83237
|
tool$walletsList = {
|
|
@@ -82646,9 +83242,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82646
83242
|
|
|
82647
83243
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82648
83244
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82649
|
-
args:
|
|
82650
|
-
tool: async (client,
|
|
82651
|
-
const [result, apiCall] = await walletsList(client,
|
|
83245
|
+
args: args159,
|
|
83246
|
+
tool: async (client, args160, ctx) => {
|
|
83247
|
+
const [result, apiCall] = await walletsList(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82652
83248
|
if (!result.ok) {
|
|
82653
83249
|
return {
|
|
82654
83250
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82663,9 +83259,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82663
83259
|
|
|
82664
83260
|
// src/funcs/walletsUpdate.ts
|
|
82665
83261
|
function walletsUpdate(client, request, options) {
|
|
82666
|
-
return new APIPromise($
|
|
83262
|
+
return new APIPromise($do160(client, request, options));
|
|
82667
83263
|
}
|
|
82668
|
-
async function $
|
|
83264
|
+
async function $do160(client, request, options) {
|
|
82669
83265
|
const parsed = safeParse(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82670
83266
|
if (!parsed.ok) {
|
|
82671
83267
|
return [parsed, { status: "invalid" }];
|
|
@@ -82763,12 +83359,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
82763
83359
|
});
|
|
82764
83360
|
|
|
82765
83361
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
82766
|
-
var
|
|
83362
|
+
var args160, tool$walletsUpdate;
|
|
82767
83363
|
var init_walletsUpdate2 = __esm(() => {
|
|
82768
83364
|
init_walletsUpdate();
|
|
82769
83365
|
init_operations();
|
|
82770
83366
|
init_tools();
|
|
82771
|
-
|
|
83367
|
+
args160 = {
|
|
82772
83368
|
request: UpdateWalletRequest$inboundSchema
|
|
82773
83369
|
};
|
|
82774
83370
|
tool$walletsUpdate = {
|
|
@@ -82779,9 +83375,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
82779
83375
|
|
|
82780
83376
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82781
83377
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
82782
|
-
args:
|
|
82783
|
-
tool: async (client,
|
|
82784
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
83378
|
+
args: args160,
|
|
83379
|
+
tool: async (client, args161, ctx) => {
|
|
83380
|
+
const [result, apiCall] = await walletsUpdate(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82785
83381
|
if (!result.ok) {
|
|
82786
83382
|
return {
|
|
82787
83383
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82796,9 +83392,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
82796
83392
|
|
|
82797
83393
|
// src/funcs/walletTransactionsGet.ts
|
|
82798
83394
|
function walletTransactionsGet(client, request, options) {
|
|
82799
|
-
return new APIPromise($
|
|
83395
|
+
return new APIPromise($do161(client, request, options));
|
|
82800
83396
|
}
|
|
82801
|
-
async function $
|
|
83397
|
+
async function $do161(client, request, options) {
|
|
82802
83398
|
const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82803
83399
|
if (!parsed.ok) {
|
|
82804
83400
|
return [parsed, { status: "invalid" }];
|
|
@@ -82884,12 +83480,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
82884
83480
|
});
|
|
82885
83481
|
|
|
82886
83482
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
82887
|
-
var
|
|
83483
|
+
var args161, tool$walletTransactionsGet;
|
|
82888
83484
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
82889
83485
|
init_walletTransactionsGet();
|
|
82890
83486
|
init_operations();
|
|
82891
83487
|
init_tools();
|
|
82892
|
-
|
|
83488
|
+
args161 = {
|
|
82893
83489
|
request: GetWalletTransactionRequest$inboundSchema
|
|
82894
83490
|
};
|
|
82895
83491
|
tool$walletTransactionsGet = {
|
|
@@ -82900,9 +83496,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
82900
83496
|
|
|
82901
83497
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
82902
83498
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
82903
|
-
args:
|
|
82904
|
-
tool: async (client,
|
|
82905
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
83499
|
+
args: args161,
|
|
83500
|
+
tool: async (client, args162, ctx) => {
|
|
83501
|
+
const [result, apiCall] = await walletTransactionsGet(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
82906
83502
|
if (!result.ok) {
|
|
82907
83503
|
return {
|
|
82908
83504
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -82917,9 +83513,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
82917
83513
|
|
|
82918
83514
|
// src/funcs/walletTransactionsList.ts
|
|
82919
83515
|
function walletTransactionsList(client, request, options) {
|
|
82920
|
-
return new APIPromise($
|
|
83516
|
+
return new APIPromise($do162(client, request, options));
|
|
82921
83517
|
}
|
|
82922
|
-
async function $
|
|
83518
|
+
async function $do162(client, request, options) {
|
|
82923
83519
|
const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
82924
83520
|
if (!parsed.ok) {
|
|
82925
83521
|
return [parsed, { status: "invalid" }];
|
|
@@ -83019,12 +83615,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
83019
83615
|
});
|
|
83020
83616
|
|
|
83021
83617
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
83022
|
-
var
|
|
83618
|
+
var args162, tool$walletTransactionsList;
|
|
83023
83619
|
var init_walletTransactionsList2 = __esm(() => {
|
|
83024
83620
|
init_walletTransactionsList();
|
|
83025
83621
|
init_operations();
|
|
83026
83622
|
init_tools();
|
|
83027
|
-
|
|
83623
|
+
args162 = {
|
|
83028
83624
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
83029
83625
|
};
|
|
83030
83626
|
tool$walletTransactionsList = {
|
|
@@ -83035,9 +83631,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
83035
83631
|
|
|
83036
83632
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
83037
83633
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
83038
|
-
args:
|
|
83039
|
-
tool: async (client,
|
|
83040
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
83634
|
+
args: args162,
|
|
83635
|
+
tool: async (client, args163, ctx) => {
|
|
83636
|
+
const [result, apiCall] = await walletTransactionsList(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
83041
83637
|
if (!result.ok) {
|
|
83042
83638
|
return {
|
|
83043
83639
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -83054,7 +83650,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
83054
83650
|
function createMCPServer(deps) {
|
|
83055
83651
|
const server = new McpServer({
|
|
83056
83652
|
name: "Moov",
|
|
83057
|
-
version: "0.
|
|
83653
|
+
version: "0.20.0"
|
|
83058
83654
|
});
|
|
83059
83655
|
const client = new MoovCore({
|
|
83060
83656
|
security: deps.security,
|
|
@@ -83125,6 +83721,9 @@ function createMCPServer(deps) {
|
|
|
83125
83721
|
tool(tool$feePlansListFeesFetch);
|
|
83126
83722
|
tool(tool$feePlansListPartnerPricing);
|
|
83127
83723
|
tool(tool$feePlansListPartnerPricingAgreements);
|
|
83724
|
+
tool(tool$feePlansListResiduals);
|
|
83725
|
+
tool(tool$feePlansGetResidual);
|
|
83726
|
+
tool(tool$feePlansListResidualFees);
|
|
83128
83727
|
tool(tool$filesUpload);
|
|
83129
83728
|
tool(tool$filesList);
|
|
83130
83729
|
tool(tool$filesGet);
|
|
@@ -83301,11 +83900,14 @@ var init_server2 = __esm(() => {
|
|
|
83301
83900
|
init_enrichedAddressGet2();
|
|
83302
83901
|
init_enrichedProfileGet2();
|
|
83303
83902
|
init_feePlansCreateFeePlanAgreements2();
|
|
83903
|
+
init_feePlansGetResidual2();
|
|
83304
83904
|
init_feePlansListFeePlanAgreements2();
|
|
83305
83905
|
init_feePlansListFeePlans2();
|
|
83306
83906
|
init_feePlansListFeesFetch2();
|
|
83307
83907
|
init_feePlansListPartnerPricing2();
|
|
83308
83908
|
init_feePlansListPartnerPricingAgreements2();
|
|
83909
|
+
init_feePlansListResidualFees2();
|
|
83910
|
+
init_feePlansListResiduals2();
|
|
83309
83911
|
init_feePlansRetrieveFees2();
|
|
83310
83912
|
init_filesGet2();
|
|
83311
83913
|
init_filesList2();
|
|
@@ -84596,7 +85198,7 @@ var routes = rn({
|
|
|
84596
85198
|
var app = Ve(routes, {
|
|
84597
85199
|
name: "mcp",
|
|
84598
85200
|
versionInfo: {
|
|
84599
|
-
currentVersion: "0.
|
|
85201
|
+
currentVersion: "0.20.0"
|
|
84600
85202
|
}
|
|
84601
85203
|
});
|
|
84602
85204
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -84604,5 +85206,5 @@ export {
|
|
|
84604
85206
|
app
|
|
84605
85207
|
};
|
|
84606
85208
|
|
|
84607
|
-
//# debugId=
|
|
85209
|
+
//# debugId=90F28B2BF898CE3464756E2164756E21
|
|
84608
85210
|
//# sourceMappingURL=mcp-server.js.map
|