@moovio/sdk 0.14.4 → 0.14.6

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 (86) hide show
  1. package/README.md +38 -52
  2. package/bin/mcp-server.js +180 -303
  3. package/bin/mcp-server.js.map +16 -18
  4. package/docs/sdks/transfers/README.md +11 -116
  5. package/examples/package-lock.json +1 -1
  6. package/funcs/supportListTickets.js +1 -0
  7. package/funcs/supportListTickets.js.map +1 -1
  8. package/funcs/transfersGenerateOptions.d.ts +4 -3
  9. package/funcs/transfersGenerateOptions.d.ts.map +1 -1
  10. package/funcs/transfersGenerateOptions.js +14 -5
  11. package/funcs/transfersGenerateOptions.js.map +1 -1
  12. package/jsr.json +1 -1
  13. package/lib/config.d.ts +3 -3
  14. package/lib/config.js +3 -3
  15. package/mcp-server/mcp-server.js +1 -1
  16. package/mcp-server/server.d.ts.map +1 -1
  17. package/mcp-server/server.js +2 -4
  18. package/mcp-server/server.js.map +1 -1
  19. package/mcp-server/tools/transfersGenerateOptions.d.ts +2 -2
  20. package/mcp-server/tools/transfersGenerateOptions.d.ts.map +1 -1
  21. package/mcp-server/tools/transfersGenerateOptions.js +5 -3
  22. package/mcp-server/tools/transfersGenerateOptions.js.map +1 -1
  23. package/models/components/cardtransactiondetails.d.ts +5 -0
  24. package/models/components/cardtransactiondetails.d.ts.map +1 -1
  25. package/models/components/cardtransactiondetails.js +2 -0
  26. package/models/components/cardtransactiondetails.js.map +1 -1
  27. package/models/components/index.d.ts +1 -0
  28. package/models/components/index.d.ts.map +1 -1
  29. package/models/components/index.js +1 -0
  30. package/models/components/index.js.map +1 -1
  31. package/models/components/itemlistnextpage.d.ts +32 -0
  32. package/models/components/itemlistnextpage.d.ts.map +1 -0
  33. package/models/components/itemlistnextpage.js +69 -0
  34. package/models/components/itemlistnextpage.js.map +1 -0
  35. package/models/components/terminalcard.d.ts +10 -0
  36. package/models/components/terminalcard.d.ts.map +1 -1
  37. package/models/components/terminalcard.js +4 -0
  38. package/models/components/terminalcard.js.map +1 -1
  39. package/models/operations/createtransferoptions.d.ts +30 -0
  40. package/models/operations/createtransferoptions.d.ts.map +1 -1
  41. package/models/operations/createtransferoptions.js +38 -1
  42. package/models/operations/createtransferoptions.js.map +1 -1
  43. package/models/operations/index.d.ts +0 -1
  44. package/models/operations/index.d.ts.map +1 -1
  45. package/models/operations/index.js +0 -1
  46. package/models/operations/index.js.map +1 -1
  47. package/models/operations/listtickets.d.ts +34 -2
  48. package/models/operations/listtickets.d.ts.map +1 -1
  49. package/models/operations/listtickets.js +34 -3
  50. package/models/operations/listtickets.js.map +1 -1
  51. package/package.json +1 -1
  52. package/sdk/transfers.d.ts +1 -12
  53. package/sdk/transfers.d.ts.map +1 -1
  54. package/sdk/transfers.js +2 -15
  55. package/sdk/transfers.js.map +1 -1
  56. package/src/funcs/supportListTickets.ts +1 -0
  57. package/src/funcs/transfersGenerateOptions.ts +18 -7
  58. package/src/lib/config.ts +3 -3
  59. package/src/mcp-server/mcp-server.ts +1 -1
  60. package/src/mcp-server/server.ts +2 -4
  61. package/src/mcp-server/tools/transfersGenerateOptions.ts +5 -3
  62. package/src/models/components/cardtransactiondetails.ts +7 -0
  63. package/src/models/components/index.ts +1 -0
  64. package/src/models/components/itemlistnextpage.ts +69 -0
  65. package/src/models/components/terminalcard.ts +14 -0
  66. package/src/models/operations/createtransferoptions.ts +75 -0
  67. package/src/models/operations/index.ts +0 -1
  68. package/src/models/operations/listtickets.ts +73 -4
  69. package/src/sdk/transfers.ts +4 -26
  70. package/test/README.md +13 -1
  71. package/test/package.json +2 -0
  72. package/funcs/transfersGenerateOptionsForAccount.d.ts +0 -23
  73. package/funcs/transfersGenerateOptionsForAccount.d.ts.map +0 -1
  74. package/funcs/transfersGenerateOptionsForAccount.js +0 -133
  75. package/funcs/transfersGenerateOptionsForAccount.js.map +0 -1
  76. package/mcp-server/tools/transfersGenerateOptionsForAccount.d.ts +0 -8
  77. package/mcp-server/tools/transfersGenerateOptionsForAccount.d.ts.map +0 -1
  78. package/mcp-server/tools/transfersGenerateOptionsForAccount.js +0 -70
  79. package/mcp-server/tools/transfersGenerateOptionsForAccount.js.map +0 -1
  80. package/models/operations/createtransferoptionsforaccount.d.ts +0 -104
  81. package/models/operations/createtransferoptionsforaccount.d.ts.map +0 -1
  82. package/models/operations/createtransferoptionsforaccount.js +0 -155
  83. package/models/operations/createtransferoptionsforaccount.js.map +0 -1
  84. package/src/funcs/transfersGenerateOptionsForAccount.ts +0 -202
  85. package/src/mcp-server/tools/transfersGenerateOptionsForAccount.ts +0 -46
  86. package/src/models/operations/createtransferoptionsforaccount.ts +0 -257
package/bin/mcp-server.js CHANGED
@@ -34175,9 +34175,9 @@ var init_config = __esm(() => {
34175
34175
  SDK_METADATA = {
34176
34176
  language: "typescript",
34177
34177
  openapiDocVersion: "latest",
34178
- sdkVersion: "0.14.4",
34179
- genVersion: "2.656.3",
34180
- userAgent: "speakeasy-sdk/typescript 0.14.4 2.656.3 latest @moovio/sdk"
34178
+ sdkVersion: "0.14.6",
34179
+ genVersion: "2.656.5",
34180
+ userAgent: "speakeasy-sdk/typescript 0.14.6 2.656.5 latest @moovio/sdk"
34181
34181
  };
34182
34182
  });
34183
34183
 
@@ -38888,7 +38888,9 @@ var init_terminalcard = __esm(() => {
38888
38888
  holderName: stringType().optional(),
38889
38889
  issuer: stringType().optional(),
38890
38890
  issuerCountry: stringType().optional(),
38891
- lastFourCardNumber: stringType().optional()
38891
+ lastFourCardNumber: stringType().optional(),
38892
+ applicationID: stringType().optional(),
38893
+ applicationName: stringType().optional()
38892
38894
  });
38893
38895
  TerminalCard$outboundSchema = objectType({
38894
38896
  entryMode: EntryMode$outboundSchema.optional(),
@@ -38900,7 +38902,9 @@ var init_terminalcard = __esm(() => {
38900
38902
  holderName: stringType().optional(),
38901
38903
  issuer: stringType().optional(),
38902
38904
  issuerCountry: stringType().optional(),
38903
- lastFourCardNumber: stringType().optional()
38905
+ lastFourCardNumber: stringType().optional(),
38906
+ applicationID: stringType().optional(),
38907
+ applicationName: stringType().optional()
38904
38908
  });
38905
38909
  ((TerminalCard$) => {
38906
38910
  TerminalCard$.inboundSchema = TerminalCard$inboundSchema;
@@ -38994,7 +38998,8 @@ var init_cardtransactiondetails = __esm(() => {
38994
38998
  canceledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
38995
38999
  completedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
38996
39000
  interchangeQualification: stringType().optional(),
38997
- feeProgram: stringType().optional()
39001
+ feeProgram: stringType().optional(),
39002
+ authorizationCode: stringType().optional()
38998
39003
  });
38999
39004
  CardTransactionDetails$outboundSchema = objectType({
39000
39005
  status: CardTransactionStatus$outboundSchema,
@@ -39008,7 +39013,8 @@ var init_cardtransactiondetails = __esm(() => {
39008
39013
  canceledOn: dateType().transform((v2) => v2.toISOString()).optional(),
39009
39014
  completedOn: dateType().transform((v2) => v2.toISOString()).optional(),
39010
39015
  interchangeQualification: stringType().optional(),
39011
- feeProgram: stringType().optional()
39016
+ feeProgram: stringType().optional(),
39017
+ authorizationCode: stringType().optional()
39012
39018
  });
39013
39019
  ((CardTransactionDetails$) => {
39014
39020
  CardTransactionDetails$.inboundSchema = CardTransactionDetails$inboundSchema;
@@ -42661,6 +42667,22 @@ var init_issuingcontrolserror = __esm(() => {
42661
42667
  })(IssuingControlsError$ ||= {});
42662
42668
  });
42663
42669
 
42670
+ // src/models/components/itemlistnextpage.ts
42671
+ var ItemListNextPage$inboundSchema, ItemListNextPage$outboundSchema, ItemListNextPage$;
42672
+ var init_itemlistnextpage = __esm(() => {
42673
+ init_esm();
42674
+ ItemListNextPage$inboundSchema = objectType({
42675
+ cursor: stringType()
42676
+ });
42677
+ ItemListNextPage$outboundSchema = objectType({
42678
+ cursor: stringType()
42679
+ });
42680
+ ((ItemListNextPage$) => {
42681
+ ItemListNextPage$.inboundSchema = ItemListNextPage$inboundSchema;
42682
+ ItemListNextPage$.outboundSchema = ItemListNextPage$outboundSchema;
42683
+ })(ItemListNextPage$ ||= {});
42684
+ });
42685
+
42664
42686
  // src/models/components/jsonwebkey.ts
42665
42687
  var Use, Use$inboundSchema, Use$outboundSchema, Use$, JSONWebKey$inboundSchema, JSONWebKey$outboundSchema, JSONWebKey$;
42666
42688
  var init_jsonwebkey = __esm(() => {
@@ -47106,6 +47128,7 @@ var init_components = __esm(() => {
47106
47128
  init_issuingmerchantdata();
47107
47129
  init_issuingvelocitylimit();
47108
47130
  init_issuingvelocitylimiterror();
47131
+ init_itemlistnextpage();
47109
47132
  init_jsonwebkey();
47110
47133
  init_linkaccountterminalapplication();
47111
47134
  init_linkapplepay();
@@ -50799,7 +50822,7 @@ var init_createtransfer2 = __esm(() => {
50799
50822
  });
50800
50823
 
50801
50824
  // src/models/operations/createtransferoptions.ts
50802
- var CreateTransferOptionsGlobals$inboundSchema, CreateTransferOptionsGlobals$outboundSchema, CreateTransferOptionsGlobals$, CreateTransferOptionsResponse$inboundSchema, CreateTransferOptionsResponse$outboundSchema, CreateTransferOptionsResponse$;
50825
+ var CreateTransferOptionsGlobals$inboundSchema, CreateTransferOptionsGlobals$outboundSchema, CreateTransferOptionsGlobals$, CreateTransferOptionsRequest$inboundSchema, CreateTransferOptionsRequest$outboundSchema, CreateTransferOptionsRequest$, CreateTransferOptionsResponse$inboundSchema, CreateTransferOptionsResponse$outboundSchema, CreateTransferOptionsResponse$;
50803
50826
  var init_createtransferoptions2 = __esm(() => {
50804
50827
  init_esm();
50805
50828
  init_primitives();
@@ -50822,55 +50845,7 @@ var init_createtransferoptions2 = __esm(() => {
50822
50845
  CreateTransferOptionsGlobals$.inboundSchema = CreateTransferOptionsGlobals$inboundSchema;
50823
50846
  CreateTransferOptionsGlobals$.outboundSchema = CreateTransferOptionsGlobals$outboundSchema;
50824
50847
  })(CreateTransferOptionsGlobals$ ||= {});
50825
- CreateTransferOptionsResponse$inboundSchema = objectType({
50826
- Headers: recordType(arrayType(stringType())),
50827
- Result: TransferOptions$inboundSchema
50828
- }).transform((v2) => {
50829
- return remap(v2, {
50830
- Headers: "headers",
50831
- Result: "result"
50832
- });
50833
- });
50834
- CreateTransferOptionsResponse$outboundSchema = objectType({
50835
- headers: recordType(arrayType(stringType())),
50836
- result: TransferOptions$outboundSchema
50837
- }).transform((v2) => {
50838
- return remap(v2, {
50839
- headers: "Headers",
50840
- result: "Result"
50841
- });
50842
- });
50843
- ((CreateTransferOptionsResponse$) => {
50844
- CreateTransferOptionsResponse$.inboundSchema = CreateTransferOptionsResponse$inboundSchema;
50845
- CreateTransferOptionsResponse$.outboundSchema = CreateTransferOptionsResponse$outboundSchema;
50846
- })(CreateTransferOptionsResponse$ ||= {});
50847
- });
50848
-
50849
- // src/models/operations/createtransferoptionsforaccount.ts
50850
- var CreateTransferOptionsForAccountGlobals$inboundSchema, CreateTransferOptionsForAccountGlobals$outboundSchema, CreateTransferOptionsForAccountGlobals$, CreateTransferOptionsForAccountRequest$inboundSchema, CreateTransferOptionsForAccountRequest$outboundSchema, CreateTransferOptionsForAccountRequest$, CreateTransferOptionsForAccountResponse$inboundSchema, CreateTransferOptionsForAccountResponse$outboundSchema, CreateTransferOptionsForAccountResponse$;
50851
- var init_createtransferoptionsforaccount = __esm(() => {
50852
- init_esm();
50853
- init_primitives();
50854
- init_components();
50855
- CreateTransferOptionsForAccountGlobals$inboundSchema = objectType({
50856
- "x-moov-version": stringType().default("v2024.01.00")
50857
- }).transform((v2) => {
50858
- return remap(v2, {
50859
- "x-moov-version": "xMoovVersion"
50860
- });
50861
- });
50862
- CreateTransferOptionsForAccountGlobals$outboundSchema = objectType({
50863
- xMoovVersion: stringType().default("v2024.01.00")
50864
- }).transform((v2) => {
50865
- return remap(v2, {
50866
- xMoovVersion: "x-moov-version"
50867
- });
50868
- });
50869
- ((CreateTransferOptionsForAccountGlobals$) => {
50870
- CreateTransferOptionsForAccountGlobals$.inboundSchema = CreateTransferOptionsForAccountGlobals$inboundSchema;
50871
- CreateTransferOptionsForAccountGlobals$.outboundSchema = CreateTransferOptionsForAccountGlobals$outboundSchema;
50872
- })(CreateTransferOptionsForAccountGlobals$ ||= {});
50873
- CreateTransferOptionsForAccountRequest$inboundSchema = objectType({
50848
+ CreateTransferOptionsRequest$inboundSchema = objectType({
50874
50849
  accountID: stringType(),
50875
50850
  CreateTransferOptions: CreateTransferOptions$inboundSchema
50876
50851
  }).transform((v2) => {
@@ -50878,7 +50853,7 @@ var init_createtransferoptionsforaccount = __esm(() => {
50878
50853
  CreateTransferOptions: "createTransferOptions"
50879
50854
  });
50880
50855
  });
50881
- CreateTransferOptionsForAccountRequest$outboundSchema = objectType({
50856
+ CreateTransferOptionsRequest$outboundSchema = objectType({
50882
50857
  accountID: stringType(),
50883
50858
  createTransferOptions: CreateTransferOptions$outboundSchema
50884
50859
  }).transform((v2) => {
@@ -50886,11 +50861,11 @@ var init_createtransferoptionsforaccount = __esm(() => {
50886
50861
  createTransferOptions: "CreateTransferOptions"
50887
50862
  });
50888
50863
  });
50889
- ((CreateTransferOptionsForAccountRequest$) => {
50890
- CreateTransferOptionsForAccountRequest$.inboundSchema = CreateTransferOptionsForAccountRequest$inboundSchema;
50891
- CreateTransferOptionsForAccountRequest$.outboundSchema = CreateTransferOptionsForAccountRequest$outboundSchema;
50892
- })(CreateTransferOptionsForAccountRequest$ ||= {});
50893
- CreateTransferOptionsForAccountResponse$inboundSchema = objectType({
50864
+ ((CreateTransferOptionsRequest$) => {
50865
+ CreateTransferOptionsRequest$.inboundSchema = CreateTransferOptionsRequest$inboundSchema;
50866
+ CreateTransferOptionsRequest$.outboundSchema = CreateTransferOptionsRequest$outboundSchema;
50867
+ })(CreateTransferOptionsRequest$ ||= {});
50868
+ CreateTransferOptionsResponse$inboundSchema = objectType({
50894
50869
  Headers: recordType(arrayType(stringType())),
50895
50870
  Result: TransferOptions$inboundSchema
50896
50871
  }).transform((v2) => {
@@ -50899,7 +50874,7 @@ var init_createtransferoptionsforaccount = __esm(() => {
50899
50874
  Result: "result"
50900
50875
  });
50901
50876
  });
50902
- CreateTransferOptionsForAccountResponse$outboundSchema = objectType({
50877
+ CreateTransferOptionsResponse$outboundSchema = objectType({
50903
50878
  headers: recordType(arrayType(stringType())),
50904
50879
  result: TransferOptions$outboundSchema
50905
50880
  }).transform((v2) => {
@@ -50908,10 +50883,10 @@ var init_createtransferoptionsforaccount = __esm(() => {
50908
50883
  result: "Result"
50909
50884
  });
50910
50885
  });
50911
- ((CreateTransferOptionsForAccountResponse$) => {
50912
- CreateTransferOptionsForAccountResponse$.inboundSchema = CreateTransferOptionsForAccountResponse$inboundSchema;
50913
- CreateTransferOptionsForAccountResponse$.outboundSchema = CreateTransferOptionsForAccountResponse$outboundSchema;
50914
- })(CreateTransferOptionsForAccountResponse$ ||= {});
50886
+ ((CreateTransferOptionsResponse$) => {
50887
+ CreateTransferOptionsResponse$.inboundSchema = CreateTransferOptionsResponse$inboundSchema;
50888
+ CreateTransferOptionsResponse$.outboundSchema = CreateTransferOptionsResponse$outboundSchema;
50889
+ })(CreateTransferOptionsResponse$ ||= {});
50915
50890
  });
50916
50891
 
50917
50892
  // src/models/operations/deletedisputeevidencefile.ts
@@ -56357,7 +56332,7 @@ var init_listticketmessages = __esm(() => {
56357
56332
  });
56358
56333
 
56359
56334
  // src/models/operations/listtickets.ts
56360
- var ListTicketsGlobals$inboundSchema, ListTicketsGlobals$outboundSchema, ListTicketsGlobals$, ListTicketsRequest$inboundSchema, ListTicketsRequest$outboundSchema, ListTicketsRequest$, ListTicketsResponse$inboundSchema, ListTicketsResponse$outboundSchema, ListTicketsResponse$;
56335
+ var ListTicketsGlobals$inboundSchema, ListTicketsGlobals$outboundSchema, ListTicketsGlobals$, ListTicketsRequest$inboundSchema, ListTicketsRequest$outboundSchema, ListTicketsRequest$, ListTicketsResponseBody$inboundSchema, ListTicketsResponseBody$outboundSchema, ListTicketsResponseBody$, ListTicketsResponse$inboundSchema, ListTicketsResponse$outboundSchema, ListTicketsResponse$;
56361
56336
  var init_listtickets = __esm(() => {
56362
56337
  init_esm();
56363
56338
  init_primitives();
@@ -56383,20 +56358,34 @@ var init_listtickets = __esm(() => {
56383
56358
  ListTicketsRequest$inboundSchema = objectType({
56384
56359
  cursor: stringType().optional(),
56385
56360
  count: numberType().int().optional(),
56361
+ status: TicketStatus$inboundSchema.optional(),
56386
56362
  accountID: stringType()
56387
56363
  });
56388
56364
  ListTicketsRequest$outboundSchema = objectType({
56389
56365
  cursor: stringType().optional(),
56390
56366
  count: numberType().int().optional(),
56367
+ status: TicketStatus$outboundSchema.optional(),
56391
56368
  accountID: stringType()
56392
56369
  });
56393
56370
  ((ListTicketsRequest$) => {
56394
56371
  ListTicketsRequest$.inboundSchema = ListTicketsRequest$inboundSchema;
56395
56372
  ListTicketsRequest$.outboundSchema = ListTicketsRequest$outboundSchema;
56396
56373
  })(ListTicketsRequest$ ||= {});
56374
+ ListTicketsResponseBody$inboundSchema = objectType({
56375
+ items: arrayType(Ticket$inboundSchema),
56376
+ nextPage: ItemListNextPage$inboundSchema.optional()
56377
+ });
56378
+ ListTicketsResponseBody$outboundSchema = objectType({
56379
+ items: arrayType(Ticket$outboundSchema),
56380
+ nextPage: ItemListNextPage$outboundSchema.optional()
56381
+ });
56382
+ ((ListTicketsResponseBody$) => {
56383
+ ListTicketsResponseBody$.inboundSchema = ListTicketsResponseBody$inboundSchema;
56384
+ ListTicketsResponseBody$.outboundSchema = ListTicketsResponseBody$outboundSchema;
56385
+ })(ListTicketsResponseBody$ ||= {});
56397
56386
  ListTicketsResponse$inboundSchema = objectType({
56398
56387
  Headers: recordType(arrayType(stringType())),
56399
- Result: arrayType(Ticket$inboundSchema)
56388
+ Result: lazyType(() => ListTicketsResponseBody$inboundSchema)
56400
56389
  }).transform((v2) => {
56401
56390
  return remap(v2, {
56402
56391
  Headers: "headers",
@@ -56405,7 +56394,7 @@ var init_listtickets = __esm(() => {
56405
56394
  });
56406
56395
  ListTicketsResponse$outboundSchema = objectType({
56407
56396
  headers: recordType(arrayType(stringType())),
56408
- result: arrayType(Ticket$outboundSchema)
56397
+ result: lazyType(() => ListTicketsResponseBody$outboundSchema)
56409
56398
  }).transform((v2) => {
56410
56399
  return remap(v2, {
56411
56400
  headers: "Headers",
@@ -58490,7 +58479,6 @@ var init_operations = __esm(() => {
58490
58479
  init_createticket2();
58491
58480
  init_createtransfer2();
58492
58481
  init_createtransferoptions2();
58493
- init_createtransferoptionsforaccount();
58494
58482
  init_deletedisputeevidencefile();
58495
58483
  init_deleterepresentative();
58496
58484
  init_deleteterminalapplication();
@@ -72150,7 +72138,8 @@ async function $do113(client, request, options) {
72150
72138
  const path = pathToFunc("/accounts/{accountID}/tickets")(pathParams);
72151
72139
  const query = encodeFormQuery({
72152
72140
  count: payload.count,
72153
- cursor: payload.cursor
72141
+ cursor: payload.cursor,
72142
+ status: payload.status
72154
72143
  }, { explode: false });
72155
72144
  const headers = new Headers(compactMap({
72156
72145
  Accept: "application/json",
@@ -73922,13 +73911,21 @@ function transfersGenerateOptions(client, request, options) {
73922
73911
  return new APIPromise($do128(client, request, options));
73923
73912
  }
73924
73913
  async function $do128(client, request, options) {
73925
- const parsed = safeParse(request, (value) => CreateTransferOptions$outboundSchema.parse(value), "Input validation failed");
73914
+ const parsed = safeParse(request, (value) => CreateTransferOptionsRequest$outboundSchema.parse(value), "Input validation failed");
73926
73915
  if (!parsed.ok) {
73927
73916
  return [parsed, { status: "invalid" }];
73928
73917
  }
73929
73918
  const payload = parsed.value;
73930
- const body = encodeJSON("body", payload, { explode: true });
73931
- const path = pathToFunc("/transfer-options")();
73919
+ const body = encodeJSON("body", payload.CreateTransferOptions, {
73920
+ explode: true
73921
+ });
73922
+ const pathParams = {
73923
+ accountID: encodeSimple("accountID", payload.accountID, {
73924
+ explode: false,
73925
+ charEncoding: "percent"
73926
+ })
73927
+ };
73928
+ const path = pathToFunc("/accounts/{accountID}/transfer-options")(pathParams);
73932
73929
  const headers = new Headers(compactMap({
73933
73930
  "Content-Type": "application/json",
73934
73931
  Accept: "application/json",
@@ -73991,7 +73988,6 @@ var init_transfersGenerateOptions = __esm(() => {
73991
73988
  init_schemas();
73992
73989
  init_security();
73993
73990
  init_url();
73994
- init_components();
73995
73991
  init_errors2();
73996
73992
  init_operations();
73997
73993
  init_async();
@@ -74001,131 +73997,14 @@ var init_transfersGenerateOptions = __esm(() => {
74001
73997
  var args128, tool$transfersGenerateOptions;
74002
73998
  var init_transfersGenerateOptions2 = __esm(() => {
74003
73999
  init_transfersGenerateOptions();
74004
- init_components();
74000
+ init_operations();
74005
74001
  init_tools();
74006
74002
  args128 = {
74007
- request: CreateTransferOptions$inboundSchema
74003
+ request: CreateTransferOptionsRequest$inboundSchema
74008
74004
  };
74009
74005
  tool$transfersGenerateOptions = {
74010
74006
  name: "transfers-generate-options",
74011
74007
  description: `Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
74012
- supply in the request.
74013
-
74014
- Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/overview/) to learn more.
74015
-
74016
- To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74017
- you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
74018
- args: args128,
74019
- tool: async (client, args129, ctx) => {
74020
- const [result, apiCall] = await transfersGenerateOptions(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74021
- if (!result.ok) {
74022
- return {
74023
- content: [{ type: "text", text: result.error.message }],
74024
- isError: true
74025
- };
74026
- }
74027
- const value = result.value.result;
74028
- return formatResult(value, apiCall);
74029
- }
74030
- };
74031
- });
74032
-
74033
- // src/funcs/transfersGenerateOptionsForAccount.ts
74034
- function transfersGenerateOptionsForAccount(client, request, options) {
74035
- return new APIPromise($do129(client, request, options));
74036
- }
74037
- async function $do129(client, request, options) {
74038
- const parsed = safeParse(request, (value) => CreateTransferOptionsForAccountRequest$outboundSchema.parse(value), "Input validation failed");
74039
- if (!parsed.ok) {
74040
- return [parsed, { status: "invalid" }];
74041
- }
74042
- const payload = parsed.value;
74043
- const body = encodeJSON("body", payload.CreateTransferOptions, {
74044
- explode: true
74045
- });
74046
- const pathParams = {
74047
- accountID: encodeSimple("accountID", payload.accountID, {
74048
- explode: false,
74049
- charEncoding: "percent"
74050
- })
74051
- };
74052
- const path = pathToFunc("/accounts/{accountID}/transfer-options")(pathParams);
74053
- const headers = new Headers(compactMap({
74054
- "Content-Type": "application/json",
74055
- Accept: "application/json",
74056
- "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
74057
- }));
74058
- const securityInput = await extractSecurity(client._options.security);
74059
- const requestSecurity = resolveGlobalSecurity(securityInput);
74060
- const context = {
74061
- options: client._options,
74062
- baseURL: options?.serverURL ?? client._baseURL ?? "",
74063
- operationID: "createTransferOptionsForAccount",
74064
- oAuth2Scopes: [],
74065
- resolvedSecurity: requestSecurity,
74066
- securitySource: client._options.security,
74067
- retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
74068
- retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
74069
- };
74070
- const requestRes = client._createRequest(context, {
74071
- security: requestSecurity,
74072
- method: "POST",
74073
- baseURL: options?.serverURL,
74074
- path,
74075
- headers,
74076
- body,
74077
- userAgent: client._options.userAgent,
74078
- timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
74079
- }, options);
74080
- if (!requestRes.ok) {
74081
- return [requestRes, { status: "invalid" }];
74082
- }
74083
- const req = requestRes.value;
74084
- const doResult = await client._do(req, {
74085
- context,
74086
- errorCodes: ["400", "401", "403", "422", "429", "4XX", "500", "504", "5XX"],
74087
- retryConfig: context.retryConfig,
74088
- retryCodes: context.retryCodes
74089
- });
74090
- if (!doResult.ok) {
74091
- return [doResult, { status: "request-error", request: req }];
74092
- }
74093
- const response = doResult.value;
74094
- const responseFields = {
74095
- HttpMeta: { Response: response, Request: req }
74096
- };
74097
- const [result] = await match(json(200, CreateTransferOptionsForAccountResponse$inboundSchema, { hdrs: true, key: "Result" }), jsonErr(400, GenericError$inboundSchema, { hdrs: true }), jsonErr(422, TransferOptionsValidationError$inboundSchema, {
74098
- hdrs: true
74099
- }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74100
- if (!result.ok) {
74101
- return [result, { status: "complete", request: req, response }];
74102
- }
74103
- return [result, { status: "complete", request: req, response }];
74104
- }
74105
- var init_transfersGenerateOptionsForAccount = __esm(() => {
74106
- init_encodings();
74107
- init_matchers();
74108
- init_primitives();
74109
- init_schemas();
74110
- init_security();
74111
- init_url();
74112
- init_errors2();
74113
- init_operations();
74114
- init_async();
74115
- });
74116
-
74117
- // src/mcp-server/tools/transfersGenerateOptionsForAccount.ts
74118
- var args129, tool$transfersGenerateOptionsForAccount;
74119
- var init_transfersGenerateOptionsForAccount2 = __esm(() => {
74120
- init_transfersGenerateOptionsForAccount();
74121
- init_operations();
74122
- init_tools();
74123
- args129 = {
74124
- request: CreateTransferOptionsForAccountRequest$inboundSchema
74125
- };
74126
- tool$transfersGenerateOptionsForAccount = {
74127
- name: "transfers-generate-options-for-account",
74128
- description: `Generate available payment method options for one or multiple transfer participants depending on the accountID or paymentMethodID you
74129
74008
  supply in the request body.
74130
74009
 
74131
74010
  The accountID in the route should the partner's accountID.
@@ -74134,9 +74013,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
74134
74013
 
74135
74014
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74136
74015
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
74137
- args: args129,
74138
- tool: async (client, args130, ctx) => {
74139
- const [result, apiCall] = await transfersGenerateOptionsForAccount(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74016
+ args: args128,
74017
+ tool: async (client, args129, ctx) => {
74018
+ const [result, apiCall] = await transfersGenerateOptions(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74140
74019
  if (!result.ok) {
74141
74020
  return {
74142
74021
  content: [{ type: "text", text: result.error.message }],
@@ -74151,9 +74030,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
74151
74030
 
74152
74031
  // src/funcs/transfersGet.ts
74153
74032
  function transfersGet(client, request, options) {
74154
- return new APIPromise($do130(client, request, options));
74033
+ return new APIPromise($do129(client, request, options));
74155
74034
  }
74156
- async function $do130(client, request, options) {
74035
+ async function $do129(client, request, options) {
74157
74036
  const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
74158
74037
  if (!parsed.ok) {
74159
74038
  return [parsed, { status: "invalid" }];
@@ -74235,12 +74114,12 @@ var init_transfersGet = __esm(() => {
74235
74114
  });
74236
74115
 
74237
74116
  // src/mcp-server/tools/transfersGet.ts
74238
- var args130, tool$transfersGet;
74117
+ var args129, tool$transfersGet;
74239
74118
  var init_transfersGet2 = __esm(() => {
74240
74119
  init_transfersGet();
74241
74120
  init_operations();
74242
74121
  init_tools();
74243
- args130 = {
74122
+ args129 = {
74244
74123
  request: GetTransferRequest$inboundSchema
74245
74124
  };
74246
74125
  tool$transfersGet = {
@@ -74252,9 +74131,9 @@ to learn more.
74252
74131
 
74253
74132
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74254
74133
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
74255
- args: args130,
74256
- tool: async (client, args131, ctx) => {
74257
- const [result, apiCall] = await transfersGet(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74134
+ args: args129,
74135
+ tool: async (client, args130, ctx) => {
74136
+ const [result, apiCall] = await transfersGet(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74258
74137
  if (!result.ok) {
74259
74138
  return {
74260
74139
  content: [{ type: "text", text: result.error.message }],
@@ -74269,9 +74148,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
74269
74148
 
74270
74149
  // src/funcs/transfersGetCancellation.ts
74271
74150
  function transfersGetCancellation(client, request, options) {
74272
- return new APIPromise($do131(client, request, options));
74151
+ return new APIPromise($do130(client, request, options));
74273
74152
  }
74274
- async function $do131(client, request, options) {
74153
+ async function $do130(client, request, options) {
74275
74154
  const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
74276
74155
  if (!parsed.ok) {
74277
74156
  return [parsed, { status: "invalid" }];
@@ -74357,12 +74236,12 @@ var init_transfersGetCancellation = __esm(() => {
74357
74236
  });
74358
74237
 
74359
74238
  // src/mcp-server/tools/transfersGetCancellation.ts
74360
- var args131, tool$transfersGetCancellation;
74239
+ var args130, tool$transfersGetCancellation;
74361
74240
  var init_transfersGetCancellation2 = __esm(() => {
74362
74241
  init_transfersGetCancellation();
74363
74242
  init_operations();
74364
74243
  init_tools();
74365
- args131 = {
74244
+ args130 = {
74366
74245
  request: GetCancellationRequest$inboundSchema
74367
74246
  };
74368
74247
  tool$transfersGetCancellation = {
@@ -74371,9 +74250,9 @@ var init_transfersGetCancellation2 = __esm(() => {
74371
74250
 
74372
74251
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
74373
74252
  to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
74374
- args: args131,
74375
- tool: async (client, args132, ctx) => {
74376
- const [result, apiCall] = await transfersGetCancellation(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74253
+ args: args130,
74254
+ tool: async (client, args131, ctx) => {
74255
+ const [result, apiCall] = await transfersGetCancellation(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74377
74256
  if (!result.ok) {
74378
74257
  return {
74379
74258
  content: [{ type: "text", text: result.error.message }],
@@ -74388,9 +74267,9 @@ var init_transfersGetCancellation2 = __esm(() => {
74388
74267
 
74389
74268
  // src/funcs/transfersGetRefund.ts
74390
74269
  function transfersGetRefund(client, request, options) {
74391
- return new APIPromise($do132(client, request, options));
74270
+ return new APIPromise($do131(client, request, options));
74392
74271
  }
74393
- async function $do132(client, request, options) {
74272
+ async function $do131(client, request, options) {
74394
74273
  const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
74395
74274
  if (!parsed.ok) {
74396
74275
  return [parsed, { status: "invalid" }];
@@ -74476,12 +74355,12 @@ var init_transfersGetRefund = __esm(() => {
74476
74355
  });
74477
74356
 
74478
74357
  // src/mcp-server/tools/transfersGetRefund.ts
74479
- var args132, tool$transfersGetRefund;
74358
+ var args131, tool$transfersGetRefund;
74480
74359
  var init_transfersGetRefund2 = __esm(() => {
74481
74360
  init_transfersGetRefund();
74482
74361
  init_operations();
74483
74362
  init_tools();
74484
- args132 = {
74363
+ args131 = {
74485
74364
  request: GetRefundRequest$inboundSchema
74486
74365
  };
74487
74366
  tool$transfersGetRefund = {
@@ -74490,9 +74369,9 @@ var init_transfersGetRefund2 = __esm(() => {
74490
74369
 
74491
74370
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74492
74371
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
74493
- args: args132,
74494
- tool: async (client, args133, ctx) => {
74495
- const [result, apiCall] = await transfersGetRefund(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74372
+ args: args131,
74373
+ tool: async (client, args132, ctx) => {
74374
+ const [result, apiCall] = await transfersGetRefund(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74496
74375
  if (!result.ok) {
74497
74376
  return {
74498
74377
  content: [{ type: "text", text: result.error.message }],
@@ -74507,9 +74386,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
74507
74386
 
74508
74387
  // src/funcs/transfersInitiateRefund.ts
74509
74388
  function transfersInitiateRefund(client, request, options) {
74510
- return new APIPromise($do133(client, request, options));
74389
+ return new APIPromise($do132(client, request, options));
74511
74390
  }
74512
- async function $do133(client, request, options) {
74391
+ async function $do132(client, request, options) {
74513
74392
  const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
74514
74393
  if (!parsed.ok) {
74515
74394
  return [parsed, { status: "invalid" }];
@@ -74601,12 +74480,12 @@ var init_transfersInitiateRefund = __esm(() => {
74601
74480
  });
74602
74481
 
74603
74482
  // src/mcp-server/tools/transfersInitiateRefund.ts
74604
- var args133, tool$transfersInitiateRefund;
74483
+ var args132, tool$transfersInitiateRefund;
74605
74484
  var init_transfersInitiateRefund2 = __esm(() => {
74606
74485
  init_transfersInitiateRefund();
74607
74486
  init_operations();
74608
74487
  init_tools();
74609
- args133 = {
74488
+ args132 = {
74610
74489
  request: InitiateRefundRequest$inboundSchema
74611
74490
  };
74612
74491
  tool$transfersInitiateRefund = {
@@ -74618,9 +74497,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
74618
74497
 
74619
74498
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74620
74499
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
74621
- args: args133,
74622
- tool: async (client, args134, ctx) => {
74623
- const [result, apiCall] = await transfersInitiateRefund(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74500
+ args: args132,
74501
+ tool: async (client, args133, ctx) => {
74502
+ const [result, apiCall] = await transfersInitiateRefund(client, args133.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74624
74503
  if (!result.ok) {
74625
74504
  return {
74626
74505
  content: [{ type: "text", text: result.error.message }],
@@ -74635,9 +74514,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
74635
74514
 
74636
74515
  // src/funcs/transfersList.ts
74637
74516
  function transfersList(client, request, options) {
74638
- return new APIPromise($do134(client, request, options));
74517
+ return new APIPromise($do133(client, request, options));
74639
74518
  }
74640
- async function $do134(client, request, options) {
74519
+ async function $do133(client, request, options) {
74641
74520
  const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
74642
74521
  if (!parsed.ok) {
74643
74522
  return [parsed, { status: "invalid" }];
@@ -74730,12 +74609,12 @@ var init_transfersList = __esm(() => {
74730
74609
  });
74731
74610
 
74732
74611
  // src/mcp-server/tools/transfersList.ts
74733
- var args134, tool$transfersList;
74612
+ var args133, tool$transfersList;
74734
74613
  var init_transfersList2 = __esm(() => {
74735
74614
  init_transfersList();
74736
74615
  init_operations();
74737
74616
  init_tools();
74738
- args134 = {
74617
+ args133 = {
74739
74618
  request: ListTransfersRequest$inboundSchema
74740
74619
  };
74741
74620
  tool$transfersList = {
@@ -74751,9 +74630,9 @@ period of time. You can run multiple requests in smaller time window increments
74751
74630
 
74752
74631
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74753
74632
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
74754
- args: args134,
74755
- tool: async (client, args135, ctx) => {
74756
- const [result, apiCall] = await transfersList(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74633
+ args: args133,
74634
+ tool: async (client, args134, ctx) => {
74635
+ const [result, apiCall] = await transfersList(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74757
74636
  if (!result.ok) {
74758
74637
  return {
74759
74638
  content: [{ type: "text", text: result.error.message }],
@@ -74768,9 +74647,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
74768
74647
 
74769
74648
  // src/funcs/transfersListRefunds.ts
74770
74649
  function transfersListRefunds(client, request, options) {
74771
- return new APIPromise($do135(client, request, options));
74650
+ return new APIPromise($do134(client, request, options));
74772
74651
  }
74773
- async function $do135(client, request, options) {
74652
+ async function $do134(client, request, options) {
74774
74653
  const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
74775
74654
  if (!parsed.ok) {
74776
74655
  return [parsed, { status: "invalid" }];
@@ -74852,12 +74731,12 @@ var init_transfersListRefunds = __esm(() => {
74852
74731
  });
74853
74732
 
74854
74733
  // src/mcp-server/tools/transfersListRefunds.ts
74855
- var args135, tool$transfersListRefunds;
74734
+ var args134, tool$transfersListRefunds;
74856
74735
  var init_transfersListRefunds2 = __esm(() => {
74857
74736
  init_transfersListRefunds();
74858
74737
  init_operations();
74859
74738
  init_tools();
74860
- args135 = {
74739
+ args134 = {
74861
74740
  request: ListRefundsRequest$inboundSchema
74862
74741
  };
74863
74742
  tool$transfersListRefunds = {
@@ -74866,9 +74745,9 @@ var init_transfersListRefunds2 = __esm(() => {
74866
74745
 
74867
74746
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74868
74747
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
74869
- args: args135,
74870
- tool: async (client, args136, ctx) => {
74871
- const [result, apiCall] = await transfersListRefunds(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74748
+ args: args134,
74749
+ tool: async (client, args135, ctx) => {
74750
+ const [result, apiCall] = await transfersListRefunds(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74872
74751
  if (!result.ok) {
74873
74752
  return {
74874
74753
  content: [{ type: "text", text: result.error.message }],
@@ -74883,9 +74762,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
74883
74762
 
74884
74763
  // src/funcs/transfersUpdate.ts
74885
74764
  function transfersUpdate(client, request, options) {
74886
- return new APIPromise($do136(client, request, options));
74765
+ return new APIPromise($do135(client, request, options));
74887
74766
  }
74888
- async function $do136(client, request, options) {
74767
+ async function $do135(client, request, options) {
74889
74768
  const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
74890
74769
  if (!parsed.ok) {
74891
74770
  return [parsed, { status: "invalid" }];
@@ -74968,12 +74847,12 @@ var init_transfersUpdate = __esm(() => {
74968
74847
  });
74969
74848
 
74970
74849
  // src/mcp-server/tools/transfersUpdate.ts
74971
- var args136, tool$transfersUpdate;
74850
+ var args135, tool$transfersUpdate;
74972
74851
  var init_transfersUpdate2 = __esm(() => {
74973
74852
  init_transfersUpdate();
74974
74853
  init_operations();
74975
74854
  init_tools();
74976
- args136 = {
74855
+ args135 = {
74977
74856
  request: UpdateTransferRequest$inboundSchema
74978
74857
  };
74979
74858
  tool$transfersUpdate = {
@@ -74984,9 +74863,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
74984
74863
 
74985
74864
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74986
74865
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
74987
- args: args136,
74988
- tool: async (client, args137, ctx) => {
74989
- const [result, apiCall] = await transfersUpdate(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74866
+ args: args135,
74867
+ tool: async (client, args136, ctx) => {
74868
+ const [result, apiCall] = await transfersUpdate(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74990
74869
  if (!result.ok) {
74991
74870
  return {
74992
74871
  content: [{ type: "text", text: result.error.message }],
@@ -75001,9 +74880,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
75001
74880
 
75002
74881
  // src/funcs/underwritingGet.ts
75003
74882
  function underwritingGet(client, request, options) {
75004
- return new APIPromise($do137(client, request, options));
74883
+ return new APIPromise($do136(client, request, options));
75005
74884
  }
75006
- async function $do137(client, request, options) {
74885
+ async function $do136(client, request, options) {
75007
74886
  const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
75008
74887
  if (!parsed.ok) {
75009
74888
  return [parsed, { status: "invalid" }];
@@ -75081,12 +74960,12 @@ var init_underwritingGet = __esm(() => {
75081
74960
  });
75082
74961
 
75083
74962
  // src/mcp-server/tools/underwritingGet.ts
75084
- var args137, tool$underwritingGet;
74963
+ var args136, tool$underwritingGet;
75085
74964
  var init_underwritingGet2 = __esm(() => {
75086
74965
  init_underwritingGet();
75087
74966
  init_operations();
75088
74967
  init_tools();
75089
- args137 = {
74968
+ args136 = {
75090
74969
  request: GetUnderwritingRequest$inboundSchema
75091
74970
  };
75092
74971
  tool$underwritingGet = {
@@ -75097,9 +74976,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
75097
74976
 
75098
74977
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75099
74978
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
75100
- args: args137,
75101
- tool: async (client, args138, ctx) => {
75102
- const [result, apiCall] = await underwritingGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74979
+ args: args136,
74980
+ tool: async (client, args137, ctx) => {
74981
+ const [result, apiCall] = await underwritingGet(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75103
74982
  if (!result.ok) {
75104
74983
  return {
75105
74984
  content: [{ type: "text", text: result.error.message }],
@@ -75114,9 +74993,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
75114
74993
 
75115
74994
  // src/funcs/underwritingSave.ts
75116
74995
  function underwritingSave(client, request, options) {
75117
- return new APIPromise($do138(client, request, options));
74996
+ return new APIPromise($do137(client, request, options));
75118
74997
  }
75119
- async function $do138(client, request, options) {
74998
+ async function $do137(client, request, options) {
75120
74999
  const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
75121
75000
  if (!parsed.ok) {
75122
75001
  return [parsed, { status: "invalid" }];
@@ -75212,12 +75091,12 @@ var init_underwritingSave = __esm(() => {
75212
75091
  });
75213
75092
 
75214
75093
  // src/mcp-server/tools/underwritingSave.ts
75215
- var args138, tool$underwritingSave;
75094
+ var args137, tool$underwritingSave;
75216
75095
  var init_underwritingSave2 = __esm(() => {
75217
75096
  init_underwritingSave();
75218
75097
  init_operations();
75219
75098
  init_tools();
75220
- args138 = {
75099
+ args137 = {
75221
75100
  request: SaveUnderwritingRequest$inboundSchema
75222
75101
  };
75223
75102
  tool$underwritingSave = {
@@ -75228,9 +75107,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
75228
75107
 
75229
75108
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75230
75109
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
75231
- args: args138,
75232
- tool: async (client, args139, ctx) => {
75233
- const [result, apiCall] = await underwritingSave(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75110
+ args: args137,
75111
+ tool: async (client, args138, ctx) => {
75112
+ const [result, apiCall] = await underwritingSave(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75234
75113
  if (!result.ok) {
75235
75114
  return {
75236
75115
  content: [{ type: "text", text: result.error.message }],
@@ -75245,9 +75124,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
75245
75124
 
75246
75125
  // src/funcs/underwritingUpsert.ts
75247
75126
  function underwritingUpsert(client, request, options) {
75248
- return new APIPromise($do139(client, request, options));
75127
+ return new APIPromise($do138(client, request, options));
75249
75128
  }
75250
- async function $do139(client, request, options) {
75129
+ async function $do138(client, request, options) {
75251
75130
  const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
75252
75131
  if (!parsed.ok) {
75253
75132
  return [parsed, { status: "invalid" }];
@@ -75343,12 +75222,12 @@ var init_underwritingUpsert = __esm(() => {
75343
75222
  });
75344
75223
 
75345
75224
  // src/mcp-server/tools/underwritingUpsert.ts
75346
- var args139, tool$underwritingUpsert;
75225
+ var args138, tool$underwritingUpsert;
75347
75226
  var init_underwritingUpsert2 = __esm(() => {
75348
75227
  init_underwritingUpsert();
75349
75228
  init_operations();
75350
75229
  init_tools();
75351
- args139 = {
75230
+ args138 = {
75352
75231
  request: UpsertUnderwritingRequest$inboundSchema
75353
75232
  };
75354
75233
  tool$underwritingUpsert = {
@@ -75359,9 +75238,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
75359
75238
 
75360
75239
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75361
75240
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
75362
- args: args139,
75363
- tool: async (client, args140, ctx) => {
75364
- const [result, apiCall] = await underwritingUpsert(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75241
+ args: args138,
75242
+ tool: async (client, args139, ctx) => {
75243
+ const [result, apiCall] = await underwritingUpsert(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75365
75244
  if (!result.ok) {
75366
75245
  return {
75367
75246
  content: [{ type: "text", text: result.error.message }],
@@ -75376,9 +75255,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
75376
75255
 
75377
75256
  // src/funcs/walletsGet.ts
75378
75257
  function walletsGet(client, request, options) {
75379
- return new APIPromise($do140(client, request, options));
75258
+ return new APIPromise($do139(client, request, options));
75380
75259
  }
75381
- async function $do140(client, request, options) {
75260
+ async function $do139(client, request, options) {
75382
75261
  const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
75383
75262
  if (!parsed.ok) {
75384
75263
  return [parsed, { status: "invalid" }];
@@ -75460,12 +75339,12 @@ var init_walletsGet = __esm(() => {
75460
75339
  });
75461
75340
 
75462
75341
  // src/mcp-server/tools/walletsGet.ts
75463
- var args140, tool$walletsGet;
75342
+ var args139, tool$walletsGet;
75464
75343
  var init_walletsGet2 = __esm(() => {
75465
75344
  init_walletsGet();
75466
75345
  init_operations();
75467
75346
  init_tools();
75468
- args140 = {
75347
+ args139 = {
75469
75348
  request: GetWalletRequest$inboundSchema
75470
75349
  };
75471
75350
  tool$walletsGet = {
@@ -75476,9 +75355,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
75476
75355
 
75477
75356
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75478
75357
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
75479
- args: args140,
75480
- tool: async (client, args141, ctx) => {
75481
- const [result, apiCall] = await walletsGet(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75358
+ args: args139,
75359
+ tool: async (client, args140, ctx) => {
75360
+ const [result, apiCall] = await walletsGet(client, args140.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75482
75361
  if (!result.ok) {
75483
75362
  return {
75484
75363
  content: [{ type: "text", text: result.error.message }],
@@ -75493,9 +75372,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
75493
75372
 
75494
75373
  // src/funcs/walletsList.ts
75495
75374
  function walletsList(client, request, options) {
75496
- return new APIPromise($do141(client, request, options));
75375
+ return new APIPromise($do140(client, request, options));
75497
75376
  }
75498
- async function $do141(client, request, options) {
75377
+ async function $do140(client, request, options) {
75499
75378
  const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
75500
75379
  if (!parsed.ok) {
75501
75380
  return [parsed, { status: "invalid" }];
@@ -75573,12 +75452,12 @@ var init_walletsList = __esm(() => {
75573
75452
  });
75574
75453
 
75575
75454
  // src/mcp-server/tools/walletsList.ts
75576
- var args141, tool$walletsList;
75455
+ var args140, tool$walletsList;
75577
75456
  var init_walletsList2 = __esm(() => {
75578
75457
  init_walletsList();
75579
75458
  init_operations();
75580
75459
  init_tools();
75581
- args141 = {
75460
+ args140 = {
75582
75461
  request: ListWalletsRequest$inboundSchema
75583
75462
  };
75584
75463
  tool$walletsList = {
@@ -75589,9 +75468,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
75589
75468
 
75590
75469
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75591
75470
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
75592
- args: args141,
75593
- tool: async (client, args142, ctx) => {
75594
- const [result, apiCall] = await walletsList(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75471
+ args: args140,
75472
+ tool: async (client, args141, ctx) => {
75473
+ const [result, apiCall] = await walletsList(client, args141.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75595
75474
  if (!result.ok) {
75596
75475
  return {
75597
75476
  content: [{ type: "text", text: result.error.message }],
@@ -75606,9 +75485,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
75606
75485
 
75607
75486
  // src/funcs/walletTransactionsGet.ts
75608
75487
  function walletTransactionsGet(client, request, options) {
75609
- return new APIPromise($do142(client, request, options));
75488
+ return new APIPromise($do141(client, request, options));
75610
75489
  }
75611
- async function $do142(client, request, options) {
75490
+ async function $do141(client, request, options) {
75612
75491
  const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
75613
75492
  if (!parsed.ok) {
75614
75493
  return [parsed, { status: "invalid" }];
@@ -75694,12 +75573,12 @@ var init_walletTransactionsGet = __esm(() => {
75694
75573
  });
75695
75574
 
75696
75575
  // src/mcp-server/tools/walletTransactionsGet.ts
75697
- var args142, tool$walletTransactionsGet;
75576
+ var args141, tool$walletTransactionsGet;
75698
75577
  var init_walletTransactionsGet2 = __esm(() => {
75699
75578
  init_walletTransactionsGet();
75700
75579
  init_operations();
75701
75580
  init_tools();
75702
- args142 = {
75581
+ args141 = {
75703
75582
  request: GetWalletTransactionRequest$inboundSchema
75704
75583
  };
75705
75584
  tool$walletTransactionsGet = {
@@ -75710,9 +75589,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
75710
75589
 
75711
75590
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75712
75591
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
75713
- args: args142,
75714
- tool: async (client, args143, ctx) => {
75715
- const [result, apiCall] = await walletTransactionsGet(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75592
+ args: args141,
75593
+ tool: async (client, args142, ctx) => {
75594
+ const [result, apiCall] = await walletTransactionsGet(client, args142.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75716
75595
  if (!result.ok) {
75717
75596
  return {
75718
75597
  content: [{ type: "text", text: result.error.message }],
@@ -75727,9 +75606,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
75727
75606
 
75728
75607
  // src/funcs/walletTransactionsList.ts
75729
75608
  function walletTransactionsList(client, request, options) {
75730
- return new APIPromise($do143(client, request, options));
75609
+ return new APIPromise($do142(client, request, options));
75731
75610
  }
75732
- async function $do143(client, request, options) {
75611
+ async function $do142(client, request, options) {
75733
75612
  const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
75734
75613
  if (!parsed.ok) {
75735
75614
  return [parsed, { status: "invalid" }];
@@ -75826,12 +75705,12 @@ var init_walletTransactionsList = __esm(() => {
75826
75705
  });
75827
75706
 
75828
75707
  // src/mcp-server/tools/walletTransactionsList.ts
75829
- var args143, tool$walletTransactionsList;
75708
+ var args142, tool$walletTransactionsList;
75830
75709
  var init_walletTransactionsList2 = __esm(() => {
75831
75710
  init_walletTransactionsList();
75832
75711
  init_operations();
75833
75712
  init_tools();
75834
- args143 = {
75713
+ args142 = {
75835
75714
  request: ListWalletTransactionsRequest$inboundSchema
75836
75715
  };
75837
75716
  tool$walletTransactionsList = {
@@ -75842,9 +75721,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
75842
75721
 
75843
75722
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
75844
75723
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
75845
- args: args143,
75846
- tool: async (client, args144, ctx) => {
75847
- const [result, apiCall] = await walletTransactionsList(client, args144.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75724
+ args: args142,
75725
+ tool: async (client, args143, ctx) => {
75726
+ const [result, apiCall] = await walletTransactionsList(client, args143.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
75848
75727
  if (!result.ok) {
75849
75728
  return {
75850
75729
  content: [{ type: "text", text: result.error.message }],
@@ -75861,7 +75740,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
75861
75740
  function createMCPServer(deps) {
75862
75741
  const server = new McpServer({
75863
75742
  name: "Moov",
75864
- version: "0.14.4"
75743
+ version: "0.14.6"
75865
75744
  });
75866
75745
  const client = new MoovCore({
75867
75746
  security: deps.security,
@@ -75969,7 +75848,7 @@ function createMCPServer(deps) {
75969
75848
  tool(tool$supportGetTicket);
75970
75849
  tool(tool$supportUpdateTicket);
75971
75850
  tool(tool$supportListTicketMessages);
75972
- tool(tool$transfersGenerateOptionsForAccount);
75851
+ tool(tool$transfersGenerateOptions);
75973
75852
  tool(tool$transfersCreate);
75974
75853
  tool(tool$transfersList);
75975
75854
  tool(tool$transfersGet);
@@ -75980,7 +75859,6 @@ function createMCPServer(deps) {
75980
75859
  tool(tool$transfersListRefunds);
75981
75860
  tool(tool$transfersGetRefund);
75982
75861
  tool(tool$transfersCreateReversal);
75983
- tool(tool$transfersGenerateOptions);
75984
75862
  tool(tool$underwritingGet);
75985
75863
  tool(tool$underwritingSave);
75986
75864
  tool(tool$underwritingUpsert);
@@ -76154,7 +76032,6 @@ var init_server2 = __esm(() => {
76154
76032
  init_transfersCreateCancellation2();
76155
76033
  init_transfersCreateReversal2();
76156
76034
  init_transfersGenerateOptions2();
76157
- init_transfersGenerateOptionsForAccount2();
76158
76035
  init_transfersGet2();
76159
76036
  init_transfersGetCancellation2();
76160
76037
  init_transfersGetRefund2();
@@ -77371,7 +77248,7 @@ var routes = rn({
77371
77248
  var app = Ve(routes, {
77372
77249
  name: "mcp",
77373
77250
  versionInfo: {
77374
- currentVersion: "0.14.4"
77251
+ currentVersion: "0.14.6"
77375
77252
  }
77376
77253
  });
77377
77254
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -77379,5 +77256,5 @@ export {
77379
77256
  app
77380
77257
  };
77381
77258
 
77382
- //# debugId=DAFBC45F030FAED264756E2164756E21
77259
+ //# debugId=DE2477558ED1C9E164756E2164756E21
77383
77260
  //# sourceMappingURL=mcp-server.js.map