@moovio/sdk 0.6.1 → 0.7.0

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 (127) hide show
  1. package/FUNCTIONS.md +1 -0
  2. package/README.md +25 -0
  3. package/bin/mcp-server.js +814 -275
  4. package/bin/mcp-server.js.map +26 -14
  5. package/docs/sdks/accounts/README.md +2 -0
  6. package/docs/sdks/onboarding/README.md +2 -0
  7. package/docs/sdks/receipts/README.md +189 -0
  8. package/funcs/receiptsCreate.d.ts +18 -0
  9. package/funcs/receiptsCreate.d.ts.map +1 -0
  10. package/funcs/receiptsCreate.js +133 -0
  11. package/funcs/receiptsCreate.js.map +1 -0
  12. package/funcs/receiptsList.d.ts +16 -0
  13. package/funcs/receiptsList.d.ts.map +1 -0
  14. package/funcs/receiptsList.js +121 -0
  15. package/funcs/receiptsList.js.map +1 -0
  16. package/jsr.json +1 -1
  17. package/lib/config.d.ts +3 -3
  18. package/lib/config.js +3 -3
  19. package/mcp-server/extensions.d.ts +9 -0
  20. package/mcp-server/extensions.d.ts.map +1 -0
  21. package/mcp-server/extensions.js +6 -0
  22. package/mcp-server/extensions.js.map +1 -0
  23. package/mcp-server/mcp-server.js +1 -1
  24. package/mcp-server/resources.d.ts +9 -4
  25. package/mcp-server/resources.d.ts.map +1 -1
  26. package/mcp-server/resources.js +36 -9
  27. package/mcp-server/resources.js.map +1 -1
  28. package/mcp-server/server.d.ts.map +1 -1
  29. package/mcp-server/server.js +10 -1
  30. package/mcp-server/server.js.map +1 -1
  31. package/mcp-server/tools/receiptsCreate.d.ts +9 -0
  32. package/mcp-server/tools/receiptsCreate.d.ts.map +1 -0
  33. package/mcp-server/tools/receiptsCreate.js +66 -0
  34. package/mcp-server/tools/receiptsCreate.js.map +1 -0
  35. package/mcp-server/tools/receiptsList.d.ts +8 -0
  36. package/mcp-server/tools/receiptsList.d.ts.map +1 -0
  37. package/mcp-server/tools/receiptsList.js +65 -0
  38. package/mcp-server/tools/receiptsList.js.map +1 -0
  39. package/models/components/achtransactiondetails.d.ts +2 -0
  40. package/models/components/achtransactiondetails.d.ts.map +1 -1
  41. package/models/components/achtransactiondetails.js +3 -0
  42. package/models/components/achtransactiondetails.js.map +1 -1
  43. package/models/components/achtransactionstatus.d.ts +3 -0
  44. package/models/components/achtransactionstatus.d.ts.map +1 -1
  45. package/models/components/achtransactionstatus.js +1 -0
  46. package/models/components/achtransactionstatus.js.map +1 -1
  47. package/models/components/createaccount.d.ts +6 -0
  48. package/models/components/createaccount.d.ts.map +1 -1
  49. package/models/components/createaccount.js +3 -0
  50. package/models/components/createaccount.js.map +1 -1
  51. package/models/components/createterminalapplication.d.ts +4 -4
  52. package/models/components/index.d.ts +4 -0
  53. package/models/components/index.d.ts.map +1 -1
  54. package/models/components/index.js +4 -0
  55. package/models/components/index.js.map +1 -1
  56. package/models/components/receiptkind.d.ts +31 -0
  57. package/models/components/receiptkind.d.ts.map +1 -0
  58. package/models/components/receiptkind.js +63 -0
  59. package/models/components/receiptkind.js.map +1 -0
  60. package/models/components/receiptrequest.d.ts +76 -0
  61. package/models/components/receiptrequest.d.ts.map +1 -0
  62. package/models/components/receiptrequest.js +80 -0
  63. package/models/components/receiptrequest.js.map +1 -0
  64. package/models/components/receiptresponse.d.ts +94 -0
  65. package/models/components/receiptresponse.d.ts.map +1 -0
  66. package/models/components/receiptresponse.js +90 -0
  67. package/models/components/receiptresponse.js.map +1 -0
  68. package/models/components/sentreceipt.d.ts +42 -0
  69. package/models/components/sentreceipt.d.ts.map +1 -0
  70. package/models/components/sentreceipt.js +73 -0
  71. package/models/components/sentreceipt.js.map +1 -0
  72. package/models/components/terminalapplication.d.ts +4 -4
  73. package/models/errors/index.d.ts +1 -0
  74. package/models/errors/index.d.ts.map +1 -1
  75. package/models/errors/index.js +1 -0
  76. package/models/errors/index.js.map +1 -1
  77. package/models/errors/receiptvalidationerror.d.ts +46 -0
  78. package/models/errors/receiptvalidationerror.d.ts.map +1 -0
  79. package/models/errors/receiptvalidationerror.js +98 -0
  80. package/models/errors/receiptvalidationerror.js.map +1 -0
  81. package/models/operations/createreceipts.d.ts +74 -0
  82. package/models/operations/createreceipts.d.ts.map +1 -0
  83. package/models/operations/createreceipts.js +118 -0
  84. package/models/operations/createreceipts.js.map +1 -0
  85. package/models/operations/index.d.ts +2 -0
  86. package/models/operations/index.d.ts.map +1 -1
  87. package/models/operations/index.js +2 -0
  88. package/models/operations/index.js.map +1 -1
  89. package/models/operations/listreceipts.d.ts +102 -0
  90. package/models/operations/listreceipts.d.ts.map +1 -0
  91. package/models/operations/listreceipts.js +145 -0
  92. package/models/operations/listreceipts.js.map +1 -0
  93. package/package.json +1 -1
  94. package/sdk/receipts.d.ts +20 -0
  95. package/sdk/receipts.d.ts.map +1 -0
  96. package/sdk/receipts.js +32 -0
  97. package/sdk/receipts.js.map +1 -0
  98. package/sdk/sdk.d.ts +3 -0
  99. package/sdk/sdk.d.ts.map +1 -1
  100. package/sdk/sdk.js +4 -0
  101. package/sdk/sdk.js.map +1 -1
  102. package/src/funcs/receiptsCreate.ts +190 -0
  103. package/src/funcs/receiptsList.ts +171 -0
  104. package/src/lib/config.ts +3 -3
  105. package/src/mcp-server/extensions.ts +13 -0
  106. package/src/mcp-server/mcp-server.ts +1 -1
  107. package/src/mcp-server/resources.ts +75 -14
  108. package/src/mcp-server/server.ts +20 -1
  109. package/src/mcp-server/tools/receiptsCreate.ts +39 -0
  110. package/src/mcp-server/tools/receiptsList.ts +38 -0
  111. package/src/models/components/achtransactiondetails.ts +5 -0
  112. package/src/models/components/achtransactionstatus.ts +1 -0
  113. package/src/models/components/createaccount.ts +8 -0
  114. package/src/models/components/createterminalapplication.ts +4 -4
  115. package/src/models/components/index.ts +4 -0
  116. package/src/models/components/receiptkind.ts +36 -0
  117. package/src/models/components/receiptrequest.ts +123 -0
  118. package/src/models/components/receiptresponse.ts +157 -0
  119. package/src/models/components/sentreceipt.ts +79 -0
  120. package/src/models/components/terminalapplication.ts +4 -4
  121. package/src/models/errors/index.ts +1 -0
  122. package/src/models/errors/receiptvalidationerror.ts +99 -0
  123. package/src/models/operations/createreceipts.ts +161 -0
  124. package/src/models/operations/index.ts +2 -0
  125. package/src/models/operations/listreceipts.ts +222 -0
  126. package/src/sdk/receipts.ts +46 -0
  127. package/src/sdk/sdk.ts +6 -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.6.1",
34217
- genVersion: "2.539.1",
34218
- userAgent: "speakeasy-sdk/typescript 0.6.1 2.539.1 latest @moovio/sdk"
34216
+ sdkVersion: "0.7.0",
34217
+ genVersion: "2.545.2",
34218
+ userAgent: "speakeasy-sdk/typescript 0.7.0 2.545.2 latest @moovio/sdk"
34219
34219
  };
34220
34220
  });
34221
34221
 
@@ -35046,6 +35046,38 @@ var init_shared = __esm(() => {
35046
35046
  base64Schema = stringType().base64();
35047
35047
  });
35048
35048
 
35049
+ // src/mcp-server/resources.ts
35050
+ function createRegisterResource(logger, server, sdk, allowedScopes) {
35051
+ return (resource) => {
35052
+ const scopes = resource.scopes ?? [];
35053
+ if (!scopes.every((s) => allowedScopes.has(s))) {
35054
+ return;
35055
+ }
35056
+ const metadata = {
35057
+ ...resource.metadata,
35058
+ description: resource.description
35059
+ };
35060
+ server.resource(resource.name, resource.resource, metadata, async (uri, ctx) => resource.read(sdk, uri, ctx));
35061
+ logger.debug("Registered resource", { name: resource.name });
35062
+ };
35063
+ }
35064
+ function createRegisterResourceTemplate(logger, server, sdk, allowedScopes) {
35065
+ return (resource) => {
35066
+ const scopes = resource.scopes ?? [];
35067
+ if (!scopes.every((s) => allowedScopes.has(s))) {
35068
+ return;
35069
+ }
35070
+ const metadata = {
35071
+ ...resource.metadata,
35072
+ description: resource.description
35073
+ };
35074
+ server.resource(resource.name, resource.resource, metadata, async (uri, vars, ctx) => resource.read(sdk, uri, vars, ctx));
35075
+ logger.debug("Registered resource template", { name: resource.name });
35076
+ };
35077
+ }
35078
+ var init_resources = () => {
35079
+ };
35080
+
35049
35081
  // src/mcp-server/tools.ts
35050
35082
  async function formatResult(value, init) {
35051
35083
  if (typeof value === "undefined") {
@@ -36539,7 +36571,8 @@ var init_achtransactionstatus = __esm(() => {
36539
36571
  Originated: "originated",
36540
36572
  Corrected: "corrected",
36541
36573
  Returned: "returned",
36542
- Completed: "completed"
36574
+ Completed: "completed",
36575
+ Canceled: "canceled"
36543
36576
  };
36544
36577
  ACHTransactionStatus$inboundSchema = nativeEnumType(ACHTransactionStatus);
36545
36578
  ACHTransactionStatus$outboundSchema = ACHTransactionStatus$inboundSchema;
@@ -36600,6 +36633,7 @@ var init_achtransactiondetails = __esm(() => {
36600
36633
  companyEntryDescription: stringType().optional(),
36601
36634
  originatingCompanyName: stringType().optional(),
36602
36635
  secCode: SECCode$inboundSchema.optional(),
36636
+ canceledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
36603
36637
  initiatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
36604
36638
  originatedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
36605
36639
  correctedOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
@@ -36616,6 +36650,7 @@ var init_achtransactiondetails = __esm(() => {
36616
36650
  companyEntryDescription: stringType().optional(),
36617
36651
  originatingCompanyName: stringType().optional(),
36618
36652
  secCode: SECCode$outboundSchema.optional(),
36653
+ canceledOn: dateType().transform((v2) => v2.toISOString()).optional(),
36619
36654
  initiatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
36620
36655
  originatedOn: dateType().transform((v2) => v2.toISOString()).optional(),
36621
36656
  correctedOn: dateType().transform((v2) => v2.toISOString()).optional(),
@@ -39008,6 +39043,7 @@ var init_createaccount = __esm(() => {
39008
39043
  init_createprofile();
39009
39044
  init_customersupport();
39010
39045
  init_manualtermsofservice();
39046
+ init_mode();
39011
39047
  init_settings();
39012
39048
  init_termsofservicetoken();
39013
39049
  CreateAccountTermsOfService$inboundSchema = unionType([
@@ -39033,7 +39069,8 @@ var init_createaccount = __esm(() => {
39033
39069
  foreignID: stringType().optional(),
39034
39070
  customerSupport: CustomerSupport$inboundSchema.optional(),
39035
39071
  settings: Settings$inboundSchema.optional(),
39036
- capabilities: arrayType(CapabilityID$inboundSchema).optional()
39072
+ capabilities: arrayType(CapabilityID$inboundSchema).optional(),
39073
+ mode: Mode$inboundSchema.optional()
39037
39074
  });
39038
39075
  CreateAccount$outboundSchema = objectType({
39039
39076
  accountType: AccountType$outboundSchema,
@@ -39046,7 +39083,8 @@ var init_createaccount = __esm(() => {
39046
39083
  foreignID: stringType().optional(),
39047
39084
  customerSupport: CustomerSupport$outboundSchema.optional(),
39048
39085
  settings: Settings$outboundSchema.optional(),
39049
- capabilities: arrayType(CapabilityID$outboundSchema).optional()
39086
+ capabilities: arrayType(CapabilityID$outboundSchema).optional(),
39087
+ mode: Mode$outboundSchema.optional()
39050
39088
  });
39051
39089
  ((CreateAccount$) => {
39052
39090
  CreateAccount$.inboundSchema = CreateAccount$inboundSchema;
@@ -42846,6 +42884,104 @@ var init_qrcode = __esm(() => {
42846
42884
  })(QRCode$ ||= {});
42847
42885
  });
42848
42886
 
42887
+ // src/models/components/receiptkind.ts
42888
+ var ReceiptKind, ReceiptKind$inboundSchema, ReceiptKind$outboundSchema, ReceiptKind$;
42889
+ var init_receiptkind = __esm(() => {
42890
+ init_lib();
42891
+ ReceiptKind = {
42892
+ SaleCustomerV1: "sale.customer.v1"
42893
+ };
42894
+ ReceiptKind$inboundSchema = nativeEnumType(ReceiptKind);
42895
+ ReceiptKind$outboundSchema = ReceiptKind$inboundSchema;
42896
+ ((ReceiptKind$) => {
42897
+ ReceiptKind$.inboundSchema = ReceiptKind$inboundSchema;
42898
+ ReceiptKind$.outboundSchema = ReceiptKind$outboundSchema;
42899
+ })(ReceiptKind$ ||= {});
42900
+ });
42901
+
42902
+ // src/models/components/receiptrequest.ts
42903
+ var ReceiptRequest$inboundSchema, ReceiptRequest$outboundSchema, ReceiptRequest$;
42904
+ var init_receiptrequest = __esm(() => {
42905
+ init_lib();
42906
+ init_receiptkind();
42907
+ ReceiptRequest$inboundSchema = objectType({
42908
+ kind: ReceiptKind$inboundSchema,
42909
+ email: stringType().optional(),
42910
+ emailAccountID: stringType().optional(),
42911
+ forTransferID: stringType().optional(),
42912
+ forScheduleID: stringType().optional(),
42913
+ forOccurrenceID: stringType().optional()
42914
+ });
42915
+ ReceiptRequest$outboundSchema = objectType({
42916
+ kind: ReceiptKind$outboundSchema,
42917
+ email: stringType().optional(),
42918
+ emailAccountID: stringType().optional(),
42919
+ forTransferID: stringType().optional(),
42920
+ forScheduleID: stringType().optional(),
42921
+ forOccurrenceID: stringType().optional()
42922
+ });
42923
+ ((ReceiptRequest$) => {
42924
+ ReceiptRequest$.inboundSchema = ReceiptRequest$inboundSchema;
42925
+ ReceiptRequest$.outboundSchema = ReceiptRequest$outboundSchema;
42926
+ })(ReceiptRequest$ ||= {});
42927
+ });
42928
+
42929
+ // src/models/components/sentreceipt.ts
42930
+ var SentReceipt$inboundSchema, SentReceipt$outboundSchema, SentReceipt$;
42931
+ var init_sentreceipt = __esm(() => {
42932
+ init_lib();
42933
+ SentReceipt$inboundSchema = objectType({
42934
+ receiptID: stringType(),
42935
+ idempotencyKey: stringType(),
42936
+ sentOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2))
42937
+ });
42938
+ SentReceipt$outboundSchema = objectType({
42939
+ receiptID: stringType(),
42940
+ idempotencyKey: stringType(),
42941
+ sentOn: dateType().transform((v2) => v2.toISOString())
42942
+ });
42943
+ ((SentReceipt$) => {
42944
+ SentReceipt$.inboundSchema = SentReceipt$inboundSchema;
42945
+ SentReceipt$.outboundSchema = SentReceipt$outboundSchema;
42946
+ })(SentReceipt$ ||= {});
42947
+ });
42948
+
42949
+ // src/models/components/receiptresponse.ts
42950
+ var ReceiptResponse$inboundSchema, ReceiptResponse$outboundSchema, ReceiptResponse$;
42951
+ var init_receiptresponse = __esm(() => {
42952
+ init_lib();
42953
+ init_receiptkind();
42954
+ init_sentreceipt();
42955
+ ReceiptResponse$inboundSchema = objectType({
42956
+ receiptID: stringType(),
42957
+ createdBy: stringType(),
42958
+ disabledOn: stringType().datetime({ offset: true }).transform((v2) => new Date(v2)).optional(),
42959
+ kind: ReceiptKind$inboundSchema,
42960
+ email: stringType().optional(),
42961
+ emailAccountID: stringType().optional(),
42962
+ forTransferID: stringType().optional(),
42963
+ forScheduleID: stringType().optional(),
42964
+ forOccurrenceID: stringType().optional(),
42965
+ sentFor: arrayType(SentReceipt$inboundSchema)
42966
+ });
42967
+ ReceiptResponse$outboundSchema = objectType({
42968
+ receiptID: stringType(),
42969
+ createdBy: stringType(),
42970
+ disabledOn: dateType().transform((v2) => v2.toISOString()).optional(),
42971
+ kind: ReceiptKind$outboundSchema,
42972
+ email: stringType().optional(),
42973
+ emailAccountID: stringType().optional(),
42974
+ forTransferID: stringType().optional(),
42975
+ forScheduleID: stringType().optional(),
42976
+ forOccurrenceID: stringType().optional(),
42977
+ sentFor: arrayType(SentReceipt$outboundSchema)
42978
+ });
42979
+ ((ReceiptResponse$) => {
42980
+ ReceiptResponse$.inboundSchema = ReceiptResponse$inboundSchema;
42981
+ ReceiptResponse$.outboundSchema = ReceiptResponse$outboundSchema;
42982
+ })(ReceiptResponse$ ||= {});
42983
+ });
42984
+
42849
42985
  // src/models/components/recur.ts
42850
42986
  var Recur$inboundSchema, Recur$outboundSchema, Recur$;
42851
42987
  var init_recur = __esm(() => {
@@ -44533,6 +44669,9 @@ var init_components = __esm(() => {
44533
44669
  init_pullfromcardpaymentmethod();
44534
44670
  init_pushtocardpaymentmethod();
44535
44671
  init_qrcode();
44672
+ init_receiptkind();
44673
+ init_receiptrequest();
44674
+ init_receiptresponse();
44536
44675
  init_recur();
44537
44676
  init_refundcarddetails();
44538
44677
  init_refundcardstatus();
@@ -44560,6 +44699,7 @@ var init_components = __esm(() => {
44560
44699
  init_scheduleresponse();
44561
44700
  init_seccode();
44562
44701
  init_security2();
44702
+ init_sentreceipt();
44563
44703
  init_settings();
44564
44704
  init_sourcedestinationoptions();
44565
44705
  init_sweep();
@@ -45415,6 +45555,61 @@ var init_patchsweepconfigerror = __esm(() => {
45415
45555
  })(PatchSweepConfigError$ ||= {});
45416
45556
  });
45417
45557
 
45558
+ // src/models/errors/receiptvalidationerror.ts
45559
+ var ReceiptValidationError, ReceiptValidationError$inboundSchema, ReceiptValidationError$outboundSchema, ReceiptValidationError$;
45560
+ var init_receiptvalidationerror = __esm(() => {
45561
+ init_lib();
45562
+ ReceiptValidationError = class ReceiptValidationError extends Error {
45563
+ kind;
45564
+ email;
45565
+ emailAccountID;
45566
+ forTransferID;
45567
+ forScheduleID;
45568
+ forOccurrenceID;
45569
+ data$;
45570
+ constructor(err) {
45571
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
45572
+ super(message);
45573
+ this.data$ = err;
45574
+ if (err.kind != null)
45575
+ this.kind = err.kind;
45576
+ if (err.email != null)
45577
+ this.email = err.email;
45578
+ if (err.emailAccountID != null)
45579
+ this.emailAccountID = err.emailAccountID;
45580
+ if (err.forTransferID != null)
45581
+ this.forTransferID = err.forTransferID;
45582
+ if (err.forScheduleID != null)
45583
+ this.forScheduleID = err.forScheduleID;
45584
+ if (err.forOccurrenceID != null)
45585
+ this.forOccurrenceID = err.forOccurrenceID;
45586
+ this.name = "ReceiptValidationError";
45587
+ }
45588
+ };
45589
+ ReceiptValidationError$inboundSchema = objectType({
45590
+ kind: stringType().optional(),
45591
+ email: stringType().optional(),
45592
+ emailAccountID: stringType().optional(),
45593
+ forTransferID: stringType().optional(),
45594
+ forScheduleID: stringType().optional(),
45595
+ forOccurrenceID: stringType().optional()
45596
+ }).transform((v2) => {
45597
+ return new ReceiptValidationError(v2);
45598
+ });
45599
+ ReceiptValidationError$outboundSchema = instanceOfType(ReceiptValidationError).transform((v2) => v2.data$).pipe(objectType({
45600
+ kind: stringType().optional(),
45601
+ email: stringType().optional(),
45602
+ emailAccountID: stringType().optional(),
45603
+ forTransferID: stringType().optional(),
45604
+ forScheduleID: stringType().optional(),
45605
+ forOccurrenceID: stringType().optional()
45606
+ }));
45607
+ ((ReceiptValidationError$) => {
45608
+ ReceiptValidationError$.inboundSchema = ReceiptValidationError$inboundSchema;
45609
+ ReceiptValidationError$.outboundSchema = ReceiptValidationError$outboundSchema;
45610
+ })(ReceiptValidationError$ ||= {});
45611
+ });
45612
+
45418
45613
  // src/models/errors/refundvalidationerror.ts
45419
45614
  var RefundValidationError, RefundValidationError$inboundSchema, RefundValidationError$outboundSchema, RefundValidationError$;
45420
45615
  var init_refundvalidationerror = __esm(() => {
@@ -46248,6 +46443,7 @@ var init_errors = __esm(() => {
46248
46443
  init_microdepositvalidationerror();
46249
46444
  init_onboardinginviteerror();
46250
46445
  init_patchsweepconfigerror();
46446
+ init_receiptvalidationerror();
46251
46447
  init_refundvalidationerror();
46252
46448
  init_representativevalidationerror();
46253
46449
  init_requestcarderror();
@@ -47065,6 +47261,54 @@ var init_createpaymentlink2 = __esm(() => {
47065
47261
  })(CreatePaymentLinkResponse$ ||= {});
47066
47262
  });
47067
47263
 
47264
+ // src/models/operations/createreceipts.ts
47265
+ var CreateReceiptsGlobals$inboundSchema, CreateReceiptsGlobals$outboundSchema, CreateReceiptsGlobals$, CreateReceiptsResponse$inboundSchema, CreateReceiptsResponse$outboundSchema, CreateReceiptsResponse$;
47266
+ var init_createreceipts = __esm(() => {
47267
+ init_lib();
47268
+ init_primitives();
47269
+ init_components();
47270
+ CreateReceiptsGlobals$inboundSchema = objectType({
47271
+ "x-moov-version": stringType().default("v2024.01.00")
47272
+ }).transform((v2) => {
47273
+ return remap(v2, {
47274
+ "x-moov-version": "xMoovVersion"
47275
+ });
47276
+ });
47277
+ CreateReceiptsGlobals$outboundSchema = objectType({
47278
+ xMoovVersion: stringType().default("v2024.01.00")
47279
+ }).transform((v2) => {
47280
+ return remap(v2, {
47281
+ xMoovVersion: "x-moov-version"
47282
+ });
47283
+ });
47284
+ ((CreateReceiptsGlobals$) => {
47285
+ CreateReceiptsGlobals$.inboundSchema = CreateReceiptsGlobals$inboundSchema;
47286
+ CreateReceiptsGlobals$.outboundSchema = CreateReceiptsGlobals$outboundSchema;
47287
+ })(CreateReceiptsGlobals$ ||= {});
47288
+ CreateReceiptsResponse$inboundSchema = objectType({
47289
+ Headers: recordType(arrayType(stringType())),
47290
+ Result: ReceiptResponse$inboundSchema
47291
+ }).transform((v2) => {
47292
+ return remap(v2, {
47293
+ Headers: "headers",
47294
+ Result: "result"
47295
+ });
47296
+ });
47297
+ CreateReceiptsResponse$outboundSchema = objectType({
47298
+ headers: recordType(arrayType(stringType())),
47299
+ result: ReceiptResponse$outboundSchema
47300
+ }).transform((v2) => {
47301
+ return remap(v2, {
47302
+ headers: "Headers",
47303
+ result: "Result"
47304
+ });
47305
+ });
47306
+ ((CreateReceiptsResponse$) => {
47307
+ CreateReceiptsResponse$.inboundSchema = CreateReceiptsResponse$inboundSchema;
47308
+ CreateReceiptsResponse$.outboundSchema = CreateReceiptsResponse$outboundSchema;
47309
+ })(CreateReceiptsResponse$ ||= {});
47310
+ });
47311
+
47068
47312
  // src/models/operations/createrepresentative.ts
47069
47313
  var CreateRepresentativeGlobals$inboundSchema, CreateRepresentativeGlobals$outboundSchema, CreateRepresentativeGlobals$, CreateRepresentativeRequest$inboundSchema, CreateRepresentativeRequest$outboundSchema, CreateRepresentativeRequest$, CreateRepresentativeResponse$inboundSchema, CreateRepresentativeResponse$outboundSchema, CreateRepresentativeResponse$;
47070
47314
  var init_createrepresentative2 = __esm(() => {
@@ -52182,6 +52426,64 @@ var init_listpaymentmethods = __esm(() => {
52182
52426
  })(ListPaymentMethodsResponse$ ||= {});
52183
52427
  });
52184
52428
 
52429
+ // src/models/operations/listreceipts.ts
52430
+ var ListReceiptsGlobals$inboundSchema, ListReceiptsGlobals$outboundSchema, ListReceiptsGlobals$, ListReceiptsRequest$inboundSchema, ListReceiptsRequest$outboundSchema, ListReceiptsRequest$, ListReceiptsResponse$inboundSchema, ListReceiptsResponse$outboundSchema, ListReceiptsResponse$;
52431
+ var init_listreceipts = __esm(() => {
52432
+ init_lib();
52433
+ init_primitives();
52434
+ init_components();
52435
+ ListReceiptsGlobals$inboundSchema = objectType({
52436
+ "x-moov-version": stringType().default("v2024.01.00")
52437
+ }).transform((v2) => {
52438
+ return remap(v2, {
52439
+ "x-moov-version": "xMoovVersion"
52440
+ });
52441
+ });
52442
+ ListReceiptsGlobals$outboundSchema = objectType({
52443
+ xMoovVersion: stringType().default("v2024.01.00")
52444
+ }).transform((v2) => {
52445
+ return remap(v2, {
52446
+ xMoovVersion: "x-moov-version"
52447
+ });
52448
+ });
52449
+ ((ListReceiptsGlobals$) => {
52450
+ ListReceiptsGlobals$.inboundSchema = ListReceiptsGlobals$inboundSchema;
52451
+ ListReceiptsGlobals$.outboundSchema = ListReceiptsGlobals$outboundSchema;
52452
+ })(ListReceiptsGlobals$ ||= {});
52453
+ ListReceiptsRequest$inboundSchema = objectType({
52454
+ id: stringType().optional()
52455
+ });
52456
+ ListReceiptsRequest$outboundSchema = objectType({
52457
+ id: stringType().optional()
52458
+ });
52459
+ ((ListReceiptsRequest$) => {
52460
+ ListReceiptsRequest$.inboundSchema = ListReceiptsRequest$inboundSchema;
52461
+ ListReceiptsRequest$.outboundSchema = ListReceiptsRequest$outboundSchema;
52462
+ })(ListReceiptsRequest$ ||= {});
52463
+ ListReceiptsResponse$inboundSchema = objectType({
52464
+ Headers: recordType(arrayType(stringType())),
52465
+ Result: arrayType(ReceiptResponse$inboundSchema)
52466
+ }).transform((v2) => {
52467
+ return remap(v2, {
52468
+ Headers: "headers",
52469
+ Result: "result"
52470
+ });
52471
+ });
52472
+ ListReceiptsResponse$outboundSchema = objectType({
52473
+ headers: recordType(arrayType(stringType())),
52474
+ result: arrayType(ReceiptResponse$outboundSchema)
52475
+ }).transform((v2) => {
52476
+ return remap(v2, {
52477
+ headers: "Headers",
52478
+ result: "Result"
52479
+ });
52480
+ });
52481
+ ((ListReceiptsResponse$) => {
52482
+ ListReceiptsResponse$.inboundSchema = ListReceiptsResponse$inboundSchema;
52483
+ ListReceiptsResponse$.outboundSchema = ListReceiptsResponse$outboundSchema;
52484
+ })(ListReceiptsResponse$ ||= {});
52485
+ });
52486
+
52185
52487
  // src/models/operations/listrefunds.ts
52186
52488
  var ListRefundsGlobals$inboundSchema, ListRefundsGlobals$outboundSchema, ListRefundsGlobals$, ListRefundsRequest$inboundSchema, ListRefundsRequest$outboundSchema, ListRefundsRequest$, ListRefundsResponse$inboundSchema, ListRefundsResponse$outboundSchema, ListRefundsResponse$;
52187
52489
  var init_listrefunds = __esm(() => {
@@ -54399,6 +54701,7 @@ var init_operations = __esm(() => {
54399
54701
  init_createfeeplanagreements();
54400
54702
  init_createonboardinginvite();
54401
54703
  init_createpaymentlink2();
54704
+ init_createreceipts();
54402
54705
  init_createrepresentative2();
54403
54706
  init_createreversal2();
54404
54707
  init_createschedule();
@@ -54481,6 +54784,7 @@ var init_operations = __esm(() => {
54481
54784
  init_listpartnerpricingagreements();
54482
54785
  init_listpaymentlinks();
54483
54786
  init_listpaymentmethods();
54787
+ init_listreceipts();
54484
54788
  init_listrefunds();
54485
54789
  init_listrepresentatives();
54486
54790
  init_listschedules();
@@ -65307,11 +65611,238 @@ you'll need to specify the \`/ping.read\` scope.`,
65307
65611
  };
65308
65612
  });
65309
65613
 
65310
- // src/funcs/representativesCreate.ts
65311
- function representativesCreate(client, request, options) {
65614
+ // src/funcs/receiptsCreate.ts
65615
+ function receiptsCreate(client, request, options) {
65312
65616
  return new APIPromise($do92(client, request, options));
65313
65617
  }
65314
65618
  async function $do92(client, request, options) {
65619
+ const parsed = safeParse(request, (value) => arrayType(ReceiptRequest$outboundSchema).parse(value), "Input validation failed");
65620
+ if (!parsed.ok) {
65621
+ return [parsed, { status: "invalid" }];
65622
+ }
65623
+ const payload = parsed.value;
65624
+ const body = encodeJSON("body", payload, { explode: true });
65625
+ const path = pathToFunc("/receipts")();
65626
+ const headers = new Headers(compactMap({
65627
+ "Content-Type": "application/json",
65628
+ Accept: "application/json",
65629
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
65630
+ }));
65631
+ const securityInput = await extractSecurity(client._options.security);
65632
+ const requestSecurity = resolveGlobalSecurity(securityInput);
65633
+ const context = {
65634
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
65635
+ operationID: "createReceipts",
65636
+ oAuth2Scopes: [],
65637
+ resolvedSecurity: requestSecurity,
65638
+ securitySource: client._options.security,
65639
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
65640
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
65641
+ };
65642
+ const requestRes = client._createRequest(context, {
65643
+ security: requestSecurity,
65644
+ method: "POST",
65645
+ baseURL: options?.serverURL,
65646
+ path,
65647
+ headers,
65648
+ body,
65649
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
65650
+ }, options);
65651
+ if (!requestRes.ok) {
65652
+ return [requestRes, { status: "invalid" }];
65653
+ }
65654
+ const req = requestRes.value;
65655
+ const doResult = await client._do(req, {
65656
+ context,
65657
+ errorCodes: [
65658
+ "400",
65659
+ "401",
65660
+ "403",
65661
+ "404",
65662
+ "409",
65663
+ "422",
65664
+ "429",
65665
+ "4XX",
65666
+ "500",
65667
+ "504",
65668
+ "5XX"
65669
+ ],
65670
+ retryConfig: context.retryConfig,
65671
+ retryCodes: context.retryCodes
65672
+ });
65673
+ if (!doResult.ok) {
65674
+ return [doResult, { status: "request-error", request: req }];
65675
+ }
65676
+ const response = doResult.value;
65677
+ const responseFields = {
65678
+ HttpMeta: { Response: response, Request: req }
65679
+ };
65680
+ const [result] = await match(json(200, CreateReceiptsResponse$inboundSchema, {
65681
+ hdrs: true,
65682
+ key: "Result"
65683
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, ReceiptValidationError$inboundSchema, { hdrs: true }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
65684
+ if (!result.ok) {
65685
+ return [result, { status: "complete", request: req, response }];
65686
+ }
65687
+ return [result, { status: "complete", request: req, response }];
65688
+ }
65689
+ var init_receiptsCreate = __esm(() => {
65690
+ init_lib();
65691
+ init_encodings();
65692
+ init_matchers();
65693
+ init_primitives();
65694
+ init_schemas();
65695
+ init_security();
65696
+ init_url();
65697
+ init_components();
65698
+ init_errors();
65699
+ init_operations();
65700
+ init_async();
65701
+ });
65702
+
65703
+ // src/mcp-server/tools/receiptsCreate.ts
65704
+ var args92, tool$receiptsCreate;
65705
+ var init_receiptsCreate2 = __esm(() => {
65706
+ init_lib();
65707
+ init_receiptsCreate();
65708
+ init_components();
65709
+ init_tools();
65710
+ args92 = {
65711
+ request: arrayType(ReceiptRequest$inboundSchema)
65712
+ };
65713
+ tool$receiptsCreate = {
65714
+ name: "receipts_create",
65715
+ description: ` Create receipts for transfers and scheduled transfers.
65716
+
65717
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65718
+ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
65719
+ args: args92,
65720
+ tool: async (client, args93, ctx) => {
65721
+ const [result, apiCall] = await receiptsCreate(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65722
+ if (!result.ok) {
65723
+ return {
65724
+ content: [{ type: "text", text: result.error.message }],
65725
+ isError: true
65726
+ };
65727
+ }
65728
+ const value = result.value.result;
65729
+ return formatResult(value, apiCall);
65730
+ }
65731
+ };
65732
+ });
65733
+
65734
+ // src/funcs/receiptsList.ts
65735
+ function receiptsList(client, request, options) {
65736
+ return new APIPromise($do93(client, request, options));
65737
+ }
65738
+ async function $do93(client, request, options) {
65739
+ const parsed = safeParse(request, (value) => ListReceiptsRequest$outboundSchema.parse(value), "Input validation failed");
65740
+ if (!parsed.ok) {
65741
+ return [parsed, { status: "invalid" }];
65742
+ }
65743
+ const payload = parsed.value;
65744
+ const body = null;
65745
+ const path = pathToFunc("/receipts")();
65746
+ const query = encodeFormQuery({
65747
+ id: payload.id
65748
+ }, { explode: false });
65749
+ const headers = new Headers(compactMap({
65750
+ Accept: "application/json",
65751
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
65752
+ }));
65753
+ const securityInput = await extractSecurity(client._options.security);
65754
+ const requestSecurity = resolveGlobalSecurity(securityInput);
65755
+ const context = {
65756
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
65757
+ operationID: "listReceipts",
65758
+ oAuth2Scopes: [],
65759
+ resolvedSecurity: requestSecurity,
65760
+ securitySource: client._options.security,
65761
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
65762
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
65763
+ };
65764
+ const requestRes = client._createRequest(context, {
65765
+ security: requestSecurity,
65766
+ method: "GET",
65767
+ baseURL: options?.serverURL,
65768
+ path,
65769
+ headers,
65770
+ query,
65771
+ body,
65772
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
65773
+ }, options);
65774
+ if (!requestRes.ok) {
65775
+ return [requestRes, { status: "invalid" }];
65776
+ }
65777
+ const req = requestRes.value;
65778
+ const doResult = await client._do(req, {
65779
+ context,
65780
+ errorCodes: ["401", "403", "429", "4XX", "500", "504", "5XX"],
65781
+ retryConfig: context.retryConfig,
65782
+ retryCodes: context.retryCodes
65783
+ });
65784
+ if (!doResult.ok) {
65785
+ return [doResult, { status: "request-error", request: req }];
65786
+ }
65787
+ const response = doResult.value;
65788
+ const responseFields = {
65789
+ HttpMeta: { Response: response, Request: req }
65790
+ };
65791
+ const [result] = await match(json(200, ListReceiptsResponse$inboundSchema, {
65792
+ hdrs: true,
65793
+ key: "Result"
65794
+ }), fail([401, 403, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, { extraFields: responseFields });
65795
+ if (!result.ok) {
65796
+ return [result, { status: "complete", request: req, response }];
65797
+ }
65798
+ return [result, { status: "complete", request: req, response }];
65799
+ }
65800
+ var init_receiptsList = __esm(() => {
65801
+ init_encodings();
65802
+ init_matchers();
65803
+ init_primitives();
65804
+ init_schemas();
65805
+ init_security();
65806
+ init_url();
65807
+ init_operations();
65808
+ init_async();
65809
+ });
65810
+
65811
+ // src/mcp-server/tools/receiptsList.ts
65812
+ var args93, tool$receiptsList;
65813
+ var init_receiptsList2 = __esm(() => {
65814
+ init_receiptsList();
65815
+ init_operations();
65816
+ init_tools();
65817
+ args93 = {
65818
+ request: ListReceiptsRequest$inboundSchema
65819
+ };
65820
+ tool$receiptsList = {
65821
+ name: "receipts_list",
65822
+ description: `List receipts by trasnferID, scheduleID, or occurrenceID.
65823
+
65824
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65825
+ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
65826
+ args: args93,
65827
+ tool: async (client, args94, ctx) => {
65828
+ const [result, apiCall] = await receiptsList(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65829
+ if (!result.ok) {
65830
+ return {
65831
+ content: [{ type: "text", text: result.error.message }],
65832
+ isError: true
65833
+ };
65834
+ }
65835
+ const value = result.value.result;
65836
+ return formatResult(value, apiCall);
65837
+ }
65838
+ };
65839
+ });
65840
+
65841
+ // src/funcs/representativesCreate.ts
65842
+ function representativesCreate(client, request, options) {
65843
+ return new APIPromise($do94(client, request, options));
65844
+ }
65845
+ async function $do94(client, request, options) {
65315
65846
  const parsed = safeParse(request, (value) => CreateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
65316
65847
  if (!parsed.ok) {
65317
65848
  return [parsed, { status: "invalid" }];
@@ -65405,12 +65936,12 @@ var init_representativesCreate = __esm(() => {
65405
65936
  });
65406
65937
 
65407
65938
  // src/mcp-server/tools/representativesCreate.ts
65408
- var args92, tool$representativesCreate;
65939
+ var args94, tool$representativesCreate;
65409
65940
  var init_representativesCreate2 = __esm(() => {
65410
65941
  init_representativesCreate();
65411
65942
  init_operations();
65412
65943
  init_tools();
65413
- args92 = {
65944
+ args94 = {
65414
65945
  request: CreateRepresentativeRequest$inboundSchema
65415
65946
  };
65416
65947
  tool$representativesCreate = {
@@ -65421,9 +65952,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
65421
65952
 
65422
65953
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65423
65954
  you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
65424
- args: args92,
65425
- tool: async (client, args93, ctx) => {
65426
- const [result, apiCall] = await representativesCreate(client, args93.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65955
+ args: args94,
65956
+ tool: async (client, args95, ctx) => {
65957
+ const [result, apiCall] = await representativesCreate(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65427
65958
  if (!result.ok) {
65428
65959
  return {
65429
65960
  content: [{ type: "text", text: result.error.message }],
@@ -65438,9 +65969,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
65438
65969
 
65439
65970
  // src/funcs/representativesDelete.ts
65440
65971
  function representativesDelete(client, request, options) {
65441
- return new APIPromise($do93(client, request, options));
65972
+ return new APIPromise($do95(client, request, options));
65442
65973
  }
65443
- async function $do93(client, request, options) {
65974
+ async function $do95(client, request, options) {
65444
65975
  const parsed = safeParse(request, (value) => DeleteRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
65445
65976
  if (!parsed.ok) {
65446
65977
  return [parsed, { status: "invalid" }];
@@ -65526,12 +66057,12 @@ var init_representativesDelete = __esm(() => {
65526
66057
  });
65527
66058
 
65528
66059
  // src/mcp-server/tools/representativesDelete.ts
65529
- var args93, tool$representativesDelete;
66060
+ var args95, tool$representativesDelete;
65530
66061
  var init_representativesDelete2 = __esm(() => {
65531
66062
  init_representativesDelete();
65532
66063
  init_operations();
65533
66064
  init_tools();
65534
- args93 = {
66065
+ args95 = {
65535
66066
  request: DeleteRepresentativeRequest$inboundSchema
65536
66067
  };
65537
66068
  tool$representativesDelete = {
@@ -65540,9 +66071,9 @@ var init_representativesDelete2 = __esm(() => {
65540
66071
 
65541
66072
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65542
66073
  you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
65543
- args: args93,
65544
- tool: async (client, args94, ctx) => {
65545
- const [result, apiCall] = await representativesDelete(client, args94.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66074
+ args: args95,
66075
+ tool: async (client, args96, ctx) => {
66076
+ const [result, apiCall] = await representativesDelete(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65546
66077
  if (!result.ok) {
65547
66078
  return {
65548
66079
  content: [{ type: "text", text: result.error.message }],
@@ -65556,9 +66087,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
65556
66087
 
65557
66088
  // src/funcs/representativesGet.ts
65558
66089
  function representativesGet(client, request, options) {
65559
- return new APIPromise($do94(client, request, options));
66090
+ return new APIPromise($do96(client, request, options));
65560
66091
  }
65561
- async function $do94(client, request, options) {
66092
+ async function $do96(client, request, options) {
65562
66093
  const parsed = safeParse(request, (value) => GetRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
65563
66094
  if (!parsed.ok) {
65564
66095
  return [parsed, { status: "invalid" }];
@@ -65635,12 +66166,12 @@ var init_representativesGet = __esm(() => {
65635
66166
  });
65636
66167
 
65637
66168
  // src/mcp-server/tools/representativesGet.ts
65638
- var args94, tool$representativesGet;
66169
+ var args96, tool$representativesGet;
65639
66170
  var init_representativesGet2 = __esm(() => {
65640
66171
  init_representativesGet();
65641
66172
  init_operations();
65642
66173
  init_tools();
65643
- args94 = {
66174
+ args96 = {
65644
66175
  request: GetRepresentativeRequest$inboundSchema
65645
66176
  };
65646
66177
  tool$representativesGet = {
@@ -65649,9 +66180,9 @@ var init_representativesGet2 = __esm(() => {
65649
66180
 
65650
66181
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65651
66182
  you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
65652
- args: args94,
65653
- tool: async (client, args95, ctx) => {
65654
- const [result, apiCall] = await representativesGet(client, args95.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66183
+ args: args96,
66184
+ tool: async (client, args97, ctx) => {
66185
+ const [result, apiCall] = await representativesGet(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65655
66186
  if (!result.ok) {
65656
66187
  return {
65657
66188
  content: [{ type: "text", text: result.error.message }],
@@ -65666,9 +66197,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
65666
66197
 
65667
66198
  // src/funcs/representativesList.ts
65668
66199
  function representativesList(client, request, options) {
65669
- return new APIPromise($do95(client, request, options));
66200
+ return new APIPromise($do97(client, request, options));
65670
66201
  }
65671
- async function $do95(client, request, options) {
66202
+ async function $do97(client, request, options) {
65672
66203
  const parsed = safeParse(request, (value) => ListRepresentativesRequest$outboundSchema.parse(value), "Input validation failed");
65673
66204
  if (!parsed.ok) {
65674
66205
  return [parsed, { status: "invalid" }];
@@ -65744,12 +66275,12 @@ var init_representativesList = __esm(() => {
65744
66275
  });
65745
66276
 
65746
66277
  // src/mcp-server/tools/representativesList.ts
65747
- var args95, tool$representativesList;
66278
+ var args97, tool$representativesList;
65748
66279
  var init_representativesList2 = __esm(() => {
65749
66280
  init_representativesList();
65750
66281
  init_operations();
65751
66282
  init_tools();
65752
- args95 = {
66283
+ args97 = {
65753
66284
  request: ListRepresentativesRequest$inboundSchema
65754
66285
  };
65755
66286
  tool$representativesList = {
@@ -65761,9 +66292,9 @@ Read our [business representatives guide](https://docs.moov.io/guides/accounts/r
65761
66292
 
65762
66293
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65763
66294
  you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.`,
65764
- args: args95,
65765
- tool: async (client, args96, ctx) => {
65766
- const [result, apiCall] = await representativesList(client, args96.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66295
+ args: args97,
66296
+ tool: async (client, args98, ctx) => {
66297
+ const [result, apiCall] = await representativesList(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65767
66298
  if (!result.ok) {
65768
66299
  return {
65769
66300
  content: [{ type: "text", text: result.error.message }],
@@ -65778,9 +66309,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.read\` scope.
65778
66309
 
65779
66310
  // src/funcs/representativesUpdate.ts
65780
66311
  function representativesUpdate(client, request, options) {
65781
- return new APIPromise($do96(client, request, options));
66312
+ return new APIPromise($do98(client, request, options));
65782
66313
  }
65783
- async function $do96(client, request, options) {
66314
+ async function $do98(client, request, options) {
65784
66315
  const parsed = safeParse(request, (value) => UpdateRepresentativeRequest$outboundSchema.parse(value), "Input validation failed");
65785
66316
  if (!parsed.ok) {
65786
66317
  return [parsed, { status: "invalid" }];
@@ -65872,12 +66403,12 @@ var init_representativesUpdate = __esm(() => {
65872
66403
  });
65873
66404
 
65874
66405
  // src/mcp-server/tools/representativesUpdate.ts
65875
- var args96, tool$representativesUpdate;
66406
+ var args98, tool$representativesUpdate;
65876
66407
  var init_representativesUpdate2 = __esm(() => {
65877
66408
  init_representativesUpdate();
65878
66409
  init_operations();
65879
66410
  init_tools();
65880
- args96 = {
66411
+ args98 = {
65881
66412
  request: UpdateRepresentativeRequest$inboundSchema
65882
66413
  };
65883
66414
  tool$representativesUpdate = {
@@ -65899,9 +66430,9 @@ If you need to update information in a locked state, please contact Moov support
65899
66430
 
65900
66431
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
65901
66432
  you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope.`,
65902
- args: args96,
65903
- tool: async (client, args97, ctx) => {
65904
- const [result, apiCall] = await representativesUpdate(client, args97.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66433
+ args: args98,
66434
+ tool: async (client, args99, ctx) => {
66435
+ const [result, apiCall] = await representativesUpdate(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
65905
66436
  if (!result.ok) {
65906
66437
  return {
65907
66438
  content: [{ type: "text", text: result.error.message }],
@@ -65916,9 +66447,9 @@ you'll need to specify the \`/accounts/{accountID}/representatives.write\` scope
65916
66447
 
65917
66448
  // src/funcs/schedulingCancel.ts
65918
66449
  function schedulingCancel(client, request, options) {
65919
- return new APIPromise($do97(client, request, options));
66450
+ return new APIPromise($do99(client, request, options));
65920
66451
  }
65921
- async function $do97(client, request, options) {
66452
+ async function $do99(client, request, options) {
65922
66453
  const parsed = safeParse(request, (value) => CancelScheduleRequest$outboundSchema.parse(value), "Input validation failed");
65923
66454
  if (!parsed.ok) {
65924
66455
  return [parsed, { status: "invalid" }];
@@ -66009,12 +66540,12 @@ var init_schedulingCancel = __esm(() => {
66009
66540
  });
66010
66541
 
66011
66542
  // src/mcp-server/tools/schedulingCancel.ts
66012
- var args97, tool$schedulingCancel;
66543
+ var args99, tool$schedulingCancel;
66013
66544
  var init_schedulingCancel2 = __esm(() => {
66014
66545
  init_schedulingCancel();
66015
66546
  init_operations();
66016
66547
  init_tools();
66017
- args97 = {
66548
+ args99 = {
66018
66549
  request: CancelScheduleRequest$inboundSchema
66019
66550
  };
66020
66551
  tool$schedulingCancel = {
@@ -66023,9 +66554,9 @@ var init_schedulingCancel2 = __esm(() => {
66023
66554
 
66024
66555
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66025
66556
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
66026
- args: args97,
66027
- tool: async (client, args98, ctx) => {
66028
- const [result, apiCall] = await schedulingCancel(client, args98.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66557
+ args: args99,
66558
+ tool: async (client, args100, ctx) => {
66559
+ const [result, apiCall] = await schedulingCancel(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66029
66560
  if (!result.ok) {
66030
66561
  return {
66031
66562
  content: [{ type: "text", text: result.error.message }],
@@ -66039,9 +66570,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
66039
66570
 
66040
66571
  // src/funcs/schedulingCreate.ts
66041
66572
  function schedulingCreate(client, request, options) {
66042
- return new APIPromise($do98(client, request, options));
66573
+ return new APIPromise($do100(client, request, options));
66043
66574
  }
66044
- async function $do98(client, request, options) {
66575
+ async function $do100(client, request, options) {
66045
66576
  const parsed = safeParse(request, (value) => CreateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
66046
66577
  if (!parsed.ok) {
66047
66578
  return [parsed, { status: "invalid" }];
@@ -66133,12 +66664,12 @@ var init_schedulingCreate = __esm(() => {
66133
66664
  });
66134
66665
 
66135
66666
  // src/mcp-server/tools/schedulingCreate.ts
66136
- var args98, tool$schedulingCreate;
66667
+ var args100, tool$schedulingCreate;
66137
66668
  var init_schedulingCreate2 = __esm(() => {
66138
66669
  init_schedulingCreate();
66139
66670
  init_operations();
66140
66671
  init_tools();
66141
- args98 = {
66672
+ args100 = {
66142
66673
  request: CreateScheduleRequest$inboundSchema
66143
66674
  };
66144
66675
  tool$schedulingCreate = {
@@ -66147,9 +66678,9 @@ var init_schedulingCreate2 = __esm(() => {
66147
66678
 
66148
66679
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66149
66680
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
66150
- args: args98,
66151
- tool: async (client, args99, ctx) => {
66152
- const [result, apiCall] = await schedulingCreate(client, args99.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66681
+ args: args100,
66682
+ tool: async (client, args101, ctx) => {
66683
+ const [result, apiCall] = await schedulingCreate(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66153
66684
  if (!result.ok) {
66154
66685
  return {
66155
66686
  content: [{ type: "text", text: result.error.message }],
@@ -66164,9 +66695,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
66164
66695
 
66165
66696
  // src/funcs/schedulingGet.ts
66166
66697
  function schedulingGet(client, request, options) {
66167
- return new APIPromise($do99(client, request, options));
66698
+ return new APIPromise($do101(client, request, options));
66168
66699
  }
66169
- async function $do99(client, request, options) {
66700
+ async function $do101(client, request, options) {
66170
66701
  const parsed = safeParse(request, (value) => GetSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
66171
66702
  if (!parsed.ok) {
66172
66703
  return [parsed, { status: "invalid" }];
@@ -66246,12 +66777,12 @@ var init_schedulingGet = __esm(() => {
66246
66777
  });
66247
66778
 
66248
66779
  // src/mcp-server/tools/schedulingGet.ts
66249
- var args99, tool$schedulingGet;
66780
+ var args101, tool$schedulingGet;
66250
66781
  var init_schedulingGet2 = __esm(() => {
66251
66782
  init_schedulingGet();
66252
66783
  init_operations();
66253
66784
  init_tools();
66254
- args99 = {
66785
+ args101 = {
66255
66786
  request: GetSchedulesRequest$inboundSchema
66256
66787
  };
66257
66788
  tool$schedulingGet = {
@@ -66260,9 +66791,9 @@ var init_schedulingGet2 = __esm(() => {
66260
66791
 
66261
66792
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66262
66793
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
66263
- args: args99,
66264
- tool: async (client, args100, ctx) => {
66265
- const [result, apiCall] = await schedulingGet(client, args100.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66794
+ args: args101,
66795
+ tool: async (client, args102, ctx) => {
66796
+ const [result, apiCall] = await schedulingGet(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66266
66797
  if (!result.ok) {
66267
66798
  return {
66268
66799
  content: [{ type: "text", text: result.error.message }],
@@ -66277,9 +66808,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
66277
66808
 
66278
66809
  // src/funcs/schedulingGetOccurrance.ts
66279
66810
  function schedulingGetOccurrance(client, request, options) {
66280
- return new APIPromise($do100(client, request, options));
66811
+ return new APIPromise($do102(client, request, options));
66281
66812
  }
66282
- async function $do100(client, request, options) {
66813
+ async function $do102(client, request, options) {
66283
66814
  const parsed = safeParse(request, (value) => GetScheduledOccurrenceRequest$outboundSchema.parse(value), "Input validation failed");
66284
66815
  if (!parsed.ok) {
66285
66816
  return [parsed, { status: "invalid" }];
@@ -66360,12 +66891,12 @@ var init_schedulingGetOccurrance = __esm(() => {
66360
66891
  });
66361
66892
 
66362
66893
  // src/mcp-server/tools/schedulingGetOccurrance.ts
66363
- var args100, tool$schedulingGetOccurrance;
66894
+ var args102, tool$schedulingGetOccurrance;
66364
66895
  var init_schedulingGetOccurrance2 = __esm(() => {
66365
66896
  init_schedulingGetOccurrance();
66366
66897
  init_operations();
66367
66898
  init_tools();
66368
- args100 = {
66899
+ args102 = {
66369
66900
  request: GetScheduledOccurrenceRequest$inboundSchema
66370
66901
  };
66371
66902
  tool$schedulingGetOccurrance = {
@@ -66374,9 +66905,9 @@ var init_schedulingGetOccurrance2 = __esm(() => {
66374
66905
 
66375
66906
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66376
66907
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
66377
- args: args100,
66378
- tool: async (client, args101, ctx) => {
66379
- const [result, apiCall] = await schedulingGetOccurrance(client, args101.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66908
+ args: args102,
66909
+ tool: async (client, args103, ctx) => {
66910
+ const [result, apiCall] = await schedulingGetOccurrance(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66380
66911
  if (!result.ok) {
66381
66912
  return {
66382
66913
  content: [{ type: "text", text: result.error.message }],
@@ -66391,9 +66922,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
66391
66922
 
66392
66923
  // src/funcs/schedulingList.ts
66393
66924
  function schedulingList(client, request, options) {
66394
- return new APIPromise($do101(client, request, options));
66925
+ return new APIPromise($do103(client, request, options));
66395
66926
  }
66396
- async function $do101(client, request, options) {
66927
+ async function $do103(client, request, options) {
66397
66928
  const parsed = safeParse(request, (value) => ListSchedulesRequest$outboundSchema.parse(value), "Input validation failed");
66398
66929
  if (!parsed.ok) {
66399
66930
  return [parsed, { status: "invalid" }];
@@ -66474,12 +67005,12 @@ var init_schedulingList = __esm(() => {
66474
67005
  });
66475
67006
 
66476
67007
  // src/mcp-server/tools/schedulingList.ts
66477
- var args101, tool$schedulingList;
67008
+ var args103, tool$schedulingList;
66478
67009
  var init_schedulingList2 = __esm(() => {
66479
67010
  init_schedulingList();
66480
67011
  init_operations();
66481
67012
  init_tools();
66482
- args101 = {
67013
+ args103 = {
66483
67014
  request: ListSchedulesRequest$inboundSchema
66484
67015
  };
66485
67016
  tool$schedulingList = {
@@ -66488,9 +67019,9 @@ var init_schedulingList2 = __esm(() => {
66488
67019
 
66489
67020
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66490
67021
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
66491
- args: args101,
66492
- tool: async (client, args102, ctx) => {
66493
- const [result, apiCall] = await schedulingList(client, args102.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67022
+ args: args103,
67023
+ tool: async (client, args104, ctx) => {
67024
+ const [result, apiCall] = await schedulingList(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66494
67025
  if (!result.ok) {
66495
67026
  return {
66496
67027
  content: [{ type: "text", text: result.error.message }],
@@ -66505,9 +67036,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
66505
67036
 
66506
67037
  // src/funcs/schedulingUpdate.ts
66507
67038
  function schedulingUpdate(client, request, options) {
66508
- return new APIPromise($do102(client, request, options));
67039
+ return new APIPromise($do104(client, request, options));
66509
67040
  }
66510
- async function $do102(client, request, options) {
67041
+ async function $do104(client, request, options) {
66511
67042
  const parsed = safeParse(request, (value) => UpdateScheduleRequest$outboundSchema.parse(value), "Input validation failed");
66512
67043
  if (!parsed.ok) {
66513
67044
  return [parsed, { status: "invalid" }];
@@ -66603,12 +67134,12 @@ var init_schedulingUpdate = __esm(() => {
66603
67134
  });
66604
67135
 
66605
67136
  // src/mcp-server/tools/schedulingUpdate.ts
66606
- var args102, tool$schedulingUpdate;
67137
+ var args104, tool$schedulingUpdate;
66607
67138
  var init_schedulingUpdate2 = __esm(() => {
66608
67139
  init_schedulingUpdate();
66609
67140
  init_operations();
66610
67141
  init_tools();
66611
- args102 = {
67142
+ args104 = {
66612
67143
  request: UpdateScheduleRequest$inboundSchema
66613
67144
  };
66614
67145
  tool$schedulingUpdate = {
@@ -66617,9 +67148,9 @@ var init_schedulingUpdate2 = __esm(() => {
66617
67148
 
66618
67149
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66619
67150
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
66620
- args: args102,
66621
- tool: async (client, args103, ctx) => {
66622
- const [result, apiCall] = await schedulingUpdate(client, args103.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67151
+ args: args104,
67152
+ tool: async (client, args105, ctx) => {
67153
+ const [result, apiCall] = await schedulingUpdate(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66623
67154
  if (!result.ok) {
66624
67155
  return {
66625
67156
  content: [{ type: "text", text: result.error.message }],
@@ -66634,9 +67165,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
66634
67165
 
66635
67166
  // src/funcs/sweepsCreateConfig.ts
66636
67167
  function sweepsCreateConfig(client, request, options) {
66637
- return new APIPromise($do103(client, request, options));
67168
+ return new APIPromise($do105(client, request, options));
66638
67169
  }
66639
- async function $do103(client, request, options) {
67170
+ async function $do105(client, request, options) {
66640
67171
  const parsed = safeParse(request, (value) => CreateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
66641
67172
  if (!parsed.ok) {
66642
67173
  return [parsed, { status: "invalid" }];
@@ -66726,12 +67257,12 @@ var init_sweepsCreateConfig = __esm(() => {
66726
67257
  });
66727
67258
 
66728
67259
  // src/mcp-server/tools/sweepsCreateConfig.ts
66729
- var args103, tool$sweepsCreateConfig;
67260
+ var args105, tool$sweepsCreateConfig;
66730
67261
  var init_sweepsCreateConfig2 = __esm(() => {
66731
67262
  init_sweepsCreateConfig();
66732
67263
  init_operations();
66733
67264
  init_tools();
66734
- args103 = {
67265
+ args105 = {
66735
67266
  request: CreateSweepConfigRequest$inboundSchema
66736
67267
  };
66737
67268
  tool$sweepsCreateConfig = {
@@ -66740,9 +67271,9 @@ var init_sweepsCreateConfig2 = __esm(() => {
66740
67271
 
66741
67272
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66742
67273
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
66743
- args: args103,
66744
- tool: async (client, args104, ctx) => {
66745
- const [result, apiCall] = await sweepsCreateConfig(client, args104.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67274
+ args: args105,
67275
+ tool: async (client, args106, ctx) => {
67276
+ const [result, apiCall] = await sweepsCreateConfig(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66746
67277
  if (!result.ok) {
66747
67278
  return {
66748
67279
  content: [{ type: "text", text: result.error.message }],
@@ -66757,9 +67288,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
66757
67288
 
66758
67289
  // src/funcs/sweepsGet.ts
66759
67290
  function sweepsGet(client, request, options) {
66760
- return new APIPromise($do104(client, request, options));
67291
+ return new APIPromise($do106(client, request, options));
66761
67292
  }
66762
- async function $do104(client, request, options) {
67293
+ async function $do106(client, request, options) {
66763
67294
  const parsed = safeParse(request, (value) => GetSweepRequest$outboundSchema.parse(value), "Input validation failed");
66764
67295
  if (!parsed.ok) {
66765
67296
  return [parsed, { status: "invalid" }];
@@ -66843,12 +67374,12 @@ var init_sweepsGet = __esm(() => {
66843
67374
  });
66844
67375
 
66845
67376
  // src/mcp-server/tools/sweepsGet.ts
66846
- var args104, tool$sweepsGet;
67377
+ var args106, tool$sweepsGet;
66847
67378
  var init_sweepsGet2 = __esm(() => {
66848
67379
  init_sweepsGet();
66849
67380
  init_operations();
66850
67381
  init_tools();
66851
- args104 = {
67382
+ args106 = {
66852
67383
  request: GetSweepRequest$inboundSchema
66853
67384
  };
66854
67385
  tool$sweepsGet = {
@@ -66857,9 +67388,9 @@ var init_sweepsGet2 = __esm(() => {
66857
67388
 
66858
67389
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66859
67390
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
66860
- args: args104,
66861
- tool: async (client, args105, ctx) => {
66862
- const [result, apiCall] = await sweepsGet(client, args105.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67391
+ args: args106,
67392
+ tool: async (client, args107, ctx) => {
67393
+ const [result, apiCall] = await sweepsGet(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66863
67394
  if (!result.ok) {
66864
67395
  return {
66865
67396
  content: [{ type: "text", text: result.error.message }],
@@ -66874,9 +67405,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
66874
67405
 
66875
67406
  // src/funcs/sweepsGetConfig.ts
66876
67407
  function sweepsGetConfig(client, request, options) {
66877
- return new APIPromise($do105(client, request, options));
67408
+ return new APIPromise($do107(client, request, options));
66878
67409
  }
66879
- async function $do105(client, request, options) {
67410
+ async function $do107(client, request, options) {
66880
67411
  const parsed = safeParse(request, (value) => GetSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
66881
67412
  if (!parsed.ok) {
66882
67413
  return [parsed, { status: "invalid" }];
@@ -66956,12 +67487,12 @@ var init_sweepsGetConfig = __esm(() => {
66956
67487
  });
66957
67488
 
66958
67489
  // src/mcp-server/tools/sweepsGetConfig.ts
66959
- var args105, tool$sweepsGetConfig;
67490
+ var args107, tool$sweepsGetConfig;
66960
67491
  var init_sweepsGetConfig2 = __esm(() => {
66961
67492
  init_sweepsGetConfig();
66962
67493
  init_operations();
66963
67494
  init_tools();
66964
- args105 = {
67495
+ args107 = {
66965
67496
  request: GetSweepConfigRequest$inboundSchema
66966
67497
  };
66967
67498
  tool$sweepsGetConfig = {
@@ -66970,9 +67501,9 @@ var init_sweepsGetConfig2 = __esm(() => {
66970
67501
 
66971
67502
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
66972
67503
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
66973
- args: args105,
66974
- tool: async (client, args106, ctx) => {
66975
- const [result, apiCall] = await sweepsGetConfig(client, args106.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67504
+ args: args107,
67505
+ tool: async (client, args108, ctx) => {
67506
+ const [result, apiCall] = await sweepsGetConfig(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
66976
67507
  if (!result.ok) {
66977
67508
  return {
66978
67509
  content: [{ type: "text", text: result.error.message }],
@@ -66987,9 +67518,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
66987
67518
 
66988
67519
  // src/funcs/sweepsList.ts
66989
67520
  function sweepsList(client, request, options) {
66990
- return new APIPromise($do106(client, request, options));
67521
+ return new APIPromise($do108(client, request, options));
66991
67522
  }
66992
- async function $do106(client, request, options) {
67523
+ async function $do108(client, request, options) {
66993
67524
  const parsed = safeParse(request, (value) => ListSweepsRequest$outboundSchema.parse(value), "Input validation failed");
66994
67525
  if (!parsed.ok) {
66995
67526
  return [parsed, { status: "invalid" }];
@@ -67076,12 +67607,12 @@ var init_sweepsList = __esm(() => {
67076
67607
  });
67077
67608
 
67078
67609
  // src/mcp-server/tools/sweepsList.ts
67079
- var args106, tool$sweepsList;
67610
+ var args108, tool$sweepsList;
67080
67611
  var init_sweepsList2 = __esm(() => {
67081
67612
  init_sweepsList();
67082
67613
  init_operations();
67083
67614
  init_tools();
67084
- args106 = {
67615
+ args108 = {
67085
67616
  request: ListSweepsRequest$inboundSchema
67086
67617
  };
67087
67618
  tool$sweepsList = {
@@ -67090,9 +67621,9 @@ var init_sweepsList2 = __esm(() => {
67090
67621
 
67091
67622
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67092
67623
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
67093
- args: args106,
67094
- tool: async (client, args107, ctx) => {
67095
- const [result, apiCall] = await sweepsList(client, args107.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67624
+ args: args108,
67625
+ tool: async (client, args109, ctx) => {
67626
+ const [result, apiCall] = await sweepsList(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67096
67627
  if (!result.ok) {
67097
67628
  return {
67098
67629
  content: [{ type: "text", text: result.error.message }],
@@ -67107,9 +67638,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
67107
67638
 
67108
67639
  // src/funcs/sweepsListConfigs.ts
67109
67640
  function sweepsListConfigs(client, request, options) {
67110
- return new APIPromise($do107(client, request, options));
67641
+ return new APIPromise($do109(client, request, options));
67111
67642
  }
67112
- async function $do107(client, request, options) {
67643
+ async function $do109(client, request, options) {
67113
67644
  const parsed = safeParse(request, (value) => ListSweepConfigsRequest$outboundSchema.parse(value), "Input validation failed");
67114
67645
  if (!parsed.ok) {
67115
67646
  return [parsed, { status: "invalid" }];
@@ -67185,12 +67716,12 @@ var init_sweepsListConfigs = __esm(() => {
67185
67716
  });
67186
67717
 
67187
67718
  // src/mcp-server/tools/sweepsListConfigs.ts
67188
- var args107, tool$sweepsListConfigs;
67719
+ var args109, tool$sweepsListConfigs;
67189
67720
  var init_sweepsListConfigs2 = __esm(() => {
67190
67721
  init_sweepsListConfigs();
67191
67722
  init_operations();
67192
67723
  init_tools();
67193
- args107 = {
67724
+ args109 = {
67194
67725
  request: ListSweepConfigsRequest$inboundSchema
67195
67726
  };
67196
67727
  tool$sweepsListConfigs = {
@@ -67199,9 +67730,9 @@ var init_sweepsListConfigs2 = __esm(() => {
67199
67730
 
67200
67731
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67201
67732
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
67202
- args: args107,
67203
- tool: async (client, args108, ctx) => {
67204
- const [result, apiCall] = await sweepsListConfigs(client, args108.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67733
+ args: args109,
67734
+ tool: async (client, args110, ctx) => {
67735
+ const [result, apiCall] = await sweepsListConfigs(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67205
67736
  if (!result.ok) {
67206
67737
  return {
67207
67738
  content: [{ type: "text", text: result.error.message }],
@@ -67216,9 +67747,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
67216
67747
 
67217
67748
  // src/funcs/sweepsUpdateConfig.ts
67218
67749
  function sweepsUpdateConfig(client, request, options) {
67219
- return new APIPromise($do108(client, request, options));
67750
+ return new APIPromise($do110(client, request, options));
67220
67751
  }
67221
- async function $do108(client, request, options) {
67752
+ async function $do110(client, request, options) {
67222
67753
  const parsed = safeParse(request, (value) => UpdateSweepConfigRequest$outboundSchema.parse(value), "Input validation failed");
67223
67754
  if (!parsed.ok) {
67224
67755
  return [parsed, { status: "invalid" }];
@@ -67312,12 +67843,12 @@ var init_sweepsUpdateConfig = __esm(() => {
67312
67843
  });
67313
67844
 
67314
67845
  // src/mcp-server/tools/sweepsUpdateConfig.ts
67315
- var args108, tool$sweepsUpdateConfig;
67846
+ var args110, tool$sweepsUpdateConfig;
67316
67847
  var init_sweepsUpdateConfig2 = __esm(() => {
67317
67848
  init_sweepsUpdateConfig();
67318
67849
  init_operations();
67319
67850
  init_tools();
67320
- args108 = {
67851
+ args110 = {
67321
67852
  request: UpdateSweepConfigRequest$inboundSchema
67322
67853
  };
67323
67854
  tool$sweepsUpdateConfig = {
@@ -67326,9 +67857,9 @@ var init_sweepsUpdateConfig2 = __esm(() => {
67326
67857
 
67327
67858
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67328
67859
  you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
67329
- args: args108,
67330
- tool: async (client, args109, ctx) => {
67331
- const [result, apiCall] = await sweepsUpdateConfig(client, args109.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67860
+ args: args110,
67861
+ tool: async (client, args111, ctx) => {
67862
+ const [result, apiCall] = await sweepsUpdateConfig(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67332
67863
  if (!result.ok) {
67333
67864
  return {
67334
67865
  content: [{ type: "text", text: result.error.message }],
@@ -67343,9 +67874,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.write\` scope.`,
67343
67874
 
67344
67875
  // src/funcs/terminalApplicationsCreate.ts
67345
67876
  function terminalApplicationsCreate(client, request, options) {
67346
- return new APIPromise($do109(client, request, options));
67877
+ return new APIPromise($do111(client, request, options));
67347
67878
  }
67348
- async function $do109(client, request, options) {
67879
+ async function $do111(client, request, options) {
67349
67880
  const parsed = safeParse(request, (value) => CreateTerminalApplication$outboundSchema.parse(value), "Input validation failed");
67350
67881
  if (!parsed.ok) {
67351
67882
  return [parsed, { status: "invalid" }];
@@ -67432,12 +67963,12 @@ var init_terminalApplicationsCreate = __esm(() => {
67432
67963
  });
67433
67964
 
67434
67965
  // src/mcp-server/tools/terminalApplicationsCreate.ts
67435
- var args109, tool$terminalApplicationsCreate;
67966
+ var args111, tool$terminalApplicationsCreate;
67436
67967
  var init_terminalApplicationsCreate2 = __esm(() => {
67437
67968
  init_terminalApplicationsCreate();
67438
67969
  init_components();
67439
67970
  init_tools();
67440
- args109 = {
67971
+ args111 = {
67441
67972
  request: CreateTerminalApplication$inboundSchema
67442
67973
  };
67443
67974
  tool$terminalApplicationsCreate = {
@@ -67446,9 +67977,9 @@ var init_terminalApplicationsCreate2 = __esm(() => {
67446
67977
 
67447
67978
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67448
67979
  you'll need to specify the \`/terminalApplications.write\` scope.`,
67449
- args: args109,
67450
- tool: async (client, args110, ctx) => {
67451
- const [result, apiCall] = await terminalApplicationsCreate(client, args110.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67980
+ args: args111,
67981
+ tool: async (client, args112, ctx) => {
67982
+ const [result, apiCall] = await terminalApplicationsCreate(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67452
67983
  if (!result.ok) {
67453
67984
  return {
67454
67985
  content: [{ type: "text", text: result.error.message }],
@@ -67463,9 +67994,9 @@ you'll need to specify the \`/terminalApplications.write\` scope.`,
67463
67994
 
67464
67995
  // src/funcs/terminalApplicationsDelete.ts
67465
67996
  function terminalApplicationsDelete(client, request, options) {
67466
- return new APIPromise($do110(client, request, options));
67997
+ return new APIPromise($do112(client, request, options));
67467
67998
  }
67468
- async function $do110(client, request, options) {
67999
+ async function $do112(client, request, options) {
67469
68000
  const parsed = safeParse(request, (value) => DeleteTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
67470
68001
  if (!parsed.ok) {
67471
68002
  return [parsed, { status: "invalid" }];
@@ -67547,12 +68078,12 @@ var init_terminalApplicationsDelete = __esm(() => {
67547
68078
  });
67548
68079
 
67549
68080
  // src/mcp-server/tools/terminalApplicationsDelete.ts
67550
- var args110, tool$terminalApplicationsDelete;
68081
+ var args112, tool$terminalApplicationsDelete;
67551
68082
  var init_terminalApplicationsDelete2 = __esm(() => {
67552
68083
  init_terminalApplicationsDelete();
67553
68084
  init_operations();
67554
68085
  init_tools();
67555
- args110 = {
68086
+ args112 = {
67556
68087
  request: DeleteTerminalApplicationRequest$inboundSchema
67557
68088
  };
67558
68089
  tool$terminalApplicationsDelete = {
@@ -67561,9 +68092,9 @@ var init_terminalApplicationsDelete2 = __esm(() => {
67561
68092
 
67562
68093
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67563
68094
  you'll need to specify the \`/terminalApplications.write\` scope.`,
67564
- args: args110,
67565
- tool: async (client, args111, ctx) => {
67566
- const [result, apiCall] = await terminalApplicationsDelete(client, args111.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68095
+ args: args112,
68096
+ tool: async (client, args113, ctx) => {
68097
+ const [result, apiCall] = await terminalApplicationsDelete(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67567
68098
  if (!result.ok) {
67568
68099
  return {
67569
68100
  content: [{ type: "text", text: result.error.message }],
@@ -67577,9 +68108,9 @@ you'll need to specify the \`/terminalApplications.write\` scope.`,
67577
68108
 
67578
68109
  // src/funcs/terminalApplicationsGet.ts
67579
68110
  function terminalApplicationsGet(client, request, options) {
67580
- return new APIPromise($do111(client, request, options));
68111
+ return new APIPromise($do113(client, request, options));
67581
68112
  }
67582
- async function $do111(client, request, options) {
68113
+ async function $do113(client, request, options) {
67583
68114
  const parsed = safeParse(request, (value) => GetTerminalApplicationRequest$outboundSchema.parse(value), "Input validation failed");
67584
68115
  if (!parsed.ok) {
67585
68116
  return [parsed, { status: "invalid" }];
@@ -67652,12 +68183,12 @@ var init_terminalApplicationsGet = __esm(() => {
67652
68183
  });
67653
68184
 
67654
68185
  // src/mcp-server/tools/terminalApplicationsGet.ts
67655
- var args111, tool$terminalApplicationsGet;
68186
+ var args113, tool$terminalApplicationsGet;
67656
68187
  var init_terminalApplicationsGet2 = __esm(() => {
67657
68188
  init_terminalApplicationsGet();
67658
68189
  init_operations();
67659
68190
  init_tools();
67660
- args111 = {
68191
+ args113 = {
67661
68192
  request: GetTerminalApplicationRequest$inboundSchema
67662
68193
  };
67663
68194
  tool$terminalApplicationsGet = {
@@ -67666,9 +68197,9 @@ var init_terminalApplicationsGet2 = __esm(() => {
67666
68197
 
67667
68198
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67668
68199
  you'll need to specify the \`/terminalApplications.read\` scope.`,
67669
- args: args111,
67670
- tool: async (client, args112, ctx) => {
67671
- const [result, apiCall] = await terminalApplicationsGet(client, args112.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68200
+ args: args113,
68201
+ tool: async (client, args114, ctx) => {
68202
+ const [result, apiCall] = await terminalApplicationsGet(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67672
68203
  if (!result.ok) {
67673
68204
  return {
67674
68205
  content: [{ type: "text", text: result.error.message }],
@@ -67683,9 +68214,9 @@ you'll need to specify the \`/terminalApplications.read\` scope.`,
67683
68214
 
67684
68215
  // src/funcs/terminalApplicationsList.ts
67685
68216
  function terminalApplicationsList(client, _request, options) {
67686
- return new APIPromise($do112(client, _request, options));
68217
+ return new APIPromise($do114(client, _request, options));
67687
68218
  }
67688
- async function $do112(client, _request, options) {
68219
+ async function $do114(client, _request, options) {
67689
68220
  const path = pathToFunc("/terminal-applications")();
67690
68221
  const headers = new Headers(compactMap({
67691
68222
  Accept: "application/json",
@@ -67747,12 +68278,12 @@ var init_terminalApplicationsList = __esm(() => {
67747
68278
  });
67748
68279
 
67749
68280
  // src/mcp-server/tools/terminalApplicationsList.ts
67750
- var args112, tool$terminalApplicationsList;
68281
+ var args114, tool$terminalApplicationsList;
67751
68282
  var init_terminalApplicationsList2 = __esm(() => {
67752
68283
  init_terminalApplicationsList();
67753
68284
  init_operations();
67754
68285
  init_tools();
67755
- args112 = {
68286
+ args114 = {
67756
68287
  request: ListTerminalApplicationsRequest$inboundSchema
67757
68288
  };
67758
68289
  tool$terminalApplicationsList = {
@@ -67761,9 +68292,9 @@ var init_terminalApplicationsList2 = __esm(() => {
67761
68292
 
67762
68293
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67763
68294
  you'll need to specify the \`/terminalApplications.read\` scope.`,
67764
- args: args112,
67765
- tool: async (client, args113, ctx) => {
67766
- const [result, apiCall] = await terminalApplicationsList(client, args113.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68295
+ args: args114,
68296
+ tool: async (client, args115, ctx) => {
68297
+ const [result, apiCall] = await terminalApplicationsList(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67767
68298
  if (!result.ok) {
67768
68299
  return {
67769
68300
  content: [{ type: "text", text: result.error.message }],
@@ -67778,9 +68309,9 @@ you'll need to specify the \`/terminalApplications.read\` scope.`,
67778
68309
 
67779
68310
  // src/funcs/transfersCreate.ts
67780
68311
  function transfersCreate(client, request, options) {
67781
- return new APIPromise($do113(client, request, options));
68312
+ return new APIPromise($do115(client, request, options));
67782
68313
  }
67783
- async function $do113(client, request, options) {
68314
+ async function $do115(client, request, options) {
67784
68315
  const parsed = safeParse(request, (value) => CreateTransferRequest$outboundSchema.parse(value), "Input validation failed");
67785
68316
  if (!parsed.ok) {
67786
68317
  return [parsed, { status: "invalid" }];
@@ -67871,12 +68402,12 @@ var init_transfersCreate = __esm(() => {
67871
68402
  });
67872
68403
 
67873
68404
  // src/mcp-server/tools/transfersCreate.ts
67874
- var args113, tool$transfersCreate;
68405
+ var args115, tool$transfersCreate;
67875
68406
  var init_transfersCreate2 = __esm(() => {
67876
68407
  init_transfersCreate();
67877
68408
  init_operations();
67878
68409
  init_tools();
67879
- args113 = {
68410
+ args115 = {
67880
68411
  request: CreateTransferRequest$inboundSchema
67881
68412
  };
67882
68413
  tool$transfersCreate = {
@@ -67887,9 +68418,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
67887
68418
 
67888
68419
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
67889
68420
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
67890
- args: args113,
67891
- tool: async (client, args114, ctx) => {
67892
- const [result, apiCall] = await transfersCreate(client, args114.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68421
+ args: args115,
68422
+ tool: async (client, args116, ctx) => {
68423
+ const [result, apiCall] = await transfersCreate(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
67893
68424
  if (!result.ok) {
67894
68425
  return {
67895
68426
  content: [{ type: "text", text: result.error.message }],
@@ -67904,9 +68435,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
67904
68435
 
67905
68436
  // src/funcs/transfersCreateCancellation.ts
67906
68437
  function transfersCreateCancellation(client, request, options) {
67907
- return new APIPromise($do114(client, request, options));
68438
+ return new APIPromise($do116(client, request, options));
67908
68439
  }
67909
- async function $do114(client, request, options) {
68440
+ async function $do116(client, request, options) {
67910
68441
  const parsed = safeParse(request, (value) => CreateCancellationRequest$outboundSchema.parse(value), "Input validation failed");
67911
68442
  if (!parsed.ok) {
67912
68443
  return [parsed, { status: "invalid" }];
@@ -67987,12 +68518,12 @@ var init_transfersCreateCancellation = __esm(() => {
67987
68518
  });
67988
68519
 
67989
68520
  // src/mcp-server/tools/transfersCreateCancellation.ts
67990
- var args114, tool$transfersCreateCancellation;
68521
+ var args116, tool$transfersCreateCancellation;
67991
68522
  var init_transfersCreateCancellation2 = __esm(() => {
67992
68523
  init_transfersCreateCancellation();
67993
68524
  init_operations();
67994
68525
  init_tools();
67995
- args114 = {
68526
+ args116 = {
67996
68527
  request: CreateCancellationRequest$inboundSchema
67997
68528
  };
67998
68529
  tool$transfersCreateCancellation = {
@@ -68001,9 +68532,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
68001
68532
 
68002
68533
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
68003
68534
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68004
- args: args114,
68005
- tool: async (client, args115, ctx) => {
68006
- const [result, apiCall] = await transfersCreateCancellation(client, args115.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68535
+ args: args116,
68536
+ tool: async (client, args117, ctx) => {
68537
+ const [result, apiCall] = await transfersCreateCancellation(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68007
68538
  if (!result.ok) {
68008
68539
  return {
68009
68540
  content: [{ type: "text", text: result.error.message }],
@@ -68018,9 +68549,9 @@ var init_transfersCreateCancellation2 = __esm(() => {
68018
68549
 
68019
68550
  // src/funcs/transfersCreateReversal.ts
68020
68551
  function transfersCreateReversal(client, request, options) {
68021
- return new APIPromise($do115(client, request, options));
68552
+ return new APIPromise($do117(client, request, options));
68022
68553
  }
68023
- async function $do115(client, request, options) {
68554
+ async function $do117(client, request, options) {
68024
68555
  const parsed = safeParse(request, (value) => CreateReversalRequest$outboundSchema.parse(value), "Input validation failed");
68025
68556
  if (!parsed.ok) {
68026
68557
  return [parsed, { status: "invalid" }];
@@ -68117,12 +68648,12 @@ var init_transfersCreateReversal = __esm(() => {
68117
68648
  });
68118
68649
 
68119
68650
  // src/mcp-server/tools/transfersCreateReversal.ts
68120
- var args115, tool$transfersCreateReversal;
68651
+ var args117, tool$transfersCreateReversal;
68121
68652
  var init_transfersCreateReversal2 = __esm(() => {
68122
68653
  init_transfersCreateReversal();
68123
68654
  init_operations();
68124
68655
  init_tools();
68125
- args115 = {
68656
+ args117 = {
68126
68657
  request: CreateReversalRequest$inboundSchema
68127
68658
  };
68128
68659
  tool$transfersCreateReversal = {
@@ -68133,9 +68664,9 @@ to learn more.
68133
68664
 
68134
68665
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
68135
68666
  to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68136
- args: args115,
68137
- tool: async (client, args116, ctx) => {
68138
- const [result, apiCall] = await transfersCreateReversal(client, args116.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68667
+ args: args117,
68668
+ tool: async (client, args118, ctx) => {
68669
+ const [result, apiCall] = await transfersCreateReversal(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68139
68670
  if (!result.ok) {
68140
68671
  return {
68141
68672
  content: [{ type: "text", text: result.error.message }],
@@ -68150,9 +68681,9 @@ to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68150
68681
 
68151
68682
  // src/funcs/transfersGenerateOptions.ts
68152
68683
  function transfersGenerateOptions(client, request, options) {
68153
- return new APIPromise($do116(client, request, options));
68684
+ return new APIPromise($do118(client, request, options));
68154
68685
  }
68155
- async function $do116(client, request, options) {
68686
+ async function $do118(client, request, options) {
68156
68687
  const parsed = safeParse(request, (value) => CreateTransferOptions$outboundSchema.parse(value), "Input validation failed");
68157
68688
  if (!parsed.ok) {
68158
68689
  return [parsed, { status: "invalid" }];
@@ -68227,12 +68758,12 @@ var init_transfersGenerateOptions = __esm(() => {
68227
68758
  });
68228
68759
 
68229
68760
  // src/mcp-server/tools/transfersGenerateOptions.ts
68230
- var args116, tool$transfersGenerateOptions;
68761
+ var args118, tool$transfersGenerateOptions;
68231
68762
  var init_transfersGenerateOptions2 = __esm(() => {
68232
68763
  init_transfersGenerateOptions();
68233
68764
  init_components();
68234
68765
  init_tools();
68235
- args116 = {
68766
+ args118 = {
68236
68767
  request: CreateTransferOptions$inboundSchema
68237
68768
  };
68238
68769
  tool$transfersGenerateOptions = {
@@ -68244,9 +68775,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
68244
68775
 
68245
68776
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
68246
68777
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68247
- args: args116,
68248
- tool: async (client, args117, ctx) => {
68249
- const [result, apiCall] = await transfersGenerateOptions(client, args117.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68778
+ args: args118,
68779
+ tool: async (client, args119, ctx) => {
68780
+ const [result, apiCall] = await transfersGenerateOptions(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68250
68781
  if (!result.ok) {
68251
68782
  return {
68252
68783
  content: [{ type: "text", text: result.error.message }],
@@ -68261,9 +68792,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68261
68792
 
68262
68793
  // src/funcs/transfersGet.ts
68263
68794
  function transfersGet(client, request, options) {
68264
- return new APIPromise($do117(client, request, options));
68795
+ return new APIPromise($do119(client, request, options));
68265
68796
  }
68266
- async function $do117(client, request, options) {
68797
+ async function $do119(client, request, options) {
68267
68798
  const parsed = safeParse(request, (value) => GetTransferRequest$outboundSchema.parse(value), "Input validation failed");
68268
68799
  if (!parsed.ok) {
68269
68800
  return [parsed, { status: "invalid" }];
@@ -68343,12 +68874,12 @@ var init_transfersGet = __esm(() => {
68343
68874
  });
68344
68875
 
68345
68876
  // src/mcp-server/tools/transfersGet.ts
68346
- var args117, tool$transfersGet;
68877
+ var args119, tool$transfersGet;
68347
68878
  var init_transfersGet2 = __esm(() => {
68348
68879
  init_transfersGet();
68349
68880
  init_operations();
68350
68881
  init_tools();
68351
- args117 = {
68882
+ args119 = {
68352
68883
  request: GetTransferRequest$inboundSchema
68353
68884
  };
68354
68885
  tool$transfersGet = {
@@ -68360,9 +68891,9 @@ to learn more.
68360
68891
 
68361
68892
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
68362
68893
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68363
- args: args117,
68364
- tool: async (client, args118, ctx) => {
68365
- const [result, apiCall] = await transfersGet(client, args118.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68894
+ args: args119,
68895
+ tool: async (client, args120, ctx) => {
68896
+ const [result, apiCall] = await transfersGet(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68366
68897
  if (!result.ok) {
68367
68898
  return {
68368
68899
  content: [{ type: "text", text: result.error.message }],
@@ -68377,9 +68908,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68377
68908
 
68378
68909
  // src/funcs/transfersGetCancellation.ts
68379
68910
  function transfersGetCancellation(client, request, options) {
68380
- return new APIPromise($do118(client, request, options));
68911
+ return new APIPromise($do120(client, request, options));
68381
68912
  }
68382
- async function $do118(client, request, options) {
68913
+ async function $do120(client, request, options) {
68383
68914
  const parsed = safeParse(request, (value) => GetCancellationRequest$outboundSchema.parse(value), "Input validation failed");
68384
68915
  if (!parsed.ok) {
68385
68916
  return [parsed, { status: "invalid" }];
@@ -68463,12 +68994,12 @@ var init_transfersGetCancellation = __esm(() => {
68463
68994
  });
68464
68995
 
68465
68996
  // src/mcp-server/tools/transfersGetCancellation.ts
68466
- var args118, tool$transfersGetCancellation;
68997
+ var args120, tool$transfersGetCancellation;
68467
68998
  var init_transfersGetCancellation2 = __esm(() => {
68468
68999
  init_transfersGetCancellation();
68469
69000
  init_operations();
68470
69001
  init_tools();
68471
- args118 = {
69002
+ args120 = {
68472
69003
  request: GetCancellationRequest$inboundSchema
68473
69004
  };
68474
69005
  tool$transfersGetCancellation = {
@@ -68477,9 +69008,9 @@ var init_transfersGetCancellation2 = __esm(() => {
68477
69008
 
68478
69009
  To access this endpoint using a [token](https://docs.moov.io/api/authentication/access-tokens/) you'll need
68479
69010
  to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68480
- args: args118,
68481
- tool: async (client, args119, ctx) => {
68482
- const [result, apiCall] = await transfersGetCancellation(client, args119.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69011
+ args: args120,
69012
+ tool: async (client, args121, ctx) => {
69013
+ const [result, apiCall] = await transfersGetCancellation(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68483
69014
  if (!result.ok) {
68484
69015
  return {
68485
69016
  content: [{ type: "text", text: result.error.message }],
@@ -68494,9 +69025,9 @@ var init_transfersGetCancellation2 = __esm(() => {
68494
69025
 
68495
69026
  // src/funcs/transfersGetRefund.ts
68496
69027
  function transfersGetRefund(client, request, options) {
68497
- return new APIPromise($do119(client, request, options));
69028
+ return new APIPromise($do121(client, request, options));
68498
69029
  }
68499
- async function $do119(client, request, options) {
69030
+ async function $do121(client, request, options) {
68500
69031
  const parsed = safeParse(request, (value) => GetRefundRequest$outboundSchema.parse(value), "Input validation failed");
68501
69032
  if (!parsed.ok) {
68502
69033
  return [parsed, { status: "invalid" }];
@@ -68580,12 +69111,12 @@ var init_transfersGetRefund = __esm(() => {
68580
69111
  });
68581
69112
 
68582
69113
  // src/mcp-server/tools/transfersGetRefund.ts
68583
- var args119, tool$transfersGetRefund;
69114
+ var args121, tool$transfersGetRefund;
68584
69115
  var init_transfersGetRefund2 = __esm(() => {
68585
69116
  init_transfersGetRefund();
68586
69117
  init_operations();
68587
69118
  init_tools();
68588
- args119 = {
69119
+ args121 = {
68589
69120
  request: GetRefundRequest$inboundSchema
68590
69121
  };
68591
69122
  tool$transfersGetRefund = {
@@ -68594,9 +69125,9 @@ var init_transfersGetRefund2 = __esm(() => {
68594
69125
 
68595
69126
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
68596
69127
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68597
- args: args119,
68598
- tool: async (client, args120, ctx) => {
68599
- const [result, apiCall] = await transfersGetRefund(client, args120.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69128
+ args: args121,
69129
+ tool: async (client, args122, ctx) => {
69130
+ const [result, apiCall] = await transfersGetRefund(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68600
69131
  if (!result.ok) {
68601
69132
  return {
68602
69133
  content: [{ type: "text", text: result.error.message }],
@@ -68611,9 +69142,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68611
69142
 
68612
69143
  // src/funcs/transfersInitiateRefund.ts
68613
69144
  function transfersInitiateRefund(client, request, options) {
68614
- return new APIPromise($do120(client, request, options));
69145
+ return new APIPromise($do122(client, request, options));
68615
69146
  }
68616
- async function $do120(client, request, options) {
69147
+ async function $do122(client, request, options) {
68617
69148
  const parsed = safeParse(request, (value) => InitiateRefundRequest$outboundSchema.parse(value), "Input validation failed");
68618
69149
  if (!parsed.ok) {
68619
69150
  return [parsed, { status: "invalid" }];
@@ -68703,12 +69234,12 @@ var init_transfersInitiateRefund = __esm(() => {
68703
69234
  });
68704
69235
 
68705
69236
  // src/mcp-server/tools/transfersInitiateRefund.ts
68706
- var args120, tool$transfersInitiateRefund;
69237
+ var args122, tool$transfersInitiateRefund;
68707
69238
  var init_transfersInitiateRefund2 = __esm(() => {
68708
69239
  init_transfersInitiateRefund();
68709
69240
  init_operations();
68710
69241
  init_tools();
68711
- args120 = {
69242
+ args122 = {
68712
69243
  request: InitiateRefundRequest$inboundSchema
68713
69244
  };
68714
69245
  tool$transfersInitiateRefund = {
@@ -68720,9 +69251,9 @@ See the [reversals](https://docs.moov.io/guides/money-movement/accept-payments/c
68720
69251
 
68721
69252
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
68722
69253
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68723
- args: args120,
68724
- tool: async (client, args121, ctx) => {
68725
- const [result, apiCall] = await transfersInitiateRefund(client, args121.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69254
+ args: args122,
69255
+ tool: async (client, args123, ctx) => {
69256
+ const [result, apiCall] = await transfersInitiateRefund(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68726
69257
  if (!result.ok) {
68727
69258
  return {
68728
69259
  content: [{ type: "text", text: result.error.message }],
@@ -68737,9 +69268,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
68737
69268
 
68738
69269
  // src/funcs/transfersList.ts
68739
69270
  function transfersList(client, request, options) {
68740
- return new APIPromise($do121(client, request, options));
69271
+ return new APIPromise($do123(client, request, options));
68741
69272
  }
68742
- async function $do121(client, request, options) {
69273
+ async function $do123(client, request, options) {
68743
69274
  const parsed = safeParse(request, (value) => ListTransfersRequest$outboundSchema.parse(value), "Input validation failed");
68744
69275
  if (!parsed.ok) {
68745
69276
  return [parsed, { status: "invalid" }];
@@ -68827,12 +69358,12 @@ var init_transfersList = __esm(() => {
68827
69358
  });
68828
69359
 
68829
69360
  // src/mcp-server/tools/transfersList.ts
68830
- var args121, tool$transfersList;
69361
+ var args123, tool$transfersList;
68831
69362
  var init_transfersList2 = __esm(() => {
68832
69363
  init_transfersList();
68833
69364
  init_operations();
68834
69365
  init_tools();
68835
- args121 = {
69366
+ args123 = {
68836
69367
  request: ListTransfersRequest$inboundSchema
68837
69368
  };
68838
69369
  tool$transfersList = {
@@ -68848,9 +69379,9 @@ period of time. You can run multiple requests in smaller time window increments
68848
69379
 
68849
69380
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
68850
69381
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68851
- args: args121,
68852
- tool: async (client, args122, ctx) => {
68853
- const [result, apiCall] = await transfersList(client, args122.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69382
+ args: args123,
69383
+ tool: async (client, args124, ctx) => {
69384
+ const [result, apiCall] = await transfersList(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68854
69385
  if (!result.ok) {
68855
69386
  return {
68856
69387
  content: [{ type: "text", text: result.error.message }],
@@ -68865,9 +69396,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68865
69396
 
68866
69397
  // src/funcs/transfersListRefunds.ts
68867
69398
  function transfersListRefunds(client, request, options) {
68868
- return new APIPromise($do122(client, request, options));
69399
+ return new APIPromise($do124(client, request, options));
68869
69400
  }
68870
- async function $do122(client, request, options) {
69401
+ async function $do124(client, request, options) {
68871
69402
  const parsed = safeParse(request, (value) => ListRefundsRequest$outboundSchema.parse(value), "Input validation failed");
68872
69403
  if (!parsed.ok) {
68873
69404
  return [parsed, { status: "invalid" }];
@@ -68947,12 +69478,12 @@ var init_transfersListRefunds = __esm(() => {
68947
69478
  });
68948
69479
 
68949
69480
  // src/mcp-server/tools/transfersListRefunds.ts
68950
- var args122, tool$transfersListRefunds;
69481
+ var args124, tool$transfersListRefunds;
68951
69482
  var init_transfersListRefunds2 = __esm(() => {
68952
69483
  init_transfersListRefunds();
68953
69484
  init_operations();
68954
69485
  init_tools();
68955
- args122 = {
69486
+ args124 = {
68956
69487
  request: ListRefundsRequest$inboundSchema
68957
69488
  };
68958
69489
  tool$transfersListRefunds = {
@@ -68961,9 +69492,9 @@ var init_transfersListRefunds2 = __esm(() => {
68961
69492
 
68962
69493
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
68963
69494
  you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68964
- args: args122,
68965
- tool: async (client, args123, ctx) => {
68966
- const [result, apiCall] = await transfersListRefunds(client, args123.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69495
+ args: args124,
69496
+ tool: async (client, args125, ctx) => {
69497
+ const [result, apiCall] = await transfersListRefunds(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
68967
69498
  if (!result.ok) {
68968
69499
  return {
68969
69500
  content: [{ type: "text", text: result.error.message }],
@@ -68978,9 +69509,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.read\` scope.`,
68978
69509
 
68979
69510
  // src/funcs/transfersUpdate.ts
68980
69511
  function transfersUpdate(client, request, options) {
68981
- return new APIPromise($do123(client, request, options));
69512
+ return new APIPromise($do125(client, request, options));
68982
69513
  }
68983
- async function $do123(client, request, options) {
69514
+ async function $do125(client, request, options) {
68984
69515
  const parsed = safeParse(request, (value) => UpdateTransferRequest$outboundSchema.parse(value), "Input validation failed");
68985
69516
  if (!parsed.ok) {
68986
69517
  return [parsed, { status: "invalid" }];
@@ -69061,12 +69592,12 @@ var init_transfersUpdate = __esm(() => {
69061
69592
  });
69062
69593
 
69063
69594
  // src/mcp-server/tools/transfersUpdate.ts
69064
- var args123, tool$transfersUpdate;
69595
+ var args125, tool$transfersUpdate;
69065
69596
  var init_transfersUpdate2 = __esm(() => {
69066
69597
  init_transfersUpdate();
69067
69598
  init_operations();
69068
69599
  init_tools();
69069
- args123 = {
69600
+ args125 = {
69070
69601
  request: UpdateTransferRequest$inboundSchema
69071
69602
  };
69072
69603
  tool$transfersUpdate = {
@@ -69077,9 +69608,9 @@ Read our [transfers overview guide](https://docs.moov.io/guides/money-movement/o
69077
69608
 
69078
69609
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69079
69610
  you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
69080
- args: args123,
69081
- tool: async (client, args124, ctx) => {
69082
- const [result, apiCall] = await transfersUpdate(client, args124.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69611
+ args: args125,
69612
+ tool: async (client, args126, ctx) => {
69613
+ const [result, apiCall] = await transfersUpdate(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69083
69614
  if (!result.ok) {
69084
69615
  return {
69085
69616
  content: [{ type: "text", text: result.error.message }],
@@ -69094,9 +69625,9 @@ you'll need to specify the \`/accounts/{accountID}/transfers.write\` scope.`,
69094
69625
 
69095
69626
  // src/funcs/underwritingGet.ts
69096
69627
  function underwritingGet(client, request, options) {
69097
- return new APIPromise($do124(client, request, options));
69628
+ return new APIPromise($do126(client, request, options));
69098
69629
  }
69099
- async function $do124(client, request, options) {
69630
+ async function $do126(client, request, options) {
69100
69631
  const parsed = safeParse(request, (value) => GetUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
69101
69632
  if (!parsed.ok) {
69102
69633
  return [parsed, { status: "invalid" }];
@@ -69172,12 +69703,12 @@ var init_underwritingGet = __esm(() => {
69172
69703
  });
69173
69704
 
69174
69705
  // src/mcp-server/tools/underwritingGet.ts
69175
- var args124, tool$underwritingGet;
69706
+ var args126, tool$underwritingGet;
69176
69707
  var init_underwritingGet2 = __esm(() => {
69177
69708
  init_underwritingGet();
69178
69709
  init_operations();
69179
69710
  init_tools();
69180
- args124 = {
69711
+ args126 = {
69181
69712
  request: GetUnderwritingRequest$inboundSchema
69182
69713
  };
69183
69714
  tool$underwritingGet = {
@@ -69188,9 +69719,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
69188
69719
 
69189
69720
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69190
69721
  you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
69191
- args: args124,
69192
- tool: async (client, args125, ctx) => {
69193
- const [result, apiCall] = await underwritingGet(client, args125.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69722
+ args: args126,
69723
+ tool: async (client, args127, ctx) => {
69724
+ const [result, apiCall] = await underwritingGet(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69194
69725
  if (!result.ok) {
69195
69726
  return {
69196
69727
  content: [{ type: "text", text: result.error.message }],
@@ -69205,9 +69736,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
69205
69736
 
69206
69737
  // src/funcs/underwritingUpsert.ts
69207
69738
  function underwritingUpsert(client, request, options) {
69208
- return new APIPromise($do125(client, request, options));
69739
+ return new APIPromise($do127(client, request, options));
69209
69740
  }
69210
- async function $do125(client, request, options) {
69741
+ async function $do127(client, request, options) {
69211
69742
  const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
69212
69743
  if (!parsed.ok) {
69213
69744
  return [parsed, { status: "invalid" }];
@@ -69301,12 +69832,12 @@ var init_underwritingUpsert = __esm(() => {
69301
69832
  });
69302
69833
 
69303
69834
  // src/mcp-server/tools/underwritingUpsert.ts
69304
- var args125, tool$underwritingUpsert;
69835
+ var args127, tool$underwritingUpsert;
69305
69836
  var init_underwritingUpsert2 = __esm(() => {
69306
69837
  init_underwritingUpsert();
69307
69838
  init_operations();
69308
69839
  init_tools();
69309
- args125 = {
69840
+ args127 = {
69310
69841
  request: UpsertUnderwritingRequest$inboundSchema
69311
69842
  };
69312
69843
  tool$underwritingUpsert = {
@@ -69317,9 +69848,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
69317
69848
 
69318
69849
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69319
69850
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
69320
- args: args125,
69321
- tool: async (client, args126, ctx) => {
69322
- const [result, apiCall] = await underwritingUpsert(client, args126.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69851
+ args: args127,
69852
+ tool: async (client, args128, ctx) => {
69853
+ const [result, apiCall] = await underwritingUpsert(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69323
69854
  if (!result.ok) {
69324
69855
  return {
69325
69856
  content: [{ type: "text", text: result.error.message }],
@@ -69334,9 +69865,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
69334
69865
 
69335
69866
  // src/funcs/walletsGet.ts
69336
69867
  function walletsGet(client, request, options) {
69337
- return new APIPromise($do126(client, request, options));
69868
+ return new APIPromise($do128(client, request, options));
69338
69869
  }
69339
- async function $do126(client, request, options) {
69870
+ async function $do128(client, request, options) {
69340
69871
  const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
69341
69872
  if (!parsed.ok) {
69342
69873
  return [parsed, { status: "invalid" }];
@@ -69416,12 +69947,12 @@ var init_walletsGet = __esm(() => {
69416
69947
  });
69417
69948
 
69418
69949
  // src/mcp-server/tools/walletsGet.ts
69419
- var args126, tool$walletsGet;
69950
+ var args128, tool$walletsGet;
69420
69951
  var init_walletsGet2 = __esm(() => {
69421
69952
  init_walletsGet();
69422
69953
  init_operations();
69423
69954
  init_tools();
69424
- args126 = {
69955
+ args128 = {
69425
69956
  request: GetWalletRequest$inboundSchema
69426
69957
  };
69427
69958
  tool$walletsGet = {
@@ -69432,9 +69963,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
69432
69963
 
69433
69964
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69434
69965
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
69435
- args: args126,
69436
- tool: async (client, args127, ctx) => {
69437
- const [result, apiCall] = await walletsGet(client, args127.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69966
+ args: args128,
69967
+ tool: async (client, args129, ctx) => {
69968
+ const [result, apiCall] = await walletsGet(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69438
69969
  if (!result.ok) {
69439
69970
  return {
69440
69971
  content: [{ type: "text", text: result.error.message }],
@@ -69449,9 +69980,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
69449
69980
 
69450
69981
  // src/funcs/walletsList.ts
69451
69982
  function walletsList(client, request, options) {
69452
- return new APIPromise($do127(client, request, options));
69983
+ return new APIPromise($do129(client, request, options));
69453
69984
  }
69454
- async function $do127(client, request, options) {
69985
+ async function $do129(client, request, options) {
69455
69986
  const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
69456
69987
  if (!parsed.ok) {
69457
69988
  return [parsed, { status: "invalid" }];
@@ -69527,12 +70058,12 @@ var init_walletsList = __esm(() => {
69527
70058
  });
69528
70059
 
69529
70060
  // src/mcp-server/tools/walletsList.ts
69530
- var args127, tool$walletsList;
70061
+ var args129, tool$walletsList;
69531
70062
  var init_walletsList2 = __esm(() => {
69532
70063
  init_walletsList();
69533
70064
  init_operations();
69534
70065
  init_tools();
69535
- args127 = {
70066
+ args129 = {
69536
70067
  request: ListWalletsRequest$inboundSchema
69537
70068
  };
69538
70069
  tool$walletsList = {
@@ -69543,9 +70074,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
69543
70074
 
69544
70075
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69545
70076
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
69546
- args: args127,
69547
- tool: async (client, args128, ctx) => {
69548
- const [result, apiCall] = await walletsList(client, args128.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70077
+ args: args129,
70078
+ tool: async (client, args130, ctx) => {
70079
+ const [result, apiCall] = await walletsList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69549
70080
  if (!result.ok) {
69550
70081
  return {
69551
70082
  content: [{ type: "text", text: result.error.message }],
@@ -69560,9 +70091,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
69560
70091
 
69561
70092
  // src/funcs/walletTransactionsGet.ts
69562
70093
  function walletTransactionsGet(client, request, options) {
69563
- return new APIPromise($do128(client, request, options));
70094
+ return new APIPromise($do130(client, request, options));
69564
70095
  }
69565
- async function $do128(client, request, options) {
70096
+ async function $do130(client, request, options) {
69566
70097
  const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
69567
70098
  if (!parsed.ok) {
69568
70099
  return [parsed, { status: "invalid" }];
@@ -69646,12 +70177,12 @@ var init_walletTransactionsGet = __esm(() => {
69646
70177
  });
69647
70178
 
69648
70179
  // src/mcp-server/tools/walletTransactionsGet.ts
69649
- var args128, tool$walletTransactionsGet;
70180
+ var args130, tool$walletTransactionsGet;
69650
70181
  var init_walletTransactionsGet2 = __esm(() => {
69651
70182
  init_walletTransactionsGet();
69652
70183
  init_operations();
69653
70184
  init_tools();
69654
- args128 = {
70185
+ args130 = {
69655
70186
  request: GetWalletTransactionRequest$inboundSchema
69656
70187
  };
69657
70188
  tool$walletTransactionsGet = {
@@ -69662,9 +70193,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
69662
70193
 
69663
70194
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69664
70195
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
69665
- args: args128,
69666
- tool: async (client, args129, ctx) => {
69667
- const [result, apiCall] = await walletTransactionsGet(client, args129.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70196
+ args: args130,
70197
+ tool: async (client, args131, ctx) => {
70198
+ const [result, apiCall] = await walletTransactionsGet(client, args131.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69668
70199
  if (!result.ok) {
69669
70200
  return {
69670
70201
  content: [{ type: "text", text: result.error.message }],
@@ -69679,9 +70210,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
69679
70210
 
69680
70211
  // src/funcs/walletTransactionsList.ts
69681
70212
  function walletTransactionsList(client, request, options) {
69682
- return new APIPromise($do129(client, request, options));
70213
+ return new APIPromise($do131(client, request, options));
69683
70214
  }
69684
- async function $do129(client, request, options) {
70215
+ async function $do131(client, request, options) {
69685
70216
  const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
69686
70217
  if (!parsed.ok) {
69687
70218
  return [parsed, { status: "invalid" }];
@@ -69776,12 +70307,12 @@ var init_walletTransactionsList = __esm(() => {
69776
70307
  });
69777
70308
 
69778
70309
  // src/mcp-server/tools/walletTransactionsList.ts
69779
- var args129, tool$walletTransactionsList;
70310
+ var args131, tool$walletTransactionsList;
69780
70311
  var init_walletTransactionsList2 = __esm(() => {
69781
70312
  init_walletTransactionsList();
69782
70313
  init_operations();
69783
70314
  init_tools();
69784
- args129 = {
70315
+ args131 = {
69785
70316
  request: ListWalletTransactionsRequest$inboundSchema
69786
70317
  };
69787
70318
  tool$walletTransactionsList = {
@@ -69792,9 +70323,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
69792
70323
 
69793
70324
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
69794
70325
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
69795
- args: args129,
69796
- tool: async (client, args130, ctx) => {
69797
- const [result, apiCall] = await walletTransactionsList(client, args130.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
70326
+ args: args131,
70327
+ tool: async (client, args132, ctx) => {
70328
+ const [result, apiCall] = await walletTransactionsList(client, args132.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
69798
70329
  if (!result.ok) {
69799
70330
  return {
69800
70331
  content: [{ type: "text", text: result.error.message }],
@@ -69811,7 +70342,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
69811
70342
  function createMCPServer(deps) {
69812
70343
  const server = new McpServer({
69813
70344
  name: "Moov",
69814
- version: "0.6.1"
70345
+ version: "0.7.0"
69815
70346
  });
69816
70347
  const client = new MoovCore({
69817
70348
  security: deps.security,
@@ -69822,6 +70353,9 @@ function createMCPServer(deps) {
69822
70353
  const scopes = new Set(deps.scopes ?? mcpScopes);
69823
70354
  const allowedTools = deps.allowedTools && new Set(deps.allowedTools);
69824
70355
  const tool = createRegisterTool(deps.logger, server, client, scopes, allowedTools);
70356
+ const resource = createRegisterResource(deps.logger, server, client, scopes);
70357
+ const resourceTemplate = createRegisterResourceTemplate(deps.logger, server, client, scopes);
70358
+ const register = { tool, resource, resourceTemplate };
69825
70359
  tool(tool$accountsCreate);
69826
70360
  tool(tool$accountsList);
69827
70361
  tool(tool$accountsGet);
@@ -69947,6 +70481,8 @@ function createMCPServer(deps) {
69947
70481
  tool(tool$onboardingGetInvite);
69948
70482
  tool(tool$onboardingRevokeInvite);
69949
70483
  tool(tool$pingPing);
70484
+ tool(tool$receiptsCreate);
70485
+ tool(tool$receiptsList);
69950
70486
  tool(tool$terminalApplicationsCreate);
69951
70487
  tool(tool$terminalApplicationsList);
69952
70488
  tool(tool$terminalApplicationsGet);
@@ -69956,6 +70492,7 @@ function createMCPServer(deps) {
69956
70492
  var init_server2 = __esm(() => {
69957
70493
  init_mcp();
69958
70494
  init_core();
70495
+ init_resources();
69959
70496
  init_scopes();
69960
70497
  init_tools();
69961
70498
  init_accountsAssignCountries2();
@@ -70049,6 +70586,8 @@ var init_server2 = __esm(() => {
70049
70586
  init_paymentMethodsGet2();
70050
70587
  init_paymentMethodsList2();
70051
70588
  init_pingPing2();
70589
+ init_receiptsCreate2();
70590
+ init_receiptsList2();
70052
70591
  init_representativesCreate2();
70053
70592
  init_representativesDelete2();
70054
70593
  init_representativesGet2();
@@ -71301,7 +71840,7 @@ var routes = rn({
71301
71840
  var app = Ve(routes, {
71302
71841
  name: "mcp",
71303
71842
  versionInfo: {
71304
- currentVersion: "0.6.1"
71843
+ currentVersion: "0.7.0"
71305
71844
  }
71306
71845
  });
71307
71846
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -71309,5 +71848,5 @@ export {
71309
71848
  app
71310
71849
  };
71311
71850
 
71312
- //# debugId=A177DDA8F2BF43C064756E2164756E21
71851
+ //# debugId=80E727F85751204664756E2164756E21
71313
71852
  //# sourceMappingURL=mcp-server.js.map