@moovio/sdk 25.6.1 → 25.6.3

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 (67) hide show
  1. package/README.md +2 -2
  2. package/bin/mcp-server.js +18 -13
  3. package/bin/mcp-server.js.map +20 -20
  4. package/funcs/bankAccountsLink.d.ts +1 -1
  5. package/funcs/bankAccountsLink.js +1 -1
  6. package/jsr.json +1 -1
  7. package/lib/config.d.ts +3 -3
  8. package/lib/config.js +3 -3
  9. package/lib/http.d.ts +1 -1
  10. package/lib/http.d.ts.map +1 -1
  11. package/lib/http.js +1 -1
  12. package/lib/http.js.map +1 -1
  13. package/lib/security.d.ts +5 -4
  14. package/lib/security.d.ts.map +1 -1
  15. package/lib/security.js +6 -7
  16. package/lib/security.js.map +1 -1
  17. package/mcp-server/mcp-server.js +1 -1
  18. package/mcp-server/server.js +1 -1
  19. package/mcp-server/tools/bankAccountsLink.js +1 -1
  20. package/models/components/capabilityid.d.ts +1 -0
  21. package/models/components/capabilityid.d.ts.map +1 -1
  22. package/models/components/capabilityid.js +1 -0
  23. package/models/components/capabilityid.js.map +1 -1
  24. package/models/components/cardbrandfees.d.ts +5 -0
  25. package/models/components/cardbrandfees.d.ts.map +1 -1
  26. package/models/components/cardbrandfees.js +2 -0
  27. package/models/components/cardbrandfees.js.map +1 -1
  28. package/models/components/fullissuedcard.d.ts +1 -3
  29. package/models/components/fullissuedcard.d.ts.map +1 -1
  30. package/models/components/fullissuedcard.js.map +1 -1
  31. package/models/components/issuedcard.d.ts +1 -3
  32. package/models/components/issuedcard.d.ts.map +1 -1
  33. package/models/components/issuedcard.js.map +1 -1
  34. package/models/components/issuedcardstate.d.ts +2 -8
  35. package/models/components/issuedcardstate.d.ts.map +1 -1
  36. package/models/components/issuedcardstate.js +1 -5
  37. package/models/components/issuedcardstate.js.map +1 -1
  38. package/models/components/manualtermsofservice.d.ts +1 -1
  39. package/models/components/manualtermsofserviceupdate.d.ts +1 -1
  40. package/models/components/patchtransfer.d.ts +3 -0
  41. package/models/components/patchtransfer.d.ts.map +1 -1
  42. package/models/components/patchtransfer.js.map +1 -1
  43. package/models/components/termsofservice.d.ts +1 -1
  44. package/models/operations/linkbankaccount.d.ts +1 -1
  45. package/models/operations/listissuedcards.d.ts +1 -1
  46. package/package.json +1 -1
  47. package/sdk/bankaccounts.d.ts +1 -1
  48. package/sdk/bankaccounts.js +1 -1
  49. package/src/funcs/bankAccountsLink.ts +1 -1
  50. package/src/lib/config.ts +3 -3
  51. package/src/lib/http.ts +3 -1
  52. package/src/lib/security.ts +10 -5
  53. package/src/mcp-server/mcp-server.ts +1 -1
  54. package/src/mcp-server/server.ts +1 -1
  55. package/src/mcp-server/tools/bankAccountsLink.ts +1 -1
  56. package/src/models/components/capabilityid.ts +1 -0
  57. package/src/models/components/cardbrandfees.ts +7 -0
  58. package/src/models/components/fullissuedcard.ts +1 -3
  59. package/src/models/components/issuedcard.ts +1 -3
  60. package/src/models/components/issuedcardstate.ts +2 -8
  61. package/src/models/components/manualtermsofservice.ts +1 -1
  62. package/src/models/components/manualtermsofserviceupdate.ts +1 -1
  63. package/src/models/components/patchtransfer.ts +3 -0
  64. package/src/models/components/termsofservice.ts +1 -1
  65. package/src/models/operations/linkbankaccount.ts +1 -1
  66. package/src/models/operations/listissuedcards.ts +1 -1
  67. package/src/sdk/bankaccounts.ts +1 -1
package/README.md CHANGED
@@ -433,7 +433,7 @@ you'll need to specify the `/profile-enrichment.read` scope.
433
433
  * [link](docs/sdks/bankaccounts/README.md#link) - Link a bank account to an existing Moov account. Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more.
434
434
 
435
435
  It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked
436
- bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
436
+ bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
437
437
  Methods](https://docs.moov.io/api/sources/payment-methods/list/)
438
438
  endpoint to wait for the new payment methods to be available for use.
439
439
 
@@ -1450,7 +1450,7 @@ you'll need to specify the `/accounts/{accountID}/bank-accounts.write` scope.
1450
1450
  - [`bankAccountsLink`](docs/sdks/bankaccounts/README.md#link) - Link a bank account to an existing Moov account. Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more.
1451
1451
 
1452
1452
  It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked
1453
- bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
1453
+ bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
1454
1454
  Methods](https://docs.moov.io/api/sources/payment-methods/list/)
1455
1455
  endpoint to wait for the new payment methods to be available for use.
1456
1456
 
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.04.00",
52977
- sdkVersion: "25.6.1",
52978
- genVersion: "2.910.1",
52979
- userAgent: "speakeasy-sdk/typescript 25.6.1 2.910.1 v2025.04.00 @moovio/sdk"
52977
+ sdkVersion: "25.6.3",
52978
+ genVersion: "2.917.0",
52979
+ userAgent: "speakeasy-sdk/typescript 25.6.3 2.917.0 v2025.04.00 @moovio/sdk"
52980
52980
  };
52981
52981
  });
52982
52982
 
@@ -53398,11 +53398,11 @@ var init_encodings = __esm(() => {
53398
53398
 
53399
53399
  // src/lib/http.ts
53400
53400
  class HTTPClient {
53401
- options;
53402
53401
  fetcher;
53403
53402
  requestHooks = [];
53404
53403
  requestErrorHooks = [];
53405
53404
  responseHooks = [];
53405
+ options;
53406
53406
  constructor(options = {}) {
53407
53407
  this.options = options;
53408
53408
  this.fetcher = options.fetcher || DEFAULT_FETCHER;
@@ -54608,8 +54608,12 @@ async function extractSecurity(sec) {
54608
54608
  }
54609
54609
  return typeof sec === "function" ? sec() : sec;
54610
54610
  }
54611
- var SecurityError;
54611
+ var SecurityErrorCode, SecurityError;
54612
54612
  var init_security = __esm(() => {
54613
+ SecurityErrorCode = {
54614
+ Incomplete: "incomplete",
54615
+ UnrecognisedSecurityType: "unrecognized_security_type"
54616
+ };
54613
54617
  SecurityError = class SecurityError extends Error {
54614
54618
  code;
54615
54619
  constructor(code, message) {
@@ -54618,10 +54622,10 @@ var init_security = __esm(() => {
54618
54622
  this.name = "SecurityError";
54619
54623
  }
54620
54624
  static incomplete() {
54621
- return new SecurityError("incomplete" /* Incomplete */, "Security requirements not met in order to perform the operation");
54625
+ return new SecurityError(SecurityErrorCode.Incomplete, "Security requirements not met in order to perform the operation");
54622
54626
  }
54623
54627
  static unrecognizedType(type) {
54624
- return new SecurityError("unrecognized_security_type" /* UnrecognisedSecurityType */, `Unrecognised security type: ${type}`);
54628
+ return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
54625
54629
  }
54626
54630
  };
54627
54631
  });
@@ -56016,6 +56020,7 @@ var init_capabilityid = __esm(() => {
56016
56020
  CollectFunds: "collect-funds",
56017
56021
  Wallet: "wallet",
56018
56022
  CardIssuing: "card-issuing",
56023
+ IssuingCardholder: "issuing.cardholder",
56019
56024
  ProductionApp: "production-app"
56020
56025
  };
56021
56026
  CapabilityID$inboundSchema = nativeEnumType(CapabilityID);
@@ -59909,6 +59914,7 @@ var init_cardbrandfees = __esm(() => {
59909
59914
  completedInternationalInPerson: BillingCountAndAmount$inboundSchema.optional(),
59910
59915
  declines: BillingCountAndAmount$inboundSchema.optional(),
59911
59916
  refunds: BillingCountAndAmount$inboundSchema.optional(),
59917
+ cardCancellations: BillingCountAndAmount$inboundSchema.optional(),
59912
59918
  total: BillingCountAndAmount$inboundSchema
59913
59919
  });
59914
59920
  CardBrandFees$outboundSchema = objectType({
@@ -59921,6 +59927,7 @@ var init_cardbrandfees = __esm(() => {
59921
59927
  completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
59922
59928
  declines: BillingCountAndAmount$outboundSchema.optional(),
59923
59929
  refunds: BillingCountAndAmount$outboundSchema.optional(),
59930
+ cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
59924
59931
  total: BillingCountAndAmount$outboundSchema
59925
59932
  });
59926
59933
  });
@@ -63217,8 +63224,6 @@ var init_issuedcardstate = __esm(() => {
63217
63224
  init_esm();
63218
63225
  IssuedCardState = {
63219
63226
  Active: "active",
63220
- Inactive: "inactive",
63221
- PendingVerification: "pending-verification",
63222
63227
  Closed: "closed"
63223
63228
  };
63224
63229
  IssuedCardState$inboundSchema = nativeEnumType(IssuedCardState);
@@ -80901,7 +80906,7 @@ var init_bankAccountsLink2 = __esm(() => {
80901
80906
  description: `Link a bank account to an existing Moov account. Read our [bank accounts guide](https://docs.moov.io/guides/sources/bank-accounts/) to learn more.
80902
80907
 
80903
80908
  It is strongly recommended that callers include the \`X-Wait-For\` header, set to \`payment-method\`, if the newly linked
80904
- bank-account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
80909
+ bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
80905
80910
  Methods](https://docs.moov.io/api/sources/payment-methods/list/)
80906
80911
  endpoint to wait for the new payment methods to be available for use.
80907
80912
 
@@ -96481,7 +96486,7 @@ var init_webhooksUpdate2 = __esm(() => {
96481
96486
  function createMCPServer(deps) {
96482
96487
  const server = new McpServer({
96483
96488
  name: "Moov",
96484
- version: "25.6.1"
96489
+ version: "25.6.3"
96485
96490
  });
96486
96491
  const client = new MoovCore({
96487
96492
  security: deps.security,
@@ -98039,7 +98044,7 @@ var routes = rn({
98039
98044
  var app = Ve(routes, {
98040
98045
  name: "mcp",
98041
98046
  versionInfo: {
98042
- currentVersion: "25.6.1"
98047
+ currentVersion: "25.6.3"
98043
98048
  }
98044
98049
  });
98045
98050
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -98047,5 +98052,5 @@ export {
98047
98052
  app
98048
98053
  };
98049
98054
 
98050
- //# debugId=3EFC1C4F31FA920C64756E2164756E21
98055
+ //# debugId=94F9239064893BFE64756E2164756E21
98051
98056
  //# sourceMappingURL=mcp-server.js.map