@moovio/sdk 25.6.2 → 25.6.4
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/bin/mcp-server.js +16 -10
- package/bin/mcp-server.js.map +11 -11
- 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/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/filedetails.d.ts +1 -1
- package/models/components/filepurpose.d.ts +2 -2
- package/models/components/filepurpose.js +1 -1
- package/models/components/onboardinginvite.d.ts +1 -1
- package/package.json +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/models/components/cardbrandfees.ts +7 -0
- package/src/models/components/filedetails.ts +1 -1
- package/src/models/components/filepurpose.ts +2 -2
- package/src/models/components/onboardinginvite.ts +1 -1
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.
|
|
52978
|
-
genVersion: "2.
|
|
52979
|
-
userAgent: "speakeasy-sdk/typescript 25.6.
|
|
52977
|
+
sdkVersion: "25.6.4",
|
|
52978
|
+
genVersion: "2.917.0",
|
|
52979
|
+
userAgent: "speakeasy-sdk/typescript 25.6.4 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(
|
|
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
|
});
|
|
@@ -59910,6 +59914,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
59910
59914
|
completedInternationalInPerson: BillingCountAndAmount$inboundSchema.optional(),
|
|
59911
59915
|
declines: BillingCountAndAmount$inboundSchema.optional(),
|
|
59912
59916
|
refunds: BillingCountAndAmount$inboundSchema.optional(),
|
|
59917
|
+
cardCancellations: BillingCountAndAmount$inboundSchema.optional(),
|
|
59913
59918
|
total: BillingCountAndAmount$inboundSchema
|
|
59914
59919
|
});
|
|
59915
59920
|
CardBrandFees$outboundSchema = objectType({
|
|
@@ -59922,6 +59927,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
59922
59927
|
completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
|
|
59923
59928
|
declines: BillingCountAndAmount$outboundSchema.optional(),
|
|
59924
59929
|
refunds: BillingCountAndAmount$outboundSchema.optional(),
|
|
59930
|
+
cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
|
|
59925
59931
|
total: BillingCountAndAmount$outboundSchema
|
|
59926
59932
|
});
|
|
59927
59933
|
});
|
|
@@ -96480,7 +96486,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96480
96486
|
function createMCPServer(deps) {
|
|
96481
96487
|
const server = new McpServer({
|
|
96482
96488
|
name: "Moov",
|
|
96483
|
-
version: "25.6.
|
|
96489
|
+
version: "25.6.4"
|
|
96484
96490
|
});
|
|
96485
96491
|
const client = new MoovCore({
|
|
96486
96492
|
security: deps.security,
|
|
@@ -98038,7 +98044,7 @@ var routes = rn({
|
|
|
98038
98044
|
var app = Ve(routes, {
|
|
98039
98045
|
name: "mcp",
|
|
98040
98046
|
versionInfo: {
|
|
98041
|
-
currentVersion: "25.6.
|
|
98047
|
+
currentVersion: "25.6.4"
|
|
98042
98048
|
}
|
|
98043
98049
|
});
|
|
98044
98050
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -98046,5 +98052,5 @@ export {
|
|
|
98046
98052
|
app
|
|
98047
98053
|
};
|
|
98048
98054
|
|
|
98049
|
-
//# debugId=
|
|
98055
|
+
//# debugId=E3D5D904377B112E64756E2164756E21
|
|
98050
98056
|
//# sourceMappingURL=mcp-server.js.map
|