@moovio/sdk 26.7.0-dev.5 → 26.7.0-dev.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.
- package/bin/mcp-server.js +16 -10
- package/bin/mcp-server.js.map +8 -8
- 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/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/bin/mcp-server.js
CHANGED
|
@@ -53651,9 +53651,9 @@ var init_config = __esm(() => {
|
|
|
53651
53651
|
SDK_METADATA = {
|
|
53652
53652
|
language: "typescript",
|
|
53653
53653
|
openapiDocVersion: "v2026.07.00",
|
|
53654
|
-
sdkVersion: "26.7.0-dev.
|
|
53655
|
-
genVersion: "2.
|
|
53656
|
-
userAgent: "speakeasy-sdk/typescript 26.7.0-dev.
|
|
53654
|
+
sdkVersion: "26.7.0-dev.6",
|
|
53655
|
+
genVersion: "2.917.0",
|
|
53656
|
+
userAgent: "speakeasy-sdk/typescript 26.7.0-dev.6 2.917.0 v2026.07.00 @moovio/sdk"
|
|
53657
53657
|
};
|
|
53658
53658
|
});
|
|
53659
53659
|
|
|
@@ -54075,11 +54075,11 @@ var init_encodings = __esm(() => {
|
|
|
54075
54075
|
|
|
54076
54076
|
// src/lib/http.ts
|
|
54077
54077
|
class HTTPClient {
|
|
54078
|
-
options;
|
|
54079
54078
|
fetcher;
|
|
54080
54079
|
requestHooks = [];
|
|
54081
54080
|
requestErrorHooks = [];
|
|
54082
54081
|
responseHooks = [];
|
|
54082
|
+
options;
|
|
54083
54083
|
constructor(options = {}) {
|
|
54084
54084
|
this.options = options;
|
|
54085
54085
|
this.fetcher = options.fetcher || DEFAULT_FETCHER;
|
|
@@ -55285,8 +55285,12 @@ async function extractSecurity(sec) {
|
|
|
55285
55285
|
}
|
|
55286
55286
|
return typeof sec === "function" ? sec() : sec;
|
|
55287
55287
|
}
|
|
55288
|
-
var SecurityError;
|
|
55288
|
+
var SecurityErrorCode, SecurityError;
|
|
55289
55289
|
var init_security = __esm(() => {
|
|
55290
|
+
SecurityErrorCode = {
|
|
55291
|
+
Incomplete: "incomplete",
|
|
55292
|
+
UnrecognisedSecurityType: "unrecognized_security_type"
|
|
55293
|
+
};
|
|
55290
55294
|
SecurityError = class SecurityError extends Error {
|
|
55291
55295
|
code;
|
|
55292
55296
|
constructor(code, message) {
|
|
@@ -55295,10 +55299,10 @@ var init_security = __esm(() => {
|
|
|
55295
55299
|
this.name = "SecurityError";
|
|
55296
55300
|
}
|
|
55297
55301
|
static incomplete() {
|
|
55298
|
-
return new SecurityError(
|
|
55302
|
+
return new SecurityError(SecurityErrorCode.Incomplete, "Security requirements not met in order to perform the operation");
|
|
55299
55303
|
}
|
|
55300
55304
|
static unrecognizedType(type) {
|
|
55301
|
-
return new SecurityError(
|
|
55305
|
+
return new SecurityError(SecurityErrorCode.UnrecognisedSecurityType, `Unrecognised security type: ${type}`);
|
|
55302
55306
|
}
|
|
55303
55307
|
};
|
|
55304
55308
|
});
|
|
@@ -61098,6 +61102,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
61098
61102
|
completedInternationalInPerson: optional3(BillingCountAndAmount$inboundSchema),
|
|
61099
61103
|
declines: optional3(BillingCountAndAmount$inboundSchema),
|
|
61100
61104
|
refunds: optional3(BillingCountAndAmount$inboundSchema),
|
|
61105
|
+
cardCancellations: optional3(BillingCountAndAmount$inboundSchema),
|
|
61101
61106
|
total: BillingCountAndAmount$inboundSchema
|
|
61102
61107
|
});
|
|
61103
61108
|
CardBrandFees$outboundSchema = objectType({
|
|
@@ -61110,6 +61115,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
61110
61115
|
completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
|
|
61111
61116
|
declines: BillingCountAndAmount$outboundSchema.optional(),
|
|
61112
61117
|
refunds: BillingCountAndAmount$outboundSchema.optional(),
|
|
61118
|
+
cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
|
|
61113
61119
|
total: BillingCountAndAmount$outboundSchema
|
|
61114
61120
|
});
|
|
61115
61121
|
});
|
|
@@ -105132,7 +105138,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
105132
105138
|
function createMCPServer(deps) {
|
|
105133
105139
|
const server = new McpServer({
|
|
105134
105140
|
name: "Moov",
|
|
105135
|
-
version: "26.7.0-dev.
|
|
105141
|
+
version: "26.7.0-dev.6"
|
|
105136
105142
|
});
|
|
105137
105143
|
const client = new MoovCore({
|
|
105138
105144
|
security: deps.security,
|
|
@@ -106736,7 +106742,7 @@ var routes = rn({
|
|
|
106736
106742
|
var app = Ve(routes, {
|
|
106737
106743
|
name: "mcp",
|
|
106738
106744
|
versionInfo: {
|
|
106739
|
-
currentVersion: "26.7.0-dev.
|
|
106745
|
+
currentVersion: "26.7.0-dev.6"
|
|
106740
106746
|
}
|
|
106741
106747
|
});
|
|
106742
106748
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -106744,5 +106750,5 @@ export {
|
|
|
106744
106750
|
app
|
|
106745
106751
|
};
|
|
106746
106752
|
|
|
106747
|
-
//# debugId=
|
|
106753
|
+
//# debugId=610D20B7CEBCA49964756E2164756E21
|
|
106748
106754
|
//# sourceMappingURL=mcp-server.js.map
|