@moovio/sdk 26.4.1 → 26.4.2
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/FUNCTIONS.md +2 -2
- package/bin/mcp-server.js +43 -13
- package/bin/mcp-server.js.map +12 -11
- package/funcs/filesUpload.d.ts.map +1 -1
- package/funcs/filesUpload.js +3 -1
- package/funcs/filesUpload.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/fileuploadmetadata.d.ts +28 -0
- package/models/components/fileuploadmetadata.d.ts.map +1 -0
- package/models/components/fileuploadmetadata.js +69 -0
- package/models/components/fileuploadmetadata.js.map +1 -0
- package/models/components/fileuploadrequestmultipart.d.ts +5 -8
- package/models/components/fileuploadrequestmultipart.d.ts.map +1 -1
- package/models/components/fileuploadrequestmultipart.js +3 -2
- package/models/components/fileuploadrequestmultipart.js.map +1 -1
- package/models/components/index.d.ts +1 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -0
- package/models/components/index.js.map +1 -1
- package/models/components/webhookdata.d.ts +2 -2
- package/models/components/webhookdata.d.ts.map +1 -1
- package/models/components/webhookdata.js +2 -2
- package/models/components/webhookdata.js.map +1 -1
- package/models/components/webhookdatabankaccountcreated.d.ts +3 -0
- package/models/components/webhookdatabankaccountcreated.d.ts.map +1 -1
- package/models/components/webhookdatabankaccountcreated.js +3 -0
- package/models/components/webhookdatabankaccountcreated.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/filesUpload.ts +13 -2
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/fileuploadmetadata.ts +73 -0
- package/src/models/components/fileuploadrequestmultipart.ts +12 -10
- package/src/models/components/index.ts +1 -0
- package/src/models/components/webhookdata.ts +4 -4
- package/src/models/components/webhookdatabankaccountcreated.ts +9 -0
package/FUNCTIONS.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# Standalone Functions
|
|
2
2
|
|
|
3
3
|
> [!NOTE]
|
|
4
|
-
> This section is useful if you are using a bundler and
|
|
4
|
+
> This section is useful if you are using a bundler and targeting browsers and
|
|
5
5
|
> runtimes where the size of an application affects performance and load times.
|
|
6
6
|
|
|
7
7
|
Every method in this SDK is also available as a standalone function. This
|
|
8
|
-
alternative API is suitable when
|
|
8
|
+
alternative API is suitable when targeting the browser or serverless runtimes
|
|
9
9
|
and using a bundler to build your application since all unused functionality
|
|
10
10
|
will be tree-shaken away. This includes code for unused methods, Zod schemas,
|
|
11
11
|
encoding helpers and response handlers. The result is dramatically smaller
|
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: "v2026.04.00",
|
|
52882
|
-
sdkVersion: "26.4.
|
|
52883
|
-
genVersion: "2.881.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 26.4.
|
|
52882
|
+
sdkVersion: "26.4.2",
|
|
52883
|
+
genVersion: "2.881.17",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 26.4.2 2.881.17 v2026.04.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -63803,12 +63803,36 @@ var init_filedetails = __esm(() => {
|
|
|
63803
63803
|
});
|
|
63804
63804
|
});
|
|
63805
63805
|
|
|
63806
|
+
// src/models/components/fileuploadmetadata.ts
|
|
63807
|
+
var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
|
|
63808
|
+
var init_fileuploadmetadata = __esm(() => {
|
|
63809
|
+
init_esm();
|
|
63810
|
+
init_primitives();
|
|
63811
|
+
FileUploadMetadata$inboundSchema = objectType({
|
|
63812
|
+
representative_id: stringType().optional(),
|
|
63813
|
+
comment: stringType().optional()
|
|
63814
|
+
}).transform((v2) => {
|
|
63815
|
+
return remap(v2, {
|
|
63816
|
+
representative_id: "representativeId"
|
|
63817
|
+
});
|
|
63818
|
+
});
|
|
63819
|
+
FileUploadMetadata$outboundSchema = objectType({
|
|
63820
|
+
representativeId: stringType().optional(),
|
|
63821
|
+
comment: stringType().optional()
|
|
63822
|
+
}).transform((v2) => {
|
|
63823
|
+
return remap(v2, {
|
|
63824
|
+
representativeId: "representative_id"
|
|
63825
|
+
});
|
|
63826
|
+
});
|
|
63827
|
+
});
|
|
63828
|
+
|
|
63806
63829
|
// src/models/components/fileuploadrequestmultipart.ts
|
|
63807
63830
|
var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
|
|
63808
63831
|
var init_fileuploadrequestmultipart = __esm(() => {
|
|
63809
63832
|
init_esm();
|
|
63810
63833
|
init_blobs();
|
|
63811
63834
|
init_filepurpose();
|
|
63835
|
+
init_fileuploadmetadata();
|
|
63812
63836
|
FileUploadRequestMultiPartFile$inboundSchema = objectType({
|
|
63813
63837
|
fileName: stringType(),
|
|
63814
63838
|
content: unionType([
|
|
@@ -63830,12 +63854,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
|
|
|
63830
63854
|
FileUploadRequestMultiPart$inboundSchema = objectType({
|
|
63831
63855
|
file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
|
|
63832
63856
|
filePurpose: FilePurpose$inboundSchema,
|
|
63833
|
-
metadata:
|
|
63857
|
+
metadata: FileUploadMetadata$inboundSchema.optional()
|
|
63834
63858
|
});
|
|
63835
63859
|
FileUploadRequestMultiPart$outboundSchema = objectType({
|
|
63836
63860
|
file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
|
|
63837
63861
|
filePurpose: FilePurpose$outboundSchema,
|
|
63838
|
-
metadata:
|
|
63862
|
+
metadata: FileUploadMetadata$outboundSchema.optional()
|
|
63839
63863
|
});
|
|
63840
63864
|
});
|
|
63841
63865
|
|
|
@@ -68869,13 +68893,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
|
|
|
68869
68893
|
var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
|
|
68870
68894
|
var init_webhookdatabankaccountcreated = __esm(() => {
|
|
68871
68895
|
init_esm();
|
|
68896
|
+
init_bankaccountstatus();
|
|
68872
68897
|
WebhookDataBankAccountCreated$inboundSchema = objectType({
|
|
68873
68898
|
bankAccountID: stringType(),
|
|
68874
|
-
accountID: stringType()
|
|
68899
|
+
accountID: stringType(),
|
|
68900
|
+
status: BankAccountStatus$inboundSchema
|
|
68875
68901
|
});
|
|
68876
68902
|
WebhookDataBankAccountCreated$outboundSchema = objectType({
|
|
68877
68903
|
bankAccountID: stringType(),
|
|
68878
|
-
accountID: stringType()
|
|
68904
|
+
accountID: stringType(),
|
|
68905
|
+
status: BankAccountStatus$outboundSchema
|
|
68879
68906
|
});
|
|
68880
68907
|
});
|
|
68881
68908
|
|
|
@@ -69520,6 +69547,7 @@ var init_webhookdata = __esm(() => {
|
|
|
69520
69547
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
69521
69548
|
WebhookDataRefundUpdated$inboundSchema,
|
|
69522
69549
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
69550
|
+
WebhookDataBankAccountCreated$inboundSchema,
|
|
69523
69551
|
WebhookDataCancellationCreated$inboundSchema,
|
|
69524
69552
|
WebhookDataCancellationUpdated$inboundSchema,
|
|
69525
69553
|
WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -69533,7 +69561,6 @@ var init_webhookdata = __esm(() => {
|
|
|
69533
69561
|
WebhookDataTransferCreated$inboundSchema,
|
|
69534
69562
|
WebhookDataWalletUpdated$inboundSchema,
|
|
69535
69563
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
69536
|
-
WebhookDataBankAccountCreated$inboundSchema,
|
|
69537
69564
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
69538
69565
|
WebhookDataCapabilityRequested$inboundSchema,
|
|
69539
69566
|
WebhookDataInvoiceCreated$inboundSchema,
|
|
@@ -69559,6 +69586,7 @@ var init_webhookdata = __esm(() => {
|
|
|
69559
69586
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
69560
69587
|
WebhookDataRefundUpdated$outboundSchema,
|
|
69561
69588
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
69589
|
+
WebhookDataBankAccountCreated$outboundSchema,
|
|
69562
69590
|
WebhookDataCancellationCreated$outboundSchema,
|
|
69563
69591
|
WebhookDataCancellationUpdated$outboundSchema,
|
|
69564
69592
|
WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -69572,7 +69600,6 @@ var init_webhookdata = __esm(() => {
|
|
|
69572
69600
|
WebhookDataTransferCreated$outboundSchema,
|
|
69573
69601
|
WebhookDataWalletUpdated$outboundSchema,
|
|
69574
69602
|
WebhookDataBalanceUpdated$outboundSchema,
|
|
69575
|
-
WebhookDataBankAccountCreated$outboundSchema,
|
|
69576
69603
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
69577
69604
|
WebhookDataCapabilityRequested$outboundSchema,
|
|
69578
69605
|
WebhookDataInvoiceCreated$outboundSchema,
|
|
@@ -69873,6 +69900,7 @@ var init_components = __esm(() => {
|
|
|
69873
69900
|
init_filedetails();
|
|
69874
69901
|
init_filepurpose();
|
|
69875
69902
|
init_filestatus();
|
|
69903
|
+
init_fileuploadmetadata();
|
|
69876
69904
|
init_fileuploadrequestmultipart();
|
|
69877
69905
|
init_financialinstitutions();
|
|
69878
69906
|
init_fulfillment();
|
|
@@ -89684,7 +89712,9 @@ async function $do79(client, request, options) {
|
|
|
89684
89712
|
}
|
|
89685
89713
|
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
89686
89714
|
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
89687
|
-
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata
|
|
89715
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
|
|
89716
|
+
explode: true
|
|
89717
|
+
}));
|
|
89688
89718
|
}
|
|
89689
89719
|
const pathParams = {
|
|
89690
89720
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
@@ -102203,7 +102233,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
102203
102233
|
function createMCPServer(deps) {
|
|
102204
102234
|
const server = new McpServer({
|
|
102205
102235
|
name: "Moov",
|
|
102206
|
-
version: "26.4.
|
|
102236
|
+
version: "26.4.2"
|
|
102207
102237
|
});
|
|
102208
102238
|
const client = new MoovCore({
|
|
102209
102239
|
security: deps.security,
|
|
@@ -103790,7 +103820,7 @@ var routes = rn({
|
|
|
103790
103820
|
var app = Ve(routes, {
|
|
103791
103821
|
name: "mcp",
|
|
103792
103822
|
versionInfo: {
|
|
103793
|
-
currentVersion: "26.4.
|
|
103823
|
+
currentVersion: "26.4.2"
|
|
103794
103824
|
}
|
|
103795
103825
|
});
|
|
103796
103826
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -103798,5 +103828,5 @@ export {
|
|
|
103798
103828
|
app
|
|
103799
103829
|
};
|
|
103800
103830
|
|
|
103801
|
-
//# debugId=
|
|
103831
|
+
//# debugId=B9DFD792F255AA5564756E2164756E21
|
|
103802
103832
|
//# sourceMappingURL=mcp-server.js.map
|