@moovio/sdk 0.12.6 → 0.14.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 (278) hide show
  1. package/README.md +48 -35
  2. package/bin/mcp-server.js +1183 -68
  3. package/bin/mcp-server.js.map +58 -18
  4. package/docs/sdks/underwriting/README.md +95 -0
  5. package/funcs/transfersList.js +1 -0
  6. package/funcs/transfersList.js.map +1 -1
  7. package/funcs/underwritingSave.d.ts +20 -0
  8. package/funcs/underwritingSave.d.ts.map +1 -0
  9. package/funcs/underwritingSave.js +145 -0
  10. package/funcs/underwritingSave.js.map +1 -0
  11. package/jsr.json +1 -1
  12. package/lib/config.d.ts +3 -3
  13. package/lib/config.js +3 -3
  14. package/mcp-server/mcp-server.js +1 -1
  15. package/mcp-server/server.d.ts.map +1 -1
  16. package/mcp-server/server.js +3 -1
  17. package/mcp-server/server.js.map +1 -1
  18. package/mcp-server/tools/underwritingSave.d.ts +8 -0
  19. package/mcp-server/tools/underwritingSave.d.ts.map +1 -0
  20. package/mcp-server/tools/underwritingSave.js +67 -0
  21. package/mcp-server/tools/underwritingSave.js.map +1 -0
  22. package/models/components/businesspresence.d.ts +40 -0
  23. package/models/components/businesspresence.d.ts.map +1 -0
  24. package/models/components/businesspresence.js +64 -0
  25. package/models/components/businesspresence.js.map +1 -0
  26. package/models/components/cardacceptancemethods.d.ts +45 -0
  27. package/models/components/cardacceptancemethods.d.ts.map +1 -0
  28. package/models/components/cardacceptancemethods.js +73 -0
  29. package/models/components/cardacceptancemethods.js.map +1 -0
  30. package/models/components/cardacceptancemethodserror.d.ts +33 -0
  31. package/models/components/cardacceptancemethodserror.d.ts.map +1 -0
  32. package/models/components/cardacceptancemethodserror.js +73 -0
  33. package/models/components/cardacceptancemethodserror.js.map +1 -0
  34. package/models/components/collectfunds.d.ts +33 -0
  35. package/models/components/collectfunds.d.ts.map +1 -0
  36. package/models/components/collectfunds.js +73 -0
  37. package/models/components/collectfunds.js.map +1 -0
  38. package/models/components/collectfundsach.d.ts +30 -0
  39. package/models/components/collectfundsach.d.ts.map +1 -0
  40. package/models/components/collectfundsach.js +70 -0
  41. package/models/components/collectfundsach.js.map +1 -0
  42. package/models/components/collectfundsacherror.d.ts +30 -0
  43. package/models/components/collectfundsacherror.d.ts.map +1 -0
  44. package/models/components/collectfundsacherror.js +70 -0
  45. package/models/components/collectfundsacherror.js.map +1 -0
  46. package/models/components/collectfundscardpayments.d.ts +44 -0
  47. package/models/components/collectfundscardpayments.d.ts.map +1 -0
  48. package/models/components/collectfundscardpayments.js +81 -0
  49. package/models/components/collectfundscardpayments.js.map +1 -0
  50. package/models/components/collectfundscardpaymentserror.d.ts +40 -0
  51. package/models/components/collectfundscardpaymentserror.d.ts.map +1 -0
  52. package/models/components/collectfundscardpaymentserror.js +80 -0
  53. package/models/components/collectfundscardpaymentserror.js.map +1 -0
  54. package/models/components/collectfundserror.d.ts +33 -0
  55. package/models/components/collectfundserror.d.ts.map +1 -0
  56. package/models/components/collectfundserror.js +73 -0
  57. package/models/components/collectfundserror.js.map +1 -0
  58. package/models/components/createdtransfer.d.ts +5 -0
  59. package/models/components/createdtransfer.d.ts.map +1 -1
  60. package/models/components/createdtransfer.js +2 -0
  61. package/models/components/createdtransfer.js.map +1 -1
  62. package/models/components/createtransfer.d.ts +5 -0
  63. package/models/components/createtransfer.d.ts.map +1 -1
  64. package/models/components/createtransfer.js +2 -0
  65. package/models/components/createtransfer.js.map +1 -1
  66. package/models/components/estimatedactivity.d.ts +37 -0
  67. package/models/components/estimatedactivity.d.ts.map +1 -0
  68. package/models/components/estimatedactivity.js +74 -0
  69. package/models/components/estimatedactivity.js.map +1 -0
  70. package/models/components/estimatedactivityerror.d.ts +33 -0
  71. package/models/components/estimatedactivityerror.d.ts.map +1 -0
  72. package/models/components/estimatedactivityerror.js +73 -0
  73. package/models/components/estimatedactivityerror.js.map +1 -0
  74. package/models/components/fulfillment.d.ts +33 -0
  75. package/models/components/fulfillment.d.ts.map +1 -0
  76. package/models/components/fulfillment.js +73 -0
  77. package/models/components/fulfillment.js.map +1 -0
  78. package/models/components/fulfillmenterror.d.ts +31 -0
  79. package/models/components/fulfillmenterror.d.ts.map +1 -0
  80. package/models/components/fulfillmenterror.js +71 -0
  81. package/models/components/fulfillmenterror.js.map +1 -0
  82. package/models/components/fulfillmentmethod.d.ts +49 -0
  83. package/models/components/fulfillmentmethod.d.ts.map +1 -0
  84. package/models/components/fulfillmentmethod.js +67 -0
  85. package/models/components/fulfillmentmethod.js.map +1 -0
  86. package/models/components/fulfillmenttimeframe.d.ts +46 -0
  87. package/models/components/fulfillmenttimeframe.d.ts.map +1 -0
  88. package/models/components/fulfillmenttimeframe.js +66 -0
  89. package/models/components/fulfillmenttimeframe.js.map +1 -0
  90. package/models/components/geographicreach.d.ts +31 -0
  91. package/models/components/geographicreach.d.ts.map +1 -0
  92. package/models/components/geographicreach.js +61 -0
  93. package/models/components/geographicreach.js.map +1 -0
  94. package/models/components/index.d.ts +36 -0
  95. package/models/components/index.d.ts.map +1 -1
  96. package/models/components/index.js +36 -0
  97. package/models/components/index.js.map +1 -1
  98. package/models/components/moneytransfer.d.ts +33 -0
  99. package/models/components/moneytransfer.d.ts.map +1 -0
  100. package/models/components/moneytransfer.js +73 -0
  101. package/models/components/moneytransfer.js.map +1 -0
  102. package/models/components/moneytransfererror.d.ts +33 -0
  103. package/models/components/moneytransfererror.d.ts.map +1 -0
  104. package/models/components/moneytransfererror.js +73 -0
  105. package/models/components/moneytransfererror.js.map +1 -0
  106. package/models/components/moneytransferpullfromcard.d.ts +30 -0
  107. package/models/components/moneytransferpullfromcard.d.ts.map +1 -0
  108. package/models/components/moneytransferpullfromcard.js +70 -0
  109. package/models/components/moneytransferpullfromcard.js.map +1 -0
  110. package/models/components/moneytransferpullfromcarderror.d.ts +30 -0
  111. package/models/components/moneytransferpullfromcarderror.d.ts.map +1 -0
  112. package/models/components/moneytransferpullfromcarderror.js +70 -0
  113. package/models/components/moneytransferpullfromcarderror.js.map +1 -0
  114. package/models/components/moneytransferpushtocard.d.ts +30 -0
  115. package/models/components/moneytransferpushtocard.d.ts.map +1 -0
  116. package/models/components/moneytransferpushtocard.js +70 -0
  117. package/models/components/moneytransferpushtocard.js.map +1 -0
  118. package/models/components/moneytransferpushtocarderror.d.ts +30 -0
  119. package/models/components/moneytransferpushtocarderror.d.ts.map +1 -0
  120. package/models/components/moneytransferpushtocarderror.js +70 -0
  121. package/models/components/moneytransferpushtocarderror.js.map +1 -0
  122. package/models/components/monthlyvolumerange.d.ts +52 -0
  123. package/models/components/monthlyvolumerange.d.ts.map +1 -0
  124. package/models/components/monthlyvolumerange.js +69 -0
  125. package/models/components/monthlyvolumerange.js.map +1 -0
  126. package/models/components/pendinglitigation.d.ts +52 -0
  127. package/models/components/pendinglitigation.d.ts.map +1 -0
  128. package/models/components/pendinglitigation.js +68 -0
  129. package/models/components/pendinglitigation.js.map +1 -0
  130. package/models/components/refundpolicy.d.ts +49 -0
  131. package/models/components/refundpolicy.d.ts.map +1 -0
  132. package/models/components/refundpolicy.js +67 -0
  133. package/models/components/refundpolicy.js.map +1 -0
  134. package/models/components/sendfunds.d.ts +36 -0
  135. package/models/components/sendfunds.d.ts.map +1 -0
  136. package/models/components/sendfunds.js +76 -0
  137. package/models/components/sendfunds.js.map +1 -0
  138. package/models/components/sendfundsach.d.ts +30 -0
  139. package/models/components/sendfundsach.d.ts.map +1 -0
  140. package/models/components/sendfundsach.js +70 -0
  141. package/models/components/sendfundsach.js.map +1 -0
  142. package/models/components/sendfundsacherror.d.ts +30 -0
  143. package/models/components/sendfundsacherror.d.ts.map +1 -0
  144. package/models/components/sendfundsacherror.js +70 -0
  145. package/models/components/sendfundsacherror.js.map +1 -0
  146. package/models/components/sendfundserror.d.ts +36 -0
  147. package/models/components/sendfundserror.d.ts.map +1 -0
  148. package/models/components/sendfundserror.js +76 -0
  149. package/models/components/sendfundserror.js.map +1 -0
  150. package/models/components/sendfundspushtocard.d.ts +30 -0
  151. package/models/components/sendfundspushtocard.d.ts.map +1 -0
  152. package/models/components/sendfundspushtocard.js +70 -0
  153. package/models/components/sendfundspushtocard.js.map +1 -0
  154. package/models/components/sendfundspushtocarderror.d.ts +30 -0
  155. package/models/components/sendfundspushtocarderror.d.ts.map +1 -0
  156. package/models/components/sendfundspushtocarderror.js +70 -0
  157. package/models/components/sendfundspushtocarderror.js.map +1 -0
  158. package/models/components/sendfundsrtp.d.ts +30 -0
  159. package/models/components/sendfundsrtp.d.ts.map +1 -0
  160. package/models/components/sendfundsrtp.js +70 -0
  161. package/models/components/sendfundsrtp.js.map +1 -0
  162. package/models/components/sendfundsrtperror.d.ts +30 -0
  163. package/models/components/sendfundsrtperror.d.ts.map +1 -0
  164. package/models/components/sendfundsrtperror.js +70 -0
  165. package/models/components/sendfundsrtperror.js.map +1 -0
  166. package/models/components/transfer.d.ts +5 -0
  167. package/models/components/transfer.d.ts.map +1 -1
  168. package/models/components/transfer.js +2 -0
  169. package/models/components/transfer.js.map +1 -1
  170. package/models/components/underwriting.d.ts +35 -14
  171. package/models/components/underwriting.d.ts.map +1 -1
  172. package/models/components/underwriting.js +36 -14
  173. package/models/components/underwriting.js.map +1 -1
  174. package/models/components/upsertunderwriting.d.ts +48 -0
  175. package/models/components/upsertunderwriting.d.ts.map +1 -0
  176. package/models/components/upsertunderwriting.js +89 -0
  177. package/models/components/upsertunderwriting.js.map +1 -0
  178. package/models/components/volumesharebycustomertype.d.ts +33 -0
  179. package/models/components/volumesharebycustomertype.d.ts.map +1 -0
  180. package/models/components/volumesharebycustomertype.js +73 -0
  181. package/models/components/volumesharebycustomertype.js.map +1 -0
  182. package/models/components/volumesharebycustomertypeerror.d.ts +33 -0
  183. package/models/components/volumesharebycustomertypeerror.d.ts.map +1 -0
  184. package/models/components/volumesharebycustomertypeerror.js +73 -0
  185. package/models/components/volumesharebycustomertypeerror.js.map +1 -0
  186. package/models/components/webhookdatatransfercreated.d.ts +2 -0
  187. package/models/components/webhookdatatransfercreated.d.ts.map +1 -1
  188. package/models/components/webhookdatatransfercreated.js +2 -0
  189. package/models/components/webhookdatatransfercreated.js.map +1 -1
  190. package/models/components/webhookdatatransferupdated.d.ts +2 -0
  191. package/models/components/webhookdatatransferupdated.d.ts.map +1 -1
  192. package/models/components/webhookdatatransferupdated.js +2 -0
  193. package/models/components/webhookdatatransferupdated.js.map +1 -1
  194. package/models/errors/index.d.ts +1 -0
  195. package/models/errors/index.d.ts.map +1 -1
  196. package/models/errors/index.js +1 -0
  197. package/models/errors/index.js.map +1 -1
  198. package/models/errors/transfer.d.ts +9 -0
  199. package/models/errors/transfer.d.ts.map +1 -1
  200. package/models/errors/transfer.js +4 -0
  201. package/models/errors/transfer.js.map +1 -1
  202. package/models/errors/upsertunderwritingerror.d.ts +73 -0
  203. package/models/errors/upsertunderwritingerror.d.ts.map +1 -0
  204. package/models/errors/upsertunderwritingerror.js +150 -0
  205. package/models/errors/upsertunderwritingerror.js.map +1 -0
  206. package/models/operations/index.d.ts +1 -0
  207. package/models/operations/index.d.ts.map +1 -1
  208. package/models/operations/index.js +1 -0
  209. package/models/operations/index.js.map +1 -1
  210. package/models/operations/listtransfers.d.ts +5 -0
  211. package/models/operations/listtransfers.d.ts.map +1 -1
  212. package/models/operations/listtransfers.js +2 -0
  213. package/models/operations/listtransfers.js.map +1 -1
  214. package/models/operations/saveunderwriting.d.ts +101 -0
  215. package/models/operations/saveunderwriting.d.ts.map +1 -0
  216. package/models/operations/saveunderwriting.js +155 -0
  217. package/models/operations/saveunderwriting.js.map +1 -0
  218. package/package.json +1 -1
  219. package/sdk/underwriting.d.ts +9 -0
  220. package/sdk/underwriting.d.ts.map +1 -1
  221. package/sdk/underwriting.js +12 -0
  222. package/sdk/underwriting.js.map +1 -1
  223. package/src/funcs/transfersList.ts +1 -0
  224. package/src/funcs/underwritingSave.ts +207 -0
  225. package/src/lib/config.ts +3 -3
  226. package/src/mcp-server/mcp-server.ts +1 -1
  227. package/src/mcp-server/server.ts +3 -1
  228. package/src/mcp-server/tools/underwritingSave.ts +40 -0
  229. package/src/models/components/businesspresence.ts +37 -0
  230. package/src/models/components/cardacceptancemethods.ts +86 -0
  231. package/src/models/components/cardacceptancemethodserror.ts +74 -0
  232. package/src/models/components/collectfunds.ts +78 -0
  233. package/src/models/components/collectfundsach.ts +70 -0
  234. package/src/models/components/collectfundsacherror.ts +72 -0
  235. package/src/models/components/collectfundscardpayments.ts +108 -0
  236. package/src/models/components/collectfundscardpaymentserror.ts +102 -0
  237. package/src/models/components/collectfundserror.ts +82 -0
  238. package/src/models/components/createdtransfer.ts +7 -0
  239. package/src/models/components/createtransfer.ts +7 -0
  240. package/src/models/components/estimatedactivity.ts +82 -0
  241. package/src/models/components/estimatedactivityerror.ts +74 -0
  242. package/src/models/components/fulfillment.ts +76 -0
  243. package/src/models/components/fulfillmenterror.ts +70 -0
  244. package/src/models/components/fulfillmentmethod.ts +40 -0
  245. package/src/models/components/fulfillmenttimeframe.ts +39 -0
  246. package/src/models/components/geographicreach.ts +34 -0
  247. package/src/models/components/index.ts +36 -0
  248. package/src/models/components/moneytransfer.ts +78 -0
  249. package/src/models/components/moneytransfererror.ts +82 -0
  250. package/src/models/components/moneytransferpullfromcard.ts +72 -0
  251. package/src/models/components/moneytransferpullfromcarderror.ts +74 -0
  252. package/src/models/components/moneytransferpushtocard.ts +72 -0
  253. package/src/models/components/moneytransferpushtocarderror.ts +74 -0
  254. package/src/models/components/monthlyvolumerange.ts +45 -0
  255. package/src/models/components/pendinglitigation.ts +42 -0
  256. package/src/models/components/refundpolicy.ts +38 -0
  257. package/src/models/components/sendfunds.ts +88 -0
  258. package/src/models/components/sendfundsach.ts +68 -0
  259. package/src/models/components/sendfundsacherror.ts +72 -0
  260. package/src/models/components/sendfundserror.ts +88 -0
  261. package/src/models/components/sendfundspushtocard.ts +72 -0
  262. package/src/models/components/sendfundspushtocarderror.ts +72 -0
  263. package/src/models/components/sendfundsrtp.ts +68 -0
  264. package/src/models/components/sendfundsrtperror.ts +72 -0
  265. package/src/models/components/transfer.ts +7 -0
  266. package/src/models/components/underwriting.ts +96 -28
  267. package/src/models/components/upsertunderwriting.ts +130 -0
  268. package/src/models/components/volumesharebycustomertype.ts +74 -0
  269. package/src/models/components/volumesharebycustomertypeerror.ts +76 -0
  270. package/src/models/components/webhookdatatransfercreated.ts +4 -0
  271. package/src/models/components/webhookdatatransferupdated.ts +4 -0
  272. package/src/models/errors/index.ts +1 -0
  273. package/src/models/errors/transfer.ts +12 -0
  274. package/src/models/errors/upsertunderwritingerror.ts +185 -0
  275. package/src/models/operations/index.ts +1 -0
  276. package/src/models/operations/listtransfers.ts +7 -0
  277. package/src/models/operations/saveunderwriting.ts +231 -0
  278. package/src/sdk/underwriting.ts +20 -0
package/bin/mcp-server.js CHANGED
@@ -34246,9 +34246,9 @@ var init_config = __esm(() => {
34246
34246
  SDK_METADATA = {
34247
34247
  language: "typescript",
34248
34248
  openapiDocVersion: "latest",
34249
- sdkVersion: "0.12.6",
34250
- genVersion: "2.638.0",
34251
- userAgent: "speakeasy-sdk/typescript 0.12.6 2.638.0 latest @moovio/sdk"
34249
+ sdkVersion: "0.14.0",
34250
+ genVersion: "2.640.2",
34251
+ userAgent: "speakeasy-sdk/typescript 0.14.0 2.640.2 latest @moovio/sdk"
34252
34252
  };
34253
34253
  });
34254
34254
 
@@ -38077,6 +38077,26 @@ var init_brandproperties = __esm(() => {
38077
38077
  })(BrandProperties$ ||= {});
38078
38078
  });
38079
38079
 
38080
+ // src/models/components/businesspresence.ts
38081
+ var BusinessPresence, BusinessPresence$inboundSchema, BusinessPresence$outboundSchema, BusinessPresence$;
38082
+ var init_businesspresence = __esm(() => {
38083
+ init_esm();
38084
+ BusinessPresence = {
38085
+ CommercialOffice: "commercial-office",
38086
+ HomeBased: "home-based",
38087
+ MixedPresence: "mixed-presence",
38088
+ MobileBusiness: "mobile-business",
38089
+ OnlineOnly: "online-only",
38090
+ RetailStorefront: "retail-storefront"
38091
+ };
38092
+ BusinessPresence$inboundSchema = nativeEnumType(BusinessPresence);
38093
+ BusinessPresence$outboundSchema = BusinessPresence$inboundSchema;
38094
+ ((BusinessPresence$) => {
38095
+ BusinessPresence$.inboundSchema = BusinessPresence$inboundSchema;
38096
+ BusinessPresence$.outboundSchema = BusinessPresence$outboundSchema;
38097
+ })(BusinessPresence$ ||= {});
38098
+ });
38099
+
38080
38100
  // src/models/components/calltoaction.ts
38081
38101
  var CallToAction, CallToAction$inboundSchema, CallToAction$outboundSchema, CallToAction$;
38082
38102
  var init_calltoaction = __esm(() => {
@@ -38536,6 +38556,46 @@ var init_card = __esm(() => {
38536
38556
  })(Card$ ||= {});
38537
38557
  });
38538
38558
 
38559
+ // src/models/components/cardacceptancemethods.ts
38560
+ var CardAcceptanceMethods$inboundSchema, CardAcceptanceMethods$outboundSchema, CardAcceptanceMethods$;
38561
+ var init_cardacceptancemethods = __esm(() => {
38562
+ init_esm();
38563
+ CardAcceptanceMethods$inboundSchema = objectType({
38564
+ inPersonPercentage: numberType().int().optional(),
38565
+ mailOrPhonePercentage: numberType().int().optional(),
38566
+ onlinePercentage: numberType().int().optional()
38567
+ });
38568
+ CardAcceptanceMethods$outboundSchema = objectType({
38569
+ inPersonPercentage: numberType().int().optional(),
38570
+ mailOrPhonePercentage: numberType().int().optional(),
38571
+ onlinePercentage: numberType().int().optional()
38572
+ });
38573
+ ((CardAcceptanceMethods$) => {
38574
+ CardAcceptanceMethods$.inboundSchema = CardAcceptanceMethods$inboundSchema;
38575
+ CardAcceptanceMethods$.outboundSchema = CardAcceptanceMethods$outboundSchema;
38576
+ })(CardAcceptanceMethods$ ||= {});
38577
+ });
38578
+
38579
+ // src/models/components/cardacceptancemethodserror.ts
38580
+ var CardAcceptanceMethodsError$inboundSchema, CardAcceptanceMethodsError$outboundSchema, CardAcceptanceMethodsError$;
38581
+ var init_cardacceptancemethodserror = __esm(() => {
38582
+ init_esm();
38583
+ CardAcceptanceMethodsError$inboundSchema = objectType({
38584
+ inPersonPercentage: stringType().optional(),
38585
+ mailOrPhonePercentage: stringType().optional(),
38586
+ onlinePercentage: stringType().optional()
38587
+ });
38588
+ CardAcceptanceMethodsError$outboundSchema = objectType({
38589
+ inPersonPercentage: stringType().optional(),
38590
+ mailOrPhonePercentage: stringType().optional(),
38591
+ onlinePercentage: stringType().optional()
38592
+ });
38593
+ ((CardAcceptanceMethodsError$) => {
38594
+ CardAcceptanceMethodsError$.inboundSchema = CardAcceptanceMethodsError$inboundSchema;
38595
+ CardAcceptanceMethodsError$.outboundSchema = CardAcceptanceMethodsError$outboundSchema;
38596
+ })(CardAcceptanceMethodsError$ ||= {});
38597
+ });
38598
+
38539
38599
  // src/models/components/cardacquiringdispute.ts
38540
38600
  var CardAcquiringDispute$inboundSchema, CardAcquiringDispute$outboundSchema, CardAcquiringDispute$;
38541
38601
  var init_cardacquiringdispute = __esm(() => {
@@ -39066,6 +39126,304 @@ var init_cardvolumedistributionerror = __esm(() => {
39066
39126
  })(CardVolumeDistributionError$ ||= {});
39067
39127
  });
39068
39128
 
39129
+ // src/models/components/monthlyvolumerange.ts
39130
+ var MonthlyVolumeRange, MonthlyVolumeRange$inboundSchema, MonthlyVolumeRange$outboundSchema, MonthlyVolumeRange$;
39131
+ var init_monthlyvolumerange = __esm(() => {
39132
+ init_esm();
39133
+ MonthlyVolumeRange = {
39134
+ Under10k: "under-10k",
39135
+ TenK50K: "10K-50K",
39136
+ FiftyK100K: "50K-100K",
39137
+ OneHundredK250K: "100K-250K",
39138
+ TwoHundredAndFiftyK500K: "250K-500K",
39139
+ FiveHundredK1M: "500K-1M",
39140
+ OneM5M: "1M-5M",
39141
+ Over5m: "over-5m"
39142
+ };
39143
+ MonthlyVolumeRange$inboundSchema = nativeEnumType(MonthlyVolumeRange);
39144
+ MonthlyVolumeRange$outboundSchema = MonthlyVolumeRange$inboundSchema;
39145
+ ((MonthlyVolumeRange$) => {
39146
+ MonthlyVolumeRange$.inboundSchema = MonthlyVolumeRange$inboundSchema;
39147
+ MonthlyVolumeRange$.outboundSchema = MonthlyVolumeRange$outboundSchema;
39148
+ })(MonthlyVolumeRange$ ||= {});
39149
+ });
39150
+
39151
+ // src/models/components/estimatedactivity.ts
39152
+ var EstimatedActivity$inboundSchema, EstimatedActivity$outboundSchema, EstimatedActivity$;
39153
+ var init_estimatedactivity = __esm(() => {
39154
+ init_esm();
39155
+ init_monthlyvolumerange();
39156
+ EstimatedActivity$inboundSchema = objectType({
39157
+ averageTransactionAmount: numberType().int().optional(),
39158
+ maximumTransactionAmount: numberType().int().optional(),
39159
+ monthlyVolumeRange: MonthlyVolumeRange$inboundSchema.optional()
39160
+ });
39161
+ EstimatedActivity$outboundSchema = objectType({
39162
+ averageTransactionAmount: numberType().int().optional(),
39163
+ maximumTransactionAmount: numberType().int().optional(),
39164
+ monthlyVolumeRange: MonthlyVolumeRange$outboundSchema.optional()
39165
+ });
39166
+ ((EstimatedActivity$) => {
39167
+ EstimatedActivity$.inboundSchema = EstimatedActivity$inboundSchema;
39168
+ EstimatedActivity$.outboundSchema = EstimatedActivity$outboundSchema;
39169
+ })(EstimatedActivity$ ||= {});
39170
+ });
39171
+
39172
+ // src/models/components/collectfundsach.ts
39173
+ var CollectFundsAch$inboundSchema, CollectFundsAch$outboundSchema, CollectFundsAch$;
39174
+ var init_collectfundsach = __esm(() => {
39175
+ init_esm();
39176
+ init_estimatedactivity();
39177
+ CollectFundsAch$inboundSchema = objectType({
39178
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
39179
+ });
39180
+ CollectFundsAch$outboundSchema = objectType({
39181
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
39182
+ });
39183
+ ((CollectFundsAch$) => {
39184
+ CollectFundsAch$.inboundSchema = CollectFundsAch$inboundSchema;
39185
+ CollectFundsAch$.outboundSchema = CollectFundsAch$outboundSchema;
39186
+ })(CollectFundsAch$ ||= {});
39187
+ });
39188
+
39189
+ // src/models/components/fulfillmentmethod.ts
39190
+ var FulfillmentMethod, FulfillmentMethod$inboundSchema, FulfillmentMethod$outboundSchema, FulfillmentMethod$;
39191
+ var init_fulfillmentmethod = __esm(() => {
39192
+ init_esm();
39193
+ FulfillmentMethod = {
39194
+ BillOrDebtPayment: "bill-or-debt-payment",
39195
+ DigitalContent: "digital-content",
39196
+ Donation: "donation",
39197
+ InPersonService: "in-person-service",
39198
+ LocalPickupOrDelivery: "local-pickup-or-delivery",
39199
+ Other: "other",
39200
+ RemoteService: "remote-service",
39201
+ ShippedPhysicalGoods: "shipped-physical-goods",
39202
+ SubscriptionOrMembership: "subscription-or-membership"
39203
+ };
39204
+ FulfillmentMethod$inboundSchema = nativeEnumType(FulfillmentMethod);
39205
+ FulfillmentMethod$outboundSchema = FulfillmentMethod$inboundSchema;
39206
+ ((FulfillmentMethod$) => {
39207
+ FulfillmentMethod$.inboundSchema = FulfillmentMethod$inboundSchema;
39208
+ FulfillmentMethod$.outboundSchema = FulfillmentMethod$outboundSchema;
39209
+ })(FulfillmentMethod$ ||= {});
39210
+ });
39211
+
39212
+ // src/models/components/fulfillmenttimeframe.ts
39213
+ var FulfillmentTimeframe, FulfillmentTimeframe$inboundSchema, FulfillmentTimeframe$outboundSchema, FulfillmentTimeframe$;
39214
+ var init_fulfillmenttimeframe = __esm(() => {
39215
+ init_esm();
39216
+ FulfillmentTimeframe = {
39217
+ Immediate: "immediate",
39218
+ Other: "other",
39219
+ Over30Days: "over-30-days",
39220
+ PreOrder: "pre-order",
39221
+ RecurringSchedule: "recurring-schedule",
39222
+ ScheduledEvent: "scheduled-event",
39223
+ Within30Days: "within-30-days",
39224
+ Within7Days: "within-7-days"
39225
+ };
39226
+ FulfillmentTimeframe$inboundSchema = nativeEnumType(FulfillmentTimeframe);
39227
+ FulfillmentTimeframe$outboundSchema = FulfillmentTimeframe$inboundSchema;
39228
+ ((FulfillmentTimeframe$) => {
39229
+ FulfillmentTimeframe$.inboundSchema = FulfillmentTimeframe$inboundSchema;
39230
+ FulfillmentTimeframe$.outboundSchema = FulfillmentTimeframe$outboundSchema;
39231
+ })(FulfillmentTimeframe$ ||= {});
39232
+ });
39233
+
39234
+ // src/models/components/fulfillment.ts
39235
+ var Fulfillment$inboundSchema, Fulfillment$outboundSchema, Fulfillment$;
39236
+ var init_fulfillment = __esm(() => {
39237
+ init_esm();
39238
+ init_fulfillmentmethod();
39239
+ init_fulfillmenttimeframe();
39240
+ Fulfillment$inboundSchema = objectType({
39241
+ method: FulfillmentMethod$inboundSchema.optional(),
39242
+ timeframe: FulfillmentTimeframe$inboundSchema.optional()
39243
+ });
39244
+ Fulfillment$outboundSchema = objectType({
39245
+ method: FulfillmentMethod$outboundSchema.optional(),
39246
+ timeframe: FulfillmentTimeframe$outboundSchema.optional()
39247
+ });
39248
+ ((Fulfillment$) => {
39249
+ Fulfillment$.inboundSchema = Fulfillment$inboundSchema;
39250
+ Fulfillment$.outboundSchema = Fulfillment$outboundSchema;
39251
+ })(Fulfillment$ ||= {});
39252
+ });
39253
+
39254
+ // src/models/components/refundpolicy.ts
39255
+ var RefundPolicy, RefundPolicy$inboundSchema, RefundPolicy$outboundSchema, RefundPolicy$;
39256
+ var init_refundpolicy = __esm(() => {
39257
+ init_esm();
39258
+ RefundPolicy = {
39259
+ ConditionalRefund: "conditional-refund",
39260
+ CustomPolicy: "custom-policy",
39261
+ EventBasedPolicy: "event-based-policy",
39262
+ FullRefundExtendedWindow: "full-refund-extended-window",
39263
+ FullRefundWithin30Days: "full-refund-within-30-days",
39264
+ NoRefunds: "no-refunds",
39265
+ PartialRefund: "partial-refund",
39266
+ ProratedRefund: "prorated-refund",
39267
+ StoreCreditOnly: "store-credit-only"
39268
+ };
39269
+ RefundPolicy$inboundSchema = nativeEnumType(RefundPolicy);
39270
+ RefundPolicy$outboundSchema = RefundPolicy$inboundSchema;
39271
+ ((RefundPolicy$) => {
39272
+ RefundPolicy$.inboundSchema = RefundPolicy$inboundSchema;
39273
+ RefundPolicy$.outboundSchema = RefundPolicy$outboundSchema;
39274
+ })(RefundPolicy$ ||= {});
39275
+ });
39276
+
39277
+ // src/models/components/collectfundscardpayments.ts
39278
+ var CollectFundsCardPayments$inboundSchema, CollectFundsCardPayments$outboundSchema, CollectFundsCardPayments$;
39279
+ var init_collectfundscardpayments = __esm(() => {
39280
+ init_esm();
39281
+ init_cardacceptancemethods();
39282
+ init_estimatedactivity();
39283
+ init_fulfillment();
39284
+ init_refundpolicy();
39285
+ CollectFundsCardPayments$inboundSchema = objectType({
39286
+ cardAcceptanceMethods: CardAcceptanceMethods$inboundSchema.optional(),
39287
+ currentlyAcceptsCards: booleanType().optional(),
39288
+ estimatedActivity: EstimatedActivity$inboundSchema.optional(),
39289
+ fulfillment: Fulfillment$inboundSchema.optional(),
39290
+ refundPolicy: RefundPolicy$inboundSchema.optional()
39291
+ });
39292
+ CollectFundsCardPayments$outboundSchema = objectType({
39293
+ cardAcceptanceMethods: CardAcceptanceMethods$outboundSchema.optional(),
39294
+ currentlyAcceptsCards: booleanType().optional(),
39295
+ estimatedActivity: EstimatedActivity$outboundSchema.optional(),
39296
+ fulfillment: Fulfillment$outboundSchema.optional(),
39297
+ refundPolicy: RefundPolicy$outboundSchema.optional()
39298
+ });
39299
+ ((CollectFundsCardPayments$) => {
39300
+ CollectFundsCardPayments$.inboundSchema = CollectFundsCardPayments$inboundSchema;
39301
+ CollectFundsCardPayments$.outboundSchema = CollectFundsCardPayments$outboundSchema;
39302
+ })(CollectFundsCardPayments$ ||= {});
39303
+ });
39304
+
39305
+ // src/models/components/collectfunds.ts
39306
+ var CollectFunds$inboundSchema, CollectFunds$outboundSchema, CollectFunds$;
39307
+ var init_collectfunds = __esm(() => {
39308
+ init_esm();
39309
+ init_collectfundsach();
39310
+ init_collectfundscardpayments();
39311
+ CollectFunds$inboundSchema = objectType({
39312
+ ach: CollectFundsAch$inboundSchema.optional(),
39313
+ cardPayments: CollectFundsCardPayments$inboundSchema.optional()
39314
+ });
39315
+ CollectFunds$outboundSchema = objectType({
39316
+ ach: CollectFundsAch$outboundSchema.optional(),
39317
+ cardPayments: CollectFundsCardPayments$outboundSchema.optional()
39318
+ });
39319
+ ((CollectFunds$) => {
39320
+ CollectFunds$.inboundSchema = CollectFunds$inboundSchema;
39321
+ CollectFunds$.outboundSchema = CollectFunds$outboundSchema;
39322
+ })(CollectFunds$ ||= {});
39323
+ });
39324
+
39325
+ // src/models/components/estimatedactivityerror.ts
39326
+ var EstimatedActivityError$inboundSchema, EstimatedActivityError$outboundSchema, EstimatedActivityError$;
39327
+ var init_estimatedactivityerror = __esm(() => {
39328
+ init_esm();
39329
+ EstimatedActivityError$inboundSchema = objectType({
39330
+ averageTransactionAmount: stringType().optional(),
39331
+ maximumTransactionAmount: stringType().optional(),
39332
+ monthlyVolumeRange: stringType().optional()
39333
+ });
39334
+ EstimatedActivityError$outboundSchema = objectType({
39335
+ averageTransactionAmount: stringType().optional(),
39336
+ maximumTransactionAmount: stringType().optional(),
39337
+ monthlyVolumeRange: stringType().optional()
39338
+ });
39339
+ ((EstimatedActivityError$) => {
39340
+ EstimatedActivityError$.inboundSchema = EstimatedActivityError$inboundSchema;
39341
+ EstimatedActivityError$.outboundSchema = EstimatedActivityError$outboundSchema;
39342
+ })(EstimatedActivityError$ ||= {});
39343
+ });
39344
+
39345
+ // src/models/components/collectfundsacherror.ts
39346
+ var CollectFundsAchError$inboundSchema, CollectFundsAchError$outboundSchema, CollectFundsAchError$;
39347
+ var init_collectfundsacherror = __esm(() => {
39348
+ init_esm();
39349
+ init_estimatedactivityerror();
39350
+ CollectFundsAchError$inboundSchema = objectType({
39351
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
39352
+ });
39353
+ CollectFundsAchError$outboundSchema = objectType({
39354
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
39355
+ });
39356
+ ((CollectFundsAchError$) => {
39357
+ CollectFundsAchError$.inboundSchema = CollectFundsAchError$inboundSchema;
39358
+ CollectFundsAchError$.outboundSchema = CollectFundsAchError$outboundSchema;
39359
+ })(CollectFundsAchError$ ||= {});
39360
+ });
39361
+
39362
+ // src/models/components/fulfillmenterror.ts
39363
+ var FulfillmentError$inboundSchema, FulfillmentError$outboundSchema, FulfillmentError$;
39364
+ var init_fulfillmenterror = __esm(() => {
39365
+ init_esm();
39366
+ FulfillmentError$inboundSchema = objectType({
39367
+ method: stringType().optional(),
39368
+ timeframe: stringType().optional()
39369
+ });
39370
+ FulfillmentError$outboundSchema = objectType({
39371
+ method: stringType().optional(),
39372
+ timeframe: stringType().optional()
39373
+ });
39374
+ ((FulfillmentError$) => {
39375
+ FulfillmentError$.inboundSchema = FulfillmentError$inboundSchema;
39376
+ FulfillmentError$.outboundSchema = FulfillmentError$outboundSchema;
39377
+ })(FulfillmentError$ ||= {});
39378
+ });
39379
+
39380
+ // src/models/components/collectfundscardpaymentserror.ts
39381
+ var CollectFundsCardPaymentsError$inboundSchema, CollectFundsCardPaymentsError$outboundSchema, CollectFundsCardPaymentsError$;
39382
+ var init_collectfundscardpaymentserror = __esm(() => {
39383
+ init_esm();
39384
+ init_cardacceptancemethodserror();
39385
+ init_estimatedactivityerror();
39386
+ init_fulfillmenterror();
39387
+ CollectFundsCardPaymentsError$inboundSchema = objectType({
39388
+ cardAcceptanceMethods: CardAcceptanceMethodsError$inboundSchema.optional(),
39389
+ currentlyAcceptsCards: stringType().optional(),
39390
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional(),
39391
+ fulfillment: FulfillmentError$inboundSchema.optional(),
39392
+ refundPolicy: stringType().optional()
39393
+ });
39394
+ CollectFundsCardPaymentsError$outboundSchema = objectType({
39395
+ cardAcceptanceMethods: CardAcceptanceMethodsError$outboundSchema.optional(),
39396
+ currentlyAcceptsCards: stringType().optional(),
39397
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional(),
39398
+ fulfillment: FulfillmentError$outboundSchema.optional(),
39399
+ refundPolicy: stringType().optional()
39400
+ });
39401
+ ((CollectFundsCardPaymentsError$) => {
39402
+ CollectFundsCardPaymentsError$.inboundSchema = CollectFundsCardPaymentsError$inboundSchema;
39403
+ CollectFundsCardPaymentsError$.outboundSchema = CollectFundsCardPaymentsError$outboundSchema;
39404
+ })(CollectFundsCardPaymentsError$ ||= {});
39405
+ });
39406
+
39407
+ // src/models/components/collectfundserror.ts
39408
+ var CollectFundsError$inboundSchema, CollectFundsError$outboundSchema, CollectFundsError$;
39409
+ var init_collectfundserror = __esm(() => {
39410
+ init_esm();
39411
+ init_collectfundsacherror();
39412
+ init_collectfundscardpaymentserror();
39413
+ CollectFundsError$inboundSchema = objectType({
39414
+ ach: CollectFundsAchError$inboundSchema.optional(),
39415
+ cardPayments: CollectFundsCardPaymentsError$inboundSchema.optional()
39416
+ });
39417
+ CollectFundsError$outboundSchema = objectType({
39418
+ ach: CollectFundsAchError$outboundSchema.optional(),
39419
+ cardPayments: CollectFundsCardPaymentsError$outboundSchema.optional()
39420
+ });
39421
+ ((CollectFundsError$) => {
39422
+ CollectFundsError$.inboundSchema = CollectFundsError$inboundSchema;
39423
+ CollectFundsError$.outboundSchema = CollectFundsError$outboundSchema;
39424
+ })(CollectFundsError$ ||= {});
39425
+ });
39426
+
39069
39427
  // src/models/components/collectionpaymentmethodtype.ts
39070
39428
  var CollectionPaymentMethodType, CollectionPaymentMethodType$inboundSchema, CollectionPaymentMethodType$outboundSchema, CollectionPaymentMethodType$;
39071
39429
  var init_collectionpaymentmethodtype = __esm(() => {
@@ -40183,7 +40541,8 @@ var init_createdtransfer = __esm(() => {
40183
40541
  scheduleID: stringType().optional(),
40184
40542
  occurrenceID: stringType().optional(),
40185
40543
  paymentLinkCode: stringType().optional(),
40186
- salesTaxAmount: Amount$inboundSchema.optional()
40544
+ salesTaxAmount: Amount$inboundSchema.optional(),
40545
+ foreignID: stringType().optional()
40187
40546
  });
40188
40547
  CreatedTransfer$outboundSchema = objectType({
40189
40548
  transferID: stringType(),
@@ -40210,7 +40569,8 @@ var init_createdtransfer = __esm(() => {
40210
40569
  scheduleID: stringType().optional(),
40211
40570
  occurrenceID: stringType().optional(),
40212
40571
  paymentLinkCode: stringType().optional(),
40213
- salesTaxAmount: Amount$outboundSchema.optional()
40572
+ salesTaxAmount: Amount$outboundSchema.optional(),
40573
+ foreignID: stringType().optional()
40214
40574
  });
40215
40575
  ((CreatedTransfer$) => {
40216
40576
  CreatedTransfer$.inboundSchema = CreatedTransfer$inboundSchema;
@@ -40809,7 +41169,8 @@ var init_createtransfer = __esm(() => {
40809
41169
  facilitatorFee: FacilitatorFee$inboundSchema.optional(),
40810
41170
  description: stringType().optional(),
40811
41171
  metadata: recordType(stringType()).optional(),
40812
- salesTaxAmount: Amount$inboundSchema.optional()
41172
+ salesTaxAmount: Amount$inboundSchema.optional(),
41173
+ foreignID: stringType().optional()
40813
41174
  });
40814
41175
  CreateTransfer$outboundSchema = objectType({
40815
41176
  source: CreateTransferSource$outboundSchema,
@@ -40818,7 +41179,8 @@ var init_createtransfer = __esm(() => {
40818
41179
  facilitatorFee: FacilitatorFee$outboundSchema.optional(),
40819
41180
  description: stringType().optional(),
40820
41181
  metadata: recordType(stringType()).optional(),
40821
- salesTaxAmount: Amount$outboundSchema.optional()
41182
+ salesTaxAmount: Amount$outboundSchema.optional(),
41183
+ foreignID: stringType().optional()
40822
41184
  });
40823
41185
  ((CreateTransfer$) => {
40824
41186
  CreateTransfer$.inboundSchema = CreateTransfer$inboundSchema;
@@ -41838,6 +42200,23 @@ var init_generatedby = __esm(() => {
41838
42200
  })(GeneratedBy$ ||= {});
41839
42201
  });
41840
42202
 
42203
+ // src/models/components/geographicreach.ts
42204
+ var GeographicReach, GeographicReach$inboundSchema, GeographicReach$outboundSchema, GeographicReach$;
42205
+ var init_geographicreach = __esm(() => {
42206
+ init_esm();
42207
+ GeographicReach = {
42208
+ InternationalOnly: "international-only",
42209
+ UsAndInternational: "us-and-international",
42210
+ UsOnly: "us-only"
42211
+ };
42212
+ GeographicReach$inboundSchema = nativeEnumType(GeographicReach);
42213
+ GeographicReach$outboundSchema = GeographicReach$inboundSchema;
42214
+ ((GeographicReach$) => {
42215
+ GeographicReach$.inboundSchema = GeographicReach$inboundSchema;
42216
+ GeographicReach$.outboundSchema = GeographicReach$outboundSchema;
42217
+ })(GeographicReach$ ||= {});
42218
+ });
42219
+
41841
42220
  // src/models/components/governmentiderror.ts
41842
42221
  var GovernmentIDErrorSsn$inboundSchema, GovernmentIDErrorSsn$outboundSchema, GovernmentIDErrorSsn$, GovernmentIDErrorItin$inboundSchema, GovernmentIDErrorItin$outboundSchema, GovernmentIDErrorItin$, GovernmentIDError$inboundSchema, GovernmentIDError$outboundSchema, GovernmentIDError$;
41843
42222
  var init_governmentiderror = __esm(() => {
@@ -42680,6 +43059,114 @@ var init_manualtermsofserviceupdate = __esm(() => {
42680
43059
  })(ManualTermsOfServiceUpdate$ ||= {});
42681
43060
  });
42682
43061
 
43062
+ // src/models/components/moneytransferpullfromcard.ts
43063
+ var MoneyTransferPullFromCard$inboundSchema, MoneyTransferPullFromCard$outboundSchema, MoneyTransferPullFromCard$;
43064
+ var init_moneytransferpullfromcard = __esm(() => {
43065
+ init_esm();
43066
+ init_estimatedactivity();
43067
+ MoneyTransferPullFromCard$inboundSchema = objectType({
43068
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
43069
+ });
43070
+ MoneyTransferPullFromCard$outboundSchema = objectType({
43071
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
43072
+ });
43073
+ ((MoneyTransferPullFromCard$) => {
43074
+ MoneyTransferPullFromCard$.inboundSchema = MoneyTransferPullFromCard$inboundSchema;
43075
+ MoneyTransferPullFromCard$.outboundSchema = MoneyTransferPullFromCard$outboundSchema;
43076
+ })(MoneyTransferPullFromCard$ ||= {});
43077
+ });
43078
+
43079
+ // src/models/components/moneytransferpushtocard.ts
43080
+ var MoneyTransferPushToCard$inboundSchema, MoneyTransferPushToCard$outboundSchema, MoneyTransferPushToCard$;
43081
+ var init_moneytransferpushtocard = __esm(() => {
43082
+ init_esm();
43083
+ init_estimatedactivity();
43084
+ MoneyTransferPushToCard$inboundSchema = objectType({
43085
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
43086
+ });
43087
+ MoneyTransferPushToCard$outboundSchema = objectType({
43088
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
43089
+ });
43090
+ ((MoneyTransferPushToCard$) => {
43091
+ MoneyTransferPushToCard$.inboundSchema = MoneyTransferPushToCard$inboundSchema;
43092
+ MoneyTransferPushToCard$.outboundSchema = MoneyTransferPushToCard$outboundSchema;
43093
+ })(MoneyTransferPushToCard$ ||= {});
43094
+ });
43095
+
43096
+ // src/models/components/moneytransfer.ts
43097
+ var MoneyTransfer$inboundSchema, MoneyTransfer$outboundSchema, MoneyTransfer$;
43098
+ var init_moneytransfer = __esm(() => {
43099
+ init_esm();
43100
+ init_moneytransferpullfromcard();
43101
+ init_moneytransferpushtocard();
43102
+ MoneyTransfer$inboundSchema = objectType({
43103
+ pullFromCard: MoneyTransferPullFromCard$inboundSchema.optional(),
43104
+ pushToCard: MoneyTransferPushToCard$inboundSchema.optional()
43105
+ });
43106
+ MoneyTransfer$outboundSchema = objectType({
43107
+ pullFromCard: MoneyTransferPullFromCard$outboundSchema.optional(),
43108
+ pushToCard: MoneyTransferPushToCard$outboundSchema.optional()
43109
+ });
43110
+ ((MoneyTransfer$) => {
43111
+ MoneyTransfer$.inboundSchema = MoneyTransfer$inboundSchema;
43112
+ MoneyTransfer$.outboundSchema = MoneyTransfer$outboundSchema;
43113
+ })(MoneyTransfer$ ||= {});
43114
+ });
43115
+
43116
+ // src/models/components/moneytransferpullfromcarderror.ts
43117
+ var MoneyTransferPullFromCardError$inboundSchema, MoneyTransferPullFromCardError$outboundSchema, MoneyTransferPullFromCardError$;
43118
+ var init_moneytransferpullfromcarderror = __esm(() => {
43119
+ init_esm();
43120
+ init_estimatedactivityerror();
43121
+ MoneyTransferPullFromCardError$inboundSchema = objectType({
43122
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
43123
+ });
43124
+ MoneyTransferPullFromCardError$outboundSchema = objectType({
43125
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
43126
+ });
43127
+ ((MoneyTransferPullFromCardError$) => {
43128
+ MoneyTransferPullFromCardError$.inboundSchema = MoneyTransferPullFromCardError$inboundSchema;
43129
+ MoneyTransferPullFromCardError$.outboundSchema = MoneyTransferPullFromCardError$outboundSchema;
43130
+ })(MoneyTransferPullFromCardError$ ||= {});
43131
+ });
43132
+
43133
+ // src/models/components/moneytransferpushtocarderror.ts
43134
+ var MoneyTransferPushToCardError$inboundSchema, MoneyTransferPushToCardError$outboundSchema, MoneyTransferPushToCardError$;
43135
+ var init_moneytransferpushtocarderror = __esm(() => {
43136
+ init_esm();
43137
+ init_estimatedactivityerror();
43138
+ MoneyTransferPushToCardError$inboundSchema = objectType({
43139
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
43140
+ });
43141
+ MoneyTransferPushToCardError$outboundSchema = objectType({
43142
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
43143
+ });
43144
+ ((MoneyTransferPushToCardError$) => {
43145
+ MoneyTransferPushToCardError$.inboundSchema = MoneyTransferPushToCardError$inboundSchema;
43146
+ MoneyTransferPushToCardError$.outboundSchema = MoneyTransferPushToCardError$outboundSchema;
43147
+ })(MoneyTransferPushToCardError$ ||= {});
43148
+ });
43149
+
43150
+ // src/models/components/moneytransfererror.ts
43151
+ var MoneyTransferError$inboundSchema, MoneyTransferError$outboundSchema, MoneyTransferError$;
43152
+ var init_moneytransfererror = __esm(() => {
43153
+ init_esm();
43154
+ init_moneytransferpullfromcarderror();
43155
+ init_moneytransferpushtocarderror();
43156
+ MoneyTransferError$inboundSchema = objectType({
43157
+ pullFromCard: MoneyTransferPullFromCardError$inboundSchema.optional(),
43158
+ pushToCard: MoneyTransferPushToCardError$inboundSchema.optional()
43159
+ });
43160
+ MoneyTransferError$outboundSchema = objectType({
43161
+ pullFromCard: MoneyTransferPullFromCardError$outboundSchema.optional(),
43162
+ pushToCard: MoneyTransferPushToCardError$outboundSchema.optional()
43163
+ });
43164
+ ((MoneyTransferError$) => {
43165
+ MoneyTransferError$.inboundSchema = MoneyTransferError$inboundSchema;
43166
+ MoneyTransferError$.outboundSchema = MoneyTransferError$outboundSchema;
43167
+ })(MoneyTransferError$ ||= {});
43168
+ });
43169
+
42683
43170
  // src/models/components/transferparty.ts
42684
43171
  var TransferParty, TransferParty$inboundSchema, TransferParty$outboundSchema, TransferParty$;
42685
43172
  var init_transferparty = __esm(() => {
@@ -43781,6 +44268,30 @@ var init_payoutdetailserror = __esm(() => {
43781
44268
  })(PayoutDetailsError$ ||= {});
43782
44269
  });
43783
44270
 
44271
+ // src/models/components/pendinglitigation.ts
44272
+ var PendingLitigation, PendingLitigation$inboundSchema, PendingLitigation$outboundSchema, PendingLitigation$;
44273
+ var init_pendinglitigation = __esm(() => {
44274
+ init_esm();
44275
+ PendingLitigation = {
44276
+ BankruptcyOrInsolvency: "bankruptcy-or-insolvency",
44277
+ ConsumerProtectionOrClassAction: "consumer-protection-or-class-action",
44278
+ DataBreachOrPrivacy: "data-breach-or-privacy",
44279
+ EmploymentOrWorkplaceDisputes: "employment-or-workplace-disputes",
44280
+ FraudOrFinancialCrime: "fraud-or-financial-crime",
44281
+ GovernmentEnforcementOrInvestigation: "government-enforcement-or-investigation",
44282
+ IntellectualProperty: "intellectual-property",
44283
+ None: "none",
44284
+ Other: "other",
44285
+ PersonalInjuryOrMedical: "personal-injury-or-medical"
44286
+ };
44287
+ PendingLitigation$inboundSchema = nativeEnumType(PendingLitigation);
44288
+ PendingLitigation$outboundSchema = PendingLitigation$inboundSchema;
44289
+ ((PendingLitigation$) => {
44290
+ PendingLitigation$.inboundSchema = PendingLitigation$inboundSchema;
44291
+ PendingLitigation$.outboundSchema = PendingLitigation$outboundSchema;
44292
+ })(PendingLitigation$ ||= {});
44293
+ });
44294
+
43784
44295
  // src/models/components/qrcode.ts
43785
44296
  var QRCode$inboundSchema, QRCode$outboundSchema, QRCode$;
43786
44297
  var init_qrcode = __esm(() => {
@@ -44194,6 +44705,154 @@ var init_security2 = __esm(() => {
44194
44705
  })(Security$ ||= {});
44195
44706
  });
44196
44707
 
44708
+ // src/models/components/sendfundsach.ts
44709
+ var SendFundsAch$inboundSchema, SendFundsAch$outboundSchema, SendFundsAch$;
44710
+ var init_sendfundsach = __esm(() => {
44711
+ init_esm();
44712
+ init_estimatedactivity();
44713
+ SendFundsAch$inboundSchema = objectType({
44714
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
44715
+ });
44716
+ SendFundsAch$outboundSchema = objectType({
44717
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
44718
+ });
44719
+ ((SendFundsAch$) => {
44720
+ SendFundsAch$.inboundSchema = SendFundsAch$inboundSchema;
44721
+ SendFundsAch$.outboundSchema = SendFundsAch$outboundSchema;
44722
+ })(SendFundsAch$ ||= {});
44723
+ });
44724
+
44725
+ // src/models/components/sendfundspushtocard.ts
44726
+ var SendFundsPushToCard$inboundSchema, SendFundsPushToCard$outboundSchema, SendFundsPushToCard$;
44727
+ var init_sendfundspushtocard = __esm(() => {
44728
+ init_esm();
44729
+ init_estimatedactivity();
44730
+ SendFundsPushToCard$inboundSchema = objectType({
44731
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
44732
+ });
44733
+ SendFundsPushToCard$outboundSchema = objectType({
44734
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
44735
+ });
44736
+ ((SendFundsPushToCard$) => {
44737
+ SendFundsPushToCard$.inboundSchema = SendFundsPushToCard$inboundSchema;
44738
+ SendFundsPushToCard$.outboundSchema = SendFundsPushToCard$outboundSchema;
44739
+ })(SendFundsPushToCard$ ||= {});
44740
+ });
44741
+
44742
+ // src/models/components/sendfundsrtp.ts
44743
+ var SendFundsRtp$inboundSchema, SendFundsRtp$outboundSchema, SendFundsRtp$;
44744
+ var init_sendfundsrtp = __esm(() => {
44745
+ init_esm();
44746
+ init_estimatedactivity();
44747
+ SendFundsRtp$inboundSchema = objectType({
44748
+ estimatedActivity: EstimatedActivity$inboundSchema.optional()
44749
+ });
44750
+ SendFundsRtp$outboundSchema = objectType({
44751
+ estimatedActivity: EstimatedActivity$outboundSchema.optional()
44752
+ });
44753
+ ((SendFundsRtp$) => {
44754
+ SendFundsRtp$.inboundSchema = SendFundsRtp$inboundSchema;
44755
+ SendFundsRtp$.outboundSchema = SendFundsRtp$outboundSchema;
44756
+ })(SendFundsRtp$ ||= {});
44757
+ });
44758
+
44759
+ // src/models/components/sendfunds.ts
44760
+ var SendFunds$inboundSchema, SendFunds$outboundSchema, SendFunds$;
44761
+ var init_sendfunds = __esm(() => {
44762
+ init_esm();
44763
+ init_sendfundsach();
44764
+ init_sendfundspushtocard();
44765
+ init_sendfundsrtp();
44766
+ SendFunds$inboundSchema = objectType({
44767
+ ach: SendFundsAch$inboundSchema.optional(),
44768
+ pushToCard: SendFundsPushToCard$inboundSchema.optional(),
44769
+ rtp: SendFundsRtp$inboundSchema.optional()
44770
+ });
44771
+ SendFunds$outboundSchema = objectType({
44772
+ ach: SendFundsAch$outboundSchema.optional(),
44773
+ pushToCard: SendFundsPushToCard$outboundSchema.optional(),
44774
+ rtp: SendFundsRtp$outboundSchema.optional()
44775
+ });
44776
+ ((SendFunds$) => {
44777
+ SendFunds$.inboundSchema = SendFunds$inboundSchema;
44778
+ SendFunds$.outboundSchema = SendFunds$outboundSchema;
44779
+ })(SendFunds$ ||= {});
44780
+ });
44781
+
44782
+ // src/models/components/sendfundsacherror.ts
44783
+ var SendFundsAchError$inboundSchema, SendFundsAchError$outboundSchema, SendFundsAchError$;
44784
+ var init_sendfundsacherror = __esm(() => {
44785
+ init_esm();
44786
+ init_estimatedactivityerror();
44787
+ SendFundsAchError$inboundSchema = objectType({
44788
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
44789
+ });
44790
+ SendFundsAchError$outboundSchema = objectType({
44791
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
44792
+ });
44793
+ ((SendFundsAchError$) => {
44794
+ SendFundsAchError$.inboundSchema = SendFundsAchError$inboundSchema;
44795
+ SendFundsAchError$.outboundSchema = SendFundsAchError$outboundSchema;
44796
+ })(SendFundsAchError$ ||= {});
44797
+ });
44798
+
44799
+ // src/models/components/sendfundspushtocarderror.ts
44800
+ var SendFundsPushToCardError$inboundSchema, SendFundsPushToCardError$outboundSchema, SendFundsPushToCardError$;
44801
+ var init_sendfundspushtocarderror = __esm(() => {
44802
+ init_esm();
44803
+ init_estimatedactivityerror();
44804
+ SendFundsPushToCardError$inboundSchema = objectType({
44805
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
44806
+ });
44807
+ SendFundsPushToCardError$outboundSchema = objectType({
44808
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
44809
+ });
44810
+ ((SendFundsPushToCardError$) => {
44811
+ SendFundsPushToCardError$.inboundSchema = SendFundsPushToCardError$inboundSchema;
44812
+ SendFundsPushToCardError$.outboundSchema = SendFundsPushToCardError$outboundSchema;
44813
+ })(SendFundsPushToCardError$ ||= {});
44814
+ });
44815
+
44816
+ // src/models/components/sendfundsrtperror.ts
44817
+ var SendFundsRtpError$inboundSchema, SendFundsRtpError$outboundSchema, SendFundsRtpError$;
44818
+ var init_sendfundsrtperror = __esm(() => {
44819
+ init_esm();
44820
+ init_estimatedactivityerror();
44821
+ SendFundsRtpError$inboundSchema = objectType({
44822
+ estimatedActivity: EstimatedActivityError$inboundSchema.optional()
44823
+ });
44824
+ SendFundsRtpError$outboundSchema = objectType({
44825
+ estimatedActivity: EstimatedActivityError$outboundSchema.optional()
44826
+ });
44827
+ ((SendFundsRtpError$) => {
44828
+ SendFundsRtpError$.inboundSchema = SendFundsRtpError$inboundSchema;
44829
+ SendFundsRtpError$.outboundSchema = SendFundsRtpError$outboundSchema;
44830
+ })(SendFundsRtpError$ ||= {});
44831
+ });
44832
+
44833
+ // src/models/components/sendfundserror.ts
44834
+ var SendFundsError$inboundSchema, SendFundsError$outboundSchema, SendFundsError$;
44835
+ var init_sendfundserror = __esm(() => {
44836
+ init_esm();
44837
+ init_sendfundsacherror();
44838
+ init_sendfundspushtocarderror();
44839
+ init_sendfundsrtperror();
44840
+ SendFundsError$inboundSchema = objectType({
44841
+ ach: SendFundsAchError$inboundSchema.optional(),
44842
+ pushToCard: SendFundsPushToCardError$inboundSchema.optional(),
44843
+ rtp: SendFundsRtpError$inboundSchema.optional()
44844
+ });
44845
+ SendFundsError$outboundSchema = objectType({
44846
+ ach: SendFundsAchError$outboundSchema.optional(),
44847
+ pushToCard: SendFundsPushToCardError$outboundSchema.optional(),
44848
+ rtp: SendFundsRtpError$outboundSchema.optional()
44849
+ });
44850
+ ((SendFundsError$) => {
44851
+ SendFundsError$.inboundSchema = SendFundsError$inboundSchema;
44852
+ SendFundsError$.outboundSchema = SendFundsError$outboundSchema;
44853
+ })(SendFundsError$ ||= {});
44854
+ });
44855
+
44197
44856
  // src/models/components/sweepstatus.ts
44198
44857
  var SweepStatus, SweepStatus$inboundSchema, SweepStatus$outboundSchema, SweepStatus$;
44199
44858
  var init_sweepstatus = __esm(() => {
@@ -44476,7 +45135,8 @@ var init_transfer = __esm(() => {
44476
45135
  scheduleID: stringType().optional(),
44477
45136
  occurrenceID: stringType().optional(),
44478
45137
  paymentLinkCode: stringType().optional(),
44479
- salesTaxAmount: Amount$inboundSchema.optional()
45138
+ salesTaxAmount: Amount$inboundSchema.optional(),
45139
+ foreignID: stringType().optional()
44480
45140
  });
44481
45141
  Transfer$outboundSchema = objectType({
44482
45142
  transferID: stringType(),
@@ -44504,7 +45164,8 @@ var init_transfer = __esm(() => {
44504
45164
  scheduleID: stringType().optional(),
44505
45165
  occurrenceID: stringType().optional(),
44506
45166
  paymentLinkCode: stringType().optional(),
44507
- salesTaxAmount: Amount$outboundSchema.optional()
45167
+ salesTaxAmount: Amount$outboundSchema.optional(),
45168
+ foreignID: stringType().optional()
44508
45169
  });
44509
45170
  ((Transfer$) => {
44510
45171
  Transfer$.inboundSchema = Transfer$inboundSchema;
@@ -44583,31 +45244,72 @@ var init_volumebycustomertype = __esm(() => {
44583
45244
  })(VolumeByCustomerType$ ||= {});
44584
45245
  });
44585
45246
 
45247
+ // src/models/components/volumesharebycustomertype.ts
45248
+ var VolumeShareByCustomerType$inboundSchema, VolumeShareByCustomerType$outboundSchema, VolumeShareByCustomerType$;
45249
+ var init_volumesharebycustomertype = __esm(() => {
45250
+ init_esm();
45251
+ VolumeShareByCustomerType$inboundSchema = objectType({
45252
+ business: numberType().int().optional(),
45253
+ consumer: numberType().int().optional(),
45254
+ p2p: numberType().int().optional()
45255
+ });
45256
+ VolumeShareByCustomerType$outboundSchema = objectType({
45257
+ business: numberType().int().optional(),
45258
+ consumer: numberType().int().optional(),
45259
+ p2p: numberType().int().optional()
45260
+ });
45261
+ ((VolumeShareByCustomerType$) => {
45262
+ VolumeShareByCustomerType$.inboundSchema = VolumeShareByCustomerType$inboundSchema;
45263
+ VolumeShareByCustomerType$.outboundSchema = VolumeShareByCustomerType$outboundSchema;
45264
+ })(VolumeShareByCustomerType$ ||= {});
45265
+ });
45266
+
44586
45267
  // src/models/components/underwriting.ts
44587
45268
  var Underwriting$inboundSchema, Underwriting$outboundSchema, Underwriting$;
44588
45269
  var init_underwriting = __esm(() => {
44589
45270
  init_esm();
45271
+ init_businesspresence();
44590
45272
  init_cardvolumedistribution();
45273
+ init_collectfunds();
44591
45274
  init_fulfillmentdetails();
45275
+ init_geographicreach();
45276
+ init_moneytransfer();
45277
+ init_pendinglitigation();
45278
+ init_sendfunds();
44592
45279
  init_underwritingstatus();
44593
45280
  init_volumebycustomertype();
45281
+ init_volumesharebycustomertype();
44594
45282
  Underwriting$inboundSchema = objectType({
44595
- averageTransactionSize: numberType().int(),
44596
- maxTransactionSize: numberType().int(),
44597
- averageMonthlyTransactionVolume: numberType().int(),
44598
- status: UnderwritingStatus$inboundSchema,
44599
- volumeByCustomerType: VolumeByCustomerType$inboundSchema,
44600
- cardVolumeDistribution: CardVolumeDistribution$inboundSchema,
44601
- fulfillment: FulfillmentDetails$inboundSchema
45283
+ averageTransactionSize: numberType().int().optional(),
45284
+ maxTransactionSize: numberType().int().optional(),
45285
+ averageMonthlyTransactionVolume: numberType().int().optional(),
45286
+ status: UnderwritingStatus$inboundSchema.optional(),
45287
+ volumeByCustomerType: VolumeByCustomerType$inboundSchema.optional(),
45288
+ cardVolumeDistribution: CardVolumeDistribution$inboundSchema.optional(),
45289
+ fulfillment: FulfillmentDetails$inboundSchema.optional(),
45290
+ geographicReach: GeographicReach$inboundSchema.optional(),
45291
+ businessPresence: BusinessPresence$inboundSchema.optional(),
45292
+ pendingLitigation: PendingLitigation$inboundSchema.optional(),
45293
+ volumeShareByCustomerType: VolumeShareByCustomerType$inboundSchema.optional(),
45294
+ collectFunds: CollectFunds$inboundSchema.optional(),
45295
+ moneyTransfer: MoneyTransfer$inboundSchema.optional(),
45296
+ sendFunds: SendFunds$inboundSchema.optional()
44602
45297
  });
44603
45298
  Underwriting$outboundSchema = objectType({
44604
- averageTransactionSize: numberType().int(),
44605
- maxTransactionSize: numberType().int(),
44606
- averageMonthlyTransactionVolume: numberType().int(),
44607
- status: UnderwritingStatus$outboundSchema,
44608
- volumeByCustomerType: VolumeByCustomerType$outboundSchema,
44609
- cardVolumeDistribution: CardVolumeDistribution$outboundSchema,
44610
- fulfillment: FulfillmentDetails$outboundSchema
45299
+ averageTransactionSize: numberType().int().optional(),
45300
+ maxTransactionSize: numberType().int().optional(),
45301
+ averageMonthlyTransactionVolume: numberType().int().optional(),
45302
+ status: UnderwritingStatus$outboundSchema.optional(),
45303
+ volumeByCustomerType: VolumeByCustomerType$outboundSchema.optional(),
45304
+ cardVolumeDistribution: CardVolumeDistribution$outboundSchema.optional(),
45305
+ fulfillment: FulfillmentDetails$outboundSchema.optional(),
45306
+ geographicReach: GeographicReach$outboundSchema.optional(),
45307
+ businessPresence: BusinessPresence$outboundSchema.optional(),
45308
+ pendingLitigation: PendingLitigation$outboundSchema.optional(),
45309
+ volumeShareByCustomerType: VolumeShareByCustomerType$outboundSchema.optional(),
45310
+ collectFunds: CollectFunds$outboundSchema.optional(),
45311
+ moneyTransfer: MoneyTransfer$outboundSchema.optional(),
45312
+ sendFunds: SendFunds$outboundSchema.optional()
44611
45313
  });
44612
45314
  ((Underwriting$) => {
44613
45315
  Underwriting$.inboundSchema = Underwriting$inboundSchema;
@@ -45024,6 +45726,41 @@ var init_upsertschedule = __esm(() => {
45024
45726
  })(UpsertSchedule$ ||= {});
45025
45727
  });
45026
45728
 
45729
+ // src/models/components/upsertunderwriting.ts
45730
+ var UpsertUnderwriting$inboundSchema, UpsertUnderwriting$outboundSchema, UpsertUnderwriting$;
45731
+ var init_upsertunderwriting = __esm(() => {
45732
+ init_esm();
45733
+ init_businesspresence();
45734
+ init_collectfunds();
45735
+ init_geographicreach();
45736
+ init_moneytransfer();
45737
+ init_pendinglitigation();
45738
+ init_sendfunds();
45739
+ init_volumesharebycustomertype();
45740
+ UpsertUnderwriting$inboundSchema = objectType({
45741
+ geographicReach: GeographicReach$inboundSchema.optional(),
45742
+ businessPresence: BusinessPresence$inboundSchema.optional(),
45743
+ pendingLitigation: PendingLitigation$inboundSchema.optional(),
45744
+ volumeShareByCustomerType: VolumeShareByCustomerType$inboundSchema.optional(),
45745
+ collectFunds: CollectFunds$inboundSchema.optional(),
45746
+ moneyTransfer: MoneyTransfer$inboundSchema.optional(),
45747
+ sendFunds: SendFunds$inboundSchema.optional()
45748
+ });
45749
+ UpsertUnderwriting$outboundSchema = objectType({
45750
+ geographicReach: GeographicReach$outboundSchema.optional(),
45751
+ businessPresence: BusinessPresence$outboundSchema.optional(),
45752
+ pendingLitigation: PendingLitigation$outboundSchema.optional(),
45753
+ volumeShareByCustomerType: VolumeShareByCustomerType$outboundSchema.optional(),
45754
+ collectFunds: CollectFunds$outboundSchema.optional(),
45755
+ moneyTransfer: MoneyTransfer$outboundSchema.optional(),
45756
+ sendFunds: SendFunds$outboundSchema.optional()
45757
+ });
45758
+ ((UpsertUnderwriting$) => {
45759
+ UpsertUnderwriting$.inboundSchema = UpsertUnderwriting$inboundSchema;
45760
+ UpsertUnderwriting$.outboundSchema = UpsertUnderwriting$outboundSchema;
45761
+ })(UpsertUnderwriting$ ||= {});
45762
+ });
45763
+
45027
45764
  // src/models/components/volumebycustomertypeerror.ts
45028
45765
  var VolumeByCustomerTypeError$inboundSchema, VolumeByCustomerTypeError$outboundSchema, VolumeByCustomerTypeError$;
45029
45766
  var init_volumebycustomertypeerror = __esm(() => {
@@ -45042,6 +45779,26 @@ var init_volumebycustomertypeerror = __esm(() => {
45042
45779
  })(VolumeByCustomerTypeError$ ||= {});
45043
45780
  });
45044
45781
 
45782
+ // src/models/components/volumesharebycustomertypeerror.ts
45783
+ var VolumeShareByCustomerTypeError$inboundSchema, VolumeShareByCustomerTypeError$outboundSchema, VolumeShareByCustomerTypeError$;
45784
+ var init_volumesharebycustomertypeerror = __esm(() => {
45785
+ init_esm();
45786
+ VolumeShareByCustomerTypeError$inboundSchema = objectType({
45787
+ business: stringType().optional(),
45788
+ consumer: stringType().optional(),
45789
+ p2p: stringType().optional()
45790
+ });
45791
+ VolumeShareByCustomerTypeError$outboundSchema = objectType({
45792
+ business: stringType().optional(),
45793
+ consumer: stringType().optional(),
45794
+ p2p: stringType().optional()
45795
+ });
45796
+ ((VolumeShareByCustomerTypeError$) => {
45797
+ VolumeShareByCustomerTypeError$.inboundSchema = VolumeShareByCustomerTypeError$inboundSchema;
45798
+ VolumeShareByCustomerTypeError$.outboundSchema = VolumeShareByCustomerTypeError$outboundSchema;
45799
+ })(VolumeShareByCustomerTypeError$ ||= {});
45800
+ });
45801
+
45045
45802
  // src/models/components/walletavailablebalance.ts
45046
45803
  var WalletAvailableBalance$inboundSchema, WalletAvailableBalance$outboundSchema, WalletAvailableBalance$;
45047
45804
  var init_walletavailablebalance = __esm(() => {
@@ -45764,12 +46521,14 @@ var init_webhookdatatransfercreated = __esm(() => {
45764
46521
  WebhookDataTransferCreated$inboundSchema = objectType({
45765
46522
  accountID: stringType(),
45766
46523
  transferID: stringType(),
45767
- status: WebhookDataTransferStatus$inboundSchema
46524
+ status: WebhookDataTransferStatus$inboundSchema,
46525
+ foreignID: stringType().optional()
45768
46526
  });
45769
46527
  WebhookDataTransferCreated$outboundSchema = objectType({
45770
46528
  accountID: stringType(),
45771
46529
  transferID: stringType(),
45772
- status: WebhookDataTransferStatus$outboundSchema
46530
+ status: WebhookDataTransferStatus$outboundSchema,
46531
+ foreignID: stringType().optional()
45773
46532
  });
45774
46533
  ((WebhookDataTransferCreated$) => {
45775
46534
  WebhookDataTransferCreated$.inboundSchema = WebhookDataTransferCreated$inboundSchema;
@@ -45806,14 +46565,16 @@ var init_webhookdatatransferupdated = __esm(() => {
45806
46565
  transferID: stringType(),
45807
46566
  status: WebhookDataTransferStatus$inboundSchema,
45808
46567
  source: WebhookTransferPaymentMethodDetails$inboundSchema,
45809
- destination: WebhookTransferPaymentMethodDetails$inboundSchema
46568
+ destination: WebhookTransferPaymentMethodDetails$inboundSchema,
46569
+ foreignID: stringType().optional()
45810
46570
  });
45811
46571
  WebhookDataTransferUpdated$outboundSchema = objectType({
45812
46572
  accountID: stringType(),
45813
46573
  transferID: stringType(),
45814
46574
  status: WebhookDataTransferStatus$outboundSchema,
45815
46575
  source: WebhookTransferPaymentMethodDetails$outboundSchema,
45816
- destination: WebhookTransferPaymentMethodDetails$outboundSchema
46576
+ destination: WebhookTransferPaymentMethodDetails$outboundSchema,
46577
+ foreignID: stringType().optional()
45817
46578
  });
45818
46579
  ((WebhookDataTransferUpdated$) => {
45819
46580
  WebhookDataTransferUpdated$.inboundSchema = WebhookDataTransferUpdated$inboundSchema;
@@ -46082,6 +46843,7 @@ var init_components = __esm(() => {
46082
46843
  init_brandcolors();
46083
46844
  init_brandcolorvalidationerror();
46084
46845
  init_brandproperties();
46846
+ init_businesspresence();
46085
46847
  init_businessprofile();
46086
46848
  init_businesstype();
46087
46849
  init_calltoaction();
@@ -46093,6 +46855,8 @@ var init_components = __esm(() => {
46093
46855
  init_capabilityrequirement();
46094
46856
  init_capabilitystatus();
46095
46857
  init_card();
46858
+ init_cardacceptancemethods();
46859
+ init_cardacceptancemethodserror();
46096
46860
  init_cardaccountupdater();
46097
46861
  init_cardacquiringdispute();
46098
46862
  init_cardacquiringmodel();
@@ -46116,6 +46880,12 @@ var init_components = __esm(() => {
46116
46880
  init_cardverificationresult();
46117
46881
  init_cardvolumedistribution();
46118
46882
  init_cardvolumedistributionerror();
46883
+ init_collectfunds();
46884
+ init_collectfundsach();
46885
+ init_collectfundsacherror();
46886
+ init_collectfundscardpayments();
46887
+ init_collectfundscardpaymentserror();
46888
+ init_collectfundserror();
46119
46889
  init_collectionpaymentmethodtype();
46120
46890
  init_colorsvalidationerror();
46121
46891
  init_completebankaccountverification();
@@ -46179,6 +46949,8 @@ var init_components = __esm(() => {
46179
46949
  init_enrichedindustries();
46180
46950
  init_enrichedindustrycodes();
46181
46951
  init_entrymode();
46952
+ init_estimatedactivity();
46953
+ init_estimatedactivityerror();
46182
46954
  init_evidencetextresponse();
46183
46955
  init_evidencetype();
46184
46956
  init_evidenceuploadresponse();
@@ -46194,8 +46966,12 @@ var init_components = __esm(() => {
46194
46966
  init_filestatus();
46195
46967
  init_fileuploadrequestmultipart();
46196
46968
  init_financialinstitutions();
46969
+ init_fulfillment();
46197
46970
  init_fulfillmentdetails();
46198
46971
  init_fulfillmentdetailserror();
46972
+ init_fulfillmenterror();
46973
+ init_fulfillmentmethod();
46974
+ init_fulfillmenttimeframe();
46199
46975
  init_fullissuedcard();
46200
46976
  init_generatedby();
46201
46977
  init_generatedbyaccountid();
@@ -46203,6 +46979,7 @@ var init_components = __esm(() => {
46203
46979
  init_generatedbycardid();
46204
46980
  init_generatedbydisputeid();
46205
46981
  init_generatedbytransferid();
46982
+ init_geographicreach();
46206
46983
  init_governmentid();
46207
46984
  init_governmentiderror();
46208
46985
  init_granttype();
@@ -46246,7 +47023,14 @@ var init_components = __esm(() => {
46246
47023
  init_microdepositstatus();
46247
47024
  init_minimumcommitment();
46248
47025
  init_mode();
47026
+ init_moneytransfer();
47027
+ init_moneytransfererror();
47028
+ init_moneytransferpullfromcard();
47029
+ init_moneytransferpullfromcarderror();
47030
+ init_moneytransferpushtocard();
47031
+ init_moneytransferpushtocarderror();
46249
47032
  init_monthlyplatformfee();
47033
+ init_monthlyvolumerange();
46250
47034
  init_moovfee();
46251
47035
  init_moovfeedetails();
46252
47036
  init_moovwalletpaymentmethod();
@@ -46287,6 +47071,7 @@ var init_components = __esm(() => {
46287
47071
  init_payoutrecipient();
46288
47072
  init_payoutrecipienterror();
46289
47073
  init_payoutrecipientupdate();
47074
+ init_pendinglitigation();
46290
47075
  init_phonenumber();
46291
47076
  init_phonenumbererror();
46292
47077
  init_plaidintegration();
@@ -46304,6 +47089,7 @@ var init_components = __esm(() => {
46304
47089
  init_recur();
46305
47090
  init_refundcarddetails();
46306
47091
  init_refundcardstatus();
47092
+ init_refundpolicy();
46307
47093
  init_refundstatus();
46308
47094
  init_registerapplepaymerchantdomains();
46309
47095
  init_representative();
@@ -46331,6 +47117,14 @@ var init_components = __esm(() => {
46331
47117
  init_scheduleresponse();
46332
47118
  init_seccode();
46333
47119
  init_security2();
47120
+ init_sendfunds();
47121
+ init_sendfundsach();
47122
+ init_sendfundsacherror();
47123
+ init_sendfundserror();
47124
+ init_sendfundspushtocard();
47125
+ init_sendfundspushtocarderror();
47126
+ init_sendfundsrtp();
47127
+ init_sendfundsrtperror();
46334
47128
  init_sentreceipt();
46335
47129
  init_settings();
46336
47130
  init_sourcedestinationoptions();
@@ -46377,11 +47171,14 @@ var init_components = __esm(() => {
46377
47171
  init_updaterepresentative();
46378
47172
  init_updateunderwriting();
46379
47173
  init_upsertschedule();
47174
+ init_upsertunderwriting();
46380
47175
  init_verification();
46381
47176
  init_verificationstatus();
46382
47177
  init_verificationstatusdetail();
46383
47178
  init_volumebycustomertype();
46384
47179
  init_volumebycustomertypeerror();
47180
+ init_volumesharebycustomertype();
47181
+ init_volumesharebycustomertypeerror();
46385
47182
  init_wallet();
46386
47183
  init_walletavailablebalance();
46387
47184
  init_wallettransaction();
@@ -47765,6 +48562,7 @@ var init_transfer2 = __esm(() => {
47765
48562
  occurrenceID;
47766
48563
  paymentLinkCode;
47767
48564
  salesTaxAmount;
48565
+ foreignID;
47768
48566
  data$;
47769
48567
  constructor(err, httpMeta) {
47770
48568
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -47816,6 +48614,8 @@ var init_transfer2 = __esm(() => {
47816
48614
  this.paymentLinkCode = err.paymentLinkCode;
47817
48615
  if (err.salesTaxAmount != null)
47818
48616
  this.salesTaxAmount = err.salesTaxAmount;
48617
+ if (err.foreignID != null)
48618
+ this.foreignID = err.foreignID;
47819
48619
  this.name = "Transfer";
47820
48620
  }
47821
48621
  };
@@ -47846,6 +48646,7 @@ var init_transfer2 = __esm(() => {
47846
48646
  occurrenceID: stringType().optional(),
47847
48647
  paymentLinkCode: stringType().optional(),
47848
48648
  salesTaxAmount: Amount$inboundSchema.optional(),
48649
+ foreignID: stringType().optional(),
47849
48650
  request$: instanceOfType(Request),
47850
48651
  response$: instanceOfType(Response),
47851
48652
  body$: stringType()
@@ -47882,7 +48683,8 @@ var init_transfer2 = __esm(() => {
47882
48683
  scheduleID: stringType().optional(),
47883
48684
  occurrenceID: stringType().optional(),
47884
48685
  paymentLinkCode: stringType().optional(),
47885
- salesTaxAmount: Amount$outboundSchema.optional()
48686
+ salesTaxAmount: Amount$outboundSchema.optional(),
48687
+ foreignID: stringType().optional()
47886
48688
  }));
47887
48689
  ((Transfer$) => {
47888
48690
  Transfer$.inboundSchema = Transfer$inboundSchema2;
@@ -48316,6 +49118,113 @@ var init_updateunderwritingerror = __esm(() => {
48316
49118
  })(UpdateUnderwritingError$ ||= {});
48317
49119
  });
48318
49120
 
49121
+ // src/models/errors/upsertunderwritingerror.ts
49122
+ var UpsertUnderwritingError, UpsertUnderwritingError$inboundSchema, UpsertUnderwritingError$outboundSchema, UpsertUnderwritingError$;
49123
+ var init_upsertunderwritingerror = __esm(() => {
49124
+ init_esm();
49125
+ init_components();
49126
+ init_mooverror();
49127
+ UpsertUnderwritingError = class UpsertUnderwritingError extends MoovError {
49128
+ geographicReach;
49129
+ businessPresence;
49130
+ pendingLitigation;
49131
+ volumeShareByCustomerType;
49132
+ collectFunds;
49133
+ moneyTransfer;
49134
+ sendFunds;
49135
+ averageMonthlyTransactionVolume;
49136
+ averageTransactionSize;
49137
+ maxTransactionSize;
49138
+ volumeByCustomerType;
49139
+ cardVolumeDistribution;
49140
+ fulfillment;
49141
+ data$;
49142
+ constructor(err, httpMeta) {
49143
+ const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
49144
+ super(message, httpMeta);
49145
+ this.data$ = err;
49146
+ if (err.geographicReach != null)
49147
+ this.geographicReach = err.geographicReach;
49148
+ if (err.businessPresence != null) {
49149
+ this.businessPresence = err.businessPresence;
49150
+ }
49151
+ if (err.pendingLitigation != null) {
49152
+ this.pendingLitigation = err.pendingLitigation;
49153
+ }
49154
+ if (err.volumeShareByCustomerType != null) {
49155
+ this.volumeShareByCustomerType = err.volumeShareByCustomerType;
49156
+ }
49157
+ if (err.collectFunds != null)
49158
+ this.collectFunds = err.collectFunds;
49159
+ if (err.moneyTransfer != null)
49160
+ this.moneyTransfer = err.moneyTransfer;
49161
+ if (err.sendFunds != null)
49162
+ this.sendFunds = err.sendFunds;
49163
+ if (err.averageMonthlyTransactionVolume != null) {
49164
+ this.averageMonthlyTransactionVolume = err.averageMonthlyTransactionVolume;
49165
+ }
49166
+ if (err.averageTransactionSize != null) {
49167
+ this.averageTransactionSize = err.averageTransactionSize;
49168
+ }
49169
+ if (err.maxTransactionSize != null) {
49170
+ this.maxTransactionSize = err.maxTransactionSize;
49171
+ }
49172
+ if (err.volumeByCustomerType != null) {
49173
+ this.volumeByCustomerType = err.volumeByCustomerType;
49174
+ }
49175
+ if (err.cardVolumeDistribution != null) {
49176
+ this.cardVolumeDistribution = err.cardVolumeDistribution;
49177
+ }
49178
+ if (err.fulfillment != null)
49179
+ this.fulfillment = err.fulfillment;
49180
+ this.name = "UpsertUnderwritingError";
49181
+ }
49182
+ };
49183
+ UpsertUnderwritingError$inboundSchema = objectType({
49184
+ geographicReach: stringType().optional(),
49185
+ businessPresence: stringType().optional(),
49186
+ pendingLitigation: stringType().optional(),
49187
+ volumeShareByCustomerType: VolumeShareByCustomerTypeError$inboundSchema.optional(),
49188
+ collectFunds: CollectFundsError$inboundSchema.optional(),
49189
+ moneyTransfer: MoneyTransferError$inboundSchema.optional(),
49190
+ sendFunds: SendFundsError$inboundSchema.optional(),
49191
+ averageMonthlyTransactionVolume: stringType().optional(),
49192
+ averageTransactionSize: stringType().optional(),
49193
+ maxTransactionSize: stringType().optional(),
49194
+ volumeByCustomerType: VolumeByCustomerTypeError$inboundSchema.optional(),
49195
+ cardVolumeDistribution: CardVolumeDistributionError$inboundSchema.optional(),
49196
+ fulfillment: FulfillmentDetailsError$inboundSchema.optional(),
49197
+ request$: instanceOfType(Request),
49198
+ response$: instanceOfType(Response),
49199
+ body$: stringType()
49200
+ }).transform((v2) => {
49201
+ return new UpsertUnderwritingError(v2, {
49202
+ request: v2.request$,
49203
+ response: v2.response$,
49204
+ body: v2.body$
49205
+ });
49206
+ });
49207
+ UpsertUnderwritingError$outboundSchema = instanceOfType(UpsertUnderwritingError).transform((v2) => v2.data$).pipe(objectType({
49208
+ geographicReach: stringType().optional(),
49209
+ businessPresence: stringType().optional(),
49210
+ pendingLitigation: stringType().optional(),
49211
+ volumeShareByCustomerType: VolumeShareByCustomerTypeError$outboundSchema.optional(),
49212
+ collectFunds: CollectFundsError$outboundSchema.optional(),
49213
+ moneyTransfer: MoneyTransferError$outboundSchema.optional(),
49214
+ sendFunds: SendFundsError$outboundSchema.optional(),
49215
+ averageMonthlyTransactionVolume: stringType().optional(),
49216
+ averageTransactionSize: stringType().optional(),
49217
+ maxTransactionSize: stringType().optional(),
49218
+ volumeByCustomerType: VolumeByCustomerTypeError$outboundSchema.optional(),
49219
+ cardVolumeDistribution: CardVolumeDistributionError$outboundSchema.optional(),
49220
+ fulfillment: FulfillmentDetailsError$outboundSchema.optional()
49221
+ }));
49222
+ ((UpsertUnderwritingError$) => {
49223
+ UpsertUnderwritingError$.inboundSchema = UpsertUnderwritingError$inboundSchema;
49224
+ UpsertUnderwritingError$.outboundSchema = UpsertUnderwritingError$outboundSchema;
49225
+ })(UpsertUnderwritingError$ ||= {});
49226
+ });
49227
+
48319
49228
  // src/models/errors/index.ts
48320
49229
  var init_errors2 = __esm(() => {
48321
49230
  init_accountterminalapplicationerror();
@@ -48356,6 +49265,7 @@ var init_errors2 = __esm(() => {
48356
49265
  init_updateissuedcarderror();
48357
49266
  init_updatepaymentlinkerror();
48358
49267
  init_updateunderwritingerror();
49268
+ init_upsertunderwritingerror();
48359
49269
  });
48360
49270
 
48361
49271
  // src/models/operations/acceptdispute.ts
@@ -55101,6 +56011,7 @@ var init_listtransfers = __esm(() => {
55101
56011
  paymentLinkCode: stringType().optional(),
55102
56012
  refunded: booleanType().optional(),
55103
56013
  disputed: booleanType().optional(),
56014
+ foreignID: stringType().optional(),
55104
56015
  skip: numberType().int().optional(),
55105
56016
  count: numberType().int().optional(),
55106
56017
  accountID: stringType()
@@ -55115,6 +56026,7 @@ var init_listtransfers = __esm(() => {
55115
56026
  paymentLinkCode: stringType().optional(),
55116
56027
  refunded: booleanType().optional(),
55117
56028
  disputed: booleanType().optional(),
56029
+ foreignID: stringType().optional(),
55118
56030
  skip: numberType().int().optional(),
55119
56031
  count: numberType().int().optional(),
55120
56032
  accountID: stringType()
@@ -55708,6 +56620,74 @@ var init_revokeonboardinginvite = __esm(() => {
55708
56620
  })(RevokeOnboardingInviteResponse$ ||= {});
55709
56621
  });
55710
56622
 
56623
+ // src/models/operations/saveunderwriting.ts
56624
+ var SaveUnderwritingGlobals$inboundSchema, SaveUnderwritingGlobals$outboundSchema, SaveUnderwritingGlobals$, SaveUnderwritingRequest$inboundSchema, SaveUnderwritingRequest$outboundSchema, SaveUnderwritingRequest$, SaveUnderwritingResponse$inboundSchema, SaveUnderwritingResponse$outboundSchema, SaveUnderwritingResponse$;
56625
+ var init_saveunderwriting = __esm(() => {
56626
+ init_esm();
56627
+ init_primitives();
56628
+ init_components();
56629
+ SaveUnderwritingGlobals$inboundSchema = objectType({
56630
+ "x-moov-version": stringType().default("v2024.01.00")
56631
+ }).transform((v2) => {
56632
+ return remap(v2, {
56633
+ "x-moov-version": "xMoovVersion"
56634
+ });
56635
+ });
56636
+ SaveUnderwritingGlobals$outboundSchema = objectType({
56637
+ xMoovVersion: stringType().default("v2024.01.00")
56638
+ }).transform((v2) => {
56639
+ return remap(v2, {
56640
+ xMoovVersion: "x-moov-version"
56641
+ });
56642
+ });
56643
+ ((SaveUnderwritingGlobals$) => {
56644
+ SaveUnderwritingGlobals$.inboundSchema = SaveUnderwritingGlobals$inboundSchema;
56645
+ SaveUnderwritingGlobals$.outboundSchema = SaveUnderwritingGlobals$outboundSchema;
56646
+ })(SaveUnderwritingGlobals$ ||= {});
56647
+ SaveUnderwritingRequest$inboundSchema = objectType({
56648
+ accountID: stringType(),
56649
+ UpsertUnderwriting: UpsertUnderwriting$inboundSchema
56650
+ }).transform((v2) => {
56651
+ return remap(v2, {
56652
+ UpsertUnderwriting: "upsertUnderwriting"
56653
+ });
56654
+ });
56655
+ SaveUnderwritingRequest$outboundSchema = objectType({
56656
+ accountID: stringType(),
56657
+ upsertUnderwriting: UpsertUnderwriting$outboundSchema
56658
+ }).transform((v2) => {
56659
+ return remap(v2, {
56660
+ upsertUnderwriting: "UpsertUnderwriting"
56661
+ });
56662
+ });
56663
+ ((SaveUnderwritingRequest$) => {
56664
+ SaveUnderwritingRequest$.inboundSchema = SaveUnderwritingRequest$inboundSchema;
56665
+ SaveUnderwritingRequest$.outboundSchema = SaveUnderwritingRequest$outboundSchema;
56666
+ })(SaveUnderwritingRequest$ ||= {});
56667
+ SaveUnderwritingResponse$inboundSchema = objectType({
56668
+ Headers: recordType(arrayType(stringType())),
56669
+ Result: Underwriting$inboundSchema
56670
+ }).transform((v2) => {
56671
+ return remap(v2, {
56672
+ Headers: "headers",
56673
+ Result: "result"
56674
+ });
56675
+ });
56676
+ SaveUnderwritingResponse$outboundSchema = objectType({
56677
+ headers: recordType(arrayType(stringType())),
56678
+ result: Underwriting$outboundSchema
56679
+ }).transform((v2) => {
56680
+ return remap(v2, {
56681
+ headers: "Headers",
56682
+ result: "Result"
56683
+ });
56684
+ });
56685
+ ((SaveUnderwritingResponse$) => {
56686
+ SaveUnderwritingResponse$.inboundSchema = SaveUnderwritingResponse$inboundSchema;
56687
+ SaveUnderwritingResponse$.outboundSchema = SaveUnderwritingResponse$outboundSchema;
56688
+ })(SaveUnderwritingResponse$ ||= {});
56689
+ });
56690
+
55711
56691
  // src/models/operations/searchinstitutions.ts
55712
56692
  var SearchInstitutionsGlobals$inboundSchema, SearchInstitutionsGlobals$outboundSchema, SearchInstitutionsGlobals$, SearchInstitutionsRequest$inboundSchema, SearchInstitutionsRequest$outboundSchema, SearchInstitutionsRequest$, SearchInstitutionsResponse$inboundSchema, SearchInstitutionsResponse$outboundSchema, SearchInstitutionsResponse$;
55713
56693
  var init_searchinstitutions = __esm(() => {
@@ -56909,7 +57889,7 @@ var init_upsertbrand = __esm(() => {
56909
57889
 
56910
57890
  // src/models/operations/upsertunderwriting.ts
56911
57891
  var UpsertUnderwritingGlobals$inboundSchema, UpsertUnderwritingGlobals$outboundSchema, UpsertUnderwritingGlobals$, UpsertUnderwritingRequest$inboundSchema, UpsertUnderwritingRequest$outboundSchema, UpsertUnderwritingRequest$, UpsertUnderwritingResponse$inboundSchema, UpsertUnderwritingResponse$outboundSchema, UpsertUnderwritingResponse$;
56912
- var init_upsertunderwriting = __esm(() => {
57892
+ var init_upsertunderwriting2 = __esm(() => {
56913
57893
  init_esm();
56914
57894
  init_primitives();
56915
57895
  init_components();
@@ -57095,6 +58075,7 @@ var init_operations = __esm(() => {
57095
58075
  init_retrievefees();
57096
58076
  init_revokeaccesstoken();
57097
58077
  init_revokeonboardinginvite();
58078
+ init_saveunderwriting();
57098
58079
  init_searchinstitutions();
57099
58080
  init_submitdisputeevidence();
57100
58081
  init_testendtoendtoken();
@@ -57113,7 +58094,7 @@ var init_operations = __esm(() => {
57113
58094
  init_uploaddisputeevidencetext();
57114
58095
  init_uploadfile();
57115
58096
  init_upsertbrand();
57116
- init_upsertunderwriting();
58097
+ init_upsertunderwriting2();
57117
58098
  });
57118
58099
 
57119
58100
  // src/types/async.ts
@@ -72559,6 +73540,7 @@ async function $do129(client, request, options) {
72559
73540
  count: payload.count,
72560
73541
  disputed: payload.disputed,
72561
73542
  endDateTime: payload.endDateTime,
73543
+ foreignID: payload.foreignID,
72562
73544
  groupID: payload.groupID,
72563
73545
  paymentLinkCode: payload.paymentLinkCode,
72564
73546
  refunded: payload.refunded,
@@ -73014,11 +73996,142 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
73014
73996
  };
73015
73997
  });
73016
73998
 
73017
- // src/funcs/underwritingUpsert.ts
73018
- function underwritingUpsert(client, request, options) {
73999
+ // src/funcs/underwritingSave.ts
74000
+ function underwritingSave(client, request, options) {
73019
74001
  return new APIPromise($do133(client, request, options));
73020
74002
  }
73021
74003
  async function $do133(client, request, options) {
74004
+ const parsed = safeParse(request, (value) => SaveUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
74005
+ if (!parsed.ok) {
74006
+ return [parsed, { status: "invalid" }];
74007
+ }
74008
+ const payload = parsed.value;
74009
+ const body = encodeJSON("body", payload.UpsertUnderwriting, {
74010
+ explode: true
74011
+ });
74012
+ const pathParams = {
74013
+ accountID: encodeSimple("accountID", payload.accountID, {
74014
+ explode: false,
74015
+ charEncoding: "percent"
74016
+ })
74017
+ };
74018
+ const path = pathToFunc("/accounts/{accountID}/underwriting")(pathParams);
74019
+ const headers = new Headers(compactMap({
74020
+ "Content-Type": "application/json",
74021
+ Accept: "application/json",
74022
+ "x-moov-version": encodeSimple("x-moov-version", client._options.xMoovVersion, { explode: false, charEncoding: "none" })
74023
+ }));
74024
+ const securityInput = await extractSecurity(client._options.security);
74025
+ const requestSecurity = resolveGlobalSecurity(securityInput);
74026
+ const context = {
74027
+ options: client._options,
74028
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
74029
+ operationID: "saveUnderwriting",
74030
+ oAuth2Scopes: [],
74031
+ resolvedSecurity: requestSecurity,
74032
+ securitySource: client._options.security,
74033
+ retryConfig: options?.retries || client._options.retryConfig || { strategy: "none" },
74034
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"]
74035
+ };
74036
+ const requestRes = client._createRequest(context, {
74037
+ security: requestSecurity,
74038
+ method: "POST",
74039
+ baseURL: options?.serverURL,
74040
+ path,
74041
+ headers,
74042
+ body,
74043
+ userAgent: client._options.userAgent,
74044
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1
74045
+ }, options);
74046
+ if (!requestRes.ok) {
74047
+ return [requestRes, { status: "invalid" }];
74048
+ }
74049
+ const req = requestRes.value;
74050
+ const doResult = await client._do(req, {
74051
+ context,
74052
+ errorCodes: [
74053
+ "400",
74054
+ "401",
74055
+ "403",
74056
+ "404",
74057
+ "409",
74058
+ "422",
74059
+ "429",
74060
+ "4XX",
74061
+ "500",
74062
+ "504",
74063
+ "5XX"
74064
+ ],
74065
+ retryConfig: context.retryConfig,
74066
+ retryCodes: context.retryCodes
74067
+ });
74068
+ if (!doResult.ok) {
74069
+ return [doResult, { status: "request-error", request: req }];
74070
+ }
74071
+ const response = doResult.value;
74072
+ const responseFields = {
74073
+ HttpMeta: { Response: response, Request: req }
74074
+ };
74075
+ const [result] = await match(json(200, SaveUnderwritingResponse$inboundSchema, {
74076
+ hdrs: true,
74077
+ key: "Result"
74078
+ }), jsonErr([400, 409], GenericError$inboundSchema, { hdrs: true }), jsonErr(422, UpsertUnderwritingError$inboundSchema, {
74079
+ hdrs: true
74080
+ }), fail([401, 403, 404, 429]), fail([500, 504]), fail("4XX"), fail("5XX"))(response, req, { extraFields: responseFields });
74081
+ if (!result.ok) {
74082
+ return [result, { status: "complete", request: req, response }];
74083
+ }
74084
+ return [result, { status: "complete", request: req, response }];
74085
+ }
74086
+ var init_underwritingSave = __esm(() => {
74087
+ init_encodings();
74088
+ init_matchers();
74089
+ init_primitives();
74090
+ init_schemas();
74091
+ init_security();
74092
+ init_url();
74093
+ init_errors2();
74094
+ init_operations();
74095
+ init_async();
74096
+ });
74097
+
74098
+ // src/mcp-server/tools/underwritingSave.ts
74099
+ var args133, tool$underwritingSave;
74100
+ var init_underwritingSave2 = __esm(() => {
74101
+ init_underwritingSave();
74102
+ init_operations();
74103
+ init_tools();
74104
+ args133 = {
74105
+ request: SaveUnderwritingRequest$inboundSchema
74106
+ };
74107
+ tool$underwritingSave = {
74108
+ name: "underwriting-save",
74109
+ description: `Create or update the account's underwriting.
74110
+
74111
+ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/underwriting/) to learn more.
74112
+
74113
+ To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
74114
+ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
74115
+ args: args133,
74116
+ tool: async (client, args134, ctx) => {
74117
+ const [result, apiCall] = await underwritingSave(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74118
+ if (!result.ok) {
74119
+ return {
74120
+ content: [{ type: "text", text: result.error.message }],
74121
+ isError: true
74122
+ };
74123
+ }
74124
+ const value = result.value.result;
74125
+ return formatResult(value, apiCall);
74126
+ }
74127
+ };
74128
+ });
74129
+
74130
+ // src/funcs/underwritingUpsert.ts
74131
+ function underwritingUpsert(client, request, options) {
74132
+ return new APIPromise($do134(client, request, options));
74133
+ }
74134
+ async function $do134(client, request, options) {
73022
74135
  const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
73023
74136
  if (!parsed.ok) {
73024
74137
  return [parsed, { status: "invalid" }];
@@ -73114,12 +74227,12 @@ var init_underwritingUpsert = __esm(() => {
73114
74227
  });
73115
74228
 
73116
74229
  // src/mcp-server/tools/underwritingUpsert.ts
73117
- var args133, tool$underwritingUpsert;
74230
+ var args134, tool$underwritingUpsert;
73118
74231
  var init_underwritingUpsert2 = __esm(() => {
73119
74232
  init_underwritingUpsert();
73120
74233
  init_operations();
73121
74234
  init_tools();
73122
- args133 = {
74235
+ args134 = {
73123
74236
  request: UpsertUnderwritingRequest$inboundSchema
73124
74237
  };
73125
74238
  tool$underwritingUpsert = {
@@ -73130,9 +74243,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
73130
74243
 
73131
74244
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73132
74245
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
73133
- args: args133,
73134
- tool: async (client, args134, ctx) => {
73135
- const [result, apiCall] = await underwritingUpsert(client, args134.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74246
+ args: args134,
74247
+ tool: async (client, args135, ctx) => {
74248
+ const [result, apiCall] = await underwritingUpsert(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73136
74249
  if (!result.ok) {
73137
74250
  return {
73138
74251
  content: [{ type: "text", text: result.error.message }],
@@ -73147,9 +74260,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
73147
74260
 
73148
74261
  // src/funcs/walletsGet.ts
73149
74262
  function walletsGet(client, request, options) {
73150
- return new APIPromise($do134(client, request, options));
74263
+ return new APIPromise($do135(client, request, options));
73151
74264
  }
73152
- async function $do134(client, request, options) {
74265
+ async function $do135(client, request, options) {
73153
74266
  const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
73154
74267
  if (!parsed.ok) {
73155
74268
  return [parsed, { status: "invalid" }];
@@ -73231,12 +74344,12 @@ var init_walletsGet = __esm(() => {
73231
74344
  });
73232
74345
 
73233
74346
  // src/mcp-server/tools/walletsGet.ts
73234
- var args134, tool$walletsGet;
74347
+ var args135, tool$walletsGet;
73235
74348
  var init_walletsGet2 = __esm(() => {
73236
74349
  init_walletsGet();
73237
74350
  init_operations();
73238
74351
  init_tools();
73239
- args134 = {
74352
+ args135 = {
73240
74353
  request: GetWalletRequest$inboundSchema
73241
74354
  };
73242
74355
  tool$walletsGet = {
@@ -73247,9 +74360,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
73247
74360
 
73248
74361
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73249
74362
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73250
- args: args134,
73251
- tool: async (client, args135, ctx) => {
73252
- const [result, apiCall] = await walletsGet(client, args135.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74363
+ args: args135,
74364
+ tool: async (client, args136, ctx) => {
74365
+ const [result, apiCall] = await walletsGet(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73253
74366
  if (!result.ok) {
73254
74367
  return {
73255
74368
  content: [{ type: "text", text: result.error.message }],
@@ -73264,9 +74377,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73264
74377
 
73265
74378
  // src/funcs/walletsList.ts
73266
74379
  function walletsList(client, request, options) {
73267
- return new APIPromise($do135(client, request, options));
74380
+ return new APIPromise($do136(client, request, options));
73268
74381
  }
73269
- async function $do135(client, request, options) {
74382
+ async function $do136(client, request, options) {
73270
74383
  const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
73271
74384
  if (!parsed.ok) {
73272
74385
  return [parsed, { status: "invalid" }];
@@ -73344,12 +74457,12 @@ var init_walletsList = __esm(() => {
73344
74457
  });
73345
74458
 
73346
74459
  // src/mcp-server/tools/walletsList.ts
73347
- var args135, tool$walletsList;
74460
+ var args136, tool$walletsList;
73348
74461
  var init_walletsList2 = __esm(() => {
73349
74462
  init_walletsList();
73350
74463
  init_operations();
73351
74464
  init_tools();
73352
- args135 = {
74465
+ args136 = {
73353
74466
  request: ListWalletsRequest$inboundSchema
73354
74467
  };
73355
74468
  tool$walletsList = {
@@ -73360,9 +74473,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
73360
74473
 
73361
74474
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73362
74475
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73363
- args: args135,
73364
- tool: async (client, args136, ctx) => {
73365
- const [result, apiCall] = await walletsList(client, args136.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74476
+ args: args136,
74477
+ tool: async (client, args137, ctx) => {
74478
+ const [result, apiCall] = await walletsList(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73366
74479
  if (!result.ok) {
73367
74480
  return {
73368
74481
  content: [{ type: "text", text: result.error.message }],
@@ -73377,9 +74490,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73377
74490
 
73378
74491
  // src/funcs/walletTransactionsGet.ts
73379
74492
  function walletTransactionsGet(client, request, options) {
73380
- return new APIPromise($do136(client, request, options));
74493
+ return new APIPromise($do137(client, request, options));
73381
74494
  }
73382
- async function $do136(client, request, options) {
74495
+ async function $do137(client, request, options) {
73383
74496
  const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
73384
74497
  if (!parsed.ok) {
73385
74498
  return [parsed, { status: "invalid" }];
@@ -73465,12 +74578,12 @@ var init_walletTransactionsGet = __esm(() => {
73465
74578
  });
73466
74579
 
73467
74580
  // src/mcp-server/tools/walletTransactionsGet.ts
73468
- var args136, tool$walletTransactionsGet;
74581
+ var args137, tool$walletTransactionsGet;
73469
74582
  var init_walletTransactionsGet2 = __esm(() => {
73470
74583
  init_walletTransactionsGet();
73471
74584
  init_operations();
73472
74585
  init_tools();
73473
- args136 = {
74586
+ args137 = {
73474
74587
  request: GetWalletTransactionRequest$inboundSchema
73475
74588
  };
73476
74589
  tool$walletTransactionsGet = {
@@ -73481,9 +74594,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
73481
74594
 
73482
74595
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73483
74596
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73484
- args: args136,
73485
- tool: async (client, args137, ctx) => {
73486
- const [result, apiCall] = await walletTransactionsGet(client, args137.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74597
+ args: args137,
74598
+ tool: async (client, args138, ctx) => {
74599
+ const [result, apiCall] = await walletTransactionsGet(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73487
74600
  if (!result.ok) {
73488
74601
  return {
73489
74602
  content: [{ type: "text", text: result.error.message }],
@@ -73498,9 +74611,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73498
74611
 
73499
74612
  // src/funcs/walletTransactionsList.ts
73500
74613
  function walletTransactionsList(client, request, options) {
73501
- return new APIPromise($do137(client, request, options));
74614
+ return new APIPromise($do138(client, request, options));
73502
74615
  }
73503
- async function $do137(client, request, options) {
74616
+ async function $do138(client, request, options) {
73504
74617
  const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
73505
74618
  if (!parsed.ok) {
73506
74619
  return [parsed, { status: "invalid" }];
@@ -73597,12 +74710,12 @@ var init_walletTransactionsList = __esm(() => {
73597
74710
  });
73598
74711
 
73599
74712
  // src/mcp-server/tools/walletTransactionsList.ts
73600
- var args137, tool$walletTransactionsList;
74713
+ var args138, tool$walletTransactionsList;
73601
74714
  var init_walletTransactionsList2 = __esm(() => {
73602
74715
  init_walletTransactionsList();
73603
74716
  init_operations();
73604
74717
  init_tools();
73605
- args137 = {
74718
+ args138 = {
73606
74719
  request: ListWalletTransactionsRequest$inboundSchema
73607
74720
  };
73608
74721
  tool$walletTransactionsList = {
@@ -73613,9 +74726,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
73613
74726
 
73614
74727
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73615
74728
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73616
- args: args137,
73617
- tool: async (client, args138, ctx) => {
73618
- const [result, apiCall] = await walletTransactionsList(client, args138.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
74729
+ args: args138,
74730
+ tool: async (client, args139, ctx) => {
74731
+ const [result, apiCall] = await walletTransactionsList(client, args139.request, { fetchOptions: { signal: ctx.signal } }).$inspect();
73619
74732
  if (!result.ok) {
73620
74733
  return {
73621
74734
  content: [{ type: "text", text: result.error.message }],
@@ -73632,7 +74745,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73632
74745
  function createMCPServer(deps) {
73633
74746
  const server = new McpServer({
73634
74747
  name: "Moov",
73635
- version: "0.12.6"
74748
+ version: "0.14.0"
73636
74749
  });
73637
74750
  const client = new MoovCore({
73638
74751
  security: deps.security,
@@ -73748,6 +74861,7 @@ function createMCPServer(deps) {
73748
74861
  tool(tool$transfersCreateReversal);
73749
74862
  tool(tool$transfersGenerateOptions);
73750
74863
  tool(tool$underwritingGet);
74864
+ tool(tool$underwritingSave);
73751
74865
  tool(tool$underwritingUpsert);
73752
74866
  tool(tool$walletsList);
73753
74867
  tool(tool$walletsGet);
@@ -73923,6 +75037,7 @@ var init_server2 = __esm(() => {
73923
75037
  init_transfersListRefunds2();
73924
75038
  init_transfersUpdate2();
73925
75039
  init_underwritingGet2();
75040
+ init_underwritingSave2();
73926
75041
  init_underwritingUpsert2();
73927
75042
  init_walletsGet2();
73928
75043
  init_walletsList2();
@@ -75146,7 +76261,7 @@ var routes = rn({
75146
76261
  var app = Ve(routes, {
75147
76262
  name: "mcp",
75148
76263
  versionInfo: {
75149
- currentVersion: "0.12.6"
76264
+ currentVersion: "0.14.0"
75150
76265
  }
75151
76266
  });
75152
76267
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -75154,5 +76269,5 @@ export {
75154
76269
  app
75155
76270
  };
75156
76271
 
75157
- //# debugId=31239349CD60AAEC64756E2164756E21
76272
+ //# debugId=8B6D282DBF3AE5AB64756E2164756E21
75158
76273
  //# sourceMappingURL=mcp-server.js.map