@moovio/sdk 0.12.5 → 0.13.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 (294) hide show
  1. package/README.md +48 -35
  2. package/bin/mcp-server.js +1194 -69
  3. package/bin/mcp-server.js.map +64 -24
  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/capability.d.ts +1 -1
  27. package/models/components/capabilityid.d.ts +32 -2
  28. package/models/components/capabilityid.d.ts.map +1 -1
  29. package/models/components/capabilityid.js +11 -1
  30. package/models/components/capabilityid.js.map +1 -1
  31. package/models/components/cardacceptancemethods.d.ts +45 -0
  32. package/models/components/cardacceptancemethods.d.ts.map +1 -0
  33. package/models/components/cardacceptancemethods.js +73 -0
  34. package/models/components/cardacceptancemethods.js.map +1 -0
  35. package/models/components/cardacceptancemethodserror.d.ts +33 -0
  36. package/models/components/cardacceptancemethodserror.d.ts.map +1 -0
  37. package/models/components/cardacceptancemethodserror.js +73 -0
  38. package/models/components/cardacceptancemethodserror.js.map +1 -0
  39. package/models/components/collectfunds.d.ts +33 -0
  40. package/models/components/collectfunds.d.ts.map +1 -0
  41. package/models/components/collectfunds.js +73 -0
  42. package/models/components/collectfunds.js.map +1 -0
  43. package/models/components/collectfundsach.d.ts +30 -0
  44. package/models/components/collectfundsach.d.ts.map +1 -0
  45. package/models/components/collectfundsach.js +70 -0
  46. package/models/components/collectfundsach.js.map +1 -0
  47. package/models/components/collectfundsacherror.d.ts +30 -0
  48. package/models/components/collectfundsacherror.d.ts.map +1 -0
  49. package/models/components/collectfundsacherror.js +70 -0
  50. package/models/components/collectfundsacherror.js.map +1 -0
  51. package/models/components/collectfundscardpayments.d.ts +44 -0
  52. package/models/components/collectfundscardpayments.d.ts.map +1 -0
  53. package/models/components/collectfundscardpayments.js +81 -0
  54. package/models/components/collectfundscardpayments.js.map +1 -0
  55. package/models/components/collectfundscardpaymentserror.d.ts +40 -0
  56. package/models/components/collectfundscardpaymentserror.d.ts.map +1 -0
  57. package/models/components/collectfundscardpaymentserror.js +80 -0
  58. package/models/components/collectfundscardpaymentserror.js.map +1 -0
  59. package/models/components/collectfundserror.d.ts +33 -0
  60. package/models/components/collectfundserror.d.ts.map +1 -0
  61. package/models/components/collectfundserror.js +73 -0
  62. package/models/components/collectfundserror.js.map +1 -0
  63. package/models/components/createdtransfer.d.ts +5 -0
  64. package/models/components/createdtransfer.d.ts.map +1 -1
  65. package/models/components/createdtransfer.js +2 -0
  66. package/models/components/createdtransfer.js.map +1 -1
  67. package/models/components/createtransfer.d.ts +5 -0
  68. package/models/components/createtransfer.d.ts.map +1 -1
  69. package/models/components/createtransfer.js +2 -0
  70. package/models/components/createtransfer.js.map +1 -1
  71. package/models/components/estimatedactivity.d.ts +37 -0
  72. package/models/components/estimatedactivity.d.ts.map +1 -0
  73. package/models/components/estimatedactivity.js +74 -0
  74. package/models/components/estimatedactivity.js.map +1 -0
  75. package/models/components/estimatedactivityerror.d.ts +33 -0
  76. package/models/components/estimatedactivityerror.d.ts.map +1 -0
  77. package/models/components/estimatedactivityerror.js +73 -0
  78. package/models/components/estimatedactivityerror.js.map +1 -0
  79. package/models/components/fulfillment.d.ts +33 -0
  80. package/models/components/fulfillment.d.ts.map +1 -0
  81. package/models/components/fulfillment.js +73 -0
  82. package/models/components/fulfillment.js.map +1 -0
  83. package/models/components/fulfillmenterror.d.ts +31 -0
  84. package/models/components/fulfillmenterror.d.ts.map +1 -0
  85. package/models/components/fulfillmenterror.js +71 -0
  86. package/models/components/fulfillmenterror.js.map +1 -0
  87. package/models/components/fulfillmentmethod.d.ts +49 -0
  88. package/models/components/fulfillmentmethod.d.ts.map +1 -0
  89. package/models/components/fulfillmentmethod.js +67 -0
  90. package/models/components/fulfillmentmethod.js.map +1 -0
  91. package/models/components/fulfillmenttimeframe.d.ts +46 -0
  92. package/models/components/fulfillmenttimeframe.d.ts.map +1 -0
  93. package/models/components/fulfillmenttimeframe.js +66 -0
  94. package/models/components/fulfillmenttimeframe.js.map +1 -0
  95. package/models/components/geographicreach.d.ts +31 -0
  96. package/models/components/geographicreach.d.ts.map +1 -0
  97. package/models/components/geographicreach.js +61 -0
  98. package/models/components/geographicreach.js.map +1 -0
  99. package/models/components/index.d.ts +36 -0
  100. package/models/components/index.d.ts.map +1 -1
  101. package/models/components/index.js +36 -0
  102. package/models/components/index.js.map +1 -1
  103. package/models/components/moneytransfer.d.ts +33 -0
  104. package/models/components/moneytransfer.d.ts.map +1 -0
  105. package/models/components/moneytransfer.js +73 -0
  106. package/models/components/moneytransfer.js.map +1 -0
  107. package/models/components/moneytransfererror.d.ts +33 -0
  108. package/models/components/moneytransfererror.d.ts.map +1 -0
  109. package/models/components/moneytransfererror.js +73 -0
  110. package/models/components/moneytransfererror.js.map +1 -0
  111. package/models/components/moneytransferpullfromcard.d.ts +30 -0
  112. package/models/components/moneytransferpullfromcard.d.ts.map +1 -0
  113. package/models/components/moneytransferpullfromcard.js +70 -0
  114. package/models/components/moneytransferpullfromcard.js.map +1 -0
  115. package/models/components/moneytransferpullfromcarderror.d.ts +30 -0
  116. package/models/components/moneytransferpullfromcarderror.d.ts.map +1 -0
  117. package/models/components/moneytransferpullfromcarderror.js +70 -0
  118. package/models/components/moneytransferpullfromcarderror.js.map +1 -0
  119. package/models/components/moneytransferpushtocard.d.ts +30 -0
  120. package/models/components/moneytransferpushtocard.d.ts.map +1 -0
  121. package/models/components/moneytransferpushtocard.js +70 -0
  122. package/models/components/moneytransferpushtocard.js.map +1 -0
  123. package/models/components/moneytransferpushtocarderror.d.ts +30 -0
  124. package/models/components/moneytransferpushtocarderror.d.ts.map +1 -0
  125. package/models/components/moneytransferpushtocarderror.js +70 -0
  126. package/models/components/moneytransferpushtocarderror.js.map +1 -0
  127. package/models/components/monthlyvolumerange.d.ts +52 -0
  128. package/models/components/monthlyvolumerange.d.ts.map +1 -0
  129. package/models/components/monthlyvolumerange.js +69 -0
  130. package/models/components/monthlyvolumerange.js.map +1 -0
  131. package/models/components/pendinglitigation.d.ts +52 -0
  132. package/models/components/pendinglitigation.d.ts.map +1 -0
  133. package/models/components/pendinglitigation.js +68 -0
  134. package/models/components/pendinglitigation.js.map +1 -0
  135. package/models/components/refundpolicy.d.ts +49 -0
  136. package/models/components/refundpolicy.d.ts.map +1 -0
  137. package/models/components/refundpolicy.js +67 -0
  138. package/models/components/refundpolicy.js.map +1 -0
  139. package/models/components/sendfunds.d.ts +36 -0
  140. package/models/components/sendfunds.d.ts.map +1 -0
  141. package/models/components/sendfunds.js +76 -0
  142. package/models/components/sendfunds.js.map +1 -0
  143. package/models/components/sendfundsach.d.ts +30 -0
  144. package/models/components/sendfundsach.d.ts.map +1 -0
  145. package/models/components/sendfundsach.js +70 -0
  146. package/models/components/sendfundsach.js.map +1 -0
  147. package/models/components/sendfundsacherror.d.ts +30 -0
  148. package/models/components/sendfundsacherror.d.ts.map +1 -0
  149. package/models/components/sendfundsacherror.js +70 -0
  150. package/models/components/sendfundsacherror.js.map +1 -0
  151. package/models/components/sendfundserror.d.ts +36 -0
  152. package/models/components/sendfundserror.d.ts.map +1 -0
  153. package/models/components/sendfundserror.js +76 -0
  154. package/models/components/sendfundserror.js.map +1 -0
  155. package/models/components/sendfundspushtocard.d.ts +30 -0
  156. package/models/components/sendfundspushtocard.d.ts.map +1 -0
  157. package/models/components/sendfundspushtocard.js +70 -0
  158. package/models/components/sendfundspushtocard.js.map +1 -0
  159. package/models/components/sendfundspushtocarderror.d.ts +30 -0
  160. package/models/components/sendfundspushtocarderror.d.ts.map +1 -0
  161. package/models/components/sendfundspushtocarderror.js +70 -0
  162. package/models/components/sendfundspushtocarderror.js.map +1 -0
  163. package/models/components/sendfundsrtp.d.ts +30 -0
  164. package/models/components/sendfundsrtp.d.ts.map +1 -0
  165. package/models/components/sendfundsrtp.js +70 -0
  166. package/models/components/sendfundsrtp.js.map +1 -0
  167. package/models/components/sendfundsrtperror.d.ts +30 -0
  168. package/models/components/sendfundsrtperror.d.ts.map +1 -0
  169. package/models/components/sendfundsrtperror.js +70 -0
  170. package/models/components/sendfundsrtperror.js.map +1 -0
  171. package/models/components/transfer.d.ts +5 -0
  172. package/models/components/transfer.d.ts.map +1 -1
  173. package/models/components/transfer.js +2 -0
  174. package/models/components/transfer.js.map +1 -1
  175. package/models/components/underwriting.d.ts +35 -14
  176. package/models/components/underwriting.d.ts.map +1 -1
  177. package/models/components/underwriting.js +36 -14
  178. package/models/components/underwriting.js.map +1 -1
  179. package/models/components/upsertunderwriting.d.ts +48 -0
  180. package/models/components/upsertunderwriting.d.ts.map +1 -0
  181. package/models/components/upsertunderwriting.js +89 -0
  182. package/models/components/upsertunderwriting.js.map +1 -0
  183. package/models/components/volumesharebycustomertype.d.ts +33 -0
  184. package/models/components/volumesharebycustomertype.d.ts.map +1 -0
  185. package/models/components/volumesharebycustomertype.js +73 -0
  186. package/models/components/volumesharebycustomertype.js.map +1 -0
  187. package/models/components/volumesharebycustomertypeerror.d.ts +33 -0
  188. package/models/components/volumesharebycustomertypeerror.d.ts.map +1 -0
  189. package/models/components/volumesharebycustomertypeerror.js +73 -0
  190. package/models/components/volumesharebycustomertypeerror.js.map +1 -0
  191. package/models/components/webhookdatacapabilityrequested.d.ts +1 -1
  192. package/models/components/webhookdatacapabilityupdated.d.ts +1 -1
  193. package/models/components/webhookdatatransfercreated.d.ts +2 -0
  194. package/models/components/webhookdatatransfercreated.d.ts.map +1 -1
  195. package/models/components/webhookdatatransfercreated.js +2 -0
  196. package/models/components/webhookdatatransfercreated.js.map +1 -1
  197. package/models/components/webhookdatatransferupdated.d.ts +2 -0
  198. package/models/components/webhookdatatransferupdated.d.ts.map +1 -1
  199. package/models/components/webhookdatatransferupdated.js +2 -0
  200. package/models/components/webhookdatatransferupdated.js.map +1 -1
  201. package/models/errors/index.d.ts +1 -0
  202. package/models/errors/index.d.ts.map +1 -1
  203. package/models/errors/index.js +1 -0
  204. package/models/errors/index.js.map +1 -1
  205. package/models/errors/transfer.d.ts +9 -0
  206. package/models/errors/transfer.d.ts.map +1 -1
  207. package/models/errors/transfer.js +4 -0
  208. package/models/errors/transfer.js.map +1 -1
  209. package/models/errors/upsertunderwritingerror.d.ts +73 -0
  210. package/models/errors/upsertunderwritingerror.d.ts.map +1 -0
  211. package/models/errors/upsertunderwritingerror.js +150 -0
  212. package/models/errors/upsertunderwritingerror.js.map +1 -0
  213. package/models/operations/disablecapability.d.ts +1 -1
  214. package/models/operations/getcapability.d.ts +1 -1
  215. package/models/operations/index.d.ts +1 -0
  216. package/models/operations/index.d.ts.map +1 -1
  217. package/models/operations/index.js +1 -0
  218. package/models/operations/index.js.map +1 -1
  219. package/models/operations/listtransfers.d.ts +5 -0
  220. package/models/operations/listtransfers.d.ts.map +1 -1
  221. package/models/operations/listtransfers.js +2 -0
  222. package/models/operations/listtransfers.js.map +1 -1
  223. package/models/operations/saveunderwriting.d.ts +101 -0
  224. package/models/operations/saveunderwriting.d.ts.map +1 -0
  225. package/models/operations/saveunderwriting.js +155 -0
  226. package/models/operations/saveunderwriting.js.map +1 -0
  227. package/package.json +1 -1
  228. package/sdk/underwriting.d.ts +9 -0
  229. package/sdk/underwriting.d.ts.map +1 -1
  230. package/sdk/underwriting.js +12 -0
  231. package/sdk/underwriting.js.map +1 -1
  232. package/src/__tests__/mockserver/README.md +52 -0
  233. package/src/funcs/transfersList.ts +1 -0
  234. package/src/funcs/underwritingSave.ts +207 -0
  235. package/src/lib/config.ts +3 -3
  236. package/src/mcp-server/mcp-server.ts +1 -1
  237. package/src/mcp-server/server.ts +3 -1
  238. package/src/mcp-server/tools/underwritingSave.ts +40 -0
  239. package/src/models/components/businesspresence.ts +37 -0
  240. package/src/models/components/capability.ts +1 -1
  241. package/src/models/components/capabilityid.ts +12 -2
  242. package/src/models/components/cardacceptancemethods.ts +86 -0
  243. package/src/models/components/cardacceptancemethodserror.ts +74 -0
  244. package/src/models/components/collectfunds.ts +78 -0
  245. package/src/models/components/collectfundsach.ts +70 -0
  246. package/src/models/components/collectfundsacherror.ts +72 -0
  247. package/src/models/components/collectfundscardpayments.ts +108 -0
  248. package/src/models/components/collectfundscardpaymentserror.ts +102 -0
  249. package/src/models/components/collectfundserror.ts +82 -0
  250. package/src/models/components/createdtransfer.ts +7 -0
  251. package/src/models/components/createtransfer.ts +7 -0
  252. package/src/models/components/estimatedactivity.ts +82 -0
  253. package/src/models/components/estimatedactivityerror.ts +74 -0
  254. package/src/models/components/fulfillment.ts +76 -0
  255. package/src/models/components/fulfillmenterror.ts +70 -0
  256. package/src/models/components/fulfillmentmethod.ts +40 -0
  257. package/src/models/components/fulfillmenttimeframe.ts +39 -0
  258. package/src/models/components/geographicreach.ts +34 -0
  259. package/src/models/components/index.ts +36 -0
  260. package/src/models/components/moneytransfer.ts +78 -0
  261. package/src/models/components/moneytransfererror.ts +82 -0
  262. package/src/models/components/moneytransferpullfromcard.ts +72 -0
  263. package/src/models/components/moneytransferpullfromcarderror.ts +74 -0
  264. package/src/models/components/moneytransferpushtocard.ts +72 -0
  265. package/src/models/components/moneytransferpushtocarderror.ts +74 -0
  266. package/src/models/components/monthlyvolumerange.ts +45 -0
  267. package/src/models/components/pendinglitigation.ts +42 -0
  268. package/src/models/components/refundpolicy.ts +38 -0
  269. package/src/models/components/sendfunds.ts +88 -0
  270. package/src/models/components/sendfundsach.ts +68 -0
  271. package/src/models/components/sendfundsacherror.ts +72 -0
  272. package/src/models/components/sendfundserror.ts +88 -0
  273. package/src/models/components/sendfundspushtocard.ts +72 -0
  274. package/src/models/components/sendfundspushtocarderror.ts +72 -0
  275. package/src/models/components/sendfundsrtp.ts +68 -0
  276. package/src/models/components/sendfundsrtperror.ts +72 -0
  277. package/src/models/components/transfer.ts +7 -0
  278. package/src/models/components/underwriting.ts +96 -28
  279. package/src/models/components/upsertunderwriting.ts +130 -0
  280. package/src/models/components/volumesharebycustomertype.ts +74 -0
  281. package/src/models/components/volumesharebycustomertypeerror.ts +76 -0
  282. package/src/models/components/webhookdatacapabilityrequested.ts +1 -1
  283. package/src/models/components/webhookdatacapabilityupdated.ts +1 -1
  284. package/src/models/components/webhookdatatransfercreated.ts +4 -0
  285. package/src/models/components/webhookdatatransferupdated.ts +4 -0
  286. package/src/models/errors/index.ts +1 -0
  287. package/src/models/errors/transfer.ts +12 -0
  288. package/src/models/errors/upsertunderwritingerror.ts +185 -0
  289. package/src/models/operations/disablecapability.ts +1 -1
  290. package/src/models/operations/getcapability.ts +1 -1
  291. package/src/models/operations/index.ts +1 -0
  292. package/src/models/operations/listtransfers.ts +7 -0
  293. package/src/models/operations/saveunderwriting.ts +231 -0
  294. 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.5",
34250
- genVersion: "2.632.1",
34251
- userAgent: "speakeasy-sdk/typescript 0.12.5 2.632.1 latest @moovio/sdk"
34249
+ sdkVersion: "0.13.0",
34250
+ genVersion: "2.638.5",
34251
+ userAgent: "speakeasy-sdk/typescript 0.13.0 2.638.5 latest @moovio/sdk"
34252
34252
  };
34253
34253
  });
34254
34254
 
@@ -36925,10 +36925,20 @@ var init_capabilityid = __esm(() => {
36925
36925
  CapabilityID = {
36926
36926
  Transfers: "transfers",
36927
36927
  SendFunds: "send-funds",
36928
+ SendFundsPushToCard: "send-funds.push-to-card",
36929
+ MoneyTransferPushToCard: "money-transfer.push-to-card",
36930
+ SendFundsAch: "send-funds.ach",
36931
+ SendFundsRtp: "send-funds.rtp",
36928
36932
  CollectFunds: "collect-funds",
36933
+ CollectFundsCardPayments: "collect-funds.card-payments",
36934
+ MoneyTransferPullFromCard: "money-transfer.pull-from-card",
36935
+ CollectFundsAch: "collect-funds.ach",
36929
36936
  Wallet: "wallet",
36937
+ WalletBalance: "wallet.balance",
36930
36938
  CardIssuing: "card-issuing",
36931
- ProductionApp: "production-app"
36939
+ ProductionApp: "production-app",
36940
+ PlatformProductionApp: "platform.production-app",
36941
+ PlatformWalletTransfers: "platform.wallet-transfers"
36932
36942
  };
36933
36943
  CapabilityID$inboundSchema = nativeEnumType(CapabilityID);
36934
36944
  CapabilityID$outboundSchema = CapabilityID$inboundSchema;
@@ -38067,6 +38077,26 @@ var init_brandproperties = __esm(() => {
38067
38077
  })(BrandProperties$ ||= {});
38068
38078
  });
38069
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
+
38070
38100
  // src/models/components/calltoaction.ts
38071
38101
  var CallToAction, CallToAction$inboundSchema, CallToAction$outboundSchema, CallToAction$;
38072
38102
  var init_calltoaction = __esm(() => {
@@ -38526,6 +38556,46 @@ var init_card = __esm(() => {
38526
38556
  })(Card$ ||= {});
38527
38557
  });
38528
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
+
38529
38599
  // src/models/components/cardacquiringdispute.ts
38530
38600
  var CardAcquiringDispute$inboundSchema, CardAcquiringDispute$outboundSchema, CardAcquiringDispute$;
38531
38601
  var init_cardacquiringdispute = __esm(() => {
@@ -39056,6 +39126,304 @@ var init_cardvolumedistributionerror = __esm(() => {
39056
39126
  })(CardVolumeDistributionError$ ||= {});
39057
39127
  });
39058
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
+
39059
39427
  // src/models/components/collectionpaymentmethodtype.ts
39060
39428
  var CollectionPaymentMethodType, CollectionPaymentMethodType$inboundSchema, CollectionPaymentMethodType$outboundSchema, CollectionPaymentMethodType$;
39061
39429
  var init_collectionpaymentmethodtype = __esm(() => {
@@ -40173,7 +40541,8 @@ var init_createdtransfer = __esm(() => {
40173
40541
  scheduleID: stringType().optional(),
40174
40542
  occurrenceID: stringType().optional(),
40175
40543
  paymentLinkCode: stringType().optional(),
40176
- salesTaxAmount: Amount$inboundSchema.optional()
40544
+ salesTaxAmount: Amount$inboundSchema.optional(),
40545
+ foreignID: stringType().optional()
40177
40546
  });
40178
40547
  CreatedTransfer$outboundSchema = objectType({
40179
40548
  transferID: stringType(),
@@ -40200,7 +40569,8 @@ var init_createdtransfer = __esm(() => {
40200
40569
  scheduleID: stringType().optional(),
40201
40570
  occurrenceID: stringType().optional(),
40202
40571
  paymentLinkCode: stringType().optional(),
40203
- salesTaxAmount: Amount$outboundSchema.optional()
40572
+ salesTaxAmount: Amount$outboundSchema.optional(),
40573
+ foreignID: stringType().optional()
40204
40574
  });
40205
40575
  ((CreatedTransfer$) => {
40206
40576
  CreatedTransfer$.inboundSchema = CreatedTransfer$inboundSchema;
@@ -40799,7 +41169,8 @@ var init_createtransfer = __esm(() => {
40799
41169
  facilitatorFee: FacilitatorFee$inboundSchema.optional(),
40800
41170
  description: stringType().optional(),
40801
41171
  metadata: recordType(stringType()).optional(),
40802
- salesTaxAmount: Amount$inboundSchema.optional()
41172
+ salesTaxAmount: Amount$inboundSchema.optional(),
41173
+ foreignID: stringType().optional()
40803
41174
  });
40804
41175
  CreateTransfer$outboundSchema = objectType({
40805
41176
  source: CreateTransferSource$outboundSchema,
@@ -40808,7 +41179,8 @@ var init_createtransfer = __esm(() => {
40808
41179
  facilitatorFee: FacilitatorFee$outboundSchema.optional(),
40809
41180
  description: stringType().optional(),
40810
41181
  metadata: recordType(stringType()).optional(),
40811
- salesTaxAmount: Amount$outboundSchema.optional()
41182
+ salesTaxAmount: Amount$outboundSchema.optional(),
41183
+ foreignID: stringType().optional()
40812
41184
  });
40813
41185
  ((CreateTransfer$) => {
40814
41186
  CreateTransfer$.inboundSchema = CreateTransfer$inboundSchema;
@@ -41828,6 +42200,23 @@ var init_generatedby = __esm(() => {
41828
42200
  })(GeneratedBy$ ||= {});
41829
42201
  });
41830
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
+
41831
42220
  // src/models/components/governmentiderror.ts
41832
42221
  var GovernmentIDErrorSsn$inboundSchema, GovernmentIDErrorSsn$outboundSchema, GovernmentIDErrorSsn$, GovernmentIDErrorItin$inboundSchema, GovernmentIDErrorItin$outboundSchema, GovernmentIDErrorItin$, GovernmentIDError$inboundSchema, GovernmentIDError$outboundSchema, GovernmentIDError$;
41833
42222
  var init_governmentiderror = __esm(() => {
@@ -42670,6 +43059,114 @@ var init_manualtermsofserviceupdate = __esm(() => {
42670
43059
  })(ManualTermsOfServiceUpdate$ ||= {});
42671
43060
  });
42672
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
+
42673
43170
  // src/models/components/transferparty.ts
42674
43171
  var TransferParty, TransferParty$inboundSchema, TransferParty$outboundSchema, TransferParty$;
42675
43172
  var init_transferparty = __esm(() => {
@@ -43771,6 +44268,30 @@ var init_payoutdetailserror = __esm(() => {
43771
44268
  })(PayoutDetailsError$ ||= {});
43772
44269
  });
43773
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
+
43774
44295
  // src/models/components/qrcode.ts
43775
44296
  var QRCode$inboundSchema, QRCode$outboundSchema, QRCode$;
43776
44297
  var init_qrcode = __esm(() => {
@@ -44184,6 +44705,154 @@ var init_security2 = __esm(() => {
44184
44705
  })(Security$ ||= {});
44185
44706
  });
44186
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
+
44187
44856
  // src/models/components/sweepstatus.ts
44188
44857
  var SweepStatus, SweepStatus$inboundSchema, SweepStatus$outboundSchema, SweepStatus$;
44189
44858
  var init_sweepstatus = __esm(() => {
@@ -44466,7 +45135,8 @@ var init_transfer = __esm(() => {
44466
45135
  scheduleID: stringType().optional(),
44467
45136
  occurrenceID: stringType().optional(),
44468
45137
  paymentLinkCode: stringType().optional(),
44469
- salesTaxAmount: Amount$inboundSchema.optional()
45138
+ salesTaxAmount: Amount$inboundSchema.optional(),
45139
+ foreignID: stringType().optional()
44470
45140
  });
44471
45141
  Transfer$outboundSchema = objectType({
44472
45142
  transferID: stringType(),
@@ -44494,7 +45164,8 @@ var init_transfer = __esm(() => {
44494
45164
  scheduleID: stringType().optional(),
44495
45165
  occurrenceID: stringType().optional(),
44496
45166
  paymentLinkCode: stringType().optional(),
44497
- salesTaxAmount: Amount$outboundSchema.optional()
45167
+ salesTaxAmount: Amount$outboundSchema.optional(),
45168
+ foreignID: stringType().optional()
44498
45169
  });
44499
45170
  ((Transfer$) => {
44500
45171
  Transfer$.inboundSchema = Transfer$inboundSchema;
@@ -44573,31 +45244,72 @@ var init_volumebycustomertype = __esm(() => {
44573
45244
  })(VolumeByCustomerType$ ||= {});
44574
45245
  });
44575
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
+
44576
45267
  // src/models/components/underwriting.ts
44577
45268
  var Underwriting$inboundSchema, Underwriting$outboundSchema, Underwriting$;
44578
45269
  var init_underwriting = __esm(() => {
44579
45270
  init_esm();
45271
+ init_businesspresence();
44580
45272
  init_cardvolumedistribution();
45273
+ init_collectfunds();
44581
45274
  init_fulfillmentdetails();
45275
+ init_geographicreach();
45276
+ init_moneytransfer();
45277
+ init_pendinglitigation();
45278
+ init_sendfunds();
44582
45279
  init_underwritingstatus();
44583
45280
  init_volumebycustomertype();
45281
+ init_volumesharebycustomertype();
44584
45282
  Underwriting$inboundSchema = objectType({
44585
- averageTransactionSize: numberType().int(),
44586
- maxTransactionSize: numberType().int(),
44587
- averageMonthlyTransactionVolume: numberType().int(),
44588
- status: UnderwritingStatus$inboundSchema,
44589
- volumeByCustomerType: VolumeByCustomerType$inboundSchema,
44590
- cardVolumeDistribution: CardVolumeDistribution$inboundSchema,
44591
- 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()
44592
45297
  });
44593
45298
  Underwriting$outboundSchema = objectType({
44594
- averageTransactionSize: numberType().int(),
44595
- maxTransactionSize: numberType().int(),
44596
- averageMonthlyTransactionVolume: numberType().int(),
44597
- status: UnderwritingStatus$outboundSchema,
44598
- volumeByCustomerType: VolumeByCustomerType$outboundSchema,
44599
- cardVolumeDistribution: CardVolumeDistribution$outboundSchema,
44600
- 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()
44601
45313
  });
44602
45314
  ((Underwriting$) => {
44603
45315
  Underwriting$.inboundSchema = Underwriting$inboundSchema;
@@ -45014,6 +45726,41 @@ var init_upsertschedule = __esm(() => {
45014
45726
  })(UpsertSchedule$ ||= {});
45015
45727
  });
45016
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
+
45017
45764
  // src/models/components/volumebycustomertypeerror.ts
45018
45765
  var VolumeByCustomerTypeError$inboundSchema, VolumeByCustomerTypeError$outboundSchema, VolumeByCustomerTypeError$;
45019
45766
  var init_volumebycustomertypeerror = __esm(() => {
@@ -45032,6 +45779,26 @@ var init_volumebycustomertypeerror = __esm(() => {
45032
45779
  })(VolumeByCustomerTypeError$ ||= {});
45033
45780
  });
45034
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
+
45035
45802
  // src/models/components/walletavailablebalance.ts
45036
45803
  var WalletAvailableBalance$inboundSchema, WalletAvailableBalance$outboundSchema, WalletAvailableBalance$;
45037
45804
  var init_walletavailablebalance = __esm(() => {
@@ -45754,12 +46521,14 @@ var init_webhookdatatransfercreated = __esm(() => {
45754
46521
  WebhookDataTransferCreated$inboundSchema = objectType({
45755
46522
  accountID: stringType(),
45756
46523
  transferID: stringType(),
45757
- status: WebhookDataTransferStatus$inboundSchema
46524
+ status: WebhookDataTransferStatus$inboundSchema,
46525
+ foreignID: stringType().optional()
45758
46526
  });
45759
46527
  WebhookDataTransferCreated$outboundSchema = objectType({
45760
46528
  accountID: stringType(),
45761
46529
  transferID: stringType(),
45762
- status: WebhookDataTransferStatus$outboundSchema
46530
+ status: WebhookDataTransferStatus$outboundSchema,
46531
+ foreignID: stringType().optional()
45763
46532
  });
45764
46533
  ((WebhookDataTransferCreated$) => {
45765
46534
  WebhookDataTransferCreated$.inboundSchema = WebhookDataTransferCreated$inboundSchema;
@@ -45796,14 +46565,16 @@ var init_webhookdatatransferupdated = __esm(() => {
45796
46565
  transferID: stringType(),
45797
46566
  status: WebhookDataTransferStatus$inboundSchema,
45798
46567
  source: WebhookTransferPaymentMethodDetails$inboundSchema,
45799
- destination: WebhookTransferPaymentMethodDetails$inboundSchema
46568
+ destination: WebhookTransferPaymentMethodDetails$inboundSchema,
46569
+ foreignID: stringType().optional()
45800
46570
  });
45801
46571
  WebhookDataTransferUpdated$outboundSchema = objectType({
45802
46572
  accountID: stringType(),
45803
46573
  transferID: stringType(),
45804
46574
  status: WebhookDataTransferStatus$outboundSchema,
45805
46575
  source: WebhookTransferPaymentMethodDetails$outboundSchema,
45806
- destination: WebhookTransferPaymentMethodDetails$outboundSchema
46576
+ destination: WebhookTransferPaymentMethodDetails$outboundSchema,
46577
+ foreignID: stringType().optional()
45807
46578
  });
45808
46579
  ((WebhookDataTransferUpdated$) => {
45809
46580
  WebhookDataTransferUpdated$.inboundSchema = WebhookDataTransferUpdated$inboundSchema;
@@ -46072,6 +46843,7 @@ var init_components = __esm(() => {
46072
46843
  init_brandcolors();
46073
46844
  init_brandcolorvalidationerror();
46074
46845
  init_brandproperties();
46846
+ init_businesspresence();
46075
46847
  init_businessprofile();
46076
46848
  init_businesstype();
46077
46849
  init_calltoaction();
@@ -46083,6 +46855,8 @@ var init_components = __esm(() => {
46083
46855
  init_capabilityrequirement();
46084
46856
  init_capabilitystatus();
46085
46857
  init_card();
46858
+ init_cardacceptancemethods();
46859
+ init_cardacceptancemethodserror();
46086
46860
  init_cardaccountupdater();
46087
46861
  init_cardacquiringdispute();
46088
46862
  init_cardacquiringmodel();
@@ -46106,6 +46880,12 @@ var init_components = __esm(() => {
46106
46880
  init_cardverificationresult();
46107
46881
  init_cardvolumedistribution();
46108
46882
  init_cardvolumedistributionerror();
46883
+ init_collectfunds();
46884
+ init_collectfundsach();
46885
+ init_collectfundsacherror();
46886
+ init_collectfundscardpayments();
46887
+ init_collectfundscardpaymentserror();
46888
+ init_collectfundserror();
46109
46889
  init_collectionpaymentmethodtype();
46110
46890
  init_colorsvalidationerror();
46111
46891
  init_completebankaccountverification();
@@ -46169,6 +46949,8 @@ var init_components = __esm(() => {
46169
46949
  init_enrichedindustries();
46170
46950
  init_enrichedindustrycodes();
46171
46951
  init_entrymode();
46952
+ init_estimatedactivity();
46953
+ init_estimatedactivityerror();
46172
46954
  init_evidencetextresponse();
46173
46955
  init_evidencetype();
46174
46956
  init_evidenceuploadresponse();
@@ -46184,8 +46966,12 @@ var init_components = __esm(() => {
46184
46966
  init_filestatus();
46185
46967
  init_fileuploadrequestmultipart();
46186
46968
  init_financialinstitutions();
46969
+ init_fulfillment();
46187
46970
  init_fulfillmentdetails();
46188
46971
  init_fulfillmentdetailserror();
46972
+ init_fulfillmenterror();
46973
+ init_fulfillmentmethod();
46974
+ init_fulfillmenttimeframe();
46189
46975
  init_fullissuedcard();
46190
46976
  init_generatedby();
46191
46977
  init_generatedbyaccountid();
@@ -46193,6 +46979,7 @@ var init_components = __esm(() => {
46193
46979
  init_generatedbycardid();
46194
46980
  init_generatedbydisputeid();
46195
46981
  init_generatedbytransferid();
46982
+ init_geographicreach();
46196
46983
  init_governmentid();
46197
46984
  init_governmentiderror();
46198
46985
  init_granttype();
@@ -46236,7 +47023,14 @@ var init_components = __esm(() => {
46236
47023
  init_microdepositstatus();
46237
47024
  init_minimumcommitment();
46238
47025
  init_mode();
47026
+ init_moneytransfer();
47027
+ init_moneytransfererror();
47028
+ init_moneytransferpullfromcard();
47029
+ init_moneytransferpullfromcarderror();
47030
+ init_moneytransferpushtocard();
47031
+ init_moneytransferpushtocarderror();
46239
47032
  init_monthlyplatformfee();
47033
+ init_monthlyvolumerange();
46240
47034
  init_moovfee();
46241
47035
  init_moovfeedetails();
46242
47036
  init_moovwalletpaymentmethod();
@@ -46277,6 +47071,7 @@ var init_components = __esm(() => {
46277
47071
  init_payoutrecipient();
46278
47072
  init_payoutrecipienterror();
46279
47073
  init_payoutrecipientupdate();
47074
+ init_pendinglitigation();
46280
47075
  init_phonenumber();
46281
47076
  init_phonenumbererror();
46282
47077
  init_plaidintegration();
@@ -46294,6 +47089,7 @@ var init_components = __esm(() => {
46294
47089
  init_recur();
46295
47090
  init_refundcarddetails();
46296
47091
  init_refundcardstatus();
47092
+ init_refundpolicy();
46297
47093
  init_refundstatus();
46298
47094
  init_registerapplepaymerchantdomains();
46299
47095
  init_representative();
@@ -46321,6 +47117,14 @@ var init_components = __esm(() => {
46321
47117
  init_scheduleresponse();
46322
47118
  init_seccode();
46323
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();
46324
47128
  init_sentreceipt();
46325
47129
  init_settings();
46326
47130
  init_sourcedestinationoptions();
@@ -46367,11 +47171,14 @@ var init_components = __esm(() => {
46367
47171
  init_updaterepresentative();
46368
47172
  init_updateunderwriting();
46369
47173
  init_upsertschedule();
47174
+ init_upsertunderwriting();
46370
47175
  init_verification();
46371
47176
  init_verificationstatus();
46372
47177
  init_verificationstatusdetail();
46373
47178
  init_volumebycustomertype();
46374
47179
  init_volumebycustomertypeerror();
47180
+ init_volumesharebycustomertype();
47181
+ init_volumesharebycustomertypeerror();
46375
47182
  init_wallet();
46376
47183
  init_walletavailablebalance();
46377
47184
  init_wallettransaction();
@@ -47755,6 +48562,7 @@ var init_transfer2 = __esm(() => {
47755
48562
  occurrenceID;
47756
48563
  paymentLinkCode;
47757
48564
  salesTaxAmount;
48565
+ foreignID;
47758
48566
  data$;
47759
48567
  constructor(err, httpMeta) {
47760
48568
  const message = "message" in err && typeof err.message === "string" ? err.message : `API error occurred: ${JSON.stringify(err)}`;
@@ -47806,6 +48614,8 @@ var init_transfer2 = __esm(() => {
47806
48614
  this.paymentLinkCode = err.paymentLinkCode;
47807
48615
  if (err.salesTaxAmount != null)
47808
48616
  this.salesTaxAmount = err.salesTaxAmount;
48617
+ if (err.foreignID != null)
48618
+ this.foreignID = err.foreignID;
47809
48619
  this.name = "Transfer";
47810
48620
  }
47811
48621
  };
@@ -47836,6 +48646,7 @@ var init_transfer2 = __esm(() => {
47836
48646
  occurrenceID: stringType().optional(),
47837
48647
  paymentLinkCode: stringType().optional(),
47838
48648
  salesTaxAmount: Amount$inboundSchema.optional(),
48649
+ foreignID: stringType().optional(),
47839
48650
  request$: instanceOfType(Request),
47840
48651
  response$: instanceOfType(Response),
47841
48652
  body$: stringType()
@@ -47872,7 +48683,8 @@ var init_transfer2 = __esm(() => {
47872
48683
  scheduleID: stringType().optional(),
47873
48684
  occurrenceID: stringType().optional(),
47874
48685
  paymentLinkCode: stringType().optional(),
47875
- salesTaxAmount: Amount$outboundSchema.optional()
48686
+ salesTaxAmount: Amount$outboundSchema.optional(),
48687
+ foreignID: stringType().optional()
47876
48688
  }));
47877
48689
  ((Transfer$) => {
47878
48690
  Transfer$.inboundSchema = Transfer$inboundSchema2;
@@ -48306,6 +49118,113 @@ var init_updateunderwritingerror = __esm(() => {
48306
49118
  })(UpdateUnderwritingError$ ||= {});
48307
49119
  });
48308
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
+
48309
49228
  // src/models/errors/index.ts
48310
49229
  var init_errors2 = __esm(() => {
48311
49230
  init_accountterminalapplicationerror();
@@ -48346,6 +49265,7 @@ var init_errors2 = __esm(() => {
48346
49265
  init_updateissuedcarderror();
48347
49266
  init_updatepaymentlinkerror();
48348
49267
  init_updateunderwritingerror();
49268
+ init_upsertunderwritingerror();
48349
49269
  });
48350
49270
 
48351
49271
  // src/models/operations/acceptdispute.ts
@@ -55091,6 +56011,7 @@ var init_listtransfers = __esm(() => {
55091
56011
  paymentLinkCode: stringType().optional(),
55092
56012
  refunded: booleanType().optional(),
55093
56013
  disputed: booleanType().optional(),
56014
+ foreignID: stringType().optional(),
55094
56015
  skip: numberType().int().optional(),
55095
56016
  count: numberType().int().optional(),
55096
56017
  accountID: stringType()
@@ -55105,6 +56026,7 @@ var init_listtransfers = __esm(() => {
55105
56026
  paymentLinkCode: stringType().optional(),
55106
56027
  refunded: booleanType().optional(),
55107
56028
  disputed: booleanType().optional(),
56029
+ foreignID: stringType().optional(),
55108
56030
  skip: numberType().int().optional(),
55109
56031
  count: numberType().int().optional(),
55110
56032
  accountID: stringType()
@@ -55698,6 +56620,74 @@ var init_revokeonboardinginvite = __esm(() => {
55698
56620
  })(RevokeOnboardingInviteResponse$ ||= {});
55699
56621
  });
55700
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
+
55701
56691
  // src/models/operations/searchinstitutions.ts
55702
56692
  var SearchInstitutionsGlobals$inboundSchema, SearchInstitutionsGlobals$outboundSchema, SearchInstitutionsGlobals$, SearchInstitutionsRequest$inboundSchema, SearchInstitutionsRequest$outboundSchema, SearchInstitutionsRequest$, SearchInstitutionsResponse$inboundSchema, SearchInstitutionsResponse$outboundSchema, SearchInstitutionsResponse$;
55703
56693
  var init_searchinstitutions = __esm(() => {
@@ -56899,7 +57889,7 @@ var init_upsertbrand = __esm(() => {
56899
57889
 
56900
57890
  // src/models/operations/upsertunderwriting.ts
56901
57891
  var UpsertUnderwritingGlobals$inboundSchema, UpsertUnderwritingGlobals$outboundSchema, UpsertUnderwritingGlobals$, UpsertUnderwritingRequest$inboundSchema, UpsertUnderwritingRequest$outboundSchema, UpsertUnderwritingRequest$, UpsertUnderwritingResponse$inboundSchema, UpsertUnderwritingResponse$outboundSchema, UpsertUnderwritingResponse$;
56902
- var init_upsertunderwriting = __esm(() => {
57892
+ var init_upsertunderwriting2 = __esm(() => {
56903
57893
  init_esm();
56904
57894
  init_primitives();
56905
57895
  init_components();
@@ -57085,6 +58075,7 @@ var init_operations = __esm(() => {
57085
58075
  init_retrievefees();
57086
58076
  init_revokeaccesstoken();
57087
58077
  init_revokeonboardinginvite();
58078
+ init_saveunderwriting();
57088
58079
  init_searchinstitutions();
57089
58080
  init_submitdisputeevidence();
57090
58081
  init_testendtoendtoken();
@@ -57103,7 +58094,7 @@ var init_operations = __esm(() => {
57103
58094
  init_uploaddisputeevidencetext();
57104
58095
  init_uploadfile();
57105
58096
  init_upsertbrand();
57106
- init_upsertunderwriting();
58097
+ init_upsertunderwriting2();
57107
58098
  });
57108
58099
 
57109
58100
  // src/types/async.ts
@@ -72549,6 +73540,7 @@ async function $do129(client, request, options) {
72549
73540
  count: payload.count,
72550
73541
  disputed: payload.disputed,
72551
73542
  endDateTime: payload.endDateTime,
73543
+ foreignID: payload.foreignID,
72552
73544
  groupID: payload.groupID,
72553
73545
  paymentLinkCode: payload.paymentLinkCode,
72554
73546
  refunded: payload.refunded,
@@ -73004,11 +73996,142 @@ you'll need to specify the \`/accounts/{accountID}/profile.read\` scope.`,
73004
73996
  };
73005
73997
  });
73006
73998
 
73007
- // src/funcs/underwritingUpsert.ts
73008
- function underwritingUpsert(client, request, options) {
73999
+ // src/funcs/underwritingSave.ts
74000
+ function underwritingSave(client, request, options) {
73009
74001
  return new APIPromise($do133(client, request, options));
73010
74002
  }
73011
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) {
73012
74135
  const parsed = safeParse(request, (value) => UpsertUnderwritingRequest$outboundSchema.parse(value), "Input validation failed");
73013
74136
  if (!parsed.ok) {
73014
74137
  return [parsed, { status: "invalid" }];
@@ -73104,12 +74227,12 @@ var init_underwritingUpsert = __esm(() => {
73104
74227
  });
73105
74228
 
73106
74229
  // src/mcp-server/tools/underwritingUpsert.ts
73107
- var args133, tool$underwritingUpsert;
74230
+ var args134, tool$underwritingUpsert;
73108
74231
  var init_underwritingUpsert2 = __esm(() => {
73109
74232
  init_underwritingUpsert();
73110
74233
  init_operations();
73111
74234
  init_tools();
73112
- args133 = {
74235
+ args134 = {
73113
74236
  request: UpsertUnderwritingRequest$inboundSchema
73114
74237
  };
73115
74238
  tool$underwritingUpsert = {
@@ -73120,9 +74243,9 @@ Read our [underwriting guide](https://docs.moov.io/guides/accounts/requirements/
73120
74243
 
73121
74244
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73122
74245
  you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
73123
- args: args133,
73124
- tool: async (client, args134, ctx) => {
73125
- 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();
73126
74249
  if (!result.ok) {
73127
74250
  return {
73128
74251
  content: [{ type: "text", text: result.error.message }],
@@ -73137,9 +74260,9 @@ you'll need to specify the \`/accounts/{accountID}/profile.write\` scope.`,
73137
74260
 
73138
74261
  // src/funcs/walletsGet.ts
73139
74262
  function walletsGet(client, request, options) {
73140
- return new APIPromise($do134(client, request, options));
74263
+ return new APIPromise($do135(client, request, options));
73141
74264
  }
73142
- async function $do134(client, request, options) {
74265
+ async function $do135(client, request, options) {
73143
74266
  const parsed = safeParse(request, (value) => GetWalletRequest$outboundSchema.parse(value), "Input validation failed");
73144
74267
  if (!parsed.ok) {
73145
74268
  return [parsed, { status: "invalid" }];
@@ -73221,12 +74344,12 @@ var init_walletsGet = __esm(() => {
73221
74344
  });
73222
74345
 
73223
74346
  // src/mcp-server/tools/walletsGet.ts
73224
- var args134, tool$walletsGet;
74347
+ var args135, tool$walletsGet;
73225
74348
  var init_walletsGet2 = __esm(() => {
73226
74349
  init_walletsGet();
73227
74350
  init_operations();
73228
74351
  init_tools();
73229
- args134 = {
74352
+ args135 = {
73230
74353
  request: GetWalletRequest$inboundSchema
73231
74354
  };
73232
74355
  tool$walletsGet = {
@@ -73237,9 +74360,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
73237
74360
 
73238
74361
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73239
74362
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73240
- args: args134,
73241
- tool: async (client, args135, ctx) => {
73242
- 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();
73243
74366
  if (!result.ok) {
73244
74367
  return {
73245
74368
  content: [{ type: "text", text: result.error.message }],
@@ -73254,9 +74377,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73254
74377
 
73255
74378
  // src/funcs/walletsList.ts
73256
74379
  function walletsList(client, request, options) {
73257
- return new APIPromise($do135(client, request, options));
74380
+ return new APIPromise($do136(client, request, options));
73258
74381
  }
73259
- async function $do135(client, request, options) {
74382
+ async function $do136(client, request, options) {
73260
74383
  const parsed = safeParse(request, (value) => ListWalletsRequest$outboundSchema.parse(value), "Input validation failed");
73261
74384
  if (!parsed.ok) {
73262
74385
  return [parsed, { status: "invalid" }];
@@ -73334,12 +74457,12 @@ var init_walletsList = __esm(() => {
73334
74457
  });
73335
74458
 
73336
74459
  // src/mcp-server/tools/walletsList.ts
73337
- var args135, tool$walletsList;
74460
+ var args136, tool$walletsList;
73338
74461
  var init_walletsList2 = __esm(() => {
73339
74462
  init_walletsList();
73340
74463
  init_operations();
73341
74464
  init_tools();
73342
- args135 = {
74465
+ args136 = {
73343
74466
  request: ListWalletsRequest$inboundSchema
73344
74467
  };
73345
74468
  tool$walletsList = {
@@ -73350,9 +74473,9 @@ Read our [Moov wallets guide](https://docs.moov.io/guides/sources/wallets/) to l
73350
74473
 
73351
74474
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73352
74475
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73353
- args: args135,
73354
- tool: async (client, args136, ctx) => {
73355
- 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();
73356
74479
  if (!result.ok) {
73357
74480
  return {
73358
74481
  content: [{ type: "text", text: result.error.message }],
@@ -73367,9 +74490,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73367
74490
 
73368
74491
  // src/funcs/walletTransactionsGet.ts
73369
74492
  function walletTransactionsGet(client, request, options) {
73370
- return new APIPromise($do136(client, request, options));
74493
+ return new APIPromise($do137(client, request, options));
73371
74494
  }
73372
- async function $do136(client, request, options) {
74495
+ async function $do137(client, request, options) {
73373
74496
  const parsed = safeParse(request, (value) => GetWalletTransactionRequest$outboundSchema.parse(value), "Input validation failed");
73374
74497
  if (!parsed.ok) {
73375
74498
  return [parsed, { status: "invalid" }];
@@ -73455,12 +74578,12 @@ var init_walletTransactionsGet = __esm(() => {
73455
74578
  });
73456
74579
 
73457
74580
  // src/mcp-server/tools/walletTransactionsGet.ts
73458
- var args136, tool$walletTransactionsGet;
74581
+ var args137, tool$walletTransactionsGet;
73459
74582
  var init_walletTransactionsGet2 = __esm(() => {
73460
74583
  init_walletTransactionsGet();
73461
74584
  init_operations();
73462
74585
  init_tools();
73463
- args136 = {
74586
+ args137 = {
73464
74587
  request: GetWalletTransactionRequest$inboundSchema
73465
74588
  };
73466
74589
  tool$walletTransactionsGet = {
@@ -73471,9 +74594,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
73471
74594
 
73472
74595
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73473
74596
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73474
- args: args136,
73475
- tool: async (client, args137, ctx) => {
73476
- 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();
73477
74600
  if (!result.ok) {
73478
74601
  return {
73479
74602
  content: [{ type: "text", text: result.error.message }],
@@ -73488,9 +74611,9 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73488
74611
 
73489
74612
  // src/funcs/walletTransactionsList.ts
73490
74613
  function walletTransactionsList(client, request, options) {
73491
- return new APIPromise($do137(client, request, options));
74614
+ return new APIPromise($do138(client, request, options));
73492
74615
  }
73493
- async function $do137(client, request, options) {
74616
+ async function $do138(client, request, options) {
73494
74617
  const parsed = safeParse(request, (value) => ListWalletTransactionsRequest$outboundSchema.parse(value), "Input validation failed");
73495
74618
  if (!parsed.ok) {
73496
74619
  return [parsed, { status: "invalid" }];
@@ -73587,12 +74710,12 @@ var init_walletTransactionsList = __esm(() => {
73587
74710
  });
73588
74711
 
73589
74712
  // src/mcp-server/tools/walletTransactionsList.ts
73590
- var args137, tool$walletTransactionsList;
74713
+ var args138, tool$walletTransactionsList;
73591
74714
  var init_walletTransactionsList2 = __esm(() => {
73592
74715
  init_walletTransactionsList();
73593
74716
  init_operations();
73594
74717
  init_tools();
73595
- args137 = {
74718
+ args138 = {
73596
74719
  request: ListWalletTransactionsRequest$inboundSchema
73597
74720
  };
73598
74721
  tool$walletTransactionsList = {
@@ -73603,9 +74726,9 @@ Read our [wallet transactions guide](https://docs.moov.io/guides/sources/wallets
73603
74726
 
73604
74727
  To access this endpoint using an [access token](https://docs.moov.io/api/authentication/access-tokens/)
73605
74728
  you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73606
- args: args137,
73607
- tool: async (client, args138, ctx) => {
73608
- 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();
73609
74732
  if (!result.ok) {
73610
74733
  return {
73611
74734
  content: [{ type: "text", text: result.error.message }],
@@ -73622,7 +74745,7 @@ you'll need to specify the \`/accounts/{accountID}/wallets.read\` scope.`,
73622
74745
  function createMCPServer(deps) {
73623
74746
  const server = new McpServer({
73624
74747
  name: "Moov",
73625
- version: "0.12.5"
74748
+ version: "0.13.0"
73626
74749
  });
73627
74750
  const client = new MoovCore({
73628
74751
  security: deps.security,
@@ -73738,6 +74861,7 @@ function createMCPServer(deps) {
73738
74861
  tool(tool$transfersCreateReversal);
73739
74862
  tool(tool$transfersGenerateOptions);
73740
74863
  tool(tool$underwritingGet);
74864
+ tool(tool$underwritingSave);
73741
74865
  tool(tool$underwritingUpsert);
73742
74866
  tool(tool$walletsList);
73743
74867
  tool(tool$walletsGet);
@@ -73913,6 +75037,7 @@ var init_server2 = __esm(() => {
73913
75037
  init_transfersListRefunds2();
73914
75038
  init_transfersUpdate2();
73915
75039
  init_underwritingGet2();
75040
+ init_underwritingSave2();
73916
75041
  init_underwritingUpsert2();
73917
75042
  init_walletsGet2();
73918
75043
  init_walletsList2();
@@ -75136,7 +76261,7 @@ var routes = rn({
75136
76261
  var app = Ve(routes, {
75137
76262
  name: "mcp",
75138
76263
  versionInfo: {
75139
- currentVersion: "0.12.5"
76264
+ currentVersion: "0.13.0"
75140
76265
  }
75141
76266
  });
75142
76267
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -75144,5 +76269,5 @@ export {
75144
76269
  app
75145
76270
  };
75146
76271
 
75147
- //# debugId=8F52E6348C6AAF2E64756E2164756E21
76272
+ //# debugId=97E1772EF1221D8764756E2164756E21
75148
76273
  //# sourceMappingURL=mcp-server.js.map