@moovio/sdk 0.10.0 → 0.10.1

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 (55) hide show
  1. package/README.md +11 -0
  2. package/bin/mcp-server.js +315 -125
  3. package/bin/mcp-server.js.map +12 -8
  4. package/docs/sdks/terminalconfigurations/README.md +98 -0
  5. package/funcs/terminalConfigurationsGet.d.ts +16 -0
  6. package/funcs/terminalConfigurationsGet.d.ts.map +1 -0
  7. package/funcs/terminalConfigurationsGet.js +124 -0
  8. package/funcs/terminalConfigurationsGet.js.map +1 -0
  9. package/jsr.json +1 -1
  10. package/lib/config.d.ts +3 -3
  11. package/lib/config.js +3 -3
  12. package/mcp-server/mcp-server.js +1 -1
  13. package/mcp-server/server.d.ts.map +1 -1
  14. package/mcp-server/server.js +3 -1
  15. package/mcp-server/server.js.map +1 -1
  16. package/mcp-server/tools/terminalConfigurationsGet.d.ts +8 -0
  17. package/mcp-server/tools/terminalConfigurationsGet.d.ts.map +1 -0
  18. package/mcp-server/tools/terminalConfigurationsGet.js +65 -0
  19. package/mcp-server/tools/terminalConfigurationsGet.js.map +1 -0
  20. package/models/components/index.d.ts +1 -0
  21. package/models/components/index.d.ts.map +1 -1
  22. package/models/components/index.js +1 -0
  23. package/models/components/index.js.map +1 -1
  24. package/models/components/terminalconfiguration.d.ts +32 -0
  25. package/models/components/terminalconfiguration.d.ts.map +1 -0
  26. package/models/components/terminalconfiguration.js +69 -0
  27. package/models/components/terminalconfiguration.js.map +1 -0
  28. package/models/operations/getterminalconfiguration.d.ts +101 -0
  29. package/models/operations/getterminalconfiguration.d.ts.map +1 -0
  30. package/models/operations/getterminalconfiguration.js +147 -0
  31. package/models/operations/getterminalconfiguration.js.map +1 -0
  32. package/models/operations/index.d.ts +1 -0
  33. package/models/operations/index.d.ts.map +1 -1
  34. package/models/operations/index.js +1 -0
  35. package/models/operations/index.js.map +1 -1
  36. package/package.json +1 -1
  37. package/sdk/sdk.d.ts +3 -0
  38. package/sdk/sdk.d.ts.map +1 -1
  39. package/sdk/sdk.js +4 -0
  40. package/sdk/sdk.js.map +1 -1
  41. package/sdk/terminalconfigurations.d.ts +12 -0
  42. package/sdk/terminalconfigurations.d.ts.map +1 -0
  43. package/sdk/terminalconfigurations.js +22 -0
  44. package/sdk/terminalconfigurations.js.map +1 -0
  45. package/src/funcs/terminalConfigurationsGet.ts +181 -0
  46. package/src/lib/config.ts +3 -3
  47. package/src/mcp-server/mcp-server.ts +1 -1
  48. package/src/mcp-server/server.ts +3 -1
  49. package/src/mcp-server/tools/terminalConfigurationsGet.ts +38 -0
  50. package/src/models/components/index.ts +1 -0
  51. package/src/models/components/terminalconfiguration.ts +69 -0
  52. package/src/models/operations/getterminalconfiguration.ts +229 -0
  53. package/src/models/operations/index.ts +1 -0
  54. package/src/sdk/sdk.ts +8 -0
  55. package/src/sdk/terminalconfigurations.ts +27 -0
package/bin/mcp-server.js CHANGED
@@ -34213,9 +34213,9 @@ var init_config = __esm(() => {
34213
34213
  SDK_METADATA = {
34214
34214
  language: "typescript",
34215
34215
  openapiDocVersion: "latest",
34216
- sdkVersion: "0.10.0",
34217
- genVersion: "2.558.5",
34218
- userAgent: "speakeasy-sdk/typescript 0.10.0 2.558.5 latest @moovio/sdk"
34216
+ sdkVersion: "0.10.1",
34217
+ genVersion: "2.559.0",
34218
+ userAgent: "speakeasy-sdk/typescript 0.10.1 2.559.0 latest @moovio/sdk"
34219
34219
  };
34220
34220
  });
34221
34221
 
@@ -43714,6 +43714,22 @@ var init_terminalapplication = __esm(() => {
43714
43714
  })(TerminalApplication$ ||= {});
43715
43715
  });
43716
43716
 
43717
+ // src/models/components/terminalconfiguration.ts
43718
+ var TerminalConfiguration$inboundSchema, TerminalConfiguration$outboundSchema, TerminalConfiguration$;
43719
+ var init_terminalconfiguration = __esm(() => {
43720
+ init_lib();
43721
+ TerminalConfiguration$inboundSchema = objectType({
43722
+ configuration: stringType()
43723
+ });
43724
+ TerminalConfiguration$outboundSchema = objectType({
43725
+ configuration: stringType()
43726
+ });
43727
+ ((TerminalConfiguration$) => {
43728
+ TerminalConfiguration$.inboundSchema = TerminalConfiguration$inboundSchema;
43729
+ TerminalConfiguration$.outboundSchema = TerminalConfiguration$outboundSchema;
43730
+ })(TerminalConfiguration$ ||= {});
43731
+ });
43732
+
43717
43733
  // src/models/components/transferaccount.ts
43718
43734
  var TransferAccount$inboundSchema, TransferAccount$outboundSchema, TransferAccount$;
43719
43735
  var init_transferaccount = __esm(() => {
@@ -44969,6 +44985,7 @@ var init_components = __esm(() => {
44969
44985
  init_terminalapplicationplatform();
44970
44986
  init_terminalapplicationstatus();
44971
44987
  init_terminalcard();
44988
+ init_terminalconfiguration();
44972
44989
  init_termsofservice();
44973
44990
  init_termsofserviceerror();
44974
44991
  init_termsofservicetoken();
@@ -50564,6 +50581,66 @@ var init_getterminalapplication = __esm(() => {
50564
50581
  })(GetTerminalApplicationResponse$ ||= {});
50565
50582
  });
50566
50583
 
50584
+ // src/models/operations/getterminalconfiguration.ts
50585
+ var GetTerminalConfigurationGlobals$inboundSchema, GetTerminalConfigurationGlobals$outboundSchema, GetTerminalConfigurationGlobals$, GetTerminalConfigurationRequest$inboundSchema, GetTerminalConfigurationRequest$outboundSchema, GetTerminalConfigurationRequest$, GetTerminalConfigurationResponse$inboundSchema, GetTerminalConfigurationResponse$outboundSchema, GetTerminalConfigurationResponse$;
50586
+ var init_getterminalconfiguration = __esm(() => {
50587
+ init_lib();
50588
+ init_primitives();
50589
+ init_components();
50590
+ GetTerminalConfigurationGlobals$inboundSchema = objectType({
50591
+ "x-moov-version": stringType().default("v2024.01.00")
50592
+ }).transform((v2) => {
50593
+ return remap(v2, {
50594
+ "x-moov-version": "xMoovVersion"
50595
+ });
50596
+ });
50597
+ GetTerminalConfigurationGlobals$outboundSchema = objectType({
50598
+ xMoovVersion: stringType().default("v2024.01.00")
50599
+ }).transform((v2) => {
50600
+ return remap(v2, {
50601
+ xMoovVersion: "x-moov-version"
50602
+ });
50603
+ });
50604
+ ((GetTerminalConfigurationGlobals$) => {
50605
+ GetTerminalConfigurationGlobals$.inboundSchema = GetTerminalConfigurationGlobals$inboundSchema;
50606
+ GetTerminalConfigurationGlobals$.outboundSchema = GetTerminalConfigurationGlobals$outboundSchema;
50607
+ })(GetTerminalConfigurationGlobals$ ||= {});
50608
+ GetTerminalConfigurationRequest$inboundSchema = objectType({
50609
+ accountID: stringType(),
50610
+ terminalApplicationID: stringType()
50611
+ });
50612
+ GetTerminalConfigurationRequest$outboundSchema = objectType({
50613
+ accountID: stringType(),
50614
+ terminalApplicationID: stringType()
50615
+ });
50616
+ ((GetTerminalConfigurationRequest$) => {
50617
+ GetTerminalConfigurationRequest$.inboundSchema = GetTerminalConfigurationRequest$inboundSchema;
50618
+ GetTerminalConfigurationRequest$.outboundSchema = GetTerminalConfigurationRequest$outboundSchema;
50619
+ })(GetTerminalConfigurationRequest$ ||= {});
50620
+ GetTerminalConfigurationResponse$inboundSchema = objectType({
50621
+ Headers: recordType(arrayType(stringType())),
50622
+ Result: TerminalConfiguration$inboundSchema
50623
+ }).transform((v2) => {
50624
+ return remap(v2, {
50625
+ Headers: "headers",
50626
+ Result: "result"
50627
+ });
50628
+ });
50629
+ GetTerminalConfigurationResponse$outboundSchema = objectType({
50630
+ headers: recordType(arrayType(stringType())),
50631
+ result: TerminalConfiguration$outboundSchema
50632
+ }).transform((v2) => {
50633
+ return remap(v2, {
50634
+ headers: "Headers",
50635
+ result: "Result"
50636
+ });
50637
+ });
50638
+ ((GetTerminalConfigurationResponse$) => {
50639
+ GetTerminalConfigurationResponse$.inboundSchema = GetTerminalConfigurationResponse$inboundSchema;
50640
+ GetTerminalConfigurationResponse$.outboundSchema = GetTerminalConfigurationResponse$outboundSchema;
50641
+ })(GetTerminalConfigurationResponse$ ||= {});
50642
+ });
50643
+
50567
50644
  // src/models/operations/gettermsofservicetoken.ts
50568
50645
  var GetTermsOfServiceTokenGlobals$inboundSchema, GetTermsOfServiceTokenGlobals$outboundSchema, GetTermsOfServiceTokenGlobals$, GetTermsOfServiceTokenRequest$inboundSchema, GetTermsOfServiceTokenRequest$outboundSchema, GetTermsOfServiceTokenRequest$, GetTermsOfServiceTokenResponse$inboundSchema, GetTermsOfServiceTokenResponse$outboundSchema, GetTermsOfServiceTokenResponse$;
50569
50646
  var init_gettermsofservicetoken = __esm(() => {
@@ -55019,6 +55096,7 @@ var init_operations = __esm(() => {
55019
55096
  init_getsweep();
55020
55097
  init_getsweepconfig();
55021
55098
  init_getterminalapplication();
55099
+ init_getterminalconfiguration();
55022
55100
  init_gettermsofservicetoken();
55023
55101
  init_gettransfer();
55024
55102
  init_getunderwriting();
@@ -68576,11 +68654,121 @@ you'll need to specify the \`/terminalApplications.read\` scope.`,
68576
68654
  };
68577
68655
  });
68578
68656
 
68579
- // src/funcs/transfersCreate.ts
68580
- function transfersCreate(client, request, options) {
68657
+ // src/funcs/terminalConfigurationsGet.ts
68658
+ function terminalConfigurationsGet(client, request, options) {
68581
68659
  return new APIPromise($do115(client, request, options));
68582
68660
  }
68583
68661
  async function $do115(client, request, options) {
68662
+ const parsed = safeParse(request, (value) => GetTerminalConfigurationRequest$outboundSchema.parse(value), "Input validation failed");
68663
+ if (!parsed.ok) {
68664
+ return [parsed, { status: "invalid" }];
68665
+ }
68666
+ const payload = parsed.value;
68667
+ const body = null;
68668
+ const pathParams = {
68669
+ accountID: encodeSimple("accountID", payload.accountID, {
68670
+ explode: false,
68671
+ charEncoding: "percent"
68672
+ }),
68673
+ terminalApplicationID: encodeSimple("terminalApplicationID", payload.terminalApplicationID, { explode: false, charEncoding: "percent" })
68674
+ };
68675
+ const path = pathToFunc("/accounts/{accountID}/terminal-applications/{terminalApplicationID}/configuration")(pathParams);
68676
+ const headers = new Headers(compactMap({
68677
+ Accept: "application/json",
68678
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
68679
+ }));
68680
+ const securityInput = await extractSecurity(client._options.security);
68681
+ const requestSecurity = resolveGlobalSecurity(securityInput);
68682
+ const context = {
68683
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
68684
+ operationID: "getTerminalConfiguration",
68685
+ oAuth2Scopes: [],
68686
+ resolvedSecurity: requestSecurity,
68687
+ securitySource: client._options.security,
68688
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
68689
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
68690
+ };
68691
+ const requestRes = client._createRequest(context, {
68692
+ security: requestSecurity,
68693
+ method: "GET",
68694
+ baseURL: options?.serverURL,
68695
+ path,
68696
+ headers,
68697
+ body,
68698
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
68699
+ }, options);
68700
+ if (!requestRes.ok) {
68701
+ return [requestRes, { status: "invalid" }];
68702
+ }
68703
+ const req = requestRes.value;
68704
+ const doResult = await client._do(req, {
68705
+ context,
68706
+ errorCodes: ["401", "403", "404", "429", "4XX", "500", "504", "5XX"],
68707
+ retryConfig: context.retryConfig,
68708
+ retryCodes: context.retryCodes
68709
+ });
68710
+ if (!doResult.ok) {
68711
+ return [doResult, { status: "request-error", request: req }];
68712
+ }
68713
+ const response = doResult.value;
68714
+ const responseFields = {
68715
+ HttpMeta: { Response: response, Request: req }
68716
+ };
68717
+ const [result] = await match(json(200, GetTerminalConfigurationResponse$inboundSchema, {
68718
+ hdrs: true,
68719
+ key: "Result"
68720
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
68721
+ if (!result.ok) {
68722
+ return [result, { status: "complete", request: req, response }];
68723
+ }
68724
+ return [result, { status: "complete", request: req, response }];
68725
+ }
68726
+ var init_terminalConfigurationsGet = __esm(() => {
68727
+ init_encodings();
68728
+ init_matchers();
68729
+ init_primitives();
68730
+ init_schemas();
68731
+ init_security();
68732
+ init_url();
68733
+ init_operations();
68734
+ init_async();
68735
+ });
68736
+
68737
+ // src/mcp-server/tools/terminalConfigurationsGet.ts
68738
+ var args115, tool$terminalConfigurationsGet;
68739
+ var init_terminalConfigurationsGet2 = __esm(() => {
68740
+ init_terminalConfigurationsGet();
68741
+ init_operations();
68742
+ init_tools();
68743
+ args115 = {
68744
+ request: GetTerminalConfigurationRequest$inboundSchema
68745
+ };
68746
+ tool$terminalConfigurationsGet = {
68747
+ name: "terminal-configurations-get",
68748
+ description: `Fetch the configuration for a given Terminal Application
68749
+
68750
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
68751
+ you'll need to specify the \`/accounts/{accountID}/terminal-configuration.read\` scope.`,
68752
+ args: args115,
68753
+ tool: async (client, args116, ctx) => {
68754
+ const [result, apiCall] = await terminalConfigurationsGet(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68755
+ if (!result.ok) {
68756
+ return {
68757
+ content: [{ type: "text", text: result.error.message }],
68758
+ isError: true
68759
+ };
68760
+ }
68761
+ const value = result.value.result;
68762
+ return formatResult(value, apiCall);
68763
+ }
68764
+ };
68765
+ });
68766
+
68767
+ // src/funcs/transfersCreate.ts
68768
+ function transfersCreate(client, request, options) {
68769
+ return new APIPromise($do116(client, request, options));
68770
+ }
68771
+ async function $do116(client, request, options) {
68584
68772
  const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
68585
68773
  if (!parsed.ok) {
68586
68774
  return [parsed, { status: "invalid" }];
@@ -68671,12 +68859,12 @@ var init_transfersCreate = __esm(() => {
68671
68859
  });
68672
68860
 
68673
68861
  // src/mcp-server/tools/transfersCreate.ts
68674
- var args115, tool$transfersCreate;
68862
+ var args116, tool$transfersCreate;
68675
68863
  var init_transfersCreate2 = __esm(() => {
68676
68864
  init_transfersCreate();
68677
68865
  init_operations();
68678
68866
  init_tools();
68679
- args115 = {
68867
+ args116 = {
68680
68868
  request: CreateTransferRequest$inboundSchema
68681
68869
  };
68682
68870
  tool$transfersCreate = {
@@ -68687,9 +68875,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
68687
68875
 
68688
68876
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
68689
68877
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68690
- args: args115,
68691
- tool: async (client, args116, ctx) => {
68692
- const [result, apiCall] = await transfersCreate(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68878
+ args: args116,
68879
+ tool: async (client, args117, ctx) => {
68880
+ const [result, apiCall] = await transfersCreate(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68693
68881
  if (!result.ok) {
68694
68882
  return {
68695
68883
  content: [{ type: "text", text: result.error.message }],
@@ -68704,9 +68892,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68704
68892
 
68705
68893
  // src/funcs/transfersCreateCancellation.ts
68706
68894
  function transfersCreateCancellation(client, request, options) {
68707
- return new APIPromise($do116(client, request, options));
68895
+ return new APIPromise($do117(client, request, options));
68708
68896
  }
68709
- async function $do116(client, request, options) {
68897
+ async function $do117(client, request, options) {
68710
68898
  const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
68711
68899
  if (!parsed.ok) {
68712
68900
  return [parsed, { status: "invalid" }];
@@ -68787,12 +68975,12 @@ var init_transfersCreateCancellation = __esm(() => {
68787
68975
  });
68788
68976
 
68789
68977
  // src/mcp-server/tools/transfersCreateCancellation.ts
68790
- var args116, tool$transfersCreateCancellation;
68978
+ var args117, tool$transfersCreateCancellation;
68791
68979
  var init_transfersCreateCancellation2 = __esm(() => {
68792
68980
  init_transfersCreateCancellation();
68793
68981
  init_operations();
68794
68982
  init_tools();
68795
- args116 = {
68983
+ args117 = {
68796
68984
  request: CreateCancellationRequest$inboundSchema
68797
68985
  };
68798
68986
  tool$transfersCreateCancellation = {
@@ -68801,9 +68989,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
68801
68989
 
68802
68990
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
68803
68991
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68804
- args: args116,
68805
- tool: async (client, args117, ctx) => {
68806
- const [result, apiCall] = await transfersCreateCancellation(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68992
+ args: args117,
68993
+ tool: async (client, args118, ctx) => {
68994
+ const [result, apiCall] = await transfersCreateCancellation(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68807
68995
  if (!result.ok) {
68808
68996
  return {
68809
68997
  content: [{ type: "text", text: result.error.message }],
@@ -68818,9 +69006,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
68818
69006
 
68819
69007
  // src/funcs/transfersCreateReversal.ts
68820
69008
  function transfersCreateReversal(client, request, options) {
68821
- return new APIPromise($do117(client, request, options));
69009
+ return new APIPromise($do118(client, request, options));
68822
69010
  }
68823
- async function $do117(client, request, options) {
69011
+ async function $do118(client, request, options) {
68824
69012
  const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
68825
69013
  if (!parsed.ok) {
68826
69014
  return [parsed, { status: "invalid" }];
@@ -68917,12 +69105,12 @@ var init_transfersCreateReversal = __esm(() => {
68917
69105
  });
68918
69106
 
68919
69107
  // src/mcp-server/tools/transfersCreateReversal.ts
68920
- var args117, tool$transfersCreateReversal;
69108
+ var args118, tool$transfersCreateReversal;
68921
69109
  var init_transfersCreateReversal2 = __esm(() => {
68922
69110
  init_transfersCreateReversal();
68923
69111
  init_operations();
68924
69112
  init_tools();
68925
- args117 = {
69113
+ args118 = {
68926
69114
  request: CreateReversalRequest$inboundSchema
68927
69115
  };
68928
69116
  tool$transfersCreateReversal = {
@@ -68933,9 +69121,9 @@ to learn more.
68933
69121
 
68934
69122
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
68935
69123
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68936
- args: args117,
68937
- tool: async (client, args118, ctx) => {
68938
- const [result, apiCall] = await transfersCreateReversal(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69124
+ args: args118,
69125
+ tool: async (client, args119, ctx) => {
69126
+ const [result, apiCall] = await transfersCreateReversal(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68939
69127
  if (!result.ok) {
68940
69128
  return {
68941
69129
  content: [{ type: "text", text: result.error.message }],
@@ -68950,9 +69138,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68950
69138
 
68951
69139
  // src/funcs/transfersGenerateOptions.ts
68952
69140
  function transfersGenerateOptions(client, request, options) {
68953
- return new APIPromise($do118(client, request, options));
69141
+ return new APIPromise($do119(client, request, options));
68954
69142
  }
68955
- async function $do118(client, request, options) {
69143
+ async function $do119(client, request, options) {
68956
69144
  const parsed = safeParse(request, (value) => CreateTransferOptions$outboundSchema.parse(value), "Input validation failed");
68957
69145
  if (!parsed.ok) {
68958
69146
  return [parsed, { status: "invalid" }];
@@ -69027,12 +69215,12 @@ var init_transfersGenerateOptions = __esm(() => {
69027
69215
  });
69028
69216
 
69029
69217
  // src/mcp-server/tools/transfersGenerateOptions.ts
69030
- var args118, tool$transfersGenerateOptions;
69218
+ var args119, tool$transfersGenerateOptions;
69031
69219
  var init_transfersGenerateOptions2 = __esm(() => {
69032
69220
  init_transfersGenerateOptions();
69033
69221
  init_components();
69034
69222
  init_tools();
69035
- args118 = {
69223
+ args119 = {
69036
69224
  request: CreateTransferOptions$inboundSchema
69037
69225
  };
69038
69226
  tool$transfersGenerateOptions = {
@@ -69044,9 +69232,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
69044
69232
 
69045
69233
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69046
69234
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69047
- args: args118,
69048
- tool: async (client, args119, ctx) => {
69049
- const [result, apiCall] = await transfersGenerateOptions(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69235
+ args: args119,
69236
+ tool: async (client, args120, ctx) => {
69237
+ const [result, apiCall] = await transfersGenerateOptions(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69050
69238
  if (!result.ok) {
69051
69239
  return {
69052
69240
  content: [{ type: "text", text: result.error.message }],
@@ -69061,9 +69249,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69061
69249
 
69062
69250
  // src/funcs/transfersGet.ts
69063
69251
  function transfersGet(client, request, options) {
69064
- return new APIPromise($do119(client, request, options));
69252
+ return new APIPromise($do120(client, request, options));
69065
69253
  }
69066
- async function $do119(client, request, options) {
69254
+ async function $do120(client, request, options) {
69067
69255
  const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
69068
69256
  if (!parsed.ok) {
69069
69257
  return [parsed, { status: "invalid" }];
@@ -69143,12 +69331,12 @@ var init_transfersGet = __esm(() => {
69143
69331
  });
69144
69332
 
69145
69333
  // src/mcp-server/tools/transfersGet.ts
69146
- var args119, tool$transfersGet;
69334
+ var args120, tool$transfersGet;
69147
69335
  var init_transfersGet2 = __esm(() => {
69148
69336
  init_transfersGet();
69149
69337
  init_operations();
69150
69338
  init_tools();
69151
- args119 = {
69339
+ args120 = {
69152
69340
  request: GetTransferRequest$inboundSchema
69153
69341
  };
69154
69342
  tool$transfersGet = {
@@ -69160,9 +69348,9 @@ to learn more.
69160
69348
 
69161
69349
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69162
69350
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69163
- args: args119,
69164
- tool: async (client, args120, ctx) => {
69165
- const [result, apiCall] = await transfersGet(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69351
+ args: args120,
69352
+ tool: async (client, args121, ctx) => {
69353
+ const [result, apiCall] = await transfersGet(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69166
69354
  if (!result.ok) {
69167
69355
  return {
69168
69356
  content: [{ type: "text", text: result.error.message }],
@@ -69177,9 +69365,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69177
69365
 
69178
69366
  // src/funcs/transfersGetCancellation.ts
69179
69367
  function transfersGetCancellation(client, request, options) {
69180
- return new APIPromise($do120(client, request, options));
69368
+ return new APIPromise($do121(client, request, options));
69181
69369
  }
69182
- async function $do120(client, request, options) {
69370
+ async function $do121(client, request, options) {
69183
69371
  const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
69184
69372
  if (!parsed.ok) {
69185
69373
  return [parsed, { status: "invalid" }];
@@ -69263,12 +69451,12 @@ var init_transfersGetCancellation = __esm(() => {
69263
69451
  });
69264
69452
 
69265
69453
  // src/mcp-server/tools/transfersGetCancellation.ts
69266
- var args120, tool$transfersGetCancellation;
69454
+ var args121, tool$transfersGetCancellation;
69267
69455
  var init_transfersGetCancellation2 = __esm(() => {
69268
69456
  init_transfersGetCancellation();
69269
69457
  init_operations();
69270
69458
  init_tools();
69271
- args120 = {
69459
+ args121 = {
69272
69460
  request: GetCancellationRequest$inboundSchema
69273
69461
  };
69274
69462
  tool$transfersGetCancellation = {
@@ -69277,9 +69465,9 @@ var init_transfersGetCancellation2 = __esm(() => {
69277
69465
 
69278
69466
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
69279
69467
  to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69280
- args: args120,
69281
- tool: async (client, args121, ctx) => {
69282
- const [result, apiCall] = await transfersGetCancellation(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69468
+ args: args121,
69469
+ tool: async (client, args122, ctx) => {
69470
+ const [result, apiCall] = await transfersGetCancellation(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69283
69471
  if (!result.ok) {
69284
69472
  return {
69285
69473
  content: [{ type: "text", text: result.error.message }],
@@ -69294,9 +69482,9 @@ var init_transfersGetCancellation2 = __esm(() => {
69294
69482
 
69295
69483
  // src/funcs/transfersGetRefund.ts
69296
69484
  function transfersGetRefund(client, request, options) {
69297
- return new APIPromise($do121(client, request, options));
69485
+ return new APIPromise($do122(client, request, options));
69298
69486
  }
69299
- async function $do121(client, request, options) {
69487
+ async function $do122(client, request, options) {
69300
69488
  const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
69301
69489
  if (!parsed.ok) {
69302
69490
  return [parsed, { status: "invalid" }];
@@ -69380,12 +69568,12 @@ var init_transfersGetRefund = __esm(() => {
69380
69568
  });
69381
69569
 
69382
69570
  // src/mcp-server/tools/transfersGetRefund.ts
69383
- var args121, tool$transfersGetRefund;
69571
+ var args122, tool$transfersGetRefund;
69384
69572
  var init_transfersGetRefund2 = __esm(() => {
69385
69573
  init_transfersGetRefund();
69386
69574
  init_operations();
69387
69575
  init_tools();
69388
- args121 = {
69576
+ args122 = {
69389
69577
  request: GetRefundRequest$inboundSchema
69390
69578
  };
69391
69579
  tool$transfersGetRefund = {
@@ -69394,9 +69582,9 @@ var init_transfersGetRefund2 = __esm(() => {
69394
69582
 
69395
69583
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69396
69584
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69397
- args: args121,
69398
- tool: async (client, args122, ctx) => {
69399
- const [result, apiCall] = await transfersGetRefund(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69585
+ args: args122,
69586
+ tool: async (client, args123, ctx) => {
69587
+ const [result, apiCall] = await transfersGetRefund(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69400
69588
  if (!result.ok) {
69401
69589
  return {
69402
69590
  content: [{ type: "text", text: result.error.message }],
@@ -69411,9 +69599,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69411
69599
 
69412
69600
  // src/funcs/transfersInitiateRefund.ts
69413
69601
  function transfersInitiateRefund(client, request, options) {
69414
- return new APIPromise($do122(client, request, options));
69602
+ return new APIPromise($do123(client, request, options));
69415
69603
  }
69416
- async function $do122(client, request, options) {
69604
+ async function $do123(client, request, options) {
69417
69605
  const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
69418
69606
  if (!parsed.ok) {
69419
69607
  return [parsed, { status: "invalid" }];
@@ -69503,12 +69691,12 @@ var init_transfersInitiateRefund = __esm(() => {
69503
69691
  });
69504
69692
 
69505
69693
  // src/mcp-server/tools/transfersInitiateRefund.ts
69506
- var args122, tool$transfersInitiateRefund;
69694
+ var args123, tool$transfersInitiateRefund;
69507
69695
  var init_transfersInitiateRefund2 = __esm(() => {
69508
69696
  init_transfersInitiateRefund();
69509
69697
  init_operations();
69510
69698
  init_tools();
69511
- args122 = {
69699
+ args123 = {
69512
69700
  request: InitiateRefundRequest$inboundSchema
69513
69701
  };
69514
69702
  tool$transfersInitiateRefund = {
@@ -69520,9 +69708,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
69520
69708
 
69521
69709
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69522
69710
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
69523
- args: args122,
69524
- tool: async (client, args123, ctx) => {
69525
- const [result, apiCall] = await transfersInitiateRefund(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69711
+ args: args123,
69712
+ tool: async (client, args124, ctx) => {
69713
+ const [result, apiCall] = await transfersInitiateRefund(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69526
69714
  if (!result.ok) {
69527
69715
  return {
69528
69716
  content: [{ type: "text", text: result.error.message }],
@@ -69537,9 +69725,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
69537
69725
 
69538
69726
  // src/funcs/transfersList.ts
69539
69727
  function transfersList(client, request, options) {
69540
- return new APIPromise($do123(client, request, options));
69728
+ return new APIPromise($do124(client, request, options));
69541
69729
  }
69542
- async function $do123(client, request, options) {
69730
+ async function $do124(client, request, options) {
69543
69731
  const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
69544
69732
  if (!parsed.ok) {
69545
69733
  return [parsed, { status: "invalid" }];
@@ -69627,12 +69815,12 @@ var init_transfersList = __esm(() => {
69627
69815
  });
69628
69816
 
69629
69817
  // src/mcp-server/tools/transfersList.ts
69630
- var args123, tool$transfersList;
69818
+ var args124, tool$transfersList;
69631
69819
  var init_transfersList2 = __esm(() => {
69632
69820
  init_transfersList();
69633
69821
  init_operations();
69634
69822
  init_tools();
69635
- args123 = {
69823
+ args124 = {
69636
69824
  request: ListTransfersRequest$inboundSchema
69637
69825
  };
69638
69826
  tool$transfersList = {
@@ -69648,9 +69836,9 @@ period of time. You can run multiple requests in smaller time window increments
69648
69836
 
69649
69837
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69650
69838
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69651
- args: args123,
69652
- tool: async (client, args124, ctx) => {
69653
- const [result, apiCall] = await transfersList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69839
+ args: args124,
69840
+ tool: async (client, args125, ctx) => {
69841
+ const [result, apiCall] = await transfersList(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69654
69842
  if (!result.ok) {
69655
69843
  return {
69656
69844
  content: [{ type: "text", text: result.error.message }],
@@ -69665,9 +69853,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69665
69853
 
69666
69854
  // src/funcs/transfersListRefunds.ts
69667
69855
  function transfersListRefunds(client, request, options) {
69668
- return new APIPromise($do124(client, request, options));
69856
+ return new APIPromise($do125(client, request, options));
69669
69857
  }
69670
- async function $do124(client, request, options) {
69858
+ async function $do125(client, request, options) {
69671
69859
  const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
69672
69860
  if (!parsed.ok) {
69673
69861
  return [parsed, { status: "invalid" }];
@@ -69747,12 +69935,12 @@ var init_transfersListRefunds = __esm(() => {
69747
69935
  });
69748
69936
 
69749
69937
  // src/mcp-server/tools/transfersListRefunds.ts
69750
- var args124, tool$transfersListRefunds;
69938
+ var args125, tool$transfersListRefunds;
69751
69939
  var init_transfersListRefunds2 = __esm(() => {
69752
69940
  init_transfersListRefunds();
69753
69941
  init_operations();
69754
69942
  init_tools();
69755
- args124 = {
69943
+ args125 = {
69756
69944
  request: ListRefundsRequest$inboundSchema
69757
69945
  };
69758
69946
  tool$transfersListRefunds = {
@@ -69761,9 +69949,9 @@ var init_transfersListRefunds2 = __esm(() => {
69761
69949
 
69762
69950
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69763
69951
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69764
- args: args124,
69765
- tool: async (client, args125, ctx) => {
69766
- const [result, apiCall] = await transfersListRefunds(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69952
+ args: args125,
69953
+ tool: async (client, args126, ctx) => {
69954
+ const [result, apiCall] = await transfersListRefunds(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69767
69955
  if (!result.ok) {
69768
69956
  return {
69769
69957
  content: [{ type: "text", text: result.error.message }],
@@ -69778,9 +69966,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
69778
69966
 
69779
69967
  // src/funcs/transfersUpdate.ts
69780
69968
  function transfersUpdate(client, request, options) {
69781
- return new APIPromise($do125(client, request, options));
69969
+ return new APIPromise($do126(client, request, options));
69782
69970
  }
69783
- async function $do125(client, request, options) {
69971
+ async function $do126(client, request, options) {
69784
69972
  const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
69785
69973
  if (!parsed.ok) {
69786
69974
  return [parsed, { status: "invalid" }];
@@ -69861,12 +70049,12 @@ var init_transfersUpdate = __esm(() => {
69861
70049
  });
69862
70050
 
69863
70051
  // src/mcp-server/tools/transfersUpdate.ts
69864
- var args125, tool$transfersUpdate;
70052
+ var args126, tool$transfersUpdate;
69865
70053
  var init_transfersUpdate2 = __esm(() => {
69866
70054
  init_transfersUpdate();
69867
70055
  init_operations();
69868
70056
  init_tools();
69869
- args125 = {
70057
+ args126 = {
69870
70058
  request: UpdateTransferRequest$inboundSchema
69871
70059
  };
69872
70060
  tool$transfersUpdate = {
@@ -69877,9 +70065,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
69877
70065
 
69878
70066
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69879
70067
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
69880
- args: args125,
69881
- tool: async (client, args126, ctx) => {
69882
- const [result, apiCall] = await transfersUpdate(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70068
+ args: args126,
70069
+ tool: async (client, args127, ctx) => {
70070
+ const [result, apiCall] = await transfersUpdate(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69883
70071
  if (!result.ok) {
69884
70072
  return {
69885
70073
  content: [{ type: "text", text: result.error.message }],
@@ -69894,9 +70082,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
69894
70082
 
69895
70083
  // src/funcs/underwritingGet.ts
69896
70084
  function underwritingGet(client, request, options) {
69897
- return new APIPromise($do126(client, request, options));
70085
+ return new APIPromise($do127(client, request, options));
69898
70086
  }
69899
- async function $do126(client, request, options) {
70087
+ async function $do127(client, request, options) {
69900
70088
  const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
69901
70089
  if (!parsed.ok) {
69902
70090
  return [parsed, { status: "invalid" }];
@@ -69972,12 +70160,12 @@ var init_underwritingGet = __esm(() => {
69972
70160
  });
69973
70161
 
69974
70162
  // src/mcp-server/tools/underwritingGet.ts
69975
- var args126, tool$underwritingGet;
70163
+ var args127, tool$underwritingGet;
69976
70164
  var init_underwritingGet2 = __esm(() => {
69977
70165
  init_underwritingGet();
69978
70166
  init_operations();
69979
70167
  init_tools();
69980
- args126 = {
70168
+ args127 = {
69981
70169
  request: GetUnderwritingRequest$inboundSchema
69982
70170
  };
69983
70171
  tool$underwritingGet = {
@@ -69988,9 +70176,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
69988
70176
 
69989
70177
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69990
70178
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
69991
- args: args126,
69992
- tool: async (client, args127, ctx) => {
69993
- const [result, apiCall] = await underwritingGet(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70179
+ args: args127,
70180
+ tool: async (client, args128, ctx) => {
70181
+ const [result, apiCall] = await underwritingGet(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69994
70182
  if (!result.ok) {
69995
70183
  return {
69996
70184
  content: [{ type: "text", text: result.error.message }],
@@ -70005,9 +70193,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
70005
70193
 
70006
70194
  // src/funcs/underwritingUpsert.ts
70007
70195
  function underwritingUpsert(client, request, options) {
70008
- return new APIPromise($do127(client, request, options));
70196
+ return new APIPromise($do128(client, request, options));
70009
70197
  }
70010
- async function $do127(client, request, options) {
70198
+ async function $do128(client, request, options) {
70011
70199
  const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
70012
70200
  if (!parsed.ok) {
70013
70201
  return [parsed, { status: "invalid" }];
@@ -70101,12 +70289,12 @@ var init_underwritingUpsert = __esm(() => {
70101
70289
  });
70102
70290
 
70103
70291
  // src/mcp-server/tools/underwritingUpsert.ts
70104
- var args127, tool$underwritingUpsert;
70292
+ var args128, tool$underwritingUpsert;
70105
70293
  var init_underwritingUpsert2 = __esm(() => {
70106
70294
  init_underwritingUpsert();
70107
70295
  init_operations();
70108
70296
  init_tools();
70109
- args127 = {
70297
+ args128 = {
70110
70298
  request: UpsertUnderwritingRequest$inboundSchema
70111
70299
  };
70112
70300
  tool$underwritingUpsert = {
@@ -70117,9 +70305,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
70117
70305
 
70118
70306
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
70119
70307
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
70120
- args: args127,
70121
- tool: async (client, args128, ctx) => {
70122
- const [result, apiCall] = await underwritingUpsert(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70308
+ args: args128,
70309
+ tool: async (client, args129, ctx) => {
70310
+ const [result, apiCall] = await underwritingUpsert(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70123
70311
  if (!result.ok) {
70124
70312
  return {
70125
70313
  content: [{ type: "text", text: result.error.message }],
@@ -70134,9 +70322,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
70134
70322
 
70135
70323
  // src/funcs/walletsGet.ts
70136
70324
  function walletsGet(client, request, options) {
70137
- return new APIPromise($do128(client, request, options));
70325
+ return new APIPromise($do129(client, request, options));
70138
70326
  }
70139
- async function $do128(client, request, options) {
70327
+ async function $do129(client, request, options) {
70140
70328
  const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
70141
70329
  if (!parsed.ok) {
70142
70330
  return [parsed, { status: "invalid" }];
@@ -70216,12 +70404,12 @@ var init_walletsGet = __esm(() => {
70216
70404
  });
70217
70405
 
70218
70406
  // src/mcp-server/tools/walletsGet.ts
70219
- var args128, tool$walletsGet;
70407
+ var args129, tool$walletsGet;
70220
70408
  var init_walletsGet2 = __esm(() => {
70221
70409
  init_walletsGet();
70222
70410
  init_operations();
70223
70411
  init_tools();
70224
- args128 = {
70412
+ args129 = {
70225
70413
  request: GetWalletRequest$inboundSchema
70226
70414
  };
70227
70415
  tool$walletsGet = {
@@ -70232,9 +70420,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
70232
70420
 
70233
70421
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
70234
70422
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70235
- args: args128,
70236
- tool: async (client, args129, ctx) => {
70237
- const [result, apiCall] = await walletsGet(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70423
+ args: args129,
70424
+ tool: async (client, args130, ctx) => {
70425
+ const [result, apiCall] = await walletsGet(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70238
70426
  if (!result.ok) {
70239
70427
  return {
70240
70428
  content: [{ type: "text", text: result.error.message }],
@@ -70249,9 +70437,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70249
70437
 
70250
70438
  // src/funcs/walletsList.ts
70251
70439
  function walletsList(client, request, options) {
70252
- return new APIPromise($do129(client, request, options));
70440
+ return new APIPromise($do130(client, request, options));
70253
70441
  }
70254
- async function $do129(client, request, options) {
70442
+ async function $do130(client, request, options) {
70255
70443
  const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
70256
70444
  if (!parsed.ok) {
70257
70445
  return [parsed, { status: "invalid" }];
@@ -70327,12 +70515,12 @@ var init_walletsList = __esm(() => {
70327
70515
  });
70328
70516
 
70329
70517
  // src/mcp-server/tools/walletsList.ts
70330
- var args129, tool$walletsList;
70518
+ var args130, tool$walletsList;
70331
70519
  var init_walletsList2 = __esm(() => {
70332
70520
  init_walletsList();
70333
70521
  init_operations();
70334
70522
  init_tools();
70335
- args129 = {
70523
+ args130 = {
70336
70524
  request: ListWalletsRequest$inboundSchema
70337
70525
  };
70338
70526
  tool$walletsList = {
@@ -70343,9 +70531,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
70343
70531
 
70344
70532
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
70345
70533
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70346
- args: args129,
70347
- tool: async (client, args130, ctx) => {
70348
- const [result, apiCall] = await walletsList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70534
+ args: args130,
70535
+ tool: async (client, args131, ctx) => {
70536
+ const [result, apiCall] = await walletsList(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70349
70537
  if (!result.ok) {
70350
70538
  return {
70351
70539
  content: [{ type: "text", text: result.error.message }],
@@ -70360,9 +70548,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70360
70548
 
70361
70549
  // src/funcs/walletTransactionsGet.ts
70362
70550
  function walletTransactionsGet(client, request, options) {
70363
- return new APIPromise($do130(client, request, options));
70551
+ return new APIPromise($do131(client, request, options));
70364
70552
  }
70365
- async function $do130(client, request, options) {
70553
+ async function $do131(client, request, options) {
70366
70554
  const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
70367
70555
  if (!parsed.ok) {
70368
70556
  return [parsed, { status: "invalid" }];
@@ -70446,12 +70634,12 @@ var init_walletTransactionsGet = __esm(() => {
70446
70634
  });
70447
70635
 
70448
70636
  // src/mcp-server/tools/walletTransactionsGet.ts
70449
- var args130, tool$walletTransactionsGet;
70637
+ var args131, tool$walletTransactionsGet;
70450
70638
  var init_walletTransactionsGet2 = __esm(() => {
70451
70639
  init_walletTransactionsGet();
70452
70640
  init_operations();
70453
70641
  init_tools();
70454
- args130 = {
70642
+ args131 = {
70455
70643
  request: GetWalletTransactionRequest$inboundSchema
70456
70644
  };
70457
70645
  tool$walletTransactionsGet = {
@@ -70462,9 +70650,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
70462
70650
 
70463
70651
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
70464
70652
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70465
- args: args130,
70466
- tool: async (client, args131, ctx) => {
70467
- const [result, apiCall] = await walletTransactionsGet(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70653
+ args: args131,
70654
+ tool: async (client, args132, ctx) => {
70655
+ const [result, apiCall] = await walletTransactionsGet(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70468
70656
  if (!result.ok) {
70469
70657
  return {
70470
70658
  content: [{ type: "text", text: result.error.message }],
@@ -70479,9 +70667,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70479
70667
 
70480
70668
  // src/funcs/walletTransactionsList.ts
70481
70669
  function walletTransactionsList(client, request, options) {
70482
- return new APIPromise($do131(client, request, options));
70670
+ return new APIPromise($do132(client, request, options));
70483
70671
  }
70484
- async function $do131(client, request, options) {
70672
+ async function $do132(client, request, options) {
70485
70673
  const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
70486
70674
  if (!parsed.ok) {
70487
70675
  return [parsed, { status: "invalid" }];
@@ -70576,12 +70764,12 @@ var init_walletTransactionsList = __esm(() => {
70576
70764
  });
70577
70765
 
70578
70766
  // src/mcp-server/tools/walletTransactionsList.ts
70579
- var args131, tool$walletTransactionsList;
70767
+ var args132, tool$walletTransactionsList;
70580
70768
  var init_walletTransactionsList2 = __esm(() => {
70581
70769
  init_walletTransactionsList();
70582
70770
  init_operations();
70583
70771
  init_tools();
70584
- args131 = {
70772
+ args132 = {
70585
70773
  request: ListWalletTransactionsRequest$inboundSchema
70586
70774
  };
70587
70775
  tool$walletTransactionsList = {
@@ -70592,9 +70780,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
70592
70780
 
70593
70781
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
70594
70782
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70595
- args: args131,
70596
- tool: async (client, args132, ctx) => {
70597
- const [result, apiCall] = await walletTransactionsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70783
+ args: args132,
70784
+ tool: async (client, args133, ctx) => {
70785
+ const [result, apiCall] = await walletTransactionsList(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70598
70786
  if (!result.ok) {
70599
70787
  return {
70600
70788
  content: [{ type: "text", text: result.error.message }],
@@ -70611,7 +70799,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
70611
70799
  function createMCPServer(deps) {
70612
70800
  const server = new McpServer({
70613
70801
  name: "Moov",
70614
- version: "0.10.0"
70802
+ version: "0.10.1"
70615
70803
  });
70616
70804
  const client = new MoovCore({
70617
70805
  security: deps.security,
@@ -70710,6 +70898,7 @@ function createMCPServer(deps) {
70710
70898
  tool(tool$sweepsUpdateConfig);
70711
70899
  tool(tool$sweepsList);
70712
70900
  tool(tool$sweepsGet);
70901
+ tool(tool$terminalConfigurationsGet);
70713
70902
  tool(tool$transfersCreate);
70714
70903
  tool(tool$transfersList);
70715
70904
  tool(tool$transfersGet);
@@ -70879,6 +71068,7 @@ var init_server2 = __esm(() => {
70879
71068
  init_terminalApplicationsDelete2();
70880
71069
  init_terminalApplicationsGet2();
70881
71070
  init_terminalApplicationsList2();
71071
+ init_terminalConfigurationsGet2();
70882
71072
  init_transfersCreate2();
70883
71073
  init_transfersCreateCancellation2();
70884
71074
  init_transfersCreateReversal2();
@@ -72110,7 +72300,7 @@ var routes = rn({
72110
72300
  var app = Ve(routes, {
72111
72301
  name: "mcp",
72112
72302
  versionInfo: {
72113
- currentVersion: "0.10.0"
72303
+ currentVersion: "0.10.1"
72114
72304
  }
72115
72305
  });
72116
72306
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -72118,5 +72308,5 @@ export {
72118
72308
  app
72119
72309
  };
72120
72310
 
72121
- //# debugId=BC8E86FEC6C5688D64756E2164756E21
72311
+ //# debugId=EC15EF2799041F1B64756E2164756E21
72122
72312
  //# sourceMappingURL=mcp-server.js.map