@moovio/sdk 24.1.11 → 24.1.12
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: "v2024.01.00",
|
|
52882
|
-
sdkVersion: "24.1.
|
|
52883
|
-
genVersion: "2.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 24.1.
|
|
52882
|
+
sdkVersion: "24.1.12",
|
|
52883
|
+
genVersion: "2.856.1",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 24.1.12 2.856.1 v2024.01.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;
|
|
@@ -60715,32 +60715,6 @@ var init_rtptransactionstatus = __esm(() => {
|
|
|
60715
60715
|
RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
|
|
60716
60716
|
});
|
|
60717
60717
|
|
|
60718
|
-
// src/models/components/rtptransactiondetails.ts
|
|
60719
|
-
var RTPTransactionDetails$inboundSchema, RTPTransactionDetails$outboundSchema;
|
|
60720
|
-
var init_rtptransactiondetails = __esm(() => {
|
|
60721
|
-
init_esm();
|
|
60722
|
-
init_rtpfailurecode();
|
|
60723
|
-
init_rtptransactionstatus();
|
|
60724
|
-
RTPTransactionDetails$inboundSchema = objectType({
|
|
60725
|
-
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
60726
|
-
networkResponseCode: stringType().optional(),
|
|
60727
|
-
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
60728
|
-
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60729
|
-
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60730
|
-
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60731
|
-
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
60732
|
-
});
|
|
60733
|
-
RTPTransactionDetails$outboundSchema = objectType({
|
|
60734
|
-
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
60735
|
-
networkResponseCode: stringType().optional(),
|
|
60736
|
-
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
60737
|
-
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60738
|
-
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60739
|
-
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60740
|
-
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
60741
|
-
});
|
|
60742
|
-
});
|
|
60743
|
-
|
|
60744
60718
|
// src/models/components/transferaccount.ts
|
|
60745
60719
|
var TransferAccount$inboundSchema, TransferAccount$outboundSchema;
|
|
60746
60720
|
var init_transferaccount = __esm(() => {
|
|
@@ -60807,18 +60781,37 @@ var init_transferpaymentmethodtype = __esm(() => {
|
|
|
60807
60781
|
});
|
|
60808
60782
|
|
|
60809
60783
|
// src/models/components/transferdestination.ts
|
|
60810
|
-
var TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
60784
|
+
var RtpDetails$inboundSchema, RtpDetails$outboundSchema, TransferDestination$inboundSchema, TransferDestination$outboundSchema;
|
|
60811
60785
|
var init_transferdestination = __esm(() => {
|
|
60812
60786
|
init_esm();
|
|
60813
60787
|
init_achtransactiondetails();
|
|
60814
60788
|
init_applepayresponse();
|
|
60815
60789
|
init_cardtransactiondetails();
|
|
60816
|
-
|
|
60790
|
+
init_rtpfailurecode();
|
|
60791
|
+
init_rtptransactionstatus();
|
|
60817
60792
|
init_transferaccount();
|
|
60818
60793
|
init_transferpaymentmethodsbankaccount();
|
|
60819
60794
|
init_transferpaymentmethodscard();
|
|
60820
60795
|
init_transferpaymentmethodswallet();
|
|
60821
60796
|
init_transferpaymentmethodtype();
|
|
60797
|
+
RtpDetails$inboundSchema = objectType({
|
|
60798
|
+
status: RTPTransactionStatus$inboundSchema.optional(),
|
|
60799
|
+
networkResponseCode: stringType().optional(),
|
|
60800
|
+
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
60801
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60802
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60803
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
60804
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
60805
|
+
});
|
|
60806
|
+
RtpDetails$outboundSchema = objectType({
|
|
60807
|
+
status: RTPTransactionStatus$outboundSchema.optional(),
|
|
60808
|
+
networkResponseCode: stringType().optional(),
|
|
60809
|
+
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
60810
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60811
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60812
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
60813
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
60814
|
+
});
|
|
60822
60815
|
TransferDestination$inboundSchema = objectType({
|
|
60823
60816
|
paymentMethodID: stringType(),
|
|
60824
60817
|
paymentMethodType: TransferPaymentMethodType$inboundSchema,
|
|
@@ -60829,7 +60822,7 @@ var init_transferdestination = __esm(() => {
|
|
|
60829
60822
|
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
60830
60823
|
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
60831
60824
|
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
60832
|
-
rtpDetails:
|
|
60825
|
+
rtpDetails: lazyType(() => RtpDetails$inboundSchema).optional()
|
|
60833
60826
|
});
|
|
60834
60827
|
TransferDestination$outboundSchema = objectType({
|
|
60835
60828
|
paymentMethodID: stringType(),
|
|
@@ -60841,7 +60834,7 @@ var init_transferdestination = __esm(() => {
|
|
|
60841
60834
|
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
60842
60835
|
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
60843
60836
|
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
60844
|
-
rtpDetails:
|
|
60837
|
+
rtpDetails: lazyType(() => RtpDetails$outboundSchema).optional()
|
|
60845
60838
|
});
|
|
60846
60839
|
});
|
|
60847
60840
|
|
|
@@ -67684,7 +67677,6 @@ var init_components = __esm(() => {
|
|
|
67684
67677
|
init_rtpinstitution();
|
|
67685
67678
|
init_rtprejectioncode();
|
|
67686
67679
|
init_rtpservices();
|
|
67687
|
-
init_rtptransactiondetails();
|
|
67688
67680
|
init_rtptransactionstatus();
|
|
67689
67681
|
init_runtransfer();
|
|
67690
67682
|
init_scheduledtransferimagemetadata();
|
|
@@ -86296,6 +86288,11 @@ async function $do61(client, request, options) {
|
|
|
86296
86288
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
86297
86289
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
86298
86290
|
appendForm(body, "file", blob, payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
86291
|
+
} else if (payload.CreateEvidenceFileMultiPart.file.content instanceof Uint8Array) {
|
|
86292
|
+
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
86293
|
+
appendForm(body, "file", new Blob([
|
|
86294
|
+
new Uint8Array(payload.CreateEvidenceFileMultiPart.file.content).buffer
|
|
86295
|
+
], { type: contentType2 }), payload.CreateEvidenceFileMultiPart.file.fileName);
|
|
86299
86296
|
} else {
|
|
86300
86297
|
const contentType2 = getContentTypeFromFileName(payload.CreateEvidenceFileMultiPart.file.fileName) || "application/octet-stream";
|
|
86301
86298
|
appendForm(body, "file", new Blob([payload.CreateEvidenceFileMultiPart.file.content], {
|
|
@@ -88420,6 +88417,11 @@ async function $do79(client, request, options) {
|
|
|
88420
88417
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
88421
88418
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
88422
88419
|
appendForm(body, "file", blob, payload.FileUploadRequestMultiPart.file.fileName);
|
|
88420
|
+
} else if (payload.FileUploadRequestMultiPart.file.content instanceof Uint8Array) {
|
|
88421
|
+
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
88422
|
+
appendForm(body, "file", new Blob([
|
|
88423
|
+
new Uint8Array(payload.FileUploadRequestMultiPart.file.content).buffer
|
|
88424
|
+
], { type: contentType2 }), payload.FileUploadRequestMultiPart.file.fileName);
|
|
88423
88425
|
} else {
|
|
88424
88426
|
const contentType2 = getContentTypeFromFileName(payload.FileUploadRequestMultiPart.file.fileName) || "application/octet-stream";
|
|
88425
88427
|
appendForm(body, "file", new Blob([payload.FileUploadRequestMultiPart.file.content], {
|
|
@@ -89037,6 +89039,11 @@ async function $do84(client, request, options) {
|
|
|
89037
89039
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89038
89040
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
89039
89041
|
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89042
|
+
} else if (payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array) {
|
|
89043
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89044
|
+
appendForm(body, "image", new Blob([
|
|
89045
|
+
new Uint8Array(payload.ImageUploadRequestMultiPart.image.content).buffer
|
|
89046
|
+
], { type: contentType2 }), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89040
89047
|
} else {
|
|
89041
89048
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89042
89049
|
appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
|
|
@@ -89316,6 +89323,11 @@ async function $do86(client, request, options) {
|
|
|
89316
89323
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89317
89324
|
const blob = new Blob([buffer], { type: contentType2 });
|
|
89318
89325
|
appendForm(body, "image", blob, payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89326
|
+
} else if (payload.ImageUploadRequestMultiPart.image.content instanceof Uint8Array) {
|
|
89327
|
+
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89328
|
+
appendForm(body, "image", new Blob([
|
|
89329
|
+
new Uint8Array(payload.ImageUploadRequestMultiPart.image.content).buffer
|
|
89330
|
+
], { type: contentType2 }), payload.ImageUploadRequestMultiPart.image.fileName);
|
|
89319
89331
|
} else {
|
|
89320
89332
|
const contentType2 = getContentTypeFromFileName(payload.ImageUploadRequestMultiPart.image.fileName) || "application/octet-stream";
|
|
89321
89333
|
appendForm(body, "image", new Blob([payload.ImageUploadRequestMultiPart.image.content], {
|
|
@@ -98776,7 +98788,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
98776
98788
|
function createMCPServer(deps) {
|
|
98777
98789
|
const server = new McpServer({
|
|
98778
98790
|
name: "Moov",
|
|
98779
|
-
version: "24.1.
|
|
98791
|
+
version: "24.1.12"
|
|
98780
98792
|
});
|
|
98781
98793
|
const client = new MoovCore({
|
|
98782
98794
|
security: deps.security,
|
|
@@ -100330,7 +100342,7 @@ var routes = rn({
|
|
|
100330
100342
|
var app = Ve(routes, {
|
|
100331
100343
|
name: "mcp",
|
|
100332
100344
|
versionInfo: {
|
|
100333
|
-
currentVersion: "24.1.
|
|
100345
|
+
currentVersion: "24.1.12"
|
|
100334
100346
|
}
|
|
100335
100347
|
});
|
|
100336
100348
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -100338,5 +100350,5 @@ export {
|
|
|
100338
100350
|
app
|
|
100339
100351
|
};
|
|
100340
100352
|
|
|
100341
|
-
//# debugId=
|
|
100353
|
+
//# debugId=7693E716E0CD9C6864756E2164756E21
|
|
100342
100354
|
//# sourceMappingURL=mcp-server.js.map
|