@moovio/sdk 25.3.2 → 25.3.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.01.00",
|
|
52977
|
-
sdkVersion: "25.3.
|
|
52978
|
-
genVersion: "2.
|
|
52979
|
-
userAgent: "speakeasy-sdk/typescript 25.3.
|
|
52977
|
+
sdkVersion: "25.3.4",
|
|
52978
|
+
genVersion: "2.917.0",
|
|
52979
|
+
userAgent: "speakeasy-sdk/typescript 25.3.4 2.917.0 v2025.01.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
|
});
|
|
@@ -59909,6 +59913,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
59909
59913
|
completedInternationalInPerson: BillingCountAndAmount$inboundSchema.optional(),
|
|
59910
59914
|
declines: BillingCountAndAmount$inboundSchema.optional(),
|
|
59911
59915
|
refunds: BillingCountAndAmount$inboundSchema.optional(),
|
|
59916
|
+
cardCancellations: BillingCountAndAmount$inboundSchema.optional(),
|
|
59912
59917
|
total: BillingCountAndAmount$inboundSchema
|
|
59913
59918
|
});
|
|
59914
59919
|
CardBrandFees$outboundSchema = objectType({
|
|
@@ -59921,6 +59926,7 @@ var init_cardbrandfees = __esm(() => {
|
|
|
59921
59926
|
completedInternationalInPerson: BillingCountAndAmount$outboundSchema.optional(),
|
|
59922
59927
|
declines: BillingCountAndAmount$outboundSchema.optional(),
|
|
59923
59928
|
refunds: BillingCountAndAmount$outboundSchema.optional(),
|
|
59929
|
+
cardCancellations: BillingCountAndAmount$outboundSchema.optional(),
|
|
59924
59930
|
total: BillingCountAndAmount$outboundSchema
|
|
59925
59931
|
});
|
|
59926
59932
|
});
|
|
@@ -96331,7 +96337,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96331
96337
|
function createMCPServer(deps) {
|
|
96332
96338
|
const server = new McpServer({
|
|
96333
96339
|
name: "Moov",
|
|
96334
|
-
version: "25.3.
|
|
96340
|
+
version: "25.3.4"
|
|
96335
96341
|
});
|
|
96336
96342
|
const client = new MoovCore({
|
|
96337
96343
|
security: deps.security,
|
|
@@ -97889,7 +97895,7 @@ var routes = rn({
|
|
|
97889
97895
|
var app = Ve(routes, {
|
|
97890
97896
|
name: "mcp",
|
|
97891
97897
|
versionInfo: {
|
|
97892
|
-
currentVersion: "25.3.
|
|
97898
|
+
currentVersion: "25.3.4"
|
|
97893
97899
|
}
|
|
97894
97900
|
});
|
|
97895
97901
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -97897,5 +97903,5 @@ export {
|
|
|
97897
97903
|
app
|
|
97898
97904
|
};
|
|
97899
97905
|
|
|
97900
|
-
//# debugId=
|
|
97906
|
+
//# debugId=8C2ADB2DA86C29FF64756E2164756E21
|
|
97901
97907
|
//# sourceMappingURL=mcp-server.js.map
|