@moovio/sdk 25.2.2 → 25.2.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 +18 -17
- 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/createdtransfer.d.ts +1 -1
- package/models/components/createpaymentlink.d.ts +13 -0
- package/models/components/createpaymentlink.d.ts.map +1 -1
- package/models/components/createpaymentlink.js.map +1 -1
- package/models/components/createtransfer.d.ts +0 -3
- package/models/components/createtransfer.d.ts.map +1 -1
- package/models/components/createtransfer.js.map +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/paymentlink.d.ts +10 -0
- package/models/components/paymentlink.d.ts.map +1 -1
- package/models/components/paymentlink.js.map +1 -1
- package/models/components/transfer.d.ts +0 -3
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.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/models/errors/transfer.d.ts +0 -6
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.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/createdtransfer.ts +1 -1
- package/src/models/components/createpaymentlink.ts +13 -0
- package/src/models/components/createtransfer.ts +0 -3
- 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/paymentlink.ts +10 -0
- package/src/models/components/transfer.ts +0 -3
- package/src/models/components/webhookdata.ts +4 -4
- package/src/models/components/webhookdatabankaccountcreated.ts +9 -0
- package/src/models/errors/transfer.ts +0 -6
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.01.00",
|
|
52882
|
-
sdkVersion: "25.2.
|
|
52883
|
-
genVersion: "2.881.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 25.2.
|
|
52882
|
+
sdkVersion: "25.2.4",
|
|
52883
|
+
genVersion: "2.881.17",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 25.2.4 2.881.17 v2025.01.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -62876,12 +62876,36 @@ var init_filedetails = __esm(() => {
|
|
|
62876
62876
|
});
|
|
62877
62877
|
});
|
|
62878
62878
|
|
|
62879
|
+
// src/models/components/fileuploadmetadata.ts
|
|
62880
|
+
var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
|
|
62881
|
+
var init_fileuploadmetadata = __esm(() => {
|
|
62882
|
+
init_esm();
|
|
62883
|
+
init_primitives();
|
|
62884
|
+
FileUploadMetadata$inboundSchema = objectType({
|
|
62885
|
+
representative_id: stringType().optional(),
|
|
62886
|
+
comment: stringType().optional()
|
|
62887
|
+
}).transform((v2) => {
|
|
62888
|
+
return remap(v2, {
|
|
62889
|
+
representative_id: "representativeId"
|
|
62890
|
+
});
|
|
62891
|
+
});
|
|
62892
|
+
FileUploadMetadata$outboundSchema = objectType({
|
|
62893
|
+
representativeId: stringType().optional(),
|
|
62894
|
+
comment: stringType().optional()
|
|
62895
|
+
}).transform((v2) => {
|
|
62896
|
+
return remap(v2, {
|
|
62897
|
+
representativeId: "representative_id"
|
|
62898
|
+
});
|
|
62899
|
+
});
|
|
62900
|
+
});
|
|
62901
|
+
|
|
62879
62902
|
// src/models/components/fileuploadrequestmultipart.ts
|
|
62880
62903
|
var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
|
|
62881
62904
|
var init_fileuploadrequestmultipart = __esm(() => {
|
|
62882
62905
|
init_esm();
|
|
62883
62906
|
init_blobs();
|
|
62884
62907
|
init_filepurpose();
|
|
62908
|
+
init_fileuploadmetadata();
|
|
62885
62909
|
FileUploadRequestMultiPartFile$inboundSchema = objectType({
|
|
62886
62910
|
fileName: stringType(),
|
|
62887
62911
|
content: unionType([
|
|
@@ -62903,12 +62927,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
|
|
|
62903
62927
|
FileUploadRequestMultiPart$inboundSchema = objectType({
|
|
62904
62928
|
file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
|
|
62905
62929
|
filePurpose: FilePurpose$inboundSchema,
|
|
62906
|
-
metadata:
|
|
62930
|
+
metadata: FileUploadMetadata$inboundSchema.optional()
|
|
62907
62931
|
});
|
|
62908
62932
|
FileUploadRequestMultiPart$outboundSchema = objectType({
|
|
62909
62933
|
file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
|
|
62910
62934
|
filePurpose: FilePurpose$outboundSchema,
|
|
62911
|
-
metadata:
|
|
62935
|
+
metadata: FileUploadMetadata$outboundSchema.optional()
|
|
62912
62936
|
});
|
|
62913
62937
|
});
|
|
62914
62938
|
|
|
@@ -66687,13 +66711,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
|
|
|
66687
66711
|
var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
|
|
66688
66712
|
var init_webhookdatabankaccountcreated = __esm(() => {
|
|
66689
66713
|
init_esm();
|
|
66714
|
+
init_bankaccountstatus();
|
|
66690
66715
|
WebhookDataBankAccountCreated$inboundSchema = objectType({
|
|
66691
66716
|
bankAccountID: stringType(),
|
|
66692
|
-
accountID: stringType()
|
|
66717
|
+
accountID: stringType(),
|
|
66718
|
+
status: BankAccountStatus$inboundSchema
|
|
66693
66719
|
});
|
|
66694
66720
|
WebhookDataBankAccountCreated$outboundSchema = objectType({
|
|
66695
66721
|
bankAccountID: stringType(),
|
|
66696
|
-
accountID: stringType()
|
|
66722
|
+
accountID: stringType(),
|
|
66723
|
+
status: BankAccountStatus$outboundSchema
|
|
66697
66724
|
});
|
|
66698
66725
|
});
|
|
66699
66726
|
|
|
@@ -67338,6 +67365,7 @@ var init_webhookdata = __esm(() => {
|
|
|
67338
67365
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
67339
67366
|
WebhookDataRefundUpdated$inboundSchema,
|
|
67340
67367
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
67368
|
+
WebhookDataBankAccountCreated$inboundSchema,
|
|
67341
67369
|
WebhookDataCancellationCreated$inboundSchema,
|
|
67342
67370
|
WebhookDataCancellationUpdated$inboundSchema,
|
|
67343
67371
|
WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -67351,7 +67379,6 @@ var init_webhookdata = __esm(() => {
|
|
|
67351
67379
|
WebhookDataTransferCreated$inboundSchema,
|
|
67352
67380
|
WebhookDataWalletUpdated$inboundSchema,
|
|
67353
67381
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
67354
|
-
WebhookDataBankAccountCreated$inboundSchema,
|
|
67355
67382
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
67356
67383
|
WebhookDataCapabilityRequested$inboundSchema,
|
|
67357
67384
|
WebhookDataInvoiceCreated$inboundSchema,
|
|
@@ -67377,6 +67404,7 @@ var init_webhookdata = __esm(() => {
|
|
|
67377
67404
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
67378
67405
|
WebhookDataRefundUpdated$outboundSchema,
|
|
67379
67406
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
67407
|
+
WebhookDataBankAccountCreated$outboundSchema,
|
|
67380
67408
|
WebhookDataCancellationCreated$outboundSchema,
|
|
67381
67409
|
WebhookDataCancellationUpdated$outboundSchema,
|
|
67382
67410
|
WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -67390,7 +67418,6 @@ var init_webhookdata = __esm(() => {
|
|
|
67390
67418
|
WebhookDataTransferCreated$outboundSchema,
|
|
67391
67419
|
WebhookDataWalletUpdated$outboundSchema,
|
|
67392
67420
|
WebhookDataBalanceUpdated$outboundSchema,
|
|
67393
|
-
WebhookDataBankAccountCreated$outboundSchema,
|
|
67394
67421
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
67395
67422
|
WebhookDataCapabilityRequested$outboundSchema,
|
|
67396
67423
|
WebhookDataInvoiceCreated$outboundSchema,
|
|
@@ -67659,6 +67686,7 @@ var init_components = __esm(() => {
|
|
|
67659
67686
|
init_filedetails();
|
|
67660
67687
|
init_filepurpose();
|
|
67661
67688
|
init_filestatus();
|
|
67689
|
+
init_fileuploadmetadata();
|
|
67662
67690
|
init_fileuploadrequestmultipart();
|
|
67663
67691
|
init_financialinstitutions();
|
|
67664
67692
|
init_fulfillmentdetails();
|
|
@@ -85946,7 +85974,9 @@ async function $do79(client, request, options) {
|
|
|
85946
85974
|
}
|
|
85947
85975
|
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
85948
85976
|
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
85949
|
-
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata
|
|
85977
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
|
|
85978
|
+
explode: true
|
|
85979
|
+
}));
|
|
85950
85980
|
}
|
|
85951
85981
|
const pathParams = {
|
|
85952
85982
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
@@ -96024,7 +96054,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
96024
96054
|
function createMCPServer(deps) {
|
|
96025
96055
|
const server = new McpServer({
|
|
96026
96056
|
name: "Moov",
|
|
96027
|
-
version: "25.2.
|
|
96057
|
+
version: "25.2.4"
|
|
96028
96058
|
});
|
|
96029
96059
|
const client = new MoovCore({
|
|
96030
96060
|
security: deps.security,
|
|
@@ -97569,7 +97599,7 @@ var routes = rn({
|
|
|
97569
97599
|
var app = Ve(routes, {
|
|
97570
97600
|
name: "mcp",
|
|
97571
97601
|
versionInfo: {
|
|
97572
|
-
currentVersion: "25.2.
|
|
97602
|
+
currentVersion: "25.2.4"
|
|
97573
97603
|
}
|
|
97574
97604
|
});
|
|
97575
97605
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -97577,5 +97607,5 @@ export {
|
|
|
97577
97607
|
app
|
|
97578
97608
|
};
|
|
97579
97609
|
|
|
97580
|
-
//# debugId=
|
|
97610
|
+
//# debugId=0DC7B4B3A1774C6D64756E2164756E21
|
|
97581
97611
|
//# sourceMappingURL=mcp-server.js.map
|