@moovio/sdk 25.3.5 → 25.3.6

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.
Files changed (79) hide show
  1. package/README.md +8 -8
  2. package/bin/mcp-server.js +52 -16
  3. package/bin/mcp-server.js.map +24 -23
  4. package/funcs/transfersList.js +2 -0
  5. package/funcs/transfersList.js.map +1 -1
  6. package/jsr.json +1 -1
  7. package/lib/config.d.ts +2 -2
  8. package/lib/config.js +2 -2
  9. package/mcp-server/mcp-server.js +1 -1
  10. package/mcp-server/server.js +1 -1
  11. package/mcp-server/tools/avatarsGet.js +1 -1
  12. package/mcp-server/tools/enrichedAddressGet.js +1 -1
  13. package/mcp-server/tools/enrichedProfileGet.js +1 -1
  14. package/mcp-server/tools/institutionsSearch.js +1 -1
  15. package/models/components/createdtransfer.d.ts +6 -0
  16. package/models/components/createdtransfer.d.ts.map +1 -1
  17. package/models/components/createdtransfer.js +3 -0
  18. package/models/components/createdtransfer.js.map +1 -1
  19. package/models/components/createrefund.d.ts +2 -2
  20. package/models/components/createreversal.d.ts +1 -1
  21. package/models/components/index.d.ts +1 -0
  22. package/models/components/index.d.ts.map +1 -1
  23. package/models/components/index.js +1 -0
  24. package/models/components/index.js.map +1 -1
  25. package/models/components/paymentmethodswallet.d.ts +1 -0
  26. package/models/components/paymentmethodswallet.d.ts.map +1 -1
  27. package/models/components/paymentmethodswallet.js.map +1 -1
  28. package/models/components/transfer.d.ts +6 -0
  29. package/models/components/transfer.d.ts.map +1 -1
  30. package/models/components/transfer.js +3 -0
  31. package/models/components/transfer.js.map +1 -1
  32. package/models/components/transfercapture.d.ts +28 -0
  33. package/models/components/transfercapture.d.ts.map +1 -0
  34. package/models/components/transfercapture.js +60 -0
  35. package/models/components/transfercapture.js.map +1 -0
  36. package/models/components/transferpaymentmethodswallet.d.ts +1 -0
  37. package/models/components/transferpaymentmethodswallet.d.ts.map +1 -1
  38. package/models/components/transferpaymentmethodswallet.js.map +1 -1
  39. package/models/components/wallet.d.ts +1 -0
  40. package/models/components/wallet.d.ts.map +1 -1
  41. package/models/components/wallet.js.map +1 -1
  42. package/models/components/wallettype.d.ts +3 -0
  43. package/models/components/wallettype.d.ts.map +1 -1
  44. package/models/components/wallettype.js +2 -0
  45. package/models/components/wallettype.js.map +1 -1
  46. package/models/components/webhookdatatransferstatus.d.ts +3 -0
  47. package/models/components/webhookdatatransferstatus.d.ts.map +1 -1
  48. package/models/components/webhookdatatransferstatus.js +3 -0
  49. package/models/components/webhookdatatransferstatus.js.map +1 -1
  50. package/models/errors/transfer.d.ts +9 -0
  51. package/models/errors/transfer.d.ts.map +1 -1
  52. package/models/errors/transfer.js +4 -0
  53. package/models/errors/transfer.js.map +1 -1
  54. package/models/operations/listtransfers.d.ts +10 -0
  55. package/models/operations/listtransfers.d.ts.map +1 -1
  56. package/models/operations/listtransfers.js +4 -0
  57. package/models/operations/listtransfers.js.map +1 -1
  58. package/package.json +1 -1
  59. package/src/funcs/transfersList.ts +2 -0
  60. package/src/lib/config.ts +2 -2
  61. package/src/mcp-server/mcp-server.ts +1 -1
  62. package/src/mcp-server/server.ts +1 -1
  63. package/src/mcp-server/tools/avatarsGet.ts +1 -1
  64. package/src/mcp-server/tools/enrichedAddressGet.ts +1 -1
  65. package/src/mcp-server/tools/enrichedProfileGet.ts +1 -1
  66. package/src/mcp-server/tools/institutionsSearch.ts +1 -1
  67. package/src/models/components/createdtransfer.ts +13 -0
  68. package/src/models/components/createrefund.ts +2 -2
  69. package/src/models/components/createreversal.ts +1 -1
  70. package/src/models/components/index.ts +1 -0
  71. package/src/models/components/paymentmethodswallet.ts +1 -0
  72. package/src/models/components/transfer.ts +13 -0
  73. package/src/models/components/transfercapture.ts +62 -0
  74. package/src/models/components/transferpaymentmethodswallet.ts +1 -0
  75. package/src/models/components/wallet.ts +1 -0
  76. package/src/models/components/wallettype.ts +3 -0
  77. package/src/models/components/webhookdatatransferstatus.ts +3 -0
  78. package/src/models/errors/transfer.ts +12 -0
  79. package/src/models/operations/listtransfers.ts +14 -0
package/README.md CHANGED
@@ -425,7 +425,7 @@ Allows clients to notify the authorization server that a previously obtained ref
425
425
 
426
426
  * [get](docs/sdks/avatars/README.md#get) - Get avatar image for an account using a unique ID.
427
427
 
428
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
428
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
429
429
  you'll need to specify the `/profile-enrichment.read` scope.
430
430
 
431
431
  ### [BankAccounts](docs/sdks/bankaccounts/README.md)
@@ -713,14 +713,14 @@ you'll need to specify the `/ping.read` scope.
713
713
 
714
714
  * [get](docs/sdks/enrichedaddress/README.md#get) - Fetch enriched address suggestions. Requires a partial address.
715
715
 
716
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
716
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
717
717
  you'll need to specify the `/profile-enrichment.read` scope.
718
718
 
719
719
  ### [EnrichedProfile](docs/sdks/enrichedprofile/README.md)
720
720
 
721
721
  * [get](docs/sdks/enrichedprofile/README.md#get) - Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit.
722
722
 
723
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
723
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
724
724
  you'll need to specify the `/profile-enrichment.read` scope.
725
725
 
726
726
  ### [FeePlans](docs/sdks/feeplans/README.md)
@@ -823,7 +823,7 @@ you'll need to specify the `/institutions.read` scope.
823
823
 
824
824
  Search for institutions by either their name or routing number.
825
825
 
826
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
826
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
827
827
  you'll need to specify the `/fed.read` scope. :warning: **Deprecated**
828
828
 
829
829
  ### [IssuingTransactions](docs/sdks/issuingtransactions/README.md)
@@ -1373,7 +1373,7 @@ you'll need to specify the `/accounts/{accountID}/apple-pay.write` scope.
1373
1373
  Allows clients to notify the authorization server that a previously obtained refresh or access token is no longer needed.
1374
1374
  - [`avatarsGet`](docs/sdks/avatars/README.md#get) - Get avatar image for an account using a unique ID.
1375
1375
 
1376
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1376
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1377
1377
  you'll need to specify the `/profile-enrichment.read` scope.
1378
1378
  - [`bankAccountsCompleteMicroDeposits`](docs/sdks/bankaccounts/README.md#completemicrodeposits) - Complete the micro-deposit validation process by passing the amounts of the two transfers within three tries.
1379
1379
 
@@ -1637,11 +1637,11 @@ To access this endpoint using an [access token](https://docs.moov.io/api/authent
1637
1637
  you'll need to specify the `/ping.read` scope.
1638
1638
  - [`enrichedAddressGet`](docs/sdks/enrichedaddress/README.md#get) - Fetch enriched address suggestions. Requires a partial address.
1639
1639
 
1640
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1640
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1641
1641
  you'll need to specify the `/profile-enrichment.read` scope.
1642
1642
  - [`enrichedProfileGet`](docs/sdks/enrichedprofile/README.md#get) - Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit.
1643
1643
 
1644
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1644
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1645
1645
  you'll need to specify the `/profile-enrichment.read` scope.
1646
1646
  - [`feePlansCreateFeePlanAgreements`](docs/sdks/feeplans/README.md#createfeeplanagreements) - Creates the subscription of a fee plan to a merchant account. Merchants are required to accept the fee plan terms prior to activation.
1647
1647
 
@@ -2071,7 +2071,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
2071
2071
 
2072
2072
  Search for institutions by either their name or routing number.
2073
2073
 
2074
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
2074
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
2075
2075
  you'll need to specify the `/fed.read` scope. :warning: **Deprecated**
2076
2076
 
2077
2077
  </details>
package/bin/mcp-server.js CHANGED
@@ -52974,9 +52974,9 @@ var init_config = __esm(() => {
52974
52974
  SDK_METADATA = {
52975
52975
  language: "typescript",
52976
52976
  openapiDocVersion: "v2025.01.00",
52977
- sdkVersion: "25.3.5",
52977
+ sdkVersion: "25.3.6",
52978
52978
  genVersion: "2.924.0",
52979
- userAgent: "speakeasy-sdk/typescript 25.3.5 2.924.0 v2025.01.00 @moovio/sdk"
52979
+ userAgent: "speakeasy-sdk/typescript 25.3.6 2.924.0 v2025.01.00 @moovio/sdk"
52980
52980
  };
52981
52981
  });
52982
52982
 
@@ -60793,6 +60793,20 @@ var init_moovfeedetails = __esm(() => {
60793
60793
  });
60794
60794
  });
60795
60795
 
60796
+ // src/models/components/transfercapture.ts
60797
+ var TransferCapture$inboundSchema, TransferCapture$outboundSchema;
60798
+ var init_transfercapture = __esm(() => {
60799
+ init_esm();
60800
+ TransferCapture$inboundSchema = objectType({
60801
+ authorizationID: stringType(),
60802
+ captureID: stringType()
60803
+ });
60804
+ TransferCapture$outboundSchema = objectType({
60805
+ authorizationID: stringType(),
60806
+ captureID: stringType()
60807
+ });
60808
+ });
60809
+
60796
60810
  // src/models/components/instantbankfailurecode.ts
60797
60811
  var InstantBankFailureCode, InstantBankFailureCode$inboundSchema, InstantBankFailureCode$outboundSchema;
60798
60812
  var init_instantbankfailurecode = __esm(() => {
@@ -60953,7 +60967,8 @@ var init_wallettype = __esm(() => {
60953
60967
  init_esm();
60954
60968
  WalletType = {
60955
60969
  Default: "default",
60956
- General: "general"
60970
+ General: "general",
60971
+ CardIssuing: "card-issuing"
60957
60972
  };
60958
60973
  WalletType$inboundSchema = nativeEnumType(WalletType);
60959
60974
  WalletType$outboundSchema = WalletType$inboundSchema;
@@ -61196,6 +61211,7 @@ var init_createdtransfer = __esm(() => {
61196
61211
  init_cardacquiringrefund();
61197
61212
  init_facilitatorfee();
61198
61213
  init_moovfeedetails();
61214
+ init_transfercapture();
61199
61215
  init_transferdestination();
61200
61216
  init_transferfailurereason();
61201
61217
  init_transferlineitems();
@@ -61228,7 +61244,8 @@ var init_createdtransfer = __esm(() => {
61228
61244
  paymentLinkCode: stringType().optional(),
61229
61245
  salesTaxAmount: Amount$inboundSchema.optional(),
61230
61246
  foreignID: stringType().optional(),
61231
- lineItems: TransferLineItems$inboundSchema.optional()
61247
+ lineItems: TransferLineItems$inboundSchema.optional(),
61248
+ capture: TransferCapture$inboundSchema.optional()
61232
61249
  });
61233
61250
  CreatedTransfer$outboundSchema = objectType({
61234
61251
  transferID: stringType(),
@@ -61257,7 +61274,8 @@ var init_createdtransfer = __esm(() => {
61257
61274
  paymentLinkCode: stringType().optional(),
61258
61275
  salesTaxAmount: Amount$outboundSchema.optional(),
61259
61276
  foreignID: stringType().optional(),
61260
- lineItems: TransferLineItems$outboundSchema.optional()
61277
+ lineItems: TransferLineItems$outboundSchema.optional(),
61278
+ capture: TransferCapture$outboundSchema.optional()
61261
61279
  });
61262
61280
  });
61263
61281
 
@@ -66069,6 +66087,7 @@ var init_transfer = __esm(() => {
66069
66087
  init_facilitatorfee();
66070
66088
  init_moovfee();
66071
66089
  init_moovfeedetails();
66090
+ init_transfercapture();
66072
66091
  init_transferdestination();
66073
66092
  init_transferfailurereason();
66074
66093
  init_transferlineitems();
@@ -66102,7 +66121,8 @@ var init_transfer = __esm(() => {
66102
66121
  paymentLinkCode: stringType().optional(),
66103
66122
  salesTaxAmount: Amount$inboundSchema.optional(),
66104
66123
  foreignID: stringType().optional(),
66105
- lineItems: TransferLineItems$inboundSchema.optional()
66124
+ lineItems: TransferLineItems$inboundSchema.optional(),
66125
+ capture: TransferCapture$inboundSchema.optional()
66106
66126
  });
66107
66127
  Transfer$outboundSchema = objectType({
66108
66128
  transferID: stringType(),
@@ -66132,7 +66152,8 @@ var init_transfer = __esm(() => {
66132
66152
  paymentLinkCode: stringType().optional(),
66133
66153
  salesTaxAmount: Amount$outboundSchema.optional(),
66134
66154
  foreignID: stringType().optional(),
66135
- lineItems: TransferLineItems$outboundSchema.optional()
66155
+ lineItems: TransferLineItems$outboundSchema.optional(),
66156
+ capture: TransferCapture$outboundSchema.optional()
66136
66157
  });
66137
66158
  });
66138
66159
 
@@ -67325,8 +67346,11 @@ var init_webhookdatatransferstatus = __esm(() => {
67325
67346
  DestinationReturned: "destination.returned",
67326
67347
  DestinationOriginated: "destination.originated",
67327
67348
  DestinationConfirmed: "destination.confirmed",
67349
+ DestinationSettled: "destination.settled",
67328
67350
  DestinationFailed: "destination.failed",
67329
- DestinationAcceptedWithoutPosting: "destination.accepted-without-posting"
67351
+ DestinationCanceled: "destination.canceled",
67352
+ DestinationAcceptedWithoutPosting: "destination.accepted-without-posting",
67353
+ DestinationDeferred: "destination.deferred"
67330
67354
  };
67331
67355
  WebhookDataTransferStatus$inboundSchema = nativeEnumType(WebhookDataTransferStatus);
67332
67356
  WebhookDataTransferStatus$outboundSchema = WebhookDataTransferStatus$inboundSchema;
@@ -68006,6 +68030,7 @@ var init_components = __esm(() => {
68006
68030
  init_transfer();
68007
68031
  init_transferaccount();
68008
68032
  init_transferachaddendarecord();
68033
+ init_transfercapture();
68009
68034
  init_transferdestination();
68010
68035
  init_transferfailurereason();
68011
68036
  init_transferlineitem();
@@ -69908,6 +69933,7 @@ var init_transfer2 = __esm(() => {
69908
69933
  salesTaxAmount;
69909
69934
  foreignID;
69910
69935
  lineItems;
69936
+ capture;
69911
69937
  data$;
69912
69938
  constructor(err, httpMeta) {
69913
69939
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -69963,6 +69989,8 @@ var init_transfer2 = __esm(() => {
69963
69989
  this.foreignID = err.foreignID;
69964
69990
  if (err.lineItems != null)
69965
69991
  this.lineItems = err.lineItems;
69992
+ if (err.capture != null)
69993
+ this.capture = err.capture;
69966
69994
  this.name = "Transfer";
69967
69995
  }
69968
69996
  };
@@ -69995,6 +70023,7 @@ var init_transfer2 = __esm(() => {
69995
70023
  salesTaxAmount: Amount$inboundSchema.optional(),
69996
70024
  foreignID: stringType().optional(),
69997
70025
  lineItems: TransferLineItems$inboundSchema.optional(),
70026
+ capture: TransferCapture$inboundSchema.optional(),
69998
70027
  request$: instanceOfType(Request),
69999
70028
  response$: instanceOfType(Response),
70000
70029
  body$: stringType()
@@ -70033,7 +70062,8 @@ var init_transfer2 = __esm(() => {
70033
70062
  paymentLinkCode: stringType().optional(),
70034
70063
  salesTaxAmount: Amount$outboundSchema.optional(),
70035
70064
  foreignID: stringType().optional(),
70036
- lineItems: TransferLineItems$outboundSchema.optional()
70065
+ lineItems: TransferLineItems$outboundSchema.optional(),
70066
+ capture: TransferCapture$outboundSchema.optional()
70037
70067
  }));
70038
70068
  });
70039
70069
 
@@ -75323,6 +75353,8 @@ var init_listtransfers = __esm(() => {
75323
75353
  refunded: booleanType().optional(),
75324
75354
  disputed: booleanType().optional(),
75325
75355
  foreignID: stringType().optional(),
75356
+ authorizationIDs: arrayType(stringType()).optional(),
75357
+ captureIDs: arrayType(stringType()).optional(),
75326
75358
  skip: numberType().int().optional(),
75327
75359
  count: numberType().int().optional(),
75328
75360
  accountID: stringType()
@@ -75338,6 +75370,8 @@ var init_listtransfers = __esm(() => {
75338
75370
  refunded: booleanType().optional(),
75339
75371
  disputed: booleanType().optional(),
75340
75372
  foreignID: stringType().optional(),
75373
+ authorizationIDs: arrayType(stringType()).optional(),
75374
+ captureIDs: arrayType(stringType()).optional(),
75341
75375
  skip: numberType().int().optional(),
75342
75376
  count: numberType().int().optional(),
75343
75377
  accountID: stringType()
@@ -79781,7 +79815,7 @@ var init_avatarsGet2 = __esm(() => {
79781
79815
  name: "avatars-get",
79782
79816
  description: `Get avatar image for an account using a unique ID.
79783
79817
 
79784
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79818
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
79785
79819
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
79786
79820
  args: args25,
79787
79821
  tool: async (client, args26, ctx) => {
@@ -84586,7 +84620,7 @@ var init_enrichedAddressGet2 = __esm(() => {
84586
84620
  name: "enriched-address-get",
84587
84621
  description: `Fetch enriched address suggestions. Requires a partial address.
84588
84622
 
84589
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
84623
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
84590
84624
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
84591
84625
  args: args64,
84592
84626
  tool: async (client, args65, ctx) => {
@@ -84695,7 +84729,7 @@ var init_enrichedProfileGet2 = __esm(() => {
84695
84729
  name: "enriched-profile-get",
84696
84730
  description: `Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit.
84697
84731
 
84698
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
84732
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
84699
84733
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
84700
84734
  args: args65,
84701
84735
  tool: async (client, args66, ctx) => {
@@ -87288,7 +87322,7 @@ var init_institutionsSearch2 = __esm(() => {
87288
87322
 
87289
87323
  Search for institutions by either their name or routing number.
87290
87324
 
87291
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
87325
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
87292
87326
  you'll need to specify the \`/fed.read\` scope.`,
87293
87327
  args: args86,
87294
87328
  tool: async (client, args87, ctx) => {
@@ -94074,6 +94108,8 @@ async function $do148(client, request, options) {
94074
94108
  const path = pathToFunc("/accounts/{accountID}/transfers")(pathParams);
94075
94109
  const query = encodeFormQuery({
94076
94110
  accountIDs: payload.accountIDs,
94111
+ authorizationIDs: payload.authorizationIDs,
94112
+ captureIDs: payload.captureIDs,
94077
94113
  count: payload.count,
94078
94114
  disputed: payload.disputed,
94079
94115
  endDateTime: payload.endDateTime,
@@ -96337,7 +96373,7 @@ var init_webhooksUpdate2 = __esm(() => {
96337
96373
  function createMCPServer(deps) {
96338
96374
  const server = new McpServer({
96339
96375
  name: "Moov",
96340
- version: "25.3.5"
96376
+ version: "25.3.6"
96341
96377
  });
96342
96378
  const client = new MoovCore({
96343
96379
  security: deps.security,
@@ -97895,7 +97931,7 @@ var routes = rn({
97895
97931
  var app = Ve(routes, {
97896
97932
  name: "mcp",
97897
97933
  versionInfo: {
97898
- currentVersion: "25.3.5"
97934
+ currentVersion: "25.3.6"
97899
97935
  }
97900
97936
  });
97901
97937
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -97903,5 +97939,5 @@ export {
97903
97939
  app
97904
97940
  };
97905
97941
 
97906
- //# debugId=697E3A4039B8298864756E2164756E21
97942
+ //# debugId=74C6DC1730DB634664756E2164756E21
97907
97943
  //# sourceMappingURL=mcp-server.js.map