@moovio/sdk 26.4.1 → 26.4.3
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 +45 -14
- package/bin/mcp-server.js.map +13 -12
- 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/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/collectionpaymentmethodtype.d.ts +1 -0
- package/models/components/collectionpaymentmethodtype.d.ts.map +1 -1
- package/models/components/collectionpaymentmethodtype.js +1 -0
- package/models/components/collectionpaymentmethodtype.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/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/collectionpaymentmethodtype.ts +1 -0
- 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.
|
|
52884
|
-
userAgent: "speakeasy-sdk/typescript 26.4.
|
|
52882
|
+
sdkVersion: "26.4.3",
|
|
52883
|
+
genVersion: "2.882.0",
|
|
52884
|
+
userAgent: "speakeasy-sdk/typescript 26.4.3 2.882.0 v2026.04.00 @moovio/sdk"
|
|
52885
52885
|
};
|
|
52886
52886
|
});
|
|
52887
52887
|
|
|
@@ -60802,7 +60802,8 @@ var init_collectionpaymentmethodtype = __esm(() => {
|
|
|
60802
60802
|
CollectionPaymentMethodType = {
|
|
60803
60803
|
ApplePay: "apple-pay",
|
|
60804
60804
|
CardPayment: "card-payment",
|
|
60805
|
-
AchDebitCollect: "ach-debit-collect"
|
|
60805
|
+
AchDebitCollect: "ach-debit-collect",
|
|
60806
|
+
GooglePay: "google-pay"
|
|
60806
60807
|
};
|
|
60807
60808
|
CollectionPaymentMethodType$inboundSchema = nativeEnumType(CollectionPaymentMethodType);
|
|
60808
60809
|
CollectionPaymentMethodType$outboundSchema = CollectionPaymentMethodType$inboundSchema;
|
|
@@ -63803,12 +63804,36 @@ var init_filedetails = __esm(() => {
|
|
|
63803
63804
|
});
|
|
63804
63805
|
});
|
|
63805
63806
|
|
|
63807
|
+
// src/models/components/fileuploadmetadata.ts
|
|
63808
|
+
var FileUploadMetadata$inboundSchema, FileUploadMetadata$outboundSchema;
|
|
63809
|
+
var init_fileuploadmetadata = __esm(() => {
|
|
63810
|
+
init_esm();
|
|
63811
|
+
init_primitives();
|
|
63812
|
+
FileUploadMetadata$inboundSchema = objectType({
|
|
63813
|
+
representative_id: stringType().optional(),
|
|
63814
|
+
comment: stringType().optional()
|
|
63815
|
+
}).transform((v2) => {
|
|
63816
|
+
return remap(v2, {
|
|
63817
|
+
representative_id: "representativeId"
|
|
63818
|
+
});
|
|
63819
|
+
});
|
|
63820
|
+
FileUploadMetadata$outboundSchema = objectType({
|
|
63821
|
+
representativeId: stringType().optional(),
|
|
63822
|
+
comment: stringType().optional()
|
|
63823
|
+
}).transform((v2) => {
|
|
63824
|
+
return remap(v2, {
|
|
63825
|
+
representativeId: "representative_id"
|
|
63826
|
+
});
|
|
63827
|
+
});
|
|
63828
|
+
});
|
|
63829
|
+
|
|
63806
63830
|
// src/models/components/fileuploadrequestmultipart.ts
|
|
63807
63831
|
var FileUploadRequestMultiPartFile$inboundSchema, FileUploadRequestMultiPartFile$outboundSchema, FileUploadRequestMultiPart$inboundSchema, FileUploadRequestMultiPart$outboundSchema;
|
|
63808
63832
|
var init_fileuploadrequestmultipart = __esm(() => {
|
|
63809
63833
|
init_esm();
|
|
63810
63834
|
init_blobs();
|
|
63811
63835
|
init_filepurpose();
|
|
63836
|
+
init_fileuploadmetadata();
|
|
63812
63837
|
FileUploadRequestMultiPartFile$inboundSchema = objectType({
|
|
63813
63838
|
fileName: stringType(),
|
|
63814
63839
|
content: unionType([
|
|
@@ -63830,12 +63855,12 @@ var init_fileuploadrequestmultipart = __esm(() => {
|
|
|
63830
63855
|
FileUploadRequestMultiPart$inboundSchema = objectType({
|
|
63831
63856
|
file: lazyType(() => FileUploadRequestMultiPartFile$inboundSchema),
|
|
63832
63857
|
filePurpose: FilePurpose$inboundSchema,
|
|
63833
|
-
metadata:
|
|
63858
|
+
metadata: FileUploadMetadata$inboundSchema.optional()
|
|
63834
63859
|
});
|
|
63835
63860
|
FileUploadRequestMultiPart$outboundSchema = objectType({
|
|
63836
63861
|
file: lazyType(() => FileUploadRequestMultiPartFile$outboundSchema).or(blobLikeSchema),
|
|
63837
63862
|
filePurpose: FilePurpose$outboundSchema,
|
|
63838
|
-
metadata:
|
|
63863
|
+
metadata: FileUploadMetadata$outboundSchema.optional()
|
|
63839
63864
|
});
|
|
63840
63865
|
});
|
|
63841
63866
|
|
|
@@ -68869,13 +68894,16 @@ var init_webhookdatabalanceupdated = __esm(() => {
|
|
|
68869
68894
|
var WebhookDataBankAccountCreated$inboundSchema, WebhookDataBankAccountCreated$outboundSchema;
|
|
68870
68895
|
var init_webhookdatabankaccountcreated = __esm(() => {
|
|
68871
68896
|
init_esm();
|
|
68897
|
+
init_bankaccountstatus();
|
|
68872
68898
|
WebhookDataBankAccountCreated$inboundSchema = objectType({
|
|
68873
68899
|
bankAccountID: stringType(),
|
|
68874
|
-
accountID: stringType()
|
|
68900
|
+
accountID: stringType(),
|
|
68901
|
+
status: BankAccountStatus$inboundSchema
|
|
68875
68902
|
});
|
|
68876
68903
|
WebhookDataBankAccountCreated$outboundSchema = objectType({
|
|
68877
68904
|
bankAccountID: stringType(),
|
|
68878
|
-
accountID: stringType()
|
|
68905
|
+
accountID: stringType(),
|
|
68906
|
+
status: BankAccountStatus$outboundSchema
|
|
68879
68907
|
});
|
|
68880
68908
|
});
|
|
68881
68909
|
|
|
@@ -69520,6 +69548,7 @@ var init_webhookdata = __esm(() => {
|
|
|
69520
69548
|
WebhookDataBankAccountUpdated$inboundSchema,
|
|
69521
69549
|
WebhookDataRefundUpdated$inboundSchema,
|
|
69522
69550
|
WebhookDataWalletTransactionUpdated$inboundSchema,
|
|
69551
|
+
WebhookDataBankAccountCreated$inboundSchema,
|
|
69523
69552
|
WebhookDataCancellationCreated$inboundSchema,
|
|
69524
69553
|
WebhookDataCancellationUpdated$inboundSchema,
|
|
69525
69554
|
WebhookDataCardAutoUpdated$inboundSchema,
|
|
@@ -69533,7 +69562,6 @@ var init_webhookdata = __esm(() => {
|
|
|
69533
69562
|
WebhookDataTransferCreated$inboundSchema,
|
|
69534
69563
|
WebhookDataWalletUpdated$inboundSchema,
|
|
69535
69564
|
WebhookDataBalanceUpdated$inboundSchema,
|
|
69536
|
-
WebhookDataBankAccountCreated$inboundSchema,
|
|
69537
69565
|
WebhookDataBankAccountDeleted$inboundSchema,
|
|
69538
69566
|
WebhookDataCapabilityRequested$inboundSchema,
|
|
69539
69567
|
WebhookDataInvoiceCreated$inboundSchema,
|
|
@@ -69559,6 +69587,7 @@ var init_webhookdata = __esm(() => {
|
|
|
69559
69587
|
WebhookDataBankAccountUpdated$outboundSchema,
|
|
69560
69588
|
WebhookDataRefundUpdated$outboundSchema,
|
|
69561
69589
|
WebhookDataWalletTransactionUpdated$outboundSchema,
|
|
69590
|
+
WebhookDataBankAccountCreated$outboundSchema,
|
|
69562
69591
|
WebhookDataCancellationCreated$outboundSchema,
|
|
69563
69592
|
WebhookDataCancellationUpdated$outboundSchema,
|
|
69564
69593
|
WebhookDataCardAutoUpdated$outboundSchema,
|
|
@@ -69572,7 +69601,6 @@ var init_webhookdata = __esm(() => {
|
|
|
69572
69601
|
WebhookDataTransferCreated$outboundSchema,
|
|
69573
69602
|
WebhookDataWalletUpdated$outboundSchema,
|
|
69574
69603
|
WebhookDataBalanceUpdated$outboundSchema,
|
|
69575
|
-
WebhookDataBankAccountCreated$outboundSchema,
|
|
69576
69604
|
WebhookDataBankAccountDeleted$outboundSchema,
|
|
69577
69605
|
WebhookDataCapabilityRequested$outboundSchema,
|
|
69578
69606
|
WebhookDataInvoiceCreated$outboundSchema,
|
|
@@ -69873,6 +69901,7 @@ var init_components = __esm(() => {
|
|
|
69873
69901
|
init_filedetails();
|
|
69874
69902
|
init_filepurpose();
|
|
69875
69903
|
init_filestatus();
|
|
69904
|
+
init_fileuploadmetadata();
|
|
69876
69905
|
init_fileuploadrequestmultipart();
|
|
69877
69906
|
init_financialinstitutions();
|
|
69878
69907
|
init_fulfillment();
|
|
@@ -89684,7 +89713,9 @@ async function $do79(client, request, options) {
|
|
|
89684
89713
|
}
|
|
89685
89714
|
appendForm(body, "filePurpose", payload.FileUploadRequestMultiPart.filePurpose);
|
|
89686
89715
|
if (payload.FileUploadRequestMultiPart.metadata !== undefined) {
|
|
89687
|
-
appendForm(body, "metadata", payload.FileUploadRequestMultiPart.metadata
|
|
89716
|
+
appendForm(body, "metadata", encodeJSON("metadata", payload.FileUploadRequestMultiPart.metadata, {
|
|
89717
|
+
explode: true
|
|
89718
|
+
}));
|
|
89688
89719
|
}
|
|
89689
89720
|
const pathParams = {
|
|
89690
89721
|
accountID: encodeSimple("accountID", payload.accountID, {
|
|
@@ -102203,7 +102234,7 @@ var init_webhooksUpdate2 = __esm(() => {
|
|
|
102203
102234
|
function createMCPServer(deps) {
|
|
102204
102235
|
const server = new McpServer({
|
|
102205
102236
|
name: "Moov",
|
|
102206
|
-
version: "26.4.
|
|
102237
|
+
version: "26.4.3"
|
|
102207
102238
|
});
|
|
102208
102239
|
const client = new MoovCore({
|
|
102209
102240
|
security: deps.security,
|
|
@@ -103790,7 +103821,7 @@ var routes = rn({
|
|
|
103790
103821
|
var app = Ve(routes, {
|
|
103791
103822
|
name: "mcp",
|
|
103792
103823
|
versionInfo: {
|
|
103793
|
-
currentVersion: "26.4.
|
|
103824
|
+
currentVersion: "26.4.3"
|
|
103794
103825
|
}
|
|
103795
103826
|
});
|
|
103796
103827
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -103798,5 +103829,5 @@ export {
|
|
|
103798
103829
|
app
|
|
103799
103830
|
};
|
|
103800
103831
|
|
|
103801
|
-
//# debugId=
|
|
103832
|
+
//# debugId=41836995C36E479064756E2164756E21
|
|
103802
103833
|
//# sourceMappingURL=mcp-server.js.map
|