@moovio/sdk 25.5.3 → 25.5.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/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: "v2025.04.00",
|
|
52882
|
-
sdkVersion: "25.5.
|
|
52883
|
-
genVersion: "2.881.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 25.5.
|
|
52882
|
+
sdkVersion: "25.5.4",
|
|
52883
|
+
genVersion: "2.881.17",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 25.5.4 2.881.17 v2025.04.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -63013,12 +63013,36 @@ var init_filedetails = __esm(() => {
|
|
|
63013
63013
|
});
|
|
63014
63014
|
});
|
|
63015
63015
|
|
|
63016
|
+
// src/models/components/fileuploadmetadata.ts
|
|
63017
|
+
var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
|
|
63018
|
+
var init_fileuploadmetadata = __esm(() => {
|
|
63019
|
+
init_esm();
|
|
63020
|
+
init_primitives();
|
|
63021
|
+
FileUploadMetadata$inboundSchema = objectType({
|
|
63022
|
+
representative_id: stringType().optional(),
|
|
63023
|
+
comment: stringType().optional()
|
|
63024
|
+
}).transform((v2) => {
|
|
63025
|
+
return remap(v2, {
|
|
63026
|
+
representative_id: "representativeId"
|
|
63027
|
+
});
|
|
63028
|
+
});
|
|
63029
|
+
FileUploadMetadata$outboundSchema = objectType({
|
|
63030
|
+
representativeId: stringType().optional(),
|
|
63031
|
+
comment: stringType().optional()
|
|
63032
|
+
}).transform((v2) => {
|
|
63033
|
+
return remap(v2, {
|
|
63034
|
+
representativeId: "representative_id"
|
|
63035
|
+
});
|
|
63036
|
+
});
|
|
63037
|
+
});
|
|
63038
|
+
|
|
63016
63039
|
// src/models/components/fileuploadrequestmultipart.ts
|
|
63017
63040
|
var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
|
|
63018
63041
|
var init_fileuploadrequestmultipart = __esm(() => {
|
|
63019
63042
|
init_esm();
|
|
63020
63043
|
init_blobs();
|
|
63021
63044
|
init_filepurpose();
|
|
63045
|
+
init_fileuploadmetadata();
|
|
63022
63046
|
FileUploadRequestMultiPartFile$inboundSchema = objectType({
|
|
63023
63047
|
fileName: stringType(),
|
|
63024
63048
|
content: unionType([
|
|
@@ -63040,12 +63064,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
|
|
|
63040
63064
|
FileUploadRequestMultiPart$inboundSchema = objectType({
|
|
63041
63065
|
file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
|
|
63042
63066
|
filePurpose: FilePurpose$inboundSchema,
|
|
63043
|
-
metadata:
|
|
63067
|
+
metadata: FileUploadMetadata$inboundSchema.optional()
|
|
63044
63068
|
});
|
|
63045
63069
|
FileUploadRequestMultiPart$outboundSchema = objectType({
|
|
63046
63070
|
file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
|
|
63047
63071
|
filePurpose: FilePurpose$outboundSchema,
|
|
63048
|
-
metadata:
|
|
63072
|
+
metadata: FileUploadMetadata$outboundSchema.optional()
|
|
63049
63073
|
});
|
|
63050
63074
|
});
|
|
63051
63075
|
|
|
@@ -66830,13 +66854,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
|
|
|
66830
66854
|
var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
|
|
66831
66855
|
var init_webhookdatabankaccountcreated = __esm(() => {
|
|
66832
66856
|
init_esm();
|
|
66857
|
+
init_bankaccountstatus();
|
|
66833
66858
|
WebhookDataBankAccountCreated$inboundSchema = objectType({
|
|
66834
66859
|
bankAccountID: stringType(),
|
|
66835
|
-
accountID: stringType()
|
|
66860
|
+
accountID: stringType(),
|
|
66861
|
+
status: BankAccountStatus$inboundSchema
|
|
66836
66862
|
});
|
|
66837
66863
|
WebhookDataBankAccountCreated$outboundSchema = objectType({
|
|
66838
66864
|
bankAccountID: stringType(),
|
|
66839
|
-
accountID: stringType()
|
|
66865
|
+
accountID: stringType(),
|
|
66866
|
+
status: BankAccountStatus$outboundSchema
|
|
66840
66867
|
});
|
|
66841
66868
|
});
|
|
66842
66869
|
|
|
@@ -67481,6 +67508,7 @@ var init_webhookdata = __esm(() => {
|
|
|
67481
67508
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
67482
67509
|
WebhookDataRefundUpdated$inboundSchema,
|
|
67483
67510
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
67511
|
+
WebhookDataBankAccountCreated$inboundSchema,
|
|
67484
67512
|
WebhookDataCancellationCreated$inboundSchema,
|
|
67485
67513
|
WebhookDataCancellationUpdated$inboundSchema,
|
|
67486
67514
|
WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -67494,7 +67522,6 @@ var init_webhookdata = __esm(() => {
|
|
|
67494
67522
|
WebhookDataTransferCreated$inboundSchema,
|
|
67495
67523
|
WebhookDataWalletUpdated$inboundSchema,
|
|
67496
67524
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
67497
|
-
WebhookDataBankAccountCreated$inboundSchema,
|
|
67498
67525
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
67499
67526
|
WebhookDataCapabilityRequested$inboundSchema,
|
|
67500
67527
|
WebhookDataInvoiceCreated$inboundSchema,
|
|
@@ -67520,6 +67547,7 @@ var init_webhookdata = __esm(() => {
|
|
|
67520
67547
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
67521
67548
|
WebhookDataRefundUpdated$outboundSchema,
|
|
67522
67549
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
67550
|
+
WebhookDataBankAccountCreated$outboundSchema,
|
|
67523
67551
|
WebhookDataCancellationCreated$outboundSchema,
|
|
67524
67552
|
WebhookDataCancellationUpdated$outboundSchema,
|
|
67525
67553
|
WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -67533,7 +67561,6 @@ var init_webhookdata = __esm(() => {
|
|
|
67533
67561
|
WebhookDataTransferCreated$outboundSchema,
|
|
67534
67562
|
WebhookDataWalletUpdated$outboundSchema,
|
|
67535
67563
|
WebhookDataBalanceUpdated$outboundSchema,
|
|
67536
|
-
WebhookDataBankAccountCreated$outboundSchema,
|
|
67537
67564
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
67538
67565
|
WebhookDataCapabilityRequested$outboundSchema,
|
|
67539
67566
|
WebhookDataInvoiceCreated$outboundSchema,
|
|
@@ -67805,6 +67832,7 @@ var init_components = __esm(() => {
|
|
|
67805
67832
|
init_filedetails();
|
|
67806
67833
|
init_filepurpose();
|
|
67807
67834
|
init_filestatus();
|
|
67835
|
+
init_fileuploadmetadata();
|
|
67808
67836
|
init_fileuploadrequestmultipart();
|
|
67809
67837
|
init_financialinstitutions();
|
|
67810
67838
|
init_fulfillmentdetails();
|
|
@@ -86095,7 +86123,9 @@ async function $do79(client, request, options) {
|
|
|
86095
86123
|
}
|
|
86096
86124
|
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
86097
86125
|
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
86098
|
-
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata
|
|
86126
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
|
|
86127
|
+
explode: true
|
|
86128
|
+
}));
|
|
86099
86129
|
}
|
|
86100
86130
|
const pathParams = {
|
|
86101
86131
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
@@ -96173,7 +96203,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96173
96203
|
function createMCPServer(deps) {
|
|
96174
96204
|
const server = new McpServer({
|
|
96175
96205
|
name: "Moov",
|
|
96176
|
-
version: "25.5.
|
|
96206
|
+
version: "25.5.4"
|
|
96177
96207
|
});
|
|
96178
96208
|
const client = new MoovCore({
|
|
96179
96209
|
security: deps.security,
|
|
@@ -97718,7 +97748,7 @@ var routes = rn({
|
|
|
97718
97748
|
var app = Ve(routes, {
|
|
97719
97749
|
name: "mcp",
|
|
97720
97750
|
versionInfo: {
|
|
97721
|
-
currentVersion: "25.5.
|
|
97751
|
+
currentVersion: "25.5.4"
|
|
97722
97752
|
}
|
|
97723
97753
|
});
|
|
97724
97754
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -97726,5 +97756,5 @@ export {
|
|
|
97726
97756
|
app
|
|
97727
97757
|
};
|
|
97728
97758
|
|
|
97729
|
-
//# debugId=
|
|
97759
|
+
//# debugId=BD20012EB8BFD3D864756E2164756E21
|
|
97730
97760
|
//# sourceMappingURL=mcp-server.js.map
|