@moovio/sdk 0.12.3 → 0.12.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/bin/mcp-server.js +66 -45
- package/bin/mcp-server.js.map +17 -17
- package/funcs/transfersList.js +1 -1
- package/funcs/transfersList.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/createdtransfer.d.ts +2 -0
- package/models/components/createdtransfer.d.ts.map +1 -1
- package/models/components/createdtransfer.js +2 -0
- package/models/components/createdtransfer.js.map +1 -1
- package/models/components/index.d.ts +1 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +1 -1
- package/models/components/index.js.map +1 -1
- package/models/components/transfer.d.ts +2 -2
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +2 -2
- package/models/components/transfer.js.map +1 -1
- package/models/components/webhookdatatransfercreated.d.ts +2 -5
- package/models/components/webhookdatatransfercreated.d.ts.map +1 -1
- package/models/components/webhookdatatransfercreated.js +3 -3
- package/models/components/webhookdatatransfercreated.js.map +1 -1
- package/models/components/webhookdatatransferstatus.d.ts +94 -0
- package/models/components/webhookdatatransferstatus.d.ts.map +1 -0
- package/models/components/webhookdatatransferstatus.js +82 -0
- package/models/components/webhookdatatransferstatus.js.map +1 -0
- package/models/components/webhookdatatransferupdated.d.ts +2 -5
- package/models/components/webhookdatatransferupdated.d.ts.map +1 -1
- package/models/components/webhookdatatransferupdated.js +3 -3
- package/models/components/webhookdatatransferupdated.js.map +1 -1
- package/models/components/webhookdatawallettransactionupdated.d.ts +3 -6
- package/models/components/webhookdatawallettransactionupdated.d.ts.map +1 -1
- package/models/components/webhookdatawallettransactionupdated.js +3 -3
- package/models/components/webhookdatawallettransactionupdated.js.map +1 -1
- package/models/components/webhookeventtype.d.ts +3 -0
- package/models/components/webhookeventtype.d.ts.map +1 -1
- package/models/components/webhookeventtype.js +1 -0
- package/models/components/webhookeventtype.js.map +1 -1
- package/models/errors/transfer.d.ts +3 -3
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +4 -4
- package/models/errors/transfer.js.map +1 -1
- package/models/operations/listtransfers.d.ts +3 -3
- package/models/operations/listtransfers.d.ts.map +1 -1
- package/models/operations/listtransfers.js +2 -2
- package/models/operations/listtransfers.js.map +1 -1
- package/package.json +1 -1
- package/src/funcs/transfersList.ts +1 -1
- package/src/lib/config.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/createdtransfer.ts +4 -0
- package/src/models/components/index.ts +1 -1
- package/src/models/components/transfer.ts +4 -4
- package/src/models/components/webhookdatatransfercreated.ts +7 -10
- package/src/models/components/webhookdatatransferstatus.ts +57 -0
- package/src/models/components/webhookdatatransferupdated.ts +7 -10
- package/src/models/components/webhookdatawallettransactionupdated.ts +10 -13
- package/src/models/components/webhookeventtype.ts +1 -0
- package/src/models/errors/transfer.ts +6 -6
- package/src/models/operations/listtransfers.ts +5 -5
- package/models/components/webhookwalletavailablebalance.d.ts +0 -36
- package/models/components/webhookwalletavailablebalance.d.ts.map +0 -1
- package/models/components/webhookwalletavailablebalance.js +0 -73
- package/models/components/webhookwalletavailablebalance.js.map +0 -1
- package/src/models/components/webhookwalletavailablebalance.ts +0 -79
package/bin/mcp-server.js
CHANGED
|
@@ -34246,9 +34246,9 @@ var init_config = __esm(() => {
|
|
|
34246
34246
|
SDK_METADATA = {
|
|
34247
34247
|
language: "typescript",
|
|
34248
34248
|
openapiDocVersion: "latest",
|
|
34249
|
-
sdkVersion: "0.12.
|
|
34249
|
+
sdkVersion: "0.12.4",
|
|
34250
34250
|
genVersion: "2.624.0",
|
|
34251
|
-
userAgent: "speakeasy-sdk/typescript 0.12.
|
|
34251
|
+
userAgent: "speakeasy-sdk/typescript 0.12.4 2.624.0 latest @moovio/sdk"
|
|
34252
34252
|
};
|
|
34253
34253
|
});
|
|
34254
34254
|
|
|
@@ -40172,6 +40172,7 @@ var init_createdtransfer = __esm(() => {
|
|
|
40172
40172
|
sweepID: stringType().optional(),
|
|
40173
40173
|
scheduleID: stringType().optional(),
|
|
40174
40174
|
occurrenceID: stringType().optional(),
|
|
40175
|
+
paymentLinkCode: stringType().optional(),
|
|
40175
40176
|
salesTaxAmount: Amount$inboundSchema.optional()
|
|
40176
40177
|
});
|
|
40177
40178
|
CreatedTransfer$outboundSchema = objectType({
|
|
@@ -40198,6 +40199,7 @@ var init_createdtransfer = __esm(() => {
|
|
|
40198
40199
|
sweepID: stringType().optional(),
|
|
40199
40200
|
scheduleID: stringType().optional(),
|
|
40200
40201
|
occurrenceID: stringType().optional(),
|
|
40202
|
+
paymentLinkCode: stringType().optional(),
|
|
40201
40203
|
salesTaxAmount: Amount$outboundSchema.optional()
|
|
40202
40204
|
});
|
|
40203
40205
|
((CreatedTransfer$) => {
|
|
@@ -44463,7 +44465,7 @@ var init_transfer = __esm(() => {
|
|
|
44463
44465
|
sweepID: stringType().optional(),
|
|
44464
44466
|
scheduleID: stringType().optional(),
|
|
44465
44467
|
occurrenceID: stringType().optional(),
|
|
44466
|
-
|
|
44468
|
+
paymentLinkCode: stringType().optional(),
|
|
44467
44469
|
salesTaxAmount: Amount$inboundSchema.optional()
|
|
44468
44470
|
});
|
|
44469
44471
|
Transfer$outboundSchema = objectType({
|
|
@@ -44491,7 +44493,7 @@ var init_transfer = __esm(() => {
|
|
|
44491
44493
|
sweepID: stringType().optional(),
|
|
44492
44494
|
scheduleID: stringType().optional(),
|
|
44493
44495
|
occurrenceID: stringType().optional(),
|
|
44494
|
-
|
|
44496
|
+
paymentLinkCode: stringType().optional(),
|
|
44495
44497
|
salesTaxAmount: Amount$outboundSchema.optional()
|
|
44496
44498
|
});
|
|
44497
44499
|
((Transfer$) => {
|
|
@@ -45706,20 +45708,58 @@ var init_webhookdataterminalapplicationupdated = __esm(() => {
|
|
|
45706
45708
|
})(WebhookDataTerminalApplicationUpdated$ ||= {});
|
|
45707
45709
|
});
|
|
45708
45710
|
|
|
45711
|
+
// src/models/components/webhookdatatransferstatus.ts
|
|
45712
|
+
var WebhookDataTransferStatus, WebhookDataTransferStatus$inboundSchema, WebhookDataTransferStatus$outboundSchema, WebhookDataTransferStatus$;
|
|
45713
|
+
var init_webhookdatatransferstatus = __esm(() => {
|
|
45714
|
+
init_esm();
|
|
45715
|
+
WebhookDataTransferStatus = {
|
|
45716
|
+
Created: "created",
|
|
45717
|
+
Pending: "pending",
|
|
45718
|
+
Completed: "completed",
|
|
45719
|
+
Failed: "failed",
|
|
45720
|
+
Reversed: "reversed",
|
|
45721
|
+
Queued: "queued",
|
|
45722
|
+
Canceled: "canceled",
|
|
45723
|
+
SourceCompleted: "source.completed",
|
|
45724
|
+
SourceCorrected: "source.corrected",
|
|
45725
|
+
SourceInitiated: "source.initiated",
|
|
45726
|
+
SourceReturned: "source.returned",
|
|
45727
|
+
SourceOriginated: "source.originated",
|
|
45728
|
+
SourceConfirmed: "source.confirmed",
|
|
45729
|
+
SourceSettled: "source.settled",
|
|
45730
|
+
SourceFailed: "source.failed",
|
|
45731
|
+
SourceCanceled: "source.canceled",
|
|
45732
|
+
DestinationCompleted: "destination.completed",
|
|
45733
|
+
DestinationCorrected: "destination.corrected",
|
|
45734
|
+
DestinationInitiated: "destination.initiated",
|
|
45735
|
+
DestinationReturned: "destination.returned",
|
|
45736
|
+
DestinationOriginated: "destination.originated",
|
|
45737
|
+
DestinationConfirmed: "destination.confirmed",
|
|
45738
|
+
DestinationFailed: "destination.failed",
|
|
45739
|
+
DestinationAcceptedWithoutPosting: "destination.accepted-without-posting"
|
|
45740
|
+
};
|
|
45741
|
+
WebhookDataTransferStatus$inboundSchema = nativeEnumType(WebhookDataTransferStatus);
|
|
45742
|
+
WebhookDataTransferStatus$outboundSchema = WebhookDataTransferStatus$inboundSchema;
|
|
45743
|
+
((WebhookDataTransferStatus$) => {
|
|
45744
|
+
WebhookDataTransferStatus$.inboundSchema = WebhookDataTransferStatus$inboundSchema;
|
|
45745
|
+
WebhookDataTransferStatus$.outboundSchema = WebhookDataTransferStatus$outboundSchema;
|
|
45746
|
+
})(WebhookDataTransferStatus$ ||= {});
|
|
45747
|
+
});
|
|
45748
|
+
|
|
45709
45749
|
// src/models/components/webhookdatatransfercreated.ts
|
|
45710
45750
|
var WebhookDataTransferCreated$inboundSchema, WebhookDataTransferCreated$outboundSchema, WebhookDataTransferCreated$;
|
|
45711
45751
|
var init_webhookdatatransfercreated = __esm(() => {
|
|
45712
45752
|
init_esm();
|
|
45713
|
-
|
|
45753
|
+
init_webhookdatatransferstatus();
|
|
45714
45754
|
WebhookDataTransferCreated$inboundSchema = objectType({
|
|
45715
45755
|
accountID: stringType(),
|
|
45716
45756
|
transferID: stringType(),
|
|
45717
|
-
status:
|
|
45757
|
+
status: WebhookDataTransferStatus$inboundSchema
|
|
45718
45758
|
});
|
|
45719
45759
|
WebhookDataTransferCreated$outboundSchema = objectType({
|
|
45720
45760
|
accountID: stringType(),
|
|
45721
45761
|
transferID: stringType(),
|
|
45722
|
-
status:
|
|
45762
|
+
status: WebhookDataTransferStatus$outboundSchema
|
|
45723
45763
|
});
|
|
45724
45764
|
((WebhookDataTransferCreated$) => {
|
|
45725
45765
|
WebhookDataTransferCreated$.inboundSchema = WebhookDataTransferCreated$inboundSchema;
|
|
@@ -45749,19 +45789,19 @@ var init_webhooktransferpaymentmethoddetails = __esm(() => {
|
|
|
45749
45789
|
var WebhookDataTransferUpdated$inboundSchema, WebhookDataTransferUpdated$outboundSchema, WebhookDataTransferUpdated$;
|
|
45750
45790
|
var init_webhookdatatransferupdated = __esm(() => {
|
|
45751
45791
|
init_esm();
|
|
45752
|
-
|
|
45792
|
+
init_webhookdatatransferstatus();
|
|
45753
45793
|
init_webhooktransferpaymentmethoddetails();
|
|
45754
45794
|
WebhookDataTransferUpdated$inboundSchema = objectType({
|
|
45755
45795
|
accountID: stringType(),
|
|
45756
45796
|
transferID: stringType(),
|
|
45757
|
-
status:
|
|
45797
|
+
status: WebhookDataTransferStatus$inboundSchema,
|
|
45758
45798
|
source: WebhookTransferPaymentMethodDetails$inboundSchema,
|
|
45759
45799
|
destination: WebhookTransferPaymentMethodDetails$inboundSchema
|
|
45760
45800
|
});
|
|
45761
45801
|
WebhookDataTransferUpdated$outboundSchema = objectType({
|
|
45762
45802
|
accountID: stringType(),
|
|
45763
45803
|
transferID: stringType(),
|
|
45764
|
-
status:
|
|
45804
|
+
status: WebhookDataTransferStatus$outboundSchema,
|
|
45765
45805
|
source: WebhookTransferPaymentMethodDetails$outboundSchema,
|
|
45766
45806
|
destination: WebhookTransferPaymentMethodDetails$outboundSchema
|
|
45767
45807
|
});
|
|
@@ -45771,45 +45811,25 @@ var init_webhookdatatransferupdated = __esm(() => {
|
|
|
45771
45811
|
})(WebhookDataTransferUpdated$ ||= {});
|
|
45772
45812
|
});
|
|
45773
45813
|
|
|
45774
|
-
// src/models/components/webhookwalletavailablebalance.ts
|
|
45775
|
-
var WebhookWalletAvailableBalance$inboundSchema, WebhookWalletAvailableBalance$outboundSchema, WebhookWalletAvailableBalance$;
|
|
45776
|
-
var init_webhookwalletavailablebalance = __esm(() => {
|
|
45777
|
-
init_esm();
|
|
45778
|
-
WebhookWalletAvailableBalance$inboundSchema = objectType({
|
|
45779
|
-
currency: stringType(),
|
|
45780
|
-
value: numberType().int(),
|
|
45781
|
-
valueDecimal: stringType()
|
|
45782
|
-
});
|
|
45783
|
-
WebhookWalletAvailableBalance$outboundSchema = objectType({
|
|
45784
|
-
currency: stringType(),
|
|
45785
|
-
value: numberType().int(),
|
|
45786
|
-
valueDecimal: stringType()
|
|
45787
|
-
});
|
|
45788
|
-
((WebhookWalletAvailableBalance$) => {
|
|
45789
|
-
WebhookWalletAvailableBalance$.inboundSchema = WebhookWalletAvailableBalance$inboundSchema;
|
|
45790
|
-
WebhookWalletAvailableBalance$.outboundSchema = WebhookWalletAvailableBalance$outboundSchema;
|
|
45791
|
-
})(WebhookWalletAvailableBalance$ ||= {});
|
|
45792
|
-
});
|
|
45793
|
-
|
|
45794
45814
|
// src/models/components/webhookdatawallettransactionupdated.ts
|
|
45795
45815
|
var WebhookDataWalletTransactionUpdated$inboundSchema, WebhookDataWalletTransactionUpdated$outboundSchema, WebhookDataWalletTransactionUpdated$;
|
|
45796
45816
|
var init_webhookdatawallettransactionupdated = __esm(() => {
|
|
45797
45817
|
init_esm();
|
|
45818
|
+
init_walletavailablebalance();
|
|
45798
45819
|
init_wallettransactionstatus();
|
|
45799
|
-
init_webhookwalletavailablebalance();
|
|
45800
45820
|
WebhookDataWalletTransactionUpdated$inboundSchema = objectType({
|
|
45801
45821
|
accountID: stringType(),
|
|
45802
45822
|
walletID: stringType(),
|
|
45803
45823
|
transactionID: stringType(),
|
|
45804
45824
|
status: WalletTransactionStatus$inboundSchema,
|
|
45805
|
-
availableBalance:
|
|
45825
|
+
availableBalance: WalletAvailableBalance$inboundSchema.optional()
|
|
45806
45826
|
});
|
|
45807
45827
|
WebhookDataWalletTransactionUpdated$outboundSchema = objectType({
|
|
45808
45828
|
accountID: stringType(),
|
|
45809
45829
|
walletID: stringType(),
|
|
45810
45830
|
transactionID: stringType(),
|
|
45811
45831
|
status: WalletTransactionStatus$outboundSchema,
|
|
45812
|
-
availableBalance:
|
|
45832
|
+
availableBalance: WalletAvailableBalance$outboundSchema.optional()
|
|
45813
45833
|
});
|
|
45814
45834
|
((WebhookDataWalletTransactionUpdated$) => {
|
|
45815
45835
|
WebhookDataWalletTransactionUpdated$.inboundSchema = WebhookDataWalletTransactionUpdated$inboundSchema;
|
|
@@ -45923,6 +45943,7 @@ var WebhookEventType, WebhookEventType$inboundSchema, WebhookEventType$outboundS
|
|
|
45923
45943
|
var init_webhookeventtype = __esm(() => {
|
|
45924
45944
|
init_esm();
|
|
45925
45945
|
WebhookEventType = {
|
|
45946
|
+
Wildcard: "*",
|
|
45926
45947
|
AccountCreated: "account.created",
|
|
45927
45948
|
AccountUpdated: "account.updated",
|
|
45928
45949
|
AccountDeleted: "account.deleted",
|
|
@@ -46385,12 +46406,12 @@ var init_components = __esm(() => {
|
|
|
46385
46406
|
init_webhookdataterminalapplicationcreated();
|
|
46386
46407
|
init_webhookdataterminalapplicationupdated();
|
|
46387
46408
|
init_webhookdatatransfercreated();
|
|
46409
|
+
init_webhookdatatransferstatus();
|
|
46388
46410
|
init_webhookdatatransferupdated();
|
|
46389
46411
|
init_webhookdatawallettransactionupdated();
|
|
46390
46412
|
init_webhookevent();
|
|
46391
46413
|
init_webhookeventtype();
|
|
46392
46414
|
init_webhooktransferpaymentmethoddetails();
|
|
46393
|
-
init_webhookwalletavailablebalance();
|
|
46394
46415
|
init_wireinstitution();
|
|
46395
46416
|
init_wireservices();
|
|
46396
46417
|
});
|
|
@@ -47732,7 +47753,7 @@ var init_transfer2 = __esm(() => {
|
|
|
47732
47753
|
sweepID;
|
|
47733
47754
|
scheduleID;
|
|
47734
47755
|
occurrenceID;
|
|
47735
|
-
|
|
47756
|
+
paymentLinkCode;
|
|
47736
47757
|
salesTaxAmount;
|
|
47737
47758
|
data$;
|
|
47738
47759
|
constructor(err, httpMeta) {
|
|
@@ -47781,8 +47802,8 @@ var init_transfer2 = __esm(() => {
|
|
|
47781
47802
|
this.scheduleID = err.scheduleID;
|
|
47782
47803
|
if (err.occurrenceID != null)
|
|
47783
47804
|
this.occurrenceID = err.occurrenceID;
|
|
47784
|
-
if (err.
|
|
47785
|
-
this.
|
|
47805
|
+
if (err.paymentLinkCode != null)
|
|
47806
|
+
this.paymentLinkCode = err.paymentLinkCode;
|
|
47786
47807
|
if (err.salesTaxAmount != null)
|
|
47787
47808
|
this.salesTaxAmount = err.salesTaxAmount;
|
|
47788
47809
|
this.name = "Transfer";
|
|
@@ -47813,7 +47834,7 @@ var init_transfer2 = __esm(() => {
|
|
|
47813
47834
|
sweepID: stringType().optional(),
|
|
47814
47835
|
scheduleID: stringType().optional(),
|
|
47815
47836
|
occurrenceID: stringType().optional(),
|
|
47816
|
-
|
|
47837
|
+
paymentLinkCode: stringType().optional(),
|
|
47817
47838
|
salesTaxAmount: Amount$inboundSchema.optional(),
|
|
47818
47839
|
request$: instanceOfType(Request),
|
|
47819
47840
|
response$: instanceOfType(Response),
|
|
@@ -47850,7 +47871,7 @@ var init_transfer2 = __esm(() => {
|
|
|
47850
47871
|
sweepID: stringType().optional(),
|
|
47851
47872
|
scheduleID: stringType().optional(),
|
|
47852
47873
|
occurrenceID: stringType().optional(),
|
|
47853
|
-
|
|
47874
|
+
paymentLinkCode: stringType().optional(),
|
|
47854
47875
|
salesTaxAmount: Amount$outboundSchema.optional()
|
|
47855
47876
|
}));
|
|
47856
47877
|
((Transfer$) => {
|
|
@@ -54999,7 +55020,7 @@ var init_listtransfers = __esm(() => {
|
|
|
54999
55020
|
endDateTime: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
55000
55021
|
groupID: stringType().optional(),
|
|
55001
55022
|
scheduleID: stringType().optional(),
|
|
55002
|
-
|
|
55023
|
+
paymentLinkCode: stringType().optional(),
|
|
55003
55024
|
refunded: booleanType().optional(),
|
|
55004
55025
|
disputed: booleanType().optional(),
|
|
55005
55026
|
skip: numberType().int().optional(),
|
|
@@ -55013,7 +55034,7 @@ var init_listtransfers = __esm(() => {
|
|
|
55013
55034
|
endDateTime: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
55014
55035
|
groupID: stringType().optional(),
|
|
55015
55036
|
scheduleID: stringType().optional(),
|
|
55016
|
-
|
|
55037
|
+
paymentLinkCode: stringType().optional(),
|
|
55017
55038
|
refunded: booleanType().optional(),
|
|
55018
55039
|
disputed: booleanType().optional(),
|
|
55019
55040
|
skip: numberType().int().optional(),
|
|
@@ -72301,7 +72322,7 @@ async function $do128(client, request, options) {
|
|
|
72301
72322
|
disputed: payload.disputed,
|
|
72302
72323
|
endDateTime: payload.endDateTime,
|
|
72303
72324
|
groupID: payload.groupID,
|
|
72304
|
-
|
|
72325
|
+
paymentLinkCode: payload.paymentLinkCode,
|
|
72305
72326
|
refunded: payload.refunded,
|
|
72306
72327
|
scheduleID: payload.scheduleID,
|
|
72307
72328
|
skip: payload.skip,
|
|
@@ -73373,7 +73394,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
73373
73394
|
function createMCPServer(deps) {
|
|
73374
73395
|
const server = new McpServer({
|
|
73375
73396
|
name: "Moov",
|
|
73376
|
-
version: "0.12.
|
|
73397
|
+
version: "0.12.4"
|
|
73377
73398
|
});
|
|
73378
73399
|
const client = new MoovCore({
|
|
73379
73400
|
security: deps.security,
|
|
@@ -74885,7 +74906,7 @@ var routes = rn({
|
|
|
74885
74906
|
var app = Ve(routes, {
|
|
74886
74907
|
name: "mcp",
|
|
74887
74908
|
versionInfo: {
|
|
74888
|
-
currentVersion: "0.12.
|
|
74909
|
+
currentVersion: "0.12.4"
|
|
74889
74910
|
}
|
|
74890
74911
|
});
|
|
74891
74912
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -74893,5 +74914,5 @@ export {
|
|
|
74893
74914
|
app
|
|
74894
74915
|
};
|
|
74895
74916
|
|
|
74896
|
-
//# debugId=
|
|
74917
|
+
//# debugId=D9232652FAAB478264756E2164756E21
|
|
74897
74918
|
//# sourceMappingURL=mcp-server.js.map
|