@moovio/sdk 26.5.6 → 26.5.7

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)
@@ -834,7 +834,7 @@ you'll need to specify the `/institutions.read` scope.
834
834
 
835
835
  Search for institutions by either their name or routing number.
836
836
 
837
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
837
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
838
838
  you'll need to specify the `/fed.read` scope. :warning: **Deprecated**
839
839
 
840
840
  ### [Invoices](docs/sdks/invoices/README.md)
@@ -1493,7 +1493,7 @@ you'll need to specify the `/accounts/{accountID}/apple-pay.write` scope.
1493
1493
  Allows clients to notify the authorization server that a previously obtained refresh or access token is no longer needed.
1494
1494
  - [`avatarsGet`](docs/sdks/avatars/README.md#get) - Get avatar image for an account using a unique ID.
1495
1495
 
1496
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1496
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1497
1497
  you'll need to specify the `/profile-enrichment.read` scope.
1498
1498
  - [`bankAccountsCompleteMicroDeposits`](docs/sdks/bankaccounts/README.md#completemicrodeposits) - Complete the micro-deposit validation process by passing the amounts of the two transfers within three tries.
1499
1499
 
@@ -1757,11 +1757,11 @@ To access this endpoint using an [access token](https://docs.moov.io/api/authent
1757
1757
  you'll need to specify the `/ping.read` scope.
1758
1758
  - [`enrichedAddressGet`](docs/sdks/enrichedaddress/README.md#get) - Fetch enriched address suggestions. Requires a partial address.
1759
1759
 
1760
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1760
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1761
1761
  you'll need to specify the `/profile-enrichment.read` scope.
1762
1762
  - [`enrichedProfileGet`](docs/sdks/enrichedprofile/README.md#get) - Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit.
1763
1763
 
1764
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1764
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
1765
1765
  you'll need to specify the `/profile-enrichment.read` scope.
1766
1766
  - [`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.
1767
1767
 
@@ -2296,7 +2296,7 @@ you'll need to specify the `/accounts/{accountID}/wallets.read` scope.
2296
2296
 
2297
2297
  Search for institutions by either their name or routing number.
2298
2298
 
2299
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
2299
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
2300
2300
  you'll need to specify the `/fed.read` scope. :warning: **Deprecated**
2301
2301
 
2302
2302
  </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: "v2026.04.00",
52977
- sdkVersion: "26.5.6",
52977
+ sdkVersion: "26.5.7",
52978
52978
  genVersion: "2.924.0",
52979
- userAgent: "speakeasy-sdk/typescript 26.5.6 2.924.0 v2026.04.00 @moovio/sdk"
52979
+ userAgent: "speakeasy-sdk/typescript 26.5.7 2.924.0 v2026.04.00 @moovio/sdk"
52980
52980
  };
52981
52981
  });
52982
52982
 
@@ -61366,6 +61366,20 @@ var init_transferamountdetails = __esm(() => {
61366
61366
  });
61367
61367
  });
61368
61368
 
61369
+ // src/models/components/transfercapture.ts
61370
+ var TransferCapture$inboundSchema, TransferCapture$outboundSchema;
61371
+ var init_transfercapture = __esm(() => {
61372
+ init_esm();
61373
+ TransferCapture$inboundSchema = objectType({
61374
+ authorizationID: stringType(),
61375
+ captureID: stringType()
61376
+ });
61377
+ TransferCapture$outboundSchema = objectType({
61378
+ authorizationID: stringType(),
61379
+ captureID: stringType()
61380
+ });
61381
+ });
61382
+
61369
61383
  // src/models/components/googlepayresponse.ts
61370
61384
  var AuthMethod, AuthMethod$inboundSchema, AuthMethod$outboundSchema, GooglePayResponse$inboundSchema, GooglePayResponse$outboundSchema;
61371
61385
  var init_googlepayresponse = __esm(() => {
@@ -61563,7 +61577,8 @@ var init_wallettype = __esm(() => {
61563
61577
  init_esm();
61564
61578
  WalletType = {
61565
61579
  Default: "default",
61566
- General: "general"
61580
+ General: "general",
61581
+ CardIssuing: "card-issuing"
61567
61582
  };
61568
61583
  WalletType$inboundSchema = nativeEnumType(WalletType);
61569
61584
  WalletType$outboundSchema = WalletType$inboundSchema;
@@ -61823,6 +61838,7 @@ var init_createdtransfer = __esm(() => {
61823
61838
  init_facilitatorfee();
61824
61839
  init_moovfeedetails();
61825
61840
  init_transferamountdetails();
61841
+ init_transfercapture();
61826
61842
  init_transferdestination();
61827
61843
  init_transferfailurereason();
61828
61844
  init_transferlineitems();
@@ -61856,7 +61872,8 @@ var init_createdtransfer = __esm(() => {
61856
61872
  salesTaxAmount: Amount$inboundSchema.optional(),
61857
61873
  foreignID: stringType().optional(),
61858
61874
  lineItems: TransferLineItems$inboundSchema.optional(),
61859
- amountDetails: TransferAmountDetails$inboundSchema.optional()
61875
+ amountDetails: TransferAmountDetails$inboundSchema.optional(),
61876
+ capture: TransferCapture$inboundSchema.optional()
61860
61877
  });
61861
61878
  CreatedTransfer$outboundSchema = objectType({
61862
61879
  transferID: stringType(),
@@ -61886,7 +61903,8 @@ var init_createdtransfer = __esm(() => {
61886
61903
  salesTaxAmount: Amount$outboundSchema.optional(),
61887
61904
  foreignID: stringType().optional(),
61888
61905
  lineItems: TransferLineItems$outboundSchema.optional(),
61889
- amountDetails: TransferAmountDetails$outboundSchema.optional()
61906
+ amountDetails: TransferAmountDetails$outboundSchema.optional(),
61907
+ capture: TransferCapture$outboundSchema.optional()
61890
61908
  });
61891
61909
  });
61892
61910
 
@@ -68167,6 +68185,7 @@ var init_transfer = __esm(() => {
68167
68185
  init_moovfee();
68168
68186
  init_moovfeedetails();
68169
68187
  init_transferamountdetails();
68188
+ init_transfercapture();
68170
68189
  init_transferdestination();
68171
68190
  init_transferfailurereason();
68172
68191
  init_transferlineitems();
@@ -68202,7 +68221,8 @@ var init_transfer = __esm(() => {
68202
68221
  foreignID: stringType().optional(),
68203
68222
  lineItems: TransferLineItems$inboundSchema.optional(),
68204
68223
  invoiceID: stringType().optional(),
68205
- amountDetails: TransferAmountDetails$inboundSchema.optional()
68224
+ amountDetails: TransferAmountDetails$inboundSchema.optional(),
68225
+ capture: TransferCapture$inboundSchema.optional()
68206
68226
  });
68207
68227
  Transfer$outboundSchema = objectType({
68208
68228
  transferID: stringType(),
@@ -68234,7 +68254,8 @@ var init_transfer = __esm(() => {
68234
68254
  foreignID: stringType().optional(),
68235
68255
  lineItems: TransferLineItems$outboundSchema.optional(),
68236
68256
  invoiceID: stringType().optional(),
68237
- amountDetails: TransferAmountDetails$outboundSchema.optional()
68257
+ amountDetails: TransferAmountDetails$outboundSchema.optional(),
68258
+ capture: TransferCapture$outboundSchema.optional()
68238
68259
  });
68239
68260
  });
68240
68261
 
@@ -69620,8 +69641,11 @@ var init_webhookdatatransferstatus = __esm(() => {
69620
69641
  DestinationReturned: "destination.returned",
69621
69642
  DestinationOriginated: "destination.originated",
69622
69643
  DestinationConfirmed: "destination.confirmed",
69644
+ DestinationSettled: "destination.settled",
69623
69645
  DestinationFailed: "destination.failed",
69624
- DestinationAcceptedWithoutPosting: "destination.accepted-without-posting"
69646
+ DestinationCanceled: "destination.canceled",
69647
+ DestinationAcceptedWithoutPosting: "destination.accepted-without-posting",
69648
+ DestinationDeferred: "destination.deferred"
69625
69649
  };
69626
69650
  WebhookDataTransferStatus$inboundSchema = nativeEnumType(WebhookDataTransferStatus);
69627
69651
  WebhookDataTransferStatus$outboundSchema = WebhookDataTransferStatus$inboundSchema;
@@ -70409,6 +70433,7 @@ var init_components = __esm(() => {
70409
70433
  init_transferaccount();
70410
70434
  init_transferachaddendarecord();
70411
70435
  init_transferamountdetails();
70436
+ init_transfercapture();
70412
70437
  init_transferconfig();
70413
70438
  init_transfercontrols();
70414
70439
  init_transferdestination();
@@ -72644,6 +72669,7 @@ var init_transfer2 = __esm(() => {
72644
72669
  lineItems;
72645
72670
  invoiceID;
72646
72671
  amountDetails;
72672
+ capture;
72647
72673
  data$;
72648
72674
  constructor(err, httpMeta) {
72649
72675
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -72703,6 +72729,8 @@ var init_transfer2 = __esm(() => {
72703
72729
  this.invoiceID = err.invoiceID;
72704
72730
  if (err.amountDetails != null)
72705
72731
  this.amountDetails = err.amountDetails;
72732
+ if (err.capture != null)
72733
+ this.capture = err.capture;
72706
72734
  this.name = "Transfer";
72707
72735
  }
72708
72736
  };
@@ -72737,6 +72765,7 @@ var init_transfer2 = __esm(() => {
72737
72765
  lineItems: TransferLineItems$inboundSchema.optional(),
72738
72766
  invoiceID: stringType().optional(),
72739
72767
  amountDetails: TransferAmountDetails$inboundSchema.optional(),
72768
+ capture: TransferCapture$inboundSchema.optional(),
72740
72769
  request$: instanceOfType(Request),
72741
72770
  response$: instanceOfType(Response),
72742
72771
  body$: stringType()
@@ -72777,7 +72806,8 @@ var init_transfer2 = __esm(() => {
72777
72806
  foreignID: stringType().optional(),
72778
72807
  lineItems: TransferLineItems$outboundSchema.optional(),
72779
72808
  invoiceID: stringType().optional(),
72780
- amountDetails: TransferAmountDetails$outboundSchema.optional()
72809
+ amountDetails: TransferAmountDetails$outboundSchema.optional(),
72810
+ capture: TransferCapture$outboundSchema.optional()
72781
72811
  }));
72782
72812
  });
72783
72813
 
@@ -78986,6 +79016,8 @@ var init_listtransfers = __esm(() => {
78986
79016
  refunded: booleanType().optional(),
78987
79017
  disputed: booleanType().optional(),
78988
79018
  foreignID: stringType().optional(),
79019
+ authorizationIDs: arrayType(stringType()).optional(),
79020
+ captureIDs: arrayType(stringType()).optional(),
78989
79021
  skip: numberType().int().optional(),
78990
79022
  count: numberType().int().optional(),
78991
79023
  accountID: stringType()
@@ -79001,6 +79033,8 @@ var init_listtransfers = __esm(() => {
79001
79033
  refunded: booleanType().optional(),
79002
79034
  disputed: booleanType().optional(),
79003
79035
  foreignID: stringType().optional(),
79036
+ authorizationIDs: arrayType(stringType()).optional(),
79037
+ captureIDs: arrayType(stringType()).optional(),
79004
79038
  skip: numberType().int().optional(),
79005
79039
  count: numberType().int().optional(),
79006
79040
  accountID: stringType()
@@ -83637,7 +83671,7 @@ var init_avatarsGet2 = __esm(() => {
83637
83671
  name: "avatars-get",
83638
83672
  description: `Get avatar image for an account using a unique ID.
83639
83673
 
83640
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
83674
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
83641
83675
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
83642
83676
  args: args25,
83643
83677
  tool: async (client, args26, ctx) => {
@@ -88442,7 +88476,7 @@ var init_enrichedAddressGet2 = __esm(() => {
88442
88476
  name: "enriched-address-get",
88443
88477
  description: `Fetch enriched address suggestions. Requires a partial address.
88444
88478
 
88445
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
88479
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
88446
88480
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
88447
88481
  args: args64,
88448
88482
  tool: async (client, args65, ctx) => {
@@ -88551,7 +88585,7 @@ var init_enrichedProfileGet2 = __esm(() => {
88551
88585
  name: "enriched-profile-get",
88552
88586
  description: `Fetch enriched profile data. Requires a valid email address. This service is offered in collaboration with Clearbit.
88553
88587
 
88554
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
88588
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
88555
88589
  you'll need to specify the \`/profile-enrichment.read\` scope.`,
88556
88590
  args: args65,
88557
88591
  tool: async (client, args66, ctx) => {
@@ -91261,7 +91295,7 @@ var init_institutionsSearch2 = __esm(() => {
91261
91295
 
91262
91296
  Search for institutions by either their name or routing number.
91263
91297
 
91264
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
91298
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
91265
91299
  you'll need to specify the \`/fed.read\` scope.`,
91266
91300
  args: args87,
91267
91301
  tool: async (client, args88, ctx) => {
@@ -100252,6 +100286,8 @@ async function $do168(client, request, options) {
100252
100286
  const path = pathToFunc("/accounts/{accountID}/transfers")(pathParams);
100253
100287
  const query = encodeFormQuery({
100254
100288
  accountIDs: payload.accountIDs,
100289
+ authorizationIDs: payload.authorizationIDs,
100290
+ captureIDs: payload.captureIDs,
100255
100291
  count: payload.count,
100256
100292
  disputed: payload.disputed,
100257
100293
  endDateTime: payload.endDateTime,
@@ -102634,7 +102670,7 @@ var init_webhooksUpdate2 = __esm(() => {
102634
102670
  function createMCPServer(deps) {
102635
102671
  const server = new McpServer({
102636
102672
  name: "Moov",
102637
- version: "26.5.6"
102673
+ version: "26.5.7"
102638
102674
  });
102639
102675
  const client = new MoovCore({
102640
102676
  security: deps.security,
@@ -104234,7 +104270,7 @@ var routes = rn({
104234
104270
  var app = Ve(routes, {
104235
104271
  name: "mcp",
104236
104272
  versionInfo: {
104237
- currentVersion: "26.5.6"
104273
+ currentVersion: "26.5.7"
104238
104274
  }
104239
104275
  });
104240
104276
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -104242,5 +104278,5 @@ export {
104242
104278
  app
104243
104279
  };
104244
104280
 
104245
- //# debugId=79B2974EE652F53464756E2164756E21
104281
+ //# debugId=06BBA4AAFA31197E64756E2164756E21
104246
104282
  //# sourceMappingURL=mcp-server.js.map