@moovio/sdk 25.10.10 → 25.10.11
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 +51 -39
- package/bin/mcp-server.js.map +16 -17
- package/funcs/disputesUploadEvidenceFile.js +6 -0
- package/funcs/disputesUploadEvidenceFile.js.map +1 -1
- package/funcs/filesUpload.js +6 -0
- package/funcs/filesUpload.js.map +1 -1
- package/funcs/imagesUpdate.js +7 -0
- package/funcs/imagesUpdate.js.map +1 -1
- package/funcs/imagesUpload.js +7 -0
- package/funcs/imagesUpload.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/matchers.d.ts.map +1 -1
- package/lib/matchers.js +0 -1
- package/lib/matchers.js.map +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +1 -2
- 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/shared.js +1 -1
- package/mcp-server/shared.js.map +1 -1
- package/models/components/createpaymentlinklineitem.d.ts +2 -1
- package/models/components/createpaymentlinklineitem.d.ts.map +1 -1
- package/models/components/createpaymentlinklineitem.js.map +1 -1
- package/models/components/index.d.ts +0 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +0 -1
- package/models/components/index.js.map +1 -1
- package/models/components/transferdestination.d.ts +44 -4
- package/models/components/transferdestination.d.ts.map +1 -1
- package/models/components/transferdestination.js +36 -4
- package/models/components/transferdestination.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/disputesUploadEvidenceFile.ts +15 -0
- package/src/funcs/filesUpload.ts +15 -0
- package/src/funcs/imagesUpdate.ts +16 -0
- package/src/funcs/imagesUpload.ts +16 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/matchers.ts +3 -2
- package/src/lib/security.ts +1 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/shared.ts +2 -2
- package/src/models/components/createpaymentlinklineitem.ts +2 -1
- package/src/models/components/index.ts +0 -1
- package/src/models/components/transferdestination.ts +96 -10
- package/_speakeasy/.github/action-inputs-config.json +0 -53
- package/_speakeasy/.github/action-security-config.json +0 -88
- package/examples/package-lock.json +0 -620
- package/examples/package.json +0 -18
- package/models/components/rtptransactiondetails.d.ts +0 -43
- package/models/components/rtptransactiondetails.d.ts.map +0 -1
- package/models/components/rtptransactiondetails.js +0 -75
- package/models/components/rtptransactiondetails.js.map +0 -1
- package/renovate.json +0 -30
- package/src/models/components/rtptransactiondetails.ts +0 -102
- package/test/package.json +0 -27
- package/test/tsconfig.json +0 -30
- package/tsconfig.json +0 -40
package/bin/mcp-server.js
CHANGED
|
@@ -52879,9 +52879,9 @@ var init_config = __esm(() => {
|
|
|
52879
52879
|
SDK_METADATA = {
|
|
52880
52880
|
language: "typescript",
|
|
52881
52881
|
openapiDocVersion: "v2025.10.00",
|
|
52882
|
-
sdkVersion: "25.10.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 25.10.
|
|
52882
|
+
sdkVersion: "25.10.11",
|
|
52883
|
+
genVersion: "2.856.1",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 25.10.11 2.856.1 v2025.10.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -53866,7 +53866,7 @@ async function consumeStream(stream) {
|
|
|
53866
53866
|
while (true) {
|
|
53867
53867
|
const { done, value } = await reader.read();
|
|
53868
53868
|
if (value != null)
|
|
53869
|
-
chunks.push(value);
|
|
53869
|
+
chunks.push(new Uint8Array(value).buffer);
|
|
53870
53870
|
if (done)
|
|
53871
53871
|
break;
|
|
53872
53872
|
}
|
|
@@ -54413,7 +54413,7 @@ function resolveSecurity(...options) {
|
|
|
54413
54413
|
applyBearer(state, spec);
|
|
54414
54414
|
break;
|
|
54415
54415
|
default:
|
|
54416
|
-
throw SecurityError.unrecognizedType(type);
|
|
54416
|
+
throw SecurityError.unrecognizedType((spec, type));
|
|
54417
54417
|
}
|
|
54418
54418
|
});
|
|
54419
54419
|
return state;
|
|
@@ -61237,32 +61237,6 @@ var init_rtptransactionstatus = __esm(() => {
|
|
|
61237
61237
|
RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
|
|
61238
61238
|
});
|
|
61239
61239
|
|
|
61240
|
-
// src/models/components/rtptransactiondetails.ts
|
|
61241
|
-
var RTPTransactionDetails$inboundSchema, RTPTransactionDetails$outboundSchema;
|
|
61242
|
-
var init_rtptransactiondetails = __esm(() => {
|
|
61243
|
-
init_esm();
|
|
61244
|
-
init_rtpfailurecode();
|
|
61245
|
-
init_rtptransactionstatus();
|
|
61246
|
-
RTPTransactionDetails$inboundSchema = objectType({
|
|
61247
|
-
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
61248
|
-
networkResponseCode: stringType().optional(),
|
|
61249
|
-
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
61250
|
-
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61251
|
-
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61252
|
-
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61253
|
-
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61254
|
-
});
|
|
61255
|
-
RTPTransactionDetails$outboundSchema = objectType({
|
|
61256
|
-
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
61257
|
-
networkResponseCode: stringType().optional(),
|
|
61258
|
-
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
61259
|
-
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61260
|
-
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61261
|
-
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61262
|
-
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61263
|
-
});
|
|
61264
|
-
});
|
|
61265
|
-
|
|
61266
61240
|
// src/models/components/transferaccount.ts
|
|
61267
61241
|
var TransferAccount$inboundSchema, TransferAccount$outboundSchema;
|
|
61268
61242
|
var init_transferaccount = __esm(() => {
|
|
@@ -61330,18 +61304,37 @@ var init_transferpaymentmethodtype = __esm(() => {
|
|
|
61330
61304
|
});
|
|
61331
61305
|
|
|
61332
61306
|
// src/models/components/transferdestination.ts
|
|
61333
|
-
var TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
61307
|
+
var RtpDetails$inboundSchema, RtpDetails$outboundSchema, TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
61334
61308
|
var init_transferdestination = __esm(() => {
|
|
61335
61309
|
init_esm();
|
|
61336
61310
|
init_achtransactiondetails();
|
|
61337
61311
|
init_applepayresponse();
|
|
61338
61312
|
init_cardtransactiondetails();
|
|
61339
|
-
|
|
61313
|
+
init_rtpfailurecode();
|
|
61314
|
+
init_rtptransactionstatus();
|
|
61340
61315
|
init_transferaccount();
|
|
61341
61316
|
init_transferpaymentmethodsbankaccount();
|
|
61342
61317
|
init_transferpaymentmethodscard();
|
|
61343
61318
|
init_transferpaymentmethodswallet();
|
|
61344
61319
|
init_transferpaymentmethodtype();
|
|
61320
|
+
RtpDetails$inboundSchema = objectType({
|
|
61321
|
+
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
61322
|
+
networkResponseCode: stringType().optional(),
|
|
61323
|
+
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
61324
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61325
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61326
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
61327
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
61328
|
+
});
|
|
61329
|
+
RtpDetails$outboundSchema = objectType({
|
|
61330
|
+
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
61331
|
+
networkResponseCode: stringType().optional(),
|
|
61332
|
+
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
61333
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61334
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61335
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
61336
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
61337
|
+
});
|
|
61345
61338
|
TransferDestination$inboundSchema = objectType({
|
|
61346
61339
|
paymentMethodID: stringType(),
|
|
61347
61340
|
paymentMethodType: TransferPaymentMethodType$inboundSchema,
|
|
@@ -61352,7 +61345,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61352
61345
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
61353
61346
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
61354
61347
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
61355
|
-
rtpDetails:
|
|
61348
|
+
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional()
|
|
61356
61349
|
});
|
|
61357
61350
|
TransferDestination$outboundSchema = objectType({
|
|
61358
61351
|
paymentMethodID: stringType(),
|
|
@@ -61364,7 +61357,7 @@ var init_transferdestination = __esm(() => {
|
|
|
61364
61357
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
61365
61358
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
61366
61359
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
61367
|
-
rtpDetails:
|
|
61360
|
+
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional()
|
|
61368
61361
|
});
|
|
61369
61362
|
});
|
|
61370
61363
|
|
|
@@ -68748,7 +68741,6 @@ var init_components = __esm(() => {
|
|
|
68748
68741
|
init_rtpinstitution();
|
|
68749
68742
|
init_rtprejectioncode();
|
|
68750
68743
|
init_rtpservices();
|
|
68751
|
-
init_rtptransactiondetails();
|
|
68752
68744
|
init_rtptransactionstatus();
|
|
68753
68745
|
init_runtransfer();
|
|
68754
68746
|
init_scheduledtransferimagemetadata();
|
|
@@ -87913,6 +87905,11 @@ async function $do61(client, request, options) {
|
|
|
87913
87905
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
87914
87906
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
87915
87907
|
appendForm(body, "file", blob, payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
87908
|
+
} else if (payload.CreateEvidenceFileMultiPart.file.content instanceof Uint8Array) {
|
|
87909
|
+
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
87910
|
+
appendForm(body, "file", new Blob([
|
|
87911
|
+
new Uint8Array(payload.CreateEvidenceFileMultiPart.file.content).buffer
|
|
87912
|
+
], { type: contentType2 }), payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
87916
87913
|
} else {
|
|
87917
87914
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
87918
87915
|
appendForm(body, "file", new Blob([payload.CreateEvidenceFileMultiPart.file.content], {
|
|
@@ -90037,6 +90034,11 @@ async function $do79(client, request, options) {
|
|
|
90037
90034
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
90038
90035
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
90039
90036
|
appendForm(body, "file", blob, payload.FileUploadRequestMultiPart.file.fileName);
|
|
90037
|
+
} else if (payload.FileUploadRequestMultiPart.file.content instanceof Uint8Array) {
|
|
90038
|
+
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
90039
|
+
appendForm(body, "file", new Blob([
|
|
90040
|
+
new Uint8Array(payload.FileUploadRequestMultiPart.file.content).buffer
|
|
90041
|
+
], { type: contentType2 }), payload.FileUploadRequestMultiPart.file.fileName);
|
|
90040
90042
|
} else {
|
|
90041
90043
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
90042
90044
|
appendForm(body, "file", new Blob([payload.FileUploadRequestMultiPart.file.content], {
|
|
@@ -90654,6 +90656,11 @@ async function $do84(client, request, options) {
|
|
|
90654
90656
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
90655
90657
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
90656
90658
|
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
90659
|
+
} else if (payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array) {
|
|
90660
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
90661
|
+
appendForm(body, "image", new Blob([
|
|
90662
|
+
new Uint8Array(payload.ImageUploadRequestMultiPart.image.content).buffer
|
|
90663
|
+
], { type: contentType2 }), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
90657
90664
|
} else {
|
|
90658
90665
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
90659
90666
|
appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
|
|
@@ -90933,6 +90940,11 @@ async function $do86(client, request, options) {
|
|
|
90933
90940
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
90934
90941
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
90935
90942
|
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
90943
|
+
} else if (payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array) {
|
|
90944
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
90945
|
+
appendForm(body, "image", new Blob([
|
|
90946
|
+
new Uint8Array(payload.ImageUploadRequestMultiPart.image.content).buffer
|
|
90947
|
+
], { type: contentType2 }), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
90936
90948
|
} else {
|
|
90937
90949
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
90938
90950
|
appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
|
|
@@ -101141,7 +101153,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
101141
101153
|
function createMCPServer(deps) {
|
|
101142
101154
|
const server = new McpServer({
|
|
101143
101155
|
name: "Moov",
|
|
101144
|
-
version: "25.10.
|
|
101156
|
+
version: "25.10.11"
|
|
101145
101157
|
});
|
|
101146
101158
|
const client = new MoovCore({
|
|
101147
101159
|
security: deps.security,
|
|
@@ -102707,7 +102719,7 @@ var routes = rn({
|
|
|
102707
102719
|
var app = Ve(routes, {
|
|
102708
102720
|
name: "mcp",
|
|
102709
102721
|
versionInfo: {
|
|
102710
|
-
currentVersion: "25.10.
|
|
102722
|
+
currentVersion: "25.10.11"
|
|
102711
102723
|
}
|
|
102712
102724
|
});
|
|
102713
102725
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -102715,5 +102727,5 @@ export {
|
|
|
102715
102727
|
app
|
|
102716
102728
|
};
|
|
102717
102729
|
|
|
102718
|
-
//# debugId=
|
|
102730
|
+
//# debugId=CAC9A4EBA82B233164756E2164756E21
|
|
102719
102731
|
//# sourceMappingURL=mcp-server.js.map
|