@moovio/sdk 0.10.7 → 0.10.9
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 +441 -326
- package/bin/mcp-server.js.map +30 -28
- 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/prompts.d.ts.map +1 -1
- package/mcp-server/prompts.js +5 -1
- package/mcp-server/prompts.js.map +1 -1
- package/mcp-server/resources.d.ts.map +1 -1
- package/mcp-server/resources.js +10 -2
- package/mcp-server/resources.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +2 -3
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js +4 -3
- package/mcp-server/tools.js.map +1 -1
- package/models/components/createdtransfer.d.ts +116 -0
- package/models/components/createdtransfer.d.ts.map +1 -0
- package/models/components/createdtransfer.js +126 -0
- package/models/components/createdtransfer.js.map +1 -0
- package/models/components/index.d.ts +3 -1
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +3 -1
- package/models/components/index.js.map +1 -1
- package/models/components/moovfee.d.ts +52 -0
- package/models/components/moovfee.d.ts.map +1 -0
- package/models/components/{transferresponse.js → moovfee.js} +29 -19
- package/models/components/moovfee.js.map +1 -0
- package/models/components/receiptresponse.d.ts +2 -2
- package/models/components/receiptresponse.d.ts.map +1 -1
- package/models/components/receiptresponse.js +2 -2
- package/models/components/receiptresponse.js.map +1 -1
- package/models/components/transfer.d.ts +6 -0
- package/models/components/transfer.d.ts.map +1 -1
- package/models/components/transfer.js +3 -0
- package/models/components/transfer.js.map +1 -1
- package/models/components/transferparty.d.ts +37 -0
- package/models/components/transferparty.d.ts.map +1 -0
- package/models/components/transferparty.js +64 -0
- package/models/components/transferparty.js.map +1 -0
- package/models/errors/transfer.d.ts +9 -0
- package/models/errors/transfer.d.ts.map +1 -1
- package/models/errors/transfer.js +4 -0
- package/models/errors/transfer.js.map +1 -1
- package/models/operations/createtransfer.d.ts +4 -4
- package/models/operations/createtransfer.d.ts.map +1 -1
- package/models/operations/createtransfer.js +4 -4
- package/models/operations/createtransfer.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/prompts.ts +8 -1
- package/src/mcp-server/resources.ts +16 -2
- package/src/mcp-server/server.ts +3 -3
- package/src/mcp-server/tools.ts +6 -3
- package/src/models/components/createdtransfer.ts +242 -0
- package/src/models/components/index.ts +3 -1
- package/src/models/components/moovfee.ts +97 -0
- package/src/models/components/receiptresponse.ts +4 -4
- package/src/models/components/transfer.ts +13 -0
- package/src/models/components/transferparty.ts +40 -0
- package/src/models/errors/transfer.ts +12 -0
- package/src/models/operations/createtransfer.ts +12 -12
- package/models/components/transferresponse.d.ts +0 -27
- package/models/components/transferresponse.d.ts.map +0 -1
- package/models/components/transferresponse.js.map +0 -1
- package/src/models/components/transferresponse.ts +0 -72
package/bin/mcp-server.js
CHANGED
|
@@ -4012,12 +4012,6 @@ var init_console_logger = __esm(() => {
|
|
|
4012
4012
|
];
|
|
4013
4013
|
});
|
|
4014
4014
|
|
|
4015
|
-
// src/mcp-server/scopes.ts
|
|
4016
|
-
var mcpScopes;
|
|
4017
|
-
var init_scopes = __esm(() => {
|
|
4018
|
-
mcpScopes = [];
|
|
4019
|
-
});
|
|
4020
|
-
|
|
4021
4015
|
// node_modules/@modelcontextprotocol/sdk/dist/esm/types.js
|
|
4022
4016
|
var LATEST_PROTOCOL_VERSION = "2024-11-05", SUPPORTED_PROTOCOL_VERSIONS, JSONRPC_VERSION = "2.0", ProgressTokenSchema, CursorSchema, BaseRequestParamsSchema, RequestSchema, BaseNotificationParamsSchema, NotificationSchema, ResultSchema, RequestIdSchema, JSONRPCRequestSchema, JSONRPCNotificationSchema, JSONRPCResponseSchema, ErrorCode, JSONRPCErrorSchema, JSONRPCMessageSchema, EmptyResultSchema, CancelledNotificationSchema, ImplementationSchema, ClientCapabilitiesSchema, InitializeRequestSchema, ServerCapabilitiesSchema, InitializeResultSchema, InitializedNotificationSchema, PingRequestSchema, ProgressSchema, ProgressNotificationSchema, PaginatedRequestSchema, PaginatedResultSchema, ResourceContentsSchema, TextResourceContentsSchema, BlobResourceContentsSchema, ResourceSchema, ResourceTemplateSchema, ListResourcesRequestSchema, ListResourcesResultSchema, ListResourceTemplatesRequestSchema, ListResourceTemplatesResultSchema, ReadResourceRequestSchema, ReadResourceResultSchema, ResourceListChangedNotificationSchema, SubscribeRequestSchema, UnsubscribeRequestSchema, ResourceUpdatedNotificationSchema, PromptArgumentSchema, PromptSchema, ListPromptsRequestSchema, ListPromptsResultSchema, GetPromptRequestSchema, TextContentSchema, ImageContentSchema, EmbeddedResourceSchema, PromptMessageSchema, GetPromptResultSchema, PromptListChangedNotificationSchema, ToolSchema, ListToolsRequestSchema, ListToolsResultSchema, CallToolResultSchema, CompatibilityCallToolResultSchema, CallToolRequestSchema, ToolListChangedNotificationSchema, LoggingLevelSchema, SetLevelRequestSchema, LoggingMessageNotificationSchema, ModelHintSchema, ModelPreferencesSchema, SamplingMessageSchema, CreateMessageRequestSchema, CreateMessageResultSchema, ResourceReferenceSchema, PromptReferenceSchema, CompleteRequestSchema, CompleteResultSchema, RootSchema, ListRootsRequestSchema, ListRootsResultSchema, RootsListChangedNotificationSchema, ClientRequestSchema, ClientNotificationSchema, ClientResultSchema, ServerRequestSchema, ServerNotificationSchema, ServerResultSchema, McpError;
|
|
4023
4017
|
var init_types = __esm(() => {
|
|
@@ -34213,9 +34207,9 @@ var init_config = __esm(() => {
|
|
|
34213
34207
|
SDK_METADATA = {
|
|
34214
34208
|
language: "typescript",
|
|
34215
34209
|
openapiDocVersion: "latest",
|
|
34216
|
-
sdkVersion: "0.10.
|
|
34217
|
-
genVersion: "2.
|
|
34218
|
-
userAgent: "speakeasy-sdk/typescript 0.10.
|
|
34210
|
+
sdkVersion: "0.10.9",
|
|
34211
|
+
genVersion: "2.568.2",
|
|
34212
|
+
userAgent: "speakeasy-sdk/typescript 0.10.9 2.568.2 latest @moovio/sdk"
|
|
34219
34213
|
};
|
|
34220
34214
|
});
|
|
34221
34215
|
|
|
@@ -35000,7 +34994,10 @@ var init_core = __esm(() => {
|
|
|
35000
34994
|
function createRegisterPrompt(logger, server, sdk, allowedScopes) {
|
|
35001
34995
|
return (prompt) => {
|
|
35002
34996
|
const scopes = prompt.scopes ?? [];
|
|
35003
|
-
if (
|
|
34997
|
+
if (allowedScopes.size > 0 && scopes.length === 0) {
|
|
34998
|
+
return;
|
|
34999
|
+
}
|
|
35000
|
+
if (allowedScopes.size > 0 && !scopes.every((s) => allowedScopes.has(s))) {
|
|
35004
35001
|
return;
|
|
35005
35002
|
}
|
|
35006
35003
|
if (prompt.args) {
|
|
@@ -35071,7 +35068,10 @@ var init_shared = __esm(() => {
|
|
|
35071
35068
|
function createRegisterResource(logger, server, sdk, allowedScopes) {
|
|
35072
35069
|
return (resource) => {
|
|
35073
35070
|
const scopes = resource.scopes ?? [];
|
|
35074
|
-
if (
|
|
35071
|
+
if (allowedScopes.size > 0 && scopes.length === 0) {
|
|
35072
|
+
return;
|
|
35073
|
+
}
|
|
35074
|
+
if (allowedScopes.size > 0 && !scopes.every((s) => allowedScopes.has(s))) {
|
|
35075
35075
|
return;
|
|
35076
35076
|
}
|
|
35077
35077
|
const metadata = {
|
|
@@ -35085,7 +35085,10 @@ function createRegisterResource(logger, server, sdk, allowedScopes) {
|
|
|
35085
35085
|
function createRegisterResourceTemplate(logger, server, sdk, allowedScopes) {
|
|
35086
35086
|
return (resource) => {
|
|
35087
35087
|
const scopes = resource.scopes ?? [];
|
|
35088
|
-
if (
|
|
35088
|
+
if (allowedScopes.size > 0 && scopes.length === 0) {
|
|
35089
|
+
return;
|
|
35090
|
+
}
|
|
35091
|
+
if (allowedScopes.size > 0 && !scopes.every((s) => allowedScopes.has(s))) {
|
|
35089
35092
|
return;
|
|
35090
35093
|
}
|
|
35091
35094
|
const metadata = {
|
|
@@ -35143,11 +35146,11 @@ function createRegisterTool(logger, server, sdk, allowedScopes, allowedTools) {
|
|
|
35143
35146
|
if (allowedTools && !allowedTools.has(tool.name)) {
|
|
35144
35147
|
return;
|
|
35145
35148
|
}
|
|
35146
|
-
const
|
|
35147
|
-
if (allowedScopes.size > 0 &&
|
|
35149
|
+
const scopes = tool.scopes ?? [];
|
|
35150
|
+
if (allowedScopes.size > 0 && scopes.length === 0) {
|
|
35148
35151
|
return;
|
|
35149
35152
|
}
|
|
35150
|
-
if (!
|
|
35153
|
+
if (allowedScopes.size > 0 && !scopes.every((s) => allowedScopes.has(s))) {
|
|
35151
35154
|
return;
|
|
35152
35155
|
}
|
|
35153
35156
|
if (tool.args) {
|
|
@@ -39615,6 +39618,358 @@ var init_createauthorizeduserupdate = __esm(() => {
|
|
|
39615
39618
|
})(CreateAuthorizedUserUpdate$ ||= {});
|
|
39616
39619
|
});
|
|
39617
39620
|
|
|
39621
|
+
// src/models/components/facilitatorfee.ts
|
|
39622
|
+
var FacilitatorFee$inboundSchema, FacilitatorFee$outboundSchema, FacilitatorFee$;
|
|
39623
|
+
var init_facilitatorfee = __esm(() => {
|
|
39624
|
+
init_lib();
|
|
39625
|
+
FacilitatorFee$inboundSchema = objectType({
|
|
39626
|
+
total: numberType().int().optional(),
|
|
39627
|
+
totalDecimal: stringType().optional(),
|
|
39628
|
+
markup: numberType().int().optional(),
|
|
39629
|
+
markupDecimal: stringType().optional()
|
|
39630
|
+
});
|
|
39631
|
+
FacilitatorFee$outboundSchema = objectType({
|
|
39632
|
+
total: numberType().int().optional(),
|
|
39633
|
+
totalDecimal: stringType().optional(),
|
|
39634
|
+
markup: numberType().int().optional(),
|
|
39635
|
+
markupDecimal: stringType().optional()
|
|
39636
|
+
});
|
|
39637
|
+
((FacilitatorFee$) => {
|
|
39638
|
+
FacilitatorFee$.inboundSchema = FacilitatorFee$inboundSchema;
|
|
39639
|
+
FacilitatorFee$.outboundSchema = FacilitatorFee$outboundSchema;
|
|
39640
|
+
})(FacilitatorFee$ ||= {});
|
|
39641
|
+
});
|
|
39642
|
+
|
|
39643
|
+
// src/models/components/moovfeedetails.ts
|
|
39644
|
+
var MoovFeeDetails$inboundSchema, MoovFeeDetails$outboundSchema, MoovFeeDetails$;
|
|
39645
|
+
var init_moovfeedetails = __esm(() => {
|
|
39646
|
+
init_lib();
|
|
39647
|
+
MoovFeeDetails$inboundSchema = objectType({
|
|
39648
|
+
cardScheme: stringType().optional(),
|
|
39649
|
+
interchange: stringType().optional(),
|
|
39650
|
+
discount: stringType().optional(),
|
|
39651
|
+
moovProcessing: stringType()
|
|
39652
|
+
});
|
|
39653
|
+
MoovFeeDetails$outboundSchema = objectType({
|
|
39654
|
+
cardScheme: stringType().optional(),
|
|
39655
|
+
interchange: stringType().optional(),
|
|
39656
|
+
discount: stringType().optional(),
|
|
39657
|
+
moovProcessing: stringType()
|
|
39658
|
+
});
|
|
39659
|
+
((MoovFeeDetails$) => {
|
|
39660
|
+
MoovFeeDetails$.inboundSchema = MoovFeeDetails$inboundSchema;
|
|
39661
|
+
MoovFeeDetails$.outboundSchema = MoovFeeDetails$outboundSchema;
|
|
39662
|
+
})(MoovFeeDetails$ ||= {});
|
|
39663
|
+
});
|
|
39664
|
+
|
|
39665
|
+
// src/models/components/paymentmethodswallet.ts
|
|
39666
|
+
var PaymentMethodsWallet$inboundSchema, PaymentMethodsWallet$outboundSchema, PaymentMethodsWallet$;
|
|
39667
|
+
var init_paymentmethodswallet = __esm(() => {
|
|
39668
|
+
init_lib();
|
|
39669
|
+
PaymentMethodsWallet$inboundSchema = objectType({
|
|
39670
|
+
walletID: stringType()
|
|
39671
|
+
});
|
|
39672
|
+
PaymentMethodsWallet$outboundSchema = objectType({
|
|
39673
|
+
walletID: stringType()
|
|
39674
|
+
});
|
|
39675
|
+
((PaymentMethodsWallet$) => {
|
|
39676
|
+
PaymentMethodsWallet$.inboundSchema = PaymentMethodsWallet$inboundSchema;
|
|
39677
|
+
PaymentMethodsWallet$.outboundSchema = PaymentMethodsWallet$outboundSchema;
|
|
39678
|
+
})(PaymentMethodsWallet$ ||= {});
|
|
39679
|
+
});
|
|
39680
|
+
|
|
39681
|
+
// src/models/components/rtpfailurecode.ts
|
|
39682
|
+
var RTPFailureCode, RTPFailureCode$inboundSchema, RTPFailureCode$outboundSchema, RTPFailureCode$;
|
|
39683
|
+
var init_rtpfailurecode = __esm(() => {
|
|
39684
|
+
init_lib();
|
|
39685
|
+
RTPFailureCode = {
|
|
39686
|
+
ProcessingError: "processing-error",
|
|
39687
|
+
InvalidAccount: "invalid-account",
|
|
39688
|
+
AccountClosed: "account-closed",
|
|
39689
|
+
AccountBlocked: "account-blocked",
|
|
39690
|
+
InvalidField: "invalid-field",
|
|
39691
|
+
TransactionNotSupported: "transaction-not-supported",
|
|
39692
|
+
LimitExceeded: "limit-exceeded",
|
|
39693
|
+
InvalidAmount: "invalid-amount",
|
|
39694
|
+
CustomerDeceased: "customer-deceased",
|
|
39695
|
+
Other: "other"
|
|
39696
|
+
};
|
|
39697
|
+
RTPFailureCode$inboundSchema = nativeEnumType(RTPFailureCode);
|
|
39698
|
+
RTPFailureCode$outboundSchema = RTPFailureCode$inboundSchema;
|
|
39699
|
+
((RTPFailureCode$) => {
|
|
39700
|
+
RTPFailureCode$.inboundSchema = RTPFailureCode$inboundSchema;
|
|
39701
|
+
RTPFailureCode$.outboundSchema = RTPFailureCode$outboundSchema;
|
|
39702
|
+
})(RTPFailureCode$ ||= {});
|
|
39703
|
+
});
|
|
39704
|
+
|
|
39705
|
+
// src/models/components/rtptransactionstatus.ts
|
|
39706
|
+
var RTPTransactionStatus, RTPTransactionStatus$inboundSchema, RTPTransactionStatus$outboundSchema, RTPTransactionStatus$;
|
|
39707
|
+
var init_rtptransactionstatus = __esm(() => {
|
|
39708
|
+
init_lib();
|
|
39709
|
+
RTPTransactionStatus = {
|
|
39710
|
+
Initiated: "initiated",
|
|
39711
|
+
Completed: "completed",
|
|
39712
|
+
Failed: "failed",
|
|
39713
|
+
AcceptedWithoutPosting: "accepted-without-posting"
|
|
39714
|
+
};
|
|
39715
|
+
RTPTransactionStatus$inboundSchema = nativeEnumType(RTPTransactionStatus);
|
|
39716
|
+
RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
|
|
39717
|
+
((RTPTransactionStatus$) => {
|
|
39718
|
+
RTPTransactionStatus$.inboundSchema = RTPTransactionStatus$inboundSchema;
|
|
39719
|
+
RTPTransactionStatus$.outboundSchema = RTPTransactionStatus$outboundSchema;
|
|
39720
|
+
})(RTPTransactionStatus$ ||= {});
|
|
39721
|
+
});
|
|
39722
|
+
|
|
39723
|
+
// src/models/components/rtptransactiondetails.ts
|
|
39724
|
+
var RTPTransactionDetails$inboundSchema, RTPTransactionDetails$outboundSchema, RTPTransactionDetails$;
|
|
39725
|
+
var init_rtptransactiondetails = __esm(() => {
|
|
39726
|
+
init_lib();
|
|
39727
|
+
init_rtpfailurecode();
|
|
39728
|
+
init_rtptransactionstatus();
|
|
39729
|
+
RTPTransactionDetails$inboundSchema = objectType({
|
|
39730
|
+
status: RTPTransactionStatus$inboundSchema,
|
|
39731
|
+
networkResponseCode: stringType().optional(),
|
|
39732
|
+
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
39733
|
+
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
39734
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
39735
|
+
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
39736
|
+
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
39737
|
+
});
|
|
39738
|
+
RTPTransactionDetails$outboundSchema = objectType({
|
|
39739
|
+
status: RTPTransactionStatus$outboundSchema,
|
|
39740
|
+
networkResponseCode: stringType().optional(),
|
|
39741
|
+
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
39742
|
+
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
39743
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
39744
|
+
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
39745
|
+
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
39746
|
+
});
|
|
39747
|
+
((RTPTransactionDetails$) => {
|
|
39748
|
+
RTPTransactionDetails$.inboundSchema = RTPTransactionDetails$inboundSchema;
|
|
39749
|
+
RTPTransactionDetails$.outboundSchema = RTPTransactionDetails$outboundSchema;
|
|
39750
|
+
})(RTPTransactionDetails$ ||= {});
|
|
39751
|
+
});
|
|
39752
|
+
|
|
39753
|
+
// src/models/components/transferaccount.ts
|
|
39754
|
+
var TransferAccount$inboundSchema, TransferAccount$outboundSchema, TransferAccount$;
|
|
39755
|
+
var init_transferaccount = __esm(() => {
|
|
39756
|
+
init_lib();
|
|
39757
|
+
TransferAccount$inboundSchema = objectType({
|
|
39758
|
+
accountID: stringType(),
|
|
39759
|
+
email: stringType(),
|
|
39760
|
+
displayName: stringType()
|
|
39761
|
+
});
|
|
39762
|
+
TransferAccount$outboundSchema = objectType({
|
|
39763
|
+
accountID: stringType(),
|
|
39764
|
+
email: stringType(),
|
|
39765
|
+
displayName: stringType()
|
|
39766
|
+
});
|
|
39767
|
+
((TransferAccount$) => {
|
|
39768
|
+
TransferAccount$.inboundSchema = TransferAccount$inboundSchema;
|
|
39769
|
+
TransferAccount$.outboundSchema = TransferAccount$outboundSchema;
|
|
39770
|
+
})(TransferAccount$ ||= {});
|
|
39771
|
+
});
|
|
39772
|
+
|
|
39773
|
+
// src/models/components/transferdestination.ts
|
|
39774
|
+
var TransferDestination$inboundSchema, TransferDestination$outboundSchema, TransferDestination$;
|
|
39775
|
+
var init_transferdestination = __esm(() => {
|
|
39776
|
+
init_lib();
|
|
39777
|
+
init_achtransactiondetails();
|
|
39778
|
+
init_applepayresponse();
|
|
39779
|
+
init_cardtransactiondetails();
|
|
39780
|
+
init_paymentmethodsbankaccount();
|
|
39781
|
+
init_paymentmethodscard();
|
|
39782
|
+
init_paymentmethodswallet();
|
|
39783
|
+
init_paymentmethodtype();
|
|
39784
|
+
init_rtptransactiondetails();
|
|
39785
|
+
init_transferaccount();
|
|
39786
|
+
TransferDestination$inboundSchema = objectType({
|
|
39787
|
+
paymentMethodID: stringType(),
|
|
39788
|
+
paymentMethodType: PaymentMethodType$inboundSchema,
|
|
39789
|
+
account: TransferAccount$inboundSchema,
|
|
39790
|
+
bankAccount: PaymentMethodsBankAccount$inboundSchema.optional(),
|
|
39791
|
+
wallet: PaymentMethodsWallet$inboundSchema.optional(),
|
|
39792
|
+
card: PaymentMethodsCard$inboundSchema.optional(),
|
|
39793
|
+
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
39794
|
+
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
39795
|
+
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
39796
|
+
rtpDetails: RTPTransactionDetails$inboundSchema.optional()
|
|
39797
|
+
});
|
|
39798
|
+
TransferDestination$outboundSchema = objectType({
|
|
39799
|
+
paymentMethodID: stringType(),
|
|
39800
|
+
paymentMethodType: PaymentMethodType$outboundSchema,
|
|
39801
|
+
account: TransferAccount$outboundSchema,
|
|
39802
|
+
bankAccount: PaymentMethodsBankAccount$outboundSchema.optional(),
|
|
39803
|
+
wallet: PaymentMethodsWallet$outboundSchema.optional(),
|
|
39804
|
+
card: PaymentMethodsCard$outboundSchema.optional(),
|
|
39805
|
+
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
39806
|
+
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
39807
|
+
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
39808
|
+
rtpDetails: RTPTransactionDetails$outboundSchema.optional()
|
|
39809
|
+
});
|
|
39810
|
+
((TransferDestination$) => {
|
|
39811
|
+
TransferDestination$.inboundSchema = TransferDestination$inboundSchema;
|
|
39812
|
+
TransferDestination$.outboundSchema = TransferDestination$outboundSchema;
|
|
39813
|
+
})(TransferDestination$ ||= {});
|
|
39814
|
+
});
|
|
39815
|
+
|
|
39816
|
+
// src/models/components/transferfailurereason.ts
|
|
39817
|
+
var TransferFailureReason, TransferFailureReason$inboundSchema, TransferFailureReason$outboundSchema, TransferFailureReason$;
|
|
39818
|
+
var init_transferfailurereason = __esm(() => {
|
|
39819
|
+
init_lib();
|
|
39820
|
+
TransferFailureReason = {
|
|
39821
|
+
SourcePaymentError: "source-payment-error",
|
|
39822
|
+
DestinationPaymentError: "destination-payment-error",
|
|
39823
|
+
WalletInsufficientFunds: "wallet-insufficient-funds",
|
|
39824
|
+
RejectedHighRisk: "rejected-high-risk",
|
|
39825
|
+
ProcessingError: "processing-error"
|
|
39826
|
+
};
|
|
39827
|
+
TransferFailureReason$inboundSchema = nativeEnumType(TransferFailureReason);
|
|
39828
|
+
TransferFailureReason$outboundSchema = TransferFailureReason$inboundSchema;
|
|
39829
|
+
((TransferFailureReason$) => {
|
|
39830
|
+
TransferFailureReason$.inboundSchema = TransferFailureReason$inboundSchema;
|
|
39831
|
+
TransferFailureReason$.outboundSchema = TransferFailureReason$outboundSchema;
|
|
39832
|
+
})(TransferFailureReason$ ||= {});
|
|
39833
|
+
});
|
|
39834
|
+
|
|
39835
|
+
// src/models/components/transfersource.ts
|
|
39836
|
+
var TransferSource$inboundSchema, TransferSource$outboundSchema, TransferSource$;
|
|
39837
|
+
var init_transfersource = __esm(() => {
|
|
39838
|
+
init_lib();
|
|
39839
|
+
init_achtransactiondetails();
|
|
39840
|
+
init_applepayresponse();
|
|
39841
|
+
init_cardtransactiondetails();
|
|
39842
|
+
init_paymentmethodsbankaccount();
|
|
39843
|
+
init_paymentmethodscard();
|
|
39844
|
+
init_paymentmethodswallet();
|
|
39845
|
+
init_paymentmethodtype();
|
|
39846
|
+
init_terminalcard();
|
|
39847
|
+
init_transferaccount();
|
|
39848
|
+
TransferSource$inboundSchema = objectType({
|
|
39849
|
+
transferID: stringType().optional(),
|
|
39850
|
+
paymentMethodID: stringType(),
|
|
39851
|
+
paymentMethodType: PaymentMethodType$inboundSchema,
|
|
39852
|
+
account: TransferAccount$inboundSchema,
|
|
39853
|
+
bankAccount: PaymentMethodsBankAccount$inboundSchema.optional(),
|
|
39854
|
+
wallet: PaymentMethodsWallet$inboundSchema.optional(),
|
|
39855
|
+
card: PaymentMethodsCard$inboundSchema.optional(),
|
|
39856
|
+
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
39857
|
+
terminalCard: TerminalCard$inboundSchema.optional(),
|
|
39858
|
+
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
39859
|
+
achDetails: ACHTransactionDetails$inboundSchema.optional()
|
|
39860
|
+
});
|
|
39861
|
+
TransferSource$outboundSchema = objectType({
|
|
39862
|
+
transferID: stringType().optional(),
|
|
39863
|
+
paymentMethodID: stringType(),
|
|
39864
|
+
paymentMethodType: PaymentMethodType$outboundSchema,
|
|
39865
|
+
account: TransferAccount$outboundSchema,
|
|
39866
|
+
bankAccount: PaymentMethodsBankAccount$outboundSchema.optional(),
|
|
39867
|
+
wallet: PaymentMethodsWallet$outboundSchema.optional(),
|
|
39868
|
+
card: PaymentMethodsCard$outboundSchema.optional(),
|
|
39869
|
+
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
39870
|
+
terminalCard: TerminalCard$outboundSchema.optional(),
|
|
39871
|
+
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
39872
|
+
achDetails: ACHTransactionDetails$outboundSchema.optional()
|
|
39873
|
+
});
|
|
39874
|
+
((TransferSource$) => {
|
|
39875
|
+
TransferSource$.inboundSchema = TransferSource$inboundSchema;
|
|
39876
|
+
TransferSource$.outboundSchema = TransferSource$outboundSchema;
|
|
39877
|
+
})(TransferSource$ ||= {});
|
|
39878
|
+
});
|
|
39879
|
+
|
|
39880
|
+
// src/models/components/transferstatus.ts
|
|
39881
|
+
var TransferStatus, TransferStatus$inboundSchema, TransferStatus$outboundSchema, TransferStatus$;
|
|
39882
|
+
var init_transferstatus = __esm(() => {
|
|
39883
|
+
init_lib();
|
|
39884
|
+
TransferStatus = {
|
|
39885
|
+
Created: "created",
|
|
39886
|
+
Pending: "pending",
|
|
39887
|
+
Completed: "completed",
|
|
39888
|
+
Failed: "failed",
|
|
39889
|
+
Reversed: "reversed",
|
|
39890
|
+
Queued: "queued",
|
|
39891
|
+
Canceled: "canceled"
|
|
39892
|
+
};
|
|
39893
|
+
TransferStatus$inboundSchema = nativeEnumType(TransferStatus);
|
|
39894
|
+
TransferStatus$outboundSchema = TransferStatus$inboundSchema;
|
|
39895
|
+
((TransferStatus$) => {
|
|
39896
|
+
TransferStatus$.inboundSchema = TransferStatus$inboundSchema;
|
|
39897
|
+
TransferStatus$.outboundSchema = TransferStatus$outboundSchema;
|
|
39898
|
+
})(TransferStatus$ ||= {});
|
|
39899
|
+
});
|
|
39900
|
+
|
|
39901
|
+
// src/models/components/createdtransfer.ts
|
|
39902
|
+
var CreatedTransfer$inboundSchema, CreatedTransfer$outboundSchema, CreatedTransfer$;
|
|
39903
|
+
var init_createdtransfer = __esm(() => {
|
|
39904
|
+
init_lib();
|
|
39905
|
+
init_amount();
|
|
39906
|
+
init_cancellation();
|
|
39907
|
+
init_cardacquiringdispute();
|
|
39908
|
+
init_cardacquiringrefund();
|
|
39909
|
+
init_facilitatorfee();
|
|
39910
|
+
init_moovfeedetails();
|
|
39911
|
+
init_transferdestination();
|
|
39912
|
+
init_transferfailurereason();
|
|
39913
|
+
init_transfersource();
|
|
39914
|
+
init_transferstatus();
|
|
39915
|
+
CreatedTransfer$inboundSchema = objectType({
|
|
39916
|
+
transferID: stringType(),
|
|
39917
|
+
createdOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)),
|
|
39918
|
+
source: TransferSource$inboundSchema.optional(),
|
|
39919
|
+
destination: TransferDestination$inboundSchema.optional(),
|
|
39920
|
+
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
39921
|
+
status: TransferStatus$inboundSchema.optional(),
|
|
39922
|
+
failureReason: TransferFailureReason$inboundSchema.optional(),
|
|
39923
|
+
amount: Amount$inboundSchema.optional(),
|
|
39924
|
+
description: stringType().optional(),
|
|
39925
|
+
metadata: recordType(stringType()).optional(),
|
|
39926
|
+
facilitatorFee: FacilitatorFee$inboundSchema.optional(),
|
|
39927
|
+
moovFee: numberType().int().optional(),
|
|
39928
|
+
moovFeeDecimal: stringType().optional(),
|
|
39929
|
+
moovFeeDetails: MoovFeeDetails$inboundSchema.optional(),
|
|
39930
|
+
groupID: stringType().optional(),
|
|
39931
|
+
cancellations: arrayType(Cancellation$inboundSchema).optional(),
|
|
39932
|
+
refundedAmount: Amount$inboundSchema.optional(),
|
|
39933
|
+
refunds: arrayType(CardAcquiringRefund$inboundSchema).optional(),
|
|
39934
|
+
disputedAmount: Amount$inboundSchema.optional(),
|
|
39935
|
+
disputes: arrayType(CardAcquiringDispute$inboundSchema).optional(),
|
|
39936
|
+
sweepID: stringType().optional(),
|
|
39937
|
+
scheduleID: stringType().optional(),
|
|
39938
|
+
occurrenceID: stringType().optional(),
|
|
39939
|
+
salesTaxAmount: Amount$inboundSchema.optional()
|
|
39940
|
+
});
|
|
39941
|
+
CreatedTransfer$outboundSchema = objectType({
|
|
39942
|
+
transferID: stringType(),
|
|
39943
|
+
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
39944
|
+
source: TransferSource$outboundSchema.optional(),
|
|
39945
|
+
destination: TransferDestination$outboundSchema.optional(),
|
|
39946
|
+
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
39947
|
+
status: TransferStatus$outboundSchema.optional(),
|
|
39948
|
+
failureReason: TransferFailureReason$outboundSchema.optional(),
|
|
39949
|
+
amount: Amount$outboundSchema.optional(),
|
|
39950
|
+
description: stringType().optional(),
|
|
39951
|
+
metadata: recordType(stringType()).optional(),
|
|
39952
|
+
facilitatorFee: FacilitatorFee$outboundSchema.optional(),
|
|
39953
|
+
moovFee: numberType().int().optional(),
|
|
39954
|
+
moovFeeDecimal: stringType().optional(),
|
|
39955
|
+
moovFeeDetails: MoovFeeDetails$outboundSchema.optional(),
|
|
39956
|
+
groupID: stringType().optional(),
|
|
39957
|
+
cancellations: arrayType(Cancellation$outboundSchema).optional(),
|
|
39958
|
+
refundedAmount: Amount$outboundSchema.optional(),
|
|
39959
|
+
refunds: arrayType(CardAcquiringRefund$outboundSchema).optional(),
|
|
39960
|
+
disputedAmount: Amount$outboundSchema.optional(),
|
|
39961
|
+
disputes: arrayType(CardAcquiringDispute$outboundSchema).optional(),
|
|
39962
|
+
sweepID: stringType().optional(),
|
|
39963
|
+
scheduleID: stringType().optional(),
|
|
39964
|
+
occurrenceID: stringType().optional(),
|
|
39965
|
+
salesTaxAmount: Amount$outboundSchema.optional()
|
|
39966
|
+
});
|
|
39967
|
+
((CreatedTransfer$) => {
|
|
39968
|
+
CreatedTransfer$.inboundSchema = CreatedTransfer$inboundSchema;
|
|
39969
|
+
CreatedTransfer$.outboundSchema = CreatedTransfer$outboundSchema;
|
|
39970
|
+
})(CreatedTransfer$ ||= {});
|
|
39971
|
+
});
|
|
39972
|
+
|
|
39618
39973
|
// src/types/blobs.ts
|
|
39619
39974
|
function isBlobLike(val) {
|
|
39620
39975
|
if (val instanceof Blob) {
|
|
@@ -40191,28 +40546,6 @@ var init_createtransfersource = __esm(() => {
|
|
|
40191
40546
|
})(CreateTransferSource$ ||= {});
|
|
40192
40547
|
});
|
|
40193
40548
|
|
|
40194
|
-
// src/models/components/facilitatorfee.ts
|
|
40195
|
-
var FacilitatorFee$inboundSchema, FacilitatorFee$outboundSchema, FacilitatorFee$;
|
|
40196
|
-
var init_facilitatorfee = __esm(() => {
|
|
40197
|
-
init_lib();
|
|
40198
|
-
FacilitatorFee$inboundSchema = objectType({
|
|
40199
|
-
total: numberType().int().optional(),
|
|
40200
|
-
totalDecimal: stringType().optional(),
|
|
40201
|
-
markup: numberType().int().optional(),
|
|
40202
|
-
markupDecimal: stringType().optional()
|
|
40203
|
-
});
|
|
40204
|
-
FacilitatorFee$outboundSchema = objectType({
|
|
40205
|
-
total: numberType().int().optional(),
|
|
40206
|
-
totalDecimal: stringType().optional(),
|
|
40207
|
-
markup: numberType().int().optional(),
|
|
40208
|
-
markupDecimal: stringType().optional()
|
|
40209
|
-
});
|
|
40210
|
-
((FacilitatorFee$) => {
|
|
40211
|
-
FacilitatorFee$.inboundSchema = FacilitatorFee$inboundSchema;
|
|
40212
|
-
FacilitatorFee$.outboundSchema = FacilitatorFee$outboundSchema;
|
|
40213
|
-
})(FacilitatorFee$ ||= {});
|
|
40214
|
-
});
|
|
40215
|
-
|
|
40216
40549
|
// src/models/components/createtransfer.ts
|
|
40217
40550
|
var CreateTransfer$inboundSchema, CreateTransfer$outboundSchema, CreateTransfer$;
|
|
40218
40551
|
var init_createtransfer = __esm(() => {
|
|
@@ -41971,42 +42304,45 @@ var init_manualtermsofserviceupdate = __esm(() => {
|
|
|
41971
42304
|
})(ManualTermsOfServiceUpdate$ ||= {});
|
|
41972
42305
|
});
|
|
41973
42306
|
|
|
41974
|
-
// src/models/components/
|
|
41975
|
-
var
|
|
41976
|
-
var
|
|
42307
|
+
// src/models/components/transferparty.ts
|
|
42308
|
+
var TransferParty, TransferParty$inboundSchema, TransferParty$outboundSchema, TransferParty$;
|
|
42309
|
+
var init_transferparty = __esm(() => {
|
|
41977
42310
|
init_lib();
|
|
41978
|
-
|
|
41979
|
-
|
|
41980
|
-
|
|
41981
|
-
|
|
41982
|
-
|
|
41983
|
-
|
|
41984
|
-
|
|
41985
|
-
|
|
41986
|
-
|
|
41987
|
-
|
|
41988
|
-
|
|
41989
|
-
});
|
|
41990
|
-
((MoovFeeDetails$) => {
|
|
41991
|
-
MoovFeeDetails$.inboundSchema = MoovFeeDetails$inboundSchema;
|
|
41992
|
-
MoovFeeDetails$.outboundSchema = MoovFeeDetails$outboundSchema;
|
|
41993
|
-
})(MoovFeeDetails$ ||= {});
|
|
42311
|
+
TransferParty = {
|
|
42312
|
+
Source: "source",
|
|
42313
|
+
Destination: "destination",
|
|
42314
|
+
Partner: "partner"
|
|
42315
|
+
};
|
|
42316
|
+
TransferParty$inboundSchema = nativeEnumType(TransferParty);
|
|
42317
|
+
TransferParty$outboundSchema = TransferParty$inboundSchema;
|
|
42318
|
+
((TransferParty$) => {
|
|
42319
|
+
TransferParty$.inboundSchema = TransferParty$inboundSchema;
|
|
42320
|
+
TransferParty$.outboundSchema = TransferParty$outboundSchema;
|
|
42321
|
+
})(TransferParty$ ||= {});
|
|
41994
42322
|
});
|
|
41995
42323
|
|
|
41996
|
-
// src/models/components/
|
|
41997
|
-
var
|
|
41998
|
-
var
|
|
42324
|
+
// src/models/components/moovfee.ts
|
|
42325
|
+
var MoovFee$inboundSchema, MoovFee$outboundSchema, MoovFee$;
|
|
42326
|
+
var init_moovfee = __esm(() => {
|
|
41999
42327
|
init_lib();
|
|
42000
|
-
|
|
42001
|
-
|
|
42328
|
+
init_amountdecimal();
|
|
42329
|
+
init_transferparty();
|
|
42330
|
+
MoovFee$inboundSchema = objectType({
|
|
42331
|
+
accountID: stringType(),
|
|
42332
|
+
transferParty: TransferParty$inboundSchema,
|
|
42333
|
+
totalAmount: AmountDecimal$inboundSchema,
|
|
42334
|
+
feeIDs: arrayType(stringType())
|
|
42002
42335
|
});
|
|
42003
|
-
|
|
42004
|
-
|
|
42336
|
+
MoovFee$outboundSchema = objectType({
|
|
42337
|
+
accountID: stringType(),
|
|
42338
|
+
transferParty: TransferParty$outboundSchema,
|
|
42339
|
+
totalAmount: AmountDecimal$outboundSchema,
|
|
42340
|
+
feeIDs: arrayType(stringType())
|
|
42005
42341
|
});
|
|
42006
|
-
((
|
|
42007
|
-
|
|
42008
|
-
|
|
42009
|
-
})(
|
|
42342
|
+
((MoovFee$) => {
|
|
42343
|
+
MoovFee$.inboundSchema = MoovFee$inboundSchema;
|
|
42344
|
+
MoovFee$.outboundSchema = MoovFee$outboundSchema;
|
|
42345
|
+
})(MoovFee$ ||= {});
|
|
42010
42346
|
});
|
|
42011
42347
|
|
|
42012
42348
|
// src/models/components/moovwalletpaymentmethod.ts
|
|
@@ -43163,7 +43499,7 @@ var init_receiptresponse = __esm(() => {
|
|
|
43163
43499
|
forTransferID: stringType().optional(),
|
|
43164
43500
|
forScheduleID: stringType().optional(),
|
|
43165
43501
|
forOccurrenceID: stringType().optional(),
|
|
43166
|
-
sentFor: arrayType(SentReceipt$inboundSchema)
|
|
43502
|
+
sentFor: arrayType(SentReceipt$inboundSchema).optional()
|
|
43167
43503
|
});
|
|
43168
43504
|
ReceiptResponse$outboundSchema = objectType({
|
|
43169
43505
|
receiptID: stringType(),
|
|
@@ -43175,7 +43511,7 @@ var init_receiptresponse = __esm(() => {
|
|
|
43175
43511
|
forTransferID: stringType().optional(),
|
|
43176
43512
|
forScheduleID: stringType().optional(),
|
|
43177
43513
|
forOccurrenceID: stringType().optional(),
|
|
43178
|
-
sentFor: arrayType(SentReceipt$outboundSchema)
|
|
43514
|
+
sentFor: arrayType(SentReceipt$outboundSchema).optional()
|
|
43179
43515
|
});
|
|
43180
43516
|
((ReceiptResponse$) => {
|
|
43181
43517
|
ReceiptResponse$.inboundSchema = ReceiptResponse$inboundSchema;
|
|
@@ -43375,78 +43711,6 @@ var init_revoketokenrequest = __esm(() => {
|
|
|
43375
43711
|
})(RevokeTokenRequest$ ||= {});
|
|
43376
43712
|
});
|
|
43377
43713
|
|
|
43378
|
-
// src/models/components/rtpfailurecode.ts
|
|
43379
|
-
var RTPFailureCode, RTPFailureCode$inboundSchema, RTPFailureCode$outboundSchema, RTPFailureCode$;
|
|
43380
|
-
var init_rtpfailurecode = __esm(() => {
|
|
43381
|
-
init_lib();
|
|
43382
|
-
RTPFailureCode = {
|
|
43383
|
-
ProcessingError: "processing-error",
|
|
43384
|
-
InvalidAccount: "invalid-account",
|
|
43385
|
-
AccountClosed: "account-closed",
|
|
43386
|
-
AccountBlocked: "account-blocked",
|
|
43387
|
-
InvalidField: "invalid-field",
|
|
43388
|
-
TransactionNotSupported: "transaction-not-supported",
|
|
43389
|
-
LimitExceeded: "limit-exceeded",
|
|
43390
|
-
InvalidAmount: "invalid-amount",
|
|
43391
|
-
CustomerDeceased: "customer-deceased",
|
|
43392
|
-
Other: "other"
|
|
43393
|
-
};
|
|
43394
|
-
RTPFailureCode$inboundSchema = nativeEnumType(RTPFailureCode);
|
|
43395
|
-
RTPFailureCode$outboundSchema = RTPFailureCode$inboundSchema;
|
|
43396
|
-
((RTPFailureCode$) => {
|
|
43397
|
-
RTPFailureCode$.inboundSchema = RTPFailureCode$inboundSchema;
|
|
43398
|
-
RTPFailureCode$.outboundSchema = RTPFailureCode$outboundSchema;
|
|
43399
|
-
})(RTPFailureCode$ ||= {});
|
|
43400
|
-
});
|
|
43401
|
-
|
|
43402
|
-
// src/models/components/rtptransactionstatus.ts
|
|
43403
|
-
var RTPTransactionStatus, RTPTransactionStatus$inboundSchema, RTPTransactionStatus$outboundSchema, RTPTransactionStatus$;
|
|
43404
|
-
var init_rtptransactionstatus = __esm(() => {
|
|
43405
|
-
init_lib();
|
|
43406
|
-
RTPTransactionStatus = {
|
|
43407
|
-
Initiated: "initiated",
|
|
43408
|
-
Completed: "completed",
|
|
43409
|
-
Failed: "failed",
|
|
43410
|
-
AcceptedWithoutPosting: "accepted-without-posting"
|
|
43411
|
-
};
|
|
43412
|
-
RTPTransactionStatus$inboundSchema = nativeEnumType(RTPTransactionStatus);
|
|
43413
|
-
RTPTransactionStatus$outboundSchema = RTPTransactionStatus$inboundSchema;
|
|
43414
|
-
((RTPTransactionStatus$) => {
|
|
43415
|
-
RTPTransactionStatus$.inboundSchema = RTPTransactionStatus$inboundSchema;
|
|
43416
|
-
RTPTransactionStatus$.outboundSchema = RTPTransactionStatus$outboundSchema;
|
|
43417
|
-
})(RTPTransactionStatus$ ||= {});
|
|
43418
|
-
});
|
|
43419
|
-
|
|
43420
|
-
// src/models/components/rtptransactiondetails.ts
|
|
43421
|
-
var RTPTransactionDetails$inboundSchema, RTPTransactionDetails$outboundSchema, RTPTransactionDetails$;
|
|
43422
|
-
var init_rtptransactiondetails = __esm(() => {
|
|
43423
|
-
init_lib();
|
|
43424
|
-
init_rtpfailurecode();
|
|
43425
|
-
init_rtptransactionstatus();
|
|
43426
|
-
RTPTransactionDetails$inboundSchema = objectType({
|
|
43427
|
-
status: RTPTransactionStatus$inboundSchema,
|
|
43428
|
-
networkResponseCode: stringType().optional(),
|
|
43429
|
-
failureCode: RTPFailureCode$inboundSchema.optional(),
|
|
43430
|
-
initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
43431
|
-
completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
43432
|
-
failedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
|
|
43433
|
-
acceptedWithoutPostingOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional()
|
|
43434
|
-
});
|
|
43435
|
-
RTPTransactionDetails$outboundSchema = objectType({
|
|
43436
|
-
status: RTPTransactionStatus$outboundSchema,
|
|
43437
|
-
networkResponseCode: stringType().optional(),
|
|
43438
|
-
failureCode: RTPFailureCode$outboundSchema.optional(),
|
|
43439
|
-
initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
43440
|
-
completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
43441
|
-
failedOn: dateType().transform((v2) => v2.toISOString()).optional(),
|
|
43442
|
-
acceptedWithoutPostingOn: dateType().transform((v2) => v2.toISOString()).optional()
|
|
43443
|
-
});
|
|
43444
|
-
((RTPTransactionDetails$) => {
|
|
43445
|
-
RTPTransactionDetails$.inboundSchema = RTPTransactionDetails$inboundSchema;
|
|
43446
|
-
RTPTransactionDetails$.outboundSchema = RTPTransactionDetails$outboundSchema;
|
|
43447
|
-
})(RTPTransactionDetails$ ||= {});
|
|
43448
|
-
});
|
|
43449
|
-
|
|
43450
43714
|
// src/models/components/schedulelistresponse.ts
|
|
43451
43715
|
var ScheduleListResponse$inboundSchema, ScheduleListResponse$outboundSchema, ScheduleListResponse$;
|
|
43452
43716
|
var init_schedulelistresponse = __esm(() => {
|
|
@@ -43733,154 +43997,6 @@ var init_terminalconfiguration = __esm(() => {
|
|
|
43733
43997
|
})(TerminalConfiguration$ ||= {});
|
|
43734
43998
|
});
|
|
43735
43999
|
|
|
43736
|
-
// src/models/components/transferaccount.ts
|
|
43737
|
-
var TransferAccount$inboundSchema, TransferAccount$outboundSchema, TransferAccount$;
|
|
43738
|
-
var init_transferaccount = __esm(() => {
|
|
43739
|
-
init_lib();
|
|
43740
|
-
TransferAccount$inboundSchema = objectType({
|
|
43741
|
-
accountID: stringType(),
|
|
43742
|
-
email: stringType(),
|
|
43743
|
-
displayName: stringType()
|
|
43744
|
-
});
|
|
43745
|
-
TransferAccount$outboundSchema = objectType({
|
|
43746
|
-
accountID: stringType(),
|
|
43747
|
-
email: stringType(),
|
|
43748
|
-
displayName: stringType()
|
|
43749
|
-
});
|
|
43750
|
-
((TransferAccount$) => {
|
|
43751
|
-
TransferAccount$.inboundSchema = TransferAccount$inboundSchema;
|
|
43752
|
-
TransferAccount$.outboundSchema = TransferAccount$outboundSchema;
|
|
43753
|
-
})(TransferAccount$ ||= {});
|
|
43754
|
-
});
|
|
43755
|
-
|
|
43756
|
-
// src/models/components/transferdestination.ts
|
|
43757
|
-
var TransferDestination$inboundSchema, TransferDestination$outboundSchema, TransferDestination$;
|
|
43758
|
-
var init_transferdestination = __esm(() => {
|
|
43759
|
-
init_lib();
|
|
43760
|
-
init_achtransactiondetails();
|
|
43761
|
-
init_applepayresponse();
|
|
43762
|
-
init_cardtransactiondetails();
|
|
43763
|
-
init_paymentmethodsbankaccount();
|
|
43764
|
-
init_paymentmethodscard();
|
|
43765
|
-
init_paymentmethodswallet();
|
|
43766
|
-
init_paymentmethodtype();
|
|
43767
|
-
init_rtptransactiondetails();
|
|
43768
|
-
init_transferaccount();
|
|
43769
|
-
TransferDestination$inboundSchema = objectType({
|
|
43770
|
-
paymentMethodID: stringType(),
|
|
43771
|
-
paymentMethodType: PaymentMethodType$inboundSchema,
|
|
43772
|
-
account: TransferAccount$inboundSchema,
|
|
43773
|
-
bankAccount: PaymentMethodsBankAccount$inboundSchema.optional(),
|
|
43774
|
-
wallet: PaymentMethodsWallet$inboundSchema.optional(),
|
|
43775
|
-
card: PaymentMethodsCard$inboundSchema.optional(),
|
|
43776
|
-
achDetails: ACHTransactionDetails$inboundSchema.optional(),
|
|
43777
|
-
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
43778
|
-
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
43779
|
-
rtpDetails: RTPTransactionDetails$inboundSchema.optional()
|
|
43780
|
-
});
|
|
43781
|
-
TransferDestination$outboundSchema = objectType({
|
|
43782
|
-
paymentMethodID: stringType(),
|
|
43783
|
-
paymentMethodType: PaymentMethodType$outboundSchema,
|
|
43784
|
-
account: TransferAccount$outboundSchema,
|
|
43785
|
-
bankAccount: PaymentMethodsBankAccount$outboundSchema.optional(),
|
|
43786
|
-
wallet: PaymentMethodsWallet$outboundSchema.optional(),
|
|
43787
|
-
card: PaymentMethodsCard$outboundSchema.optional(),
|
|
43788
|
-
achDetails: ACHTransactionDetails$outboundSchema.optional(),
|
|
43789
|
-
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
43790
|
-
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
43791
|
-
rtpDetails: RTPTransactionDetails$outboundSchema.optional()
|
|
43792
|
-
});
|
|
43793
|
-
((TransferDestination$) => {
|
|
43794
|
-
TransferDestination$.inboundSchema = TransferDestination$inboundSchema;
|
|
43795
|
-
TransferDestination$.outboundSchema = TransferDestination$outboundSchema;
|
|
43796
|
-
})(TransferDestination$ ||= {});
|
|
43797
|
-
});
|
|
43798
|
-
|
|
43799
|
-
// src/models/components/transferfailurereason.ts
|
|
43800
|
-
var TransferFailureReason, TransferFailureReason$inboundSchema, TransferFailureReason$outboundSchema, TransferFailureReason$;
|
|
43801
|
-
var init_transferfailurereason = __esm(() => {
|
|
43802
|
-
init_lib();
|
|
43803
|
-
TransferFailureReason = {
|
|
43804
|
-
SourcePaymentError: "source-payment-error",
|
|
43805
|
-
DestinationPaymentError: "destination-payment-error",
|
|
43806
|
-
WalletInsufficientFunds: "wallet-insufficient-funds",
|
|
43807
|
-
RejectedHighRisk: "rejected-high-risk",
|
|
43808
|
-
ProcessingError: "processing-error"
|
|
43809
|
-
};
|
|
43810
|
-
TransferFailureReason$inboundSchema = nativeEnumType(TransferFailureReason);
|
|
43811
|
-
TransferFailureReason$outboundSchema = TransferFailureReason$inboundSchema;
|
|
43812
|
-
((TransferFailureReason$) => {
|
|
43813
|
-
TransferFailureReason$.inboundSchema = TransferFailureReason$inboundSchema;
|
|
43814
|
-
TransferFailureReason$.outboundSchema = TransferFailureReason$outboundSchema;
|
|
43815
|
-
})(TransferFailureReason$ ||= {});
|
|
43816
|
-
});
|
|
43817
|
-
|
|
43818
|
-
// src/models/components/transfersource.ts
|
|
43819
|
-
var TransferSource$inboundSchema, TransferSource$outboundSchema, TransferSource$;
|
|
43820
|
-
var init_transfersource = __esm(() => {
|
|
43821
|
-
init_lib();
|
|
43822
|
-
init_achtransactiondetails();
|
|
43823
|
-
init_applepayresponse();
|
|
43824
|
-
init_cardtransactiondetails();
|
|
43825
|
-
init_paymentmethodsbankaccount();
|
|
43826
|
-
init_paymentmethodscard();
|
|
43827
|
-
init_paymentmethodswallet();
|
|
43828
|
-
init_paymentmethodtype();
|
|
43829
|
-
init_terminalcard();
|
|
43830
|
-
init_transferaccount();
|
|
43831
|
-
TransferSource$inboundSchema = objectType({
|
|
43832
|
-
transferID: stringType().optional(),
|
|
43833
|
-
paymentMethodID: stringType(),
|
|
43834
|
-
paymentMethodType: PaymentMethodType$inboundSchema,
|
|
43835
|
-
account: TransferAccount$inboundSchema,
|
|
43836
|
-
bankAccount: PaymentMethodsBankAccount$inboundSchema.optional(),
|
|
43837
|
-
wallet: PaymentMethodsWallet$inboundSchema.optional(),
|
|
43838
|
-
card: PaymentMethodsCard$inboundSchema.optional(),
|
|
43839
|
-
applePay: ApplePayResponse$inboundSchema.optional(),
|
|
43840
|
-
terminalCard: TerminalCard$inboundSchema.optional(),
|
|
43841
|
-
cardDetails: CardTransactionDetails$inboundSchema.optional(),
|
|
43842
|
-
achDetails: ACHTransactionDetails$inboundSchema.optional()
|
|
43843
|
-
});
|
|
43844
|
-
TransferSource$outboundSchema = objectType({
|
|
43845
|
-
transferID: stringType().optional(),
|
|
43846
|
-
paymentMethodID: stringType(),
|
|
43847
|
-
paymentMethodType: PaymentMethodType$outboundSchema,
|
|
43848
|
-
account: TransferAccount$outboundSchema,
|
|
43849
|
-
bankAccount: PaymentMethodsBankAccount$outboundSchema.optional(),
|
|
43850
|
-
wallet: PaymentMethodsWallet$outboundSchema.optional(),
|
|
43851
|
-
card: PaymentMethodsCard$outboundSchema.optional(),
|
|
43852
|
-
applePay: ApplePayResponse$outboundSchema.optional(),
|
|
43853
|
-
terminalCard: TerminalCard$outboundSchema.optional(),
|
|
43854
|
-
cardDetails: CardTransactionDetails$outboundSchema.optional(),
|
|
43855
|
-
achDetails: ACHTransactionDetails$outboundSchema.optional()
|
|
43856
|
-
});
|
|
43857
|
-
((TransferSource$) => {
|
|
43858
|
-
TransferSource$.inboundSchema = TransferSource$inboundSchema;
|
|
43859
|
-
TransferSource$.outboundSchema = TransferSource$outboundSchema;
|
|
43860
|
-
})(TransferSource$ ||= {});
|
|
43861
|
-
});
|
|
43862
|
-
|
|
43863
|
-
// src/models/components/transferstatus.ts
|
|
43864
|
-
var TransferStatus, TransferStatus$inboundSchema, TransferStatus$outboundSchema, TransferStatus$;
|
|
43865
|
-
var init_transferstatus = __esm(() => {
|
|
43866
|
-
init_lib();
|
|
43867
|
-
TransferStatus = {
|
|
43868
|
-
Created: "created",
|
|
43869
|
-
Pending: "pending",
|
|
43870
|
-
Completed: "completed",
|
|
43871
|
-
Failed: "failed",
|
|
43872
|
-
Reversed: "reversed",
|
|
43873
|
-
Queued: "queued",
|
|
43874
|
-
Canceled: "canceled"
|
|
43875
|
-
};
|
|
43876
|
-
TransferStatus$inboundSchema = nativeEnumType(TransferStatus);
|
|
43877
|
-
TransferStatus$outboundSchema = TransferStatus$inboundSchema;
|
|
43878
|
-
((TransferStatus$) => {
|
|
43879
|
-
TransferStatus$.inboundSchema = TransferStatus$inboundSchema;
|
|
43880
|
-
TransferStatus$.outboundSchema = TransferStatus$outboundSchema;
|
|
43881
|
-
})(TransferStatus$ ||= {});
|
|
43882
|
-
});
|
|
43883
|
-
|
|
43884
44000
|
// src/models/components/transfer.ts
|
|
43885
44001
|
var Transfer$inboundSchema, Transfer$outboundSchema, Transfer$;
|
|
43886
44002
|
var init_transfer = __esm(() => {
|
|
@@ -43890,6 +44006,7 @@ var init_transfer = __esm(() => {
|
|
|
43890
44006
|
init_cardacquiringdispute();
|
|
43891
44007
|
init_cardacquiringrefund();
|
|
43892
44008
|
init_facilitatorfee();
|
|
44009
|
+
init_moovfee();
|
|
43893
44010
|
init_moovfeedetails();
|
|
43894
44011
|
init_transferdestination();
|
|
43895
44012
|
init_transferfailurereason();
|
|
@@ -43910,6 +44027,7 @@ var init_transfer = __esm(() => {
|
|
|
43910
44027
|
moovFee: numberType().int().optional(),
|
|
43911
44028
|
moovFeeDecimal: stringType().optional(),
|
|
43912
44029
|
moovFeeDetails: MoovFeeDetails$inboundSchema.optional(),
|
|
44030
|
+
moovFees: arrayType(MoovFee$inboundSchema).optional(),
|
|
43913
44031
|
groupID: stringType().optional(),
|
|
43914
44032
|
cancellations: arrayType(Cancellation$inboundSchema).optional(),
|
|
43915
44033
|
refundedAmount: Amount$inboundSchema.optional(),
|
|
@@ -43936,6 +44054,7 @@ var init_transfer = __esm(() => {
|
|
|
43936
44054
|
moovFee: numberType().int().optional(),
|
|
43937
44055
|
moovFeeDecimal: stringType().optional(),
|
|
43938
44056
|
moovFeeDetails: MoovFeeDetails$outboundSchema.optional(),
|
|
44057
|
+
moovFees: arrayType(MoovFee$outboundSchema).optional(),
|
|
43939
44058
|
groupID: stringType().optional(),
|
|
43940
44059
|
cancellations: arrayType(Cancellation$outboundSchema).optional(),
|
|
43941
44060
|
refundedAmount: Amount$outboundSchema.optional(),
|
|
@@ -43972,20 +44091,6 @@ var init_transferoptions = __esm(() => {
|
|
|
43972
44091
|
})(TransferOptions$ ||= {});
|
|
43973
44092
|
});
|
|
43974
44093
|
|
|
43975
|
-
// src/models/components/transferresponse.ts
|
|
43976
|
-
var TransferResponse$inboundSchema, TransferResponse$outboundSchema, TransferResponse$;
|
|
43977
|
-
var init_transferresponse = __esm(() => {
|
|
43978
|
-
init_lib();
|
|
43979
|
-
init_asynctransfer();
|
|
43980
|
-
init_transfer();
|
|
43981
|
-
TransferResponse$inboundSchema = unionType([AsyncTransfer$inboundSchema, Transfer$inboundSchema]);
|
|
43982
|
-
TransferResponse$outboundSchema = unionType([AsyncTransfer$outboundSchema, Transfer$outboundSchema]);
|
|
43983
|
-
((TransferResponse$) => {
|
|
43984
|
-
TransferResponse$.inboundSchema = TransferResponse$inboundSchema;
|
|
43985
|
-
TransferResponse$.outboundSchema = TransferResponse$outboundSchema;
|
|
43986
|
-
})(TransferResponse$ ||= {});
|
|
43987
|
-
});
|
|
43988
|
-
|
|
43989
44094
|
// src/models/components/transferwaitfor.ts
|
|
43990
44095
|
var TransferWaitFor, TransferWaitFor$inboundSchema, TransferWaitFor$outboundSchema, TransferWaitFor$;
|
|
43991
44096
|
var init_transferwaitfor = __esm(() => {
|
|
@@ -44785,6 +44890,7 @@ var init_components = __esm(() => {
|
|
|
44785
44890
|
init_createauthorizeduserupdate();
|
|
44786
44891
|
init_createbusinesserror();
|
|
44787
44892
|
init_createbusinessprofile();
|
|
44893
|
+
init_createdtransfer();
|
|
44788
44894
|
init_createevidencefilemultipart();
|
|
44789
44895
|
init_createevidencetext();
|
|
44790
44896
|
init_createfeeplanagreement();
|
|
@@ -44895,6 +45001,7 @@ var init_components = __esm(() => {
|
|
|
44895
45001
|
init_minimumcommitment();
|
|
44896
45002
|
init_mode();
|
|
44897
45003
|
init_monthlyplatformfee();
|
|
45004
|
+
init_moovfee();
|
|
44898
45005
|
init_moovfeedetails();
|
|
44899
45006
|
init_moovwalletpaymentmethod();
|
|
44900
45007
|
init_mxauthorizationcode();
|
|
@@ -45002,7 +45109,7 @@ var init_components = __esm(() => {
|
|
|
45002
45109
|
init_transferdestination();
|
|
45003
45110
|
init_transferfailurereason();
|
|
45004
45111
|
init_transferoptions();
|
|
45005
|
-
|
|
45112
|
+
init_transferparty();
|
|
45006
45113
|
init_transfersource();
|
|
45007
45114
|
init_transferstatus();
|
|
45008
45115
|
init_transferwaitfor();
|
|
@@ -45220,11 +45327,11 @@ var init_brandvalidationerror = __esm(() => {
|
|
|
45220
45327
|
});
|
|
45221
45328
|
|
|
45222
45329
|
// src/models/errors/cardacquiringrefund.ts
|
|
45223
|
-
var
|
|
45330
|
+
var CardAcquiringRefund5, CardAcquiringRefund$inboundSchema2, CardAcquiringRefund$outboundSchema2, CardAcquiringRefund$2;
|
|
45224
45331
|
var init_cardacquiringrefund2 = __esm(() => {
|
|
45225
45332
|
init_lib();
|
|
45226
45333
|
init_components();
|
|
45227
|
-
|
|
45334
|
+
CardAcquiringRefund5 = class CardAcquiringRefund5 extends Error {
|
|
45228
45335
|
refundID;
|
|
45229
45336
|
createdOn;
|
|
45230
45337
|
updatedOn;
|
|
@@ -45254,9 +45361,9 @@ var init_cardacquiringrefund2 = __esm(() => {
|
|
|
45254
45361
|
amount: Amount$inboundSchema,
|
|
45255
45362
|
cardDetails: RefundCardDetails$inboundSchema.optional()
|
|
45256
45363
|
}).transform((v2) => {
|
|
45257
|
-
return new
|
|
45364
|
+
return new CardAcquiringRefund5(v2);
|
|
45258
45365
|
});
|
|
45259
|
-
CardAcquiringRefund$outboundSchema2 = instanceOfType(
|
|
45366
|
+
CardAcquiringRefund$outboundSchema2 = instanceOfType(CardAcquiringRefund5).transform((v2) => v2.data$).pipe(objectType({
|
|
45260
45367
|
refundID: stringType(),
|
|
45261
45368
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
45262
45369
|
updatedOn: dateType().transform((v2) => v2.toISOString()),
|
|
@@ -46141,11 +46248,11 @@ var init_terminalapplicationerror = __esm(() => {
|
|
|
46141
46248
|
});
|
|
46142
46249
|
|
|
46143
46250
|
// src/models/errors/transfer.ts
|
|
46144
|
-
var
|
|
46251
|
+
var Transfer, Transfer$inboundSchema2, Transfer$outboundSchema2, Transfer$2;
|
|
46145
46252
|
var init_transfer2 = __esm(() => {
|
|
46146
46253
|
init_lib();
|
|
46147
46254
|
init_components();
|
|
46148
|
-
|
|
46255
|
+
Transfer = class Transfer extends Error {
|
|
46149
46256
|
transferID;
|
|
46150
46257
|
createdOn;
|
|
46151
46258
|
source;
|
|
@@ -46160,6 +46267,7 @@ var init_transfer2 = __esm(() => {
|
|
|
46160
46267
|
moovFee;
|
|
46161
46268
|
moovFeeDecimal;
|
|
46162
46269
|
moovFeeDetails;
|
|
46270
|
+
moovFees;
|
|
46163
46271
|
groupID;
|
|
46164
46272
|
cancellations;
|
|
46165
46273
|
refundedAmount;
|
|
@@ -46197,6 +46305,8 @@ var init_transfer2 = __esm(() => {
|
|
|
46197
46305
|
this.moovFeeDecimal = err.moovFeeDecimal;
|
|
46198
46306
|
if (err.moovFeeDetails != null)
|
|
46199
46307
|
this.moovFeeDetails = err.moovFeeDetails;
|
|
46308
|
+
if (err.moovFees != null)
|
|
46309
|
+
this.moovFees = err.moovFees;
|
|
46200
46310
|
if (err.groupID != null)
|
|
46201
46311
|
this.groupID = err.groupID;
|
|
46202
46312
|
if (err.cancellations != null)
|
|
@@ -46235,6 +46345,7 @@ var init_transfer2 = __esm(() => {
|
|
|
46235
46345
|
moovFee: numberType().int().optional(),
|
|
46236
46346
|
moovFeeDecimal: stringType().optional(),
|
|
46237
46347
|
moovFeeDetails: MoovFeeDetails$inboundSchema.optional(),
|
|
46348
|
+
moovFees: arrayType(MoovFee$inboundSchema).optional(),
|
|
46238
46349
|
groupID: stringType().optional(),
|
|
46239
46350
|
cancellations: arrayType(Cancellation$inboundSchema).optional(),
|
|
46240
46351
|
refundedAmount: Amount$inboundSchema.optional(),
|
|
@@ -46246,9 +46357,9 @@ var init_transfer2 = __esm(() => {
|
|
|
46246
46357
|
occurrenceID: stringType().optional(),
|
|
46247
46358
|
salesTaxAmount: Amount$inboundSchema.optional()
|
|
46248
46359
|
}).transform((v2) => {
|
|
46249
|
-
return new
|
|
46360
|
+
return new Transfer(v2);
|
|
46250
46361
|
});
|
|
46251
|
-
Transfer$outboundSchema2 = instanceOfType(
|
|
46362
|
+
Transfer$outboundSchema2 = instanceOfType(Transfer).transform((v2) => v2.data$).pipe(objectType({
|
|
46252
46363
|
transferID: stringType(),
|
|
46253
46364
|
createdOn: dateType().transform((v2) => v2.toISOString()),
|
|
46254
46365
|
source: TransferSource$outboundSchema,
|
|
@@ -46263,6 +46374,7 @@ var init_transfer2 = __esm(() => {
|
|
|
46263
46374
|
moovFee: numberType().int().optional(),
|
|
46264
46375
|
moovFeeDecimal: stringType().optional(),
|
|
46265
46376
|
moovFeeDetails: MoovFeeDetails$outboundSchema.optional(),
|
|
46377
|
+
moovFees: arrayType(MoovFee$outboundSchema).optional(),
|
|
46266
46378
|
groupID: stringType().optional(),
|
|
46267
46379
|
cancellations: arrayType(Cancellation$outboundSchema).optional(),
|
|
46268
46380
|
refundedAmount: Amount$outboundSchema.optional(),
|
|
@@ -47917,13 +48029,13 @@ var init_createtransfer2 = __esm(() => {
|
|
|
47917
48029
|
})(CreateTransferRequest$ ||= {});
|
|
47918
48030
|
CreateTransferResponseResult$inboundSchema = unionType([
|
|
47919
48031
|
AsyncTransfer$inboundSchema,
|
|
47920
|
-
|
|
47921
|
-
|
|
48032
|
+
CreatedTransfer$inboundSchema,
|
|
48033
|
+
Transfer$inboundSchema
|
|
47922
48034
|
]);
|
|
47923
48035
|
CreateTransferResponseResult$outboundSchema = unionType([
|
|
47924
48036
|
AsyncTransfer$outboundSchema,
|
|
47925
|
-
|
|
47926
|
-
|
|
48037
|
+
CreatedTransfer$outboundSchema,
|
|
48038
|
+
Transfer$outboundSchema
|
|
47927
48039
|
]);
|
|
47928
48040
|
((CreateTransferResponseResult$) => {
|
|
47929
48041
|
CreateTransferResponseResult$.inboundSchema = CreateTransferResponseResult$inboundSchema;
|
|
@@ -47933,8 +48045,8 @@ var init_createtransfer2 = __esm(() => {
|
|
|
47933
48045
|
Headers: recordType(arrayType(stringType())),
|
|
47934
48046
|
Result: unionType([
|
|
47935
48047
|
AsyncTransfer$inboundSchema,
|
|
47936
|
-
|
|
47937
|
-
|
|
48048
|
+
CreatedTransfer$inboundSchema,
|
|
48049
|
+
Transfer$inboundSchema
|
|
47938
48050
|
])
|
|
47939
48051
|
}).transform((v2) => {
|
|
47940
48052
|
return remap(v2, {
|
|
@@ -47946,8 +48058,8 @@ var init_createtransfer2 = __esm(() => {
|
|
|
47946
48058
|
headers: recordType(arrayType(stringType())),
|
|
47947
48059
|
result: unionType([
|
|
47948
48060
|
AsyncTransfer$outboundSchema,
|
|
47949
|
-
|
|
47950
|
-
|
|
48061
|
+
CreatedTransfer$outboundSchema,
|
|
48062
|
+
Transfer$outboundSchema
|
|
47951
48063
|
])
|
|
47952
48064
|
}).transform((v2) => {
|
|
47953
48065
|
return remap(v2, {
|
|
@@ -70756,7 +70868,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
|
|
|
70756
70868
|
function createMCPServer(deps) {
|
|
70757
70869
|
const server = new McpServer({
|
|
70758
70870
|
name: "Moov",
|
|
70759
|
-
version: "0.10.
|
|
70871
|
+
version: "0.10.9"
|
|
70760
70872
|
});
|
|
70761
70873
|
const client = new MoovCore({
|
|
70762
70874
|
security: deps.security,
|
|
@@ -70764,7 +70876,7 @@ function createMCPServer(deps) {
|
|
|
70764
70876
|
serverURL: deps.serverURL,
|
|
70765
70877
|
serverIdx: deps.serverIdx
|
|
70766
70878
|
});
|
|
70767
|
-
const scopes = new Set(deps.scopes
|
|
70879
|
+
const scopes = new Set(deps.scopes);
|
|
70768
70880
|
const allowedTools = deps.allowedTools && new Set(deps.allowedTools);
|
|
70769
70881
|
const tool = createRegisterTool(deps.logger, server, client, scopes, allowedTools);
|
|
70770
70882
|
const resource = createRegisterResource(deps.logger, server, client, scopes);
|
|
@@ -70909,7 +71021,6 @@ var init_server2 = __esm(() => {
|
|
|
70909
71021
|
init_mcp();
|
|
70910
71022
|
init_core();
|
|
70911
71023
|
init_resources();
|
|
70912
|
-
init_scopes();
|
|
70913
71024
|
init_tools();
|
|
70914
71025
|
init_accountsAssignCountries2();
|
|
70915
71026
|
init_accountsCreate2();
|
|
@@ -72136,7 +72247,11 @@ function buildContext(process2) {
|
|
|
72136
72247
|
// src/mcp-server/cli/start/command.ts
|
|
72137
72248
|
init_lib();
|
|
72138
72249
|
init_console_logger();
|
|
72139
|
-
|
|
72250
|
+
|
|
72251
|
+
// src/mcp-server/scopes.ts
|
|
72252
|
+
var mcpScopes = [];
|
|
72253
|
+
|
|
72254
|
+
// src/mcp-server/cli/start/command.ts
|
|
72140
72255
|
var startCommand = tn({
|
|
72141
72256
|
loader: async () => {
|
|
72142
72257
|
const { main: main2 } = await Promise.resolve().then(() => (init_impl(), exports_impl));
|
|
@@ -72257,7 +72372,7 @@ var routes = rn({
|
|
|
72257
72372
|
var app = Ve(routes, {
|
|
72258
72373
|
name: "mcp",
|
|
72259
72374
|
versionInfo: {
|
|
72260
|
-
currentVersion: "0.10.
|
|
72375
|
+
currentVersion: "0.10.9"
|
|
72261
72376
|
}
|
|
72262
72377
|
});
|
|
72263
72378
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -72265,5 +72380,5 @@ export {
|
|
|
72265
72380
|
app
|
|
72266
72381
|
};
|
|
72267
72382
|
|
|
72268
|
-
//# debugId=
|
|
72383
|
+
//# debugId=672510ADE5E6FA9464756E2164756E21
|
|
72269
72384
|
//# sourceMappingURL=mcp-server.js.map
|