@moovio/sdk 0.22.8 → 0.22.10
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 +59 -64
- package/bin/mcp-server.js +691 -849
- package/bin/mcp-server.js.map +23 -24
- package/examples/package-lock.json +1 -1
- package/funcs/imagesDelete.d.ts +4 -1
- package/funcs/imagesDelete.d.ts.map +1 -1
- package/funcs/imagesDelete.js +4 -1
- package/funcs/imagesDelete.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/mcp-server.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +1 -3
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/imagesDelete.d.ts.map +1 -1
- package/mcp-server/tools/imagesDelete.js +4 -1
- package/mcp-server/tools/imagesDelete.js.map +1 -1
- package/models/components/createtransfer.d.ts +3 -3
- package/models/components/createtransfer.d.ts.map +1 -1
- package/models/components/createtransfer.js +3 -3
- package/models/components/createtransfer.js.map +1 -1
- package/models/components/createtransferlineitem.d.ts +50 -0
- package/models/components/createtransferlineitem.d.ts.map +1 -0
- package/models/components/createtransferlineitem.js +70 -0
- package/models/components/createtransferlineitem.js.map +1 -0
- package/models/components/createtransferlineitemoption.d.ts +44 -0
- package/models/components/createtransferlineitemoption.d.ts.map +1 -0
- package/models/{errors/markinvoicepaiderror.js → components/createtransferlineitemoption.js} +25 -41
- package/models/components/createtransferlineitemoption.js.map +1 -0
- package/models/components/createtransferlineitemoptionvalidationerror.d.ts +26 -0
- package/models/components/createtransferlineitemoptionvalidationerror.d.ts.map +1 -0
- package/models/components/{transferlineitemoptionvalidationerror.js → createtransferlineitemoptionvalidationerror.js} +12 -10
- package/models/components/createtransferlineitemoptionvalidationerror.js.map +1 -0
- package/models/components/createtransferlineitems.d.ts +27 -0
- package/models/components/createtransferlineitems.d.ts.map +1 -0
- package/models/components/{markinvoicepaid.js → createtransferlineitems.js} +13 -17
- package/models/components/createtransferlineitems.js.map +1 -0
- package/models/components/createtransferlineitemsvalidationerror.d.ts +22 -0
- package/models/components/createtransferlineitemsvalidationerror.d.ts.map +1 -0
- package/models/components/createtransferlineitemsvalidationerror.js +61 -0
- package/models/components/createtransferlineitemsvalidationerror.js.map +1 -0
- package/models/components/createtransferlineitemvalidationerror.d.ts +33 -0
- package/models/components/createtransferlineitemvalidationerror.d.ts.map +1 -0
- package/models/components/{transferlineitemvalidationerror.js → createtransferlineitemvalidationerror.js} +15 -13
- package/models/components/createtransferlineitemvalidationerror.js.map +1 -0
- package/models/components/imagemetadata.d.ts +2 -0
- package/models/components/imagemetadata.d.ts.map +1 -1
- package/models/components/imagemetadata.js +3 -0
- package/models/components/imagemetadata.js.map +1 -1
- package/models/components/index.d.ts +7 -4
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +7 -4
- package/models/components/index.js.map +1 -1
- package/models/components/transferlineitem.d.ts +6 -0
- package/models/components/transferlineitem.d.ts.map +1 -1
- package/models/components/transferlineitem.js +3 -0
- package/models/components/transferlineitem.js.map +1 -1
- package/models/components/transferlineitemimagemetadata.d.ts +35 -0
- package/models/components/transferlineitemimagemetadata.d.ts.map +1 -0
- package/models/components/{transferlineitemsvalidationerror.js → transferlineitemimagemetadata.js} +18 -13
- package/models/components/transferlineitemimagemetadata.js.map +1 -0
- package/models/components/transferlineitemoption.d.ts +6 -0
- package/models/components/transferlineitemoption.d.ts.map +1 -1
- package/models/components/transferlineitemoption.js +3 -0
- package/models/components/transferlineitemoption.js.map +1 -1
- package/models/errors/index.d.ts +0 -1
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +0 -1
- package/models/errors/index.js.map +1 -1
- package/models/errors/transfervalidationerror.d.ts +3 -3
- package/models/errors/transfervalidationerror.d.ts.map +1 -1
- package/models/errors/transfervalidationerror.js +3 -3
- package/models/errors/transfervalidationerror.js.map +1 -1
- package/models/operations/index.d.ts +0 -1
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +0 -1
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/images.d.ts +4 -1
- package/sdk/images.d.ts.map +1 -1
- package/sdk/images.js +4 -1
- package/sdk/images.js.map +1 -1
- package/sdk/invoices.d.ts +0 -8
- package/sdk/invoices.d.ts.map +1 -1
- package/sdk/invoices.js +0 -11
- package/sdk/invoices.js.map +1 -1
- package/src/funcs/imagesDelete.ts +4 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -3
- package/src/mcp-server/tools/imagesDelete.ts +4 -1
- package/src/models/components/createtransfer.ts +10 -10
- package/src/models/components/createtransferlineitem.ts +104 -0
- package/src/models/components/createtransferlineitemoption.ts +93 -0
- package/src/models/components/createtransferlineitemoptionvalidationerror.ts +84 -0
- package/src/models/components/createtransferlineitems.ts +66 -0
- package/src/models/components/createtransferlineitemsvalidationerror.ts +65 -0
- package/src/models/components/createtransferlineitemvalidationerror.ts +92 -0
- package/src/models/components/imagemetadata.ts +5 -0
- package/src/models/components/index.ts +7 -4
- package/src/models/components/transferlineitem.ts +13 -0
- package/src/models/components/transferlineitemimagemetadata.ts +77 -0
- package/src/models/components/transferlineitemoption.ts +13 -0
- package/src/models/errors/index.ts +0 -1
- package/src/models/errors/transfervalidationerror.ts +8 -6
- package/src/models/operations/index.ts +0 -1
- package/src/sdk/images.ts +4 -1
- package/src/sdk/invoices.ts +0 -19
- package/funcs/invoicesMarkPaidInvoice.d.ts +0 -19
- package/funcs/invoicesMarkPaidInvoice.d.ts.map +0 -1
- package/funcs/invoicesMarkPaidInvoice.js +0 -144
- package/funcs/invoicesMarkPaidInvoice.js.map +0 -1
- package/mcp-server/tools/invoicesMarkPaidInvoice.d.ts +0 -8
- package/mcp-server/tools/invoicesMarkPaidInvoice.d.ts.map +0 -1
- package/mcp-server/tools/invoicesMarkPaidInvoice.js +0 -66
- package/mcp-server/tools/invoicesMarkPaidInvoice.js.map +0 -1
- package/models/components/markinvoicepaid.d.ts +0 -21
- package/models/components/markinvoicepaid.d.ts.map +0 -1
- package/models/components/markinvoicepaid.js.map +0 -1
- package/models/components/transferlineitemoptionvalidationerror.d.ts +0 -24
- package/models/components/transferlineitemoptionvalidationerror.d.ts.map +0 -1
- package/models/components/transferlineitemoptionvalidationerror.js.map +0 -1
- package/models/components/transferlineitemsvalidationerror.d.ts +0 -22
- package/models/components/transferlineitemsvalidationerror.d.ts.map +0 -1
- package/models/components/transferlineitemsvalidationerror.js.map +0 -1
- package/models/components/transferlineitemvalidationerror.d.ts +0 -31
- package/models/components/transferlineitemvalidationerror.d.ts.map +0 -1
- package/models/components/transferlineitemvalidationerror.js.map +0 -1
- package/models/errors/markinvoicepaiderror.d.ts +0 -30
- package/models/errors/markinvoicepaiderror.d.ts.map +0 -1
- package/models/errors/markinvoicepaiderror.js.map +0 -1
- package/models/operations/markpaidinvoice.d.ts +0 -68
- package/models/operations/markpaidinvoice.d.ts.map +0 -1
- package/models/operations/markpaidinvoice.js +0 -124
- package/models/operations/markpaidinvoice.js.map +0 -1
- package/src/funcs/invoicesMarkPaidInvoice.ts +0 -208
- package/src/mcp-server/tools/invoicesMarkPaidInvoice.ts +0 -39
- package/src/models/components/markinvoicepaid.ts +0 -58
- package/src/models/components/transferlineitemoptionvalidationerror.ts +0 -72
- package/src/models/components/transferlineitemsvalidationerror.ts +0 -59
- package/src/models/components/transferlineitemvalidationerror.ts +0 -85
- package/src/models/errors/markinvoicepaiderror.ts +0 -78
- package/src/models/operations/markpaidinvoice.ts +0 -191
package/bin/mcp-server.js
CHANGED
|
@@ -52413,9 +52413,9 @@ var init_config = __esm(() => {
|
|
|
52413
52413
|
SDK_METADATA = {
|
|
52414
52414
|
language: "typescript",
|
|
52415
52415
|
openapiDocVersion: "latest",
|
|
52416
|
-
sdkVersion: "0.22.
|
|
52417
|
-
genVersion: "2.788.
|
|
52418
|
-
userAgent: "speakeasy-sdk/typescript 0.22.
|
|
52416
|
+
sdkVersion: "0.22.10",
|
|
52417
|
+
genVersion: "2.788.7",
|
|
52418
|
+
userAgent: "speakeasy-sdk/typescript 0.22.10 2.788.7 latest @moovio/sdk"
|
|
52419
52419
|
};
|
|
52420
52420
|
});
|
|
52421
52421
|
|
|
@@ -60637,21 +60637,42 @@ var init_transferfailurereason = __esm(() => {
|
|
|
60637
60637
|
TransferFailureReason$outboundSchema = TransferFailureReason$inboundSchema;
|
|
60638
60638
|
});
|
|
60639
60639
|
|
|
60640
|
+
// src/models/components/transferlineitemimagemetadata.ts
|
|
60641
|
+
var TransferLineItemImageMetadata$inboundSchema, TransferLineItemImageMetadata$outboundSchema;
|
|
60642
|
+
var init_transferlineitemimagemetadata = __esm(() => {
|
|
60643
|
+
init_esm();
|
|
60644
|
+
TransferLineItemImageMetadata$inboundSchema = objectType({
|
|
60645
|
+
imageID: stringType(),
|
|
60646
|
+
altText: stringType().optional(),
|
|
60647
|
+
link: stringType(),
|
|
60648
|
+
publicID: stringType()
|
|
60649
|
+
});
|
|
60650
|
+
TransferLineItemImageMetadata$outboundSchema = objectType({
|
|
60651
|
+
imageID: stringType(),
|
|
60652
|
+
altText: stringType().optional(),
|
|
60653
|
+
link: stringType(),
|
|
60654
|
+
publicID: stringType()
|
|
60655
|
+
});
|
|
60656
|
+
});
|
|
60657
|
+
|
|
60640
60658
|
// src/models/components/transferlineitemoption.ts
|
|
60641
60659
|
var TransferLineItemOption$inboundSchema, TransferLineItemOption$outboundSchema;
|
|
60642
60660
|
var init_transferlineitemoption = __esm(() => {
|
|
60643
60661
|
init_esm();
|
|
60644
60662
|
init_amountdecimal();
|
|
60663
|
+
init_transferlineitemimagemetadata();
|
|
60645
60664
|
TransferLineItemOption$inboundSchema = objectType({
|
|
60646
60665
|
name: stringType(),
|
|
60647
60666
|
quantity: numberType().int(),
|
|
60648
60667
|
priceModifier: AmountDecimal$inboundSchema.optional(),
|
|
60668
|
+
images: arrayType(TransferLineItemImageMetadata$inboundSchema).optional(),
|
|
60649
60669
|
group: stringType().optional()
|
|
60650
60670
|
});
|
|
60651
60671
|
TransferLineItemOption$outboundSchema = objectType({
|
|
60652
60672
|
name: stringType(),
|
|
60653
60673
|
quantity: numberType().int(),
|
|
60654
60674
|
priceModifier: AmountDecimal$outboundSchema.optional(),
|
|
60675
|
+
images: arrayType(TransferLineItemImageMetadata$outboundSchema).optional(),
|
|
60655
60676
|
group: stringType().optional()
|
|
60656
60677
|
});
|
|
60657
60678
|
});
|
|
@@ -60661,12 +60682,14 @@ var TransferLineItem$inboundSchema, TransferLineItem$outboundSchema;
|
|
|
60661
60682
|
var init_transferlineitem = __esm(() => {
|
|
60662
60683
|
init_esm();
|
|
60663
60684
|
init_amountdecimal();
|
|
60685
|
+
init_transferlineitemimagemetadata();
|
|
60664
60686
|
init_transferlineitemoption();
|
|
60665
60687
|
TransferLineItem$inboundSchema = objectType({
|
|
60666
60688
|
name: stringType(),
|
|
60667
60689
|
basePrice: AmountDecimal$inboundSchema,
|
|
60668
60690
|
quantity: numberType().int(),
|
|
60669
60691
|
options: arrayType(TransferLineItemOption$inboundSchema).optional(),
|
|
60692
|
+
images: arrayType(TransferLineItemImageMetadata$inboundSchema).optional(),
|
|
60670
60693
|
productID: stringType().optional()
|
|
60671
60694
|
});
|
|
60672
60695
|
TransferLineItem$outboundSchema = objectType({
|
|
@@ -60674,6 +60697,7 @@ var init_transferlineitem = __esm(() => {
|
|
|
60674
60697
|
basePrice: AmountDecimal$outboundSchema,
|
|
60675
60698
|
quantity: numberType().int(),
|
|
60676
60699
|
options: arrayType(TransferLineItemOption$outboundSchema).optional(),
|
|
60700
|
+
images: arrayType(TransferLineItemImageMetadata$outboundSchema).optional(),
|
|
60677
60701
|
productID: stringType().optional()
|
|
60678
60702
|
});
|
|
60679
60703
|
});
|
|
@@ -61699,6 +61723,64 @@ var init_createtransferdestination = __esm(() => {
|
|
|
61699
61723
|
});
|
|
61700
61724
|
});
|
|
61701
61725
|
|
|
61726
|
+
// src/models/components/createtransferlineitemoption.ts
|
|
61727
|
+
var CreateTransferLineItemOption$inboundSchema, CreateTransferLineItemOption$outboundSchema;
|
|
61728
|
+
var init_createtransferlineitemoption = __esm(() => {
|
|
61729
|
+
init_esm();
|
|
61730
|
+
init_amountdecimal();
|
|
61731
|
+
CreateTransferLineItemOption$inboundSchema = objectType({
|
|
61732
|
+
name: stringType(),
|
|
61733
|
+
quantity: numberType().int(),
|
|
61734
|
+
priceModifier: AmountDecimal$inboundSchema.optional(),
|
|
61735
|
+
imageIDs: arrayType(stringType()).optional(),
|
|
61736
|
+
group: stringType().optional()
|
|
61737
|
+
});
|
|
61738
|
+
CreateTransferLineItemOption$outboundSchema = objectType({
|
|
61739
|
+
name: stringType(),
|
|
61740
|
+
quantity: numberType().int(),
|
|
61741
|
+
priceModifier: AmountDecimal$outboundSchema.optional(),
|
|
61742
|
+
imageIDs: arrayType(stringType()).optional(),
|
|
61743
|
+
group: stringType().optional()
|
|
61744
|
+
});
|
|
61745
|
+
});
|
|
61746
|
+
|
|
61747
|
+
// src/models/components/createtransferlineitem.ts
|
|
61748
|
+
var CreateTransferLineItem$inboundSchema, CreateTransferLineItem$outboundSchema;
|
|
61749
|
+
var init_createtransferlineitem = __esm(() => {
|
|
61750
|
+
init_esm();
|
|
61751
|
+
init_amountdecimal();
|
|
61752
|
+
init_createtransferlineitemoption();
|
|
61753
|
+
CreateTransferLineItem$inboundSchema = objectType({
|
|
61754
|
+
name: stringType(),
|
|
61755
|
+
basePrice: AmountDecimal$inboundSchema,
|
|
61756
|
+
quantity: numberType().int(),
|
|
61757
|
+
options: arrayType(CreateTransferLineItemOption$inboundSchema).optional(),
|
|
61758
|
+
imageIDs: arrayType(stringType()).optional(),
|
|
61759
|
+
productID: stringType().optional()
|
|
61760
|
+
});
|
|
61761
|
+
CreateTransferLineItem$outboundSchema = objectType({
|
|
61762
|
+
name: stringType(),
|
|
61763
|
+
basePrice: AmountDecimal$outboundSchema,
|
|
61764
|
+
quantity: numberType().int(),
|
|
61765
|
+
options: arrayType(CreateTransferLineItemOption$outboundSchema).optional(),
|
|
61766
|
+
imageIDs: arrayType(stringType()).optional(),
|
|
61767
|
+
productID: stringType().optional()
|
|
61768
|
+
});
|
|
61769
|
+
});
|
|
61770
|
+
|
|
61771
|
+
// src/models/components/createtransferlineitems.ts
|
|
61772
|
+
var CreateTransferLineItems$inboundSchema, CreateTransferLineItems$outboundSchema;
|
|
61773
|
+
var init_createtransferlineitems = __esm(() => {
|
|
61774
|
+
init_esm();
|
|
61775
|
+
init_createtransferlineitem();
|
|
61776
|
+
CreateTransferLineItems$inboundSchema = objectType({
|
|
61777
|
+
items: arrayType(CreateTransferLineItem$inboundSchema)
|
|
61778
|
+
});
|
|
61779
|
+
CreateTransferLineItems$outboundSchema = objectType({
|
|
61780
|
+
items: arrayType(CreateTransferLineItem$outboundSchema)
|
|
61781
|
+
});
|
|
61782
|
+
});
|
|
61783
|
+
|
|
61702
61784
|
// src/models/components/createtransfersourceach.ts
|
|
61703
61785
|
var CreateTransferSourceACH$inboundSchema, CreateTransferSourceACH$outboundSchema;
|
|
61704
61786
|
var init_createtransfersourceach = __esm(() => {
|
|
@@ -61762,9 +61844,9 @@ var init_createtransfer = __esm(() => {
|
|
|
61762
61844
|
init_esm();
|
|
61763
61845
|
init_amount();
|
|
61764
61846
|
init_createtransferdestination();
|
|
61847
|
+
init_createtransferlineitems();
|
|
61765
61848
|
init_createtransfersource();
|
|
61766
61849
|
init_facilitatorfee();
|
|
61767
|
-
init_transferlineitems();
|
|
61768
61850
|
CreateTransfer$inboundSchema = objectType({
|
|
61769
61851
|
source: CreateTransferSource$inboundSchema,
|
|
61770
61852
|
destination: CreateTransferDestination$inboundSchema,
|
|
@@ -61774,7 +61856,7 @@ var init_createtransfer = __esm(() => {
|
|
|
61774
61856
|
metadata: recordType(stringType()).optional(),
|
|
61775
61857
|
salesTaxAmount: Amount$inboundSchema.optional(),
|
|
61776
61858
|
foreignID: stringType().optional(),
|
|
61777
|
-
lineItems:
|
|
61859
|
+
lineItems: CreateTransferLineItems$inboundSchema.optional()
|
|
61778
61860
|
});
|
|
61779
61861
|
CreateTransfer$outboundSchema = objectType({
|
|
61780
61862
|
source: CreateTransferSource$outboundSchema,
|
|
@@ -61785,7 +61867,65 @@ var init_createtransfer = __esm(() => {
|
|
|
61785
61867
|
metadata: recordType(stringType()).optional(),
|
|
61786
61868
|
salesTaxAmount: Amount$outboundSchema.optional(),
|
|
61787
61869
|
foreignID: stringType().optional(),
|
|
61788
|
-
lineItems:
|
|
61870
|
+
lineItems: CreateTransferLineItems$outboundSchema.optional()
|
|
61871
|
+
});
|
|
61872
|
+
});
|
|
61873
|
+
|
|
61874
|
+
// src/models/components/createtransferlineitemoptionvalidationerror.ts
|
|
61875
|
+
var CreateTransferLineItemOptionValidationError$inboundSchema, CreateTransferLineItemOptionValidationError$outboundSchema;
|
|
61876
|
+
var init_createtransferlineitemoptionvalidationerror = __esm(() => {
|
|
61877
|
+
init_esm();
|
|
61878
|
+
init_amountdecimalvalidationerror();
|
|
61879
|
+
CreateTransferLineItemOptionValidationError$inboundSchema = objectType({
|
|
61880
|
+
name: stringType().optional(),
|
|
61881
|
+
group: stringType().optional(),
|
|
61882
|
+
priceModifier: AmountDecimalValidationError$inboundSchema.optional(),
|
|
61883
|
+
quantity: stringType().optional(),
|
|
61884
|
+
imageIDs: stringType().optional()
|
|
61885
|
+
});
|
|
61886
|
+
CreateTransferLineItemOptionValidationError$outboundSchema = objectType({
|
|
61887
|
+
name: stringType().optional(),
|
|
61888
|
+
group: stringType().optional(),
|
|
61889
|
+
priceModifier: AmountDecimalValidationError$outboundSchema.optional(),
|
|
61890
|
+
quantity: stringType().optional(),
|
|
61891
|
+
imageIDs: stringType().optional()
|
|
61892
|
+
});
|
|
61893
|
+
});
|
|
61894
|
+
|
|
61895
|
+
// src/models/components/createtransferlineitemvalidationerror.ts
|
|
61896
|
+
var CreateTransferLineItemValidationError$inboundSchema, CreateTransferLineItemValidationError$outboundSchema;
|
|
61897
|
+
var init_createtransferlineitemvalidationerror = __esm(() => {
|
|
61898
|
+
init_esm();
|
|
61899
|
+
init_amountdecimalvalidationerror();
|
|
61900
|
+
init_createtransferlineitemoptionvalidationerror();
|
|
61901
|
+
CreateTransferLineItemValidationError$inboundSchema = objectType({
|
|
61902
|
+
productID: stringType().optional(),
|
|
61903
|
+
name: stringType().optional(),
|
|
61904
|
+
basePrice: AmountDecimalValidationError$inboundSchema.optional(),
|
|
61905
|
+
options: recordType(CreateTransferLineItemOptionValidationError$inboundSchema).optional(),
|
|
61906
|
+
quantity: stringType().optional(),
|
|
61907
|
+
imageIDs: stringType().optional()
|
|
61908
|
+
});
|
|
61909
|
+
CreateTransferLineItemValidationError$outboundSchema = objectType({
|
|
61910
|
+
productID: stringType().optional(),
|
|
61911
|
+
name: stringType().optional(),
|
|
61912
|
+
basePrice: AmountDecimalValidationError$outboundSchema.optional(),
|
|
61913
|
+
options: recordType(CreateTransferLineItemOptionValidationError$outboundSchema).optional(),
|
|
61914
|
+
quantity: stringType().optional(),
|
|
61915
|
+
imageIDs: stringType().optional()
|
|
61916
|
+
});
|
|
61917
|
+
});
|
|
61918
|
+
|
|
61919
|
+
// src/models/components/createtransferlineitemsvalidationerror.ts
|
|
61920
|
+
var CreateTransferLineItemsValidationError$inboundSchema, CreateTransferLineItemsValidationError$outboundSchema;
|
|
61921
|
+
var init_createtransferlineitemsvalidationerror = __esm(() => {
|
|
61922
|
+
init_esm();
|
|
61923
|
+
init_createtransferlineitemvalidationerror();
|
|
61924
|
+
CreateTransferLineItemsValidationError$inboundSchema = objectType({
|
|
61925
|
+
items: recordType(CreateTransferLineItemValidationError$inboundSchema).optional()
|
|
61926
|
+
});
|
|
61927
|
+
CreateTransferLineItemsValidationError$outboundSchema = objectType({
|
|
61928
|
+
items: recordType(CreateTransferLineItemValidationError$outboundSchema).optional()
|
|
61789
61929
|
});
|
|
61790
61930
|
});
|
|
61791
61931
|
|
|
@@ -62642,7 +62782,8 @@ var init_imagemetadata = __esm(() => {
|
|
|
62642
62782
|
altText: stringType().optional(),
|
|
62643
62783
|
link: stringType(),
|
|
62644
62784
|
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
62645
|
-
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
|
|
62785
|
+
updatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
62786
|
+
disabledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
62646
62787
|
});
|
|
62647
62788
|
ImageMetadata$outboundSchema = objectType({
|
|
62648
62789
|
imageID: stringType(),
|
|
@@ -62650,7 +62791,8 @@ var init_imagemetadata = __esm(() => {
|
|
|
62650
62791
|
altText: stringType().optional(),
|
|
62651
62792
|
link: stringType(),
|
|
62652
62793
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
62653
|
-
updatedOn: dateType().transform((v2) => v2.toISOString())
|
|
62794
|
+
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
62795
|
+
disabledOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
62654
62796
|
});
|
|
62655
62797
|
});
|
|
62656
62798
|
|
|
@@ -63713,22 +63855,6 @@ var init_manualtermsofserviceupdate = __esm(() => {
|
|
|
63713
63855
|
});
|
|
63714
63856
|
});
|
|
63715
63857
|
|
|
63716
|
-
// src/models/components/markinvoicepaid.ts
|
|
63717
|
-
var MarkInvoicePaid$inboundSchema, MarkInvoicePaid$outboundSchema;
|
|
63718
|
-
var init_markinvoicepaid = __esm(() => {
|
|
63719
|
-
init_esm();
|
|
63720
|
-
MarkInvoicePaid$inboundSchema = objectType({
|
|
63721
|
-
foreignID: stringType().optional(),
|
|
63722
|
-
description: stringType().optional(),
|
|
63723
|
-
paymentDate: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
63724
|
-
});
|
|
63725
|
-
MarkInvoicePaid$outboundSchema = objectType({
|
|
63726
|
-
foreignID: stringType().optional(),
|
|
63727
|
-
description: stringType().optional(),
|
|
63728
|
-
paymentDate: dateType().transform((v2) => v2.toISOString()).optional()
|
|
63729
|
-
});
|
|
63730
|
-
});
|
|
63731
|
-
|
|
63732
63858
|
// src/models/components/moneytransferpullfromcard.ts
|
|
63733
63859
|
var MoneyTransferPullFromCard$inboundSchema, MoneyTransferPullFromCard$outboundSchema;
|
|
63734
63860
|
var init_moneytransferpullfromcard = __esm(() => {
|
|
@@ -66040,60 +66166,6 @@ var init_transfer = __esm(() => {
|
|
|
66040
66166
|
});
|
|
66041
66167
|
});
|
|
66042
66168
|
|
|
66043
|
-
// src/models/components/transferlineitemoptionvalidationerror.ts
|
|
66044
|
-
var TransferLineItemOptionValidationError$inboundSchema, TransferLineItemOptionValidationError$outboundSchema;
|
|
66045
|
-
var init_transferlineitemoptionvalidationerror = __esm(() => {
|
|
66046
|
-
init_esm();
|
|
66047
|
-
init_amountdecimalvalidationerror();
|
|
66048
|
-
TransferLineItemOptionValidationError$inboundSchema = objectType({
|
|
66049
|
-
name: stringType().optional(),
|
|
66050
|
-
group: stringType().optional(),
|
|
66051
|
-
priceModifier: AmountDecimalValidationError$inboundSchema.optional(),
|
|
66052
|
-
quantity: stringType().optional()
|
|
66053
|
-
});
|
|
66054
|
-
TransferLineItemOptionValidationError$outboundSchema = objectType({
|
|
66055
|
-
name: stringType().optional(),
|
|
66056
|
-
group: stringType().optional(),
|
|
66057
|
-
priceModifier: AmountDecimalValidationError$outboundSchema.optional(),
|
|
66058
|
-
quantity: stringType().optional()
|
|
66059
|
-
});
|
|
66060
|
-
});
|
|
66061
|
-
|
|
66062
|
-
// src/models/components/transferlineitemvalidationerror.ts
|
|
66063
|
-
var TransferLineItemValidationError$inboundSchema, TransferLineItemValidationError$outboundSchema;
|
|
66064
|
-
var init_transferlineitemvalidationerror = __esm(() => {
|
|
66065
|
-
init_esm();
|
|
66066
|
-
init_amountdecimalvalidationerror();
|
|
66067
|
-
init_transferlineitemoptionvalidationerror();
|
|
66068
|
-
TransferLineItemValidationError$inboundSchema = objectType({
|
|
66069
|
-
productID: stringType().optional(),
|
|
66070
|
-
name: stringType().optional(),
|
|
66071
|
-
basePrice: AmountDecimalValidationError$inboundSchema.optional(),
|
|
66072
|
-
options: recordType(TransferLineItemOptionValidationError$inboundSchema).optional(),
|
|
66073
|
-
quantity: stringType().optional()
|
|
66074
|
-
});
|
|
66075
|
-
TransferLineItemValidationError$outboundSchema = objectType({
|
|
66076
|
-
productID: stringType().optional(),
|
|
66077
|
-
name: stringType().optional(),
|
|
66078
|
-
basePrice: AmountDecimalValidationError$outboundSchema.optional(),
|
|
66079
|
-
options: recordType(TransferLineItemOptionValidationError$outboundSchema).optional(),
|
|
66080
|
-
quantity: stringType().optional()
|
|
66081
|
-
});
|
|
66082
|
-
});
|
|
66083
|
-
|
|
66084
|
-
// src/models/components/transferlineitemsvalidationerror.ts
|
|
66085
|
-
var TransferLineItemsValidationError$inboundSchema, TransferLineItemsValidationError$outboundSchema;
|
|
66086
|
-
var init_transferlineitemsvalidationerror = __esm(() => {
|
|
66087
|
-
init_esm();
|
|
66088
|
-
init_transferlineitemvalidationerror();
|
|
66089
|
-
TransferLineItemsValidationError$inboundSchema = objectType({
|
|
66090
|
-
items: recordType(TransferLineItemValidationError$inboundSchema).optional()
|
|
66091
|
-
});
|
|
66092
|
-
TransferLineItemsValidationError$outboundSchema = objectType({
|
|
66093
|
-
items: recordType(TransferLineItemValidationError$outboundSchema).optional()
|
|
66094
|
-
});
|
|
66095
|
-
});
|
|
66096
|
-
|
|
66097
66169
|
// src/models/components/transferoptions.ts
|
|
66098
66170
|
var TransferOptions$inboundSchema, TransferOptions$outboundSchema;
|
|
66099
66171
|
var init_transferoptions = __esm(() => {
|
|
@@ -67793,6 +67865,12 @@ var init_components = __esm(() => {
|
|
|
67793
67865
|
init_createtransferdestination();
|
|
67794
67866
|
init_createtransferdestinationach();
|
|
67795
67867
|
init_createtransferdestinationcard();
|
|
67868
|
+
init_createtransferlineitem();
|
|
67869
|
+
init_createtransferlineitemoption();
|
|
67870
|
+
init_createtransferlineitemoptionvalidationerror();
|
|
67871
|
+
init_createtransferlineitems();
|
|
67872
|
+
init_createtransferlineitemsvalidationerror();
|
|
67873
|
+
init_createtransferlineitemvalidationerror();
|
|
67796
67874
|
init_createtransferoptions();
|
|
67797
67875
|
init_createtransfersource();
|
|
67798
67876
|
init_createtransfersourceach();
|
|
@@ -67909,7 +67987,6 @@ var init_components = __esm(() => {
|
|
|
67909
67987
|
init_listfeesfetchrequest();
|
|
67910
67988
|
init_manualtermsofservice();
|
|
67911
67989
|
init_manualtermsofserviceupdate();
|
|
67912
|
-
init_markinvoicepaid();
|
|
67913
67990
|
init_microdepositstatus();
|
|
67914
67991
|
init_minimumcommitment();
|
|
67915
67992
|
init_mode();
|
|
@@ -68071,11 +68148,9 @@ var init_components = __esm(() => {
|
|
|
68071
68148
|
init_transferdestination();
|
|
68072
68149
|
init_transferfailurereason();
|
|
68073
68150
|
init_transferlineitem();
|
|
68151
|
+
init_transferlineitemimagemetadata();
|
|
68074
68152
|
init_transferlineitemoption();
|
|
68075
|
-
init_transferlineitemoptionvalidationerror();
|
|
68076
68153
|
init_transferlineitems();
|
|
68077
|
-
init_transferlineitemsvalidationerror();
|
|
68078
|
-
init_transferlineitemvalidationerror();
|
|
68079
68154
|
init_transferoptions();
|
|
68080
68155
|
init_transferparty();
|
|
68081
68156
|
init_transfersource();
|
|
@@ -69327,50 +69402,6 @@ var init_listwallettransactionsvalidationerror = __esm(() => {
|
|
|
69327
69402
|
}));
|
|
69328
69403
|
});
|
|
69329
69404
|
|
|
69330
|
-
// src/models/errors/markinvoicepaiderror.ts
|
|
69331
|
-
var MarkInvoicePaidError, MarkInvoicePaidError$inboundSchema, MarkInvoicePaidError$outboundSchema;
|
|
69332
|
-
var init_markinvoicepaiderror = __esm(() => {
|
|
69333
|
-
init_esm();
|
|
69334
|
-
init_mooverror();
|
|
69335
|
-
MarkInvoicePaidError = class MarkInvoicePaidError extends MoovError {
|
|
69336
|
-
foreignID;
|
|
69337
|
-
description;
|
|
69338
|
-
paymentDate;
|
|
69339
|
-
data$;
|
|
69340
|
-
constructor(err, httpMeta) {
|
|
69341
|
-
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
69342
|
-
super(message, httpMeta);
|
|
69343
|
-
this.data$ = err;
|
|
69344
|
-
if (err.foreignID != null)
|
|
69345
|
-
this.foreignID = err.foreignID;
|
|
69346
|
-
if (err.description != null)
|
|
69347
|
-
this.description = err.description;
|
|
69348
|
-
if (err.paymentDate != null)
|
|
69349
|
-
this.paymentDate = err.paymentDate;
|
|
69350
|
-
this.name = "MarkInvoicePaidError";
|
|
69351
|
-
}
|
|
69352
|
-
};
|
|
69353
|
-
MarkInvoicePaidError$inboundSchema = objectType({
|
|
69354
|
-
foreignID: stringType().optional(),
|
|
69355
|
-
description: stringType().optional(),
|
|
69356
|
-
paymentDate: stringType().optional(),
|
|
69357
|
-
request$: instanceOfType(Request),
|
|
69358
|
-
response$: instanceOfType(Response),
|
|
69359
|
-
body$: stringType()
|
|
69360
|
-
}).transform((v2) => {
|
|
69361
|
-
return new MarkInvoicePaidError(v2, {
|
|
69362
|
-
request: v2.request$,
|
|
69363
|
-
response: v2.response$,
|
|
69364
|
-
body: v2.body$
|
|
69365
|
-
});
|
|
69366
|
-
});
|
|
69367
|
-
MarkInvoicePaidError$outboundSchema = instanceOfType(MarkInvoicePaidError).transform((v2) => v2.data$).pipe(objectType({
|
|
69368
|
-
foreignID: stringType().optional(),
|
|
69369
|
-
description: stringType().optional(),
|
|
69370
|
-
paymentDate: stringType().optional()
|
|
69371
|
-
}));
|
|
69372
|
-
});
|
|
69373
|
-
|
|
69374
69405
|
// src/models/errors/microdepositvalidationerror.ts
|
|
69375
69406
|
var MicroDepositValidationError, MicroDepositValidationError$inboundSchema, MicroDepositValidationError$outboundSchema;
|
|
69376
69407
|
var init_microdepositvalidationerror = __esm(() => {
|
|
@@ -70324,7 +70355,7 @@ var init_transfervalidationerror = __esm(() => {
|
|
|
70324
70355
|
metadata: stringType().optional(),
|
|
70325
70356
|
salesTaxAmount: stringType().optional(),
|
|
70326
70357
|
foreignID: stringType().optional(),
|
|
70327
|
-
lineItems:
|
|
70358
|
+
lineItems: CreateTransferLineItemsValidationError$inboundSchema.optional(),
|
|
70328
70359
|
request$: instanceOfType(Request),
|
|
70329
70360
|
response$: instanceOfType(Response),
|
|
70330
70361
|
body$: stringType()
|
|
@@ -70350,7 +70381,7 @@ var init_transfervalidationerror = __esm(() => {
|
|
|
70350
70381
|
metadata: stringType().optional(),
|
|
70351
70382
|
salesTaxAmount: stringType().optional(),
|
|
70352
70383
|
foreignID: stringType().optional(),
|
|
70353
|
-
lineItems:
|
|
70384
|
+
lineItems: CreateTransferLineItemsValidationError$outboundSchema.optional()
|
|
70354
70385
|
}).transform((v2) => {
|
|
70355
70386
|
return remap(v2, {
|
|
70356
70387
|
facilitatorFeeTotalDecimal: "FacilitatorFee.TotalDecimal",
|
|
@@ -70822,7 +70853,6 @@ var init_errors4 = __esm(() => {
|
|
|
70822
70853
|
init_listtransfersvalidationerror();
|
|
70823
70854
|
init_listwalletsvalidationerror();
|
|
70824
70855
|
init_listwallettransactionsvalidationerror();
|
|
70825
|
-
init_markinvoicepaiderror();
|
|
70826
70856
|
init_microdepositvalidationerror();
|
|
70827
70857
|
init_mooverror();
|
|
70828
70858
|
init_onboardinginviteerror();
|
|
@@ -77758,64 +77788,6 @@ var init_listwallettransactions = __esm(() => {
|
|
|
77758
77788
|
});
|
|
77759
77789
|
});
|
|
77760
77790
|
|
|
77761
|
-
// src/models/operations/markpaidinvoice.ts
|
|
77762
|
-
var MarkPaidInvoiceGlobals$inboundSchema, MarkPaidInvoiceGlobals$outboundSchema, MarkPaidInvoiceRequest$inboundSchema, MarkPaidInvoiceRequest$outboundSchema, MarkPaidInvoiceResponse$inboundSchema, MarkPaidInvoiceResponse$outboundSchema;
|
|
77763
|
-
var init_markpaidinvoice = __esm(() => {
|
|
77764
|
-
init_esm();
|
|
77765
|
-
init_primitives();
|
|
77766
|
-
init_components();
|
|
77767
|
-
MarkPaidInvoiceGlobals$inboundSchema = objectType({
|
|
77768
|
-
"X-Moov-Version": stringType().optional()
|
|
77769
|
-
}).transform((v2) => {
|
|
77770
|
-
return remap(v2, {
|
|
77771
|
-
"X-Moov-Version": "xMoovVersion"
|
|
77772
|
-
});
|
|
77773
|
-
});
|
|
77774
|
-
MarkPaidInvoiceGlobals$outboundSchema = objectType({
|
|
77775
|
-
xMoovVersion: stringType().optional()
|
|
77776
|
-
}).transform((v2) => {
|
|
77777
|
-
return remap(v2, {
|
|
77778
|
-
xMoovVersion: "X-Moov-Version"
|
|
77779
|
-
});
|
|
77780
|
-
});
|
|
77781
|
-
MarkPaidInvoiceRequest$inboundSchema = objectType({
|
|
77782
|
-
accountID: stringType(),
|
|
77783
|
-
invoiceID: stringType(),
|
|
77784
|
-
MarkInvoicePaid: MarkInvoicePaid$inboundSchema
|
|
77785
|
-
}).transform((v2) => {
|
|
77786
|
-
return remap(v2, {
|
|
77787
|
-
MarkInvoicePaid: "markInvoicePaid"
|
|
77788
|
-
});
|
|
77789
|
-
});
|
|
77790
|
-
MarkPaidInvoiceRequest$outboundSchema = objectType({
|
|
77791
|
-
accountID: stringType(),
|
|
77792
|
-
invoiceID: stringType(),
|
|
77793
|
-
markInvoicePaid: MarkInvoicePaid$outboundSchema
|
|
77794
|
-
}).transform((v2) => {
|
|
77795
|
-
return remap(v2, {
|
|
77796
|
-
markInvoicePaid: "MarkInvoicePaid"
|
|
77797
|
-
});
|
|
77798
|
-
});
|
|
77799
|
-
MarkPaidInvoiceResponse$inboundSchema = objectType({
|
|
77800
|
-
Headers: recordType(arrayType(stringType())).default({}),
|
|
77801
|
-
Result: Invoice$inboundSchema
|
|
77802
|
-
}).transform((v2) => {
|
|
77803
|
-
return remap(v2, {
|
|
77804
|
-
Headers: "headers",
|
|
77805
|
-
Result: "result"
|
|
77806
|
-
});
|
|
77807
|
-
});
|
|
77808
|
-
MarkPaidInvoiceResponse$outboundSchema = objectType({
|
|
77809
|
-
headers: recordType(arrayType(stringType())),
|
|
77810
|
-
result: Invoice$outboundSchema
|
|
77811
|
-
}).transform((v2) => {
|
|
77812
|
-
return remap(v2, {
|
|
77813
|
-
headers: "Headers",
|
|
77814
|
-
result: "Result"
|
|
77815
|
-
});
|
|
77816
|
-
});
|
|
77817
|
-
});
|
|
77818
|
-
|
|
77819
77791
|
// src/models/operations/ping.ts
|
|
77820
77792
|
var PingGlobals$inboundSchema, PingGlobals$outboundSchema, PingRequest$inboundSchema, PingRequest$outboundSchema, PingResponse$inboundSchema, PingResponse$outboundSchema;
|
|
77821
77793
|
var init_ping = __esm(() => {
|
|
@@ -79739,7 +79711,6 @@ var init_operations = __esm(() => {
|
|
|
79739
79711
|
init_listtransfers();
|
|
79740
79712
|
init_listwallets();
|
|
79741
79713
|
init_listwallettransactions();
|
|
79742
|
-
init_markpaidinvoice();
|
|
79743
79714
|
init_ping();
|
|
79744
79715
|
init_registerapplepaymerchantdomains2();
|
|
79745
79716
|
init_requestcapabilities();
|
|
@@ -89671,7 +89642,10 @@ var init_imagesDelete2 = __esm(() => {
|
|
|
89671
89642
|
};
|
|
89672
89643
|
tool$imagesDelete = {
|
|
89673
89644
|
name: "images-delete",
|
|
89674
|
-
description: `
|
|
89645
|
+
description: ` Disable an image by its ID.
|
|
89646
|
+
|
|
89647
|
+
Disabled images are still be accessible via their public URL, and cannot be assigned
|
|
89648
|
+
to products or line-items.`,
|
|
89675
89649
|
args: args81,
|
|
89676
89650
|
tool: async (client, args82, ctx) => {
|
|
89677
89651
|
const [result, apiCall] = await imagesDelete(client, args82.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -91143,141 +91117,11 @@ you'll need to specify the \`/accounts/{accountID}/invoices.read\` scope.`,
|
|
|
91143
91117
|
};
|
|
91144
91118
|
});
|
|
91145
91119
|
|
|
91146
|
-
// src/funcs/invoicesMarkPaidInvoice.ts
|
|
91147
|
-
function invoicesMarkPaidInvoice(client, request, options) {
|
|
91148
|
-
return new APIPromise($do94(client, request, options));
|
|
91149
|
-
}
|
|
91150
|
-
async function $do94(client, request, options) {
|
|
91151
|
-
const parsed = safeParse4(request, (value) => MarkPaidInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91152
|
-
if (!parsed.ok) {
|
|
91153
|
-
return [parsed, { status: "invalid" }];
|
|
91154
|
-
}
|
|
91155
|
-
const payload = parsed.value;
|
|
91156
|
-
const body = encodeJSON("body", payload.MarkInvoicePaid, { explode: true });
|
|
91157
|
-
const pathParams = {
|
|
91158
|
-
accountID: encodeSimple("accountID", payload.accountID, {
|
|
91159
|
-
explode: false,
|
|
91160
|
-
charEncoding: "percent"
|
|
91161
|
-
}),
|
|
91162
|
-
invoiceID: encodeSimple("invoiceID", payload.invoiceID, {
|
|
91163
|
-
explode: false,
|
|
91164
|
-
charEncoding: "percent"
|
|
91165
|
-
})
|
|
91166
|
-
};
|
|
91167
|
-
const path = pathToFunc("/accounts/{accountID}/invoices/{invoiceID}/mark-paid")(pathParams);
|
|
91168
|
-
const headers = new Headers(compactMap({
|
|
91169
|
-
"Content-Type": "application/json",
|
|
91170
|
-
Accept: "application/json",
|
|
91171
|
-
"X-Moov-Version": encodeSimple("X-Moov-Version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
|
|
91172
|
-
}));
|
|
91173
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
91174
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
91175
|
-
const context = {
|
|
91176
|
-
options: client._options,
|
|
91177
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
91178
|
-
operationID: "markPaidInvoice",
|
|
91179
|
-
oAuth2Scopes: null,
|
|
91180
|
-
resolvedSecurity: requestSecurity,
|
|
91181
|
-
securitySource: client._options.security,
|
|
91182
|
-
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
91183
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
91184
|
-
};
|
|
91185
|
-
const requestRes = client._createRequest(context, {
|
|
91186
|
-
security: requestSecurity,
|
|
91187
|
-
method: "PUT",
|
|
91188
|
-
baseURL: options?.serverURL,
|
|
91189
|
-
path,
|
|
91190
|
-
headers,
|
|
91191
|
-
body,
|
|
91192
|
-
userAgent: client._options.userAgent,
|
|
91193
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
91194
|
-
}, options);
|
|
91195
|
-
if (!requestRes.ok) {
|
|
91196
|
-
return [requestRes, { status: "invalid" }];
|
|
91197
|
-
}
|
|
91198
|
-
const req = requestRes.value;
|
|
91199
|
-
const doResult = await client._do(req, {
|
|
91200
|
-
context,
|
|
91201
|
-
errorCodes: [
|
|
91202
|
-
"400",
|
|
91203
|
-
"401",
|
|
91204
|
-
"403",
|
|
91205
|
-
"404",
|
|
91206
|
-
"409",
|
|
91207
|
-
"422",
|
|
91208
|
-
"429",
|
|
91209
|
-
"4XX",
|
|
91210
|
-
"500",
|
|
91211
|
-
"504",
|
|
91212
|
-
"5XX"
|
|
91213
|
-
],
|
|
91214
|
-
retryConfig: context.retryConfig,
|
|
91215
|
-
retryCodes: context.retryCodes
|
|
91216
|
-
});
|
|
91217
|
-
if (!doResult.ok) {
|
|
91218
|
-
return [doResult, { status: "request-error", request: req }];
|
|
91219
|
-
}
|
|
91220
|
-
const response = doResult.value;
|
|
91221
|
-
const responseFields = {
|
|
91222
|
-
HttpMeta: { Response: response, Request: req }
|
|
91223
|
-
};
|
|
91224
|
-
const [result] = await match(json(200, MarkPaidInvoiceResponse$inboundSchema, {
|
|
91225
|
-
hdrs: true,
|
|
91226
|
-
key: "Result"
|
|
91227
|
-
}), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, MarkInvoicePaidError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
91228
|
-
if (!result.ok) {
|
|
91229
|
-
return [result, { status: "complete", request: req, response }];
|
|
91230
|
-
}
|
|
91231
|
-
return [result, { status: "complete", request: req, response }];
|
|
91232
|
-
}
|
|
91233
|
-
var init_invoicesMarkPaidInvoice = __esm(() => {
|
|
91234
|
-
init_encodings();
|
|
91235
|
-
init_matchers();
|
|
91236
|
-
init_primitives();
|
|
91237
|
-
init_schemas4();
|
|
91238
|
-
init_security();
|
|
91239
|
-
init_url();
|
|
91240
|
-
init_errors4();
|
|
91241
|
-
init_operations();
|
|
91242
|
-
init_async();
|
|
91243
|
-
});
|
|
91244
|
-
|
|
91245
|
-
// src/mcp-server/tools/invoicesMarkPaidInvoice.ts
|
|
91246
|
-
var args94, tool$invoicesMarkPaidInvoice;
|
|
91247
|
-
var init_invoicesMarkPaidInvoice2 = __esm(() => {
|
|
91248
|
-
init_invoicesMarkPaidInvoice();
|
|
91249
|
-
init_operations();
|
|
91250
|
-
init_tools();
|
|
91251
|
-
args94 = {
|
|
91252
|
-
request: MarkPaidInvoiceRequest$inboundSchema
|
|
91253
|
-
};
|
|
91254
|
-
tool$invoicesMarkPaidInvoice = {
|
|
91255
|
-
name: "invoices-mark-paid-invoice",
|
|
91256
|
-
description: `Marks an invoice as paid outside of the Moov platform.
|
|
91257
|
-
If a payment link was created, the corresponding payment link is canceled, but a receipt is still sent.
|
|
91258
|
-
|
|
91259
|
-
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91260
|
-
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
91261
|
-
args: args94,
|
|
91262
|
-
tool: async (client, args95, ctx) => {
|
|
91263
|
-
const [result, apiCall] = await invoicesMarkPaidInvoice(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91264
|
-
if (!result.ok) {
|
|
91265
|
-
return {
|
|
91266
|
-
content: [{ type: "text", text: result.error.message }],
|
|
91267
|
-
isError: true
|
|
91268
|
-
};
|
|
91269
|
-
}
|
|
91270
|
-
const value = result.value.result;
|
|
91271
|
-
return formatResult(value, apiCall);
|
|
91272
|
-
}
|
|
91273
|
-
};
|
|
91274
|
-
});
|
|
91275
|
-
|
|
91276
91120
|
// src/funcs/invoicesUpdateInvoice.ts
|
|
91277
91121
|
function invoicesUpdateInvoice(client, request, options) {
|
|
91278
|
-
return new APIPromise($
|
|
91122
|
+
return new APIPromise($do94(client, request, options));
|
|
91279
91123
|
}
|
|
91280
|
-
async function $
|
|
91124
|
+
async function $do94(client, request, options) {
|
|
91281
91125
|
const parsed = safeParse4(request, (value) => UpdateInvoiceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91282
91126
|
if (!parsed.ok) {
|
|
91283
91127
|
return [parsed, { status: "invalid" }];
|
|
@@ -91373,12 +91217,12 @@ var init_invoicesUpdateInvoice = __esm(() => {
|
|
|
91373
91217
|
});
|
|
91374
91218
|
|
|
91375
91219
|
// src/mcp-server/tools/invoicesUpdateInvoice.ts
|
|
91376
|
-
var
|
|
91220
|
+
var args94, tool$invoicesUpdateInvoice;
|
|
91377
91221
|
var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
91378
91222
|
init_invoicesUpdateInvoice();
|
|
91379
91223
|
init_operations();
|
|
91380
91224
|
init_tools();
|
|
91381
|
-
|
|
91225
|
+
args94 = {
|
|
91382
91226
|
request: UpdateInvoiceRequest$inboundSchema
|
|
91383
91227
|
};
|
|
91384
91228
|
tool$invoicesUpdateInvoice = {
|
|
@@ -91387,9 +91231,9 @@ var init_invoicesUpdateInvoice2 = __esm(() => {
|
|
|
91387
91231
|
|
|
91388
91232
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91389
91233
|
you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
91390
|
-
args:
|
|
91391
|
-
tool: async (client,
|
|
91392
|
-
const [result, apiCall] = await invoicesUpdateInvoice(client,
|
|
91234
|
+
args: args94,
|
|
91235
|
+
tool: async (client, args95, ctx) => {
|
|
91236
|
+
const [result, apiCall] = await invoicesUpdateInvoice(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91393
91237
|
if (!result.ok) {
|
|
91394
91238
|
return {
|
|
91395
91239
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91404,9 +91248,9 @@ you'll need to specify the \`/accounts/{accountID}/invoices.write\` scope.`,
|
|
|
91404
91248
|
|
|
91405
91249
|
// src/funcs/issuingTransactionsGet.ts
|
|
91406
91250
|
function issuingTransactionsGet(client, request, options) {
|
|
91407
|
-
return new APIPromise($
|
|
91251
|
+
return new APIPromise($do95(client, request, options));
|
|
91408
91252
|
}
|
|
91409
|
-
async function $
|
|
91253
|
+
async function $do95(client, request, options) {
|
|
91410
91254
|
const parsed = safeParse4(request, (value) => GetIssuedCardTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91411
91255
|
if (!parsed.ok) {
|
|
91412
91256
|
return [parsed, { status: "invalid" }];
|
|
@@ -91485,12 +91329,12 @@ var init_issuingTransactionsGet = __esm(() => {
|
|
|
91485
91329
|
});
|
|
91486
91330
|
|
|
91487
91331
|
// src/mcp-server/tools/issuingTransactionsGet.ts
|
|
91488
|
-
var
|
|
91332
|
+
var args95, tool$issuingTransactionsGet;
|
|
91489
91333
|
var init_issuingTransactionsGet2 = __esm(() => {
|
|
91490
91334
|
init_issuingTransactionsGet();
|
|
91491
91335
|
init_operations();
|
|
91492
91336
|
init_tools();
|
|
91493
|
-
|
|
91337
|
+
args95 = {
|
|
91494
91338
|
request: GetIssuedCardTransactionRequest$inboundSchema
|
|
91495
91339
|
};
|
|
91496
91340
|
tool$issuingTransactionsGet = {
|
|
@@ -91499,9 +91343,9 @@ var init_issuingTransactionsGet2 = __esm(() => {
|
|
|
91499
91343
|
|
|
91500
91344
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91501
91345
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91502
|
-
args:
|
|
91503
|
-
tool: async (client,
|
|
91504
|
-
const [result, apiCall] = await issuingTransactionsGet(client,
|
|
91346
|
+
args: args95,
|
|
91347
|
+
tool: async (client, args96, ctx) => {
|
|
91348
|
+
const [result, apiCall] = await issuingTransactionsGet(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91505
91349
|
if (!result.ok) {
|
|
91506
91350
|
return {
|
|
91507
91351
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91516,9 +91360,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91516
91360
|
|
|
91517
91361
|
// src/funcs/issuingTransactionsGetAuthorization.ts
|
|
91518
91362
|
function issuingTransactionsGetAuthorization(client, request, options) {
|
|
91519
|
-
return new APIPromise($
|
|
91363
|
+
return new APIPromise($do96(client, request, options));
|
|
91520
91364
|
}
|
|
91521
|
-
async function $
|
|
91365
|
+
async function $do96(client, request, options) {
|
|
91522
91366
|
const parsed = safeParse4(request, (value) => GetIssuedCardAuthorizationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91523
91367
|
if (!parsed.ok) {
|
|
91524
91368
|
return [parsed, { status: "invalid" }];
|
|
@@ -91600,12 +91444,12 @@ var init_issuingTransactionsGetAuthorization = __esm(() => {
|
|
|
91600
91444
|
});
|
|
91601
91445
|
|
|
91602
91446
|
// src/mcp-server/tools/issuingTransactionsGetAuthorization.ts
|
|
91603
|
-
var
|
|
91447
|
+
var args96, tool$issuingTransactionsGetAuthorization;
|
|
91604
91448
|
var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
91605
91449
|
init_issuingTransactionsGetAuthorization();
|
|
91606
91450
|
init_operations();
|
|
91607
91451
|
init_tools();
|
|
91608
|
-
|
|
91452
|
+
args96 = {
|
|
91609
91453
|
request: GetIssuedCardAuthorizationRequest$inboundSchema
|
|
91610
91454
|
};
|
|
91611
91455
|
tool$issuingTransactionsGetAuthorization = {
|
|
@@ -91614,9 +91458,9 @@ var init_issuingTransactionsGetAuthorization2 = __esm(() => {
|
|
|
91614
91458
|
|
|
91615
91459
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91616
91460
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91617
|
-
args:
|
|
91618
|
-
tool: async (client,
|
|
91619
|
-
const [result, apiCall] = await issuingTransactionsGetAuthorization(client,
|
|
91461
|
+
args: args96,
|
|
91462
|
+
tool: async (client, args97, ctx) => {
|
|
91463
|
+
const [result, apiCall] = await issuingTransactionsGetAuthorization(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91620
91464
|
if (!result.ok) {
|
|
91621
91465
|
return {
|
|
91622
91466
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91631,9 +91475,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91631
91475
|
|
|
91632
91476
|
// src/funcs/issuingTransactionsList.ts
|
|
91633
91477
|
function issuingTransactionsList(client, request, options) {
|
|
91634
|
-
return new APIPromise($
|
|
91478
|
+
return new APIPromise($do97(client, request, options));
|
|
91635
91479
|
}
|
|
91636
|
-
async function $
|
|
91480
|
+
async function $do97(client, request, options) {
|
|
91637
91481
|
const parsed = safeParse4(request, (value) => ListIssuedCardTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91638
91482
|
if (!parsed.ok) {
|
|
91639
91483
|
return [parsed, { status: "invalid" }];
|
|
@@ -91719,12 +91563,12 @@ var init_issuingTransactionsList = __esm(() => {
|
|
|
91719
91563
|
});
|
|
91720
91564
|
|
|
91721
91565
|
// src/mcp-server/tools/issuingTransactionsList.ts
|
|
91722
|
-
var
|
|
91566
|
+
var args97, tool$issuingTransactionsList;
|
|
91723
91567
|
var init_issuingTransactionsList2 = __esm(() => {
|
|
91724
91568
|
init_issuingTransactionsList();
|
|
91725
91569
|
init_operations();
|
|
91726
91570
|
init_tools();
|
|
91727
|
-
|
|
91571
|
+
args97 = {
|
|
91728
91572
|
request: ListIssuedCardTransactionsRequest$inboundSchema
|
|
91729
91573
|
};
|
|
91730
91574
|
tool$issuingTransactionsList = {
|
|
@@ -91733,9 +91577,9 @@ var init_issuingTransactionsList2 = __esm(() => {
|
|
|
91733
91577
|
|
|
91734
91578
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91735
91579
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91736
|
-
args:
|
|
91737
|
-
tool: async (client,
|
|
91738
|
-
const [result, apiCall] = await issuingTransactionsList(client,
|
|
91580
|
+
args: args97,
|
|
91581
|
+
tool: async (client, args98, ctx) => {
|
|
91582
|
+
const [result, apiCall] = await issuingTransactionsList(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91739
91583
|
if (!result.ok) {
|
|
91740
91584
|
return {
|
|
91741
91585
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91750,9 +91594,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91750
91594
|
|
|
91751
91595
|
// src/funcs/issuingTransactionsListAuthorizationEvents.ts
|
|
91752
91596
|
function issuingTransactionsListAuthorizationEvents(client, request, options) {
|
|
91753
|
-
return new APIPromise($
|
|
91597
|
+
return new APIPromise($do98(client, request, options));
|
|
91754
91598
|
}
|
|
91755
|
-
async function $
|
|
91599
|
+
async function $do98(client, request, options) {
|
|
91756
91600
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationEventsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91757
91601
|
if (!parsed.ok) {
|
|
91758
91602
|
return [parsed, { status: "invalid" }];
|
|
@@ -91836,12 +91680,12 @@ var init_issuingTransactionsListAuthorizationEvents = __esm(() => {
|
|
|
91836
91680
|
});
|
|
91837
91681
|
|
|
91838
91682
|
// src/mcp-server/tools/issuingTransactionsListAuthorizationEvents.ts
|
|
91839
|
-
var
|
|
91683
|
+
var args98, tool$issuingTransactionsListAuthorizationEvents;
|
|
91840
91684
|
var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
91841
91685
|
init_issuingTransactionsListAuthorizationEvents();
|
|
91842
91686
|
init_operations();
|
|
91843
91687
|
init_tools();
|
|
91844
|
-
|
|
91688
|
+
args98 = {
|
|
91845
91689
|
request: ListIssuedCardAuthorizationEventsRequest$inboundSchema
|
|
91846
91690
|
};
|
|
91847
91691
|
tool$issuingTransactionsListAuthorizationEvents = {
|
|
@@ -91850,9 +91694,9 @@ var init_issuingTransactionsListAuthorizationEvents2 = __esm(() => {
|
|
|
91850
91694
|
|
|
91851
91695
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91852
91696
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91853
|
-
args:
|
|
91854
|
-
tool: async (client,
|
|
91855
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client,
|
|
91697
|
+
args: args98,
|
|
91698
|
+
tool: async (client, args99, ctx) => {
|
|
91699
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizationEvents(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91856
91700
|
if (!result.ok) {
|
|
91857
91701
|
return {
|
|
91858
91702
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91867,9 +91711,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91867
91711
|
|
|
91868
91712
|
// src/funcs/issuingTransactionsListAuthorizations.ts
|
|
91869
91713
|
function issuingTransactionsListAuthorizations(client, request, options) {
|
|
91870
|
-
return new APIPromise($
|
|
91714
|
+
return new APIPromise($do99(client, request, options));
|
|
91871
91715
|
}
|
|
91872
|
-
async function $
|
|
91716
|
+
async function $do99(client, request, options) {
|
|
91873
91717
|
const parsed = safeParse4(request, (value) => ListIssuedCardAuthorizationsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91874
91718
|
if (!parsed.ok) {
|
|
91875
91719
|
return [parsed, { status: "invalid" }];
|
|
@@ -91956,12 +91800,12 @@ var init_issuingTransactionsListAuthorizations = __esm(() => {
|
|
|
91956
91800
|
});
|
|
91957
91801
|
|
|
91958
91802
|
// src/mcp-server/tools/issuingTransactionsListAuthorizations.ts
|
|
91959
|
-
var
|
|
91803
|
+
var args99, tool$issuingTransactionsListAuthorizations;
|
|
91960
91804
|
var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
91961
91805
|
init_issuingTransactionsListAuthorizations();
|
|
91962
91806
|
init_operations();
|
|
91963
91807
|
init_tools();
|
|
91964
|
-
|
|
91808
|
+
args99 = {
|
|
91965
91809
|
request: ListIssuedCardAuthorizationsRequest$inboundSchema
|
|
91966
91810
|
};
|
|
91967
91811
|
tool$issuingTransactionsListAuthorizations = {
|
|
@@ -91970,9 +91814,9 @@ var init_issuingTransactionsListAuthorizations2 = __esm(() => {
|
|
|
91970
91814
|
|
|
91971
91815
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
91972
91816
|
you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
91973
|
-
args:
|
|
91974
|
-
tool: async (client,
|
|
91975
|
-
const [result, apiCall] = await issuingTransactionsListAuthorizations(client,
|
|
91817
|
+
args: args99,
|
|
91818
|
+
tool: async (client, args100, ctx) => {
|
|
91819
|
+
const [result, apiCall] = await issuingTransactionsListAuthorizations(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
91976
91820
|
if (!result.ok) {
|
|
91977
91821
|
return {
|
|
91978
91822
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -91987,9 +91831,9 @@ you'll need to specify the \`/accounts/{accountID}/issued-cards.read\` scope.`,
|
|
|
91987
91831
|
|
|
91988
91832
|
// src/funcs/onboardingCreateInvite.ts
|
|
91989
91833
|
function onboardingCreateInvite(client, request, options) {
|
|
91990
|
-
return new APIPromise($
|
|
91834
|
+
return new APIPromise($do100(client, request, options));
|
|
91991
91835
|
}
|
|
91992
|
-
async function $
|
|
91836
|
+
async function $do100(client, request, options) {
|
|
91993
91837
|
const parsed = safeParse4(request, (value) => OnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
91994
91838
|
if (!parsed.ok) {
|
|
91995
91839
|
return [parsed, { status: "invalid" }];
|
|
@@ -92076,12 +91920,12 @@ var init_onboardingCreateInvite = __esm(() => {
|
|
|
92076
91920
|
});
|
|
92077
91921
|
|
|
92078
91922
|
// src/mcp-server/tools/onboardingCreateInvite.ts
|
|
92079
|
-
var
|
|
91923
|
+
var args100, tool$onboardingCreateInvite;
|
|
92080
91924
|
var init_onboardingCreateInvite2 = __esm(() => {
|
|
92081
91925
|
init_onboardingCreateInvite();
|
|
92082
91926
|
init_components();
|
|
92083
91927
|
init_tools();
|
|
92084
|
-
|
|
91928
|
+
args100 = {
|
|
92085
91929
|
request: OnboardingInviteRequest$inboundSchema
|
|
92086
91930
|
};
|
|
92087
91931
|
tool$onboardingCreateInvite = {
|
|
@@ -92090,9 +91934,9 @@ var init_onboardingCreateInvite2 = __esm(() => {
|
|
|
92090
91934
|
|
|
92091
91935
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92092
91936
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
92093
|
-
args:
|
|
92094
|
-
tool: async (client,
|
|
92095
|
-
const [result, apiCall] = await onboardingCreateInvite(client,
|
|
91937
|
+
args: args100,
|
|
91938
|
+
tool: async (client, args101, ctx) => {
|
|
91939
|
+
const [result, apiCall] = await onboardingCreateInvite(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92096
91940
|
if (!result.ok) {
|
|
92097
91941
|
return {
|
|
92098
91942
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92107,9 +91951,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
92107
91951
|
|
|
92108
91952
|
// src/funcs/onboardingGetInvite.ts
|
|
92109
91953
|
function onboardingGetInvite(client, request, options) {
|
|
92110
|
-
return new APIPromise($
|
|
91954
|
+
return new APIPromise($do101(client, request, options));
|
|
92111
91955
|
}
|
|
92112
|
-
async function $
|
|
91956
|
+
async function $do101(client, request, options) {
|
|
92113
91957
|
const parsed = safeParse4(request, (value) => GetOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92114
91958
|
if (!parsed.ok) {
|
|
92115
91959
|
return [parsed, { status: "invalid" }];
|
|
@@ -92187,12 +92031,12 @@ var init_onboardingGetInvite = __esm(() => {
|
|
|
92187
92031
|
});
|
|
92188
92032
|
|
|
92189
92033
|
// src/mcp-server/tools/onboardingGetInvite.ts
|
|
92190
|
-
var
|
|
92034
|
+
var args101, tool$onboardingGetInvite;
|
|
92191
92035
|
var init_onboardingGetInvite2 = __esm(() => {
|
|
92192
92036
|
init_onboardingGetInvite();
|
|
92193
92037
|
init_operations();
|
|
92194
92038
|
init_tools();
|
|
92195
|
-
|
|
92039
|
+
args101 = {
|
|
92196
92040
|
request: GetOnboardingInviteRequest$inboundSchema
|
|
92197
92041
|
};
|
|
92198
92042
|
tool$onboardingGetInvite = {
|
|
@@ -92201,9 +92045,9 @@ var init_onboardingGetInvite2 = __esm(() => {
|
|
|
92201
92045
|
|
|
92202
92046
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92203
92047
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
92204
|
-
args:
|
|
92205
|
-
tool: async (client,
|
|
92206
|
-
const [result, apiCall] = await onboardingGetInvite(client,
|
|
92048
|
+
args: args101,
|
|
92049
|
+
tool: async (client, args102, ctx) => {
|
|
92050
|
+
const [result, apiCall] = await onboardingGetInvite(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92207
92051
|
if (!result.ok) {
|
|
92208
92052
|
return {
|
|
92209
92053
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92218,9 +92062,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
92218
92062
|
|
|
92219
92063
|
// src/funcs/onboardingListInvites.ts
|
|
92220
92064
|
function onboardingListInvites(client, _request, options) {
|
|
92221
|
-
return new APIPromise($
|
|
92065
|
+
return new APIPromise($do102(client, _request, options));
|
|
92222
92066
|
}
|
|
92223
|
-
async function $
|
|
92067
|
+
async function $do102(client, _request, options) {
|
|
92224
92068
|
const path = pathToFunc("/onboarding-invites")();
|
|
92225
92069
|
const headers = new Headers(compactMap({
|
|
92226
92070
|
Accept: "application/json",
|
|
@@ -92284,12 +92128,12 @@ var init_onboardingListInvites = __esm(() => {
|
|
|
92284
92128
|
});
|
|
92285
92129
|
|
|
92286
92130
|
// src/mcp-server/tools/onboardingListInvites.ts
|
|
92287
|
-
var
|
|
92131
|
+
var args102, tool$onboardingListInvites;
|
|
92288
92132
|
var init_onboardingListInvites2 = __esm(() => {
|
|
92289
92133
|
init_onboardingListInvites();
|
|
92290
92134
|
init_operations();
|
|
92291
92135
|
init_tools();
|
|
92292
|
-
|
|
92136
|
+
args102 = {
|
|
92293
92137
|
request: ListOnboardingInvitesRequest$inboundSchema
|
|
92294
92138
|
};
|
|
92295
92139
|
tool$onboardingListInvites = {
|
|
@@ -92298,9 +92142,9 @@ var init_onboardingListInvites2 = __esm(() => {
|
|
|
92298
92142
|
|
|
92299
92143
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92300
92144
|
you'll need to specify the \`/accounts.read\` scope.`,
|
|
92301
|
-
args:
|
|
92302
|
-
tool: async (client,
|
|
92303
|
-
const [result, apiCall] = await onboardingListInvites(client,
|
|
92145
|
+
args: args102,
|
|
92146
|
+
tool: async (client, args103, ctx) => {
|
|
92147
|
+
const [result, apiCall] = await onboardingListInvites(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92304
92148
|
if (!result.ok) {
|
|
92305
92149
|
return {
|
|
92306
92150
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92315,9 +92159,9 @@ you'll need to specify the \`/accounts.read\` scope.`,
|
|
|
92315
92159
|
|
|
92316
92160
|
// src/funcs/onboardingRevokeInvite.ts
|
|
92317
92161
|
function onboardingRevokeInvite(client, request, options) {
|
|
92318
|
-
return new APIPromise($
|
|
92162
|
+
return new APIPromise($do103(client, request, options));
|
|
92319
92163
|
}
|
|
92320
|
-
async function $
|
|
92164
|
+
async function $do103(client, request, options) {
|
|
92321
92165
|
const parsed = safeParse4(request, (value) => RevokeOnboardingInviteRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92322
92166
|
if (!parsed.ok) {
|
|
92323
92167
|
return [parsed, { status: "invalid" }];
|
|
@@ -92392,12 +92236,12 @@ var init_onboardingRevokeInvite = __esm(() => {
|
|
|
92392
92236
|
});
|
|
92393
92237
|
|
|
92394
92238
|
// src/mcp-server/tools/onboardingRevokeInvite.ts
|
|
92395
|
-
var
|
|
92239
|
+
var args103, tool$onboardingRevokeInvite;
|
|
92396
92240
|
var init_onboardingRevokeInvite2 = __esm(() => {
|
|
92397
92241
|
init_onboardingRevokeInvite();
|
|
92398
92242
|
init_operations();
|
|
92399
92243
|
init_tools();
|
|
92400
|
-
|
|
92244
|
+
args103 = {
|
|
92401
92245
|
request: RevokeOnboardingInviteRequest$inboundSchema
|
|
92402
92246
|
};
|
|
92403
92247
|
tool$onboardingRevokeInvite = {
|
|
@@ -92406,9 +92250,9 @@ var init_onboardingRevokeInvite2 = __esm(() => {
|
|
|
92406
92250
|
|
|
92407
92251
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92408
92252
|
you'll need to specify the \`/accounts.write\` scope.`,
|
|
92409
|
-
args:
|
|
92410
|
-
tool: async (client,
|
|
92411
|
-
const [result, apiCall] = await onboardingRevokeInvite(client,
|
|
92253
|
+
args: args103,
|
|
92254
|
+
tool: async (client, args104, ctx) => {
|
|
92255
|
+
const [result, apiCall] = await onboardingRevokeInvite(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92412
92256
|
if (!result.ok) {
|
|
92413
92257
|
return {
|
|
92414
92258
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92422,9 +92266,9 @@ you'll need to specify the \`/accounts.write\` scope.`,
|
|
|
92422
92266
|
|
|
92423
92267
|
// src/funcs/paymentLinksCreate.ts
|
|
92424
92268
|
function paymentLinksCreate(client, request, options) {
|
|
92425
|
-
return new APIPromise($
|
|
92269
|
+
return new APIPromise($do104(client, request, options));
|
|
92426
92270
|
}
|
|
92427
|
-
async function $
|
|
92271
|
+
async function $do104(client, request, options) {
|
|
92428
92272
|
const parsed = safeParse4(request, (value) => CreatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92429
92273
|
if (!parsed.ok) {
|
|
92430
92274
|
return [parsed, { status: "invalid" }];
|
|
@@ -92516,12 +92360,12 @@ var init_paymentLinksCreate = __esm(() => {
|
|
|
92516
92360
|
});
|
|
92517
92361
|
|
|
92518
92362
|
// src/mcp-server/tools/paymentLinksCreate.ts
|
|
92519
|
-
var
|
|
92363
|
+
var args104, tool$paymentLinksCreate;
|
|
92520
92364
|
var init_paymentLinksCreate2 = __esm(() => {
|
|
92521
92365
|
init_paymentLinksCreate();
|
|
92522
92366
|
init_operations();
|
|
92523
92367
|
init_tools();
|
|
92524
|
-
|
|
92368
|
+
args104 = {
|
|
92525
92369
|
request: CreatePaymentLinkRequest$inboundSchema
|
|
92526
92370
|
};
|
|
92527
92371
|
tool$paymentLinksCreate = {
|
|
@@ -92530,9 +92374,9 @@ var init_paymentLinksCreate2 = __esm(() => {
|
|
|
92530
92374
|
|
|
92531
92375
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92532
92376
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92533
|
-
args:
|
|
92534
|
-
tool: async (client,
|
|
92535
|
-
const [result, apiCall] = await paymentLinksCreate(client,
|
|
92377
|
+
args: args104,
|
|
92378
|
+
tool: async (client, args105, ctx) => {
|
|
92379
|
+
const [result, apiCall] = await paymentLinksCreate(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92536
92380
|
if (!result.ok) {
|
|
92537
92381
|
return {
|
|
92538
92382
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92547,9 +92391,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92547
92391
|
|
|
92548
92392
|
// src/funcs/paymentLinksDisable.ts
|
|
92549
92393
|
function paymentLinksDisable(client, request, options) {
|
|
92550
|
-
return new APIPromise($
|
|
92394
|
+
return new APIPromise($do105(client, request, options));
|
|
92551
92395
|
}
|
|
92552
|
-
async function $
|
|
92396
|
+
async function $do105(client, request, options) {
|
|
92553
92397
|
const parsed = safeParse4(request, (value) => DisablePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92554
92398
|
if (!parsed.ok) {
|
|
92555
92399
|
return [parsed, { status: "invalid" }];
|
|
@@ -92630,12 +92474,12 @@ var init_paymentLinksDisable = __esm(() => {
|
|
|
92630
92474
|
});
|
|
92631
92475
|
|
|
92632
92476
|
// src/mcp-server/tools/paymentLinksDisable.ts
|
|
92633
|
-
var
|
|
92477
|
+
var args105, tool$paymentLinksDisable;
|
|
92634
92478
|
var init_paymentLinksDisable2 = __esm(() => {
|
|
92635
92479
|
init_paymentLinksDisable();
|
|
92636
92480
|
init_operations();
|
|
92637
92481
|
init_tools();
|
|
92638
|
-
|
|
92482
|
+
args105 = {
|
|
92639
92483
|
request: DisablePaymentLinkRequest$inboundSchema
|
|
92640
92484
|
};
|
|
92641
92485
|
tool$paymentLinksDisable = {
|
|
@@ -92644,9 +92488,9 @@ var init_paymentLinksDisable2 = __esm(() => {
|
|
|
92644
92488
|
|
|
92645
92489
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92646
92490
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92647
|
-
args:
|
|
92648
|
-
tool: async (client,
|
|
92649
|
-
const [result, apiCall] = await paymentLinksDisable(client,
|
|
92491
|
+
args: args105,
|
|
92492
|
+
tool: async (client, args106, ctx) => {
|
|
92493
|
+
const [result, apiCall] = await paymentLinksDisable(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92650
92494
|
if (!result.ok) {
|
|
92651
92495
|
return {
|
|
92652
92496
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92660,9 +92504,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92660
92504
|
|
|
92661
92505
|
// src/funcs/paymentLinksGet.ts
|
|
92662
92506
|
function paymentLinksGet(client, request, options) {
|
|
92663
|
-
return new APIPromise($
|
|
92507
|
+
return new APIPromise($do106(client, request, options));
|
|
92664
92508
|
}
|
|
92665
|
-
async function $
|
|
92509
|
+
async function $do106(client, request, options) {
|
|
92666
92510
|
const parsed = safeParse4(request, (value) => GetPaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92667
92511
|
if (!parsed.ok) {
|
|
92668
92512
|
return [parsed, { status: "invalid" }];
|
|
@@ -92744,12 +92588,12 @@ var init_paymentLinksGet = __esm(() => {
|
|
|
92744
92588
|
});
|
|
92745
92589
|
|
|
92746
92590
|
// src/mcp-server/tools/paymentLinksGet.ts
|
|
92747
|
-
var
|
|
92591
|
+
var args106, tool$paymentLinksGet;
|
|
92748
92592
|
var init_paymentLinksGet2 = __esm(() => {
|
|
92749
92593
|
init_paymentLinksGet();
|
|
92750
92594
|
init_operations();
|
|
92751
92595
|
init_tools();
|
|
92752
|
-
|
|
92596
|
+
args106 = {
|
|
92753
92597
|
request: GetPaymentLinkRequest$inboundSchema
|
|
92754
92598
|
};
|
|
92755
92599
|
tool$paymentLinksGet = {
|
|
@@ -92758,9 +92602,9 @@ var init_paymentLinksGet2 = __esm(() => {
|
|
|
92758
92602
|
|
|
92759
92603
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92760
92604
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
92761
|
-
args:
|
|
92762
|
-
tool: async (client,
|
|
92763
|
-
const [result, apiCall] = await paymentLinksGet(client,
|
|
92605
|
+
args: args106,
|
|
92606
|
+
tool: async (client, args107, ctx) => {
|
|
92607
|
+
const [result, apiCall] = await paymentLinksGet(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92764
92608
|
if (!result.ok) {
|
|
92765
92609
|
return {
|
|
92766
92610
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92775,9 +92619,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
92775
92619
|
|
|
92776
92620
|
// src/funcs/paymentLinksGetQRCode.ts
|
|
92777
92621
|
function paymentLinksGetQRCode(client, request, options) {
|
|
92778
|
-
return new APIPromise($
|
|
92622
|
+
return new APIPromise($do107(client, request, options));
|
|
92779
92623
|
}
|
|
92780
|
-
async function $
|
|
92624
|
+
async function $do107(client, request, options) {
|
|
92781
92625
|
const parsed = safeParse4(request, (value) => GetPaymentLinkQRCodeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92782
92626
|
if (!parsed.ok) {
|
|
92783
92627
|
return [parsed, { status: "invalid" }];
|
|
@@ -92863,12 +92707,12 @@ var init_paymentLinksGetQRCode = __esm(() => {
|
|
|
92863
92707
|
});
|
|
92864
92708
|
|
|
92865
92709
|
// src/mcp-server/tools/paymentLinksGetQRCode.ts
|
|
92866
|
-
var
|
|
92710
|
+
var args107, tool$paymentLinksGetQRCode;
|
|
92867
92711
|
var init_paymentLinksGetQRCode2 = __esm(() => {
|
|
92868
92712
|
init_paymentLinksGetQRCode();
|
|
92869
92713
|
init_operations();
|
|
92870
92714
|
init_tools();
|
|
92871
|
-
|
|
92715
|
+
args107 = {
|
|
92872
92716
|
request: GetPaymentLinkQRCodeRequest$inboundSchema
|
|
92873
92717
|
};
|
|
92874
92718
|
tool$paymentLinksGetQRCode = {
|
|
@@ -92879,9 +92723,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
92879
92723
|
|
|
92880
92724
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92881
92725
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
92882
|
-
args:
|
|
92883
|
-
tool: async (client,
|
|
92884
|
-
const [result, apiCall] = await paymentLinksGetQRCode(client,
|
|
92726
|
+
args: args107,
|
|
92727
|
+
tool: async (client, args108, ctx) => {
|
|
92728
|
+
const [result, apiCall] = await paymentLinksGetQRCode(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
92885
92729
|
if (!result.ok) {
|
|
92886
92730
|
return {
|
|
92887
92731
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -92896,9 +92740,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
92896
92740
|
|
|
92897
92741
|
// src/funcs/paymentLinksList.ts
|
|
92898
92742
|
function paymentLinksList(client, request, options) {
|
|
92899
|
-
return new APIPromise($
|
|
92743
|
+
return new APIPromise($do108(client, request, options));
|
|
92900
92744
|
}
|
|
92901
|
-
async function $
|
|
92745
|
+
async function $do108(client, request, options) {
|
|
92902
92746
|
const parsed = safeParse4(request, (value) => ListPaymentLinksRequest$outboundSchema.parse(value), "Input validation failed");
|
|
92903
92747
|
if (!parsed.ok) {
|
|
92904
92748
|
return [parsed, { status: "invalid" }];
|
|
@@ -92983,12 +92827,12 @@ var init_paymentLinksList = __esm(() => {
|
|
|
92983
92827
|
});
|
|
92984
92828
|
|
|
92985
92829
|
// src/mcp-server/tools/paymentLinksList.ts
|
|
92986
|
-
var
|
|
92830
|
+
var args108, tool$paymentLinksList;
|
|
92987
92831
|
var init_paymentLinksList2 = __esm(() => {
|
|
92988
92832
|
init_paymentLinksList();
|
|
92989
92833
|
init_operations();
|
|
92990
92834
|
init_tools();
|
|
92991
|
-
|
|
92835
|
+
args108 = {
|
|
92992
92836
|
request: ListPaymentLinksRequest$inboundSchema
|
|
92993
92837
|
};
|
|
92994
92838
|
tool$paymentLinksList = {
|
|
@@ -92997,9 +92841,9 @@ var init_paymentLinksList2 = __esm(() => {
|
|
|
92997
92841
|
|
|
92998
92842
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
92999
92843
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
93000
|
-
args:
|
|
93001
|
-
tool: async (client,
|
|
93002
|
-
const [result, apiCall] = await paymentLinksList(client,
|
|
92844
|
+
args: args108,
|
|
92845
|
+
tool: async (client, args109, ctx) => {
|
|
92846
|
+
const [result, apiCall] = await paymentLinksList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93003
92847
|
if (!result.ok) {
|
|
93004
92848
|
return {
|
|
93005
92849
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93014,9 +92858,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
93014
92858
|
|
|
93015
92859
|
// src/funcs/paymentLinksUpdate.ts
|
|
93016
92860
|
function paymentLinksUpdate(client, request, options) {
|
|
93017
|
-
return new APIPromise($
|
|
92861
|
+
return new APIPromise($do109(client, request, options));
|
|
93018
92862
|
}
|
|
93019
|
-
async function $
|
|
92863
|
+
async function $do109(client, request, options) {
|
|
93020
92864
|
const parsed = safeParse4(request, (value) => UpdatePaymentLinkRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93021
92865
|
if (!parsed.ok) {
|
|
93022
92866
|
return [parsed, { status: "invalid" }];
|
|
@@ -93112,12 +92956,12 @@ var init_paymentLinksUpdate = __esm(() => {
|
|
|
93112
92956
|
});
|
|
93113
92957
|
|
|
93114
92958
|
// src/mcp-server/tools/paymentLinksUpdate.ts
|
|
93115
|
-
var
|
|
92959
|
+
var args109, tool$paymentLinksUpdate;
|
|
93116
92960
|
var init_paymentLinksUpdate2 = __esm(() => {
|
|
93117
92961
|
init_paymentLinksUpdate();
|
|
93118
92962
|
init_operations();
|
|
93119
92963
|
init_tools();
|
|
93120
|
-
|
|
92964
|
+
args109 = {
|
|
93121
92965
|
request: UpdatePaymentLinkRequest$inboundSchema
|
|
93122
92966
|
};
|
|
93123
92967
|
tool$paymentLinksUpdate = {
|
|
@@ -93126,9 +92970,9 @@ var init_paymentLinksUpdate2 = __esm(() => {
|
|
|
93126
92970
|
|
|
93127
92971
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93128
92972
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
93129
|
-
args:
|
|
93130
|
-
tool: async (client,
|
|
93131
|
-
const [result, apiCall] = await paymentLinksUpdate(client,
|
|
92973
|
+
args: args109,
|
|
92974
|
+
tool: async (client, args110, ctx) => {
|
|
92975
|
+
const [result, apiCall] = await paymentLinksUpdate(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93132
92976
|
if (!result.ok) {
|
|
93133
92977
|
return {
|
|
93134
92978
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93143,9 +92987,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
93143
92987
|
|
|
93144
92988
|
// src/funcs/paymentMethodsGet.ts
|
|
93145
92989
|
function paymentMethodsGet(client, request, options) {
|
|
93146
|
-
return new APIPromise($
|
|
92990
|
+
return new APIPromise($do110(client, request, options));
|
|
93147
92991
|
}
|
|
93148
|
-
async function $
|
|
92992
|
+
async function $do110(client, request, options) {
|
|
93149
92993
|
const parsed = safeParse4(request, (value) => GetPaymentMethodRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93150
92994
|
if (!parsed.ok) {
|
|
93151
92995
|
return [parsed, { status: "invalid" }];
|
|
@@ -93227,12 +93071,12 @@ var init_paymentMethodsGet = __esm(() => {
|
|
|
93227
93071
|
});
|
|
93228
93072
|
|
|
93229
93073
|
// src/mcp-server/tools/paymentMethodsGet.ts
|
|
93230
|
-
var
|
|
93074
|
+
var args110, tool$paymentMethodsGet;
|
|
93231
93075
|
var init_paymentMethodsGet2 = __esm(() => {
|
|
93232
93076
|
init_paymentMethodsGet();
|
|
93233
93077
|
init_operations();
|
|
93234
93078
|
init_tools();
|
|
93235
|
-
|
|
93079
|
+
args110 = {
|
|
93236
93080
|
request: GetPaymentMethodRequest$inboundSchema
|
|
93237
93081
|
};
|
|
93238
93082
|
tool$paymentMethodsGet = {
|
|
@@ -93241,9 +93085,9 @@ var init_paymentMethodsGet2 = __esm(() => {
|
|
|
93241
93085
|
|
|
93242
93086
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93243
93087
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
93244
|
-
args:
|
|
93245
|
-
tool: async (client,
|
|
93246
|
-
const [result, apiCall] = await paymentMethodsGet(client,
|
|
93088
|
+
args: args110,
|
|
93089
|
+
tool: async (client, args111, ctx) => {
|
|
93090
|
+
const [result, apiCall] = await paymentMethodsGet(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93247
93091
|
if (!result.ok) {
|
|
93248
93092
|
return {
|
|
93249
93093
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93258,9 +93102,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
93258
93102
|
|
|
93259
93103
|
// src/funcs/paymentMethodsList.ts
|
|
93260
93104
|
function paymentMethodsList(client, request, options) {
|
|
93261
|
-
return new APIPromise($
|
|
93105
|
+
return new APIPromise($do111(client, request, options));
|
|
93262
93106
|
}
|
|
93263
|
-
async function $
|
|
93107
|
+
async function $do111(client, request, options) {
|
|
93264
93108
|
const parsed = safeParse4(request, (value) => ListPaymentMethodsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93265
93109
|
if (!parsed.ok) {
|
|
93266
93110
|
return [parsed, { status: "invalid" }];
|
|
@@ -93343,12 +93187,12 @@ var init_paymentMethodsList = __esm(() => {
|
|
|
93343
93187
|
});
|
|
93344
93188
|
|
|
93345
93189
|
// src/mcp-server/tools/paymentMethodsList.ts
|
|
93346
|
-
var
|
|
93190
|
+
var args111, tool$paymentMethodsList;
|
|
93347
93191
|
var init_paymentMethodsList2 = __esm(() => {
|
|
93348
93192
|
init_paymentMethodsList();
|
|
93349
93193
|
init_operations();
|
|
93350
93194
|
init_tools();
|
|
93351
|
-
|
|
93195
|
+
args111 = {
|
|
93352
93196
|
request: ListPaymentMethodsRequest$inboundSchema
|
|
93353
93197
|
};
|
|
93354
93198
|
tool$paymentMethodsList = {
|
|
@@ -93358,9 +93202,9 @@ guide](https://docs.moov.io/guides/money-movement/payment-methods/) to learn mor
|
|
|
93358
93202
|
|
|
93359
93203
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93360
93204
|
you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.`,
|
|
93361
|
-
args:
|
|
93362
|
-
tool: async (client,
|
|
93363
|
-
const [result, apiCall] = await paymentMethodsList(client,
|
|
93205
|
+
args: args111,
|
|
93206
|
+
tool: async (client, args112, ctx) => {
|
|
93207
|
+
const [result, apiCall] = await paymentMethodsList(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93364
93208
|
if (!result.ok) {
|
|
93365
93209
|
return {
|
|
93366
93210
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93375,9 +93219,9 @@ you'll need to specify the \`/accounts/{accountID}/payment-methods.read\` scope.
|
|
|
93375
93219
|
|
|
93376
93220
|
// src/funcs/pingPing.ts
|
|
93377
93221
|
function pingPing(client, _request, options) {
|
|
93378
|
-
return new APIPromise($
|
|
93222
|
+
return new APIPromise($do112(client, _request, options));
|
|
93379
93223
|
}
|
|
93380
|
-
async function $
|
|
93224
|
+
async function $do112(client, _request, options) {
|
|
93381
93225
|
const path = pathToFunc("/ping")();
|
|
93382
93226
|
const headers = new Headers(compactMap({
|
|
93383
93227
|
Accept: "*/*",
|
|
@@ -93440,12 +93284,12 @@ var init_pingPing = __esm(() => {
|
|
|
93440
93284
|
});
|
|
93441
93285
|
|
|
93442
93286
|
// src/mcp-server/tools/pingPing.ts
|
|
93443
|
-
var
|
|
93287
|
+
var args112, tool$pingPing;
|
|
93444
93288
|
var init_pingPing2 = __esm(() => {
|
|
93445
93289
|
init_pingPing();
|
|
93446
93290
|
init_operations();
|
|
93447
93291
|
init_tools();
|
|
93448
|
-
|
|
93292
|
+
args112 = {
|
|
93449
93293
|
request: PingRequest$inboundSchema
|
|
93450
93294
|
};
|
|
93451
93295
|
tool$pingPing = {
|
|
@@ -93454,9 +93298,9 @@ var init_pingPing2 = __esm(() => {
|
|
|
93454
93298
|
|
|
93455
93299
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
93456
93300
|
you'll need to specify the \`/ping.read\` scope.`,
|
|
93457
|
-
args:
|
|
93458
|
-
tool: async (client,
|
|
93459
|
-
const [result, apiCall] = await pingPing(client,
|
|
93301
|
+
args: args112,
|
|
93302
|
+
tool: async (client, args113, ctx) => {
|
|
93303
|
+
const [result, apiCall] = await pingPing(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93460
93304
|
if (!result.ok) {
|
|
93461
93305
|
return {
|
|
93462
93306
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93470,9 +93314,9 @@ you'll need to specify the \`/ping.read\` scope.`,
|
|
|
93470
93314
|
|
|
93471
93315
|
// src/funcs/productsCreate.ts
|
|
93472
93316
|
function productsCreate(client, request, options) {
|
|
93473
|
-
return new APIPromise($
|
|
93317
|
+
return new APIPromise($do113(client, request, options));
|
|
93474
93318
|
}
|
|
93475
|
-
async function $
|
|
93319
|
+
async function $do113(client, request, options) {
|
|
93476
93320
|
const parsed = safeParse4(request, (value) => CreateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93477
93321
|
if (!parsed.ok) {
|
|
93478
93322
|
return [parsed, { status: "invalid" }];
|
|
@@ -93566,20 +93410,20 @@ var init_productsCreate = __esm(() => {
|
|
|
93566
93410
|
});
|
|
93567
93411
|
|
|
93568
93412
|
// src/mcp-server/tools/productsCreate.ts
|
|
93569
|
-
var
|
|
93413
|
+
var args113, tool$productsCreate;
|
|
93570
93414
|
var init_productsCreate2 = __esm(() => {
|
|
93571
93415
|
init_productsCreate();
|
|
93572
93416
|
init_operations();
|
|
93573
93417
|
init_tools();
|
|
93574
|
-
|
|
93418
|
+
args113 = {
|
|
93575
93419
|
request: CreateProductRequest$inboundSchema
|
|
93576
93420
|
};
|
|
93577
93421
|
tool$productsCreate = {
|
|
93578
93422
|
name: "products-create",
|
|
93579
93423
|
description: `Creates a new product for the specified account.`,
|
|
93580
|
-
args:
|
|
93581
|
-
tool: async (client,
|
|
93582
|
-
const [result, apiCall] = await productsCreate(client,
|
|
93424
|
+
args: args113,
|
|
93425
|
+
tool: async (client, args114, ctx) => {
|
|
93426
|
+
const [result, apiCall] = await productsCreate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93583
93427
|
if (!result.ok) {
|
|
93584
93428
|
return {
|
|
93585
93429
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93594,9 +93438,9 @@ var init_productsCreate2 = __esm(() => {
|
|
|
93594
93438
|
|
|
93595
93439
|
// src/funcs/productsDisable.ts
|
|
93596
93440
|
function productsDisable(client, request, options) {
|
|
93597
|
-
return new APIPromise($
|
|
93441
|
+
return new APIPromise($do114(client, request, options));
|
|
93598
93442
|
}
|
|
93599
|
-
async function $
|
|
93443
|
+
async function $do114(client, request, options) {
|
|
93600
93444
|
const parsed = safeParse4(request, (value) => DisableProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93601
93445
|
if (!parsed.ok) {
|
|
93602
93446
|
return [parsed, { status: "invalid" }];
|
|
@@ -93689,12 +93533,12 @@ var init_productsDisable = __esm(() => {
|
|
|
93689
93533
|
});
|
|
93690
93534
|
|
|
93691
93535
|
// src/mcp-server/tools/productsDisable.ts
|
|
93692
|
-
var
|
|
93536
|
+
var args114, tool$productsDisable;
|
|
93693
93537
|
var init_productsDisable2 = __esm(() => {
|
|
93694
93538
|
init_productsDisable();
|
|
93695
93539
|
init_operations();
|
|
93696
93540
|
init_tools();
|
|
93697
|
-
|
|
93541
|
+
args114 = {
|
|
93698
93542
|
request: DisableProductRequest$inboundSchema
|
|
93699
93543
|
};
|
|
93700
93544
|
tool$productsDisable = {
|
|
@@ -93702,9 +93546,9 @@ var init_productsDisable2 = __esm(() => {
|
|
|
93702
93546
|
description: `Disable a product by ID.
|
|
93703
93547
|
|
|
93704
93548
|
The product will no longer be available, but will remain in the system for historical and reporting purposes.`,
|
|
93705
|
-
args:
|
|
93706
|
-
tool: async (client,
|
|
93707
|
-
const [result, apiCall] = await productsDisable(client,
|
|
93549
|
+
args: args114,
|
|
93550
|
+
tool: async (client, args115, ctx) => {
|
|
93551
|
+
const [result, apiCall] = await productsDisable(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93708
93552
|
if (!result.ok) {
|
|
93709
93553
|
return {
|
|
93710
93554
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93718,9 +93562,9 @@ The product will no longer be available, but will remain in the system for histo
|
|
|
93718
93562
|
|
|
93719
93563
|
// src/funcs/productsGet.ts
|
|
93720
93564
|
function productsGet(client, request, options) {
|
|
93721
|
-
return new APIPromise($
|
|
93565
|
+
return new APIPromise($do115(client, request, options));
|
|
93722
93566
|
}
|
|
93723
|
-
async function $
|
|
93567
|
+
async function $do115(client, request, options) {
|
|
93724
93568
|
const parsed = safeParse4(request, (value) => GetProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93725
93569
|
if (!parsed.ok) {
|
|
93726
93570
|
return [parsed, { status: "invalid" }];
|
|
@@ -93802,20 +93646,20 @@ var init_productsGet = __esm(() => {
|
|
|
93802
93646
|
});
|
|
93803
93647
|
|
|
93804
93648
|
// src/mcp-server/tools/productsGet.ts
|
|
93805
|
-
var
|
|
93649
|
+
var args115, tool$productsGet;
|
|
93806
93650
|
var init_productsGet2 = __esm(() => {
|
|
93807
93651
|
init_productsGet();
|
|
93808
93652
|
init_operations();
|
|
93809
93653
|
init_tools();
|
|
93810
|
-
|
|
93654
|
+
args115 = {
|
|
93811
93655
|
request: GetProductRequest$inboundSchema
|
|
93812
93656
|
};
|
|
93813
93657
|
tool$productsGet = {
|
|
93814
93658
|
name: "products-get",
|
|
93815
93659
|
description: `Retrieve a product by ID.`,
|
|
93816
|
-
args:
|
|
93817
|
-
tool: async (client,
|
|
93818
|
-
const [result, apiCall] = await productsGet(client,
|
|
93660
|
+
args: args115,
|
|
93661
|
+
tool: async (client, args116, ctx) => {
|
|
93662
|
+
const [result, apiCall] = await productsGet(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93819
93663
|
if (!result.ok) {
|
|
93820
93664
|
return {
|
|
93821
93665
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93830,9 +93674,9 @@ var init_productsGet2 = __esm(() => {
|
|
|
93830
93674
|
|
|
93831
93675
|
// src/funcs/productsList.ts
|
|
93832
93676
|
function productsList(client, request, options) {
|
|
93833
|
-
return new APIPromise($
|
|
93677
|
+
return new APIPromise($do116(client, request, options));
|
|
93834
93678
|
}
|
|
93835
|
-
async function $
|
|
93679
|
+
async function $do116(client, request, options) {
|
|
93836
93680
|
const parsed = safeParse4(request, (value) => ListProductsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93837
93681
|
if (!parsed.ok) {
|
|
93838
93682
|
return [parsed, { status: "invalid" }];
|
|
@@ -93915,20 +93759,20 @@ var init_productsList = __esm(() => {
|
|
|
93915
93759
|
});
|
|
93916
93760
|
|
|
93917
93761
|
// src/mcp-server/tools/productsList.ts
|
|
93918
|
-
var
|
|
93762
|
+
var args116, tool$productsList;
|
|
93919
93763
|
var init_productsList2 = __esm(() => {
|
|
93920
93764
|
init_productsList();
|
|
93921
93765
|
init_operations();
|
|
93922
93766
|
init_tools();
|
|
93923
|
-
|
|
93767
|
+
args116 = {
|
|
93924
93768
|
request: ListProductsRequest$inboundSchema
|
|
93925
93769
|
};
|
|
93926
93770
|
tool$productsList = {
|
|
93927
93771
|
name: "products-list",
|
|
93928
93772
|
description: `List active (non-disabled) products for an account.`,
|
|
93929
|
-
args:
|
|
93930
|
-
tool: async (client,
|
|
93931
|
-
const [result, apiCall] = await productsList(client,
|
|
93773
|
+
args: args116,
|
|
93774
|
+
tool: async (client, args117, ctx) => {
|
|
93775
|
+
const [result, apiCall] = await productsList(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
93932
93776
|
if (!result.ok) {
|
|
93933
93777
|
return {
|
|
93934
93778
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -93943,9 +93787,9 @@ var init_productsList2 = __esm(() => {
|
|
|
93943
93787
|
|
|
93944
93788
|
// src/funcs/productsUpdate.ts
|
|
93945
93789
|
function productsUpdate(client, request, options) {
|
|
93946
|
-
return new APIPromise($
|
|
93790
|
+
return new APIPromise($do117(client, request, options));
|
|
93947
93791
|
}
|
|
93948
|
-
async function $
|
|
93792
|
+
async function $do117(client, request, options) {
|
|
93949
93793
|
const parsed = safeParse4(request, (value) => UpdateProductRequest$outboundSchema.parse(value), "Input validation failed");
|
|
93950
93794
|
if (!parsed.ok) {
|
|
93951
93795
|
return [parsed, { status: "invalid" }];
|
|
@@ -94043,20 +93887,20 @@ var init_productsUpdate = __esm(() => {
|
|
|
94043
93887
|
});
|
|
94044
93888
|
|
|
94045
93889
|
// src/mcp-server/tools/productsUpdate.ts
|
|
94046
|
-
var
|
|
93890
|
+
var args117, tool$productsUpdate;
|
|
94047
93891
|
var init_productsUpdate2 = __esm(() => {
|
|
94048
93892
|
init_productsUpdate();
|
|
94049
93893
|
init_operations();
|
|
94050
93894
|
init_tools();
|
|
94051
|
-
|
|
93895
|
+
args117 = {
|
|
94052
93896
|
request: UpdateProductRequest$inboundSchema
|
|
94053
93897
|
};
|
|
94054
93898
|
tool$productsUpdate = {
|
|
94055
93899
|
name: "products-update",
|
|
94056
93900
|
description: `Update a product and its options.`,
|
|
94057
|
-
args:
|
|
94058
|
-
tool: async (client,
|
|
94059
|
-
const [result, apiCall] = await productsUpdate(client,
|
|
93901
|
+
args: args117,
|
|
93902
|
+
tool: async (client, args118, ctx) => {
|
|
93903
|
+
const [result, apiCall] = await productsUpdate(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94060
93904
|
if (!result.ok) {
|
|
94061
93905
|
return {
|
|
94062
93906
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94071,9 +93915,9 @@ var init_productsUpdate2 = __esm(() => {
|
|
|
94071
93915
|
|
|
94072
93916
|
// src/funcs/receiptsCreate.ts
|
|
94073
93917
|
function receiptsCreate(client, request, options) {
|
|
94074
|
-
return new APIPromise($
|
|
93918
|
+
return new APIPromise($do118(client, request, options));
|
|
94075
93919
|
}
|
|
94076
|
-
async function $
|
|
93920
|
+
async function $do118(client, request, options) {
|
|
94077
93921
|
const parsed = safeParse4(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
|
|
94078
93922
|
if (!parsed.ok) {
|
|
94079
93923
|
return [parsed, { status: "invalid" }];
|
|
@@ -94161,13 +94005,13 @@ var init_receiptsCreate = __esm(() => {
|
|
|
94161
94005
|
});
|
|
94162
94006
|
|
|
94163
94007
|
// src/mcp-server/tools/receiptsCreate.ts
|
|
94164
|
-
var
|
|
94008
|
+
var args118, tool$receiptsCreate;
|
|
94165
94009
|
var init_receiptsCreate2 = __esm(() => {
|
|
94166
94010
|
init_esm();
|
|
94167
94011
|
init_receiptsCreate();
|
|
94168
94012
|
init_components();
|
|
94169
94013
|
init_tools();
|
|
94170
|
-
|
|
94014
|
+
args118 = {
|
|
94171
94015
|
request: arrayType(ReceiptRequest$inboundSchema)
|
|
94172
94016
|
};
|
|
94173
94017
|
tool$receiptsCreate = {
|
|
@@ -94176,9 +94020,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
94176
94020
|
|
|
94177
94021
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94178
94022
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
94179
|
-
args:
|
|
94180
|
-
tool: async (client,
|
|
94181
|
-
const [result, apiCall] = await receiptsCreate(client,
|
|
94023
|
+
args: args118,
|
|
94024
|
+
tool: async (client, args119, ctx) => {
|
|
94025
|
+
const [result, apiCall] = await receiptsCreate(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94182
94026
|
if (!result.ok) {
|
|
94183
94027
|
return {
|
|
94184
94028
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94193,9 +94037,9 @@ var init_receiptsCreate2 = __esm(() => {
|
|
|
94193
94037
|
|
|
94194
94038
|
// src/funcs/receiptsList.ts
|
|
94195
94039
|
function receiptsList(client, request, options) {
|
|
94196
|
-
return new APIPromise($
|
|
94040
|
+
return new APIPromise($do119(client, request, options));
|
|
94197
94041
|
}
|
|
94198
|
-
async function $
|
|
94042
|
+
async function $do119(client, request, options) {
|
|
94199
94043
|
const parsed = safeParse4(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94200
94044
|
if (!parsed.ok) {
|
|
94201
94045
|
return [parsed, { status: "invalid" }];
|
|
@@ -94271,12 +94115,12 @@ var init_receiptsList = __esm(() => {
|
|
|
94271
94115
|
});
|
|
94272
94116
|
|
|
94273
94117
|
// src/mcp-server/tools/receiptsList.ts
|
|
94274
|
-
var
|
|
94118
|
+
var args119, tool$receiptsList;
|
|
94275
94119
|
var init_receiptsList2 = __esm(() => {
|
|
94276
94120
|
init_receiptsList();
|
|
94277
94121
|
init_operations();
|
|
94278
94122
|
init_tools();
|
|
94279
|
-
|
|
94123
|
+
args119 = {
|
|
94280
94124
|
request: ListReceiptsRequest$inboundSchema
|
|
94281
94125
|
};
|
|
94282
94126
|
tool$receiptsList = {
|
|
@@ -94285,9 +94129,9 @@ var init_receiptsList2 = __esm(() => {
|
|
|
94285
94129
|
|
|
94286
94130
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94287
94131
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
94288
|
-
args:
|
|
94289
|
-
tool: async (client,
|
|
94290
|
-
const [result, apiCall] = await receiptsList(client,
|
|
94132
|
+
args: args119,
|
|
94133
|
+
tool: async (client, args120, ctx) => {
|
|
94134
|
+
const [result, apiCall] = await receiptsList(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94291
94135
|
if (!result.ok) {
|
|
94292
94136
|
return {
|
|
94293
94137
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94302,9 +94146,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
94302
94146
|
|
|
94303
94147
|
// src/funcs/representativesCreate.ts
|
|
94304
94148
|
function representativesCreate(client, request, options) {
|
|
94305
|
-
return new APIPromise($
|
|
94149
|
+
return new APIPromise($do120(client, request, options));
|
|
94306
94150
|
}
|
|
94307
|
-
async function $
|
|
94151
|
+
async function $do120(client, request, options) {
|
|
94308
94152
|
const parsed = safeParse4(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94309
94153
|
if (!parsed.ok) {
|
|
94310
94154
|
return [parsed, { status: "invalid" }];
|
|
@@ -94400,12 +94244,12 @@ var init_representativesCreate = __esm(() => {
|
|
|
94400
94244
|
});
|
|
94401
94245
|
|
|
94402
94246
|
// src/mcp-server/tools/representativesCreate.ts
|
|
94403
|
-
var
|
|
94247
|
+
var args120, tool$representativesCreate;
|
|
94404
94248
|
var init_representativesCreate2 = __esm(() => {
|
|
94405
94249
|
init_representativesCreate();
|
|
94406
94250
|
init_operations();
|
|
94407
94251
|
init_tools();
|
|
94408
|
-
|
|
94252
|
+
args120 = {
|
|
94409
94253
|
request: CreateRepresentativeRequest$inboundSchema
|
|
94410
94254
|
};
|
|
94411
94255
|
tool$representativesCreate = {
|
|
@@ -94416,9 +94260,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
94416
94260
|
|
|
94417
94261
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94418
94262
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
94419
|
-
args:
|
|
94420
|
-
tool: async (client,
|
|
94421
|
-
const [result, apiCall] = await representativesCreate(client,
|
|
94263
|
+
args: args120,
|
|
94264
|
+
tool: async (client, args121, ctx) => {
|
|
94265
|
+
const [result, apiCall] = await representativesCreate(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94422
94266
|
if (!result.ok) {
|
|
94423
94267
|
return {
|
|
94424
94268
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94433,9 +94277,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
94433
94277
|
|
|
94434
94278
|
// src/funcs/representativesDelete.ts
|
|
94435
94279
|
function representativesDelete(client, request, options) {
|
|
94436
|
-
return new APIPromise($
|
|
94280
|
+
return new APIPromise($do121(client, request, options));
|
|
94437
94281
|
}
|
|
94438
|
-
async function $
|
|
94282
|
+
async function $do121(client, request, options) {
|
|
94439
94283
|
const parsed = safeParse4(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94440
94284
|
if (!parsed.ok) {
|
|
94441
94285
|
return [parsed, { status: "invalid" }];
|
|
@@ -94523,12 +94367,12 @@ var init_representativesDelete = __esm(() => {
|
|
|
94523
94367
|
});
|
|
94524
94368
|
|
|
94525
94369
|
// src/mcp-server/tools/representativesDelete.ts
|
|
94526
|
-
var
|
|
94370
|
+
var args121, tool$representativesDelete;
|
|
94527
94371
|
var init_representativesDelete2 = __esm(() => {
|
|
94528
94372
|
init_representativesDelete();
|
|
94529
94373
|
init_operations();
|
|
94530
94374
|
init_tools();
|
|
94531
|
-
|
|
94375
|
+
args121 = {
|
|
94532
94376
|
request: DeleteRepresentativeRequest$inboundSchema
|
|
94533
94377
|
};
|
|
94534
94378
|
tool$representativesDelete = {
|
|
@@ -94537,9 +94381,9 @@ var init_representativesDelete2 = __esm(() => {
|
|
|
94537
94381
|
|
|
94538
94382
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94539
94383
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
94540
|
-
args:
|
|
94541
|
-
tool: async (client,
|
|
94542
|
-
const [result, apiCall] = await representativesDelete(client,
|
|
94384
|
+
args: args121,
|
|
94385
|
+
tool: async (client, args122, ctx) => {
|
|
94386
|
+
const [result, apiCall] = await representativesDelete(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94543
94387
|
if (!result.ok) {
|
|
94544
94388
|
return {
|
|
94545
94389
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94553,9 +94397,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
94553
94397
|
|
|
94554
94398
|
// src/funcs/representativesGet.ts
|
|
94555
94399
|
function representativesGet(client, request, options) {
|
|
94556
|
-
return new APIPromise($
|
|
94400
|
+
return new APIPromise($do122(client, request, options));
|
|
94557
94401
|
}
|
|
94558
|
-
async function $
|
|
94402
|
+
async function $do122(client, request, options) {
|
|
94559
94403
|
const parsed = safeParse4(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94560
94404
|
if (!parsed.ok) {
|
|
94561
94405
|
return [parsed, { status: "invalid" }];
|
|
@@ -94634,12 +94478,12 @@ var init_representativesGet = __esm(() => {
|
|
|
94634
94478
|
});
|
|
94635
94479
|
|
|
94636
94480
|
// src/mcp-server/tools/representativesGet.ts
|
|
94637
|
-
var
|
|
94481
|
+
var args122, tool$representativesGet;
|
|
94638
94482
|
var init_representativesGet2 = __esm(() => {
|
|
94639
94483
|
init_representativesGet();
|
|
94640
94484
|
init_operations();
|
|
94641
94485
|
init_tools();
|
|
94642
|
-
|
|
94486
|
+
args122 = {
|
|
94643
94487
|
request: GetRepresentativeRequest$inboundSchema
|
|
94644
94488
|
};
|
|
94645
94489
|
tool$representativesGet = {
|
|
@@ -94648,9 +94492,9 @@ var init_representativesGet2 = __esm(() => {
|
|
|
94648
94492
|
|
|
94649
94493
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94650
94494
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
94651
|
-
args:
|
|
94652
|
-
tool: async (client,
|
|
94653
|
-
const [result, apiCall] = await representativesGet(client,
|
|
94495
|
+
args: args122,
|
|
94496
|
+
tool: async (client, args123, ctx) => {
|
|
94497
|
+
const [result, apiCall] = await representativesGet(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94654
94498
|
if (!result.ok) {
|
|
94655
94499
|
return {
|
|
94656
94500
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94665,9 +94509,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
94665
94509
|
|
|
94666
94510
|
// src/funcs/representativesList.ts
|
|
94667
94511
|
function representativesList(client, request, options) {
|
|
94668
|
-
return new APIPromise($
|
|
94512
|
+
return new APIPromise($do123(client, request, options));
|
|
94669
94513
|
}
|
|
94670
|
-
async function $
|
|
94514
|
+
async function $do123(client, request, options) {
|
|
94671
94515
|
const parsed = safeParse4(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94672
94516
|
if (!parsed.ok) {
|
|
94673
94517
|
return [parsed, { status: "invalid" }];
|
|
@@ -94745,12 +94589,12 @@ var init_representativesList = __esm(() => {
|
|
|
94745
94589
|
});
|
|
94746
94590
|
|
|
94747
94591
|
// src/mcp-server/tools/representativesList.ts
|
|
94748
|
-
var
|
|
94592
|
+
var args123, tool$representativesList;
|
|
94749
94593
|
var init_representativesList2 = __esm(() => {
|
|
94750
94594
|
init_representativesList();
|
|
94751
94595
|
init_operations();
|
|
94752
94596
|
init_tools();
|
|
94753
|
-
|
|
94597
|
+
args123 = {
|
|
94754
94598
|
request: ListRepresentativesRequest$inboundSchema
|
|
94755
94599
|
};
|
|
94756
94600
|
tool$representativesList = {
|
|
@@ -94762,9 +94606,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
|
|
|
94762
94606
|
|
|
94763
94607
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94764
94608
|
you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
|
|
94765
|
-
args:
|
|
94766
|
-
tool: async (client,
|
|
94767
|
-
const [result, apiCall] = await representativesList(client,
|
|
94609
|
+
args: args123,
|
|
94610
|
+
tool: async (client, args124, ctx) => {
|
|
94611
|
+
const [result, apiCall] = await representativesList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94768
94612
|
if (!result.ok) {
|
|
94769
94613
|
return {
|
|
94770
94614
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94779,9 +94623,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
|
|
|
94779
94623
|
|
|
94780
94624
|
// src/funcs/representativesUpdate.ts
|
|
94781
94625
|
function representativesUpdate(client, request, options) {
|
|
94782
|
-
return new APIPromise($
|
|
94626
|
+
return new APIPromise($do124(client, request, options));
|
|
94783
94627
|
}
|
|
94784
|
-
async function $
|
|
94628
|
+
async function $do124(client, request, options) {
|
|
94785
94629
|
const parsed = safeParse4(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94786
94630
|
if (!parsed.ok) {
|
|
94787
94631
|
return [parsed, { status: "invalid" }];
|
|
@@ -94875,12 +94719,12 @@ var init_representativesUpdate = __esm(() => {
|
|
|
94875
94719
|
});
|
|
94876
94720
|
|
|
94877
94721
|
// src/mcp-server/tools/representativesUpdate.ts
|
|
94878
|
-
var
|
|
94722
|
+
var args124, tool$representativesUpdate;
|
|
94879
94723
|
var init_representativesUpdate2 = __esm(() => {
|
|
94880
94724
|
init_representativesUpdate();
|
|
94881
94725
|
init_operations();
|
|
94882
94726
|
init_tools();
|
|
94883
|
-
|
|
94727
|
+
args124 = {
|
|
94884
94728
|
request: UpdateRepresentativeRequest$inboundSchema
|
|
94885
94729
|
};
|
|
94886
94730
|
tool$representativesUpdate = {
|
|
@@ -94902,9 +94746,9 @@ If you need to update information in a locked state, please contact Moov support
|
|
|
94902
94746
|
|
|
94903
94747
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
94904
94748
|
you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
|
|
94905
|
-
args:
|
|
94906
|
-
tool: async (client,
|
|
94907
|
-
const [result, apiCall] = await representativesUpdate(client,
|
|
94749
|
+
args: args124,
|
|
94750
|
+
tool: async (client, args125, ctx) => {
|
|
94751
|
+
const [result, apiCall] = await representativesUpdate(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
94908
94752
|
if (!result.ok) {
|
|
94909
94753
|
return {
|
|
94910
94754
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -94919,9 +94763,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
|
|
|
94919
94763
|
|
|
94920
94764
|
// src/funcs/schedulingCancel.ts
|
|
94921
94765
|
function schedulingCancel(client, request, options) {
|
|
94922
|
-
return new APIPromise($
|
|
94766
|
+
return new APIPromise($do125(client, request, options));
|
|
94923
94767
|
}
|
|
94924
|
-
async function $
|
|
94768
|
+
async function $do125(client, request, options) {
|
|
94925
94769
|
const parsed = safeParse4(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
94926
94770
|
if (!parsed.ok) {
|
|
94927
94771
|
return [parsed, { status: "invalid" }];
|
|
@@ -95014,12 +94858,12 @@ var init_schedulingCancel = __esm(() => {
|
|
|
95014
94858
|
});
|
|
95015
94859
|
|
|
95016
94860
|
// src/mcp-server/tools/schedulingCancel.ts
|
|
95017
|
-
var
|
|
94861
|
+
var args125, tool$schedulingCancel;
|
|
95018
94862
|
var init_schedulingCancel2 = __esm(() => {
|
|
95019
94863
|
init_schedulingCancel();
|
|
95020
94864
|
init_operations();
|
|
95021
94865
|
init_tools();
|
|
95022
|
-
|
|
94866
|
+
args125 = {
|
|
95023
94867
|
request: CancelScheduleRequest$inboundSchema
|
|
95024
94868
|
};
|
|
95025
94869
|
tool$schedulingCancel = {
|
|
@@ -95028,9 +94872,9 @@ var init_schedulingCancel2 = __esm(() => {
|
|
|
95028
94872
|
|
|
95029
94873
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95030
94874
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95031
|
-
args:
|
|
95032
|
-
tool: async (client,
|
|
95033
|
-
const [result, apiCall] = await schedulingCancel(client,
|
|
94875
|
+
args: args125,
|
|
94876
|
+
tool: async (client, args126, ctx) => {
|
|
94877
|
+
const [result, apiCall] = await schedulingCancel(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95034
94878
|
if (!result.ok) {
|
|
95035
94879
|
return {
|
|
95036
94880
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95044,9 +94888,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95044
94888
|
|
|
95045
94889
|
// src/funcs/schedulingCreate.ts
|
|
95046
94890
|
function schedulingCreate(client, request, options) {
|
|
95047
|
-
return new APIPromise($
|
|
94891
|
+
return new APIPromise($do126(client, request, options));
|
|
95048
94892
|
}
|
|
95049
|
-
async function $
|
|
94893
|
+
async function $do126(client, request, options) {
|
|
95050
94894
|
const parsed = safeParse4(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95051
94895
|
if (!parsed.ok) {
|
|
95052
94896
|
return [parsed, { status: "invalid" }];
|
|
@@ -95140,12 +94984,12 @@ var init_schedulingCreate = __esm(() => {
|
|
|
95140
94984
|
});
|
|
95141
94985
|
|
|
95142
94986
|
// src/mcp-server/tools/schedulingCreate.ts
|
|
95143
|
-
var
|
|
94987
|
+
var args126, tool$schedulingCreate;
|
|
95144
94988
|
var init_schedulingCreate2 = __esm(() => {
|
|
95145
94989
|
init_schedulingCreate();
|
|
95146
94990
|
init_operations();
|
|
95147
94991
|
init_tools();
|
|
95148
|
-
|
|
94992
|
+
args126 = {
|
|
95149
94993
|
request: CreateScheduleRequest$inboundSchema
|
|
95150
94994
|
};
|
|
95151
94995
|
tool$schedulingCreate = {
|
|
@@ -95154,9 +94998,9 @@ var init_schedulingCreate2 = __esm(() => {
|
|
|
95154
94998
|
|
|
95155
94999
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95156
95000
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95157
|
-
args:
|
|
95158
|
-
tool: async (client,
|
|
95159
|
-
const [result, apiCall] = await schedulingCreate(client,
|
|
95001
|
+
args: args126,
|
|
95002
|
+
tool: async (client, args127, ctx) => {
|
|
95003
|
+
const [result, apiCall] = await schedulingCreate(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95160
95004
|
if (!result.ok) {
|
|
95161
95005
|
return {
|
|
95162
95006
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95171,9 +95015,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95171
95015
|
|
|
95172
95016
|
// src/funcs/schedulingGet.ts
|
|
95173
95017
|
function schedulingGet(client, request, options) {
|
|
95174
|
-
return new APIPromise($
|
|
95018
|
+
return new APIPromise($do127(client, request, options));
|
|
95175
95019
|
}
|
|
95176
|
-
async function $
|
|
95020
|
+
async function $do127(client, request, options) {
|
|
95177
95021
|
const parsed = safeParse4(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95178
95022
|
if (!parsed.ok) {
|
|
95179
95023
|
return [parsed, { status: "invalid" }];
|
|
@@ -95255,12 +95099,12 @@ var init_schedulingGet = __esm(() => {
|
|
|
95255
95099
|
});
|
|
95256
95100
|
|
|
95257
95101
|
// src/mcp-server/tools/schedulingGet.ts
|
|
95258
|
-
var
|
|
95102
|
+
var args127, tool$schedulingGet;
|
|
95259
95103
|
var init_schedulingGet2 = __esm(() => {
|
|
95260
95104
|
init_schedulingGet();
|
|
95261
95105
|
init_operations();
|
|
95262
95106
|
init_tools();
|
|
95263
|
-
|
|
95107
|
+
args127 = {
|
|
95264
95108
|
request: GetSchedulesRequest$inboundSchema
|
|
95265
95109
|
};
|
|
95266
95110
|
tool$schedulingGet = {
|
|
@@ -95269,9 +95113,9 @@ var init_schedulingGet2 = __esm(() => {
|
|
|
95269
95113
|
|
|
95270
95114
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95271
95115
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95272
|
-
args:
|
|
95273
|
-
tool: async (client,
|
|
95274
|
-
const [result, apiCall] = await schedulingGet(client,
|
|
95116
|
+
args: args127,
|
|
95117
|
+
tool: async (client, args128, ctx) => {
|
|
95118
|
+
const [result, apiCall] = await schedulingGet(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95275
95119
|
if (!result.ok) {
|
|
95276
95120
|
return {
|
|
95277
95121
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95286,9 +95130,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95286
95130
|
|
|
95287
95131
|
// src/funcs/schedulingGetOccurrance.ts
|
|
95288
95132
|
function schedulingGetOccurrance(client, request, options) {
|
|
95289
|
-
return new APIPromise($
|
|
95133
|
+
return new APIPromise($do128(client, request, options));
|
|
95290
95134
|
}
|
|
95291
|
-
async function $
|
|
95135
|
+
async function $do128(client, request, options) {
|
|
95292
95136
|
const parsed = safeParse4(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95293
95137
|
if (!parsed.ok) {
|
|
95294
95138
|
return [parsed, { status: "invalid" }];
|
|
@@ -95371,12 +95215,12 @@ var init_schedulingGetOccurrance = __esm(() => {
|
|
|
95371
95215
|
});
|
|
95372
95216
|
|
|
95373
95217
|
// src/mcp-server/tools/schedulingGetOccurrance.ts
|
|
95374
|
-
var
|
|
95218
|
+
var args128, tool$schedulingGetOccurrance;
|
|
95375
95219
|
var init_schedulingGetOccurrance2 = __esm(() => {
|
|
95376
95220
|
init_schedulingGetOccurrance();
|
|
95377
95221
|
init_operations();
|
|
95378
95222
|
init_tools();
|
|
95379
|
-
|
|
95223
|
+
args128 = {
|
|
95380
95224
|
request: GetScheduledOccurrenceRequest$inboundSchema
|
|
95381
95225
|
};
|
|
95382
95226
|
tool$schedulingGetOccurrance = {
|
|
@@ -95385,9 +95229,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
|
|
|
95385
95229
|
|
|
95386
95230
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95387
95231
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95388
|
-
args:
|
|
95389
|
-
tool: async (client,
|
|
95390
|
-
const [result, apiCall] = await schedulingGetOccurrance(client,
|
|
95232
|
+
args: args128,
|
|
95233
|
+
tool: async (client, args129, ctx) => {
|
|
95234
|
+
const [result, apiCall] = await schedulingGetOccurrance(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95391
95235
|
if (!result.ok) {
|
|
95392
95236
|
return {
|
|
95393
95237
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95402,9 +95246,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95402
95246
|
|
|
95403
95247
|
// src/funcs/schedulingList.ts
|
|
95404
95248
|
function schedulingList(client, request, options) {
|
|
95405
|
-
return new APIPromise($
|
|
95249
|
+
return new APIPromise($do129(client, request, options));
|
|
95406
95250
|
}
|
|
95407
|
-
async function $
|
|
95251
|
+
async function $do129(client, request, options) {
|
|
95408
95252
|
const parsed = safeParse4(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95409
95253
|
if (!parsed.ok) {
|
|
95410
95254
|
return [parsed, { status: "invalid" }];
|
|
@@ -95488,12 +95332,12 @@ var init_schedulingList = __esm(() => {
|
|
|
95488
95332
|
});
|
|
95489
95333
|
|
|
95490
95334
|
// src/mcp-server/tools/schedulingList.ts
|
|
95491
|
-
var
|
|
95335
|
+
var args129, tool$schedulingList;
|
|
95492
95336
|
var init_schedulingList2 = __esm(() => {
|
|
95493
95337
|
init_schedulingList();
|
|
95494
95338
|
init_operations();
|
|
95495
95339
|
init_tools();
|
|
95496
|
-
|
|
95340
|
+
args129 = {
|
|
95497
95341
|
request: ListSchedulesRequest$inboundSchema
|
|
95498
95342
|
};
|
|
95499
95343
|
tool$schedulingList = {
|
|
@@ -95502,9 +95346,9 @@ var init_schedulingList2 = __esm(() => {
|
|
|
95502
95346
|
|
|
95503
95347
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95504
95348
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
95505
|
-
args:
|
|
95506
|
-
tool: async (client,
|
|
95507
|
-
const [result, apiCall] = await schedulingList(client,
|
|
95349
|
+
args: args129,
|
|
95350
|
+
tool: async (client, args130, ctx) => {
|
|
95351
|
+
const [result, apiCall] = await schedulingList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95508
95352
|
if (!result.ok) {
|
|
95509
95353
|
return {
|
|
95510
95354
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95519,9 +95363,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
95519
95363
|
|
|
95520
95364
|
// src/funcs/schedulingUpdate.ts
|
|
95521
95365
|
function schedulingUpdate(client, request, options) {
|
|
95522
|
-
return new APIPromise($
|
|
95366
|
+
return new APIPromise($do130(client, request, options));
|
|
95523
95367
|
}
|
|
95524
|
-
async function $
|
|
95368
|
+
async function $do130(client, request, options) {
|
|
95525
95369
|
const parsed = safeParse4(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95526
95370
|
if (!parsed.ok) {
|
|
95527
95371
|
return [parsed, { status: "invalid" }];
|
|
@@ -95619,12 +95463,12 @@ var init_schedulingUpdate = __esm(() => {
|
|
|
95619
95463
|
});
|
|
95620
95464
|
|
|
95621
95465
|
// src/mcp-server/tools/schedulingUpdate.ts
|
|
95622
|
-
var
|
|
95466
|
+
var args130, tool$schedulingUpdate;
|
|
95623
95467
|
var init_schedulingUpdate2 = __esm(() => {
|
|
95624
95468
|
init_schedulingUpdate();
|
|
95625
95469
|
init_operations();
|
|
95626
95470
|
init_tools();
|
|
95627
|
-
|
|
95471
|
+
args130 = {
|
|
95628
95472
|
request: UpdateScheduleRequest$inboundSchema
|
|
95629
95473
|
};
|
|
95630
95474
|
tool$schedulingUpdate = {
|
|
@@ -95633,9 +95477,9 @@ var init_schedulingUpdate2 = __esm(() => {
|
|
|
95633
95477
|
|
|
95634
95478
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95635
95479
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
95636
|
-
args:
|
|
95637
|
-
tool: async (client,
|
|
95638
|
-
const [result, apiCall] = await schedulingUpdate(client,
|
|
95480
|
+
args: args130,
|
|
95481
|
+
tool: async (client, args131, ctx) => {
|
|
95482
|
+
const [result, apiCall] = await schedulingUpdate(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95639
95483
|
if (!result.ok) {
|
|
95640
95484
|
return {
|
|
95641
95485
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95650,9 +95494,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
95650
95494
|
|
|
95651
95495
|
// src/funcs/statementsGet.ts
|
|
95652
95496
|
function statementsGet(client, request, options) {
|
|
95653
|
-
return new APIPromise($
|
|
95497
|
+
return new APIPromise($do131(client, request, options));
|
|
95654
95498
|
}
|
|
95655
|
-
async function $
|
|
95499
|
+
async function $do131(client, request, options) {
|
|
95656
95500
|
const parsed = safeParse4(request, (value) => GetStatementRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95657
95501
|
if (!parsed.ok) {
|
|
95658
95502
|
return [parsed, { status: "invalid" }];
|
|
@@ -95738,12 +95582,12 @@ var init_statementsGet = __esm(() => {
|
|
|
95738
95582
|
});
|
|
95739
95583
|
|
|
95740
95584
|
// src/mcp-server/tools/statementsGet.ts
|
|
95741
|
-
var
|
|
95585
|
+
var args131, tool$statementsGet;
|
|
95742
95586
|
var init_statementsGet2 = __esm(() => {
|
|
95743
95587
|
init_statementsGet();
|
|
95744
95588
|
init_operations();
|
|
95745
95589
|
init_tools();
|
|
95746
|
-
|
|
95590
|
+
args131 = {
|
|
95747
95591
|
request: GetStatementRequest$inboundSchema
|
|
95748
95592
|
};
|
|
95749
95593
|
tool$statementsGet = {
|
|
@@ -95754,9 +95598,9 @@ Use the \`Accept\` header to specify the format of the response. Supported forma
|
|
|
95754
95598
|
|
|
95755
95599
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95756
95600
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
95757
|
-
args:
|
|
95758
|
-
tool: async (client,
|
|
95759
|
-
const [result, apiCall] = await statementsGet(client,
|
|
95601
|
+
args: args131,
|
|
95602
|
+
tool: async (client, args132, ctx) => {
|
|
95603
|
+
const [result, apiCall] = await statementsGet(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95760
95604
|
if (!result.ok) {
|
|
95761
95605
|
return {
|
|
95762
95606
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95771,9 +95615,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
95771
95615
|
|
|
95772
95616
|
// src/funcs/statementsList.ts
|
|
95773
95617
|
function statementsList(client, request, options) {
|
|
95774
|
-
return new APIPromise($
|
|
95618
|
+
return new APIPromise($do132(client, request, options));
|
|
95775
95619
|
}
|
|
95776
|
-
async function $
|
|
95620
|
+
async function $do132(client, request, options) {
|
|
95777
95621
|
const parsed = safeParse4(request, (value) => ListStatementsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95778
95622
|
if (!parsed.ok) {
|
|
95779
95623
|
return [parsed, { status: "invalid" }];
|
|
@@ -95859,12 +95703,12 @@ var init_statementsList = __esm(() => {
|
|
|
95859
95703
|
});
|
|
95860
95704
|
|
|
95861
95705
|
// src/mcp-server/tools/statementsList.ts
|
|
95862
|
-
var
|
|
95706
|
+
var args132, tool$statementsList;
|
|
95863
95707
|
var init_statementsList2 = __esm(() => {
|
|
95864
95708
|
init_statementsList();
|
|
95865
95709
|
init_operations();
|
|
95866
95710
|
init_tools();
|
|
95867
|
-
|
|
95711
|
+
args132 = {
|
|
95868
95712
|
request: ListStatementsRequest$inboundSchema
|
|
95869
95713
|
};
|
|
95870
95714
|
tool$statementsList = {
|
|
@@ -95873,9 +95717,9 @@ var init_statementsList2 = __esm(() => {
|
|
|
95873
95717
|
|
|
95874
95718
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
95875
95719
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
95876
|
-
args:
|
|
95877
|
-
tool: async (client,
|
|
95878
|
-
const [result, apiCall] = await statementsList(client,
|
|
95720
|
+
args: args132,
|
|
95721
|
+
tool: async (client, args133, ctx) => {
|
|
95722
|
+
const [result, apiCall] = await statementsList(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
95879
95723
|
if (!result.ok) {
|
|
95880
95724
|
return {
|
|
95881
95725
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -95890,9 +95734,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
95890
95734
|
|
|
95891
95735
|
// src/funcs/supportCreateTicket.ts
|
|
95892
95736
|
function supportCreateTicket(client, request, options) {
|
|
95893
|
-
return new APIPromise($
|
|
95737
|
+
return new APIPromise($do133(client, request, options));
|
|
95894
95738
|
}
|
|
95895
|
-
async function $
|
|
95739
|
+
async function $do133(client, request, options) {
|
|
95896
95740
|
const parsed = safeParse4(request, (value) => CreateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
95897
95741
|
if (!parsed.ok) {
|
|
95898
95742
|
return [parsed, { status: "invalid" }];
|
|
@@ -95984,12 +95828,12 @@ var init_supportCreateTicket = __esm(() => {
|
|
|
95984
95828
|
});
|
|
95985
95829
|
|
|
95986
95830
|
// src/mcp-server/tools/supportCreateTicket.ts
|
|
95987
|
-
var
|
|
95831
|
+
var args133, tool$supportCreateTicket;
|
|
95988
95832
|
var init_supportCreateTicket2 = __esm(() => {
|
|
95989
95833
|
init_supportCreateTicket();
|
|
95990
95834
|
init_operations();
|
|
95991
95835
|
init_tools();
|
|
95992
|
-
|
|
95836
|
+
args133 = {
|
|
95993
95837
|
request: CreateTicketRequest$inboundSchema
|
|
95994
95838
|
};
|
|
95995
95839
|
tool$supportCreateTicket = {
|
|
@@ -96001,9 +95845,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
96001
95845
|
|
|
96002
95846
|
If you're creating the ticket on behalf of another account, then you'll need to
|
|
96003
95847
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96004
|
-
args:
|
|
96005
|
-
tool: async (client,
|
|
96006
|
-
const [result, apiCall] = await supportCreateTicket(client,
|
|
95848
|
+
args: args133,
|
|
95849
|
+
tool: async (client, args134, ctx) => {
|
|
95850
|
+
const [result, apiCall] = await supportCreateTicket(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96007
95851
|
if (!result.ok) {
|
|
96008
95852
|
return {
|
|
96009
95853
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96018,9 +95862,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
96018
95862
|
|
|
96019
95863
|
// src/funcs/supportGetTicket.ts
|
|
96020
95864
|
function supportGetTicket(client, request, options) {
|
|
96021
|
-
return new APIPromise($
|
|
95865
|
+
return new APIPromise($do134(client, request, options));
|
|
96022
95866
|
}
|
|
96023
|
-
async function $
|
|
95867
|
+
async function $do134(client, request, options) {
|
|
96024
95868
|
const parsed = safeParse4(request, (value) => GetTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96025
95869
|
if (!parsed.ok) {
|
|
96026
95870
|
return [parsed, { status: "invalid" }];
|
|
@@ -96102,12 +95946,12 @@ var init_supportGetTicket = __esm(() => {
|
|
|
96102
95946
|
});
|
|
96103
95947
|
|
|
96104
95948
|
// src/mcp-server/tools/supportGetTicket.ts
|
|
96105
|
-
var
|
|
95949
|
+
var args134, tool$supportGetTicket;
|
|
96106
95950
|
var init_supportGetTicket2 = __esm(() => {
|
|
96107
95951
|
init_supportGetTicket();
|
|
96108
95952
|
init_operations();
|
|
96109
95953
|
init_tools();
|
|
96110
|
-
|
|
95954
|
+
args134 = {
|
|
96111
95955
|
request: GetTicketRequest$inboundSchema
|
|
96112
95956
|
};
|
|
96113
95957
|
tool$supportGetTicket = {
|
|
@@ -96119,9 +95963,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
96119
95963
|
|
|
96120
95964
|
If you're retrieving another account's ticket, then you'll need to
|
|
96121
95965
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96122
|
-
args:
|
|
96123
|
-
tool: async (client,
|
|
96124
|
-
const [result, apiCall] = await supportGetTicket(client,
|
|
95966
|
+
args: args134,
|
|
95967
|
+
tool: async (client, args135, ctx) => {
|
|
95968
|
+
const [result, apiCall] = await supportGetTicket(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96125
95969
|
if (!result.ok) {
|
|
96126
95970
|
return {
|
|
96127
95971
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96136,9 +95980,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
96136
95980
|
|
|
96137
95981
|
// src/funcs/supportListTicketMessages.ts
|
|
96138
95982
|
function supportListTicketMessages(client, request, options) {
|
|
96139
|
-
return new APIPromise($
|
|
95983
|
+
return new APIPromise($do135(client, request, options));
|
|
96140
95984
|
}
|
|
96141
|
-
async function $
|
|
95985
|
+
async function $do135(client, request, options) {
|
|
96142
95986
|
const parsed = safeParse4(request, (value) => ListTicketMessagesRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96143
95987
|
if (!parsed.ok) {
|
|
96144
95988
|
return [parsed, { status: "invalid" }];
|
|
@@ -96220,12 +96064,12 @@ var init_supportListTicketMessages = __esm(() => {
|
|
|
96220
96064
|
});
|
|
96221
96065
|
|
|
96222
96066
|
// src/mcp-server/tools/supportListTicketMessages.ts
|
|
96223
|
-
var
|
|
96067
|
+
var args135, tool$supportListTicketMessages;
|
|
96224
96068
|
var init_supportListTicketMessages2 = __esm(() => {
|
|
96225
96069
|
init_supportListTicketMessages();
|
|
96226
96070
|
init_operations();
|
|
96227
96071
|
init_tools();
|
|
96228
|
-
|
|
96072
|
+
args135 = {
|
|
96229
96073
|
request: ListTicketMessagesRequest$inboundSchema
|
|
96230
96074
|
};
|
|
96231
96075
|
tool$supportListTicketMessages = {
|
|
@@ -96237,9 +96081,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
96237
96081
|
|
|
96238
96082
|
If you're listing another account's messages, then you'll need to
|
|
96239
96083
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96240
|
-
args:
|
|
96241
|
-
tool: async (client,
|
|
96242
|
-
const [result, apiCall] = await supportListTicketMessages(client,
|
|
96084
|
+
args: args135,
|
|
96085
|
+
tool: async (client, args136, ctx) => {
|
|
96086
|
+
const [result, apiCall] = await supportListTicketMessages(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96243
96087
|
if (!result.ok) {
|
|
96244
96088
|
return {
|
|
96245
96089
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96254,9 +96098,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
96254
96098
|
|
|
96255
96099
|
// src/funcs/supportListTickets.ts
|
|
96256
96100
|
function supportListTickets(client, request, options) {
|
|
96257
|
-
return new APIPromise($
|
|
96101
|
+
return new APIPromise($do136(client, request, options));
|
|
96258
96102
|
}
|
|
96259
|
-
async function $
|
|
96103
|
+
async function $do136(client, request, options) {
|
|
96260
96104
|
const parsed = safeParse4(request, (value) => ListTicketsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96261
96105
|
if (!parsed.ok) {
|
|
96262
96106
|
return [parsed, { status: "invalid" }];
|
|
@@ -96341,12 +96185,12 @@ var init_supportListTickets = __esm(() => {
|
|
|
96341
96185
|
});
|
|
96342
96186
|
|
|
96343
96187
|
// src/mcp-server/tools/supportListTickets.ts
|
|
96344
|
-
var
|
|
96188
|
+
var args136, tool$supportListTickets;
|
|
96345
96189
|
var init_supportListTickets2 = __esm(() => {
|
|
96346
96190
|
init_supportListTickets();
|
|
96347
96191
|
init_operations();
|
|
96348
96192
|
init_tools();
|
|
96349
|
-
|
|
96193
|
+
args136 = {
|
|
96350
96194
|
request: ListTicketsRequest$inboundSchema
|
|
96351
96195
|
};
|
|
96352
96196
|
tool$supportListTickets = {
|
|
@@ -96358,9 +96202,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.read\` scope.
|
|
|
96358
96202
|
|
|
96359
96203
|
If you're listing another account's tickets, then you'll need to
|
|
96360
96204
|
specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96361
|
-
args:
|
|
96362
|
-
tool: async (client,
|
|
96363
|
-
const [result, apiCall] = await supportListTickets(client,
|
|
96205
|
+
args: args136,
|
|
96206
|
+
tool: async (client, args137, ctx) => {
|
|
96207
|
+
const [result, apiCall] = await supportListTickets(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96364
96208
|
if (!result.ok) {
|
|
96365
96209
|
return {
|
|
96366
96210
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96375,9 +96219,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.read\` and \`/accounts/{accou
|
|
|
96375
96219
|
|
|
96376
96220
|
// src/funcs/supportUpdateTicket.ts
|
|
96377
96221
|
function supportUpdateTicket(client, request, options) {
|
|
96378
|
-
return new APIPromise($
|
|
96222
|
+
return new APIPromise($do137(client, request, options));
|
|
96379
96223
|
}
|
|
96380
|
-
async function $
|
|
96224
|
+
async function $do137(client, request, options) {
|
|
96381
96225
|
const parsed = safeParse4(request, (value) => UpdateTicketRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96382
96226
|
if (!parsed.ok) {
|
|
96383
96227
|
return [parsed, { status: "invalid" }];
|
|
@@ -96473,12 +96317,12 @@ var init_supportUpdateTicket = __esm(() => {
|
|
|
96473
96317
|
});
|
|
96474
96318
|
|
|
96475
96319
|
// src/mcp-server/tools/supportUpdateTicket.ts
|
|
96476
|
-
var
|
|
96320
|
+
var args137, tool$supportUpdateTicket;
|
|
96477
96321
|
var init_supportUpdateTicket2 = __esm(() => {
|
|
96478
96322
|
init_supportUpdateTicket();
|
|
96479
96323
|
init_operations();
|
|
96480
96324
|
init_tools();
|
|
96481
|
-
|
|
96325
|
+
args137 = {
|
|
96482
96326
|
request: UpdateTicketRequest$inboundSchema
|
|
96483
96327
|
};
|
|
96484
96328
|
tool$supportUpdateTicket = {
|
|
@@ -96490,9 +96334,9 @@ you'll need to specify the \`/accounts/{accountID}/tickets.write\` scope.
|
|
|
96490
96334
|
|
|
96491
96335
|
If you're updating the ticket on behalf of another account, then you'll need to
|
|
96492
96336
|
specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{accountID}/profile.read\` scopes.`,
|
|
96493
|
-
args:
|
|
96494
|
-
tool: async (client,
|
|
96495
|
-
const [result, apiCall] = await supportUpdateTicket(client,
|
|
96337
|
+
args: args137,
|
|
96338
|
+
tool: async (client, args138, ctx) => {
|
|
96339
|
+
const [result, apiCall] = await supportUpdateTicket(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96496
96340
|
if (!result.ok) {
|
|
96497
96341
|
return {
|
|
96498
96342
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96507,9 +96351,9 @@ specify the \`/accounts/{partnerAccountID}/tickets.write\` and \`/accounts/{acco
|
|
|
96507
96351
|
|
|
96508
96352
|
// src/funcs/sweepsCreateConfig.ts
|
|
96509
96353
|
function sweepsCreateConfig(client, request, options) {
|
|
96510
|
-
return new APIPromise($
|
|
96354
|
+
return new APIPromise($do138(client, request, options));
|
|
96511
96355
|
}
|
|
96512
|
-
async function $
|
|
96356
|
+
async function $do138(client, request, options) {
|
|
96513
96357
|
const parsed = safeParse4(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96514
96358
|
if (!parsed.ok) {
|
|
96515
96359
|
return [parsed, { status: "invalid" }];
|
|
@@ -96601,12 +96445,12 @@ var init_sweepsCreateConfig = __esm(() => {
|
|
|
96601
96445
|
});
|
|
96602
96446
|
|
|
96603
96447
|
// src/mcp-server/tools/sweepsCreateConfig.ts
|
|
96604
|
-
var
|
|
96448
|
+
var args138, tool$sweepsCreateConfig;
|
|
96605
96449
|
var init_sweepsCreateConfig2 = __esm(() => {
|
|
96606
96450
|
init_sweepsCreateConfig();
|
|
96607
96451
|
init_operations();
|
|
96608
96452
|
init_tools();
|
|
96609
|
-
|
|
96453
|
+
args138 = {
|
|
96610
96454
|
request: CreateSweepConfigRequest$inboundSchema
|
|
96611
96455
|
};
|
|
96612
96456
|
tool$sweepsCreateConfig = {
|
|
@@ -96615,9 +96459,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
|
|
|
96615
96459
|
|
|
96616
96460
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96617
96461
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
96618
|
-
args:
|
|
96619
|
-
tool: async (client,
|
|
96620
|
-
const [result, apiCall] = await sweepsCreateConfig(client,
|
|
96462
|
+
args: args138,
|
|
96463
|
+
tool: async (client, args139, ctx) => {
|
|
96464
|
+
const [result, apiCall] = await sweepsCreateConfig(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96621
96465
|
if (!result.ok) {
|
|
96622
96466
|
return {
|
|
96623
96467
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96632,9 +96476,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
96632
96476
|
|
|
96633
96477
|
// src/funcs/sweepsGet.ts
|
|
96634
96478
|
function sweepsGet(client, request, options) {
|
|
96635
|
-
return new APIPromise($
|
|
96479
|
+
return new APIPromise($do139(client, request, options));
|
|
96636
96480
|
}
|
|
96637
|
-
async function $
|
|
96481
|
+
async function $do139(client, request, options) {
|
|
96638
96482
|
const parsed = safeParse4(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96639
96483
|
if (!parsed.ok) {
|
|
96640
96484
|
return [parsed, { status: "invalid" }];
|
|
@@ -96720,12 +96564,12 @@ var init_sweepsGet = __esm(() => {
|
|
|
96720
96564
|
});
|
|
96721
96565
|
|
|
96722
96566
|
// src/mcp-server/tools/sweepsGet.ts
|
|
96723
|
-
var
|
|
96567
|
+
var args139, tool$sweepsGet;
|
|
96724
96568
|
var init_sweepsGet2 = __esm(() => {
|
|
96725
96569
|
init_sweepsGet();
|
|
96726
96570
|
init_operations();
|
|
96727
96571
|
init_tools();
|
|
96728
|
-
|
|
96572
|
+
args139 = {
|
|
96729
96573
|
request: GetSweepRequest$inboundSchema
|
|
96730
96574
|
};
|
|
96731
96575
|
tool$sweepsGet = {
|
|
@@ -96734,9 +96578,9 @@ var init_sweepsGet2 = __esm(() => {
|
|
|
96734
96578
|
|
|
96735
96579
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96736
96580
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
96737
|
-
args:
|
|
96738
|
-
tool: async (client,
|
|
96739
|
-
const [result, apiCall] = await sweepsGet(client,
|
|
96581
|
+
args: args139,
|
|
96582
|
+
tool: async (client, args140, ctx) => {
|
|
96583
|
+
const [result, apiCall] = await sweepsGet(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96740
96584
|
if (!result.ok) {
|
|
96741
96585
|
return {
|
|
96742
96586
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96751,9 +96595,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
96751
96595
|
|
|
96752
96596
|
// src/funcs/sweepsGetConfig.ts
|
|
96753
96597
|
function sweepsGetConfig(client, request, options) {
|
|
96754
|
-
return new APIPromise($
|
|
96598
|
+
return new APIPromise($do140(client, request, options));
|
|
96755
96599
|
}
|
|
96756
|
-
async function $
|
|
96600
|
+
async function $do140(client, request, options) {
|
|
96757
96601
|
const parsed = safeParse4(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96758
96602
|
if (!parsed.ok) {
|
|
96759
96603
|
return [parsed, { status: "invalid" }];
|
|
@@ -96835,12 +96679,12 @@ var init_sweepsGetConfig = __esm(() => {
|
|
|
96835
96679
|
});
|
|
96836
96680
|
|
|
96837
96681
|
// src/mcp-server/tools/sweepsGetConfig.ts
|
|
96838
|
-
var
|
|
96682
|
+
var args140, tool$sweepsGetConfig;
|
|
96839
96683
|
var init_sweepsGetConfig2 = __esm(() => {
|
|
96840
96684
|
init_sweepsGetConfig();
|
|
96841
96685
|
init_operations();
|
|
96842
96686
|
init_tools();
|
|
96843
|
-
|
|
96687
|
+
args140 = {
|
|
96844
96688
|
request: GetSweepConfigRequest$inboundSchema
|
|
96845
96689
|
};
|
|
96846
96690
|
tool$sweepsGetConfig = {
|
|
@@ -96849,9 +96693,9 @@ var init_sweepsGetConfig2 = __esm(() => {
|
|
|
96849
96693
|
|
|
96850
96694
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96851
96695
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
96852
|
-
args:
|
|
96853
|
-
tool: async (client,
|
|
96854
|
-
const [result, apiCall] = await sweepsGetConfig(client,
|
|
96696
|
+
args: args140,
|
|
96697
|
+
tool: async (client, args141, ctx) => {
|
|
96698
|
+
const [result, apiCall] = await sweepsGetConfig(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96855
96699
|
if (!result.ok) {
|
|
96856
96700
|
return {
|
|
96857
96701
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96866,9 +96710,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
96866
96710
|
|
|
96867
96711
|
// src/funcs/sweepsList.ts
|
|
96868
96712
|
function sweepsList(client, request, options) {
|
|
96869
|
-
return new APIPromise($
|
|
96713
|
+
return new APIPromise($do141(client, request, options));
|
|
96870
96714
|
}
|
|
96871
|
-
async function $
|
|
96715
|
+
async function $do141(client, request, options) {
|
|
96872
96716
|
const parsed = safeParse4(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96873
96717
|
if (!parsed.ok) {
|
|
96874
96718
|
return [parsed, { status: "invalid" }];
|
|
@@ -96957,12 +96801,12 @@ var init_sweepsList = __esm(() => {
|
|
|
96957
96801
|
});
|
|
96958
96802
|
|
|
96959
96803
|
// src/mcp-server/tools/sweepsList.ts
|
|
96960
|
-
var
|
|
96804
|
+
var args141, tool$sweepsList;
|
|
96961
96805
|
var init_sweepsList2 = __esm(() => {
|
|
96962
96806
|
init_sweepsList();
|
|
96963
96807
|
init_operations();
|
|
96964
96808
|
init_tools();
|
|
96965
|
-
|
|
96809
|
+
args141 = {
|
|
96966
96810
|
request: ListSweepsRequest$inboundSchema
|
|
96967
96811
|
};
|
|
96968
96812
|
tool$sweepsList = {
|
|
@@ -96971,9 +96815,9 @@ var init_sweepsList2 = __esm(() => {
|
|
|
96971
96815
|
|
|
96972
96816
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
96973
96817
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
96974
|
-
args:
|
|
96975
|
-
tool: async (client,
|
|
96976
|
-
const [result, apiCall] = await sweepsList(client,
|
|
96818
|
+
args: args141,
|
|
96819
|
+
tool: async (client, args142, ctx) => {
|
|
96820
|
+
const [result, apiCall] = await sweepsList(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
96977
96821
|
if (!result.ok) {
|
|
96978
96822
|
return {
|
|
96979
96823
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -96988,9 +96832,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
96988
96832
|
|
|
96989
96833
|
// src/funcs/sweepsListConfigs.ts
|
|
96990
96834
|
function sweepsListConfigs(client, request, options) {
|
|
96991
|
-
return new APIPromise($
|
|
96835
|
+
return new APIPromise($do142(client, request, options));
|
|
96992
96836
|
}
|
|
96993
|
-
async function $
|
|
96837
|
+
async function $do142(client, request, options) {
|
|
96994
96838
|
const parsed = safeParse4(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
96995
96839
|
if (!parsed.ok) {
|
|
96996
96840
|
return [parsed, { status: "invalid" }];
|
|
@@ -97068,12 +96912,12 @@ var init_sweepsListConfigs = __esm(() => {
|
|
|
97068
96912
|
});
|
|
97069
96913
|
|
|
97070
96914
|
// src/mcp-server/tools/sweepsListConfigs.ts
|
|
97071
|
-
var
|
|
96915
|
+
var args142, tool$sweepsListConfigs;
|
|
97072
96916
|
var init_sweepsListConfigs2 = __esm(() => {
|
|
97073
96917
|
init_sweepsListConfigs();
|
|
97074
96918
|
init_operations();
|
|
97075
96919
|
init_tools();
|
|
97076
|
-
|
|
96920
|
+
args142 = {
|
|
97077
96921
|
request: ListSweepConfigsRequest$inboundSchema
|
|
97078
96922
|
};
|
|
97079
96923
|
tool$sweepsListConfigs = {
|
|
@@ -97082,9 +96926,9 @@ var init_sweepsListConfigs2 = __esm(() => {
|
|
|
97082
96926
|
|
|
97083
96927
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97084
96928
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
97085
|
-
args:
|
|
97086
|
-
tool: async (client,
|
|
97087
|
-
const [result, apiCall] = await sweepsListConfigs(client,
|
|
96929
|
+
args: args142,
|
|
96930
|
+
tool: async (client, args143, ctx) => {
|
|
96931
|
+
const [result, apiCall] = await sweepsListConfigs(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97088
96932
|
if (!result.ok) {
|
|
97089
96933
|
return {
|
|
97090
96934
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97099,9 +96943,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
97099
96943
|
|
|
97100
96944
|
// src/funcs/sweepsUpdateConfig.ts
|
|
97101
96945
|
function sweepsUpdateConfig(client, request, options) {
|
|
97102
|
-
return new APIPromise($
|
|
96946
|
+
return new APIPromise($do143(client, request, options));
|
|
97103
96947
|
}
|
|
97104
|
-
async function $
|
|
96948
|
+
async function $do143(client, request, options) {
|
|
97105
96949
|
const parsed = safeParse4(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97106
96950
|
if (!parsed.ok) {
|
|
97107
96951
|
return [parsed, { status: "invalid" }];
|
|
@@ -97197,12 +97041,12 @@ var init_sweepsUpdateConfig = __esm(() => {
|
|
|
97197
97041
|
});
|
|
97198
97042
|
|
|
97199
97043
|
// src/mcp-server/tools/sweepsUpdateConfig.ts
|
|
97200
|
-
var
|
|
97044
|
+
var args143, tool$sweepsUpdateConfig;
|
|
97201
97045
|
var init_sweepsUpdateConfig2 = __esm(() => {
|
|
97202
97046
|
init_sweepsUpdateConfig();
|
|
97203
97047
|
init_operations();
|
|
97204
97048
|
init_tools();
|
|
97205
|
-
|
|
97049
|
+
args143 = {
|
|
97206
97050
|
request: UpdateSweepConfigRequest$inboundSchema
|
|
97207
97051
|
};
|
|
97208
97052
|
tool$sweepsUpdateConfig = {
|
|
@@ -97211,9 +97055,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
|
|
|
97211
97055
|
|
|
97212
97056
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97213
97057
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
97214
|
-
args:
|
|
97215
|
-
tool: async (client,
|
|
97216
|
-
const [result, apiCall] = await sweepsUpdateConfig(client,
|
|
97058
|
+
args: args143,
|
|
97059
|
+
tool: async (client, args144, ctx) => {
|
|
97060
|
+
const [result, apiCall] = await sweepsUpdateConfig(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97217
97061
|
if (!result.ok) {
|
|
97218
97062
|
return {
|
|
97219
97063
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97228,9 +97072,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
97228
97072
|
|
|
97229
97073
|
// src/funcs/terminalApplicationsCreate.ts
|
|
97230
97074
|
function terminalApplicationsCreate(client, request, options) {
|
|
97231
|
-
return new APIPromise($
|
|
97075
|
+
return new APIPromise($do144(client, request, options));
|
|
97232
97076
|
}
|
|
97233
|
-
async function $
|
|
97077
|
+
async function $do144(client, request, options) {
|
|
97234
97078
|
const parsed = safeParse4(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
|
|
97235
97079
|
if (!parsed.ok) {
|
|
97236
97080
|
return [parsed, { status: "invalid" }];
|
|
@@ -97319,12 +97163,12 @@ var init_terminalApplicationsCreate = __esm(() => {
|
|
|
97319
97163
|
});
|
|
97320
97164
|
|
|
97321
97165
|
// src/mcp-server/tools/terminalApplicationsCreate.ts
|
|
97322
|
-
var
|
|
97166
|
+
var args144, tool$terminalApplicationsCreate;
|
|
97323
97167
|
var init_terminalApplicationsCreate2 = __esm(() => {
|
|
97324
97168
|
init_terminalApplicationsCreate();
|
|
97325
97169
|
init_components();
|
|
97326
97170
|
init_tools();
|
|
97327
|
-
|
|
97171
|
+
args144 = {
|
|
97328
97172
|
request: CreateTerminalApplication$inboundSchema
|
|
97329
97173
|
};
|
|
97330
97174
|
tool$terminalApplicationsCreate = {
|
|
@@ -97333,9 +97177,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
|
|
|
97333
97177
|
|
|
97334
97178
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97335
97179
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
97336
|
-
args:
|
|
97337
|
-
tool: async (client,
|
|
97338
|
-
const [result, apiCall] = await terminalApplicationsCreate(client,
|
|
97180
|
+
args: args144,
|
|
97181
|
+
tool: async (client, args145, ctx) => {
|
|
97182
|
+
const [result, apiCall] = await terminalApplicationsCreate(client, args145.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97339
97183
|
if (!result.ok) {
|
|
97340
97184
|
return {
|
|
97341
97185
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97350,9 +97194,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
97350
97194
|
|
|
97351
97195
|
// src/funcs/terminalApplicationsCreateVersion.ts
|
|
97352
97196
|
function terminalApplicationsCreateVersion(client, request, options) {
|
|
97353
|
-
return new APIPromise($
|
|
97197
|
+
return new APIPromise($do145(client, request, options));
|
|
97354
97198
|
}
|
|
97355
|
-
async function $
|
|
97199
|
+
async function $do145(client, request, options) {
|
|
97356
97200
|
const parsed = safeParse4(request, (value) => CreateTerminalApplicationVersionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97357
97201
|
if (!parsed.ok) {
|
|
97358
97202
|
return [parsed, { status: "invalid" }];
|
|
@@ -97442,12 +97286,12 @@ var init_terminalApplicationsCreateVersion = __esm(() => {
|
|
|
97442
97286
|
});
|
|
97443
97287
|
|
|
97444
97288
|
// src/mcp-server/tools/terminalApplicationsCreateVersion.ts
|
|
97445
|
-
var
|
|
97289
|
+
var args145, tool$terminalApplicationsCreateVersion;
|
|
97446
97290
|
var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
97447
97291
|
init_terminalApplicationsCreateVersion();
|
|
97448
97292
|
init_operations();
|
|
97449
97293
|
init_tools();
|
|
97450
|
-
|
|
97294
|
+
args145 = {
|
|
97451
97295
|
request: CreateTerminalApplicationVersionRequest$inboundSchema
|
|
97452
97296
|
};
|
|
97453
97297
|
tool$terminalApplicationsCreateVersion = {
|
|
@@ -97456,9 +97300,9 @@ var init_terminalApplicationsCreateVersion2 = __esm(() => {
|
|
|
97456
97300
|
|
|
97457
97301
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97458
97302
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
97459
|
-
args:
|
|
97460
|
-
tool: async (client,
|
|
97461
|
-
const [result, apiCall] = await terminalApplicationsCreateVersion(client,
|
|
97303
|
+
args: args145,
|
|
97304
|
+
tool: async (client, args146, ctx) => {
|
|
97305
|
+
const [result, apiCall] = await terminalApplicationsCreateVersion(client, args146.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97462
97306
|
if (!result.ok) {
|
|
97463
97307
|
return {
|
|
97464
97308
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97473,9 +97317,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
97473
97317
|
|
|
97474
97318
|
// src/funcs/terminalApplicationsDelete.ts
|
|
97475
97319
|
function terminalApplicationsDelete(client, request, options) {
|
|
97476
|
-
return new APIPromise($
|
|
97320
|
+
return new APIPromise($do146(client, request, options));
|
|
97477
97321
|
}
|
|
97478
|
-
async function $
|
|
97322
|
+
async function $do146(client, request, options) {
|
|
97479
97323
|
const parsed = safeParse4(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97480
97324
|
if (!parsed.ok) {
|
|
97481
97325
|
return [parsed, { status: "invalid" }];
|
|
@@ -97559,12 +97403,12 @@ var init_terminalApplicationsDelete = __esm(() => {
|
|
|
97559
97403
|
});
|
|
97560
97404
|
|
|
97561
97405
|
// src/mcp-server/tools/terminalApplicationsDelete.ts
|
|
97562
|
-
var
|
|
97406
|
+
var args146, tool$terminalApplicationsDelete;
|
|
97563
97407
|
var init_terminalApplicationsDelete2 = __esm(() => {
|
|
97564
97408
|
init_terminalApplicationsDelete();
|
|
97565
97409
|
init_operations();
|
|
97566
97410
|
init_tools();
|
|
97567
|
-
|
|
97411
|
+
args146 = {
|
|
97568
97412
|
request: DeleteTerminalApplicationRequest$inboundSchema
|
|
97569
97413
|
};
|
|
97570
97414
|
tool$terminalApplicationsDelete = {
|
|
@@ -97573,9 +97417,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
|
|
|
97573
97417
|
|
|
97574
97418
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97575
97419
|
you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
97576
|
-
args:
|
|
97577
|
-
tool: async (client,
|
|
97578
|
-
const [result, apiCall] = await terminalApplicationsDelete(client,
|
|
97420
|
+
args: args146,
|
|
97421
|
+
tool: async (client, args147, ctx) => {
|
|
97422
|
+
const [result, apiCall] = await terminalApplicationsDelete(client, args147.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97579
97423
|
if (!result.ok) {
|
|
97580
97424
|
return {
|
|
97581
97425
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97589,9 +97433,9 @@ you'll need to specify the \`/terminal-applications.write\` scope.`,
|
|
|
97589
97433
|
|
|
97590
97434
|
// src/funcs/terminalApplicationsGet.ts
|
|
97591
97435
|
function terminalApplicationsGet(client, request, options) {
|
|
97592
|
-
return new APIPromise($
|
|
97436
|
+
return new APIPromise($do147(client, request, options));
|
|
97593
97437
|
}
|
|
97594
|
-
async function $
|
|
97438
|
+
async function $do147(client, request, options) {
|
|
97595
97439
|
const parsed = safeParse4(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97596
97440
|
if (!parsed.ok) {
|
|
97597
97441
|
return [parsed, { status: "invalid" }];
|
|
@@ -97666,12 +97510,12 @@ var init_terminalApplicationsGet = __esm(() => {
|
|
|
97666
97510
|
});
|
|
97667
97511
|
|
|
97668
97512
|
// src/mcp-server/tools/terminalApplicationsGet.ts
|
|
97669
|
-
var
|
|
97513
|
+
var args147, tool$terminalApplicationsGet;
|
|
97670
97514
|
var init_terminalApplicationsGet2 = __esm(() => {
|
|
97671
97515
|
init_terminalApplicationsGet();
|
|
97672
97516
|
init_operations();
|
|
97673
97517
|
init_tools();
|
|
97674
|
-
|
|
97518
|
+
args147 = {
|
|
97675
97519
|
request: GetTerminalApplicationRequest$inboundSchema
|
|
97676
97520
|
};
|
|
97677
97521
|
tool$terminalApplicationsGet = {
|
|
@@ -97680,9 +97524,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
|
|
|
97680
97524
|
|
|
97681
97525
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97682
97526
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
97683
|
-
args:
|
|
97684
|
-
tool: async (client,
|
|
97685
|
-
const [result, apiCall] = await terminalApplicationsGet(client,
|
|
97527
|
+
args: args147,
|
|
97528
|
+
tool: async (client, args148, ctx) => {
|
|
97529
|
+
const [result, apiCall] = await terminalApplicationsGet(client, args148.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97686
97530
|
if (!result.ok) {
|
|
97687
97531
|
return {
|
|
97688
97532
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97697,9 +97541,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
97697
97541
|
|
|
97698
97542
|
// src/funcs/terminalApplicationsList.ts
|
|
97699
97543
|
function terminalApplicationsList(client, _request, options) {
|
|
97700
|
-
return new APIPromise($
|
|
97544
|
+
return new APIPromise($do148(client, _request, options));
|
|
97701
97545
|
}
|
|
97702
|
-
async function $
|
|
97546
|
+
async function $do148(client, _request, options) {
|
|
97703
97547
|
const path = pathToFunc("/terminal-applications")();
|
|
97704
97548
|
const headers = new Headers(compactMap({
|
|
97705
97549
|
Accept: "application/json",
|
|
@@ -97763,12 +97607,12 @@ var init_terminalApplicationsList = __esm(() => {
|
|
|
97763
97607
|
});
|
|
97764
97608
|
|
|
97765
97609
|
// src/mcp-server/tools/terminalApplicationsList.ts
|
|
97766
|
-
var
|
|
97610
|
+
var args148, tool$terminalApplicationsList;
|
|
97767
97611
|
var init_terminalApplicationsList2 = __esm(() => {
|
|
97768
97612
|
init_terminalApplicationsList();
|
|
97769
97613
|
init_operations();
|
|
97770
97614
|
init_tools();
|
|
97771
|
-
|
|
97615
|
+
args148 = {
|
|
97772
97616
|
request: ListTerminalApplicationsRequest$inboundSchema
|
|
97773
97617
|
};
|
|
97774
97618
|
tool$terminalApplicationsList = {
|
|
@@ -97777,9 +97621,9 @@ var init_terminalApplicationsList2 = __esm(() => {
|
|
|
97777
97621
|
|
|
97778
97622
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97779
97623
|
you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
97780
|
-
args:
|
|
97781
|
-
tool: async (client,
|
|
97782
|
-
const [result, apiCall] = await terminalApplicationsList(client,
|
|
97624
|
+
args: args148,
|
|
97625
|
+
tool: async (client, args149, ctx) => {
|
|
97626
|
+
const [result, apiCall] = await terminalApplicationsList(client, args149.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97783
97627
|
if (!result.ok) {
|
|
97784
97628
|
return {
|
|
97785
97629
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97794,9 +97638,9 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
97794
97638
|
|
|
97795
97639
|
// src/funcs/transfersCreate.ts
|
|
97796
97640
|
function transfersCreate(client, request, options) {
|
|
97797
|
-
return new APIPromise($
|
|
97641
|
+
return new APIPromise($do149(client, request, options));
|
|
97798
97642
|
}
|
|
97799
|
-
async function $
|
|
97643
|
+
async function $do149(client, request, options) {
|
|
97800
97644
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97801
97645
|
if (!parsed.ok) {
|
|
97802
97646
|
return [parsed, { status: "invalid" }];
|
|
@@ -97889,12 +97733,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
97889
97733
|
});
|
|
97890
97734
|
|
|
97891
97735
|
// src/mcp-server/tools/transfersCreate.ts
|
|
97892
|
-
var
|
|
97736
|
+
var args149, tool$transfersCreate;
|
|
97893
97737
|
var init_transfersCreate2 = __esm(() => {
|
|
97894
97738
|
init_transfersCreate();
|
|
97895
97739
|
init_operations();
|
|
97896
97740
|
init_tools();
|
|
97897
|
-
|
|
97741
|
+
args149 = {
|
|
97898
97742
|
request: CreateTransferRequest$inboundSchema
|
|
97899
97743
|
};
|
|
97900
97744
|
tool$transfersCreate = {
|
|
@@ -97905,9 +97749,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
97905
97749
|
|
|
97906
97750
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
97907
97751
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
97908
|
-
args:
|
|
97909
|
-
tool: async (client,
|
|
97910
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
97752
|
+
args: args149,
|
|
97753
|
+
tool: async (client, args150, ctx) => {
|
|
97754
|
+
const [result, apiCall] = await transfersCreate(client, args150.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
97911
97755
|
if (!result.ok) {
|
|
97912
97756
|
return {
|
|
97913
97757
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -97922,9 +97766,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
97922
97766
|
|
|
97923
97767
|
// src/funcs/transfersCreateCancellation.ts
|
|
97924
97768
|
function transfersCreateCancellation(client, request, options) {
|
|
97925
|
-
return new APIPromise($
|
|
97769
|
+
return new APIPromise($do150(client, request, options));
|
|
97926
97770
|
}
|
|
97927
|
-
async function $
|
|
97771
|
+
async function $do150(client, request, options) {
|
|
97928
97772
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
97929
97773
|
if (!parsed.ok) {
|
|
97930
97774
|
return [parsed, { status: "invalid" }];
|
|
@@ -98007,12 +97851,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
98007
97851
|
});
|
|
98008
97852
|
|
|
98009
97853
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
98010
|
-
var
|
|
97854
|
+
var args150, tool$transfersCreateCancellation;
|
|
98011
97855
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
98012
97856
|
init_transfersCreateCancellation();
|
|
98013
97857
|
init_operations();
|
|
98014
97858
|
init_tools();
|
|
98015
|
-
|
|
97859
|
+
args150 = {
|
|
98016
97860
|
request: CreateCancellationRequest$inboundSchema
|
|
98017
97861
|
};
|
|
98018
97862
|
tool$transfersCreateCancellation = {
|
|
@@ -98021,9 +97865,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98021
97865
|
|
|
98022
97866
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98023
97867
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98024
|
-
args:
|
|
98025
|
-
tool: async (client,
|
|
98026
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
97868
|
+
args: args150,
|
|
97869
|
+
tool: async (client, args151, ctx) => {
|
|
97870
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args151.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98027
97871
|
if (!result.ok) {
|
|
98028
97872
|
return {
|
|
98029
97873
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98038,9 +97882,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98038
97882
|
|
|
98039
97883
|
// src/funcs/transfersCreateReversal.ts
|
|
98040
97884
|
function transfersCreateReversal(client, request, options) {
|
|
98041
|
-
return new APIPromise($
|
|
97885
|
+
return new APIPromise($do151(client, request, options));
|
|
98042
97886
|
}
|
|
98043
|
-
async function $
|
|
97887
|
+
async function $do151(client, request, options) {
|
|
98044
97888
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98045
97889
|
if (!parsed.ok) {
|
|
98046
97890
|
return [parsed, { status: "invalid" }];
|
|
@@ -98139,12 +97983,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
98139
97983
|
});
|
|
98140
97984
|
|
|
98141
97985
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
98142
|
-
var
|
|
97986
|
+
var args151, tool$transfersCreateReversal;
|
|
98143
97987
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
98144
97988
|
init_transfersCreateReversal();
|
|
98145
97989
|
init_operations();
|
|
98146
97990
|
init_tools();
|
|
98147
|
-
|
|
97991
|
+
args151 = {
|
|
98148
97992
|
request: CreateReversalRequest$inboundSchema
|
|
98149
97993
|
};
|
|
98150
97994
|
tool$transfersCreateReversal = {
|
|
@@ -98155,9 +97999,9 @@ to learn more.
|
|
|
98155
97999
|
|
|
98156
98000
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98157
98001
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98158
|
-
args:
|
|
98159
|
-
tool: async (client,
|
|
98160
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
98002
|
+
args: args151,
|
|
98003
|
+
tool: async (client, args152, ctx) => {
|
|
98004
|
+
const [result, apiCall] = await transfersCreateReversal(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98161
98005
|
if (!result.ok) {
|
|
98162
98006
|
return {
|
|
98163
98007
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98172,9 +98016,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98172
98016
|
|
|
98173
98017
|
// src/funcs/transfersGenerateOptions.ts
|
|
98174
98018
|
function transfersGenerateOptions(client, request, options) {
|
|
98175
|
-
return new APIPromise($
|
|
98019
|
+
return new APIPromise($do152(client, request, options));
|
|
98176
98020
|
}
|
|
98177
|
-
async function $
|
|
98021
|
+
async function $do152(client, request, options) {
|
|
98178
98022
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98179
98023
|
if (!parsed.ok) {
|
|
98180
98024
|
return [parsed, { status: "invalid" }];
|
|
@@ -98258,12 +98102,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
98258
98102
|
});
|
|
98259
98103
|
|
|
98260
98104
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
98261
|
-
var
|
|
98105
|
+
var args152, tool$transfersGenerateOptions;
|
|
98262
98106
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
98263
98107
|
init_transfersGenerateOptions();
|
|
98264
98108
|
init_operations();
|
|
98265
98109
|
init_tools();
|
|
98266
|
-
|
|
98110
|
+
args152 = {
|
|
98267
98111
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
98268
98112
|
};
|
|
98269
98113
|
tool$transfersGenerateOptions = {
|
|
@@ -98277,9 +98121,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
98277
98121
|
|
|
98278
98122
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98279
98123
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98280
|
-
args:
|
|
98281
|
-
tool: async (client,
|
|
98282
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
98124
|
+
args: args152,
|
|
98125
|
+
tool: async (client, args153, ctx) => {
|
|
98126
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98283
98127
|
if (!result.ok) {
|
|
98284
98128
|
return {
|
|
98285
98129
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98294,9 +98138,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98294
98138
|
|
|
98295
98139
|
// src/funcs/transfersGet.ts
|
|
98296
98140
|
function transfersGet(client, request, options) {
|
|
98297
|
-
return new APIPromise($
|
|
98141
|
+
return new APIPromise($do153(client, request, options));
|
|
98298
98142
|
}
|
|
98299
|
-
async function $
|
|
98143
|
+
async function $do153(client, request, options) {
|
|
98300
98144
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98301
98145
|
if (!parsed.ok) {
|
|
98302
98146
|
return [parsed, { status: "invalid" }];
|
|
@@ -98378,12 +98222,12 @@ var init_transfersGet = __esm(() => {
|
|
|
98378
98222
|
});
|
|
98379
98223
|
|
|
98380
98224
|
// src/mcp-server/tools/transfersGet.ts
|
|
98381
|
-
var
|
|
98225
|
+
var args153, tool$transfersGet;
|
|
98382
98226
|
var init_transfersGet2 = __esm(() => {
|
|
98383
98227
|
init_transfersGet();
|
|
98384
98228
|
init_operations();
|
|
98385
98229
|
init_tools();
|
|
98386
|
-
|
|
98230
|
+
args153 = {
|
|
98387
98231
|
request: GetTransferRequest$inboundSchema
|
|
98388
98232
|
};
|
|
98389
98233
|
tool$transfersGet = {
|
|
@@ -98395,9 +98239,9 @@ to learn more.
|
|
|
98395
98239
|
|
|
98396
98240
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98397
98241
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98398
|
-
args:
|
|
98399
|
-
tool: async (client,
|
|
98400
|
-
const [result, apiCall] = await transfersGet(client,
|
|
98242
|
+
args: args153,
|
|
98243
|
+
tool: async (client, args154, ctx) => {
|
|
98244
|
+
const [result, apiCall] = await transfersGet(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98401
98245
|
if (!result.ok) {
|
|
98402
98246
|
return {
|
|
98403
98247
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98412,9 +98256,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98412
98256
|
|
|
98413
98257
|
// src/funcs/transfersGetCancellation.ts
|
|
98414
98258
|
function transfersGetCancellation(client, request, options) {
|
|
98415
|
-
return new APIPromise($
|
|
98259
|
+
return new APIPromise($do154(client, request, options));
|
|
98416
98260
|
}
|
|
98417
|
-
async function $
|
|
98261
|
+
async function $do154(client, request, options) {
|
|
98418
98262
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98419
98263
|
if (!parsed.ok) {
|
|
98420
98264
|
return [parsed, { status: "invalid" }];
|
|
@@ -98500,12 +98344,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
98500
98344
|
});
|
|
98501
98345
|
|
|
98502
98346
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
98503
|
-
var
|
|
98347
|
+
var args154, tool$transfersGetCancellation;
|
|
98504
98348
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
98505
98349
|
init_transfersGetCancellation();
|
|
98506
98350
|
init_operations();
|
|
98507
98351
|
init_tools();
|
|
98508
|
-
|
|
98352
|
+
args154 = {
|
|
98509
98353
|
request: GetCancellationRequest$inboundSchema
|
|
98510
98354
|
};
|
|
98511
98355
|
tool$transfersGetCancellation = {
|
|
@@ -98514,9 +98358,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98514
98358
|
|
|
98515
98359
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98516
98360
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98517
|
-
args:
|
|
98518
|
-
tool: async (client,
|
|
98519
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
98361
|
+
args: args154,
|
|
98362
|
+
tool: async (client, args155, ctx) => {
|
|
98363
|
+
const [result, apiCall] = await transfersGetCancellation(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98520
98364
|
if (!result.ok) {
|
|
98521
98365
|
return {
|
|
98522
98366
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98531,9 +98375,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98531
98375
|
|
|
98532
98376
|
// src/funcs/transfersGetRefund.ts
|
|
98533
98377
|
function transfersGetRefund(client, request, options) {
|
|
98534
|
-
return new APIPromise($
|
|
98378
|
+
return new APIPromise($do155(client, request, options));
|
|
98535
98379
|
}
|
|
98536
|
-
async function $
|
|
98380
|
+
async function $do155(client, request, options) {
|
|
98537
98381
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98538
98382
|
if (!parsed.ok) {
|
|
98539
98383
|
return [parsed, { status: "invalid" }];
|
|
@@ -98619,12 +98463,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
98619
98463
|
});
|
|
98620
98464
|
|
|
98621
98465
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
98622
|
-
var
|
|
98466
|
+
var args155, tool$transfersGetRefund;
|
|
98623
98467
|
var init_transfersGetRefund2 = __esm(() => {
|
|
98624
98468
|
init_transfersGetRefund();
|
|
98625
98469
|
init_operations();
|
|
98626
98470
|
init_tools();
|
|
98627
|
-
|
|
98471
|
+
args155 = {
|
|
98628
98472
|
request: GetRefundRequest$inboundSchema
|
|
98629
98473
|
};
|
|
98630
98474
|
tool$transfersGetRefund = {
|
|
@@ -98633,9 +98477,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
98633
98477
|
|
|
98634
98478
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98635
98479
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98636
|
-
args:
|
|
98637
|
-
tool: async (client,
|
|
98638
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
98480
|
+
args: args155,
|
|
98481
|
+
tool: async (client, args156, ctx) => {
|
|
98482
|
+
const [result, apiCall] = await transfersGetRefund(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98639
98483
|
if (!result.ok) {
|
|
98640
98484
|
return {
|
|
98641
98485
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98650,9 +98494,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98650
98494
|
|
|
98651
98495
|
// src/funcs/transfersInitiateRefund.ts
|
|
98652
98496
|
function transfersInitiateRefund(client, request, options) {
|
|
98653
|
-
return new APIPromise($
|
|
98497
|
+
return new APIPromise($do156(client, request, options));
|
|
98654
98498
|
}
|
|
98655
|
-
async function $
|
|
98499
|
+
async function $do156(client, request, options) {
|
|
98656
98500
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98657
98501
|
if (!parsed.ok) {
|
|
98658
98502
|
return [parsed, { status: "invalid" }];
|
|
@@ -98744,12 +98588,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
98744
98588
|
});
|
|
98745
98589
|
|
|
98746
98590
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
98747
|
-
var
|
|
98591
|
+
var args156, tool$transfersInitiateRefund;
|
|
98748
98592
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
98749
98593
|
init_transfersInitiateRefund();
|
|
98750
98594
|
init_operations();
|
|
98751
98595
|
init_tools();
|
|
98752
|
-
|
|
98596
|
+
args156 = {
|
|
98753
98597
|
request: InitiateRefundRequest$inboundSchema
|
|
98754
98598
|
};
|
|
98755
98599
|
tool$transfersInitiateRefund = {
|
|
@@ -98761,9 +98605,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
98761
98605
|
|
|
98762
98606
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98763
98607
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98764
|
-
args:
|
|
98765
|
-
tool: async (client,
|
|
98766
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
98608
|
+
args: args156,
|
|
98609
|
+
tool: async (client, args157, ctx) => {
|
|
98610
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98767
98611
|
if (!result.ok) {
|
|
98768
98612
|
return {
|
|
98769
98613
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98778,9 +98622,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98778
98622
|
|
|
98779
98623
|
// src/funcs/transfersList.ts
|
|
98780
98624
|
function transfersList(client, request, options) {
|
|
98781
|
-
return new APIPromise($
|
|
98625
|
+
return new APIPromise($do157(client, request, options));
|
|
98782
98626
|
}
|
|
98783
|
-
async function $
|
|
98627
|
+
async function $do157(client, request, options) {
|
|
98784
98628
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98785
98629
|
if (!parsed.ok) {
|
|
98786
98630
|
return [parsed, { status: "invalid" }];
|
|
@@ -98876,12 +98720,12 @@ var init_transfersList = __esm(() => {
|
|
|
98876
98720
|
});
|
|
98877
98721
|
|
|
98878
98722
|
// src/mcp-server/tools/transfersList.ts
|
|
98879
|
-
var
|
|
98723
|
+
var args157, tool$transfersList;
|
|
98880
98724
|
var init_transfersList2 = __esm(() => {
|
|
98881
98725
|
init_transfersList();
|
|
98882
98726
|
init_operations();
|
|
98883
98727
|
init_tools();
|
|
98884
|
-
|
|
98728
|
+
args157 = {
|
|
98885
98729
|
request: ListTransfersRequest$inboundSchema
|
|
98886
98730
|
};
|
|
98887
98731
|
tool$transfersList = {
|
|
@@ -98897,9 +98741,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
98897
98741
|
|
|
98898
98742
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98899
98743
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98900
|
-
args:
|
|
98901
|
-
tool: async (client,
|
|
98902
|
-
const [result, apiCall] = await transfersList(client,
|
|
98744
|
+
args: args157,
|
|
98745
|
+
tool: async (client, args158, ctx) => {
|
|
98746
|
+
const [result, apiCall] = await transfersList(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98903
98747
|
if (!result.ok) {
|
|
98904
98748
|
return {
|
|
98905
98749
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98914,9 +98758,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98914
98758
|
|
|
98915
98759
|
// src/funcs/transfersListRefunds.ts
|
|
98916
98760
|
function transfersListRefunds(client, request, options) {
|
|
98917
|
-
return new APIPromise($
|
|
98761
|
+
return new APIPromise($do158(client, request, options));
|
|
98918
98762
|
}
|
|
98919
|
-
async function $
|
|
98763
|
+
async function $do158(client, request, options) {
|
|
98920
98764
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98921
98765
|
if (!parsed.ok) {
|
|
98922
98766
|
return [parsed, { status: "invalid" }];
|
|
@@ -98998,12 +98842,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
98998
98842
|
});
|
|
98999
98843
|
|
|
99000
98844
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
99001
|
-
var
|
|
98845
|
+
var args158, tool$transfersListRefunds;
|
|
99002
98846
|
var init_transfersListRefunds2 = __esm(() => {
|
|
99003
98847
|
init_transfersListRefunds();
|
|
99004
98848
|
init_operations();
|
|
99005
98849
|
init_tools();
|
|
99006
|
-
|
|
98850
|
+
args158 = {
|
|
99007
98851
|
request: ListRefundsRequest$inboundSchema
|
|
99008
98852
|
};
|
|
99009
98853
|
tool$transfersListRefunds = {
|
|
@@ -99012,9 +98856,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
99012
98856
|
|
|
99013
98857
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99014
98858
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
99015
|
-
args:
|
|
99016
|
-
tool: async (client,
|
|
99017
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
98859
|
+
args: args158,
|
|
98860
|
+
tool: async (client, args159, ctx) => {
|
|
98861
|
+
const [result, apiCall] = await transfersListRefunds(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99018
98862
|
if (!result.ok) {
|
|
99019
98863
|
return {
|
|
99020
98864
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99029,9 +98873,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99029
98873
|
|
|
99030
98874
|
// src/funcs/transfersUpdate.ts
|
|
99031
98875
|
function transfersUpdate(client, request, options) {
|
|
99032
|
-
return new APIPromise($
|
|
98876
|
+
return new APIPromise($do159(client, request, options));
|
|
99033
98877
|
}
|
|
99034
|
-
async function $
|
|
98878
|
+
async function $do159(client, request, options) {
|
|
99035
98879
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99036
98880
|
if (!parsed.ok) {
|
|
99037
98881
|
return [parsed, { status: "invalid" }];
|
|
@@ -99117,12 +98961,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
99117
98961
|
});
|
|
99118
98962
|
|
|
99119
98963
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
99120
|
-
var
|
|
98964
|
+
var args159, tool$transfersUpdate;
|
|
99121
98965
|
var init_transfersUpdate2 = __esm(() => {
|
|
99122
98966
|
init_transfersUpdate();
|
|
99123
98967
|
init_operations();
|
|
99124
98968
|
init_tools();
|
|
99125
|
-
|
|
98969
|
+
args159 = {
|
|
99126
98970
|
request: UpdateTransferRequest$inboundSchema
|
|
99127
98971
|
};
|
|
99128
98972
|
tool$transfersUpdate = {
|
|
@@ -99133,9 +98977,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
99133
98977
|
|
|
99134
98978
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99135
98979
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99136
|
-
args:
|
|
99137
|
-
tool: async (client,
|
|
99138
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
98980
|
+
args: args159,
|
|
98981
|
+
tool: async (client, args160, ctx) => {
|
|
98982
|
+
const [result, apiCall] = await transfersUpdate(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99139
98983
|
if (!result.ok) {
|
|
99140
98984
|
return {
|
|
99141
98985
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99150,9 +98994,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99150
98994
|
|
|
99151
98995
|
// src/funcs/underwritingGet.ts
|
|
99152
98996
|
function underwritingGet(client, request, options) {
|
|
99153
|
-
return new APIPromise($
|
|
98997
|
+
return new APIPromise($do160(client, request, options));
|
|
99154
98998
|
}
|
|
99155
|
-
async function $
|
|
98999
|
+
async function $do160(client, request, options) {
|
|
99156
99000
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99157
99001
|
if (!parsed.ok) {
|
|
99158
99002
|
return [parsed, { status: "invalid" }];
|
|
@@ -99230,12 +99074,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
99230
99074
|
});
|
|
99231
99075
|
|
|
99232
99076
|
// src/mcp-server/tools/underwritingGet.ts
|
|
99233
|
-
var
|
|
99077
|
+
var args160, tool$underwritingGet;
|
|
99234
99078
|
var init_underwritingGet2 = __esm(() => {
|
|
99235
99079
|
init_underwritingGet();
|
|
99236
99080
|
init_operations();
|
|
99237
99081
|
init_tools();
|
|
99238
|
-
|
|
99082
|
+
args160 = {
|
|
99239
99083
|
request: GetUnderwritingRequest$inboundSchema
|
|
99240
99084
|
};
|
|
99241
99085
|
tool$underwritingGet = {
|
|
@@ -99246,9 +99090,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99246
99090
|
|
|
99247
99091
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99248
99092
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
99249
|
-
args:
|
|
99250
|
-
tool: async (client,
|
|
99251
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
99093
|
+
args: args160,
|
|
99094
|
+
tool: async (client, args161, ctx) => {
|
|
99095
|
+
const [result, apiCall] = await underwritingGet(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99252
99096
|
if (!result.ok) {
|
|
99253
99097
|
return {
|
|
99254
99098
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99263,9 +99107,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99263
99107
|
|
|
99264
99108
|
// src/funcs/underwritingSave.ts
|
|
99265
99109
|
function underwritingSave(client, request, options) {
|
|
99266
|
-
return new APIPromise($
|
|
99110
|
+
return new APIPromise($do161(client, request, options));
|
|
99267
99111
|
}
|
|
99268
|
-
async function $
|
|
99112
|
+
async function $do161(client, request, options) {
|
|
99269
99113
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99270
99114
|
if (!parsed.ok) {
|
|
99271
99115
|
return [parsed, { status: "invalid" }];
|
|
@@ -99361,12 +99205,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
99361
99205
|
});
|
|
99362
99206
|
|
|
99363
99207
|
// src/mcp-server/tools/underwritingSave.ts
|
|
99364
|
-
var
|
|
99208
|
+
var args161, tool$underwritingSave;
|
|
99365
99209
|
var init_underwritingSave2 = __esm(() => {
|
|
99366
99210
|
init_underwritingSave();
|
|
99367
99211
|
init_operations();
|
|
99368
99212
|
init_tools();
|
|
99369
|
-
|
|
99213
|
+
args161 = {
|
|
99370
99214
|
request: SaveUnderwritingRequest$inboundSchema
|
|
99371
99215
|
};
|
|
99372
99216
|
tool$underwritingSave = {
|
|
@@ -99377,9 +99221,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99377
99221
|
|
|
99378
99222
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99379
99223
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99380
|
-
args:
|
|
99381
|
-
tool: async (client,
|
|
99382
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
99224
|
+
args: args161,
|
|
99225
|
+
tool: async (client, args162, ctx) => {
|
|
99226
|
+
const [result, apiCall] = await underwritingSave(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99383
99227
|
if (!result.ok) {
|
|
99384
99228
|
return {
|
|
99385
99229
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99394,9 +99238,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99394
99238
|
|
|
99395
99239
|
// src/funcs/underwritingUpsert.ts
|
|
99396
99240
|
function underwritingUpsert(client, request, options) {
|
|
99397
|
-
return new APIPromise($
|
|
99241
|
+
return new APIPromise($do162(client, request, options));
|
|
99398
99242
|
}
|
|
99399
|
-
async function $
|
|
99243
|
+
async function $do162(client, request, options) {
|
|
99400
99244
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99401
99245
|
if (!parsed.ok) {
|
|
99402
99246
|
return [parsed, { status: "invalid" }];
|
|
@@ -99492,12 +99336,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
99492
99336
|
});
|
|
99493
99337
|
|
|
99494
99338
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
99495
|
-
var
|
|
99339
|
+
var args162, tool$underwritingUpsert;
|
|
99496
99340
|
var init_underwritingUpsert2 = __esm(() => {
|
|
99497
99341
|
init_underwritingUpsert();
|
|
99498
99342
|
init_operations();
|
|
99499
99343
|
init_tools();
|
|
99500
|
-
|
|
99344
|
+
args162 = {
|
|
99501
99345
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
99502
99346
|
};
|
|
99503
99347
|
tool$underwritingUpsert = {
|
|
@@ -99508,9 +99352,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99508
99352
|
|
|
99509
99353
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99510
99354
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99511
|
-
args:
|
|
99512
|
-
tool: async (client,
|
|
99513
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
99355
|
+
args: args162,
|
|
99356
|
+
tool: async (client, args163, ctx) => {
|
|
99357
|
+
const [result, apiCall] = await underwritingUpsert(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99514
99358
|
if (!result.ok) {
|
|
99515
99359
|
return {
|
|
99516
99360
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99525,9 +99369,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99525
99369
|
|
|
99526
99370
|
// src/funcs/walletsCreate.ts
|
|
99527
99371
|
function walletsCreate(client, request, options) {
|
|
99528
|
-
return new APIPromise($
|
|
99372
|
+
return new APIPromise($do163(client, request, options));
|
|
99529
99373
|
}
|
|
99530
|
-
async function $
|
|
99374
|
+
async function $do163(client, request, options) {
|
|
99531
99375
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99532
99376
|
if (!parsed.ok) {
|
|
99533
99377
|
return [parsed, { status: "invalid" }];
|
|
@@ -99621,12 +99465,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
99621
99465
|
});
|
|
99622
99466
|
|
|
99623
99467
|
// src/mcp-server/tools/walletsCreate.ts
|
|
99624
|
-
var
|
|
99468
|
+
var args163, tool$walletsCreate;
|
|
99625
99469
|
var init_walletsCreate2 = __esm(() => {
|
|
99626
99470
|
init_walletsCreate();
|
|
99627
99471
|
init_operations();
|
|
99628
99472
|
init_tools();
|
|
99629
|
-
|
|
99473
|
+
args163 = {
|
|
99630
99474
|
request: CreateWalletRequest$inboundSchema
|
|
99631
99475
|
};
|
|
99632
99476
|
tool$walletsCreate = {
|
|
@@ -99637,9 +99481,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99637
99481
|
|
|
99638
99482
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99639
99483
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
99640
|
-
args:
|
|
99641
|
-
tool: async (client,
|
|
99642
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
99484
|
+
args: args163,
|
|
99485
|
+
tool: async (client, args164, ctx) => {
|
|
99486
|
+
const [result, apiCall] = await walletsCreate(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99643
99487
|
if (!result.ok) {
|
|
99644
99488
|
return {
|
|
99645
99489
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99654,9 +99498,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
99654
99498
|
|
|
99655
99499
|
// src/funcs/walletsGet.ts
|
|
99656
99500
|
function walletsGet(client, request, options) {
|
|
99657
|
-
return new APIPromise($
|
|
99501
|
+
return new APIPromise($do164(client, request, options));
|
|
99658
99502
|
}
|
|
99659
|
-
async function $
|
|
99503
|
+
async function $do164(client, request, options) {
|
|
99660
99504
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99661
99505
|
if (!parsed.ok) {
|
|
99662
99506
|
return [parsed, { status: "invalid" }];
|
|
@@ -99738,12 +99582,12 @@ var init_walletsGet = __esm(() => {
|
|
|
99738
99582
|
});
|
|
99739
99583
|
|
|
99740
99584
|
// src/mcp-server/tools/walletsGet.ts
|
|
99741
|
-
var
|
|
99585
|
+
var args164, tool$walletsGet;
|
|
99742
99586
|
var init_walletsGet2 = __esm(() => {
|
|
99743
99587
|
init_walletsGet();
|
|
99744
99588
|
init_operations();
|
|
99745
99589
|
init_tools();
|
|
99746
|
-
|
|
99590
|
+
args164 = {
|
|
99747
99591
|
request: GetWalletRequest$inboundSchema
|
|
99748
99592
|
};
|
|
99749
99593
|
tool$walletsGet = {
|
|
@@ -99754,9 +99598,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99754
99598
|
|
|
99755
99599
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99756
99600
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99757
|
-
args:
|
|
99758
|
-
tool: async (client,
|
|
99759
|
-
const [result, apiCall] = await walletsGet(client,
|
|
99601
|
+
args: args164,
|
|
99602
|
+
tool: async (client, args165, ctx) => {
|
|
99603
|
+
const [result, apiCall] = await walletsGet(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99760
99604
|
if (!result.ok) {
|
|
99761
99605
|
return {
|
|
99762
99606
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99771,9 +99615,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99771
99615
|
|
|
99772
99616
|
// src/funcs/walletsList.ts
|
|
99773
99617
|
function walletsList(client, request, options) {
|
|
99774
|
-
return new APIPromise($
|
|
99618
|
+
return new APIPromise($do165(client, request, options));
|
|
99775
99619
|
}
|
|
99776
|
-
async function $
|
|
99620
|
+
async function $do165(client, request, options) {
|
|
99777
99621
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99778
99622
|
if (!parsed.ok) {
|
|
99779
99623
|
return [parsed, { status: "invalid" }];
|
|
@@ -99861,12 +99705,12 @@ var init_walletsList = __esm(() => {
|
|
|
99861
99705
|
});
|
|
99862
99706
|
|
|
99863
99707
|
// src/mcp-server/tools/walletsList.ts
|
|
99864
|
-
var
|
|
99708
|
+
var args165, tool$walletsList;
|
|
99865
99709
|
var init_walletsList2 = __esm(() => {
|
|
99866
99710
|
init_walletsList();
|
|
99867
99711
|
init_operations();
|
|
99868
99712
|
init_tools();
|
|
99869
|
-
|
|
99713
|
+
args165 = {
|
|
99870
99714
|
request: ListWalletsRequest$inboundSchema
|
|
99871
99715
|
};
|
|
99872
99716
|
tool$walletsList = {
|
|
@@ -99877,9 +99721,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99877
99721
|
|
|
99878
99722
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99879
99723
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
99880
|
-
args:
|
|
99881
|
-
tool: async (client,
|
|
99882
|
-
const [result, apiCall] = await walletsList(client,
|
|
99724
|
+
args: args165,
|
|
99725
|
+
tool: async (client, args166, ctx) => {
|
|
99726
|
+
const [result, apiCall] = await walletsList(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99883
99727
|
if (!result.ok) {
|
|
99884
99728
|
return {
|
|
99885
99729
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99894,9 +99738,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
99894
99738
|
|
|
99895
99739
|
// src/funcs/walletsUpdate.ts
|
|
99896
99740
|
function walletsUpdate(client, request, options) {
|
|
99897
|
-
return new APIPromise($
|
|
99741
|
+
return new APIPromise($do166(client, request, options));
|
|
99898
99742
|
}
|
|
99899
|
-
async function $
|
|
99743
|
+
async function $do166(client, request, options) {
|
|
99900
99744
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99901
99745
|
if (!parsed.ok) {
|
|
99902
99746
|
return [parsed, { status: "invalid" }];
|
|
@@ -99994,12 +99838,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
99994
99838
|
});
|
|
99995
99839
|
|
|
99996
99840
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
99997
|
-
var
|
|
99841
|
+
var args166, tool$walletsUpdate;
|
|
99998
99842
|
var init_walletsUpdate2 = __esm(() => {
|
|
99999
99843
|
init_walletsUpdate();
|
|
100000
99844
|
init_operations();
|
|
100001
99845
|
init_tools();
|
|
100002
|
-
|
|
99846
|
+
args166 = {
|
|
100003
99847
|
request: UpdateWalletRequest$inboundSchema
|
|
100004
99848
|
};
|
|
100005
99849
|
tool$walletsUpdate = {
|
|
@@ -100010,9 +99854,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100010
99854
|
|
|
100011
99855
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100012
99856
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
100013
|
-
args:
|
|
100014
|
-
tool: async (client,
|
|
100015
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
99857
|
+
args: args166,
|
|
99858
|
+
tool: async (client, args167, ctx) => {
|
|
99859
|
+
const [result, apiCall] = await walletsUpdate(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100016
99860
|
if (!result.ok) {
|
|
100017
99861
|
return {
|
|
100018
99862
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100027,9 +99871,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100027
99871
|
|
|
100028
99872
|
// src/funcs/walletTransactionsGet.ts
|
|
100029
99873
|
function walletTransactionsGet(client, request, options) {
|
|
100030
|
-
return new APIPromise($
|
|
99874
|
+
return new APIPromise($do167(client, request, options));
|
|
100031
99875
|
}
|
|
100032
|
-
async function $
|
|
99876
|
+
async function $do167(client, request, options) {
|
|
100033
99877
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100034
99878
|
if (!parsed.ok) {
|
|
100035
99879
|
return [parsed, { status: "invalid" }];
|
|
@@ -100115,12 +99959,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
100115
99959
|
});
|
|
100116
99960
|
|
|
100117
99961
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
100118
|
-
var
|
|
99962
|
+
var args167, tool$walletTransactionsGet;
|
|
100119
99963
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
100120
99964
|
init_walletTransactionsGet();
|
|
100121
99965
|
init_operations();
|
|
100122
99966
|
init_tools();
|
|
100123
|
-
|
|
99967
|
+
args167 = {
|
|
100124
99968
|
request: GetWalletTransactionRequest$inboundSchema
|
|
100125
99969
|
};
|
|
100126
99970
|
tool$walletTransactionsGet = {
|
|
@@ -100131,9 +99975,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100131
99975
|
|
|
100132
99976
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100133
99977
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100134
|
-
args:
|
|
100135
|
-
tool: async (client,
|
|
100136
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
99978
|
+
args: args167,
|
|
99979
|
+
tool: async (client, args168, ctx) => {
|
|
99980
|
+
const [result, apiCall] = await walletTransactionsGet(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100137
99981
|
if (!result.ok) {
|
|
100138
99982
|
return {
|
|
100139
99983
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100148,9 +99992,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100148
99992
|
|
|
100149
99993
|
// src/funcs/walletTransactionsList.ts
|
|
100150
99994
|
function walletTransactionsList(client, request, options) {
|
|
100151
|
-
return new APIPromise($
|
|
99995
|
+
return new APIPromise($do168(client, request, options));
|
|
100152
99996
|
}
|
|
100153
|
-
async function $
|
|
99997
|
+
async function $do168(client, request, options) {
|
|
100154
99998
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100155
99999
|
if (!parsed.ok) {
|
|
100156
100000
|
return [parsed, { status: "invalid" }];
|
|
@@ -100250,12 +100094,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
100250
100094
|
});
|
|
100251
100095
|
|
|
100252
100096
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
100253
|
-
var
|
|
100097
|
+
var args168, tool$walletTransactionsList;
|
|
100254
100098
|
var init_walletTransactionsList2 = __esm(() => {
|
|
100255
100099
|
init_walletTransactionsList();
|
|
100256
100100
|
init_operations();
|
|
100257
100101
|
init_tools();
|
|
100258
|
-
|
|
100102
|
+
args168 = {
|
|
100259
100103
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
100260
100104
|
};
|
|
100261
100105
|
tool$walletTransactionsList = {
|
|
@@ -100266,9 +100110,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100266
100110
|
|
|
100267
100111
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100268
100112
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100269
|
-
args:
|
|
100270
|
-
tool: async (client,
|
|
100271
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
100113
|
+
args: args168,
|
|
100114
|
+
tool: async (client, args169, ctx) => {
|
|
100115
|
+
const [result, apiCall] = await walletTransactionsList(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100272
100116
|
if (!result.ok) {
|
|
100273
100117
|
return {
|
|
100274
100118
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100285,7 +100129,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100285
100129
|
function createMCPServer(deps) {
|
|
100286
100130
|
const server = new McpServer({
|
|
100287
100131
|
name: "Moov",
|
|
100288
|
-
version: "0.22.
|
|
100132
|
+
version: "0.22.10"
|
|
100289
100133
|
});
|
|
100290
100134
|
const client = new MoovCore({
|
|
100291
100135
|
security: deps.security,
|
|
@@ -100375,7 +100219,6 @@ function createMCPServer(deps) {
|
|
|
100375
100219
|
tool(tool$invoicesListInvoices);
|
|
100376
100220
|
tool(tool$invoicesGetInvoice);
|
|
100377
100221
|
tool(tool$invoicesUpdateInvoice);
|
|
100378
|
-
tool(tool$invoicesMarkPaidInvoice);
|
|
100379
100222
|
tool(tool$paymentLinksCreate);
|
|
100380
100223
|
tool(tool$paymentLinksList);
|
|
100381
100224
|
tool(tool$paymentLinksGet);
|
|
@@ -100569,7 +100412,6 @@ var init_server2 = __esm(() => {
|
|
|
100569
100412
|
init_invoicesCreateInvoice2();
|
|
100570
100413
|
init_invoicesGetInvoice2();
|
|
100571
100414
|
init_invoicesListInvoices2();
|
|
100572
|
-
init_invoicesMarkPaidInvoice2();
|
|
100573
100415
|
init_invoicesUpdateInvoice2();
|
|
100574
100416
|
init_issuingTransactionsGet2();
|
|
100575
100417
|
init_issuingTransactionsGetAuthorization2();
|
|
@@ -101847,7 +101689,7 @@ var routes = rn({
|
|
|
101847
101689
|
var app = Ve(routes, {
|
|
101848
101690
|
name: "mcp",
|
|
101849
101691
|
versionInfo: {
|
|
101850
|
-
currentVersion: "0.22.
|
|
101692
|
+
currentVersion: "0.22.10"
|
|
101851
101693
|
}
|
|
101852
101694
|
});
|
|
101853
101695
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -101855,5 +101697,5 @@ export {
|
|
|
101855
101697
|
app
|
|
101856
101698
|
};
|
|
101857
101699
|
|
|
101858
|
-
//# debugId=
|
|
101700
|
+
//# debugId=B903F6E437A03FBC64756E2164756E21
|
|
101859
101701
|
//# sourceMappingURL=mcp-server.js.map
|