@moovio/sdk 0.10.7 → 0.10.8

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.
Files changed (45) hide show
  1. package/bin/mcp-server.js +396 -332
  2. package/bin/mcp-server.js.map +25 -25
  3. package/jsr.json +1 -1
  4. package/lib/config.d.ts +3 -3
  5. package/lib/config.js +3 -3
  6. package/mcp-server/mcp-server.js +1 -1
  7. package/mcp-server/prompts.d.ts.map +1 -1
  8. package/mcp-server/prompts.js +5 -1
  9. package/mcp-server/prompts.js.map +1 -1
  10. package/mcp-server/resources.d.ts.map +1 -1
  11. package/mcp-server/resources.js +10 -2
  12. package/mcp-server/resources.js.map +1 -1
  13. package/mcp-server/server.d.ts.map +1 -1
  14. package/mcp-server/server.js +2 -3
  15. package/mcp-server/server.js.map +1 -1
  16. package/mcp-server/tools.d.ts.map +1 -1
  17. package/mcp-server/tools.js +4 -3
  18. package/mcp-server/tools.js.map +1 -1
  19. package/models/components/createdtransfer.d.ts +116 -0
  20. package/models/components/createdtransfer.d.ts.map +1 -0
  21. package/models/components/createdtransfer.js +126 -0
  22. package/models/components/createdtransfer.js.map +1 -0
  23. package/models/components/index.d.ts +1 -1
  24. package/models/components/index.d.ts.map +1 -1
  25. package/models/components/index.js +1 -1
  26. package/models/components/index.js.map +1 -1
  27. package/models/operations/createtransfer.d.ts +4 -4
  28. package/models/operations/createtransfer.d.ts.map +1 -1
  29. package/models/operations/createtransfer.js +4 -4
  30. package/models/operations/createtransfer.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/lib/config.ts +3 -3
  33. package/src/mcp-server/mcp-server.ts +1 -1
  34. package/src/mcp-server/prompts.ts +8 -1
  35. package/src/mcp-server/resources.ts +16 -2
  36. package/src/mcp-server/server.ts +3 -3
  37. package/src/mcp-server/tools.ts +6 -3
  38. package/src/models/components/createdtransfer.ts +242 -0
  39. package/src/models/components/index.ts +1 -1
  40. package/src/models/operations/createtransfer.ts +12 -12
  41. package/models/components/transferresponse.d.ts +0 -27
  42. package/models/components/transferresponse.d.ts.map +0 -1
  43. package/models/components/transferresponse.js +0 -67
  44. package/models/components/transferresponse.js.map +0 -1
  45. 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.7",
34217
- genVersion: "2.566.5",
34218
- userAgent: "speakeasy-sdk/typescript 0.10.7 2.566.5 latest @moovio/sdk"
34210
+ sdkVersion: "0.10.8",
34211
+ genVersion: "2.568.2",
34212
+ userAgent: "speakeasy-sdk/typescript 0.10.8 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 (!scopes.every((s) => allowedScopes.has(s))) {
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 (!scopes.every((s) => allowedScopes.has(s))) {
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 (!scopes.every((s) => allowedScopes.has(s))) {
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 toolScopes = tool.scopes ?? [];
35147
- if (allowedScopes.size > 0 && toolScopes.length === 0) {
35149
+ const scopes = tool.scopes ?? [];
35150
+ if (allowedScopes.size > 0 && scopes.length === 0) {
35148
35151
  return;
35149
35152
  }
35150
- if (!toolScopes.every((s) => allowedScopes.has(s))) {
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,44 +42304,6 @@ var init_manualtermsofserviceupdate = __esm(() => {
41971
42304
  })(ManualTermsOfServiceUpdate$ ||= {});
41972
42305
  });
41973
42306
 
41974
- // src/models/components/moovfeedetails.ts
41975
- var MoovFeeDetails$inboundSchema, MoovFeeDetails$outboundSchema, MoovFeeDetails$;
41976
- var init_moovfeedetails = __esm(() => {
41977
- init_lib();
41978
- MoovFeeDetails$inboundSchema = objectType({
41979
- cardScheme: stringType().optional(),
41980
- interchange: stringType().optional(),
41981
- discount: stringType().optional(),
41982
- moovProcessing: stringType()
41983
- });
41984
- MoovFeeDetails$outboundSchema = objectType({
41985
- cardScheme: stringType().optional(),
41986
- interchange: stringType().optional(),
41987
- discount: stringType().optional(),
41988
- moovProcessing: stringType()
41989
- });
41990
- ((MoovFeeDetails$) => {
41991
- MoovFeeDetails$.inboundSchema = MoovFeeDetails$inboundSchema;
41992
- MoovFeeDetails$.outboundSchema = MoovFeeDetails$outboundSchema;
41993
- })(MoovFeeDetails$ ||= {});
41994
- });
41995
-
41996
- // src/models/components/paymentmethodswallet.ts
41997
- var PaymentMethodsWallet$inboundSchema, PaymentMethodsWallet$outboundSchema, PaymentMethodsWallet$;
41998
- var init_paymentmethodswallet = __esm(() => {
41999
- init_lib();
42000
- PaymentMethodsWallet$inboundSchema = objectType({
42001
- walletID: stringType()
42002
- });
42003
- PaymentMethodsWallet$outboundSchema = objectType({
42004
- walletID: stringType()
42005
- });
42006
- ((PaymentMethodsWallet$) => {
42007
- PaymentMethodsWallet$.inboundSchema = PaymentMethodsWallet$inboundSchema;
42008
- PaymentMethodsWallet$.outboundSchema = PaymentMethodsWallet$outboundSchema;
42009
- })(PaymentMethodsWallet$ ||= {});
42010
- });
42011
-
42012
42307
  // src/models/components/moovwalletpaymentmethod.ts
42013
42308
  var MoovWalletPaymentMethodPaymentMethodType, MoovWalletPaymentMethodPaymentMethodType$inboundSchema, MoovWalletPaymentMethodPaymentMethodType$outboundSchema, MoovWalletPaymentMethodPaymentMethodType$, MoovWalletPaymentMethod$inboundSchema, MoovWalletPaymentMethod$outboundSchema, MoovWalletPaymentMethod$;
42014
42309
  var init_moovwalletpaymentmethod = __esm(() => {
@@ -43375,78 +43670,6 @@ var init_revoketokenrequest = __esm(() => {
43375
43670
  })(RevokeTokenRequest$ ||= {});
43376
43671
  });
43377
43672
 
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
43673
  // src/models/components/schedulelistresponse.ts
43451
43674
  var ScheduleListResponse$inboundSchema, ScheduleListResponse$outboundSchema, ScheduleListResponse$;
43452
43675
  var init_schedulelistresponse = __esm(() => {
@@ -43733,154 +43956,6 @@ var init_terminalconfiguration = __esm(() => {
43733
43956
  })(TerminalConfiguration$ ||= {});
43734
43957
  });
43735
43958
 
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
43959
  // src/models/components/transfer.ts
43885
43960
  var Transfer$inboundSchema, Transfer$outboundSchema, Transfer$;
43886
43961
  var init_transfer = __esm(() => {
@@ -43972,20 +44047,6 @@ var init_transferoptions = __esm(() => {
43972
44047
  })(TransferOptions$ ||= {});
43973
44048
  });
43974
44049
 
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
44050
  // src/models/components/transferwaitfor.ts
43990
44051
  var TransferWaitFor, TransferWaitFor$inboundSchema, TransferWaitFor$outboundSchema, TransferWaitFor$;
43991
44052
  var init_transferwaitfor = __esm(() => {
@@ -44785,6 +44846,7 @@ var init_components = __esm(() => {
44785
44846
  init_createauthorizeduserupdate();
44786
44847
  init_createbusinesserror();
44787
44848
  init_createbusinessprofile();
44849
+ init_createdtransfer();
44788
44850
  init_createevidencefilemultipart();
44789
44851
  init_createevidencetext();
44790
44852
  init_createfeeplanagreement();
@@ -45002,7 +45064,6 @@ var init_components = __esm(() => {
45002
45064
  init_transferdestination();
45003
45065
  init_transferfailurereason();
45004
45066
  init_transferoptions();
45005
- init_transferresponse();
45006
45067
  init_transfersource();
45007
45068
  init_transferstatus();
45008
45069
  init_transferwaitfor();
@@ -45220,11 +45281,11 @@ var init_brandvalidationerror = __esm(() => {
45220
45281
  });
45221
45282
 
45222
45283
  // src/models/errors/cardacquiringrefund.ts
45223
- var CardAcquiringRefund4, CardAcquiringRefund$inboundSchema2, CardAcquiringRefund$outboundSchema2, CardAcquiringRefund$2;
45284
+ var CardAcquiringRefund5, CardAcquiringRefund$inboundSchema2, CardAcquiringRefund$outboundSchema2, CardAcquiringRefund$2;
45224
45285
  var init_cardacquiringrefund2 = __esm(() => {
45225
45286
  init_lib();
45226
45287
  init_components();
45227
- CardAcquiringRefund4 = class CardAcquiringRefund4 extends Error {
45288
+ CardAcquiringRefund5 = class CardAcquiringRefund5 extends Error {
45228
45289
  refundID;
45229
45290
  createdOn;
45230
45291
  updatedOn;
@@ -45254,9 +45315,9 @@ var init_cardacquiringrefund2 = __esm(() => {
45254
45315
  amount: Amount$inboundSchema,
45255
45316
  cardDetails: RefundCardDetails$inboundSchema.optional()
45256
45317
  }).transform((v2) => {
45257
- return new CardAcquiringRefund4(v2);
45318
+ return new CardAcquiringRefund5(v2);
45258
45319
  });
45259
- CardAcquiringRefund$outboundSchema2 = instanceOfType(CardAcquiringRefund4).transform((v2) => v2.data$).pipe(objectType({
45320
+ CardAcquiringRefund$outboundSchema2 = instanceOfType(CardAcquiringRefund5).transform((v2) => v2.data$).pipe(objectType({
45260
45321
  refundID: stringType(),
45261
45322
  createdOn: dateType().transform((v2) => v2.toISOString()),
45262
45323
  updatedOn: dateType().transform((v2) => v2.toISOString()),
@@ -46141,11 +46202,11 @@ var init_terminalapplicationerror = __esm(() => {
46141
46202
  });
46142
46203
 
46143
46204
  // src/models/errors/transfer.ts
46144
- var Transfer2, Transfer$inboundSchema2, Transfer$outboundSchema2, Transfer$2;
46205
+ var Transfer, Transfer$inboundSchema2, Transfer$outboundSchema2, Transfer$2;
46145
46206
  var init_transfer2 = __esm(() => {
46146
46207
  init_lib();
46147
46208
  init_components();
46148
- Transfer2 = class Transfer2 extends Error {
46209
+ Transfer = class Transfer extends Error {
46149
46210
  transferID;
46150
46211
  createdOn;
46151
46212
  source;
@@ -46246,9 +46307,9 @@ var init_transfer2 = __esm(() => {
46246
46307
  occurrenceID: stringType().optional(),
46247
46308
  salesTaxAmount: Amount$inboundSchema.optional()
46248
46309
  }).transform((v2) => {
46249
- return new Transfer2(v2);
46310
+ return new Transfer(v2);
46250
46311
  });
46251
- Transfer$outboundSchema2 = instanceOfType(Transfer2).transform((v2) => v2.data$).pipe(objectType({
46312
+ Transfer$outboundSchema2 = instanceOfType(Transfer).transform((v2) => v2.data$).pipe(objectType({
46252
46313
  transferID: stringType(),
46253
46314
  createdOn: dateType().transform((v2) => v2.toISOString()),
46254
46315
  source: TransferSource$outboundSchema,
@@ -47917,13 +47978,13 @@ var init_createtransfer2 = __esm(() => {
47917
47978
  })(CreateTransferRequest$ ||= {});
47918
47979
  CreateTransferResponseResult$inboundSchema = unionType([
47919
47980
  AsyncTransfer$inboundSchema,
47920
- Transfer$inboundSchema,
47921
- TransferResponse$inboundSchema
47981
+ CreatedTransfer$inboundSchema,
47982
+ Transfer$inboundSchema
47922
47983
  ]);
47923
47984
  CreateTransferResponseResult$outboundSchema = unionType([
47924
47985
  AsyncTransfer$outboundSchema,
47925
- Transfer$outboundSchema,
47926
- TransferResponse$outboundSchema
47986
+ CreatedTransfer$outboundSchema,
47987
+ Transfer$outboundSchema
47927
47988
  ]);
47928
47989
  ((CreateTransferResponseResult$) => {
47929
47990
  CreateTransferResponseResult$.inboundSchema = CreateTransferResponseResult$inboundSchema;
@@ -47933,8 +47994,8 @@ var init_createtransfer2 = __esm(() => {
47933
47994
  Headers: recordType(arrayType(stringType())),
47934
47995
  Result: unionType([
47935
47996
  AsyncTransfer$inboundSchema,
47936
- Transfer$inboundSchema,
47937
- TransferResponse$inboundSchema
47997
+ CreatedTransfer$inboundSchema,
47998
+ Transfer$inboundSchema
47938
47999
  ])
47939
48000
  }).transform((v2) => {
47940
48001
  return remap(v2, {
@@ -47946,8 +48007,8 @@ var init_createtransfer2 = __esm(() => {
47946
48007
  headers: recordType(arrayType(stringType())),
47947
48008
  result: unionType([
47948
48009
  AsyncTransfer$outboundSchema,
47949
- Transfer$outboundSchema,
47950
- TransferResponse$outboundSchema
48010
+ CreatedTransfer$outboundSchema,
48011
+ Transfer$outboundSchema
47951
48012
  ])
47952
48013
  }).transform((v2) => {
47953
48014
  return remap(v2, {
@@ -70756,7 +70817,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70756
70817
  function createMCPServer(deps) {
70757
70818
  const server = new McpServer({
70758
70819
  name: "Moov",
70759
- version: "0.10.7"
70820
+ version: "0.10.8"
70760
70821
  });
70761
70822
  const client = new MoovCore({
70762
70823
  security: deps.security,
@@ -70764,7 +70825,7 @@ function createMCPServer(deps) {
70764
70825
  serverURL: deps.serverURL,
70765
70826
  serverIdx: deps.serverIdx
70766
70827
  });
70767
- const scopes = new Set(deps.scopes ?? mcpScopes);
70828
+ const scopes = new Set(deps.scopes);
70768
70829
  const allowedTools = deps.allowedTools && new Set(deps.allowedTools);
70769
70830
  const tool = createRegisterTool(deps.logger, server, client, scopes, allowedTools);
70770
70831
  const resource = createRegisterResource(deps.logger, server, client, scopes);
@@ -70909,7 +70970,6 @@ var init_server2 = __esm(() => {
70909
70970
  init_mcp();
70910
70971
  init_core();
70911
70972
  init_resources();
70912
- init_scopes();
70913
70973
  init_tools();
70914
70974
  init_accountsAssignCountries2();
70915
70975
  init_accountsCreate2();
@@ -72136,7 +72196,11 @@ function buildContext(process2) {
72136
72196
  // src/mcp-server/cli/start/command.ts
72137
72197
  init_lib();
72138
72198
  init_console_logger();
72139
- init_scopes();
72199
+
72200
+ // src/mcp-server/scopes.ts
72201
+ var mcpScopes = [];
72202
+
72203
+ // src/mcp-server/cli/start/command.ts
72140
72204
  var startCommand = tn({
72141
72205
  loader: async () => {
72142
72206
  const { main: main2 } = await Promise.resolve().then(() => (init_impl(), exports_impl));
@@ -72257,7 +72321,7 @@ var routes = rn({
72257
72321
  var app = Ve(routes, {
72258
72322
  name: "mcp",
72259
72323
  versionInfo: {
72260
- currentVersion: "0.10.7"
72324
+ currentVersion: "0.10.8"
72261
72325
  }
72262
72326
  });
72263
72327
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -72265,5 +72329,5 @@ export {
72265
72329
  app
72266
72330
  };
72267
72331
 
72268
- //# debugId=645A8604EF65A64A64756E2164756E21
72332
+ //# debugId=A9D9FC1D1E81E5F164756E2164756E21
72269
72333
  //# sourceMappingURL=mcp-server.js.map