@moovio/sdk 26.4.0 → 26.4.2
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/FUNCTIONS.md +2 -2
- package/README.md +73 -59
- package/bin/mcp-server.js +1107 -271
- package/bin/mcp-server.js.map +55 -31
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +3 -1
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/googlePayLinkToken.d.ts +3 -1
- package/funcs/googlePayLinkToken.d.ts.map +1 -1
- package/funcs/googlePayLinkToken.js +3 -1
- package/funcs/googlePayLinkToken.js.map +1 -1
- package/funcs/transferConfigCreate.d.ts +15 -0
- package/funcs/transferConfigCreate.d.ts.map +1 -0
- package/funcs/transferConfigCreate.js +128 -0
- package/funcs/transferConfigCreate.js.map +1 -0
- package/funcs/transferConfigGet.d.ts +14 -0
- package/funcs/transferConfigGet.d.ts.map +1 -0
- package/funcs/transferConfigGet.js +122 -0
- package/funcs/transferConfigGet.js.map +1 -0
- package/funcs/transferConfigUpdate.d.ts +15 -0
- package/funcs/transferConfigUpdate.d.ts.map +1 -0
- package/funcs/transferConfigUpdate.js +126 -0
- package/funcs/transferConfigUpdate.js.map +1 -0
- 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/server.d.ts.map +1 -1
- package/mcp-server/server.js +7 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/googlePayLinkToken.d.ts.map +1 -1
- package/mcp-server/tools/googlePayLinkToken.js +3 -1
- package/mcp-server/tools/googlePayLinkToken.js.map +1 -1
- package/mcp-server/tools/transferConfigCreate.d.ts +8 -0
- package/mcp-server/tools/transferConfigCreate.d.ts.map +1 -0
- package/mcp-server/tools/transferConfigCreate.js +62 -0
- package/mcp-server/tools/transferConfigCreate.js.map +1 -0
- package/mcp-server/tools/transferConfigGet.d.ts +8 -0
- package/mcp-server/tools/transferConfigGet.d.ts.map +1 -0
- package/mcp-server/tools/transferConfigGet.js +62 -0
- package/mcp-server/tools/transferConfigGet.js.map +1 -0
- package/mcp-server/tools/transferConfigUpdate.d.ts +8 -0
- package/mcp-server/tools/transferConfigUpdate.d.ts.map +1 -0
- package/mcp-server/tools/transferConfigUpdate.js +62 -0
- package/mcp-server/tools/transferConfigUpdate.js.map +1 -0
- package/models/components/createdtransfer.d.ts +4 -1
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js +3 -0
- package/models/components/createdtransfer.js.map +1 -1
- package/models/components/createpaymentlink.d.ts +13 -0
- package/models/components/createpaymentlink.d.ts.map +1 -1
- package/models/components/createpaymentlink.js.map +1 -1
- package/models/components/createtippresets.d.ts +36 -0
- package/models/components/createtippresets.d.ts.map +1 -0
- package/models/components/createtippresets.js +64 -0
- package/models/components/createtippresets.js.map +1 -0
- package/models/components/createtransfer.d.ts +3 -3
- package/models/components/createtransfer.d.ts.map +1 -1
- package/models/components/createtransfer.js +3 -0
- package/models/components/createtransfer.js.map +1 -1
- package/models/components/createtransferamountdetails.d.ts +21 -0
- package/models/components/createtransferamountdetails.d.ts.map +1 -0
- package/models/components/createtransferamountdetails.js +59 -0
- package/models/components/createtransferamountdetails.js.map +1 -0
- package/models/components/createtransferamountdetailsvalidationerror.d.ts +17 -0
- package/models/components/createtransferamountdetailsvalidationerror.d.ts.map +1 -0
- package/models/components/createtransferamountdetailsvalidationerror.js +58 -0
- package/models/components/createtransferamountdetailsvalidationerror.js.map +1 -0
- package/models/components/createtransferconfig.d.ts +18 -0
- package/models/components/createtransferconfig.d.ts.map +1 -0
- package/models/components/{googlepayintermediatesigningkey.js → createtransferconfig.js} +13 -14
- package/models/components/createtransferconfig.js.map +1 -0
- package/models/components/fileuploadmetadata.d.ts +28 -0
- package/models/components/fileuploadmetadata.d.ts.map +1 -0
- package/models/components/fileuploadmetadata.js +69 -0
- package/models/components/fileuploadmetadata.js.map +1 -0
- package/models/components/fileuploadrequestmultipart.d.ts +5 -8
- package/models/components/fileuploadrequestmultipart.d.ts.map +1 -1
- package/models/components/fileuploadrequestmultipart.js +3 -2
- package/models/components/fileuploadrequestmultipart.js.map +1 -1
- package/models/components/googlepayassurancedetails.d.ts +28 -0
- package/models/components/googlepayassurancedetails.d.ts.map +1 -0
- package/models/components/googlepayassurancedetails.js +60 -0
- package/models/components/googlepayassurancedetails.js.map +1 -0
- package/models/components/googlepaybillingaddress.d.ts +73 -0
- package/models/components/googlepaybillingaddress.d.ts.map +1 -0
- package/models/components/googlepaybillingaddress.js +76 -0
- package/models/components/googlepaybillingaddress.js.map +1 -0
- package/models/components/googlepaycardinfo.d.ts +91 -0
- package/models/components/googlepaycardinfo.d.ts.map +1 -0
- package/models/components/googlepaycardinfo.js +98 -0
- package/models/components/googlepaycardinfo.js.map +1 -0
- package/models/components/googlepaypaymentmethoddata.d.ts +65 -0
- package/models/components/googlepaypaymentmethoddata.d.ts.map +1 -0
- package/models/components/googlepaypaymentmethoddata.js +76 -0
- package/models/components/googlepaypaymentmethoddata.js.map +1 -0
- package/models/components/googlepaytokenizationdata.d.ts +47 -0
- package/models/components/googlepaytokenizationdata.d.ts.map +1 -0
- package/models/components/googlepaytokenizationdata.js +70 -0
- package/models/components/googlepaytokenizationdata.js.map +1 -0
- package/models/components/index.d.ts +16 -2
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +16 -2
- package/models/components/index.js.map +1 -1
- package/models/components/linkedgooglepaypaymentmethod.d.ts +5 -10
- package/models/components/linkedgooglepaypaymentmethod.d.ts.map +1 -1
- package/models/components/linkedgooglepaypaymentmethod.js +4 -11
- package/models/components/linkedgooglepaypaymentmethod.js.map +1 -1
- package/models/components/linkgooglepay.d.ts +17 -9
- package/models/components/linkgooglepay.d.ts.map +1 -1
- package/models/components/linkgooglepay.js +5 -3
- package/models/components/linkgooglepay.js.map +1 -1
- package/models/components/paymentlink.d.ts +10 -0
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/paymentlinkcustomeroptions.d.ts +5 -0
- package/models/components/paymentlinkcustomeroptions.d.ts.map +1 -1
- package/models/components/paymentlinkcustomeroptions.js +2 -0
- package/models/components/paymentlinkcustomeroptions.js.map +1 -1
- package/models/components/puttippresets.d.ts +36 -0
- package/models/components/puttippresets.d.ts.map +1 -0
- package/models/components/puttippresets.js +64 -0
- package/models/components/puttippresets.js.map +1 -0
- package/models/components/puttransferconfig.d.ts +18 -0
- package/models/components/puttransferconfig.d.ts.map +1 -0
- package/models/components/puttransferconfig.js +59 -0
- package/models/components/puttransferconfig.js.map +1 -0
- package/models/components/tipcalculationbasis.d.ts +26 -0
- package/models/components/tipcalculationbasis.d.ts.map +1 -0
- package/models/components/tipcalculationbasis.js +56 -0
- package/models/components/tipcalculationbasis.js.map +1 -0
- package/models/components/tippresets.d.ts +39 -0
- package/models/components/tippresets.d.ts.map +1 -0
- package/models/components/tippresets.js +64 -0
- package/models/components/tippresets.js.map +1 -0
- package/models/components/transfer.d.ts +3 -3
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +3 -0
- package/models/components/transfer.js.map +1 -1
- package/models/components/transferamountdetails.d.ts +21 -0
- package/models/components/transferamountdetails.d.ts.map +1 -0
- package/models/components/transferamountdetails.js +59 -0
- package/models/components/transferamountdetails.js.map +1 -0
- package/models/components/transferconfig.d.ts +24 -0
- package/models/components/transferconfig.d.ts.map +1 -0
- package/models/components/{googlepaytoken.js → transferconfig.js} +13 -19
- package/models/components/transferconfig.js.map +1 -0
- package/models/components/transferdestination.d.ts +6 -0
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +3 -0
- package/models/components/transferdestination.js.map +1 -1
- package/models/components/transfersource.d.ts +6 -0
- package/models/components/transfersource.d.ts.map +1 -1
- package/models/components/transfersource.js +3 -0
- package/models/components/transfersource.js.map +1 -1
- package/models/components/webhookdata.d.ts +2 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +2 -2
- package/models/components/webhookdata.js.map +1 -1
- package/models/components/webhookdatabankaccountcreated.d.ts +3 -0
- package/models/components/webhookdatabankaccountcreated.d.ts.map +1 -1
- package/models/components/webhookdatabankaccountcreated.js +3 -0
- package/models/components/webhookdatabankaccountcreated.js.map +1 -1
- package/models/errors/index.d.ts +1 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +1 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/linkgooglepayerror.d.ts +14 -5
- package/models/errors/linkgooglepayerror.d.ts.map +1 -1
- package/models/errors/linkgooglepayerror.js +10 -4
- package/models/errors/linkgooglepayerror.js.map +1 -1
- package/models/errors/transfer.d.ts +3 -6
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +4 -0
- package/models/errors/transfer.js.map +1 -1
- package/models/errors/transferconfigvalidationerror.d.ts +43 -0
- package/models/errors/transferconfigvalidationerror.d.ts.map +1 -0
- package/models/errors/transferconfigvalidationerror.js +99 -0
- package/models/errors/transferconfigvalidationerror.js.map +1 -0
- package/models/errors/transfervalidationerror.d.ts +3 -0
- package/models/errors/transfervalidationerror.d.ts.map +1 -1
- package/models/errors/transfervalidationerror.js +6 -0
- package/models/errors/transfervalidationerror.js.map +1 -1
- package/models/operations/createtransferconfig.d.ts +42 -0
- package/models/operations/createtransferconfig.d.ts.map +1 -0
- package/models/operations/createtransferconfig.js +98 -0
- package/models/operations/createtransferconfig.js.map +1 -0
- package/models/operations/gettransferconfig.d.ts +37 -0
- package/models/operations/gettransferconfig.d.ts.map +1 -0
- package/models/operations/gettransferconfig.js +88 -0
- package/models/operations/gettransferconfig.js.map +1 -0
- package/models/operations/index.d.ts +3 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +3 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/updatetransferconfig.d.ts +39 -0
- package/models/operations/updatetransferconfig.d.ts.map +1 -0
- package/models/operations/updatetransferconfig.js +98 -0
- package/models/operations/updatetransferconfig.js.map +1 -0
- package/package.json +1 -1
- package/sdk/googlepay.d.ts +3 -1
- package/sdk/googlepay.d.ts.map +1 -1
- package/sdk/googlepay.js +3 -1
- package/sdk/googlepay.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/transferconfig.d.ts +17 -0
- package/sdk/transferconfig.d.ts.map +1 -0
- package/sdk/transferconfig.js +33 -0
- package/sdk/transferconfig.js.map +1 -0
- package/src/funcs/filesUpload.ts +13 -2
- package/src/funcs/googlePayLinkToken.ts +3 -1
- package/src/funcs/transferConfigCreate.ts +187 -0
- package/src/funcs/transferConfigGet.ts +172 -0
- package/src/funcs/transferConfigUpdate.ts +185 -0
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +7 -1
- package/src/mcp-server/tools/googlePayLinkToken.ts +3 -1
- package/src/mcp-server/tools/transferConfigCreate.ts +35 -0
- package/src/mcp-server/tools/transferConfigGet.ts +35 -0
- package/src/mcp-server/tools/transferConfigUpdate.ts +35 -0
- package/src/models/components/createdtransfer.ts +11 -1
- package/src/models/components/createpaymentlink.ts +13 -0
- package/src/models/components/createtippresets.ts +83 -0
- package/src/models/components/createtransfer.ts +10 -3
- package/src/models/components/createtransferamountdetails.ts +62 -0
- package/src/models/components/createtransferamountdetailsvalidationerror.ts +59 -0
- package/src/models/components/createtransferconfig.ts +57 -0
- package/src/models/components/fileuploadmetadata.ts +73 -0
- package/src/models/components/fileuploadrequestmultipart.ts +12 -10
- package/src/models/components/googlepayassurancedetails.ts +64 -0
- package/src/models/components/googlepaybillingaddress.ts +125 -0
- package/src/models/components/googlepaycardinfo.ts +153 -0
- package/src/models/components/googlepaypaymentmethoddata.ts +120 -0
- package/src/models/components/googlepaytokenizationdata.ts +91 -0
- package/src/models/components/index.ts +16 -2
- package/src/models/components/linkedgooglepaypaymentmethod.ts +11 -22
- package/src/models/components/linkgooglepay.ts +25 -15
- package/src/models/components/paymentlink.ts +10 -0
- package/src/models/components/paymentlinkcustomeroptions.ts +7 -0
- package/src/models/components/puttippresets.ts +79 -0
- package/src/models/components/puttransferconfig.ts +57 -0
- package/src/models/components/tipcalculationbasis.ts +35 -0
- package/src/models/components/tippresets.ts +82 -0
- package/src/models/components/transfer.ts +10 -3
- package/src/models/components/transferamountdetails.ts +60 -0
- package/src/models/components/transferconfig.ts +59 -0
- package/src/models/components/transferdestination.ts +13 -0
- package/src/models/components/transfersource.ts +13 -0
- package/src/models/components/webhookdata.ts +4 -4
- package/src/models/components/webhookdatabankaccountcreated.ts +9 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/errors/linkgooglepayerror.ts +24 -8
- package/src/models/errors/transfer.ts +6 -6
- package/src/models/errors/transferconfigvalidationerror.ts +110 -0
- package/src/models/errors/transfervalidationerror.ts +14 -0
- package/src/models/operations/createtransferconfig.ts +129 -0
- package/src/models/operations/gettransferconfig.ts +110 -0
- package/src/models/operations/index.ts +3 -0
- package/src/models/operations/updatetransferconfig.ts +126 -0
- package/src/sdk/googlepay.ts +3 -1
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/transferconfig.ts +54 -0
- package/models/components/googlepayintermediatesigningkey.d.ts +0 -28
- package/models/components/googlepayintermediatesigningkey.d.ts.map +0 -1
- package/models/components/googlepayintermediatesigningkey.js.map +0 -1
- package/models/components/googlepaytoken.d.ts +0 -44
- package/models/components/googlepaytoken.d.ts.map +0 -1
- package/models/components/googlepaytoken.js.map +0 -1
- package/src/models/components/googlepayintermediatesigningkey.ts +0 -66
- package/src/models/components/googlepaytoken.ts +0 -85
package/bin/mcp-server.js
CHANGED
|
@@ -52879,9 +52879,9 @@ var init_config = __esm(() => {
|
|
|
52879
52879
|
SDK_METADATA = {
|
|
52880
52880
|
language: "typescript",
|
|
52881
52881
|
openapiDocVersion: "v2026.04.00",
|
|
52882
|
-
sdkVersion: "26.4.
|
|
52883
|
-
genVersion: "2.881.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 26.4.
|
|
52882
|
+
sdkVersion: "26.4.2",
|
|
52883
|
+
genVersion: "2.881.17",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 26.4.2 2.881.17 v2026.04.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -61281,6 +61281,41 @@ var init_moovfeedetails = __esm(() => {
|
|
|
61281
61281
|
});
|
|
61282
61282
|
});
|
|
61283
61283
|
|
|
61284
|
+
// src/models/components/transferamountdetails.ts
|
|
61285
|
+
var TransferAmountDetails$inboundSchema, TransferAmountDetails$outboundSchema;
|
|
61286
|
+
var init_transferamountdetails = __esm(() => {
|
|
61287
|
+
init_esm();
|
|
61288
|
+
init_amountdecimal();
|
|
61289
|
+
TransferAmountDetails$inboundSchema = objectType({
|
|
61290
|
+
tip: AmountDecimal$inboundSchema.optional()
|
|
61291
|
+
});
|
|
61292
|
+
TransferAmountDetails$outboundSchema = objectType({
|
|
61293
|
+
tip: AmountDecimal$outboundSchema.optional()
|
|
61294
|
+
});
|
|
61295
|
+
});
|
|
61296
|
+
|
|
61297
|
+
// src/models/components/googlepayresponse.ts
|
|
61298
|
+
var GooglePayResponse$inboundSchema, GooglePayResponse$outboundSchema;
|
|
61299
|
+
var init_googlepayresponse = __esm(() => {
|
|
61300
|
+
init_esm();
|
|
61301
|
+
init_cardbrand();
|
|
61302
|
+
init_cardexpiration();
|
|
61303
|
+
GooglePayResponse$inboundSchema = objectType({
|
|
61304
|
+
brand: CardBrand$inboundSchema,
|
|
61305
|
+
cardDetails: stringType(),
|
|
61306
|
+
fingerprint: stringType(),
|
|
61307
|
+
expiration: CardExpiration$inboundSchema,
|
|
61308
|
+
issuerCountry: stringType().optional()
|
|
61309
|
+
});
|
|
61310
|
+
GooglePayResponse$outboundSchema = objectType({
|
|
61311
|
+
brand: CardBrand$outboundSchema,
|
|
61312
|
+
cardDetails: stringType(),
|
|
61313
|
+
fingerprint: stringType(),
|
|
61314
|
+
expiration: CardExpiration$outboundSchema,
|
|
61315
|
+
issuerCountry: stringType().optional()
|
|
61316
|
+
});
|
|
61317
|
+
});
|
|
61318
|
+
|
|
61284
61319
|
// src/models/components/instantbankfailurecode.ts
|
|
61285
61320
|
var InstantBankFailureCode, InstantBankFailureCode$inboundSchema, InstantBankFailureCode$outboundSchema;
|
|
61286
61321
|
var init_instantbankfailurecode = __esm(() => {
|
|
@@ -61472,6 +61507,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61472
61507
|
init_achtransactiondetails();
|
|
61473
61508
|
init_applepayresponse();
|
|
61474
61509
|
init_cardtransactiondetails();
|
|
61510
|
+
init_googlepayresponse();
|
|
61475
61511
|
init_instantbanktransactiondetails();
|
|
61476
61512
|
init_rtpfailurecode();
|
|
61477
61513
|
init_rtptransactionstatus();
|
|
@@ -61507,6 +61543,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61507
61543
|
card: TransferPaymentMethodsCard$inboundSchema.optional(),
|
|
61508
61544
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
61509
61545
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61546
|
+
googlePay: GooglePayResponse$inboundSchema.optional(),
|
|
61510
61547
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61511
61548
|
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional(),
|
|
61512
61549
|
instantBankDetails: InstantBankTransactionDetails$inboundSchema.optional()
|
|
@@ -61520,6 +61557,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61520
61557
|
card: TransferPaymentMethodsCard$outboundSchema.optional(),
|
|
61521
61558
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
61522
61559
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61560
|
+
googlePay: GooglePayResponse$outboundSchema.optional(),
|
|
61523
61561
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61524
61562
|
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional(),
|
|
61525
61563
|
instantBankDetails: InstantBankTransactionDetails$outboundSchema.optional()
|
|
@@ -61626,6 +61664,7 @@ var init_transfersource = __esm(() => {
|
|
|
61626
61664
|
init_achtransactiondetails();
|
|
61627
61665
|
init_applepayresponse();
|
|
61628
61666
|
init_cardtransactiondetails();
|
|
61667
|
+
init_googlepayresponse();
|
|
61629
61668
|
init_transferaccount();
|
|
61630
61669
|
init_transferpaymentmethodsbankaccount();
|
|
61631
61670
|
init_transferpaymentmethodscard();
|
|
@@ -61641,6 +61680,7 @@ var init_transfersource = __esm(() => {
|
|
|
61641
61680
|
wallet: TransferPaymentMethodsWallet$inboundSchema.optional(),
|
|
61642
61681
|
card: TransferPaymentMethodsCard$inboundSchema.optional(),
|
|
61643
61682
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61683
|
+
googlePay: GooglePayResponse$inboundSchema.optional(),
|
|
61644
61684
|
terminalCard: TransferTerminalCard$inboundSchema.optional(),
|
|
61645
61685
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61646
61686
|
achDetails: ACHTransactionDetails$inboundSchema.optional()
|
|
@@ -61654,6 +61694,7 @@ var init_transfersource = __esm(() => {
|
|
|
61654
61694
|
wallet: TransferPaymentMethodsWallet$outboundSchema.optional(),
|
|
61655
61695
|
card: TransferPaymentMethodsCard$outboundSchema.optional(),
|
|
61656
61696
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61697
|
+
googlePay: GooglePayResponse$outboundSchema.optional(),
|
|
61657
61698
|
terminalCard: TransferTerminalCard$outboundSchema.optional(),
|
|
61658
61699
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61659
61700
|
achDetails: ACHTransactionDetails$outboundSchema.optional()
|
|
@@ -61687,6 +61728,7 @@ var init_createdtransfer = __esm(() => {
|
|
|
61687
61728
|
init_cardacquiringrefund();
|
|
61688
61729
|
init_facilitatorfee();
|
|
61689
61730
|
init_moovfeedetails();
|
|
61731
|
+
init_transferamountdetails();
|
|
61690
61732
|
init_transferdestination();
|
|
61691
61733
|
init_transferfailurereason();
|
|
61692
61734
|
init_transferlineitems();
|
|
@@ -61719,7 +61761,8 @@ var init_createdtransfer = __esm(() => {
|
|
|
61719
61761
|
paymentLinkCode: stringType().optional(),
|
|
61720
61762
|
salesTaxAmount: Amount$inboundSchema.optional(),
|
|
61721
61763
|
foreignID: stringType().optional(),
|
|
61722
|
-
lineItems: TransferLineItems$inboundSchema.optional()
|
|
61764
|
+
lineItems: TransferLineItems$inboundSchema.optional(),
|
|
61765
|
+
amountDetails: TransferAmountDetails$inboundSchema.optional()
|
|
61723
61766
|
});
|
|
61724
61767
|
CreatedTransfer$outboundSchema = objectType({
|
|
61725
61768
|
transferID: stringType(),
|
|
@@ -61748,7 +61791,8 @@ var init_createdtransfer = __esm(() => {
|
|
|
61748
61791
|
paymentLinkCode: stringType().optional(),
|
|
61749
61792
|
salesTaxAmount: Amount$outboundSchema.optional(),
|
|
61750
61793
|
foreignID: stringType().optional(),
|
|
61751
|
-
lineItems: TransferLineItems$outboundSchema.optional()
|
|
61794
|
+
lineItems: TransferLineItems$outboundSchema.optional(),
|
|
61795
|
+
amountDetails: TransferAmountDetails$outboundSchema.optional()
|
|
61752
61796
|
});
|
|
61753
61797
|
});
|
|
61754
61798
|
|
|
@@ -62154,11 +62198,13 @@ var init_paymentlinkcustomeroptions = __esm(() => {
|
|
|
62154
62198
|
PaymentLinkCustomerOptions$inboundSchema = objectType({
|
|
62155
62199
|
requireAddress: booleanType().optional(),
|
|
62156
62200
|
requirePhone: booleanType().optional(),
|
|
62201
|
+
tippingEnabled: booleanType().optional(),
|
|
62157
62202
|
metadata: recordType(stringType()).optional()
|
|
62158
62203
|
});
|
|
62159
62204
|
PaymentLinkCustomerOptions$outboundSchema = objectType({
|
|
62160
62205
|
requireAddress: booleanType().optional(),
|
|
62161
62206
|
requirePhone: booleanType().optional(),
|
|
62207
|
+
tippingEnabled: booleanType().optional(),
|
|
62162
62208
|
metadata: recordType(stringType()).optional()
|
|
62163
62209
|
});
|
|
62164
62210
|
});
|
|
@@ -62743,6 +62789,49 @@ var init_createticketcontacterror = __esm(() => {
|
|
|
62743
62789
|
});
|
|
62744
62790
|
});
|
|
62745
62791
|
|
|
62792
|
+
// src/models/components/tipcalculationbasis.ts
|
|
62793
|
+
var TipCalculationBasis, TipCalculationBasis$inboundSchema, TipCalculationBasis$outboundSchema;
|
|
62794
|
+
var init_tipcalculationbasis = __esm(() => {
|
|
62795
|
+
init_esm();
|
|
62796
|
+
TipCalculationBasis = {
|
|
62797
|
+
PreTax: "pre-tax",
|
|
62798
|
+
PostTax: "post-tax"
|
|
62799
|
+
};
|
|
62800
|
+
TipCalculationBasis$inboundSchema = nativeEnumType(TipCalculationBasis);
|
|
62801
|
+
TipCalculationBasis$outboundSchema = TipCalculationBasis$inboundSchema;
|
|
62802
|
+
});
|
|
62803
|
+
|
|
62804
|
+
// src/models/components/createtippresets.ts
|
|
62805
|
+
var CreateTipPresets$inboundSchema, CreateTipPresets$outboundSchema;
|
|
62806
|
+
var init_createtippresets = __esm(() => {
|
|
62807
|
+
init_esm();
|
|
62808
|
+
init_amountdecimal();
|
|
62809
|
+
init_tipcalculationbasis();
|
|
62810
|
+
CreateTipPresets$inboundSchema = objectType({
|
|
62811
|
+
calculationBasis: TipCalculationBasis$inboundSchema.optional(),
|
|
62812
|
+
percentageOptions: arrayType(numberType().int()).optional(),
|
|
62813
|
+
fixedAmountOptions: arrayType(AmountDecimal$inboundSchema).optional()
|
|
62814
|
+
});
|
|
62815
|
+
CreateTipPresets$outboundSchema = objectType({
|
|
62816
|
+
calculationBasis: TipCalculationBasis$outboundSchema.optional(),
|
|
62817
|
+
percentageOptions: arrayType(numberType().int()).optional(),
|
|
62818
|
+
fixedAmountOptions: arrayType(AmountDecimal$outboundSchema).optional()
|
|
62819
|
+
});
|
|
62820
|
+
});
|
|
62821
|
+
|
|
62822
|
+
// src/models/components/createtransferamountdetails.ts
|
|
62823
|
+
var CreateTransferAmountDetails$inboundSchema, CreateTransferAmountDetails$outboundSchema;
|
|
62824
|
+
var init_createtransferamountdetails = __esm(() => {
|
|
62825
|
+
init_esm();
|
|
62826
|
+
init_amountdecimal();
|
|
62827
|
+
CreateTransferAmountDetails$inboundSchema = objectType({
|
|
62828
|
+
tip: AmountDecimal$inboundSchema.optional()
|
|
62829
|
+
});
|
|
62830
|
+
CreateTransferAmountDetails$outboundSchema = objectType({
|
|
62831
|
+
tip: AmountDecimal$outboundSchema.optional()
|
|
62832
|
+
});
|
|
62833
|
+
});
|
|
62834
|
+
|
|
62746
62835
|
// src/models/components/createtransferachaddendarecord.ts
|
|
62747
62836
|
var CreateTransferACHAddendaRecord$inboundSchema, CreateTransferACHAddendaRecord$outboundSchema;
|
|
62748
62837
|
var init_createtransferachaddendarecord = __esm(() => {
|
|
@@ -62928,6 +63017,7 @@ var CreateTransfer$inboundSchema, CreateTransfer$outboundSchema;
|
|
|
62928
63017
|
var init_createtransfer = __esm(() => {
|
|
62929
63018
|
init_esm();
|
|
62930
63019
|
init_amount();
|
|
63020
|
+
init_createtransferamountdetails();
|
|
62931
63021
|
init_createtransferdestination();
|
|
62932
63022
|
init_createtransferlineitems();
|
|
62933
63023
|
init_createtransfersource();
|
|
@@ -62941,7 +63031,8 @@ var init_createtransfer = __esm(() => {
|
|
|
62941
63031
|
metadata: recordType(stringType()).optional(),
|
|
62942
63032
|
salesTaxAmount: Amount$inboundSchema.optional(),
|
|
62943
63033
|
foreignID: stringType().optional(),
|
|
62944
|
-
lineItems: CreateTransferLineItems$inboundSchema.optional()
|
|
63034
|
+
lineItems: CreateTransferLineItems$inboundSchema.optional(),
|
|
63035
|
+
amountDetails: CreateTransferAmountDetails$inboundSchema.optional()
|
|
62945
63036
|
});
|
|
62946
63037
|
CreateTransfer$outboundSchema = objectType({
|
|
62947
63038
|
source: CreateTransferSource$outboundSchema,
|
|
@@ -62952,7 +63043,33 @@ var init_createtransfer = __esm(() => {
|
|
|
62952
63043
|
metadata: recordType(stringType()).optional(),
|
|
62953
63044
|
salesTaxAmount: Amount$outboundSchema.optional(),
|
|
62954
63045
|
foreignID: stringType().optional(),
|
|
62955
|
-
lineItems: CreateTransferLineItems$outboundSchema.optional()
|
|
63046
|
+
lineItems: CreateTransferLineItems$outboundSchema.optional(),
|
|
63047
|
+
amountDetails: CreateTransferAmountDetails$outboundSchema.optional()
|
|
63048
|
+
});
|
|
63049
|
+
});
|
|
63050
|
+
|
|
63051
|
+
// src/models/components/createtransferamountdetailsvalidationerror.ts
|
|
63052
|
+
var CreateTransferAmountDetailsValidationError$inboundSchema, CreateTransferAmountDetailsValidationError$outboundSchema;
|
|
63053
|
+
var init_createtransferamountdetailsvalidationerror = __esm(() => {
|
|
63054
|
+
init_esm();
|
|
63055
|
+
CreateTransferAmountDetailsValidationError$inboundSchema = objectType({
|
|
63056
|
+
tip: stringType().optional()
|
|
63057
|
+
});
|
|
63058
|
+
CreateTransferAmountDetailsValidationError$outboundSchema = objectType({
|
|
63059
|
+
tip: stringType().optional()
|
|
63060
|
+
});
|
|
63061
|
+
});
|
|
63062
|
+
|
|
63063
|
+
// src/models/components/createtransferconfig.ts
|
|
63064
|
+
var CreateTransferConfig$inboundSchema, CreateTransferConfig$outboundSchema;
|
|
63065
|
+
var init_createtransferconfig = __esm(() => {
|
|
63066
|
+
init_esm();
|
|
63067
|
+
init_createtippresets();
|
|
63068
|
+
CreateTransferConfig$inboundSchema = objectType({
|
|
63069
|
+
tipPresets: CreateTipPresets$inboundSchema.optional()
|
|
63070
|
+
});
|
|
63071
|
+
CreateTransferConfig$outboundSchema = objectType({
|
|
63072
|
+
tipPresets: CreateTipPresets$outboundSchema.optional()
|
|
62956
63073
|
});
|
|
62957
63074
|
});
|
|
62958
63075
|
|
|
@@ -63686,12 +63803,36 @@ var init_filedetails = __esm(() => {
|
|
|
63686
63803
|
});
|
|
63687
63804
|
});
|
|
63688
63805
|
|
|
63806
|
+
// src/models/components/fileuploadmetadata.ts
|
|
63807
|
+
var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
|
|
63808
|
+
var init_fileuploadmetadata = __esm(() => {
|
|
63809
|
+
init_esm();
|
|
63810
|
+
init_primitives();
|
|
63811
|
+
FileUploadMetadata$inboundSchema = objectType({
|
|
63812
|
+
representative_id: stringType().optional(),
|
|
63813
|
+
comment: stringType().optional()
|
|
63814
|
+
}).transform((v2) => {
|
|
63815
|
+
return remap(v2, {
|
|
63816
|
+
representative_id: "representativeId"
|
|
63817
|
+
});
|
|
63818
|
+
});
|
|
63819
|
+
FileUploadMetadata$outboundSchema = objectType({
|
|
63820
|
+
representativeId: stringType().optional(),
|
|
63821
|
+
comment: stringType().optional()
|
|
63822
|
+
}).transform((v2) => {
|
|
63823
|
+
return remap(v2, {
|
|
63824
|
+
representativeId: "representative_id"
|
|
63825
|
+
});
|
|
63826
|
+
});
|
|
63827
|
+
});
|
|
63828
|
+
|
|
63689
63829
|
// src/models/components/fileuploadrequestmultipart.ts
|
|
63690
63830
|
var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
|
|
63691
63831
|
var init_fileuploadrequestmultipart = __esm(() => {
|
|
63692
63832
|
init_esm();
|
|
63693
63833
|
init_blobs();
|
|
63694
63834
|
init_filepurpose();
|
|
63835
|
+
init_fileuploadmetadata();
|
|
63695
63836
|
FileUploadRequestMultiPartFile$inboundSchema = objectType({
|
|
63696
63837
|
fileName: stringType(),
|
|
63697
63838
|
content: unionType([
|
|
@@ -63713,12 +63854,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
|
|
|
63713
63854
|
FileUploadRequestMultiPart$inboundSchema = objectType({
|
|
63714
63855
|
file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
|
|
63715
63856
|
filePurpose: FilePurpose$inboundSchema,
|
|
63716
|
-
metadata:
|
|
63857
|
+
metadata: FileUploadMetadata$inboundSchema.optional()
|
|
63717
63858
|
});
|
|
63718
63859
|
FileUploadRequestMultiPart$outboundSchema = objectType({
|
|
63719
63860
|
file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
|
|
63720
63861
|
filePurpose: FilePurpose$outboundSchema,
|
|
63721
|
-
metadata:
|
|
63862
|
+
metadata: FileUploadMetadata$outboundSchema.optional()
|
|
63722
63863
|
});
|
|
63723
63864
|
});
|
|
63724
63865
|
|
|
@@ -63925,39 +64066,88 @@ var init_geographicreach = __esm(() => {
|
|
|
63925
64066
|
GeographicReach$outboundSchema = GeographicReach$inboundSchema;
|
|
63926
64067
|
});
|
|
63927
64068
|
|
|
63928
|
-
// src/models/components/
|
|
63929
|
-
var
|
|
63930
|
-
var
|
|
64069
|
+
// src/models/components/googlepayassurancedetails.ts
|
|
64070
|
+
var GooglePayAssuranceDetails$inboundSchema, GooglePayAssuranceDetails$outboundSchema;
|
|
64071
|
+
var init_googlepayassurancedetails = __esm(() => {
|
|
63931
64072
|
init_esm();
|
|
63932
|
-
|
|
63933
|
-
|
|
63934
|
-
|
|
64073
|
+
GooglePayAssuranceDetails$inboundSchema = objectType({
|
|
64074
|
+
cardHolderAuthenticated: booleanType().optional(),
|
|
64075
|
+
accountVerified: booleanType().optional()
|
|
63935
64076
|
});
|
|
63936
|
-
|
|
63937
|
-
|
|
63938
|
-
|
|
64077
|
+
GooglePayAssuranceDetails$outboundSchema = objectType({
|
|
64078
|
+
cardHolderAuthenticated: booleanType().optional(),
|
|
64079
|
+
accountVerified: booleanType().optional()
|
|
63939
64080
|
});
|
|
63940
64081
|
});
|
|
63941
64082
|
|
|
63942
|
-
// src/models/components/
|
|
63943
|
-
var
|
|
63944
|
-
var
|
|
64083
|
+
// src/models/components/googlepaybillingaddress.ts
|
|
64084
|
+
var GooglePayBillingAddress$inboundSchema, GooglePayBillingAddress$outboundSchema;
|
|
64085
|
+
var init_googlepaybillingaddress = __esm(() => {
|
|
63945
64086
|
init_esm();
|
|
63946
|
-
|
|
63947
|
-
|
|
63948
|
-
|
|
63949
|
-
|
|
64087
|
+
GooglePayBillingAddress$inboundSchema = objectType({
|
|
64088
|
+
address1: stringType().optional(),
|
|
64089
|
+
address2: stringType().optional(),
|
|
64090
|
+
address3: stringType().optional(),
|
|
64091
|
+
locality: stringType().optional(),
|
|
64092
|
+
administrativeArea: stringType().optional(),
|
|
64093
|
+
postalCode: stringType().optional(),
|
|
64094
|
+
countryCode: stringType().optional(),
|
|
64095
|
+
name: stringType().optional(),
|
|
64096
|
+
phoneNumber: stringType().optional(),
|
|
64097
|
+
sortingCode: stringType().optional()
|
|
64098
|
+
});
|
|
64099
|
+
GooglePayBillingAddress$outboundSchema = objectType({
|
|
64100
|
+
address1: stringType().optional(),
|
|
64101
|
+
address2: stringType().optional(),
|
|
64102
|
+
address3: stringType().optional(),
|
|
64103
|
+
locality: stringType().optional(),
|
|
64104
|
+
administrativeArea: stringType().optional(),
|
|
64105
|
+
postalCode: stringType().optional(),
|
|
64106
|
+
countryCode: stringType().optional(),
|
|
64107
|
+
name: stringType().optional(),
|
|
64108
|
+
phoneNumber: stringType().optional(),
|
|
64109
|
+
sortingCode: stringType().optional()
|
|
64110
|
+
});
|
|
64111
|
+
});
|
|
64112
|
+
|
|
64113
|
+
// src/models/components/googlepaycardinfo.ts
|
|
64114
|
+
var CardNetwork, CardFundingSource, CardNetwork$inboundSchema, CardNetwork$outboundSchema, CardFundingSource$inboundSchema, CardFundingSource$outboundSchema, GooglePayCardInfo$inboundSchema, GooglePayCardInfo$outboundSchema;
|
|
64115
|
+
var init_googlepaycardinfo = __esm(() => {
|
|
64116
|
+
init_esm();
|
|
64117
|
+
init_googlepayassurancedetails();
|
|
64118
|
+
init_googlepaybillingaddress();
|
|
64119
|
+
CardNetwork = {
|
|
64120
|
+
Amex: "AMEX",
|
|
64121
|
+
Discover: "DISCOVER",
|
|
64122
|
+
Interac: "INTERAC",
|
|
64123
|
+
Jcb: "JCB",
|
|
64124
|
+
Mastercard: "MASTERCARD",
|
|
64125
|
+
Visa: "VISA",
|
|
64126
|
+
Other: "OTHER"
|
|
64127
|
+
};
|
|
64128
|
+
CardFundingSource = {
|
|
64129
|
+
Credit: "CREDIT",
|
|
64130
|
+
Debit: "DEBIT",
|
|
64131
|
+
Prepaid: "PREPAID",
|
|
64132
|
+
Unknown: "UNKNOWN"
|
|
64133
|
+
};
|
|
64134
|
+
CardNetwork$inboundSchema = nativeEnumType(CardNetwork);
|
|
64135
|
+
CardNetwork$outboundSchema = CardNetwork$inboundSchema;
|
|
64136
|
+
CardFundingSource$inboundSchema = nativeEnumType(CardFundingSource);
|
|
64137
|
+
CardFundingSource$outboundSchema = CardFundingSource$inboundSchema;
|
|
64138
|
+
GooglePayCardInfo$inboundSchema = objectType({
|
|
64139
|
+
cardNetwork: CardNetwork$inboundSchema,
|
|
63950
64140
|
cardDetails: stringType(),
|
|
63951
|
-
|
|
63952
|
-
|
|
63953
|
-
|
|
64141
|
+
cardFundingSource: CardFundingSource$inboundSchema.optional(),
|
|
64142
|
+
billingAddress: GooglePayBillingAddress$inboundSchema.optional(),
|
|
64143
|
+
assuranceDetails: GooglePayAssuranceDetails$inboundSchema.optional()
|
|
63954
64144
|
});
|
|
63955
|
-
|
|
63956
|
-
|
|
64145
|
+
GooglePayCardInfo$outboundSchema = objectType({
|
|
64146
|
+
cardNetwork: CardNetwork$outboundSchema,
|
|
63957
64147
|
cardDetails: stringType(),
|
|
63958
|
-
|
|
63959
|
-
|
|
63960
|
-
|
|
64148
|
+
cardFundingSource: CardFundingSource$outboundSchema.optional(),
|
|
64149
|
+
billingAddress: GooglePayBillingAddress$outboundSchema.optional(),
|
|
64150
|
+
assuranceDetails: GooglePayAssuranceDetails$outboundSchema.optional()
|
|
63961
64151
|
});
|
|
63962
64152
|
});
|
|
63963
64153
|
|
|
@@ -63978,22 +64168,47 @@ var init_googlepaypaymentmethod = __esm(() => {
|
|
|
63978
64168
|
});
|
|
63979
64169
|
});
|
|
63980
64170
|
|
|
63981
|
-
// src/models/components/
|
|
63982
|
-
var
|
|
63983
|
-
var
|
|
64171
|
+
// src/models/components/googlepaytokenizationdata.ts
|
|
64172
|
+
var GooglePayTokenizationDataType, GooglePayTokenizationDataType$inboundSchema, GooglePayTokenizationDataType$outboundSchema, GooglePayTokenizationData$inboundSchema, GooglePayTokenizationData$outboundSchema;
|
|
64173
|
+
var init_googlepaytokenizationdata = __esm(() => {
|
|
63984
64174
|
init_esm();
|
|
63985
|
-
|
|
63986
|
-
|
|
63987
|
-
|
|
63988
|
-
|
|
63989
|
-
|
|
63990
|
-
|
|
64175
|
+
GooglePayTokenizationDataType = {
|
|
64176
|
+
PaymentGateway: "PAYMENT_GATEWAY"
|
|
64177
|
+
};
|
|
64178
|
+
GooglePayTokenizationDataType$inboundSchema = nativeEnumType(GooglePayTokenizationDataType);
|
|
64179
|
+
GooglePayTokenizationDataType$outboundSchema = GooglePayTokenizationDataType$inboundSchema;
|
|
64180
|
+
GooglePayTokenizationData$inboundSchema = objectType({
|
|
64181
|
+
type: GooglePayTokenizationDataType$inboundSchema,
|
|
64182
|
+
token: stringType()
|
|
63991
64183
|
});
|
|
63992
|
-
|
|
63993
|
-
|
|
63994
|
-
|
|
63995
|
-
|
|
63996
|
-
|
|
64184
|
+
GooglePayTokenizationData$outboundSchema = objectType({
|
|
64185
|
+
type: GooglePayTokenizationDataType$outboundSchema,
|
|
64186
|
+
token: stringType()
|
|
64187
|
+
});
|
|
64188
|
+
});
|
|
64189
|
+
|
|
64190
|
+
// src/models/components/googlepaypaymentmethoddata.ts
|
|
64191
|
+
var Type, Type$inboundSchema, Type$outboundSchema, GooglePayPaymentMethodData$inboundSchema, GooglePayPaymentMethodData$outboundSchema;
|
|
64192
|
+
var init_googlepaypaymentmethoddata = __esm(() => {
|
|
64193
|
+
init_esm();
|
|
64194
|
+
init_googlepaycardinfo();
|
|
64195
|
+
init_googlepaytokenizationdata();
|
|
64196
|
+
Type = {
|
|
64197
|
+
Card: "CARD"
|
|
64198
|
+
};
|
|
64199
|
+
Type$inboundSchema = nativeEnumType(Type);
|
|
64200
|
+
Type$outboundSchema = Type$inboundSchema;
|
|
64201
|
+
GooglePayPaymentMethodData$inboundSchema = objectType({
|
|
64202
|
+
type: Type$inboundSchema.optional(),
|
|
64203
|
+
description: stringType().optional(),
|
|
64204
|
+
info: GooglePayCardInfo$inboundSchema,
|
|
64205
|
+
tokenizationData: GooglePayTokenizationData$inboundSchema
|
|
64206
|
+
});
|
|
64207
|
+
GooglePayPaymentMethodData$outboundSchema = objectType({
|
|
64208
|
+
type: Type$outboundSchema.optional(),
|
|
64209
|
+
description: stringType().optional(),
|
|
64210
|
+
info: GooglePayCardInfo$outboundSchema,
|
|
64211
|
+
tokenizationData: GooglePayTokenizationData$outboundSchema
|
|
63997
64212
|
});
|
|
63998
64213
|
});
|
|
63999
64214
|
|
|
@@ -65111,23 +65326,19 @@ var init_linkedapplepaypaymentmethod = __esm(() => {
|
|
|
65111
65326
|
});
|
|
65112
65327
|
|
|
65113
65328
|
// src/models/components/linkedgooglepaypaymentmethod.ts
|
|
65114
|
-
var
|
|
65329
|
+
var LinkedGooglePayPaymentMethod$inboundSchema, LinkedGooglePayPaymentMethod$outboundSchema;
|
|
65115
65330
|
var init_linkedgooglepaypaymentmethod = __esm(() => {
|
|
65116
65331
|
init_esm();
|
|
65117
65332
|
init_googlepayresponse();
|
|
65118
|
-
|
|
65119
|
-
GooglePay: "google-pay"
|
|
65120
|
-
};
|
|
65121
|
-
LinkedGooglePayPaymentMethodPaymentMethodType$inboundSchema = nativeEnumType(LinkedGooglePayPaymentMethodPaymentMethodType);
|
|
65122
|
-
LinkedGooglePayPaymentMethodPaymentMethodType$outboundSchema = LinkedGooglePayPaymentMethodPaymentMethodType$inboundSchema;
|
|
65333
|
+
init_paymentmethodtype();
|
|
65123
65334
|
LinkedGooglePayPaymentMethod$inboundSchema = objectType({
|
|
65124
65335
|
paymentMethodID: stringType(),
|
|
65125
|
-
paymentMethodType:
|
|
65336
|
+
paymentMethodType: PaymentMethodType$inboundSchema,
|
|
65126
65337
|
googlePay: GooglePayResponse$inboundSchema
|
|
65127
65338
|
});
|
|
65128
65339
|
LinkedGooglePayPaymentMethod$outboundSchema = objectType({
|
|
65129
65340
|
paymentMethodID: stringType(),
|
|
65130
|
-
paymentMethodType:
|
|
65341
|
+
paymentMethodType: PaymentMethodType$outboundSchema,
|
|
65131
65342
|
googlePay: GooglePayResponse$outboundSchema
|
|
65132
65343
|
});
|
|
65133
65344
|
});
|
|
@@ -65136,12 +65347,14 @@ var init_linkedgooglepaypaymentmethod = __esm(() => {
|
|
|
65136
65347
|
var LinkGooglePay$inboundSchema, LinkGooglePay$outboundSchema;
|
|
65137
65348
|
var init_linkgooglepay = __esm(() => {
|
|
65138
65349
|
init_esm();
|
|
65139
|
-
|
|
65350
|
+
init_googlepaypaymentmethoddata();
|
|
65140
65351
|
LinkGooglePay$inboundSchema = objectType({
|
|
65141
|
-
|
|
65352
|
+
merchantAccountID: stringType(),
|
|
65353
|
+
paymentMethodData: GooglePayPaymentMethodData$inboundSchema
|
|
65142
65354
|
});
|
|
65143
65355
|
LinkGooglePay$outboundSchema = objectType({
|
|
65144
|
-
|
|
65356
|
+
merchantAccountID: stringType(),
|
|
65357
|
+
paymentMethodData: GooglePayPaymentMethodData$outboundSchema
|
|
65145
65358
|
});
|
|
65146
65359
|
});
|
|
65147
65360
|
|
|
@@ -66709,6 +66922,37 @@ var init_pushtogooglepaytransferpaymentmethod = __esm(() => {
|
|
|
66709
66922
|
});
|
|
66710
66923
|
});
|
|
66711
66924
|
|
|
66925
|
+
// src/models/components/puttippresets.ts
|
|
66926
|
+
var PutTipPresets$inboundSchema, PutTipPresets$outboundSchema;
|
|
66927
|
+
var init_puttippresets = __esm(() => {
|
|
66928
|
+
init_esm();
|
|
66929
|
+
init_amountdecimal();
|
|
66930
|
+
init_tipcalculationbasis();
|
|
66931
|
+
PutTipPresets$inboundSchema = objectType({
|
|
66932
|
+
calculationBasis: TipCalculationBasis$inboundSchema.optional(),
|
|
66933
|
+
percentageOptions: arrayType(numberType().int()).optional(),
|
|
66934
|
+
fixedAmountOptions: arrayType(AmountDecimal$inboundSchema).optional()
|
|
66935
|
+
});
|
|
66936
|
+
PutTipPresets$outboundSchema = objectType({
|
|
66937
|
+
calculationBasis: TipCalculationBasis$outboundSchema.optional(),
|
|
66938
|
+
percentageOptions: arrayType(numberType().int()).optional(),
|
|
66939
|
+
fixedAmountOptions: arrayType(AmountDecimal$outboundSchema).optional()
|
|
66940
|
+
});
|
|
66941
|
+
});
|
|
66942
|
+
|
|
66943
|
+
// src/models/components/puttransferconfig.ts
|
|
66944
|
+
var PutTransferConfig$inboundSchema, PutTransferConfig$outboundSchema;
|
|
66945
|
+
var init_puttransferconfig = __esm(() => {
|
|
66946
|
+
init_esm();
|
|
66947
|
+
init_puttippresets();
|
|
66948
|
+
PutTransferConfig$inboundSchema = objectType({
|
|
66949
|
+
tipPresets: PutTipPresets$inboundSchema
|
|
66950
|
+
});
|
|
66951
|
+
PutTransferConfig$outboundSchema = objectType({
|
|
66952
|
+
tipPresets: PutTipPresets$outboundSchema
|
|
66953
|
+
});
|
|
66954
|
+
});
|
|
66955
|
+
|
|
66712
66956
|
// src/models/components/qrcode.ts
|
|
66713
66957
|
var QRCode$inboundSchema, QRCode$outboundSchema;
|
|
66714
66958
|
var init_qrcode = __esm(() => {
|
|
@@ -67720,6 +67964,24 @@ var init_ticketmessage = __esm(() => {
|
|
|
67720
67964
|
});
|
|
67721
67965
|
});
|
|
67722
67966
|
|
|
67967
|
+
// src/models/components/tippresets.ts
|
|
67968
|
+
var TipPresets$inboundSchema, TipPresets$outboundSchema;
|
|
67969
|
+
var init_tippresets = __esm(() => {
|
|
67970
|
+
init_esm();
|
|
67971
|
+
init_amountdecimal();
|
|
67972
|
+
init_tipcalculationbasis();
|
|
67973
|
+
TipPresets$inboundSchema = objectType({
|
|
67974
|
+
calculationBasis: TipCalculationBasis$inboundSchema.optional(),
|
|
67975
|
+
percentageOptions: arrayType(numberType().int()).optional(),
|
|
67976
|
+
fixedAmountOptions: arrayType(AmountDecimal$inboundSchema).optional()
|
|
67977
|
+
});
|
|
67978
|
+
TipPresets$outboundSchema = objectType({
|
|
67979
|
+
calculationBasis: TipCalculationBasis$outboundSchema.optional(),
|
|
67980
|
+
percentageOptions: arrayType(numberType().int()).optional(),
|
|
67981
|
+
fixedAmountOptions: arrayType(AmountDecimal$outboundSchema).optional()
|
|
67982
|
+
});
|
|
67983
|
+
});
|
|
67984
|
+
|
|
67723
67985
|
// src/models/components/transfer.ts
|
|
67724
67986
|
var Transfer$inboundSchema, Transfer$outboundSchema;
|
|
67725
67987
|
var init_transfer = __esm(() => {
|
|
@@ -67731,6 +67993,7 @@ var init_transfer = __esm(() => {
|
|
|
67731
67993
|
init_facilitatorfee();
|
|
67732
67994
|
init_moovfee();
|
|
67733
67995
|
init_moovfeedetails();
|
|
67996
|
+
init_transferamountdetails();
|
|
67734
67997
|
init_transferdestination();
|
|
67735
67998
|
init_transferfailurereason();
|
|
67736
67999
|
init_transferlineitems();
|
|
@@ -67765,7 +68028,8 @@ var init_transfer = __esm(() => {
|
|
|
67765
68028
|
salesTaxAmount: Amount$inboundSchema.optional(),
|
|
67766
68029
|
foreignID: stringType().optional(),
|
|
67767
68030
|
lineItems: TransferLineItems$inboundSchema.optional(),
|
|
67768
|
-
invoiceID: stringType().optional()
|
|
68031
|
+
invoiceID: stringType().optional(),
|
|
68032
|
+
amountDetails: TransferAmountDetails$inboundSchema.optional()
|
|
67769
68033
|
});
|
|
67770
68034
|
Transfer$outboundSchema = objectType({
|
|
67771
68035
|
transferID: stringType(),
|
|
@@ -67796,7 +68060,21 @@ var init_transfer = __esm(() => {
|
|
|
67796
68060
|
salesTaxAmount: Amount$outboundSchema.optional(),
|
|
67797
68061
|
foreignID: stringType().optional(),
|
|
67798
68062
|
lineItems: TransferLineItems$outboundSchema.optional(),
|
|
67799
|
-
invoiceID: stringType().optional()
|
|
68063
|
+
invoiceID: stringType().optional(),
|
|
68064
|
+
amountDetails: TransferAmountDetails$outboundSchema.optional()
|
|
68065
|
+
});
|
|
68066
|
+
});
|
|
68067
|
+
|
|
68068
|
+
// src/models/components/transferconfig.ts
|
|
68069
|
+
var TransferConfig$inboundSchema, TransferConfig$outboundSchema;
|
|
68070
|
+
var init_transferconfig = __esm(() => {
|
|
68071
|
+
init_esm();
|
|
68072
|
+
init_tippresets();
|
|
68073
|
+
TransferConfig$inboundSchema = objectType({
|
|
68074
|
+
tipPresets: TipPresets$inboundSchema.optional()
|
|
68075
|
+
});
|
|
68076
|
+
TransferConfig$outboundSchema = objectType({
|
|
68077
|
+
tipPresets: TipPresets$outboundSchema.optional()
|
|
67800
68078
|
});
|
|
67801
68079
|
});
|
|
67802
68080
|
|
|
@@ -68615,13 +68893,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
|
|
|
68615
68893
|
var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
|
|
68616
68894
|
var init_webhookdatabankaccountcreated = __esm(() => {
|
|
68617
68895
|
init_esm();
|
|
68896
|
+
init_bankaccountstatus();
|
|
68618
68897
|
WebhookDataBankAccountCreated$inboundSchema = objectType({
|
|
68619
68898
|
bankAccountID: stringType(),
|
|
68620
|
-
accountID: stringType()
|
|
68899
|
+
accountID: stringType(),
|
|
68900
|
+
status: BankAccountStatus$inboundSchema
|
|
68621
68901
|
});
|
|
68622
68902
|
WebhookDataBankAccountCreated$outboundSchema = objectType({
|
|
68623
68903
|
bankAccountID: stringType(),
|
|
68624
|
-
accountID: stringType()
|
|
68904
|
+
accountID: stringType(),
|
|
68905
|
+
status: BankAccountStatus$outboundSchema
|
|
68625
68906
|
});
|
|
68626
68907
|
});
|
|
68627
68908
|
|
|
@@ -69266,6 +69547,7 @@ var init_webhookdata = __esm(() => {
|
|
|
69266
69547
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
69267
69548
|
WebhookDataRefundUpdated$inboundSchema,
|
|
69268
69549
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
69550
|
+
WebhookDataBankAccountCreated$inboundSchema,
|
|
69269
69551
|
WebhookDataCancellationCreated$inboundSchema,
|
|
69270
69552
|
WebhookDataCancellationUpdated$inboundSchema,
|
|
69271
69553
|
WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -69279,7 +69561,6 @@ var init_webhookdata = __esm(() => {
|
|
|
69279
69561
|
WebhookDataTransferCreated$inboundSchema,
|
|
69280
69562
|
WebhookDataWalletUpdated$inboundSchema,
|
|
69281
69563
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
69282
|
-
WebhookDataBankAccountCreated$inboundSchema,
|
|
69283
69564
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
69284
69565
|
WebhookDataCapabilityRequested$inboundSchema,
|
|
69285
69566
|
WebhookDataInvoiceCreated$inboundSchema,
|
|
@@ -69305,6 +69586,7 @@ var init_webhookdata = __esm(() => {
|
|
|
69305
69586
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
69306
69587
|
WebhookDataRefundUpdated$outboundSchema,
|
|
69307
69588
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
69589
|
+
WebhookDataBankAccountCreated$outboundSchema,
|
|
69308
69590
|
WebhookDataCancellationCreated$outboundSchema,
|
|
69309
69591
|
WebhookDataCancellationUpdated$outboundSchema,
|
|
69310
69592
|
WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -69318,7 +69600,6 @@ var init_webhookdata = __esm(() => {
|
|
|
69318
69600
|
WebhookDataTransferCreated$outboundSchema,
|
|
69319
69601
|
WebhookDataWalletUpdated$outboundSchema,
|
|
69320
69602
|
WebhookDataBalanceUpdated$outboundSchema,
|
|
69321
|
-
WebhookDataBankAccountCreated$outboundSchema,
|
|
69322
69603
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
69323
69604
|
WebhookDataCapabilityRequested$outboundSchema,
|
|
69324
69605
|
WebhookDataInvoiceCreated$outboundSchema,
|
|
@@ -69557,8 +69838,12 @@ var init_components = __esm(() => {
|
|
|
69557
69838
|
init_createterminalapplication();
|
|
69558
69839
|
init_createticket();
|
|
69559
69840
|
init_createticketcontacterror();
|
|
69841
|
+
init_createtippresets();
|
|
69560
69842
|
init_createtransfer();
|
|
69561
69843
|
init_createtransferachaddendarecord();
|
|
69844
|
+
init_createtransferamountdetails();
|
|
69845
|
+
init_createtransferamountdetailsvalidationerror();
|
|
69846
|
+
init_createtransferconfig();
|
|
69562
69847
|
init_createtransferdestination();
|
|
69563
69848
|
init_createtransferdestinationach();
|
|
69564
69849
|
init_createtransferdestinationcard();
|
|
@@ -69615,6 +69900,7 @@ var init_components = __esm(() => {
|
|
|
69615
69900
|
init_filedetails();
|
|
69616
69901
|
init_filepurpose();
|
|
69617
69902
|
init_filestatus();
|
|
69903
|
+
init_fileuploadmetadata();
|
|
69618
69904
|
init_fileuploadrequestmultipart();
|
|
69619
69905
|
init_financialinstitutions();
|
|
69620
69906
|
init_fulfillment();
|
|
@@ -69626,10 +69912,13 @@ var init_components = __esm(() => {
|
|
|
69626
69912
|
init_fullissuedcard();
|
|
69627
69913
|
init_generatedby();
|
|
69628
69914
|
init_geographicreach();
|
|
69629
|
-
|
|
69915
|
+
init_googlepayassurancedetails();
|
|
69916
|
+
init_googlepaybillingaddress();
|
|
69917
|
+
init_googlepaycardinfo();
|
|
69630
69918
|
init_googlepaypaymentmethod();
|
|
69919
|
+
init_googlepaypaymentmethoddata();
|
|
69631
69920
|
init_googlepayresponse();
|
|
69632
|
-
|
|
69921
|
+
init_googlepaytokenizationdata();
|
|
69633
69922
|
init_googlepaytransferpaymentmethod();
|
|
69634
69923
|
init_governmentid();
|
|
69635
69924
|
init_governmentiderror();
|
|
@@ -69785,6 +70074,8 @@ var init_components = __esm(() => {
|
|
|
69785
70074
|
init_pushtocardtransferpaymentmethod();
|
|
69786
70075
|
init_pushtogooglepaypaymentmethod();
|
|
69787
70076
|
init_pushtogooglepaytransferpaymentmethod();
|
|
70077
|
+
init_puttippresets();
|
|
70078
|
+
init_puttransferconfig();
|
|
69788
70079
|
init_qrcode();
|
|
69789
70080
|
init_receiptkind();
|
|
69790
70081
|
init_receiptrequest();
|
|
@@ -69868,11 +70159,15 @@ var init_components = __esm(() => {
|
|
|
69868
70159
|
init_ticketcontact();
|
|
69869
70160
|
init_ticketmessage();
|
|
69870
70161
|
init_ticketstatus();
|
|
70162
|
+
init_tipcalculationbasis();
|
|
70163
|
+
init_tippresets();
|
|
69871
70164
|
init_tokentype();
|
|
69872
70165
|
init_transactionsource();
|
|
69873
70166
|
init_transfer();
|
|
69874
70167
|
init_transferaccount();
|
|
69875
70168
|
init_transferachaddendarecord();
|
|
70169
|
+
init_transferamountdetails();
|
|
70170
|
+
init_transferconfig();
|
|
69876
70171
|
init_transferdestination();
|
|
69877
70172
|
init_transferentrymode();
|
|
69878
70173
|
init_transferfailurereason();
|
|
@@ -71036,7 +71331,8 @@ var init_linkgooglepayerror = __esm(() => {
|
|
|
71036
71331
|
init_mooverror();
|
|
71037
71332
|
LinkGooglePayError = class LinkGooglePayError extends MoovError {
|
|
71038
71333
|
error;
|
|
71039
|
-
|
|
71334
|
+
merchantAccountID;
|
|
71335
|
+
paymentMethodData;
|
|
71040
71336
|
data$;
|
|
71041
71337
|
constructor(err, httpMeta) {
|
|
71042
71338
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -71044,14 +71340,19 @@ var init_linkgooglepayerror = __esm(() => {
|
|
|
71044
71340
|
this.data$ = err;
|
|
71045
71341
|
if (err.error != null)
|
|
71046
71342
|
this.error = err.error;
|
|
71047
|
-
if (err.
|
|
71048
|
-
this.
|
|
71343
|
+
if (err.merchantAccountID != null) {
|
|
71344
|
+
this.merchantAccountID = err.merchantAccountID;
|
|
71345
|
+
}
|
|
71346
|
+
if (err.paymentMethodData != null) {
|
|
71347
|
+
this.paymentMethodData = err.paymentMethodData;
|
|
71348
|
+
}
|
|
71049
71349
|
this.name = "LinkGooglePayError";
|
|
71050
71350
|
}
|
|
71051
71351
|
};
|
|
71052
71352
|
LinkGooglePayError$inboundSchema = objectType({
|
|
71053
71353
|
error: stringType().optional(),
|
|
71054
|
-
|
|
71354
|
+
merchantAccountID: stringType().optional(),
|
|
71355
|
+
paymentMethodData: stringType().optional(),
|
|
71055
71356
|
request$: instanceOfType(Request),
|
|
71056
71357
|
response$: instanceOfType(Response),
|
|
71057
71358
|
body$: stringType()
|
|
@@ -71064,7 +71365,8 @@ var init_linkgooglepayerror = __esm(() => {
|
|
|
71064
71365
|
});
|
|
71065
71366
|
LinkGooglePayError$outboundSchema = instanceOfType(LinkGooglePayError).transform((v2) => v2.data$).pipe(objectType({
|
|
71066
71367
|
error: stringType().optional(),
|
|
71067
|
-
|
|
71368
|
+
merchantAccountID: stringType().optional(),
|
|
71369
|
+
paymentMethodData: stringType().optional()
|
|
71068
71370
|
}));
|
|
71069
71371
|
});
|
|
71070
71372
|
|
|
@@ -72096,6 +72398,7 @@ var init_transfer2 = __esm(() => {
|
|
|
72096
72398
|
foreignID;
|
|
72097
72399
|
lineItems;
|
|
72098
72400
|
invoiceID;
|
|
72401
|
+
amountDetails;
|
|
72099
72402
|
data$;
|
|
72100
72403
|
constructor(err, httpMeta) {
|
|
72101
72404
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -72153,6 +72456,8 @@ var init_transfer2 = __esm(() => {
|
|
|
72153
72456
|
this.lineItems = err.lineItems;
|
|
72154
72457
|
if (err.invoiceID != null)
|
|
72155
72458
|
this.invoiceID = err.invoiceID;
|
|
72459
|
+
if (err.amountDetails != null)
|
|
72460
|
+
this.amountDetails = err.amountDetails;
|
|
72156
72461
|
this.name = "Transfer";
|
|
72157
72462
|
}
|
|
72158
72463
|
};
|
|
@@ -72186,6 +72491,7 @@ var init_transfer2 = __esm(() => {
|
|
|
72186
72491
|
foreignID: stringType().optional(),
|
|
72187
72492
|
lineItems: TransferLineItems$inboundSchema.optional(),
|
|
72188
72493
|
invoiceID: stringType().optional(),
|
|
72494
|
+
amountDetails: TransferAmountDetails$inboundSchema.optional(),
|
|
72189
72495
|
request$: instanceOfType(Request),
|
|
72190
72496
|
response$: instanceOfType(Response),
|
|
72191
72497
|
body$: stringType()
|
|
@@ -72225,7 +72531,68 @@ var init_transfer2 = __esm(() => {
|
|
|
72225
72531
|
salesTaxAmount: Amount$outboundSchema.optional(),
|
|
72226
72532
|
foreignID: stringType().optional(),
|
|
72227
72533
|
lineItems: TransferLineItems$outboundSchema.optional(),
|
|
72228
|
-
invoiceID: stringType().optional()
|
|
72534
|
+
invoiceID: stringType().optional(),
|
|
72535
|
+
amountDetails: TransferAmountDetails$outboundSchema.optional()
|
|
72536
|
+
}));
|
|
72537
|
+
});
|
|
72538
|
+
|
|
72539
|
+
// src/models/errors/transferconfigvalidationerror.ts
|
|
72540
|
+
var TransferConfigValidationError, TransferConfigValidationError$inboundSchema, TransferConfigValidationError$outboundSchema;
|
|
72541
|
+
var init_transferconfigvalidationerror = __esm(() => {
|
|
72542
|
+
init_esm();
|
|
72543
|
+
init_primitives();
|
|
72544
|
+
init_components();
|
|
72545
|
+
init_mooverror();
|
|
72546
|
+
TransferConfigValidationError = class TransferConfigValidationError extends MoovError {
|
|
72547
|
+
tipPresetsCalculationBasis;
|
|
72548
|
+
tipPresetsPercentageOptions;
|
|
72549
|
+
tipPresetsFixedAmountOptions;
|
|
72550
|
+
data$;
|
|
72551
|
+
constructor(err, httpMeta) {
|
|
72552
|
+
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
72553
|
+
super(message, httpMeta);
|
|
72554
|
+
this.data$ = err;
|
|
72555
|
+
if (err.tipPresetsCalculationBasis != null) {
|
|
72556
|
+
this.tipPresetsCalculationBasis = err.tipPresetsCalculationBasis;
|
|
72557
|
+
}
|
|
72558
|
+
if (err.tipPresetsPercentageOptions != null) {
|
|
72559
|
+
this.tipPresetsPercentageOptions = err.tipPresetsPercentageOptions;
|
|
72560
|
+
}
|
|
72561
|
+
if (err.tipPresetsFixedAmountOptions != null) {
|
|
72562
|
+
this.tipPresetsFixedAmountOptions = err.tipPresetsFixedAmountOptions;
|
|
72563
|
+
}
|
|
72564
|
+
this.name = "TransferConfigValidationError";
|
|
72565
|
+
}
|
|
72566
|
+
};
|
|
72567
|
+
TransferConfigValidationError$inboundSchema = objectType({
|
|
72568
|
+
"TipPresets.CalculationBasis": stringType().optional(),
|
|
72569
|
+
"TipPresets.PercentageOptions": recordType(stringType()).optional(),
|
|
72570
|
+
"TipPresets.FixedAmountOptions": recordType(AmountDecimalValidationError$inboundSchema).optional(),
|
|
72571
|
+
request$: instanceOfType(Request),
|
|
72572
|
+
response$: instanceOfType(Response),
|
|
72573
|
+
body$: stringType()
|
|
72574
|
+
}).transform((v2) => {
|
|
72575
|
+
const remapped = remap(v2, {
|
|
72576
|
+
"TipPresets.CalculationBasis": "tipPresetsCalculationBasis",
|
|
72577
|
+
"TipPresets.PercentageOptions": "tipPresetsPercentageOptions",
|
|
72578
|
+
"TipPresets.FixedAmountOptions": "tipPresetsFixedAmountOptions"
|
|
72579
|
+
});
|
|
72580
|
+
return new TransferConfigValidationError(remapped, {
|
|
72581
|
+
request: v2.request$,
|
|
72582
|
+
response: v2.response$,
|
|
72583
|
+
body: v2.body$
|
|
72584
|
+
});
|
|
72585
|
+
});
|
|
72586
|
+
TransferConfigValidationError$outboundSchema = instanceOfType(TransferConfigValidationError).transform((v2) => v2.data$).pipe(objectType({
|
|
72587
|
+
tipPresetsCalculationBasis: stringType().optional(),
|
|
72588
|
+
tipPresetsPercentageOptions: recordType(stringType()).optional(),
|
|
72589
|
+
tipPresetsFixedAmountOptions: recordType(AmountDecimalValidationError$outboundSchema).optional()
|
|
72590
|
+
}).transform((v2) => {
|
|
72591
|
+
return remap(v2, {
|
|
72592
|
+
tipPresetsCalculationBasis: "TipPresets.CalculationBasis",
|
|
72593
|
+
tipPresetsPercentageOptions: "TipPresets.PercentageOptions",
|
|
72594
|
+
tipPresetsFixedAmountOptions: "TipPresets.FixedAmountOptions"
|
|
72595
|
+
});
|
|
72229
72596
|
}));
|
|
72230
72597
|
});
|
|
72231
72598
|
|
|
@@ -72292,6 +72659,7 @@ var init_transfervalidationerror = __esm(() => {
|
|
|
72292
72659
|
salesTaxAmount;
|
|
72293
72660
|
foreignID;
|
|
72294
72661
|
lineItems;
|
|
72662
|
+
amountDetails;
|
|
72295
72663
|
data$;
|
|
72296
72664
|
constructor(err, httpMeta) {
|
|
72297
72665
|
const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
|
|
@@ -72323,6 +72691,8 @@ var init_transfervalidationerror = __esm(() => {
|
|
|
72323
72691
|
this.foreignID = err.foreignID;
|
|
72324
72692
|
if (err.lineItems != null)
|
|
72325
72693
|
this.lineItems = err.lineItems;
|
|
72694
|
+
if (err.amountDetails != null)
|
|
72695
|
+
this.amountDetails = err.amountDetails;
|
|
72326
72696
|
this.name = "TransferValidationError";
|
|
72327
72697
|
}
|
|
72328
72698
|
};
|
|
@@ -72338,6 +72708,7 @@ var init_transfervalidationerror = __esm(() => {
|
|
|
72338
72708
|
salesTaxAmount: stringType().optional(),
|
|
72339
72709
|
foreignID: stringType().optional(),
|
|
72340
72710
|
lineItems: CreateTransferLineItemsValidationError$inboundSchema.optional(),
|
|
72711
|
+
amountDetails: CreateTransferAmountDetailsValidationError$inboundSchema.optional(),
|
|
72341
72712
|
request$: instanceOfType(Request),
|
|
72342
72713
|
response$: instanceOfType(Response),
|
|
72343
72714
|
body$: stringType()
|
|
@@ -72363,7 +72734,8 @@ var init_transfervalidationerror = __esm(() => {
|
|
|
72363
72734
|
metadata: stringType().optional(),
|
|
72364
72735
|
salesTaxAmount: stringType().optional(),
|
|
72365
72736
|
foreignID: stringType().optional(),
|
|
72366
|
-
lineItems: CreateTransferLineItemsValidationError$outboundSchema.optional()
|
|
72737
|
+
lineItems: CreateTransferLineItemsValidationError$outboundSchema.optional(),
|
|
72738
|
+
amountDetails: CreateTransferAmountDetailsValidationError$outboundSchema.optional()
|
|
72367
72739
|
}).transform((v2) => {
|
|
72368
72740
|
return remap(v2, {
|
|
72369
72741
|
facilitatorFeeTotalDecimal: "FacilitatorFee.TotalDecimal",
|
|
@@ -72907,6 +73279,7 @@ var init_errors4 = __esm(() => {
|
|
|
72907
73279
|
init_sdkvalidationerror();
|
|
72908
73280
|
init_terminalapplicationerror();
|
|
72909
73281
|
init_transfer2();
|
|
73282
|
+
init_transferconfigvalidationerror();
|
|
72910
73283
|
init_transferoptionsvalidationerror();
|
|
72911
73284
|
init_transfervalidationerror();
|
|
72912
73285
|
init_updatecarderror();
|
|
@@ -74020,6 +74393,48 @@ var init_createtransfer2 = __esm(() => {
|
|
|
74020
74393
|
});
|
|
74021
74394
|
});
|
|
74022
74395
|
|
|
74396
|
+
// src/models/operations/createtransferconfig.ts
|
|
74397
|
+
var CreateTransferConfigRequest$inboundSchema, CreateTransferConfigRequest$outboundSchema, CreateTransferConfigResponse$inboundSchema, CreateTransferConfigResponse$outboundSchema;
|
|
74398
|
+
var init_createtransferconfig2 = __esm(() => {
|
|
74399
|
+
init_esm();
|
|
74400
|
+
init_primitives();
|
|
74401
|
+
init_components();
|
|
74402
|
+
CreateTransferConfigRequest$inboundSchema = objectType({
|
|
74403
|
+
accountID: stringType(),
|
|
74404
|
+
CreateTransferConfig: CreateTransferConfig$inboundSchema
|
|
74405
|
+
}).transform((v2) => {
|
|
74406
|
+
return remap(v2, {
|
|
74407
|
+
CreateTransferConfig: "createTransferConfig"
|
|
74408
|
+
});
|
|
74409
|
+
});
|
|
74410
|
+
CreateTransferConfigRequest$outboundSchema = objectType({
|
|
74411
|
+
accountID: stringType(),
|
|
74412
|
+
createTransferConfig: CreateTransferConfig$outboundSchema
|
|
74413
|
+
}).transform((v2) => {
|
|
74414
|
+
return remap(v2, {
|
|
74415
|
+
createTransferConfig: "CreateTransferConfig"
|
|
74416
|
+
});
|
|
74417
|
+
});
|
|
74418
|
+
CreateTransferConfigResponse$inboundSchema = objectType({
|
|
74419
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
74420
|
+
Result: TransferConfig$inboundSchema
|
|
74421
|
+
}).transform((v2) => {
|
|
74422
|
+
return remap(v2, {
|
|
74423
|
+
Headers: "headers",
|
|
74424
|
+
Result: "result"
|
|
74425
|
+
});
|
|
74426
|
+
});
|
|
74427
|
+
CreateTransferConfigResponse$outboundSchema = objectType({
|
|
74428
|
+
headers: recordType(arrayType(stringType())),
|
|
74429
|
+
result: TransferConfig$outboundSchema
|
|
74430
|
+
}).transform((v2) => {
|
|
74431
|
+
return remap(v2, {
|
|
74432
|
+
headers: "Headers",
|
|
74433
|
+
result: "Result"
|
|
74434
|
+
});
|
|
74435
|
+
});
|
|
74436
|
+
});
|
|
74437
|
+
|
|
74023
74438
|
// src/models/operations/createtransferoptions.ts
|
|
74024
74439
|
var CreateTransferOptionsRequest$inboundSchema, CreateTransferOptionsRequest$outboundSchema, CreateTransferOptionsResponse$inboundSchema, CreateTransferOptionsResponse$outboundSchema;
|
|
74025
74440
|
var init_createtransferoptions2 = __esm(() => {
|
|
@@ -76146,6 +76561,38 @@ var init_gettransfer = __esm(() => {
|
|
|
76146
76561
|
});
|
|
76147
76562
|
});
|
|
76148
76563
|
|
|
76564
|
+
// src/models/operations/gettransferconfig.ts
|
|
76565
|
+
var GetTransferConfigRequest$inboundSchema, GetTransferConfigRequest$outboundSchema, GetTransferConfigResponse$inboundSchema, GetTransferConfigResponse$outboundSchema;
|
|
76566
|
+
var init_gettransferconfig = __esm(() => {
|
|
76567
|
+
init_esm();
|
|
76568
|
+
init_primitives();
|
|
76569
|
+
init_components();
|
|
76570
|
+
GetTransferConfigRequest$inboundSchema = objectType({
|
|
76571
|
+
accountID: stringType()
|
|
76572
|
+
});
|
|
76573
|
+
GetTransferConfigRequest$outboundSchema = objectType({
|
|
76574
|
+
accountID: stringType()
|
|
76575
|
+
});
|
|
76576
|
+
GetTransferConfigResponse$inboundSchema = objectType({
|
|
76577
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
76578
|
+
Result: TransferConfig$inboundSchema
|
|
76579
|
+
}).transform((v2) => {
|
|
76580
|
+
return remap(v2, {
|
|
76581
|
+
Headers: "headers",
|
|
76582
|
+
Result: "result"
|
|
76583
|
+
});
|
|
76584
|
+
});
|
|
76585
|
+
GetTransferConfigResponse$outboundSchema = objectType({
|
|
76586
|
+
headers: recordType(arrayType(stringType())),
|
|
76587
|
+
result: TransferConfig$outboundSchema
|
|
76588
|
+
}).transform((v2) => {
|
|
76589
|
+
return remap(v2, {
|
|
76590
|
+
headers: "Headers",
|
|
76591
|
+
result: "Result"
|
|
76592
|
+
});
|
|
76593
|
+
});
|
|
76594
|
+
});
|
|
76595
|
+
|
|
76149
76596
|
// src/models/operations/getunderwriting.ts
|
|
76150
76597
|
var GetUnderwritingRequest$inboundSchema, GetUnderwritingRequest$outboundSchema, GetUnderwritingResponse$inboundSchema, GetUnderwritingResponse$outboundSchema;
|
|
76151
76598
|
var init_getunderwriting = __esm(() => {
|
|
@@ -79478,6 +79925,48 @@ var init_updatetransfer = __esm(() => {
|
|
|
79478
79925
|
});
|
|
79479
79926
|
});
|
|
79480
79927
|
|
|
79928
|
+
// src/models/operations/updatetransferconfig.ts
|
|
79929
|
+
var UpdateTransferConfigRequest$inboundSchema, UpdateTransferConfigRequest$outboundSchema, UpdateTransferConfigResponse$inboundSchema, UpdateTransferConfigResponse$outboundSchema;
|
|
79930
|
+
var init_updatetransferconfig = __esm(() => {
|
|
79931
|
+
init_esm();
|
|
79932
|
+
init_primitives();
|
|
79933
|
+
init_components();
|
|
79934
|
+
UpdateTransferConfigRequest$inboundSchema = objectType({
|
|
79935
|
+
accountID: stringType(),
|
|
79936
|
+
PutTransferConfig: PutTransferConfig$inboundSchema
|
|
79937
|
+
}).transform((v2) => {
|
|
79938
|
+
return remap(v2, {
|
|
79939
|
+
PutTransferConfig: "putTransferConfig"
|
|
79940
|
+
});
|
|
79941
|
+
});
|
|
79942
|
+
UpdateTransferConfigRequest$outboundSchema = objectType({
|
|
79943
|
+
accountID: stringType(),
|
|
79944
|
+
putTransferConfig: PutTransferConfig$outboundSchema
|
|
79945
|
+
}).transform((v2) => {
|
|
79946
|
+
return remap(v2, {
|
|
79947
|
+
putTransferConfig: "PutTransferConfig"
|
|
79948
|
+
});
|
|
79949
|
+
});
|
|
79950
|
+
UpdateTransferConfigResponse$inboundSchema = objectType({
|
|
79951
|
+
Headers: recordType(arrayType(stringType())).default({}),
|
|
79952
|
+
Result: TransferConfig$inboundSchema
|
|
79953
|
+
}).transform((v2) => {
|
|
79954
|
+
return remap(v2, {
|
|
79955
|
+
Headers: "headers",
|
|
79956
|
+
Result: "result"
|
|
79957
|
+
});
|
|
79958
|
+
});
|
|
79959
|
+
UpdateTransferConfigResponse$outboundSchema = objectType({
|
|
79960
|
+
headers: recordType(arrayType(stringType())),
|
|
79961
|
+
result: TransferConfig$outboundSchema
|
|
79962
|
+
}).transform((v2) => {
|
|
79963
|
+
return remap(v2, {
|
|
79964
|
+
headers: "Headers",
|
|
79965
|
+
result: "Result"
|
|
79966
|
+
});
|
|
79967
|
+
});
|
|
79968
|
+
});
|
|
79969
|
+
|
|
79481
79970
|
// src/models/operations/updatewallet.ts
|
|
79482
79971
|
var UpdateWalletRequest$inboundSchema, UpdateWalletRequest$outboundSchema, UpdateWalletResponse$inboundSchema, UpdateWalletResponse$outboundSchema;
|
|
79483
79972
|
var init_updatewallet = __esm(() => {
|
|
@@ -79850,6 +80339,7 @@ var init_operations = __esm(() => {
|
|
|
79850
80339
|
init_createterminalapplicationversion();
|
|
79851
80340
|
init_createticket2();
|
|
79852
80341
|
init_createtransfer2();
|
|
80342
|
+
init_createtransferconfig2();
|
|
79853
80343
|
init_createtransferoptions2();
|
|
79854
80344
|
init_createwallet2();
|
|
79855
80345
|
init_createwebhook2();
|
|
@@ -79912,6 +80402,7 @@ var init_operations = __esm(() => {
|
|
|
79912
80402
|
init_gettermsofservicetoken();
|
|
79913
80403
|
init_getticket();
|
|
79914
80404
|
init_gettransfer();
|
|
80405
|
+
init_gettransferconfig();
|
|
79915
80406
|
init_getunderwriting();
|
|
79916
80407
|
init_getwallet();
|
|
79917
80408
|
init_getwallettransaction();
|
|
@@ -79998,6 +80489,7 @@ var init_operations = __esm(() => {
|
|
|
79998
80489
|
init_updatesweepconfig();
|
|
79999
80490
|
init_updateticket2();
|
|
80000
80491
|
init_updatetransfer();
|
|
80492
|
+
init_updatetransferconfig();
|
|
80001
80493
|
init_updatewallet();
|
|
80002
80494
|
init_updatewebhook2();
|
|
80003
80495
|
init_uploaddisputeevidencefile();
|
|
@@ -89220,7 +89712,9 @@ async function $do79(client, request, options) {
|
|
|
89220
89712
|
}
|
|
89221
89713
|
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
89222
89714
|
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
89223
|
-
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata
|
|
89715
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
|
|
89716
|
+
explode: true
|
|
89717
|
+
}));
|
|
89224
89718
|
}
|
|
89225
89719
|
const pathParams = {
|
|
89226
89720
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
@@ -89423,7 +89917,9 @@ var init_googlePayLinkToken2 = __esm(() => {
|
|
|
89423
89917
|
name: "google-pay-link-token",
|
|
89424
89918
|
description: `Connect a Google Pay token to the specified account.
|
|
89425
89919
|
|
|
89426
|
-
The \`
|
|
89920
|
+
The \`paymentMethodData\` field should contain the \`paymentMethodData\` property from Google Pay's
|
|
89921
|
+
[PaymentData](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) response,
|
|
89922
|
+
passed through unmodified.
|
|
89427
89923
|
|
|
89428
89924
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
89429
89925
|
you'll need to specify the \`/accounts/{accountID}/cards.write\` scope.`,
|
|
@@ -98026,11 +98522,345 @@ you'll need to specify the \`/terminal-applications.read\` scope.`,
|
|
|
98026
98522
|
};
|
|
98027
98523
|
});
|
|
98028
98524
|
|
|
98029
|
-
// src/funcs/
|
|
98030
|
-
function
|
|
98525
|
+
// src/funcs/transferConfigCreate.ts
|
|
98526
|
+
function transferConfigCreate(client, request, options) {
|
|
98031
98527
|
return new APIPromise($do156(client, request, options));
|
|
98032
98528
|
}
|
|
98033
98529
|
async function $do156(client, request, options) {
|
|
98530
|
+
const parsed = safeParse4(request, (value) => CreateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98531
|
+
if (!parsed.ok) {
|
|
98532
|
+
return [parsed, { status: "invalid" }];
|
|
98533
|
+
}
|
|
98534
|
+
const payload = parsed.value;
|
|
98535
|
+
const body = encodeJSON("body", payload.CreateTransferConfig, {
|
|
98536
|
+
explode: true
|
|
98537
|
+
});
|
|
98538
|
+
const pathParams = {
|
|
98539
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
98540
|
+
explode: false,
|
|
98541
|
+
charEncoding: "percent"
|
|
98542
|
+
})
|
|
98543
|
+
};
|
|
98544
|
+
const path = pathToFunc("/accounts/{accountID}/transfer-config")(pathParams);
|
|
98545
|
+
const headers = new Headers(compactMap({
|
|
98546
|
+
"Content-Type": "application/json",
|
|
98547
|
+
Accept: "application/json"
|
|
98548
|
+
}));
|
|
98549
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
98550
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
98551
|
+
const context = {
|
|
98552
|
+
options: client._options,
|
|
98553
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
98554
|
+
operationID: "createTransferConfig",
|
|
98555
|
+
oAuth2Scopes: null,
|
|
98556
|
+
resolvedSecurity: requestSecurity,
|
|
98557
|
+
securitySource: client._options.security,
|
|
98558
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
98559
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
98560
|
+
};
|
|
98561
|
+
const requestRes = client._createRequest(context, {
|
|
98562
|
+
security: requestSecurity,
|
|
98563
|
+
method: "POST",
|
|
98564
|
+
baseURL: options?.serverURL,
|
|
98565
|
+
path,
|
|
98566
|
+
headers,
|
|
98567
|
+
body,
|
|
98568
|
+
userAgent: client._options.userAgent,
|
|
98569
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
98570
|
+
}, options);
|
|
98571
|
+
if (!requestRes.ok) {
|
|
98572
|
+
return [requestRes, { status: "invalid" }];
|
|
98573
|
+
}
|
|
98574
|
+
const req = requestRes.value;
|
|
98575
|
+
const doResult = await client._do(req, {
|
|
98576
|
+
context,
|
|
98577
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
98578
|
+
retryConfig: context.retryConfig,
|
|
98579
|
+
retryCodes: context.retryCodes
|
|
98580
|
+
});
|
|
98581
|
+
if (!doResult.ok) {
|
|
98582
|
+
return [doResult, { status: "request-error", request: req }];
|
|
98583
|
+
}
|
|
98584
|
+
const response = doResult.value;
|
|
98585
|
+
const responseFields = {
|
|
98586
|
+
HttpMeta: { Response: response, Request: req }
|
|
98587
|
+
};
|
|
98588
|
+
const [result] = await match(json(201, CreateTransferConfigResponse$inboundSchema, {
|
|
98589
|
+
hdrs: true,
|
|
98590
|
+
key: "Result"
|
|
98591
|
+
}), jsonErr(400, GenericError$inboundSchema, { hdrs: true }), jsonErr(422, TransferConfigValidationError$inboundSchema, {
|
|
98592
|
+
hdrs: true
|
|
98593
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
98594
|
+
if (!result.ok) {
|
|
98595
|
+
return [result, { status: "complete", request: req, response }];
|
|
98596
|
+
}
|
|
98597
|
+
return [result, { status: "complete", request: req, response }];
|
|
98598
|
+
}
|
|
98599
|
+
var init_transferConfigCreate = __esm(() => {
|
|
98600
|
+
init_encodings();
|
|
98601
|
+
init_http();
|
|
98602
|
+
init_matchers();
|
|
98603
|
+
init_primitives();
|
|
98604
|
+
init_schemas4();
|
|
98605
|
+
init_security();
|
|
98606
|
+
init_url();
|
|
98607
|
+
init_errors4();
|
|
98608
|
+
init_operations();
|
|
98609
|
+
init_async();
|
|
98610
|
+
});
|
|
98611
|
+
|
|
98612
|
+
// src/mcp-server/tools/transferConfigCreate.ts
|
|
98613
|
+
var args151, tool$transferConfigCreate;
|
|
98614
|
+
var init_transferConfigCreate2 = __esm(() => {
|
|
98615
|
+
init_transferConfigCreate();
|
|
98616
|
+
init_operations();
|
|
98617
|
+
init_tools();
|
|
98618
|
+
args151 = {
|
|
98619
|
+
request: CreateTransferConfigRequest$inboundSchema
|
|
98620
|
+
};
|
|
98621
|
+
tool$transferConfigCreate = {
|
|
98622
|
+
name: "transfer-config-create",
|
|
98623
|
+
description: `Create a transfer config for an account.`,
|
|
98624
|
+
args: args151,
|
|
98625
|
+
tool: async (client, args152, ctx) => {
|
|
98626
|
+
const [result, apiCall] = await transferConfigCreate(client, args152.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98627
|
+
if (!result.ok) {
|
|
98628
|
+
return {
|
|
98629
|
+
content: [{ type: "text", text: result.error.message }],
|
|
98630
|
+
isError: true
|
|
98631
|
+
};
|
|
98632
|
+
}
|
|
98633
|
+
const value = result.value.result;
|
|
98634
|
+
return formatResult(value, apiCall);
|
|
98635
|
+
}
|
|
98636
|
+
};
|
|
98637
|
+
});
|
|
98638
|
+
|
|
98639
|
+
// src/funcs/transferConfigGet.ts
|
|
98640
|
+
function transferConfigGet(client, request, options) {
|
|
98641
|
+
return new APIPromise($do157(client, request, options));
|
|
98642
|
+
}
|
|
98643
|
+
async function $do157(client, request, options) {
|
|
98644
|
+
const parsed = safeParse4(request, (value) => GetTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98645
|
+
if (!parsed.ok) {
|
|
98646
|
+
return [parsed, { status: "invalid" }];
|
|
98647
|
+
}
|
|
98648
|
+
const payload = parsed.value;
|
|
98649
|
+
const body = null;
|
|
98650
|
+
const pathParams = {
|
|
98651
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
98652
|
+
explode: false,
|
|
98653
|
+
charEncoding: "percent"
|
|
98654
|
+
})
|
|
98655
|
+
};
|
|
98656
|
+
const path = pathToFunc("/accounts/{accountID}/transfer-config")(pathParams);
|
|
98657
|
+
const headers = new Headers(compactMap({
|
|
98658
|
+
Accept: "application/json"
|
|
98659
|
+
}));
|
|
98660
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
98661
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
98662
|
+
const context = {
|
|
98663
|
+
options: client._options,
|
|
98664
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
98665
|
+
operationID: "getTransferConfig",
|
|
98666
|
+
oAuth2Scopes: null,
|
|
98667
|
+
resolvedSecurity: requestSecurity,
|
|
98668
|
+
securitySource: client._options.security,
|
|
98669
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
98670
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
98671
|
+
};
|
|
98672
|
+
const requestRes = client._createRequest(context, {
|
|
98673
|
+
security: requestSecurity,
|
|
98674
|
+
method: "GET",
|
|
98675
|
+
baseURL: options?.serverURL,
|
|
98676
|
+
path,
|
|
98677
|
+
headers,
|
|
98678
|
+
body,
|
|
98679
|
+
userAgent: client._options.userAgent,
|
|
98680
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
98681
|
+
}, options);
|
|
98682
|
+
if (!requestRes.ok) {
|
|
98683
|
+
return [requestRes, { status: "invalid" }];
|
|
98684
|
+
}
|
|
98685
|
+
const req = requestRes.value;
|
|
98686
|
+
const doResult = await client._do(req, {
|
|
98687
|
+
context,
|
|
98688
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
98689
|
+
retryConfig: context.retryConfig,
|
|
98690
|
+
retryCodes: context.retryCodes
|
|
98691
|
+
});
|
|
98692
|
+
if (!doResult.ok) {
|
|
98693
|
+
return [doResult, { status: "request-error", request: req }];
|
|
98694
|
+
}
|
|
98695
|
+
const response = doResult.value;
|
|
98696
|
+
const responseFields = {
|
|
98697
|
+
HttpMeta: { Response: response, Request: req }
|
|
98698
|
+
};
|
|
98699
|
+
const [result] = await match(json(200, GetTransferConfigResponse$inboundSchema, {
|
|
98700
|
+
hdrs: true,
|
|
98701
|
+
key: "Result"
|
|
98702
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
98703
|
+
if (!result.ok) {
|
|
98704
|
+
return [result, { status: "complete", request: req, response }];
|
|
98705
|
+
}
|
|
98706
|
+
return [result, { status: "complete", request: req, response }];
|
|
98707
|
+
}
|
|
98708
|
+
var init_transferConfigGet = __esm(() => {
|
|
98709
|
+
init_encodings();
|
|
98710
|
+
init_http();
|
|
98711
|
+
init_matchers();
|
|
98712
|
+
init_primitives();
|
|
98713
|
+
init_schemas4();
|
|
98714
|
+
init_security();
|
|
98715
|
+
init_url();
|
|
98716
|
+
init_operations();
|
|
98717
|
+
init_async();
|
|
98718
|
+
});
|
|
98719
|
+
|
|
98720
|
+
// src/mcp-server/tools/transferConfigGet.ts
|
|
98721
|
+
var args152, tool$transferConfigGet;
|
|
98722
|
+
var init_transferConfigGet2 = __esm(() => {
|
|
98723
|
+
init_transferConfigGet();
|
|
98724
|
+
init_operations();
|
|
98725
|
+
init_tools();
|
|
98726
|
+
args152 = {
|
|
98727
|
+
request: GetTransferConfigRequest$inboundSchema
|
|
98728
|
+
};
|
|
98729
|
+
tool$transferConfigGet = {
|
|
98730
|
+
name: "transfer-config-get",
|
|
98731
|
+
description: `Get the transfer config for an account.`,
|
|
98732
|
+
args: args152,
|
|
98733
|
+
tool: async (client, args153, ctx) => {
|
|
98734
|
+
const [result, apiCall] = await transferConfigGet(client, args153.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98735
|
+
if (!result.ok) {
|
|
98736
|
+
return {
|
|
98737
|
+
content: [{ type: "text", text: result.error.message }],
|
|
98738
|
+
isError: true
|
|
98739
|
+
};
|
|
98740
|
+
}
|
|
98741
|
+
const value = result.value.result;
|
|
98742
|
+
return formatResult(value, apiCall);
|
|
98743
|
+
}
|
|
98744
|
+
};
|
|
98745
|
+
});
|
|
98746
|
+
|
|
98747
|
+
// src/funcs/transferConfigUpdate.ts
|
|
98748
|
+
function transferConfigUpdate(client, request, options) {
|
|
98749
|
+
return new APIPromise($do158(client, request, options));
|
|
98750
|
+
}
|
|
98751
|
+
async function $do158(client, request, options) {
|
|
98752
|
+
const parsed = safeParse4(request, (value) => UpdateTransferConfigRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98753
|
+
if (!parsed.ok) {
|
|
98754
|
+
return [parsed, { status: "invalid" }];
|
|
98755
|
+
}
|
|
98756
|
+
const payload = parsed.value;
|
|
98757
|
+
const body = encodeJSON("body", payload.PutTransferConfig, { explode: true });
|
|
98758
|
+
const pathParams = {
|
|
98759
|
+
accountID: encodeSimple("accountID", payload.accountID, {
|
|
98760
|
+
explode: false,
|
|
98761
|
+
charEncoding: "percent"
|
|
98762
|
+
})
|
|
98763
|
+
};
|
|
98764
|
+
const path = pathToFunc("/accounts/{accountID}/transfer-config")(pathParams);
|
|
98765
|
+
const headers = new Headers(compactMap({
|
|
98766
|
+
"Content-Type": "application/json",
|
|
98767
|
+
Accept: "application/json"
|
|
98768
|
+
}));
|
|
98769
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
98770
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
98771
|
+
const context = {
|
|
98772
|
+
options: client._options,
|
|
98773
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
98774
|
+
operationID: "updateTransferConfig",
|
|
98775
|
+
oAuth2Scopes: null,
|
|
98776
|
+
resolvedSecurity: requestSecurity,
|
|
98777
|
+
securitySource: client._options.security,
|
|
98778
|
+
retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
|
|
98779
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
|
|
98780
|
+
};
|
|
98781
|
+
const requestRes = client._createRequest(context, {
|
|
98782
|
+
security: requestSecurity,
|
|
98783
|
+
method: "PUT",
|
|
98784
|
+
baseURL: options?.serverURL,
|
|
98785
|
+
path,
|
|
98786
|
+
headers,
|
|
98787
|
+
body,
|
|
98788
|
+
userAgent: client._options.userAgent,
|
|
98789
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
|
|
98790
|
+
}, options);
|
|
98791
|
+
if (!requestRes.ok) {
|
|
98792
|
+
return [requestRes, { status: "invalid" }];
|
|
98793
|
+
}
|
|
98794
|
+
const req = requestRes.value;
|
|
98795
|
+
const doResult = await client._do(req, {
|
|
98796
|
+
context,
|
|
98797
|
+
isErrorStatusCode: (statusCode) => matchStatusCode({ status: statusCode }, ["4XX", "5XX"]),
|
|
98798
|
+
retryConfig: context.retryConfig,
|
|
98799
|
+
retryCodes: context.retryCodes
|
|
98800
|
+
});
|
|
98801
|
+
if (!doResult.ok) {
|
|
98802
|
+
return [doResult, { status: "request-error", request: req }];
|
|
98803
|
+
}
|
|
98804
|
+
const response = doResult.value;
|
|
98805
|
+
const responseFields = {
|
|
98806
|
+
HttpMeta: { Response: response, Request: req }
|
|
98807
|
+
};
|
|
98808
|
+
const [result] = await match(json(200, UpdateTransferConfigResponse$inboundSchema, {
|
|
98809
|
+
hdrs: true,
|
|
98810
|
+
key: "Result"
|
|
98811
|
+
}), jsonErr(400, GenericError$inboundSchema, { hdrs: true }), jsonErr(422, TransferConfigValidationError$inboundSchema, {
|
|
98812
|
+
hdrs: true
|
|
98813
|
+
}), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
|
|
98814
|
+
if (!result.ok) {
|
|
98815
|
+
return [result, { status: "complete", request: req, response }];
|
|
98816
|
+
}
|
|
98817
|
+
return [result, { status: "complete", request: req, response }];
|
|
98818
|
+
}
|
|
98819
|
+
var init_transferConfigUpdate = __esm(() => {
|
|
98820
|
+
init_encodings();
|
|
98821
|
+
init_http();
|
|
98822
|
+
init_matchers();
|
|
98823
|
+
init_primitives();
|
|
98824
|
+
init_schemas4();
|
|
98825
|
+
init_security();
|
|
98826
|
+
init_url();
|
|
98827
|
+
init_errors4();
|
|
98828
|
+
init_operations();
|
|
98829
|
+
init_async();
|
|
98830
|
+
});
|
|
98831
|
+
|
|
98832
|
+
// src/mcp-server/tools/transferConfigUpdate.ts
|
|
98833
|
+
var args153, tool$transferConfigUpdate;
|
|
98834
|
+
var init_transferConfigUpdate2 = __esm(() => {
|
|
98835
|
+
init_transferConfigUpdate();
|
|
98836
|
+
init_operations();
|
|
98837
|
+
init_tools();
|
|
98838
|
+
args153 = {
|
|
98839
|
+
request: UpdateTransferConfigRequest$inboundSchema
|
|
98840
|
+
};
|
|
98841
|
+
tool$transferConfigUpdate = {
|
|
98842
|
+
name: "transfer-config-update",
|
|
98843
|
+
description: `Update the transfer config for an account.`,
|
|
98844
|
+
args: args153,
|
|
98845
|
+
tool: async (client, args154, ctx) => {
|
|
98846
|
+
const [result, apiCall] = await transferConfigUpdate(client, args154.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98847
|
+
if (!result.ok) {
|
|
98848
|
+
return {
|
|
98849
|
+
content: [{ type: "text", text: result.error.message }],
|
|
98850
|
+
isError: true
|
|
98851
|
+
};
|
|
98852
|
+
}
|
|
98853
|
+
const value = result.value.result;
|
|
98854
|
+
return formatResult(value, apiCall);
|
|
98855
|
+
}
|
|
98856
|
+
};
|
|
98857
|
+
});
|
|
98858
|
+
|
|
98859
|
+
// src/funcs/transfersBatchGetTransfers.ts
|
|
98860
|
+
function transfersBatchGetTransfers(client, request, options) {
|
|
98861
|
+
return new APIPromise($do159(client, request, options));
|
|
98862
|
+
}
|
|
98863
|
+
async function $do159(client, request, options) {
|
|
98034
98864
|
const parsed = safeParse4(request, (value) => BatchGetTransfersRequest$outboundSchema2.parse(value), "Input validation failed");
|
|
98035
98865
|
if (!parsed.ok) {
|
|
98036
98866
|
return [parsed, { status: "invalid" }];
|
|
@@ -98111,12 +98941,12 @@ var init_transfersBatchGetTransfers = __esm(() => {
|
|
|
98111
98941
|
});
|
|
98112
98942
|
|
|
98113
98943
|
// src/mcp-server/tools/transfersBatchGetTransfers.ts
|
|
98114
|
-
var
|
|
98944
|
+
var args154, tool$transfersBatchGetTransfers;
|
|
98115
98945
|
var init_transfersBatchGetTransfers2 = __esm(() => {
|
|
98116
98946
|
init_transfersBatchGetTransfers();
|
|
98117
98947
|
init_operations();
|
|
98118
98948
|
init_tools();
|
|
98119
|
-
|
|
98949
|
+
args154 = {
|
|
98120
98950
|
request: BatchGetTransfersRequest$inboundSchema2
|
|
98121
98951
|
};
|
|
98122
98952
|
tool$transfersBatchGetTransfers = {
|
|
@@ -98129,9 +98959,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
98129
98959
|
|
|
98130
98960
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98131
98961
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98132
|
-
args:
|
|
98133
|
-
tool: async (client,
|
|
98134
|
-
const [result, apiCall] = await transfersBatchGetTransfers(client,
|
|
98962
|
+
args: args154,
|
|
98963
|
+
tool: async (client, args155, ctx) => {
|
|
98964
|
+
const [result, apiCall] = await transfersBatchGetTransfers(client, args155.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98135
98965
|
if (!result.ok) {
|
|
98136
98966
|
return {
|
|
98137
98967
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98146,9 +98976,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98146
98976
|
|
|
98147
98977
|
// src/funcs/transfersCreate.ts
|
|
98148
98978
|
function transfersCreate(client, request, options) {
|
|
98149
|
-
return new APIPromise($
|
|
98979
|
+
return new APIPromise($do160(client, request, options));
|
|
98150
98980
|
}
|
|
98151
|
-
async function $
|
|
98981
|
+
async function $do160(client, request, options) {
|
|
98152
98982
|
const parsed = safeParse4(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98153
98983
|
if (!parsed.ok) {
|
|
98154
98984
|
return [parsed, { status: "invalid" }];
|
|
@@ -98241,12 +99071,12 @@ var init_transfersCreate = __esm(() => {
|
|
|
98241
99071
|
});
|
|
98242
99072
|
|
|
98243
99073
|
// src/mcp-server/tools/transfersCreate.ts
|
|
98244
|
-
var
|
|
99074
|
+
var args155, tool$transfersCreate;
|
|
98245
99075
|
var init_transfersCreate2 = __esm(() => {
|
|
98246
99076
|
init_transfersCreate();
|
|
98247
99077
|
init_operations();
|
|
98248
99078
|
init_tools();
|
|
98249
|
-
|
|
99079
|
+
args155 = {
|
|
98250
99080
|
request: CreateTransferRequest$inboundSchema
|
|
98251
99081
|
};
|
|
98252
99082
|
tool$transfersCreate = {
|
|
@@ -98257,9 +99087,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
98257
99087
|
|
|
98258
99088
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98259
99089
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98260
|
-
args:
|
|
98261
|
-
tool: async (client,
|
|
98262
|
-
const [result, apiCall] = await transfersCreate(client,
|
|
99090
|
+
args: args155,
|
|
99091
|
+
tool: async (client, args156, ctx) => {
|
|
99092
|
+
const [result, apiCall] = await transfersCreate(client, args156.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98263
99093
|
if (!result.ok) {
|
|
98264
99094
|
return {
|
|
98265
99095
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98274,9 +99104,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98274
99104
|
|
|
98275
99105
|
// src/funcs/transfersCreateCancellation.ts
|
|
98276
99106
|
function transfersCreateCancellation(client, request, options) {
|
|
98277
|
-
return new APIPromise($
|
|
99107
|
+
return new APIPromise($do161(client, request, options));
|
|
98278
99108
|
}
|
|
98279
|
-
async function $
|
|
99109
|
+
async function $do161(client, request, options) {
|
|
98280
99110
|
const parsed = safeParse4(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98281
99111
|
if (!parsed.ok) {
|
|
98282
99112
|
return [parsed, { status: "invalid" }];
|
|
@@ -98359,12 +99189,12 @@ var init_transfersCreateCancellation = __esm(() => {
|
|
|
98359
99189
|
});
|
|
98360
99190
|
|
|
98361
99191
|
// src/mcp-server/tools/transfersCreateCancellation.ts
|
|
98362
|
-
var
|
|
99192
|
+
var args156, tool$transfersCreateCancellation;
|
|
98363
99193
|
var init_transfersCreateCancellation2 = __esm(() => {
|
|
98364
99194
|
init_transfersCreateCancellation();
|
|
98365
99195
|
init_operations();
|
|
98366
99196
|
init_tools();
|
|
98367
|
-
|
|
99197
|
+
args156 = {
|
|
98368
99198
|
request: CreateCancellationRequest$inboundSchema
|
|
98369
99199
|
};
|
|
98370
99200
|
tool$transfersCreateCancellation = {
|
|
@@ -98373,9 +99203,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98373
99203
|
|
|
98374
99204
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98375
99205
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98376
|
-
args:
|
|
98377
|
-
tool: async (client,
|
|
98378
|
-
const [result, apiCall] = await transfersCreateCancellation(client,
|
|
99206
|
+
args: args156,
|
|
99207
|
+
tool: async (client, args157, ctx) => {
|
|
99208
|
+
const [result, apiCall] = await transfersCreateCancellation(client, args157.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98379
99209
|
if (!result.ok) {
|
|
98380
99210
|
return {
|
|
98381
99211
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98390,9 +99220,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
|
|
|
98390
99220
|
|
|
98391
99221
|
// src/funcs/transfersCreateReversal.ts
|
|
98392
99222
|
function transfersCreateReversal(client, request, options) {
|
|
98393
|
-
return new APIPromise($
|
|
99223
|
+
return new APIPromise($do162(client, request, options));
|
|
98394
99224
|
}
|
|
98395
|
-
async function $
|
|
99225
|
+
async function $do162(client, request, options) {
|
|
98396
99226
|
const parsed = safeParse4(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98397
99227
|
if (!parsed.ok) {
|
|
98398
99228
|
return [parsed, { status: "invalid" }];
|
|
@@ -98479,12 +99309,12 @@ var init_transfersCreateReversal = __esm(() => {
|
|
|
98479
99309
|
});
|
|
98480
99310
|
|
|
98481
99311
|
// src/mcp-server/tools/transfersCreateReversal.ts
|
|
98482
|
-
var
|
|
99312
|
+
var args157, tool$transfersCreateReversal;
|
|
98483
99313
|
var init_transfersCreateReversal2 = __esm(() => {
|
|
98484
99314
|
init_transfersCreateReversal();
|
|
98485
99315
|
init_operations();
|
|
98486
99316
|
init_tools();
|
|
98487
|
-
|
|
99317
|
+
args157 = {
|
|
98488
99318
|
request: CreateReversalRequest$inboundSchema
|
|
98489
99319
|
};
|
|
98490
99320
|
tool$transfersCreateReversal = {
|
|
@@ -98495,9 +99325,9 @@ to learn more.
|
|
|
98495
99325
|
|
|
98496
99326
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98497
99327
|
to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98498
|
-
args:
|
|
98499
|
-
tool: async (client,
|
|
98500
|
-
const [result, apiCall] = await transfersCreateReversal(client,
|
|
99328
|
+
args: args157,
|
|
99329
|
+
tool: async (client, args158, ctx) => {
|
|
99330
|
+
const [result, apiCall] = await transfersCreateReversal(client, args158.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98501
99331
|
if (!result.ok) {
|
|
98502
99332
|
return {
|
|
98503
99333
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98512,9 +99342,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98512
99342
|
|
|
98513
99343
|
// src/funcs/transfersGenerateOptions.ts
|
|
98514
99344
|
function transfersGenerateOptions(client, request, options) {
|
|
98515
|
-
return new APIPromise($
|
|
99345
|
+
return new APIPromise($do163(client, request, options));
|
|
98516
99346
|
}
|
|
98517
|
-
async function $
|
|
99347
|
+
async function $do163(client, request, options) {
|
|
98518
99348
|
const parsed = safeParse4(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98519
99349
|
if (!parsed.ok) {
|
|
98520
99350
|
return [parsed, { status: "invalid" }];
|
|
@@ -98598,12 +99428,12 @@ var init_transfersGenerateOptions = __esm(() => {
|
|
|
98598
99428
|
});
|
|
98599
99429
|
|
|
98600
99430
|
// src/mcp-server/tools/transfersGenerateOptions.ts
|
|
98601
|
-
var
|
|
99431
|
+
var args158, tool$transfersGenerateOptions;
|
|
98602
99432
|
var init_transfersGenerateOptions2 = __esm(() => {
|
|
98603
99433
|
init_transfersGenerateOptions();
|
|
98604
99434
|
init_operations();
|
|
98605
99435
|
init_tools();
|
|
98606
|
-
|
|
99436
|
+
args158 = {
|
|
98607
99437
|
request: CreateTransferOptionsRequest$inboundSchema
|
|
98608
99438
|
};
|
|
98609
99439
|
tool$transfersGenerateOptions = {
|
|
@@ -98617,9 +99447,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
98617
99447
|
|
|
98618
99448
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98619
99449
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
98620
|
-
args:
|
|
98621
|
-
tool: async (client,
|
|
98622
|
-
const [result, apiCall] = await transfersGenerateOptions(client,
|
|
99450
|
+
args: args158,
|
|
99451
|
+
tool: async (client, args159, ctx) => {
|
|
99452
|
+
const [result, apiCall] = await transfersGenerateOptions(client, args159.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98623
99453
|
if (!result.ok) {
|
|
98624
99454
|
return {
|
|
98625
99455
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98634,9 +99464,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
98634
99464
|
|
|
98635
99465
|
// src/funcs/transfersGet.ts
|
|
98636
99466
|
function transfersGet(client, request, options) {
|
|
98637
|
-
return new APIPromise($
|
|
99467
|
+
return new APIPromise($do164(client, request, options));
|
|
98638
99468
|
}
|
|
98639
|
-
async function $
|
|
99469
|
+
async function $do164(client, request, options) {
|
|
98640
99470
|
const parsed = safeParse4(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98641
99471
|
if (!parsed.ok) {
|
|
98642
99472
|
return [parsed, { status: "invalid" }];
|
|
@@ -98718,12 +99548,12 @@ var init_transfersGet = __esm(() => {
|
|
|
98718
99548
|
});
|
|
98719
99549
|
|
|
98720
99550
|
// src/mcp-server/tools/transfersGet.ts
|
|
98721
|
-
var
|
|
99551
|
+
var args159, tool$transfersGet;
|
|
98722
99552
|
var init_transfersGet2 = __esm(() => {
|
|
98723
99553
|
init_transfersGet();
|
|
98724
99554
|
init_operations();
|
|
98725
99555
|
init_tools();
|
|
98726
|
-
|
|
99556
|
+
args159 = {
|
|
98727
99557
|
request: GetTransferRequest$inboundSchema
|
|
98728
99558
|
};
|
|
98729
99559
|
tool$transfersGet = {
|
|
@@ -98735,9 +99565,9 @@ to learn more.
|
|
|
98735
99565
|
|
|
98736
99566
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98737
99567
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98738
|
-
args:
|
|
98739
|
-
tool: async (client,
|
|
98740
|
-
const [result, apiCall] = await transfersGet(client,
|
|
99568
|
+
args: args159,
|
|
99569
|
+
tool: async (client, args160, ctx) => {
|
|
99570
|
+
const [result, apiCall] = await transfersGet(client, args160.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98741
99571
|
if (!result.ok) {
|
|
98742
99572
|
return {
|
|
98743
99573
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98752,9 +99582,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98752
99582
|
|
|
98753
99583
|
// src/funcs/transfersGetCancellation.ts
|
|
98754
99584
|
function transfersGetCancellation(client, request, options) {
|
|
98755
|
-
return new APIPromise($
|
|
99585
|
+
return new APIPromise($do165(client, request, options));
|
|
98756
99586
|
}
|
|
98757
|
-
async function $
|
|
99587
|
+
async function $do165(client, request, options) {
|
|
98758
99588
|
const parsed = safeParse4(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98759
99589
|
if (!parsed.ok) {
|
|
98760
99590
|
return [parsed, { status: "invalid" }];
|
|
@@ -98840,12 +99670,12 @@ var init_transfersGetCancellation = __esm(() => {
|
|
|
98840
99670
|
});
|
|
98841
99671
|
|
|
98842
99672
|
// src/mcp-server/tools/transfersGetCancellation.ts
|
|
98843
|
-
var
|
|
99673
|
+
var args160, tool$transfersGetCancellation;
|
|
98844
99674
|
var init_transfersGetCancellation2 = __esm(() => {
|
|
98845
99675
|
init_transfersGetCancellation();
|
|
98846
99676
|
init_operations();
|
|
98847
99677
|
init_tools();
|
|
98848
|
-
|
|
99678
|
+
args160 = {
|
|
98849
99679
|
request: GetCancellationRequest$inboundSchema
|
|
98850
99680
|
};
|
|
98851
99681
|
tool$transfersGetCancellation = {
|
|
@@ -98854,9 +99684,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98854
99684
|
|
|
98855
99685
|
To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
|
|
98856
99686
|
to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98857
|
-
args:
|
|
98858
|
-
tool: async (client,
|
|
98859
|
-
const [result, apiCall] = await transfersGetCancellation(client,
|
|
99687
|
+
args: args160,
|
|
99688
|
+
tool: async (client, args161, ctx) => {
|
|
99689
|
+
const [result, apiCall] = await transfersGetCancellation(client, args161.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98860
99690
|
if (!result.ok) {
|
|
98861
99691
|
return {
|
|
98862
99692
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98871,9 +99701,9 @@ var init_transfersGetCancellation2 = __esm(() => {
|
|
|
98871
99701
|
|
|
98872
99702
|
// src/funcs/transfersGetRefund.ts
|
|
98873
99703
|
function transfersGetRefund(client, request, options) {
|
|
98874
|
-
return new APIPromise($
|
|
99704
|
+
return new APIPromise($do166(client, request, options));
|
|
98875
99705
|
}
|
|
98876
|
-
async function $
|
|
99706
|
+
async function $do166(client, request, options) {
|
|
98877
99707
|
const parsed = safeParse4(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98878
99708
|
if (!parsed.ok) {
|
|
98879
99709
|
return [parsed, { status: "invalid" }];
|
|
@@ -98959,12 +99789,12 @@ var init_transfersGetRefund = __esm(() => {
|
|
|
98959
99789
|
});
|
|
98960
99790
|
|
|
98961
99791
|
// src/mcp-server/tools/transfersGetRefund.ts
|
|
98962
|
-
var
|
|
99792
|
+
var args161, tool$transfersGetRefund;
|
|
98963
99793
|
var init_transfersGetRefund2 = __esm(() => {
|
|
98964
99794
|
init_transfersGetRefund();
|
|
98965
99795
|
init_operations();
|
|
98966
99796
|
init_tools();
|
|
98967
|
-
|
|
99797
|
+
args161 = {
|
|
98968
99798
|
request: GetRefundRequest$inboundSchema
|
|
98969
99799
|
};
|
|
98970
99800
|
tool$transfersGetRefund = {
|
|
@@ -98973,9 +99803,9 @@ var init_transfersGetRefund2 = __esm(() => {
|
|
|
98973
99803
|
|
|
98974
99804
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
98975
99805
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
98976
|
-
args:
|
|
98977
|
-
tool: async (client,
|
|
98978
|
-
const [result, apiCall] = await transfersGetRefund(client,
|
|
99806
|
+
args: args161,
|
|
99807
|
+
tool: async (client, args162, ctx) => {
|
|
99808
|
+
const [result, apiCall] = await transfersGetRefund(client, args162.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
98979
99809
|
if (!result.ok) {
|
|
98980
99810
|
return {
|
|
98981
99811
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -98990,9 +99820,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
98990
99820
|
|
|
98991
99821
|
// src/funcs/transfersInitiateRefund.ts
|
|
98992
99822
|
function transfersInitiateRefund(client, request, options) {
|
|
98993
|
-
return new APIPromise($
|
|
99823
|
+
return new APIPromise($do167(client, request, options));
|
|
98994
99824
|
}
|
|
98995
|
-
async function $
|
|
99825
|
+
async function $do167(client, request, options) {
|
|
98996
99826
|
const parsed = safeParse4(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
|
|
98997
99827
|
if (!parsed.ok) {
|
|
98998
99828
|
return [parsed, { status: "invalid" }];
|
|
@@ -99084,12 +99914,12 @@ var init_transfersInitiateRefund = __esm(() => {
|
|
|
99084
99914
|
});
|
|
99085
99915
|
|
|
99086
99916
|
// src/mcp-server/tools/transfersInitiateRefund.ts
|
|
99087
|
-
var
|
|
99917
|
+
var args162, tool$transfersInitiateRefund;
|
|
99088
99918
|
var init_transfersInitiateRefund2 = __esm(() => {
|
|
99089
99919
|
init_transfersInitiateRefund();
|
|
99090
99920
|
init_operations();
|
|
99091
99921
|
init_tools();
|
|
99092
|
-
|
|
99922
|
+
args162 = {
|
|
99093
99923
|
request: InitiateRefundRequest$inboundSchema
|
|
99094
99924
|
};
|
|
99095
99925
|
tool$transfersInitiateRefund = {
|
|
@@ -99101,9 +99931,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
|
|
|
99101
99931
|
|
|
99102
99932
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99103
99933
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99104
|
-
args:
|
|
99105
|
-
tool: async (client,
|
|
99106
|
-
const [result, apiCall] = await transfersInitiateRefund(client,
|
|
99934
|
+
args: args162,
|
|
99935
|
+
tool: async (client, args163, ctx) => {
|
|
99936
|
+
const [result, apiCall] = await transfersInitiateRefund(client, args163.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99107
99937
|
if (!result.ok) {
|
|
99108
99938
|
return {
|
|
99109
99939
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99118,9 +99948,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99118
99948
|
|
|
99119
99949
|
// src/funcs/transfersList.ts
|
|
99120
99950
|
function transfersList(client, request, options) {
|
|
99121
|
-
return new APIPromise($
|
|
99951
|
+
return new APIPromise($do168(client, request, options));
|
|
99122
99952
|
}
|
|
99123
|
-
async function $
|
|
99953
|
+
async function $do168(client, request, options) {
|
|
99124
99954
|
const parsed = safeParse4(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99125
99955
|
if (!parsed.ok) {
|
|
99126
99956
|
return [parsed, { status: "invalid" }];
|
|
@@ -99216,12 +100046,12 @@ var init_transfersList = __esm(() => {
|
|
|
99216
100046
|
});
|
|
99217
100047
|
|
|
99218
100048
|
// src/mcp-server/tools/transfersList.ts
|
|
99219
|
-
var
|
|
100049
|
+
var args163, tool$transfersList;
|
|
99220
100050
|
var init_transfersList2 = __esm(() => {
|
|
99221
100051
|
init_transfersList();
|
|
99222
100052
|
init_operations();
|
|
99223
100053
|
init_tools();
|
|
99224
|
-
|
|
100054
|
+
args163 = {
|
|
99225
100055
|
request: ListTransfersRequest$inboundSchema
|
|
99226
100056
|
};
|
|
99227
100057
|
tool$transfersList = {
|
|
@@ -99237,9 +100067,9 @@ period of time. You can run multiple requests in smaller time window increments
|
|
|
99237
100067
|
|
|
99238
100068
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99239
100069
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
99240
|
-
args:
|
|
99241
|
-
tool: async (client,
|
|
99242
|
-
const [result, apiCall] = await transfersList(client,
|
|
100070
|
+
args: args163,
|
|
100071
|
+
tool: async (client, args164, ctx) => {
|
|
100072
|
+
const [result, apiCall] = await transfersList(client, args164.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99243
100073
|
if (!result.ok) {
|
|
99244
100074
|
return {
|
|
99245
100075
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99254,9 +100084,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99254
100084
|
|
|
99255
100085
|
// src/funcs/transfersListRefunds.ts
|
|
99256
100086
|
function transfersListRefunds(client, request, options) {
|
|
99257
|
-
return new APIPromise($
|
|
100087
|
+
return new APIPromise($do169(client, request, options));
|
|
99258
100088
|
}
|
|
99259
|
-
async function $
|
|
100089
|
+
async function $do169(client, request, options) {
|
|
99260
100090
|
const parsed = safeParse4(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99261
100091
|
if (!parsed.ok) {
|
|
99262
100092
|
return [parsed, { status: "invalid" }];
|
|
@@ -99338,12 +100168,12 @@ var init_transfersListRefunds = __esm(() => {
|
|
|
99338
100168
|
});
|
|
99339
100169
|
|
|
99340
100170
|
// src/mcp-server/tools/transfersListRefunds.ts
|
|
99341
|
-
var
|
|
100171
|
+
var args164, tool$transfersListRefunds;
|
|
99342
100172
|
var init_transfersListRefunds2 = __esm(() => {
|
|
99343
100173
|
init_transfersListRefunds();
|
|
99344
100174
|
init_operations();
|
|
99345
100175
|
init_tools();
|
|
99346
|
-
|
|
100176
|
+
args164 = {
|
|
99347
100177
|
request: ListRefundsRequest$inboundSchema
|
|
99348
100178
|
};
|
|
99349
100179
|
tool$transfersListRefunds = {
|
|
@@ -99352,9 +100182,9 @@ var init_transfersListRefunds2 = __esm(() => {
|
|
|
99352
100182
|
|
|
99353
100183
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99354
100184
|
you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
99355
|
-
args:
|
|
99356
|
-
tool: async (client,
|
|
99357
|
-
const [result, apiCall] = await transfersListRefunds(client,
|
|
100185
|
+
args: args164,
|
|
100186
|
+
tool: async (client, args165, ctx) => {
|
|
100187
|
+
const [result, apiCall] = await transfersListRefunds(client, args165.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99358
100188
|
if (!result.ok) {
|
|
99359
100189
|
return {
|
|
99360
100190
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99369,9 +100199,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
|
|
|
99369
100199
|
|
|
99370
100200
|
// src/funcs/transfersUpdate.ts
|
|
99371
100201
|
function transfersUpdate(client, request, options) {
|
|
99372
|
-
return new APIPromise($
|
|
100202
|
+
return new APIPromise($do170(client, request, options));
|
|
99373
100203
|
}
|
|
99374
|
-
async function $
|
|
100204
|
+
async function $do170(client, request, options) {
|
|
99375
100205
|
const parsed = safeParse4(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99376
100206
|
if (!parsed.ok) {
|
|
99377
100207
|
return [parsed, { status: "invalid" }];
|
|
@@ -99457,12 +100287,12 @@ var init_transfersUpdate = __esm(() => {
|
|
|
99457
100287
|
});
|
|
99458
100288
|
|
|
99459
100289
|
// src/mcp-server/tools/transfersUpdate.ts
|
|
99460
|
-
var
|
|
100290
|
+
var args165, tool$transfersUpdate;
|
|
99461
100291
|
var init_transfersUpdate2 = __esm(() => {
|
|
99462
100292
|
init_transfersUpdate();
|
|
99463
100293
|
init_operations();
|
|
99464
100294
|
init_tools();
|
|
99465
|
-
|
|
100295
|
+
args165 = {
|
|
99466
100296
|
request: UpdateTransferRequest$inboundSchema
|
|
99467
100297
|
};
|
|
99468
100298
|
tool$transfersUpdate = {
|
|
@@ -99473,9 +100303,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
|
|
|
99473
100303
|
|
|
99474
100304
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99475
100305
|
you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
99476
|
-
args:
|
|
99477
|
-
tool: async (client,
|
|
99478
|
-
const [result, apiCall] = await transfersUpdate(client,
|
|
100306
|
+
args: args165,
|
|
100307
|
+
tool: async (client, args166, ctx) => {
|
|
100308
|
+
const [result, apiCall] = await transfersUpdate(client, args166.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99479
100309
|
if (!result.ok) {
|
|
99480
100310
|
return {
|
|
99481
100311
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99490,9 +100320,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
|
|
|
99490
100320
|
|
|
99491
100321
|
// src/funcs/underwritingGet.ts
|
|
99492
100322
|
function underwritingGet(client, request, options) {
|
|
99493
|
-
return new APIPromise($
|
|
100323
|
+
return new APIPromise($do171(client, request, options));
|
|
99494
100324
|
}
|
|
99495
|
-
async function $
|
|
100325
|
+
async function $do171(client, request, options) {
|
|
99496
100326
|
const parsed = safeParse4(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99497
100327
|
if (!parsed.ok) {
|
|
99498
100328
|
return [parsed, { status: "invalid" }];
|
|
@@ -99570,12 +100400,12 @@ var init_underwritingGet = __esm(() => {
|
|
|
99570
100400
|
});
|
|
99571
100401
|
|
|
99572
100402
|
// src/mcp-server/tools/underwritingGet.ts
|
|
99573
|
-
var
|
|
100403
|
+
var args166, tool$underwritingGet;
|
|
99574
100404
|
var init_underwritingGet2 = __esm(() => {
|
|
99575
100405
|
init_underwritingGet();
|
|
99576
100406
|
init_operations();
|
|
99577
100407
|
init_tools();
|
|
99578
|
-
|
|
100408
|
+
args166 = {
|
|
99579
100409
|
request: GetUnderwritingRequest$inboundSchema
|
|
99580
100410
|
};
|
|
99581
100411
|
tool$underwritingGet = {
|
|
@@ -99586,9 +100416,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99586
100416
|
|
|
99587
100417
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99588
100418
|
you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
99589
|
-
args:
|
|
99590
|
-
tool: async (client,
|
|
99591
|
-
const [result, apiCall] = await underwritingGet(client,
|
|
100419
|
+
args: args166,
|
|
100420
|
+
tool: async (client, args167, ctx) => {
|
|
100421
|
+
const [result, apiCall] = await underwritingGet(client, args167.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99592
100422
|
if (!result.ok) {
|
|
99593
100423
|
return {
|
|
99594
100424
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99603,9 +100433,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
|
|
|
99603
100433
|
|
|
99604
100434
|
// src/funcs/underwritingSave.ts
|
|
99605
100435
|
function underwritingSave(client, request, options) {
|
|
99606
|
-
return new APIPromise($
|
|
100436
|
+
return new APIPromise($do172(client, request, options));
|
|
99607
100437
|
}
|
|
99608
|
-
async function $
|
|
100438
|
+
async function $do172(client, request, options) {
|
|
99609
100439
|
const parsed = safeParse4(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99610
100440
|
if (!parsed.ok) {
|
|
99611
100441
|
return [parsed, { status: "invalid" }];
|
|
@@ -99689,12 +100519,12 @@ var init_underwritingSave = __esm(() => {
|
|
|
99689
100519
|
});
|
|
99690
100520
|
|
|
99691
100521
|
// src/mcp-server/tools/underwritingSave.ts
|
|
99692
|
-
var
|
|
100522
|
+
var args167, tool$underwritingSave;
|
|
99693
100523
|
var init_underwritingSave2 = __esm(() => {
|
|
99694
100524
|
init_underwritingSave();
|
|
99695
100525
|
init_operations();
|
|
99696
100526
|
init_tools();
|
|
99697
|
-
|
|
100527
|
+
args167 = {
|
|
99698
100528
|
request: SaveUnderwritingRequest$inboundSchema
|
|
99699
100529
|
};
|
|
99700
100530
|
tool$underwritingSave = {
|
|
@@ -99705,9 +100535,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99705
100535
|
|
|
99706
100536
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99707
100537
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99708
|
-
args:
|
|
99709
|
-
tool: async (client,
|
|
99710
|
-
const [result, apiCall] = await underwritingSave(client,
|
|
100538
|
+
args: args167,
|
|
100539
|
+
tool: async (client, args168, ctx) => {
|
|
100540
|
+
const [result, apiCall] = await underwritingSave(client, args168.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99711
100541
|
if (!result.ok) {
|
|
99712
100542
|
return {
|
|
99713
100543
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99722,9 +100552,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99722
100552
|
|
|
99723
100553
|
// src/funcs/underwritingUpsert.ts
|
|
99724
100554
|
function underwritingUpsert(client, request, options) {
|
|
99725
|
-
return new APIPromise($
|
|
100555
|
+
return new APIPromise($do173(client, request, options));
|
|
99726
100556
|
}
|
|
99727
|
-
async function $
|
|
100557
|
+
async function $do173(client, request, options) {
|
|
99728
100558
|
const parsed = safeParse4(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99729
100559
|
if (!parsed.ok) {
|
|
99730
100560
|
return [parsed, { status: "invalid" }];
|
|
@@ -99808,12 +100638,12 @@ var init_underwritingUpsert = __esm(() => {
|
|
|
99808
100638
|
});
|
|
99809
100639
|
|
|
99810
100640
|
// src/mcp-server/tools/underwritingUpsert.ts
|
|
99811
|
-
var
|
|
100641
|
+
var args168, tool$underwritingUpsert;
|
|
99812
100642
|
var init_underwritingUpsert2 = __esm(() => {
|
|
99813
100643
|
init_underwritingUpsert();
|
|
99814
100644
|
init_operations();
|
|
99815
100645
|
init_tools();
|
|
99816
|
-
|
|
100646
|
+
args168 = {
|
|
99817
100647
|
request: UpsertUnderwritingRequest$inboundSchema
|
|
99818
100648
|
};
|
|
99819
100649
|
tool$underwritingUpsert = {
|
|
@@ -99824,9 +100654,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
|
|
|
99824
100654
|
|
|
99825
100655
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99826
100656
|
you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
99827
|
-
args:
|
|
99828
|
-
tool: async (client,
|
|
99829
|
-
const [result, apiCall] = await underwritingUpsert(client,
|
|
100657
|
+
args: args168,
|
|
100658
|
+
tool: async (client, args169, ctx) => {
|
|
100659
|
+
const [result, apiCall] = await underwritingUpsert(client, args169.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99830
100660
|
if (!result.ok) {
|
|
99831
100661
|
return {
|
|
99832
100662
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99841,9 +100671,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
|
|
|
99841
100671
|
|
|
99842
100672
|
// src/funcs/walletsCreate.ts
|
|
99843
100673
|
function walletsCreate(client, request, options) {
|
|
99844
|
-
return new APIPromise($
|
|
100674
|
+
return new APIPromise($do174(client, request, options));
|
|
99845
100675
|
}
|
|
99846
|
-
async function $
|
|
100676
|
+
async function $do174(client, request, options) {
|
|
99847
100677
|
const parsed = safeParse4(request, (value) => CreateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99848
100678
|
if (!parsed.ok) {
|
|
99849
100679
|
return [parsed, { status: "invalid" }];
|
|
@@ -99925,12 +100755,12 @@ var init_walletsCreate = __esm(() => {
|
|
|
99925
100755
|
});
|
|
99926
100756
|
|
|
99927
100757
|
// src/mcp-server/tools/walletsCreate.ts
|
|
99928
|
-
var
|
|
100758
|
+
var args169, tool$walletsCreate;
|
|
99929
100759
|
var init_walletsCreate2 = __esm(() => {
|
|
99930
100760
|
init_walletsCreate();
|
|
99931
100761
|
init_operations();
|
|
99932
100762
|
init_tools();
|
|
99933
|
-
|
|
100763
|
+
args169 = {
|
|
99934
100764
|
request: CreateWalletRequest$inboundSchema
|
|
99935
100765
|
};
|
|
99936
100766
|
tool$walletsCreate = {
|
|
@@ -99941,9 +100771,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
99941
100771
|
|
|
99942
100772
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
99943
100773
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
99944
|
-
args:
|
|
99945
|
-
tool: async (client,
|
|
99946
|
-
const [result, apiCall] = await walletsCreate(client,
|
|
100774
|
+
args: args169,
|
|
100775
|
+
tool: async (client, args170, ctx) => {
|
|
100776
|
+
const [result, apiCall] = await walletsCreate(client, args170.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
99947
100777
|
if (!result.ok) {
|
|
99948
100778
|
return {
|
|
99949
100779
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -99958,9 +100788,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
99958
100788
|
|
|
99959
100789
|
// src/funcs/walletsGet.ts
|
|
99960
100790
|
function walletsGet(client, request, options) {
|
|
99961
|
-
return new APIPromise($
|
|
100791
|
+
return new APIPromise($do175(client, request, options));
|
|
99962
100792
|
}
|
|
99963
|
-
async function $
|
|
100793
|
+
async function $do175(client, request, options) {
|
|
99964
100794
|
const parsed = safeParse4(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
99965
100795
|
if (!parsed.ok) {
|
|
99966
100796
|
return [parsed, { status: "invalid" }];
|
|
@@ -100042,12 +100872,12 @@ var init_walletsGet = __esm(() => {
|
|
|
100042
100872
|
});
|
|
100043
100873
|
|
|
100044
100874
|
// src/mcp-server/tools/walletsGet.ts
|
|
100045
|
-
var
|
|
100875
|
+
var args170, tool$walletsGet;
|
|
100046
100876
|
var init_walletsGet2 = __esm(() => {
|
|
100047
100877
|
init_walletsGet();
|
|
100048
100878
|
init_operations();
|
|
100049
100879
|
init_tools();
|
|
100050
|
-
|
|
100880
|
+
args170 = {
|
|
100051
100881
|
request: GetWalletRequest$inboundSchema
|
|
100052
100882
|
};
|
|
100053
100883
|
tool$walletsGet = {
|
|
@@ -100058,9 +100888,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100058
100888
|
|
|
100059
100889
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100060
100890
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100061
|
-
args:
|
|
100062
|
-
tool: async (client,
|
|
100063
|
-
const [result, apiCall] = await walletsGet(client,
|
|
100891
|
+
args: args170,
|
|
100892
|
+
tool: async (client, args171, ctx) => {
|
|
100893
|
+
const [result, apiCall] = await walletsGet(client, args171.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100064
100894
|
if (!result.ok) {
|
|
100065
100895
|
return {
|
|
100066
100896
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100075,9 +100905,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100075
100905
|
|
|
100076
100906
|
// src/funcs/walletsList.ts
|
|
100077
100907
|
function walletsList(client, request, options) {
|
|
100078
|
-
return new APIPromise($
|
|
100908
|
+
return new APIPromise($do176(client, request, options));
|
|
100079
100909
|
}
|
|
100080
|
-
async function $
|
|
100910
|
+
async function $do176(client, request, options) {
|
|
100081
100911
|
const parsed = safeParse4(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100082
100912
|
if (!parsed.ok) {
|
|
100083
100913
|
return [parsed, { status: "invalid" }];
|
|
@@ -100165,12 +100995,12 @@ var init_walletsList = __esm(() => {
|
|
|
100165
100995
|
});
|
|
100166
100996
|
|
|
100167
100997
|
// src/mcp-server/tools/walletsList.ts
|
|
100168
|
-
var
|
|
100998
|
+
var args171, tool$walletsList;
|
|
100169
100999
|
var init_walletsList2 = __esm(() => {
|
|
100170
101000
|
init_walletsList();
|
|
100171
101001
|
init_operations();
|
|
100172
101002
|
init_tools();
|
|
100173
|
-
|
|
101003
|
+
args171 = {
|
|
100174
101004
|
request: ListWalletsRequest$inboundSchema
|
|
100175
101005
|
};
|
|
100176
101006
|
tool$walletsList = {
|
|
@@ -100181,9 +101011,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100181
101011
|
|
|
100182
101012
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100183
101013
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100184
|
-
args:
|
|
100185
|
-
tool: async (client,
|
|
100186
|
-
const [result, apiCall] = await walletsList(client,
|
|
101014
|
+
args: args171,
|
|
101015
|
+
tool: async (client, args172, ctx) => {
|
|
101016
|
+
const [result, apiCall] = await walletsList(client, args172.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100187
101017
|
if (!result.ok) {
|
|
100188
101018
|
return {
|
|
100189
101019
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100198,9 +101028,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100198
101028
|
|
|
100199
101029
|
// src/funcs/walletsUpdate.ts
|
|
100200
101030
|
function walletsUpdate(client, request, options) {
|
|
100201
|
-
return new APIPromise($
|
|
101031
|
+
return new APIPromise($do177(client, request, options));
|
|
100202
101032
|
}
|
|
100203
|
-
async function $
|
|
101033
|
+
async function $do177(client, request, options) {
|
|
100204
101034
|
const parsed = safeParse4(request, (value) => UpdateWalletRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100205
101035
|
if (!parsed.ok) {
|
|
100206
101036
|
return [parsed, { status: "invalid" }];
|
|
@@ -100286,12 +101116,12 @@ var init_walletsUpdate = __esm(() => {
|
|
|
100286
101116
|
});
|
|
100287
101117
|
|
|
100288
101118
|
// src/mcp-server/tools/walletsUpdate.ts
|
|
100289
|
-
var
|
|
101119
|
+
var args172, tool$walletsUpdate;
|
|
100290
101120
|
var init_walletsUpdate2 = __esm(() => {
|
|
100291
101121
|
init_walletsUpdate();
|
|
100292
101122
|
init_operations();
|
|
100293
101123
|
init_tools();
|
|
100294
|
-
|
|
101124
|
+
args172 = {
|
|
100295
101125
|
request: UpdateWalletRequest$inboundSchema
|
|
100296
101126
|
};
|
|
100297
101127
|
tool$walletsUpdate = {
|
|
@@ -100302,9 +101132,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
|
|
|
100302
101132
|
|
|
100303
101133
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100304
101134
|
you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
100305
|
-
args:
|
|
100306
|
-
tool: async (client,
|
|
100307
|
-
const [result, apiCall] = await walletsUpdate(client,
|
|
101135
|
+
args: args172,
|
|
101136
|
+
tool: async (client, args173, ctx) => {
|
|
101137
|
+
const [result, apiCall] = await walletsUpdate(client, args173.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100308
101138
|
if (!result.ok) {
|
|
100309
101139
|
return {
|
|
100310
101140
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100319,9 +101149,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
|
|
|
100319
101149
|
|
|
100320
101150
|
// src/funcs/walletTransactionsGet.ts
|
|
100321
101151
|
function walletTransactionsGet(client, request, options) {
|
|
100322
|
-
return new APIPromise($
|
|
101152
|
+
return new APIPromise($do178(client, request, options));
|
|
100323
101153
|
}
|
|
100324
|
-
async function $
|
|
101154
|
+
async function $do178(client, request, options) {
|
|
100325
101155
|
const parsed = safeParse4(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100326
101156
|
if (!parsed.ok) {
|
|
100327
101157
|
return [parsed, { status: "invalid" }];
|
|
@@ -100407,12 +101237,12 @@ var init_walletTransactionsGet = __esm(() => {
|
|
|
100407
101237
|
});
|
|
100408
101238
|
|
|
100409
101239
|
// src/mcp-server/tools/walletTransactionsGet.ts
|
|
100410
|
-
var
|
|
101240
|
+
var args173, tool$walletTransactionsGet;
|
|
100411
101241
|
var init_walletTransactionsGet2 = __esm(() => {
|
|
100412
101242
|
init_walletTransactionsGet();
|
|
100413
101243
|
init_operations();
|
|
100414
101244
|
init_tools();
|
|
100415
|
-
|
|
101245
|
+
args173 = {
|
|
100416
101246
|
request: GetWalletTransactionRequest$inboundSchema
|
|
100417
101247
|
};
|
|
100418
101248
|
tool$walletTransactionsGet = {
|
|
@@ -100423,9 +101253,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100423
101253
|
|
|
100424
101254
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100425
101255
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100426
|
-
args:
|
|
100427
|
-
tool: async (client,
|
|
100428
|
-
const [result, apiCall] = await walletTransactionsGet(client,
|
|
101256
|
+
args: args173,
|
|
101257
|
+
tool: async (client, args174, ctx) => {
|
|
101258
|
+
const [result, apiCall] = await walletTransactionsGet(client, args174.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100429
101259
|
if (!result.ok) {
|
|
100430
101260
|
return {
|
|
100431
101261
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100440,9 +101270,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100440
101270
|
|
|
100441
101271
|
// src/funcs/walletTransactionsList.ts
|
|
100442
101272
|
function walletTransactionsList(client, request, options) {
|
|
100443
|
-
return new APIPromise($
|
|
101273
|
+
return new APIPromise($do179(client, request, options));
|
|
100444
101274
|
}
|
|
100445
|
-
async function $
|
|
101275
|
+
async function $do179(client, request, options) {
|
|
100446
101276
|
const parsed = safeParse4(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100447
101277
|
if (!parsed.ok) {
|
|
100448
101278
|
return [parsed, { status: "invalid" }];
|
|
@@ -100542,12 +101372,12 @@ var init_walletTransactionsList = __esm(() => {
|
|
|
100542
101372
|
});
|
|
100543
101373
|
|
|
100544
101374
|
// src/mcp-server/tools/walletTransactionsList.ts
|
|
100545
|
-
var
|
|
101375
|
+
var args174, tool$walletTransactionsList;
|
|
100546
101376
|
var init_walletTransactionsList2 = __esm(() => {
|
|
100547
101377
|
init_walletTransactionsList();
|
|
100548
101378
|
init_operations();
|
|
100549
101379
|
init_tools();
|
|
100550
|
-
|
|
101380
|
+
args174 = {
|
|
100551
101381
|
request: ListWalletTransactionsRequest$inboundSchema
|
|
100552
101382
|
};
|
|
100553
101383
|
tool$walletTransactionsList = {
|
|
@@ -100558,9 +101388,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
|
|
|
100558
101388
|
|
|
100559
101389
|
To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
|
|
100560
101390
|
you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
100561
|
-
args:
|
|
100562
|
-
tool: async (client,
|
|
100563
|
-
const [result, apiCall] = await walletTransactionsList(client,
|
|
101391
|
+
args: args174,
|
|
101392
|
+
tool: async (client, args175, ctx) => {
|
|
101393
|
+
const [result, apiCall] = await walletTransactionsList(client, args175.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100564
101394
|
if (!result.ok) {
|
|
100565
101395
|
return {
|
|
100566
101396
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100575,9 +101405,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
100575
101405
|
|
|
100576
101406
|
// src/funcs/webhooksCreate.ts
|
|
100577
101407
|
function webhooksCreate(client, request, options) {
|
|
100578
|
-
return new APIPromise($
|
|
101408
|
+
return new APIPromise($do180(client, request, options));
|
|
100579
101409
|
}
|
|
100580
|
-
async function $
|
|
101410
|
+
async function $do180(client, request, options) {
|
|
100581
101411
|
const parsed = safeParse4(request, (value) => CreateWebhook$outboundSchema.parse(value), "Input validation failed");
|
|
100582
101412
|
if (!parsed.ok) {
|
|
100583
101413
|
return [parsed, { status: "invalid" }];
|
|
@@ -100654,20 +101484,20 @@ var init_webhooksCreate = __esm(() => {
|
|
|
100654
101484
|
});
|
|
100655
101485
|
|
|
100656
101486
|
// src/mcp-server/tools/webhooksCreate.ts
|
|
100657
|
-
var
|
|
101487
|
+
var args175, tool$webhooksCreate;
|
|
100658
101488
|
var init_webhooksCreate2 = __esm(() => {
|
|
100659
101489
|
init_webhooksCreate();
|
|
100660
101490
|
init_components();
|
|
100661
101491
|
init_tools();
|
|
100662
|
-
|
|
101492
|
+
args175 = {
|
|
100663
101493
|
request: CreateWebhook$inboundSchema
|
|
100664
101494
|
};
|
|
100665
101495
|
tool$webhooksCreate = {
|
|
100666
101496
|
name: "webhooks-create",
|
|
100667
101497
|
description: `Create a new webhook for the account.`,
|
|
100668
|
-
args:
|
|
100669
|
-
tool: async (client,
|
|
100670
|
-
const [result, apiCall] = await webhooksCreate(client,
|
|
101498
|
+
args: args175,
|
|
101499
|
+
tool: async (client, args176, ctx) => {
|
|
101500
|
+
const [result, apiCall] = await webhooksCreate(client, args176.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100671
101501
|
if (!result.ok) {
|
|
100672
101502
|
return {
|
|
100673
101503
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100682,9 +101512,9 @@ var init_webhooksCreate2 = __esm(() => {
|
|
|
100682
101512
|
|
|
100683
101513
|
// src/funcs/webhooksDisable.ts
|
|
100684
101514
|
function webhooksDisable(client, request, options) {
|
|
100685
|
-
return new APIPromise($
|
|
101515
|
+
return new APIPromise($do181(client, request, options));
|
|
100686
101516
|
}
|
|
100687
|
-
async function $
|
|
101517
|
+
async function $do181(client, request, options) {
|
|
100688
101518
|
const parsed = safeParse4(request, (value) => DisableWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100689
101519
|
if (!parsed.ok) {
|
|
100690
101520
|
return [parsed, { status: "invalid" }];
|
|
@@ -100762,20 +101592,20 @@ var init_webhooksDisable = __esm(() => {
|
|
|
100762
101592
|
});
|
|
100763
101593
|
|
|
100764
101594
|
// src/mcp-server/tools/webhooksDisable.ts
|
|
100765
|
-
var
|
|
101595
|
+
var args176, tool$webhooksDisable;
|
|
100766
101596
|
var init_webhooksDisable2 = __esm(() => {
|
|
100767
101597
|
init_webhooksDisable();
|
|
100768
101598
|
init_operations();
|
|
100769
101599
|
init_tools();
|
|
100770
|
-
|
|
101600
|
+
args176 = {
|
|
100771
101601
|
request: DisableWebhookRequest$inboundSchema
|
|
100772
101602
|
};
|
|
100773
101603
|
tool$webhooksDisable = {
|
|
100774
101604
|
name: "webhooks-disable",
|
|
100775
101605
|
description: `Disable a webhook. Disabled webhooks will no longer receive events.`,
|
|
100776
|
-
args:
|
|
100777
|
-
tool: async (client,
|
|
100778
|
-
const [result, apiCall] = await webhooksDisable(client,
|
|
101606
|
+
args: args176,
|
|
101607
|
+
tool: async (client, args177, ctx) => {
|
|
101608
|
+
const [result, apiCall] = await webhooksDisable(client, args177.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100779
101609
|
if (!result.ok) {
|
|
100780
101610
|
return {
|
|
100781
101611
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100789,9 +101619,9 @@ var init_webhooksDisable2 = __esm(() => {
|
|
|
100789
101619
|
|
|
100790
101620
|
// src/funcs/webhooksGet.ts
|
|
100791
101621
|
function webhooksGet(client, request, options) {
|
|
100792
|
-
return new APIPromise($
|
|
101622
|
+
return new APIPromise($do182(client, request, options));
|
|
100793
101623
|
}
|
|
100794
|
-
async function $
|
|
101624
|
+
async function $do182(client, request, options) {
|
|
100795
101625
|
const parsed = safeParse4(request, (value) => GetWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100796
101626
|
if (!parsed.ok) {
|
|
100797
101627
|
return [parsed, { status: "invalid" }];
|
|
@@ -100869,20 +101699,20 @@ var init_webhooksGet = __esm(() => {
|
|
|
100869
101699
|
});
|
|
100870
101700
|
|
|
100871
101701
|
// src/mcp-server/tools/webhooksGet.ts
|
|
100872
|
-
var
|
|
101702
|
+
var args177, tool$webhooksGet;
|
|
100873
101703
|
var init_webhooksGet2 = __esm(() => {
|
|
100874
101704
|
init_webhooksGet();
|
|
100875
101705
|
init_operations();
|
|
100876
101706
|
init_tools();
|
|
100877
|
-
|
|
101707
|
+
args177 = {
|
|
100878
101708
|
request: GetWebhookRequest$inboundSchema
|
|
100879
101709
|
};
|
|
100880
101710
|
tool$webhooksGet = {
|
|
100881
101711
|
name: "webhooks-get",
|
|
100882
101712
|
description: `Get details of a specific webhook.`,
|
|
100883
|
-
args:
|
|
100884
|
-
tool: async (client,
|
|
100885
|
-
const [result, apiCall] = await webhooksGet(client,
|
|
101713
|
+
args: args177,
|
|
101714
|
+
tool: async (client, args178, ctx) => {
|
|
101715
|
+
const [result, apiCall] = await webhooksGet(client, args178.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100886
101716
|
if (!result.ok) {
|
|
100887
101717
|
return {
|
|
100888
101718
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -100897,9 +101727,9 @@ var init_webhooksGet2 = __esm(() => {
|
|
|
100897
101727
|
|
|
100898
101728
|
// src/funcs/webhooksGetSecret.ts
|
|
100899
101729
|
function webhooksGetSecret(client, request, options) {
|
|
100900
|
-
return new APIPromise($
|
|
101730
|
+
return new APIPromise($do183(client, request, options));
|
|
100901
101731
|
}
|
|
100902
|
-
async function $
|
|
101732
|
+
async function $do183(client, request, options) {
|
|
100903
101733
|
const parsed = safeParse4(request, (value) => GetWebhookSecretRequest$outboundSchema.parse(value), "Input validation failed");
|
|
100904
101734
|
if (!parsed.ok) {
|
|
100905
101735
|
return [parsed, { status: "invalid" }];
|
|
@@ -100977,20 +101807,20 @@ var init_webhooksGetSecret = __esm(() => {
|
|
|
100977
101807
|
});
|
|
100978
101808
|
|
|
100979
101809
|
// src/mcp-server/tools/webhooksGetSecret.ts
|
|
100980
|
-
var
|
|
101810
|
+
var args178, tool$webhooksGetSecret;
|
|
100981
101811
|
var init_webhooksGetSecret2 = __esm(() => {
|
|
100982
101812
|
init_webhooksGetSecret();
|
|
100983
101813
|
init_operations();
|
|
100984
101814
|
init_tools();
|
|
100985
|
-
|
|
101815
|
+
args178 = {
|
|
100986
101816
|
request: GetWebhookSecretRequest$inboundSchema
|
|
100987
101817
|
};
|
|
100988
101818
|
tool$webhooksGetSecret = {
|
|
100989
101819
|
name: "webhooks-get-secret",
|
|
100990
101820
|
description: `Get the secret key for verifying webhook payloads.`,
|
|
100991
|
-
args:
|
|
100992
|
-
tool: async (client,
|
|
100993
|
-
const [result, apiCall] = await webhooksGetSecret(client,
|
|
101821
|
+
args: args178,
|
|
101822
|
+
tool: async (client, args179, ctx) => {
|
|
101823
|
+
const [result, apiCall] = await webhooksGetSecret(client, args179.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
100994
101824
|
if (!result.ok) {
|
|
100995
101825
|
return {
|
|
100996
101826
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101005,9 +101835,9 @@ var init_webhooksGetSecret2 = __esm(() => {
|
|
|
101005
101835
|
|
|
101006
101836
|
// src/funcs/webhooksList.ts
|
|
101007
101837
|
function webhooksList(client, options) {
|
|
101008
|
-
return new APIPromise($
|
|
101838
|
+
return new APIPromise($do184(client, options));
|
|
101009
101839
|
}
|
|
101010
|
-
async function $
|
|
101840
|
+
async function $do184(client, options) {
|
|
101011
101841
|
const path = pathToFunc("/webhooks")();
|
|
101012
101842
|
const headers = new Headers(compactMap({
|
|
101013
101843
|
Accept: "application/json"
|
|
@@ -101093,9 +101923,9 @@ var init_webhooksList2 = __esm(() => {
|
|
|
101093
101923
|
|
|
101094
101924
|
// src/funcs/webhooksListEventTypes.ts
|
|
101095
101925
|
function webhooksListEventTypes(client, options) {
|
|
101096
|
-
return new APIPromise($
|
|
101926
|
+
return new APIPromise($do185(client, options));
|
|
101097
101927
|
}
|
|
101098
|
-
async function $
|
|
101928
|
+
async function $do185(client, options) {
|
|
101099
101929
|
const path = pathToFunc("/event-types")();
|
|
101100
101930
|
const headers = new Headers(compactMap({
|
|
101101
101931
|
Accept: "application/json"
|
|
@@ -101181,9 +102011,9 @@ var init_webhooksListEventTypes2 = __esm(() => {
|
|
|
101181
102011
|
|
|
101182
102012
|
// src/funcs/webhooksPing.ts
|
|
101183
102013
|
function webhooksPing(client, request, options) {
|
|
101184
|
-
return new APIPromise($
|
|
102014
|
+
return new APIPromise($do186(client, request, options));
|
|
101185
102015
|
}
|
|
101186
|
-
async function $
|
|
102016
|
+
async function $do186(client, request, options) {
|
|
101187
102017
|
const parsed = safeParse4(request, (value) => PingWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101188
102018
|
if (!parsed.ok) {
|
|
101189
102019
|
return [parsed, { status: "invalid" }];
|
|
@@ -101261,20 +102091,20 @@ var init_webhooksPing = __esm(() => {
|
|
|
101261
102091
|
});
|
|
101262
102092
|
|
|
101263
102093
|
// src/mcp-server/tools/webhooksPing.ts
|
|
101264
|
-
var
|
|
102094
|
+
var args179, tool$webhooksPing;
|
|
101265
102095
|
var init_webhooksPing2 = __esm(() => {
|
|
101266
102096
|
init_webhooksPing();
|
|
101267
102097
|
init_operations();
|
|
101268
102098
|
init_tools();
|
|
101269
|
-
|
|
102099
|
+
args179 = {
|
|
101270
102100
|
request: PingWebhookRequest$inboundSchema
|
|
101271
102101
|
};
|
|
101272
102102
|
tool$webhooksPing = {
|
|
101273
102103
|
name: "webhooks-ping",
|
|
101274
102104
|
description: `Send a test ping to a webhook to verify it is configured correctly.`,
|
|
101275
|
-
args:
|
|
101276
|
-
tool: async (client,
|
|
101277
|
-
const [result, apiCall] = await webhooksPing(client,
|
|
102105
|
+
args: args179,
|
|
102106
|
+
tool: async (client, args180, ctx) => {
|
|
102107
|
+
const [result, apiCall] = await webhooksPing(client, args180.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101278
102108
|
if (!result.ok) {
|
|
101279
102109
|
return {
|
|
101280
102110
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101289,9 +102119,9 @@ var init_webhooksPing2 = __esm(() => {
|
|
|
101289
102119
|
|
|
101290
102120
|
// src/funcs/webhooksUpdate.ts
|
|
101291
102121
|
function webhooksUpdate(client, request, options) {
|
|
101292
|
-
return new APIPromise($
|
|
102122
|
+
return new APIPromise($do187(client, request, options));
|
|
101293
102123
|
}
|
|
101294
|
-
async function $
|
|
102124
|
+
async function $do187(client, request, options) {
|
|
101295
102125
|
const parsed = safeParse4(request, (value) => UpdateWebhookRequest$outboundSchema.parse(value), "Input validation failed");
|
|
101296
102126
|
if (!parsed.ok) {
|
|
101297
102127
|
return [parsed, { status: "invalid" }];
|
|
@@ -101373,20 +102203,20 @@ var init_webhooksUpdate = __esm(() => {
|
|
|
101373
102203
|
});
|
|
101374
102204
|
|
|
101375
102205
|
// src/mcp-server/tools/webhooksUpdate.ts
|
|
101376
|
-
var
|
|
102206
|
+
var args180, tool$webhooksUpdate;
|
|
101377
102207
|
var init_webhooksUpdate2 = __esm(() => {
|
|
101378
102208
|
init_webhooksUpdate();
|
|
101379
102209
|
init_operations();
|
|
101380
102210
|
init_tools();
|
|
101381
|
-
|
|
102211
|
+
args180 = {
|
|
101382
102212
|
request: UpdateWebhookRequest$inboundSchema
|
|
101383
102213
|
};
|
|
101384
102214
|
tool$webhooksUpdate = {
|
|
101385
102215
|
name: "webhooks-update",
|
|
101386
102216
|
description: `Update an existing webhook.`,
|
|
101387
|
-
args:
|
|
101388
|
-
tool: async (client,
|
|
101389
|
-
const [result, apiCall] = await webhooksUpdate(client,
|
|
102217
|
+
args: args180,
|
|
102218
|
+
tool: async (client, args181, ctx) => {
|
|
102219
|
+
const [result, apiCall] = await webhooksUpdate(client, args181.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
101390
102220
|
if (!result.ok) {
|
|
101391
102221
|
return {
|
|
101392
102222
|
content: [{ type: "text", text: result.error.message }],
|
|
@@ -101403,7 +102233,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
101403
102233
|
function createMCPServer(deps) {
|
|
101404
102234
|
const server = new McpServer({
|
|
101405
102235
|
name: "Moov",
|
|
101406
|
-
version: "26.4.
|
|
102236
|
+
version: "26.4.2"
|
|
101407
102237
|
});
|
|
101408
102238
|
const client = new MoovCore({
|
|
101409
102239
|
security: deps.security,
|
|
@@ -101540,6 +102370,9 @@ function createMCPServer(deps) {
|
|
|
101540
102370
|
tool(tool$supportGetTicket);
|
|
101541
102371
|
tool(tool$supportUpdateTicket);
|
|
101542
102372
|
tool(tool$supportListTicketMessages);
|
|
102373
|
+
tool(tool$transferConfigCreate);
|
|
102374
|
+
tool(tool$transferConfigGet);
|
|
102375
|
+
tool(tool$transferConfigUpdate);
|
|
101543
102376
|
tool(tool$transfersGenerateOptions);
|
|
101544
102377
|
tool(tool$transfersCreate);
|
|
101545
102378
|
tool(tool$transfersList);
|
|
@@ -101763,6 +102596,9 @@ var init_server2 = __esm(() => {
|
|
|
101763
102596
|
init_terminalApplicationsDelete2();
|
|
101764
102597
|
init_terminalApplicationsGet2();
|
|
101765
102598
|
init_terminalApplicationsList2();
|
|
102599
|
+
init_transferConfigCreate2();
|
|
102600
|
+
init_transferConfigGet2();
|
|
102601
|
+
init_transferConfigUpdate2();
|
|
101766
102602
|
init_transfersBatchGetTransfers2();
|
|
101767
102603
|
init_transfersCreate2();
|
|
101768
102604
|
init_transfersCreateCancellation2();
|
|
@@ -102984,7 +103820,7 @@ var routes = rn({
|
|
|
102984
103820
|
var app = Ve(routes, {
|
|
102985
103821
|
name: "mcp",
|
|
102986
103822
|
versionInfo: {
|
|
102987
|
-
currentVersion: "26.4.
|
|
103823
|
+
currentVersion: "26.4.2"
|
|
102988
103824
|
}
|
|
102989
103825
|
});
|
|
102990
103826
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -102992,5 +103828,5 @@ export {
|
|
|
102992
103828
|
app
|
|
102993
103829
|
};
|
|
102994
103830
|
|
|
102995
|
-
//# debugId=
|
|
103831
|
+
//# debugId=B9DFD792F255AA5564756E2164756E21
|
|
102996
103832
|
//# sourceMappingURL=mcp-server.js.map
|