@moovio/sdk 25.12.1 → 25.12.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.
- package/README.md +2 -2
- package/bin/mcp-server.js +18 -13
- package/bin/mcp-server.js.map +20 -20
- package/funcs/bankAccountsLink.d.ts +1 -1
- package/funcs/bankAccountsLink.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/http.d.ts +1 -1
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +1 -1
- package/lib/http.js.map +1 -1
- package/lib/security.d.ts +5 -4
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -7
- package/lib/security.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/bankAccountsLink.js +1 -1
- package/models/components/capabilityid.d.ts +1 -0
- package/models/components/capabilityid.d.ts.map +1 -1
- package/models/components/capabilityid.js +1 -0
- package/models/components/capabilityid.js.map +1 -1
- package/models/components/cardbrandfees.d.ts +5 -0
- package/models/components/cardbrandfees.d.ts.map +1 -1
- package/models/components/cardbrandfees.js +2 -0
- package/models/components/cardbrandfees.js.map +1 -1
- package/models/components/fullissuedcard.d.ts +1 -3
- package/models/components/fullissuedcard.d.ts.map +1 -1
- package/models/components/fullissuedcard.js.map +1 -1
- package/models/components/issuedcard.d.ts +1 -3
- package/models/components/issuedcard.d.ts.map +1 -1
- package/models/components/issuedcard.js.map +1 -1
- package/models/components/issuedcardstate.d.ts +2 -8
- package/models/components/issuedcardstate.d.ts.map +1 -1
- package/models/components/issuedcardstate.js +1 -5
- package/models/components/issuedcardstate.js.map +1 -1
- package/models/components/manualtermsofservice.d.ts +1 -1
- package/models/components/manualtermsofserviceupdate.d.ts +1 -1
- package/models/components/patchtransfer.d.ts +3 -0
- package/models/components/patchtransfer.d.ts.map +1 -1
- package/models/components/patchtransfer.js.map +1 -1
- package/models/components/termsofservice.d.ts +1 -1
- package/models/operations/linkbankaccount.d.ts +1 -1
- package/models/operations/listissuedcards.d.ts +1 -1
- package/package.json +1 -1
- package/sdk/bankaccounts.d.ts +1 -1
- package/sdk/bankaccounts.js +1 -1
- package/src/funcs/bankAccountsLink.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/bankAccountsLink.ts +1 -1
- package/src/models/components/capabilityid.ts +1 -0
- package/src/models/components/cardbrandfees.ts +7 -0
- package/src/models/components/fullissuedcard.ts +1 -3
- package/src/models/components/issuedcard.ts +1 -3
- package/src/models/components/issuedcardstate.ts +2 -8
- package/src/models/components/manualtermsofservice.ts +1 -1
- package/src/models/components/manualtermsofserviceupdate.ts +1 -1
- package/src/models/components/patchtransfer.ts +3 -0
- package/src/models/components/termsofservice.ts +1 -1
- package/src/models/operations/linkbankaccount.ts +1 -1
- package/src/models/operations/listissuedcards.ts +1 -1
- 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
|
|
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
|
|
|
@@ -1494,7 +1494,7 @@ you'll need to specify the `/accounts/{accountID}/bank-accounts.write` scope.
|
|
|
1494
1494
|
- [`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.
|
|
1495
1495
|
|
|
1496
1496
|
It is strongly recommended that callers include the `X-Wait-For` header, set to `payment-method`, if the newly linked
|
|
1497
|
-
bank
|
|
1497
|
+
bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
|
|
1498
1498
|
Methods](https://docs.moov.io/api/sources/payment-methods/list/)
|
|
1499
1499
|
endpoint to wait for the new payment methods to be available for use.
|
|
1500
1500
|
|
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.10.00",
|
|
52977
|
-
sdkVersion: "25.12.
|
|
52978
|
-
genVersion: "2.
|
|
52979
|
-
userAgent: "speakeasy-sdk/typescript 25.12.
|
|
52977
|
+
sdkVersion: "25.12.3",
|
|
52978
|
+
genVersion: "2.917.0",
|
|
52979
|
+
userAgent: "speakeasy-sdk/typescript 25.12.3 2.917.0 v2025.10.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(
|
|
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(
|
|
54628
|
+
return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
|
|
54625
54629
|
}
|
|
54626
54630
|
};
|
|
54627
54631
|
});
|
|
@@ -56047,6 +56051,7 @@ var init_capabilityid = __esm(() => {
|
|
|
56047
56051
|
Wallet: "wallet",
|
|
56048
56052
|
WalletBalance: "wallet.balance",
|
|
56049
56053
|
CardIssuing: "card-issuing",
|
|
56054
|
+
IssuingCardholder: "issuing.cardholder",
|
|
56050
56055
|
ProductionApp: "production-app",
|
|
56051
56056
|
PlatformProductionApp: "platform.production-app",
|
|
56052
56057
|
PlatformWalletTransfers: "platform.wallet-transfers"
|
|
@@ -60044,6 +60049,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
60044
60049
|
completedInternationalInPerson: BillingCountAndAmount$inboundSchema.optional(),
|
|
60045
60050
|
declines: BillingCountAndAmount$inboundSchema.optional(),
|
|
60046
60051
|
refunds: BillingCountAndAmount$inboundSchema.optional(),
|
|
60052
|
+
cardCancellations: BillingCountAndAmount$inboundSchema.optional(),
|
|
60047
60053
|
total: BillingCountAndAmount$inboundSchema
|
|
60048
60054
|
});
|
|
60049
60055
|
CardBrandFees$outboundSchema = objectType({
|
|
@@ -60056,6 +60062,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
60056
60062
|
completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
|
|
60057
60063
|
declines: BillingCountAndAmount$outboundSchema.optional(),
|
|
60058
60064
|
refunds: BillingCountAndAmount$outboundSchema.optional(),
|
|
60065
|
+
cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
|
|
60059
60066
|
total: BillingCountAndAmount$outboundSchema
|
|
60060
60067
|
});
|
|
60061
60068
|
});
|
|
@@ -63657,8 +63664,6 @@ var init_issuedcardstate = __esm(() => {
|
|
|
63657
63664
|
init_esm();
|
|
63658
63665
|
IssuedCardState = {
|
|
63659
63666
|
Active: "active",
|
|
63660
|
-
Inactive: "inactive",
|
|
63661
|
-
PendingVerification: "pending-verification",
|
|
63662
63667
|
Closed: "closed"
|
|
63663
63668
|
};
|
|
63664
63669
|
IssuedCardState$inboundSchema = nativeEnumType(IssuedCardState);
|
|
@@ -82285,7 +82290,7 @@ var init_bankAccountsLink2 = __esm(() => {
|
|
|
82285
82290
|
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.
|
|
82286
82291
|
|
|
82287
82292
|
It is strongly recommended that callers include the \`X-Wait-For\` header, set to \`payment-method\`, if the newly linked
|
|
82288
|
-
bank
|
|
82293
|
+
bank account is intended to be used right away. If this header is not included, the caller will need to poll the [List Payment
|
|
82289
82294
|
Methods](https://docs.moov.io/api/sources/payment-methods/list/)
|
|
82290
82295
|
endpoint to wait for the new payment methods to be available for use.
|
|
82291
82296
|
|
|
@@ -98577,7 +98582,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
98577
98582
|
function createMCPServer(deps) {
|
|
98578
98583
|
const server = new McpServer({
|
|
98579
98584
|
name: "Moov",
|
|
98580
|
-
version: "25.12.
|
|
98585
|
+
version: "25.12.3"
|
|
98581
98586
|
});
|
|
98582
98587
|
const client = new MoovCore({
|
|
98583
98588
|
security: deps.security,
|
|
@@ -100147,7 +100152,7 @@ var routes = rn({
|
|
|
100147
100152
|
var app = Ve(routes, {
|
|
100148
100153
|
name: "mcp",
|
|
100149
100154
|
versionInfo: {
|
|
100150
|
-
currentVersion: "25.12.
|
|
100155
|
+
currentVersion: "25.12.3"
|
|
100151
100156
|
}
|
|
100152
100157
|
});
|
|
100153
100158
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -100155,5 +100160,5 @@ export {
|
|
|
100155
100160
|
app
|
|
100156
100161
|
};
|
|
100157
100162
|
|
|
100158
|
-
//# debugId=
|
|
100163
|
+
//# debugId=47B92877430B559764756E2164756E21
|
|
100159
100164
|
//# sourceMappingURL=mcp-server.js.map
|