mollie-api-typescript 0.2.0 → 0.2.2

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 (1003) hide show
  1. package/bin/mcp-server.js +1758 -1070
  2. package/bin/mcp-server.js.map +116 -55
  3. package/dist/commonjs/lib/config.d.ts +3 -3
  4. package/dist/commonjs/lib/config.js +3 -3
  5. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  6. package/dist/commonjs/mcp-server/server.js +1 -1
  7. package/dist/commonjs/models/balancereportgrouping.d.ts +22 -0
  8. package/dist/commonjs/models/balancereportgrouping.d.ts.map +1 -0
  9. package/dist/commonjs/models/balancereportgrouping.js +68 -0
  10. package/dist/commonjs/models/balancereportgrouping.js.map +1 -0
  11. package/dist/commonjs/models/balancestatus.d.ts +28 -0
  12. package/dist/commonjs/models/balancestatus.d.ts.map +1 -0
  13. package/dist/commonjs/models/balancestatus.js +71 -0
  14. package/dist/commonjs/models/balancestatus.js.map +1 -0
  15. package/dist/commonjs/models/balancetransactiontype.d.ts +66 -0
  16. package/dist/commonjs/models/balancetransactiontype.d.ts.map +1 -0
  17. package/dist/commonjs/models/balancetransactiontype.js +112 -0
  18. package/dist/commonjs/models/balancetransactiontype.js.map +1 -0
  19. package/dist/commonjs/models/balancetransferdestinationtype.d.ts +35 -0
  20. package/dist/commonjs/models/balancetransferdestinationtype.d.ts.map +1 -0
  21. package/dist/commonjs/models/balancetransferdestinationtype.js +74 -0
  22. package/dist/commonjs/models/balancetransferdestinationtype.js.map +1 -0
  23. package/dist/commonjs/models/balancetransferfrequency.d.ts +44 -0
  24. package/dist/commonjs/models/balancetransferfrequency.d.ts.map +1 -0
  25. package/dist/commonjs/models/balancetransferfrequency.js +82 -0
  26. package/dist/commonjs/models/balancetransferfrequency.js.map +1 -0
  27. package/dist/commonjs/models/capabilityrequirementstatus.d.ts +35 -0
  28. package/dist/commonjs/models/capabilityrequirementstatus.d.ts.map +1 -0
  29. package/dist/commonjs/models/capabilityrequirementstatus.js +75 -0
  30. package/dist/commonjs/models/capabilityrequirementstatus.js.map +1 -0
  31. package/dist/commonjs/models/capabilitystatus.d.ts +24 -0
  32. package/dist/commonjs/models/capabilitystatus.d.ts.map +1 -0
  33. package/dist/commonjs/models/capabilitystatus.js +70 -0
  34. package/dist/commonjs/models/capabilitystatus.js.map +1 -0
  35. package/dist/commonjs/models/capabilitystatusreason.d.ts +22 -0
  36. package/dist/commonjs/models/capabilitystatusreason.d.ts.map +1 -0
  37. package/dist/commonjs/models/capabilitystatusreason.js +68 -0
  38. package/dist/commonjs/models/capabilitystatusreason.js.map +1 -0
  39. package/dist/commonjs/models/captureresponse.d.ts +2 -36
  40. package/dist/commonjs/models/captureresponse.d.ts.map +1 -1
  41. package/dist/commonjs/models/captureresponse.js +4 -26
  42. package/dist/commonjs/models/captureresponse.js.map +1 -1
  43. package/dist/commonjs/models/capturestatus.d.ts +29 -0
  44. package/dist/commonjs/models/capturestatus.d.ts.map +1 -0
  45. package/dist/commonjs/models/capturestatus.js +72 -0
  46. package/dist/commonjs/models/capturestatus.js.map +1 -0
  47. package/dist/commonjs/models/createwebhook.d.ts +2 -36
  48. package/dist/commonjs/models/createwebhook.d.ts.map +1 -1
  49. package/dist/commonjs/models/createwebhook.js +4 -26
  50. package/dist/commonjs/models/createwebhook.js.map +1 -1
  51. package/dist/commonjs/models/customerresponse.d.ts +2 -2
  52. package/dist/commonjs/models/customerresponse.d.ts.map +1 -1
  53. package/dist/commonjs/models/customerresponse.js +2 -2
  54. package/dist/commonjs/models/customerresponse.js.map +1 -1
  55. package/dist/commonjs/models/entitybalance.d.ts +6 -130
  56. package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
  57. package/dist/commonjs/models/entitybalance.js +10 -87
  58. package/dist/commonjs/models/entitybalance.js.map +1 -1
  59. package/dist/commonjs/models/entitybalancereport.d.ts +2 -66
  60. package/dist/commonjs/models/entitybalancereport.d.ts.map +1 -1
  61. package/dist/commonjs/models/entitybalancereport.js +4 -36
  62. package/dist/commonjs/models/entitybalancereport.js.map +1 -1
  63. package/dist/commonjs/models/entitybalancetransaction.d.ts +2 -195
  64. package/dist/commonjs/models/entitybalancetransaction.d.ts.map +1 -1
  65. package/dist/commonjs/models/entitybalancetransaction.js +5 -80
  66. package/dist/commonjs/models/entitybalancetransaction.js.map +1 -1
  67. package/dist/commonjs/models/entitycapability.d.ts +5 -60
  68. package/dist/commonjs/models/entitycapability.d.ts.map +1 -1
  69. package/dist/commonjs/models/entitycapability.js +7 -45
  70. package/dist/commonjs/models/entitycapability.js.map +1 -1
  71. package/dist/commonjs/models/entitycapabilityrequirement.d.ts +2 -42
  72. package/dist/commonjs/models/entitycapabilityrequirement.d.ts.map +1 -1
  73. package/dist/commonjs/models/entitycapabilityrequirement.js +4 -29
  74. package/dist/commonjs/models/entitycapabilityrequirement.js.map +1 -1
  75. package/dist/commonjs/models/entitycapture.d.ts +6 -0
  76. package/dist/commonjs/models/entitycapture.d.ts.map +1 -1
  77. package/dist/commonjs/models/entitycapture.js +3 -0
  78. package/dist/commonjs/models/entitycapture.js.map +1 -1
  79. package/dist/commonjs/models/entityclientlink.d.ts +2 -2
  80. package/dist/commonjs/models/entityclientlink.d.ts.map +1 -1
  81. package/dist/commonjs/models/entityclientlink.js +2 -2
  82. package/dist/commonjs/models/entityclientlink.js.map +1 -1
  83. package/dist/commonjs/models/entitycustomer.d.ts +2 -2
  84. package/dist/commonjs/models/entitycustomer.d.ts.map +1 -1
  85. package/dist/commonjs/models/entitycustomer.js +2 -2
  86. package/dist/commonjs/models/entitycustomer.js.map +1 -1
  87. package/dist/commonjs/models/entityinvoice.d.ts +2 -54
  88. package/dist/commonjs/models/entityinvoice.d.ts.map +1 -1
  89. package/dist/commonjs/models/entityinvoice.js +4 -32
  90. package/dist/commonjs/models/entityinvoice.js.map +1 -1
  91. package/dist/commonjs/models/entitymandate.d.ts +11 -44
  92. package/dist/commonjs/models/entitymandate.d.ts.map +1 -1
  93. package/dist/commonjs/models/entitymandate.js +7 -30
  94. package/dist/commonjs/models/entitymandate.js.map +1 -1
  95. package/dist/commonjs/models/entitymethod.d.ts +2 -42
  96. package/dist/commonjs/models/entitymethod.d.ts.map +1 -1
  97. package/dist/commonjs/models/entitymethod.js +4 -28
  98. package/dist/commonjs/models/entitymethod.js.map +1 -1
  99. package/dist/commonjs/models/entitymethodall.d.ts +2 -42
  100. package/dist/commonjs/models/entitymethodall.d.ts.map +1 -1
  101. package/dist/commonjs/models/entitymethodall.js +4 -28
  102. package/dist/commonjs/models/entitymethodall.js.map +1 -1
  103. package/dist/commonjs/models/entityonboardingstatus.d.ts +2 -54
  104. package/dist/commonjs/models/entityonboardingstatus.d.ts.map +1 -1
  105. package/dist/commonjs/models/entityonboardingstatus.js +4 -32
  106. package/dist/commonjs/models/entityonboardingstatus.js.map +1 -1
  107. package/dist/commonjs/models/entityorganization.d.ts +4 -48
  108. package/dist/commonjs/models/entityorganization.d.ts.map +1 -1
  109. package/dist/commonjs/models/entityorganization.js +7 -33
  110. package/dist/commonjs/models/entityorganization.js.map +1 -1
  111. package/dist/commonjs/models/entitypaymentroute.d.ts +2 -30
  112. package/dist/commonjs/models/entitypaymentroute.d.ts.map +1 -1
  113. package/dist/commonjs/models/entitypaymentroute.js +4 -24
  114. package/dist/commonjs/models/entitypaymentroute.js.map +1 -1
  115. package/dist/commonjs/models/entitypaymentrouteresponse.d.ts +2 -30
  116. package/dist/commonjs/models/entitypaymentrouteresponse.d.ts.map +1 -1
  117. package/dist/commonjs/models/entitypaymentrouteresponse.js +4 -24
  118. package/dist/commonjs/models/entitypaymentrouteresponse.js.map +1 -1
  119. package/dist/commonjs/models/entityprofile.d.ts +12 -0
  120. package/dist/commonjs/models/entityprofile.d.ts.map +1 -1
  121. package/dist/commonjs/models/entityprofile.js +3 -0
  122. package/dist/commonjs/models/entityprofile.js.map +1 -1
  123. package/dist/commonjs/models/entityprofileresponse.d.ts +4 -80
  124. package/dist/commonjs/models/entityprofileresponse.d.ts.map +1 -1
  125. package/dist/commonjs/models/entityprofileresponse.js +7 -56
  126. package/dist/commonjs/models/entityprofileresponse.js.map +1 -1
  127. package/dist/commonjs/models/entityrefund.d.ts +7 -59
  128. package/dist/commonjs/models/entityrefund.d.ts.map +1 -1
  129. package/dist/commonjs/models/entityrefund.js +10 -47
  130. package/dist/commonjs/models/entityrefund.js.map +1 -1
  131. package/dist/commonjs/models/entityrefundresponse.d.ts +10 -77
  132. package/dist/commonjs/models/entityrefundresponse.d.ts.map +1 -1
  133. package/dist/commonjs/models/entityrefundresponse.js +10 -52
  134. package/dist/commonjs/models/entityrefundresponse.js.map +1 -1
  135. package/dist/commonjs/models/entitysalesinvoice.d.ts +8 -181
  136. package/dist/commonjs/models/entitysalesinvoice.d.ts.map +1 -1
  137. package/dist/commonjs/models/entitysalesinvoice.js +13 -122
  138. package/dist/commonjs/models/entitysalesinvoice.js.map +1 -1
  139. package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts +8 -181
  140. package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts.map +1 -1
  141. package/dist/commonjs/models/entitysalesinvoiceresponse.js +13 -120
  142. package/dist/commonjs/models/entitysalesinvoiceresponse.js.map +1 -1
  143. package/dist/commonjs/models/entitysettlement.d.ts +2 -39
  144. package/dist/commonjs/models/entitysettlement.d.ts.map +1 -1
  145. package/dist/commonjs/models/entitysettlement.js +4 -27
  146. package/dist/commonjs/models/entitysettlement.js.map +1 -1
  147. package/dist/commonjs/models/entityterminal.d.ts +4 -68
  148. package/dist/commonjs/models/entityterminal.d.ts.map +1 -1
  149. package/dist/commonjs/models/entityterminal.js +7 -50
  150. package/dist/commonjs/models/entityterminal.js.map +1 -1
  151. package/dist/commonjs/models/entitywebhook.d.ts +2 -39
  152. package/dist/commonjs/models/entitywebhook.d.ts.map +1 -1
  153. package/dist/commonjs/models/entitywebhook.js +4 -27
  154. package/dist/commonjs/models/entitywebhook.js.map +1 -1
  155. package/dist/commonjs/models/index.d.ts +61 -0
  156. package/dist/commonjs/models/index.d.ts.map +1 -1
  157. package/dist/commonjs/models/index.js +61 -0
  158. package/dist/commonjs/models/index.js.map +1 -1
  159. package/dist/commonjs/models/invoicestatus.d.ts +29 -0
  160. package/dist/commonjs/models/invoicestatus.d.ts.map +1 -0
  161. package/dist/commonjs/models/invoicestatus.js +72 -0
  162. package/dist/commonjs/models/invoicestatus.js.map +1 -0
  163. package/dist/commonjs/models/mandatedetailscardlabelresponse.d.ts +38 -0
  164. package/dist/commonjs/models/mandatedetailscardlabelresponse.d.ts.map +1 -0
  165. package/dist/commonjs/models/mandatedetailscardlabelresponse.js +81 -0
  166. package/dist/commonjs/models/mandatedetailscardlabelresponse.js.map +1 -0
  167. package/dist/commonjs/models/mandatemethod.d.ts +45 -0
  168. package/dist/commonjs/models/mandatemethod.d.ts.map +1 -0
  169. package/dist/commonjs/models/mandatemethod.js +68 -0
  170. package/dist/commonjs/models/mandatemethod.js.map +1 -0
  171. package/dist/commonjs/models/mandatemethodresponse.d.ts +37 -0
  172. package/dist/commonjs/models/mandatemethodresponse.d.ts.map +1 -0
  173. package/dist/commonjs/models/mandatemethodresponse.js +76 -0
  174. package/dist/commonjs/models/mandatemethodresponse.js.map +1 -0
  175. package/dist/commonjs/models/mandateresponse.d.ts +6 -147
  176. package/dist/commonjs/models/mandateresponse.d.ts.map +1 -1
  177. package/dist/commonjs/models/mandateresponse.js +12 -92
  178. package/dist/commonjs/models/mandateresponse.js.map +1 -1
  179. package/dist/commonjs/models/mandatestatus.d.ts +35 -0
  180. package/dist/commonjs/models/mandatestatus.d.ts.map +1 -0
  181. package/dist/commonjs/models/mandatestatus.js +75 -0
  182. package/dist/commonjs/models/mandatestatus.js.map +1 -0
  183. package/dist/commonjs/models/methodstatus.d.ts +31 -0
  184. package/dist/commonjs/models/methodstatus.d.ts.map +1 -0
  185. package/dist/commonjs/models/methodstatus.js +74 -0
  186. package/dist/commonjs/models/methodstatus.js.map +1 -0
  187. package/dist/commonjs/models/onboardingstatus.d.ts +29 -0
  188. package/dist/commonjs/models/onboardingstatus.d.ts.map +1 -0
  189. package/dist/commonjs/models/onboardingstatus.js +72 -0
  190. package/dist/commonjs/models/onboardingstatus.js.map +1 -0
  191. package/dist/commonjs/models/operations/getcustomer.d.ts +2 -2
  192. package/dist/commonjs/models/operations/getcustomer.d.ts.map +1 -1
  193. package/dist/commonjs/models/operations/getcustomer.js +2 -2
  194. package/dist/commonjs/models/operations/getcustomer.js.map +1 -1
  195. package/dist/commonjs/models/operations/updatepayment.d.ts +2 -2
  196. package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
  197. package/dist/commonjs/models/operations/updatepayment.js +2 -2
  198. package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
  199. package/dist/commonjs/models/organizationvatregulation.d.ts +39 -0
  200. package/dist/commonjs/models/organizationvatregulation.d.ts.map +1 -0
  201. package/dist/commonjs/models/organizationvatregulation.js +77 -0
  202. package/dist/commonjs/models/organizationvatregulation.js.map +1 -0
  203. package/dist/commonjs/models/paymentdetailscardauditionresponse.d.ts +28 -0
  204. package/dist/commonjs/models/paymentdetailscardauditionresponse.d.ts.map +1 -0
  205. package/dist/commonjs/models/paymentdetailscardauditionresponse.js +71 -0
  206. package/dist/commonjs/models/paymentdetailscardauditionresponse.js.map +1 -0
  207. package/dist/commonjs/models/paymentdetailscardfundingresponse.d.ts +30 -0
  208. package/dist/commonjs/models/paymentdetailscardfundingresponse.d.ts.map +1 -0
  209. package/dist/commonjs/models/paymentdetailscardfundingresponse.js +73 -0
  210. package/dist/commonjs/models/paymentdetailscardfundingresponse.js.map +1 -0
  211. package/dist/commonjs/models/paymentdetailscardlabelresponse.d.ts +39 -0
  212. package/dist/commonjs/models/paymentdetailscardlabelresponse.d.ts.map +1 -0
  213. package/dist/commonjs/models/paymentdetailscardlabelresponse.js +82 -0
  214. package/dist/commonjs/models/paymentdetailscardlabelresponse.js.map +1 -0
  215. package/dist/commonjs/models/paymentdetailscardsecurityresponse.d.ts +28 -0
  216. package/dist/commonjs/models/paymentdetailscardsecurityresponse.d.ts.map +1 -0
  217. package/dist/commonjs/models/paymentdetailscardsecurityresponse.js +71 -0
  218. package/dist/commonjs/models/paymentdetailscardsecurityresponse.js.map +1 -0
  219. package/dist/commonjs/models/paymentdetailsfailurereasonresponse.d.ts +41 -0
  220. package/dist/commonjs/models/paymentdetailsfailurereasonresponse.d.ts.map +1 -0
  221. package/dist/commonjs/models/paymentdetailsfailurereasonresponse.js +84 -0
  222. package/dist/commonjs/models/paymentdetailsfailurereasonresponse.js.map +1 -0
  223. package/dist/commonjs/models/paymentdetailsfeeregionresponse.d.ts +36 -0
  224. package/dist/commonjs/models/paymentdetailsfeeregionresponse.d.ts.map +1 -0
  225. package/dist/commonjs/models/paymentdetailsfeeregionresponse.js +79 -0
  226. package/dist/commonjs/models/paymentdetailsfeeregionresponse.js.map +1 -0
  227. package/dist/commonjs/models/paymentdetailsreceiptcardreadmethodresponse.d.ts +31 -0
  228. package/dist/commonjs/models/paymentdetailsreceiptcardreadmethodresponse.d.ts.map +1 -0
  229. package/dist/commonjs/models/paymentdetailsreceiptcardreadmethodresponse.js +74 -0
  230. package/dist/commonjs/models/paymentdetailsreceiptcardreadmethodresponse.js.map +1 -0
  231. package/dist/commonjs/models/paymentdetailsreceiptcardverificationmethodresponse.d.ts +35 -0
  232. package/dist/commonjs/models/paymentdetailsreceiptcardverificationmethodresponse.d.ts.map +1 -0
  233. package/dist/commonjs/models/paymentdetailsreceiptcardverificationmethodresponse.js +78 -0
  234. package/dist/commonjs/models/paymentdetailsreceiptcardverificationmethodresponse.js.map +1 -0
  235. package/dist/commonjs/models/paymentdetailssellerprotectionresponse.d.ts +40 -0
  236. package/dist/commonjs/models/paymentdetailssellerprotectionresponse.d.ts.map +1 -0
  237. package/dist/commonjs/models/paymentdetailssellerprotectionresponse.js +80 -0
  238. package/dist/commonjs/models/paymentdetailssellerprotectionresponse.js.map +1 -0
  239. package/dist/commonjs/models/paymentdetailswalletresponse.d.ts +27 -0
  240. package/dist/commonjs/models/paymentdetailswalletresponse.d.ts.map +1 -0
  241. package/dist/commonjs/models/paymentdetailswalletresponse.js +70 -0
  242. package/dist/commonjs/models/paymentdetailswalletresponse.js.map +1 -0
  243. package/dist/commonjs/models/paymentlineitem.d.ts +2 -58
  244. package/dist/commonjs/models/paymentlineitem.d.ts.map +1 -1
  245. package/dist/commonjs/models/paymentlineitem.js +4 -35
  246. package/dist/commonjs/models/paymentlineitem.js.map +1 -1
  247. package/dist/commonjs/models/paymentlineitemresponse.d.ts +2 -58
  248. package/dist/commonjs/models/paymentlineitemresponse.d.ts.map +1 -1
  249. package/dist/commonjs/models/paymentlineitemresponse.js +4 -35
  250. package/dist/commonjs/models/paymentlineitemresponse.js.map +1 -1
  251. package/dist/commonjs/models/paymentlinetype.d.ts +60 -0
  252. package/dist/commonjs/models/paymentlinetype.d.ts.map +1 -0
  253. package/dist/commonjs/models/paymentlinetype.js +73 -0
  254. package/dist/commonjs/models/paymentlinetype.js.map +1 -0
  255. package/dist/commonjs/models/paymentlinetyperesponse.d.ts +42 -0
  256. package/dist/commonjs/models/paymentlinetyperesponse.d.ts.map +1 -0
  257. package/dist/commonjs/models/paymentlinetyperesponse.js +81 -0
  258. package/dist/commonjs/models/paymentlinetyperesponse.js.map +1 -0
  259. package/dist/commonjs/models/paymentrequest.d.ts +4 -60
  260. package/dist/commonjs/models/paymentrequest.d.ts.map +1 -1
  261. package/dist/commonjs/models/paymentrequest.js +6 -37
  262. package/dist/commonjs/models/paymentrequest.js.map +1 -1
  263. package/dist/commonjs/models/paymentresponse.d.ts +26 -586
  264. package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
  265. package/dist/commonjs/models/paymentresponse.js +51 -367
  266. package/dist/commonjs/models/paymentresponse.js.map +1 -1
  267. package/dist/commonjs/models/paymentstatus.d.ts +39 -0
  268. package/dist/commonjs/models/paymentstatus.d.ts.map +1 -0
  269. package/dist/commonjs/models/paymentstatus.js +79 -0
  270. package/dist/commonjs/models/paymentstatus.js.map +1 -0
  271. package/dist/commonjs/models/profilereviewstatusresponse.d.ts +28 -0
  272. package/dist/commonjs/models/profilereviewstatusresponse.d.ts.map +1 -0
  273. package/dist/commonjs/models/profilereviewstatusresponse.js +71 -0
  274. package/dist/commonjs/models/profilereviewstatusresponse.js.map +1 -0
  275. package/dist/commonjs/models/profilestatus.d.ts +41 -0
  276. package/dist/commonjs/models/profilestatus.d.ts.map +1 -0
  277. package/dist/commonjs/models/profilestatus.js +78 -0
  278. package/dist/commonjs/models/profilestatus.js.map +1 -0
  279. package/dist/commonjs/models/refundexternalreferencetype.d.ts +31 -0
  280. package/dist/commonjs/models/refundexternalreferencetype.d.ts.map +1 -0
  281. package/dist/commonjs/models/refundexternalreferencetype.js +62 -0
  282. package/dist/commonjs/models/refundexternalreferencetype.js.map +1 -0
  283. package/dist/commonjs/models/refundexternalreferencetyperesponse.d.ts +27 -0
  284. package/dist/commonjs/models/refundexternalreferencetyperesponse.d.ts.map +1 -0
  285. package/dist/commonjs/models/refundexternalreferencetyperesponse.js +70 -0
  286. package/dist/commonjs/models/refundexternalreferencetyperesponse.js.map +1 -0
  287. package/dist/commonjs/models/refundroutingreversalssourcetype.d.ts +31 -0
  288. package/dist/commonjs/models/refundroutingreversalssourcetype.d.ts.map +1 -0
  289. package/dist/commonjs/models/refundroutingreversalssourcetype.js +62 -0
  290. package/dist/commonjs/models/refundroutingreversalssourcetype.js.map +1 -0
  291. package/dist/commonjs/models/refundstatus.d.ts +26 -0
  292. package/dist/commonjs/models/refundstatus.d.ts.map +1 -0
  293. package/dist/commonjs/models/refundstatus.js +72 -0
  294. package/dist/commonjs/models/refundstatus.js.map +1 -0
  295. package/dist/commonjs/models/routecreaterequest.d.ts +2 -30
  296. package/dist/commonjs/models/routecreaterequest.d.ts.map +1 -1
  297. package/dist/commonjs/models/routecreaterequest.js +4 -24
  298. package/dist/commonjs/models/routecreaterequest.js.map +1 -1
  299. package/dist/commonjs/models/routecreateresponse.d.ts +2 -30
  300. package/dist/commonjs/models/routecreateresponse.d.ts.map +1 -1
  301. package/dist/commonjs/models/routecreateresponse.js +4 -24
  302. package/dist/commonjs/models/routecreateresponse.js.map +1 -1
  303. package/dist/commonjs/models/routedestinationtype.d.ts +31 -0
  304. package/dist/commonjs/models/routedestinationtype.d.ts.map +1 -0
  305. package/dist/commonjs/models/routedestinationtype.js +62 -0
  306. package/dist/commonjs/models/routedestinationtype.js.map +1 -0
  307. package/dist/commonjs/models/routedestinationtyperesponse.d.ts +27 -0
  308. package/dist/commonjs/models/routedestinationtyperesponse.d.ts.map +1 -0
  309. package/dist/commonjs/models/routedestinationtyperesponse.js +70 -0
  310. package/dist/commonjs/models/routedestinationtyperesponse.js.map +1 -0
  311. package/dist/commonjs/models/routegetresponse.d.ts +2 -30
  312. package/dist/commonjs/models/routegetresponse.d.ts.map +1 -1
  313. package/dist/commonjs/models/routegetresponse.js +4 -24
  314. package/dist/commonjs/models/routegetresponse.js.map +1 -1
  315. package/dist/commonjs/models/salesinvoicediscount.d.ts +1 -32
  316. package/dist/commonjs/models/salesinvoicediscount.d.ts.map +1 -1
  317. package/dist/commonjs/models/salesinvoicediscount.js +4 -25
  318. package/dist/commonjs/models/salesinvoicediscount.js.map +1 -1
  319. package/dist/commonjs/models/salesinvoicediscountresponse.d.ts +2 -33
  320. package/dist/commonjs/models/salesinvoicediscountresponse.d.ts.map +1 -1
  321. package/dist/commonjs/models/salesinvoicediscountresponse.js +4 -25
  322. package/dist/commonjs/models/salesinvoicediscountresponse.js.map +1 -1
  323. package/dist/commonjs/models/salesinvoicediscounttype.d.ts +34 -0
  324. package/dist/commonjs/models/salesinvoicediscounttype.d.ts.map +1 -0
  325. package/dist/commonjs/models/salesinvoicediscounttype.js +63 -0
  326. package/dist/commonjs/models/salesinvoicediscounttype.js.map +1 -0
  327. package/dist/commonjs/models/salesinvoicediscounttyperesponse.d.ts +28 -0
  328. package/dist/commonjs/models/salesinvoicediscounttyperesponse.d.ts.map +1 -0
  329. package/dist/commonjs/models/salesinvoicediscounttyperesponse.js +71 -0
  330. package/dist/commonjs/models/salesinvoicediscounttyperesponse.js.map +1 -0
  331. package/dist/commonjs/models/salesinvoicepaymentdetails.d.ts +1 -35
  332. package/dist/commonjs/models/salesinvoicepaymentdetails.d.ts.map +1 -1
  333. package/dist/commonjs/models/salesinvoicepaymentdetails.js +4 -26
  334. package/dist/commonjs/models/salesinvoicepaymentdetails.js.map +1 -1
  335. package/dist/commonjs/models/salesinvoicepaymentdetailsresponse.d.ts +2 -36
  336. package/dist/commonjs/models/salesinvoicepaymentdetailsresponse.d.ts.map +1 -1
  337. package/dist/commonjs/models/salesinvoicepaymentdetailsresponse.js +4 -27
  338. package/dist/commonjs/models/salesinvoicepaymentdetailsresponse.js.map +1 -1
  339. package/dist/commonjs/models/salesinvoicepaymentdetailssource.d.ts +37 -0
  340. package/dist/commonjs/models/salesinvoicepaymentdetailssource.d.ts.map +1 -0
  341. package/dist/commonjs/models/salesinvoicepaymentdetailssource.js +64 -0
  342. package/dist/commonjs/models/salesinvoicepaymentdetailssource.js.map +1 -0
  343. package/dist/commonjs/models/salesinvoicepaymentdetailssourceresponse.d.ts +29 -0
  344. package/dist/commonjs/models/salesinvoicepaymentdetailssourceresponse.d.ts.map +1 -0
  345. package/dist/commonjs/models/salesinvoicepaymentdetailssourceresponse.js +72 -0
  346. package/dist/commonjs/models/salesinvoicepaymentdetailssourceresponse.js.map +1 -0
  347. package/dist/commonjs/models/salesinvoicepaymentterm.d.ts +49 -0
  348. package/dist/commonjs/models/salesinvoicepaymentterm.d.ts.map +1 -0
  349. package/dist/commonjs/models/salesinvoicepaymentterm.js +68 -0
  350. package/dist/commonjs/models/salesinvoicepaymentterm.js.map +1 -0
  351. package/dist/commonjs/models/salesinvoicepaymenttermresponse.d.ts +33 -0
  352. package/dist/commonjs/models/salesinvoicepaymenttermresponse.d.ts.map +1 -0
  353. package/dist/commonjs/models/salesinvoicepaymenttermresponse.js +76 -0
  354. package/dist/commonjs/models/salesinvoicepaymenttermresponse.js.map +1 -0
  355. package/dist/commonjs/models/salesinvoicerecipient.d.ts +2 -90
  356. package/dist/commonjs/models/salesinvoicerecipient.d.ts.map +1 -1
  357. package/dist/commonjs/models/salesinvoicerecipient.js +7 -59
  358. package/dist/commonjs/models/salesinvoicerecipient.js.map +1 -1
  359. package/dist/commonjs/models/salesinvoicerecipientlocale.d.ts +55 -0
  360. package/dist/commonjs/models/salesinvoicerecipientlocale.d.ts.map +1 -0
  361. package/dist/commonjs/models/salesinvoicerecipientlocale.js +70 -0
  362. package/dist/commonjs/models/salesinvoicerecipientlocale.js.map +1 -0
  363. package/dist/commonjs/models/salesinvoicerecipientlocaleresponse.d.ts +35 -0
  364. package/dist/commonjs/models/salesinvoicerecipientlocaleresponse.d.ts.map +1 -0
  365. package/dist/commonjs/models/salesinvoicerecipientlocaleresponse.js +78 -0
  366. package/dist/commonjs/models/salesinvoicerecipientlocaleresponse.js.map +1 -0
  367. package/dist/commonjs/models/salesinvoicerecipientresponse.d.ts +4 -92
  368. package/dist/commonjs/models/salesinvoicerecipientresponse.d.ts.map +1 -1
  369. package/dist/commonjs/models/salesinvoicerecipientresponse.js +7 -59
  370. package/dist/commonjs/models/salesinvoicerecipientresponse.js.map +1 -1
  371. package/dist/commonjs/models/salesinvoicerecipienttype.d.ts +40 -0
  372. package/dist/commonjs/models/salesinvoicerecipienttype.d.ts.map +1 -0
  373. package/dist/commonjs/models/salesinvoicerecipienttype.js +66 -0
  374. package/dist/commonjs/models/salesinvoicerecipienttype.js.map +1 -0
  375. package/dist/commonjs/models/salesinvoicerecipienttyperesponse.d.ts +34 -0
  376. package/dist/commonjs/models/salesinvoicerecipienttyperesponse.d.ts.map +1 -0
  377. package/dist/commonjs/models/salesinvoicerecipienttyperesponse.js +74 -0
  378. package/dist/commonjs/models/salesinvoicerecipienttyperesponse.js.map +1 -0
  379. package/dist/commonjs/models/salesinvoicestatus.d.ts +65 -0
  380. package/dist/commonjs/models/salesinvoicestatus.d.ts.map +1 -0
  381. package/dist/commonjs/models/salesinvoicestatus.js +78 -0
  382. package/dist/commonjs/models/salesinvoicestatus.js.map +1 -0
  383. package/dist/commonjs/models/salesinvoicestatusresponse.d.ts +57 -0
  384. package/dist/commonjs/models/salesinvoicestatusresponse.d.ts.map +1 -0
  385. package/dist/commonjs/models/salesinvoicestatusresponse.js +86 -0
  386. package/dist/commonjs/models/salesinvoicestatusresponse.js.map +1 -0
  387. package/dist/commonjs/models/salesinvoicevatmode.d.ts +40 -0
  388. package/dist/commonjs/models/salesinvoicevatmode.d.ts.map +1 -0
  389. package/dist/commonjs/models/salesinvoicevatmode.js +66 -0
  390. package/dist/commonjs/models/salesinvoicevatmode.js.map +1 -0
  391. package/dist/commonjs/models/salesinvoicevatmoderesponse.d.ts +34 -0
  392. package/dist/commonjs/models/salesinvoicevatmoderesponse.d.ts.map +1 -0
  393. package/dist/commonjs/models/salesinvoicevatmoderesponse.js +74 -0
  394. package/dist/commonjs/models/salesinvoicevatmoderesponse.js.map +1 -0
  395. package/dist/commonjs/models/salesinvoicevatscheme.d.ts +34 -0
  396. package/dist/commonjs/models/salesinvoicevatscheme.d.ts.map +1 -0
  397. package/dist/commonjs/models/salesinvoicevatscheme.js +63 -0
  398. package/dist/commonjs/models/salesinvoicevatscheme.js.map +1 -0
  399. package/dist/commonjs/models/salesinvoicevatschemeresponse.d.ts +28 -0
  400. package/dist/commonjs/models/salesinvoicevatschemeresponse.d.ts.map +1 -0
  401. package/dist/commonjs/models/salesinvoicevatschemeresponse.js +71 -0
  402. package/dist/commonjs/models/salesinvoicevatschemeresponse.js.map +1 -0
  403. package/dist/commonjs/models/settlementstatus.d.ts +30 -0
  404. package/dist/commonjs/models/settlementstatus.d.ts.map +1 -0
  405. package/dist/commonjs/models/settlementstatus.js +73 -0
  406. package/dist/commonjs/models/settlementstatus.js.map +1 -0
  407. package/dist/commonjs/models/subscriptionmethod.d.ts +37 -0
  408. package/dist/commonjs/models/subscriptionmethod.d.ts.map +1 -0
  409. package/dist/commonjs/models/subscriptionmethod.js +64 -0
  410. package/dist/commonjs/models/subscriptionmethod.js.map +1 -0
  411. package/dist/commonjs/models/subscriptionmethodresponse.d.ts +29 -0
  412. package/dist/commonjs/models/subscriptionmethodresponse.d.ts.map +1 -0
  413. package/dist/commonjs/models/subscriptionmethodresponse.js +72 -0
  414. package/dist/commonjs/models/subscriptionmethodresponse.js.map +1 -0
  415. package/dist/commonjs/models/subscriptionrequest.d.ts +11 -36
  416. package/dist/commonjs/models/subscriptionrequest.d.ts.map +1 -1
  417. package/dist/commonjs/models/subscriptionrequest.js +7 -26
  418. package/dist/commonjs/models/subscriptionrequest.js.map +1 -1
  419. package/dist/commonjs/models/subscriptionresponse.d.ts +4 -83
  420. package/dist/commonjs/models/subscriptionresponse.d.ts.map +1 -1
  421. package/dist/commonjs/models/subscriptionresponse.js +7 -56
  422. package/dist/commonjs/models/subscriptionresponse.js.map +1 -1
  423. package/dist/commonjs/models/subscriptionstatus.d.ts +37 -0
  424. package/dist/commonjs/models/subscriptionstatus.d.ts.map +1 -0
  425. package/dist/commonjs/models/subscriptionstatus.js +77 -0
  426. package/dist/commonjs/models/subscriptionstatus.js.map +1 -0
  427. package/dist/commonjs/models/terminalbrand.d.ts +28 -0
  428. package/dist/commonjs/models/terminalbrand.d.ts.map +1 -0
  429. package/dist/commonjs/models/terminalbrand.js +71 -0
  430. package/dist/commonjs/models/terminalbrand.js.map +1 -0
  431. package/dist/commonjs/models/terminalstatus.d.ts +29 -0
  432. package/dist/commonjs/models/terminalstatus.d.ts.map +1 -0
  433. package/dist/commonjs/models/terminalstatus.js +72 -0
  434. package/dist/commonjs/models/terminalstatus.js.map +1 -0
  435. package/dist/commonjs/models/updatevaluessalesinvoice.d.ts +15 -92
  436. package/dist/commonjs/models/updatevaluessalesinvoice.d.ts.map +1 -1
  437. package/dist/commonjs/models/updatevaluessalesinvoice.js +7 -61
  438. package/dist/commonjs/models/updatevaluessalesinvoice.js.map +1 -1
  439. package/dist/commonjs/models/webhookstatus.d.ts +30 -0
  440. package/dist/commonjs/models/webhookstatus.d.ts.map +1 -0
  441. package/dist/commonjs/models/webhookstatus.js +73 -0
  442. package/dist/commonjs/models/webhookstatus.js.map +1 -0
  443. package/dist/esm/lib/config.d.ts +3 -3
  444. package/dist/esm/lib/config.js +3 -3
  445. package/dist/esm/mcp-server/mcp-server.js +1 -1
  446. package/dist/esm/mcp-server/server.js +1 -1
  447. package/dist/esm/models/balancereportgrouping.d.ts +22 -0
  448. package/dist/esm/models/balancereportgrouping.d.ts.map +1 -0
  449. package/dist/esm/models/balancereportgrouping.js +32 -0
  450. package/dist/esm/models/balancereportgrouping.js.map +1 -0
  451. package/dist/esm/models/balancestatus.d.ts +28 -0
  452. package/dist/esm/models/balancestatus.d.ts.map +1 -0
  453. package/dist/esm/models/balancestatus.js +35 -0
  454. package/dist/esm/models/balancestatus.js.map +1 -0
  455. package/dist/esm/models/balancetransactiontype.d.ts +66 -0
  456. package/dist/esm/models/balancetransactiontype.d.ts.map +1 -0
  457. package/dist/esm/models/balancetransactiontype.js +76 -0
  458. package/dist/esm/models/balancetransactiontype.js.map +1 -0
  459. package/dist/esm/models/balancetransferdestinationtype.d.ts +35 -0
  460. package/dist/esm/models/balancetransferdestinationtype.d.ts.map +1 -0
  461. package/dist/esm/models/balancetransferdestinationtype.js +38 -0
  462. package/dist/esm/models/balancetransferdestinationtype.js.map +1 -0
  463. package/dist/esm/models/balancetransferfrequency.d.ts +44 -0
  464. package/dist/esm/models/balancetransferfrequency.d.ts.map +1 -0
  465. package/dist/esm/models/balancetransferfrequency.js +46 -0
  466. package/dist/esm/models/balancetransferfrequency.js.map +1 -0
  467. package/dist/esm/models/capabilityrequirementstatus.d.ts +35 -0
  468. package/dist/esm/models/capabilityrequirementstatus.d.ts.map +1 -0
  469. package/dist/esm/models/capabilityrequirementstatus.js +39 -0
  470. package/dist/esm/models/capabilityrequirementstatus.js.map +1 -0
  471. package/dist/esm/models/capabilitystatus.d.ts +24 -0
  472. package/dist/esm/models/capabilitystatus.d.ts.map +1 -0
  473. package/dist/esm/models/capabilitystatus.js +34 -0
  474. package/dist/esm/models/capabilitystatus.js.map +1 -0
  475. package/dist/esm/models/capabilitystatusreason.d.ts +22 -0
  476. package/dist/esm/models/capabilitystatusreason.d.ts.map +1 -0
  477. package/dist/esm/models/capabilitystatusreason.js +32 -0
  478. package/dist/esm/models/capabilitystatusreason.js.map +1 -0
  479. package/dist/esm/models/captureresponse.d.ts +2 -36
  480. package/dist/esm/models/captureresponse.d.ts.map +1 -1
  481. package/dist/esm/models/captureresponse.js +3 -25
  482. package/dist/esm/models/captureresponse.js.map +1 -1
  483. package/dist/esm/models/capturestatus.d.ts +29 -0
  484. package/dist/esm/models/capturestatus.d.ts.map +1 -0
  485. package/dist/esm/models/capturestatus.js +36 -0
  486. package/dist/esm/models/capturestatus.js.map +1 -0
  487. package/dist/esm/models/createwebhook.d.ts +2 -36
  488. package/dist/esm/models/createwebhook.d.ts.map +1 -1
  489. package/dist/esm/models/createwebhook.js +3 -25
  490. package/dist/esm/models/createwebhook.js.map +1 -1
  491. package/dist/esm/models/customerresponse.d.ts +2 -2
  492. package/dist/esm/models/customerresponse.d.ts.map +1 -1
  493. package/dist/esm/models/customerresponse.js +2 -2
  494. package/dist/esm/models/customerresponse.js.map +1 -1
  495. package/dist/esm/models/entitybalance.d.ts +6 -130
  496. package/dist/esm/models/entitybalance.d.ts.map +1 -1
  497. package/dist/esm/models/entitybalance.js +9 -86
  498. package/dist/esm/models/entitybalance.js.map +1 -1
  499. package/dist/esm/models/entitybalancereport.d.ts +2 -66
  500. package/dist/esm/models/entitybalancereport.d.ts.map +1 -1
  501. package/dist/esm/models/entitybalancereport.js +3 -35
  502. package/dist/esm/models/entitybalancereport.js.map +1 -1
  503. package/dist/esm/models/entitybalancetransaction.d.ts +2 -195
  504. package/dist/esm/models/entitybalancetransaction.d.ts.map +1 -1
  505. package/dist/esm/models/entitybalancetransaction.js +3 -77
  506. package/dist/esm/models/entitybalancetransaction.js.map +1 -1
  507. package/dist/esm/models/entitycapability.d.ts +5 -60
  508. package/dist/esm/models/entitycapability.d.ts.map +1 -1
  509. package/dist/esm/models/entitycapability.js +6 -44
  510. package/dist/esm/models/entitycapability.js.map +1 -1
  511. package/dist/esm/models/entitycapabilityrequirement.d.ts +2 -42
  512. package/dist/esm/models/entitycapabilityrequirement.d.ts.map +1 -1
  513. package/dist/esm/models/entitycapabilityrequirement.js +3 -28
  514. package/dist/esm/models/entitycapabilityrequirement.js.map +1 -1
  515. package/dist/esm/models/entitycapture.d.ts +6 -0
  516. package/dist/esm/models/entitycapture.d.ts.map +1 -1
  517. package/dist/esm/models/entitycapture.js +3 -0
  518. package/dist/esm/models/entitycapture.js.map +1 -1
  519. package/dist/esm/models/entityclientlink.d.ts +2 -2
  520. package/dist/esm/models/entityclientlink.d.ts.map +1 -1
  521. package/dist/esm/models/entityclientlink.js +2 -2
  522. package/dist/esm/models/entityclientlink.js.map +1 -1
  523. package/dist/esm/models/entitycustomer.d.ts +2 -2
  524. package/dist/esm/models/entitycustomer.d.ts.map +1 -1
  525. package/dist/esm/models/entitycustomer.js +2 -2
  526. package/dist/esm/models/entitycustomer.js.map +1 -1
  527. package/dist/esm/models/entityinvoice.d.ts +2 -54
  528. package/dist/esm/models/entityinvoice.d.ts.map +1 -1
  529. package/dist/esm/models/entityinvoice.js +3 -31
  530. package/dist/esm/models/entityinvoice.js.map +1 -1
  531. package/dist/esm/models/entitymandate.d.ts +11 -44
  532. package/dist/esm/models/entitymandate.d.ts.map +1 -1
  533. package/dist/esm/models/entitymandate.js +6 -29
  534. package/dist/esm/models/entitymandate.js.map +1 -1
  535. package/dist/esm/models/entitymethod.d.ts +2 -42
  536. package/dist/esm/models/entitymethod.d.ts.map +1 -1
  537. package/dist/esm/models/entitymethod.js +3 -27
  538. package/dist/esm/models/entitymethod.js.map +1 -1
  539. package/dist/esm/models/entitymethodall.d.ts +2 -42
  540. package/dist/esm/models/entitymethodall.d.ts.map +1 -1
  541. package/dist/esm/models/entitymethodall.js +3 -27
  542. package/dist/esm/models/entitymethodall.js.map +1 -1
  543. package/dist/esm/models/entityonboardingstatus.d.ts +2 -54
  544. package/dist/esm/models/entityonboardingstatus.d.ts.map +1 -1
  545. package/dist/esm/models/entityonboardingstatus.js +3 -31
  546. package/dist/esm/models/entityonboardingstatus.js.map +1 -1
  547. package/dist/esm/models/entityorganization.d.ts +4 -48
  548. package/dist/esm/models/entityorganization.d.ts.map +1 -1
  549. package/dist/esm/models/entityorganization.js +6 -32
  550. package/dist/esm/models/entityorganization.js.map +1 -1
  551. package/dist/esm/models/entitypaymentroute.d.ts +2 -30
  552. package/dist/esm/models/entitypaymentroute.d.ts.map +1 -1
  553. package/dist/esm/models/entitypaymentroute.js +3 -23
  554. package/dist/esm/models/entitypaymentroute.js.map +1 -1
  555. package/dist/esm/models/entitypaymentrouteresponse.d.ts +2 -30
  556. package/dist/esm/models/entitypaymentrouteresponse.d.ts.map +1 -1
  557. package/dist/esm/models/entitypaymentrouteresponse.js +3 -23
  558. package/dist/esm/models/entitypaymentrouteresponse.js.map +1 -1
  559. package/dist/esm/models/entityprofile.d.ts +12 -0
  560. package/dist/esm/models/entityprofile.d.ts.map +1 -1
  561. package/dist/esm/models/entityprofile.js +3 -0
  562. package/dist/esm/models/entityprofile.js.map +1 -1
  563. package/dist/esm/models/entityprofileresponse.d.ts +4 -80
  564. package/dist/esm/models/entityprofileresponse.d.ts.map +1 -1
  565. package/dist/esm/models/entityprofileresponse.js +6 -55
  566. package/dist/esm/models/entityprofileresponse.js.map +1 -1
  567. package/dist/esm/models/entityrefund.d.ts +7 -59
  568. package/dist/esm/models/entityrefund.d.ts.map +1 -1
  569. package/dist/esm/models/entityrefund.js +9 -46
  570. package/dist/esm/models/entityrefund.js.map +1 -1
  571. package/dist/esm/models/entityrefundresponse.d.ts +10 -77
  572. package/dist/esm/models/entityrefundresponse.d.ts.map +1 -1
  573. package/dist/esm/models/entityrefundresponse.js +9 -51
  574. package/dist/esm/models/entityrefundresponse.js.map +1 -1
  575. package/dist/esm/models/entitysalesinvoice.d.ts +8 -181
  576. package/dist/esm/models/entitysalesinvoice.d.ts.map +1 -1
  577. package/dist/esm/models/entitysalesinvoice.js +12 -121
  578. package/dist/esm/models/entitysalesinvoice.js.map +1 -1
  579. package/dist/esm/models/entitysalesinvoiceresponse.d.ts +8 -181
  580. package/dist/esm/models/entitysalesinvoiceresponse.d.ts.map +1 -1
  581. package/dist/esm/models/entitysalesinvoiceresponse.js +12 -119
  582. package/dist/esm/models/entitysalesinvoiceresponse.js.map +1 -1
  583. package/dist/esm/models/entitysettlement.d.ts +2 -39
  584. package/dist/esm/models/entitysettlement.d.ts.map +1 -1
  585. package/dist/esm/models/entitysettlement.js +3 -26
  586. package/dist/esm/models/entitysettlement.js.map +1 -1
  587. package/dist/esm/models/entityterminal.d.ts +4 -68
  588. package/dist/esm/models/entityterminal.d.ts.map +1 -1
  589. package/dist/esm/models/entityterminal.js +6 -49
  590. package/dist/esm/models/entityterminal.js.map +1 -1
  591. package/dist/esm/models/entitywebhook.d.ts +2 -39
  592. package/dist/esm/models/entitywebhook.d.ts.map +1 -1
  593. package/dist/esm/models/entitywebhook.js +3 -26
  594. package/dist/esm/models/entitywebhook.js.map +1 -1
  595. package/dist/esm/models/index.d.ts +61 -0
  596. package/dist/esm/models/index.d.ts.map +1 -1
  597. package/dist/esm/models/index.js +61 -0
  598. package/dist/esm/models/index.js.map +1 -1
  599. package/dist/esm/models/invoicestatus.d.ts +29 -0
  600. package/dist/esm/models/invoicestatus.d.ts.map +1 -0
  601. package/dist/esm/models/invoicestatus.js +36 -0
  602. package/dist/esm/models/invoicestatus.js.map +1 -0
  603. package/dist/esm/models/mandatedetailscardlabelresponse.d.ts +38 -0
  604. package/dist/esm/models/mandatedetailscardlabelresponse.d.ts.map +1 -0
  605. package/dist/esm/models/mandatedetailscardlabelresponse.js +45 -0
  606. package/dist/esm/models/mandatedetailscardlabelresponse.js.map +1 -0
  607. package/dist/esm/models/mandatemethod.d.ts +45 -0
  608. package/dist/esm/models/mandatemethod.d.ts.map +1 -0
  609. package/dist/esm/models/mandatemethod.js +32 -0
  610. package/dist/esm/models/mandatemethod.js.map +1 -0
  611. package/dist/esm/models/mandatemethodresponse.d.ts +37 -0
  612. package/dist/esm/models/mandatemethodresponse.d.ts.map +1 -0
  613. package/dist/esm/models/mandatemethodresponse.js +40 -0
  614. package/dist/esm/models/mandatemethodresponse.js.map +1 -0
  615. package/dist/esm/models/mandateresponse.d.ts +6 -147
  616. package/dist/esm/models/mandateresponse.d.ts.map +1 -1
  617. package/dist/esm/models/mandateresponse.js +11 -91
  618. package/dist/esm/models/mandateresponse.js.map +1 -1
  619. package/dist/esm/models/mandatestatus.d.ts +35 -0
  620. package/dist/esm/models/mandatestatus.d.ts.map +1 -0
  621. package/dist/esm/models/mandatestatus.js +39 -0
  622. package/dist/esm/models/mandatestatus.js.map +1 -0
  623. package/dist/esm/models/methodstatus.d.ts +31 -0
  624. package/dist/esm/models/methodstatus.d.ts.map +1 -0
  625. package/dist/esm/models/methodstatus.js +38 -0
  626. package/dist/esm/models/methodstatus.js.map +1 -0
  627. package/dist/esm/models/onboardingstatus.d.ts +29 -0
  628. package/dist/esm/models/onboardingstatus.d.ts.map +1 -0
  629. package/dist/esm/models/onboardingstatus.js +36 -0
  630. package/dist/esm/models/onboardingstatus.js.map +1 -0
  631. package/dist/esm/models/operations/getcustomer.d.ts +2 -2
  632. package/dist/esm/models/operations/getcustomer.d.ts.map +1 -1
  633. package/dist/esm/models/operations/getcustomer.js +2 -2
  634. package/dist/esm/models/operations/getcustomer.js.map +1 -1
  635. package/dist/esm/models/operations/updatepayment.d.ts +2 -2
  636. package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
  637. package/dist/esm/models/operations/updatepayment.js +2 -2
  638. package/dist/esm/models/operations/updatepayment.js.map +1 -1
  639. package/dist/esm/models/organizationvatregulation.d.ts +39 -0
  640. package/dist/esm/models/organizationvatregulation.d.ts.map +1 -0
  641. package/dist/esm/models/organizationvatregulation.js +41 -0
  642. package/dist/esm/models/organizationvatregulation.js.map +1 -0
  643. package/dist/esm/models/paymentdetailscardauditionresponse.d.ts +28 -0
  644. package/dist/esm/models/paymentdetailscardauditionresponse.d.ts.map +1 -0
  645. package/dist/esm/models/paymentdetailscardauditionresponse.js +35 -0
  646. package/dist/esm/models/paymentdetailscardauditionresponse.js.map +1 -0
  647. package/dist/esm/models/paymentdetailscardfundingresponse.d.ts +30 -0
  648. package/dist/esm/models/paymentdetailscardfundingresponse.d.ts.map +1 -0
  649. package/dist/esm/models/paymentdetailscardfundingresponse.js +37 -0
  650. package/dist/esm/models/paymentdetailscardfundingresponse.js.map +1 -0
  651. package/dist/esm/models/paymentdetailscardlabelresponse.d.ts +39 -0
  652. package/dist/esm/models/paymentdetailscardlabelresponse.d.ts.map +1 -0
  653. package/dist/esm/models/paymentdetailscardlabelresponse.js +46 -0
  654. package/dist/esm/models/paymentdetailscardlabelresponse.js.map +1 -0
  655. package/dist/esm/models/paymentdetailscardsecurityresponse.d.ts +28 -0
  656. package/dist/esm/models/paymentdetailscardsecurityresponse.d.ts.map +1 -0
  657. package/dist/esm/models/paymentdetailscardsecurityresponse.js +35 -0
  658. package/dist/esm/models/paymentdetailscardsecurityresponse.js.map +1 -0
  659. package/dist/esm/models/paymentdetailsfailurereasonresponse.d.ts +41 -0
  660. package/dist/esm/models/paymentdetailsfailurereasonresponse.d.ts.map +1 -0
  661. package/dist/esm/models/paymentdetailsfailurereasonresponse.js +48 -0
  662. package/dist/esm/models/paymentdetailsfailurereasonresponse.js.map +1 -0
  663. package/dist/esm/models/paymentdetailsfeeregionresponse.d.ts +36 -0
  664. package/dist/esm/models/paymentdetailsfeeregionresponse.d.ts.map +1 -0
  665. package/dist/esm/models/paymentdetailsfeeregionresponse.js +43 -0
  666. package/dist/esm/models/paymentdetailsfeeregionresponse.js.map +1 -0
  667. package/dist/esm/models/paymentdetailsreceiptcardreadmethodresponse.d.ts +31 -0
  668. package/dist/esm/models/paymentdetailsreceiptcardreadmethodresponse.d.ts.map +1 -0
  669. package/dist/esm/models/paymentdetailsreceiptcardreadmethodresponse.js +38 -0
  670. package/dist/esm/models/paymentdetailsreceiptcardreadmethodresponse.js.map +1 -0
  671. package/dist/esm/models/paymentdetailsreceiptcardverificationmethodresponse.d.ts +35 -0
  672. package/dist/esm/models/paymentdetailsreceiptcardverificationmethodresponse.d.ts.map +1 -0
  673. package/dist/esm/models/paymentdetailsreceiptcardverificationmethodresponse.js +42 -0
  674. package/dist/esm/models/paymentdetailsreceiptcardverificationmethodresponse.js.map +1 -0
  675. package/dist/esm/models/paymentdetailssellerprotectionresponse.d.ts +40 -0
  676. package/dist/esm/models/paymentdetailssellerprotectionresponse.d.ts.map +1 -0
  677. package/dist/esm/models/paymentdetailssellerprotectionresponse.js +44 -0
  678. package/dist/esm/models/paymentdetailssellerprotectionresponse.js.map +1 -0
  679. package/dist/esm/models/paymentdetailswalletresponse.d.ts +27 -0
  680. package/dist/esm/models/paymentdetailswalletresponse.d.ts.map +1 -0
  681. package/dist/esm/models/paymentdetailswalletresponse.js +34 -0
  682. package/dist/esm/models/paymentdetailswalletresponse.js.map +1 -0
  683. package/dist/esm/models/paymentlineitem.d.ts +2 -58
  684. package/dist/esm/models/paymentlineitem.d.ts.map +1 -1
  685. package/dist/esm/models/paymentlineitem.js +3 -34
  686. package/dist/esm/models/paymentlineitem.js.map +1 -1
  687. package/dist/esm/models/paymentlineitemresponse.d.ts +2 -58
  688. package/dist/esm/models/paymentlineitemresponse.d.ts.map +1 -1
  689. package/dist/esm/models/paymentlineitemresponse.js +3 -34
  690. package/dist/esm/models/paymentlineitemresponse.js.map +1 -1
  691. package/dist/esm/models/paymentlinetype.d.ts +60 -0
  692. package/dist/esm/models/paymentlinetype.d.ts.map +1 -0
  693. package/dist/esm/models/paymentlinetype.js +37 -0
  694. package/dist/esm/models/paymentlinetype.js.map +1 -0
  695. package/dist/esm/models/paymentlinetyperesponse.d.ts +42 -0
  696. package/dist/esm/models/paymentlinetyperesponse.d.ts.map +1 -0
  697. package/dist/esm/models/paymentlinetyperesponse.js +45 -0
  698. package/dist/esm/models/paymentlinetyperesponse.js.map +1 -0
  699. package/dist/esm/models/paymentrequest.d.ts +4 -60
  700. package/dist/esm/models/paymentrequest.d.ts.map +1 -1
  701. package/dist/esm/models/paymentrequest.js +5 -36
  702. package/dist/esm/models/paymentrequest.js.map +1 -1
  703. package/dist/esm/models/paymentresponse.d.ts +26 -586
  704. package/dist/esm/models/paymentresponse.d.ts.map +1 -1
  705. package/dist/esm/models/paymentresponse.js +50 -365
  706. package/dist/esm/models/paymentresponse.js.map +1 -1
  707. package/dist/esm/models/paymentstatus.d.ts +39 -0
  708. package/dist/esm/models/paymentstatus.d.ts.map +1 -0
  709. package/dist/esm/models/paymentstatus.js +43 -0
  710. package/dist/esm/models/paymentstatus.js.map +1 -0
  711. package/dist/esm/models/profilereviewstatusresponse.d.ts +28 -0
  712. package/dist/esm/models/profilereviewstatusresponse.d.ts.map +1 -0
  713. package/dist/esm/models/profilereviewstatusresponse.js +35 -0
  714. package/dist/esm/models/profilereviewstatusresponse.js.map +1 -0
  715. package/dist/esm/models/profilestatus.d.ts +41 -0
  716. package/dist/esm/models/profilestatus.d.ts.map +1 -0
  717. package/dist/esm/models/profilestatus.js +42 -0
  718. package/dist/esm/models/profilestatus.js.map +1 -0
  719. package/dist/esm/models/refundexternalreferencetype.d.ts +31 -0
  720. package/dist/esm/models/refundexternalreferencetype.d.ts.map +1 -0
  721. package/dist/esm/models/refundexternalreferencetype.js +26 -0
  722. package/dist/esm/models/refundexternalreferencetype.js.map +1 -0
  723. package/dist/esm/models/refundexternalreferencetyperesponse.d.ts +27 -0
  724. package/dist/esm/models/refundexternalreferencetyperesponse.d.ts.map +1 -0
  725. package/dist/esm/models/refundexternalreferencetyperesponse.js +34 -0
  726. package/dist/esm/models/refundexternalreferencetyperesponse.js.map +1 -0
  727. package/dist/esm/models/refundroutingreversalssourcetype.d.ts +31 -0
  728. package/dist/esm/models/refundroutingreversalssourcetype.d.ts.map +1 -0
  729. package/dist/esm/models/refundroutingreversalssourcetype.js +26 -0
  730. package/dist/esm/models/refundroutingreversalssourcetype.js.map +1 -0
  731. package/dist/esm/models/refundstatus.d.ts +26 -0
  732. package/dist/esm/models/refundstatus.d.ts.map +1 -0
  733. package/dist/esm/models/refundstatus.js +36 -0
  734. package/dist/esm/models/refundstatus.js.map +1 -0
  735. package/dist/esm/models/routecreaterequest.d.ts +2 -30
  736. package/dist/esm/models/routecreaterequest.d.ts.map +1 -1
  737. package/dist/esm/models/routecreaterequest.js +3 -23
  738. package/dist/esm/models/routecreaterequest.js.map +1 -1
  739. package/dist/esm/models/routecreateresponse.d.ts +2 -30
  740. package/dist/esm/models/routecreateresponse.d.ts.map +1 -1
  741. package/dist/esm/models/routecreateresponse.js +3 -23
  742. package/dist/esm/models/routecreateresponse.js.map +1 -1
  743. package/dist/esm/models/routedestinationtype.d.ts +31 -0
  744. package/dist/esm/models/routedestinationtype.d.ts.map +1 -0
  745. package/dist/esm/models/routedestinationtype.js +26 -0
  746. package/dist/esm/models/routedestinationtype.js.map +1 -0
  747. package/dist/esm/models/routedestinationtyperesponse.d.ts +27 -0
  748. package/dist/esm/models/routedestinationtyperesponse.d.ts.map +1 -0
  749. package/dist/esm/models/routedestinationtyperesponse.js +34 -0
  750. package/dist/esm/models/routedestinationtyperesponse.js.map +1 -0
  751. package/dist/esm/models/routegetresponse.d.ts +2 -30
  752. package/dist/esm/models/routegetresponse.d.ts.map +1 -1
  753. package/dist/esm/models/routegetresponse.js +3 -23
  754. package/dist/esm/models/routegetresponse.js.map +1 -1
  755. package/dist/esm/models/salesinvoicediscount.d.ts +1 -32
  756. package/dist/esm/models/salesinvoicediscount.d.ts.map +1 -1
  757. package/dist/esm/models/salesinvoicediscount.js +1 -22
  758. package/dist/esm/models/salesinvoicediscount.js.map +1 -1
  759. package/dist/esm/models/salesinvoicediscountresponse.d.ts +2 -33
  760. package/dist/esm/models/salesinvoicediscountresponse.d.ts.map +1 -1
  761. package/dist/esm/models/salesinvoicediscountresponse.js +3 -24
  762. package/dist/esm/models/salesinvoicediscountresponse.js.map +1 -1
  763. package/dist/esm/models/salesinvoicediscounttype.d.ts +34 -0
  764. package/dist/esm/models/salesinvoicediscounttype.d.ts.map +1 -0
  765. package/dist/esm/models/salesinvoicediscounttype.js +27 -0
  766. package/dist/esm/models/salesinvoicediscounttype.js.map +1 -0
  767. package/dist/esm/models/salesinvoicediscounttyperesponse.d.ts +28 -0
  768. package/dist/esm/models/salesinvoicediscounttyperesponse.d.ts.map +1 -0
  769. package/dist/esm/models/salesinvoicediscounttyperesponse.js +35 -0
  770. package/dist/esm/models/salesinvoicediscounttyperesponse.js.map +1 -0
  771. package/dist/esm/models/salesinvoicepaymentdetails.d.ts +1 -35
  772. package/dist/esm/models/salesinvoicepaymentdetails.d.ts.map +1 -1
  773. package/dist/esm/models/salesinvoicepaymentdetails.js +1 -23
  774. package/dist/esm/models/salesinvoicepaymentdetails.js.map +1 -1
  775. package/dist/esm/models/salesinvoicepaymentdetailsresponse.d.ts +2 -36
  776. package/dist/esm/models/salesinvoicepaymentdetailsresponse.d.ts.map +1 -1
  777. package/dist/esm/models/salesinvoicepaymentdetailsresponse.js +3 -26
  778. package/dist/esm/models/salesinvoicepaymentdetailsresponse.js.map +1 -1
  779. package/dist/esm/models/salesinvoicepaymentdetailssource.d.ts +37 -0
  780. package/dist/esm/models/salesinvoicepaymentdetailssource.d.ts.map +1 -0
  781. package/dist/esm/models/salesinvoicepaymentdetailssource.js +28 -0
  782. package/dist/esm/models/salesinvoicepaymentdetailssource.js.map +1 -0
  783. package/dist/esm/models/salesinvoicepaymentdetailssourceresponse.d.ts +29 -0
  784. package/dist/esm/models/salesinvoicepaymentdetailssourceresponse.d.ts.map +1 -0
  785. package/dist/esm/models/salesinvoicepaymentdetailssourceresponse.js +36 -0
  786. package/dist/esm/models/salesinvoicepaymentdetailssourceresponse.js.map +1 -0
  787. package/dist/esm/models/salesinvoicepaymentterm.d.ts +49 -0
  788. package/dist/esm/models/salesinvoicepaymentterm.d.ts.map +1 -0
  789. package/dist/esm/models/salesinvoicepaymentterm.js +32 -0
  790. package/dist/esm/models/salesinvoicepaymentterm.js.map +1 -0
  791. package/dist/esm/models/salesinvoicepaymenttermresponse.d.ts +33 -0
  792. package/dist/esm/models/salesinvoicepaymenttermresponse.d.ts.map +1 -0
  793. package/dist/esm/models/salesinvoicepaymenttermresponse.js +40 -0
  794. package/dist/esm/models/salesinvoicepaymenttermresponse.js.map +1 -0
  795. package/dist/esm/models/salesinvoicerecipient.d.ts +2 -90
  796. package/dist/esm/models/salesinvoicerecipient.d.ts.map +1 -1
  797. package/dist/esm/models/salesinvoicerecipient.js +2 -54
  798. package/dist/esm/models/salesinvoicerecipient.js.map +1 -1
  799. package/dist/esm/models/salesinvoicerecipientlocale.d.ts +55 -0
  800. package/dist/esm/models/salesinvoicerecipientlocale.d.ts.map +1 -0
  801. package/dist/esm/models/salesinvoicerecipientlocale.js +34 -0
  802. package/dist/esm/models/salesinvoicerecipientlocale.js.map +1 -0
  803. package/dist/esm/models/salesinvoicerecipientlocaleresponse.d.ts +35 -0
  804. package/dist/esm/models/salesinvoicerecipientlocaleresponse.d.ts.map +1 -0
  805. package/dist/esm/models/salesinvoicerecipientlocaleresponse.js +42 -0
  806. package/dist/esm/models/salesinvoicerecipientlocaleresponse.js.map +1 -0
  807. package/dist/esm/models/salesinvoicerecipientresponse.d.ts +4 -92
  808. package/dist/esm/models/salesinvoicerecipientresponse.d.ts.map +1 -1
  809. package/dist/esm/models/salesinvoicerecipientresponse.js +6 -58
  810. package/dist/esm/models/salesinvoicerecipientresponse.js.map +1 -1
  811. package/dist/esm/models/salesinvoicerecipienttype.d.ts +40 -0
  812. package/dist/esm/models/salesinvoicerecipienttype.d.ts.map +1 -0
  813. package/dist/esm/models/salesinvoicerecipienttype.js +30 -0
  814. package/dist/esm/models/salesinvoicerecipienttype.js.map +1 -0
  815. package/dist/esm/models/salesinvoicerecipienttyperesponse.d.ts +34 -0
  816. package/dist/esm/models/salesinvoicerecipienttyperesponse.d.ts.map +1 -0
  817. package/dist/esm/models/salesinvoicerecipienttyperesponse.js +38 -0
  818. package/dist/esm/models/salesinvoicerecipienttyperesponse.js.map +1 -0
  819. package/dist/esm/models/salesinvoicestatus.d.ts +65 -0
  820. package/dist/esm/models/salesinvoicestatus.d.ts.map +1 -0
  821. package/dist/esm/models/salesinvoicestatus.js +42 -0
  822. package/dist/esm/models/salesinvoicestatus.js.map +1 -0
  823. package/dist/esm/models/salesinvoicestatusresponse.d.ts +57 -0
  824. package/dist/esm/models/salesinvoicestatusresponse.d.ts.map +1 -0
  825. package/dist/esm/models/salesinvoicestatusresponse.js +50 -0
  826. package/dist/esm/models/salesinvoicestatusresponse.js.map +1 -0
  827. package/dist/esm/models/salesinvoicevatmode.d.ts +40 -0
  828. package/dist/esm/models/salesinvoicevatmode.d.ts.map +1 -0
  829. package/dist/esm/models/salesinvoicevatmode.js +30 -0
  830. package/dist/esm/models/salesinvoicevatmode.js.map +1 -0
  831. package/dist/esm/models/salesinvoicevatmoderesponse.d.ts +34 -0
  832. package/dist/esm/models/salesinvoicevatmoderesponse.d.ts.map +1 -0
  833. package/dist/esm/models/salesinvoicevatmoderesponse.js +38 -0
  834. package/dist/esm/models/salesinvoicevatmoderesponse.js.map +1 -0
  835. package/dist/esm/models/salesinvoicevatscheme.d.ts +34 -0
  836. package/dist/esm/models/salesinvoicevatscheme.d.ts.map +1 -0
  837. package/dist/esm/models/salesinvoicevatscheme.js +27 -0
  838. package/dist/esm/models/salesinvoicevatscheme.js.map +1 -0
  839. package/dist/esm/models/salesinvoicevatschemeresponse.d.ts +28 -0
  840. package/dist/esm/models/salesinvoicevatschemeresponse.d.ts.map +1 -0
  841. package/dist/esm/models/salesinvoicevatschemeresponse.js +35 -0
  842. package/dist/esm/models/salesinvoicevatschemeresponse.js.map +1 -0
  843. package/dist/esm/models/settlementstatus.d.ts +30 -0
  844. package/dist/esm/models/settlementstatus.d.ts.map +1 -0
  845. package/dist/esm/models/settlementstatus.js +37 -0
  846. package/dist/esm/models/settlementstatus.js.map +1 -0
  847. package/dist/esm/models/subscriptionmethod.d.ts +37 -0
  848. package/dist/esm/models/subscriptionmethod.d.ts.map +1 -0
  849. package/dist/esm/models/subscriptionmethod.js +28 -0
  850. package/dist/esm/models/subscriptionmethod.js.map +1 -0
  851. package/dist/esm/models/subscriptionmethodresponse.d.ts +29 -0
  852. package/dist/esm/models/subscriptionmethodresponse.d.ts.map +1 -0
  853. package/dist/esm/models/subscriptionmethodresponse.js +36 -0
  854. package/dist/esm/models/subscriptionmethodresponse.js.map +1 -0
  855. package/dist/esm/models/subscriptionrequest.d.ts +11 -36
  856. package/dist/esm/models/subscriptionrequest.d.ts.map +1 -1
  857. package/dist/esm/models/subscriptionrequest.js +6 -25
  858. package/dist/esm/models/subscriptionrequest.js.map +1 -1
  859. package/dist/esm/models/subscriptionresponse.d.ts +4 -83
  860. package/dist/esm/models/subscriptionresponse.d.ts.map +1 -1
  861. package/dist/esm/models/subscriptionresponse.js +6 -55
  862. package/dist/esm/models/subscriptionresponse.js.map +1 -1
  863. package/dist/esm/models/subscriptionstatus.d.ts +37 -0
  864. package/dist/esm/models/subscriptionstatus.d.ts.map +1 -0
  865. package/dist/esm/models/subscriptionstatus.js +41 -0
  866. package/dist/esm/models/subscriptionstatus.js.map +1 -0
  867. package/dist/esm/models/terminalbrand.d.ts +28 -0
  868. package/dist/esm/models/terminalbrand.d.ts.map +1 -0
  869. package/dist/esm/models/terminalbrand.js +35 -0
  870. package/dist/esm/models/terminalbrand.js.map +1 -0
  871. package/dist/esm/models/terminalstatus.d.ts +29 -0
  872. package/dist/esm/models/terminalstatus.d.ts.map +1 -0
  873. package/dist/esm/models/terminalstatus.js +36 -0
  874. package/dist/esm/models/terminalstatus.js.map +1 -0
  875. package/dist/esm/models/updatevaluessalesinvoice.d.ts +15 -92
  876. package/dist/esm/models/updatevaluessalesinvoice.d.ts.map +1 -1
  877. package/dist/esm/models/updatevaluessalesinvoice.js +6 -60
  878. package/dist/esm/models/updatevaluessalesinvoice.js.map +1 -1
  879. package/dist/esm/models/webhookstatus.d.ts +30 -0
  880. package/dist/esm/models/webhookstatus.d.ts.map +1 -0
  881. package/dist/esm/models/webhookstatus.js +37 -0
  882. package/dist/esm/models/webhookstatus.js.map +1 -0
  883. package/docs/sdks/captures/README.md +2 -0
  884. package/docs/sdks/mandates/README.md +2 -0
  885. package/docs/sdks/profiles/README.md +2 -0
  886. package/docs/sdks/refunds/README.md +2 -0
  887. package/docs/sdks/salesinvoices/README.md +2 -2
  888. package/docs/sdks/subscriptions/README.md +2 -0
  889. package/examples/package-lock.json +1 -1
  890. package/jsr.json +1 -1
  891. package/package.json +1 -1
  892. package/src/lib/config.ts +3 -3
  893. package/src/mcp-server/mcp-server.ts +1 -1
  894. package/src/mcp-server/server.ts +1 -1
  895. package/src/models/balancereportgrouping.ts +48 -0
  896. package/src/models/balancestatus.ts +54 -0
  897. package/src/models/balancetransactiontype.ts +92 -0
  898. package/src/models/balancetransferdestinationtype.ts +63 -0
  899. package/src/models/balancetransferfrequency.ts +72 -0
  900. package/src/models/capabilityrequirementstatus.ts +63 -0
  901. package/src/models/capabilitystatus.ts +50 -0
  902. package/src/models/capabilitystatusreason.ts +48 -0
  903. package/src/models/captureresponse.ts +8 -38
  904. package/src/models/capturestatus.ts +55 -0
  905. package/src/models/createwebhook.ts +8 -38
  906. package/src/models/customerresponse.ts +4 -4
  907. package/src/models/entitybalance.ts +24 -132
  908. package/src/models/entitybalancereport.ts +8 -68
  909. package/src/models/entitybalancetransaction.ts +8 -113
  910. package/src/models/entitycapability.ts +17 -64
  911. package/src/models/entitycapabilityrequirement.ts +8 -47
  912. package/src/models/entitycapture.ts +12 -0
  913. package/src/models/entityclientlink.ts +4 -4
  914. package/src/models/entitycustomer.ts +4 -4
  915. package/src/models/entityinvoice.ts +8 -56
  916. package/src/models/entitymandate.ts +23 -46
  917. package/src/models/entitymethod.ts +8 -40
  918. package/src/models/entitymethodall.ts +8 -40
  919. package/src/models/entityonboardingstatus.ts +8 -58
  920. package/src/models/entityorganization.ts +13 -52
  921. package/src/models/entitypaymentroute.ts +8 -36
  922. package/src/models/entitypaymentrouteresponse.ts +8 -38
  923. package/src/models/entityprofile.ts +18 -0
  924. package/src/models/entityprofileresponse.ts +16 -86
  925. package/src/models/entityrefund.ts +25 -74
  926. package/src/models/entityrefundresponse.ts +28 -83
  927. package/src/models/entitysalesinvoice.ts +32 -195
  928. package/src/models/entitysalesinvoiceresponse.ts +32 -199
  929. package/src/models/entitysettlement.ts +8 -39
  930. package/src/models/entityterminal.ts +16 -73
  931. package/src/models/entitywebhook.ts +8 -39
  932. package/src/models/index.ts +61 -0
  933. package/src/models/invoicestatus.ts +55 -0
  934. package/src/models/mandatedetailscardlabelresponse.ts +66 -0
  935. package/src/models/mandatemethod.ts +48 -0
  936. package/src/models/mandatemethodresponse.ts +63 -0
  937. package/src/models/mandateresponse.ts +26 -137
  938. package/src/models/mandatestatus.ts +61 -0
  939. package/src/models/methodstatus.ts +57 -0
  940. package/src/models/onboardingstatus.ts +55 -0
  941. package/src/models/operations/getcustomer.ts +4 -4
  942. package/src/models/operations/updatepayment.ts +4 -4
  943. package/src/models/organizationvatregulation.ts +67 -0
  944. package/src/models/paymentdetailscardauditionresponse.ts +57 -0
  945. package/src/models/paymentdetailscardfundingresponse.ts +59 -0
  946. package/src/models/paymentdetailscardlabelresponse.ts +67 -0
  947. package/src/models/paymentdetailscardsecurityresponse.ts +57 -0
  948. package/src/models/paymentdetailsfailurereasonresponse.ts +71 -0
  949. package/src/models/paymentdetailsfeeregionresponse.ts +64 -0
  950. package/src/models/paymentdetailsreceiptcardreadmethodresponse.ts +63 -0
  951. package/src/models/paymentdetailsreceiptcardverificationmethodresponse.ts +67 -0
  952. package/src/models/paymentdetailssellerprotectionresponse.ts +70 -0
  953. package/src/models/paymentdetailswalletresponse.ts +55 -0
  954. package/src/models/paymentlineitem.ts +8 -50
  955. package/src/models/paymentlineitemresponse.ts +8 -52
  956. package/src/models/paymentlinetype.ts +53 -0
  957. package/src/models/paymentlinetyperesponse.ts +68 -0
  958. package/src/models/paymentrequest.ts +12 -54
  959. package/src/models/paymentresponse.ts +130 -510
  960. package/src/models/paymentstatus.ts +65 -0
  961. package/src/models/profilereviewstatusresponse.ts +56 -0
  962. package/src/models/profilestatus.ts +67 -0
  963. package/src/models/refundexternalreferencetype.ts +40 -0
  964. package/src/models/refundexternalreferencetyperesponse.ts +57 -0
  965. package/src/models/refundroutingreversalssourcetype.ts +40 -0
  966. package/src/models/refundstatus.ts +52 -0
  967. package/src/models/routecreaterequest.ts +8 -36
  968. package/src/models/routecreateresponse.ts +8 -38
  969. package/src/models/routedestinationtype.ts +38 -0
  970. package/src/models/routedestinationtyperesponse.ts +55 -0
  971. package/src/models/routegetresponse.ts +8 -36
  972. package/src/models/salesinvoicediscount.ts +5 -36
  973. package/src/models/salesinvoicediscountresponse.ts +8 -39
  974. package/src/models/salesinvoicediscounttype.ts +41 -0
  975. package/src/models/salesinvoicediscounttyperesponse.ts +56 -0
  976. package/src/models/salesinvoicepaymentdetails.ts +5 -37
  977. package/src/models/salesinvoicepaymentdetailsresponse.ts +8 -42
  978. package/src/models/salesinvoicepaymentdetailssource.ts +42 -0
  979. package/src/models/salesinvoicepaymentdetailssourceresponse.ts +59 -0
  980. package/src/models/salesinvoicepaymentterm.ts +46 -0
  981. package/src/models/salesinvoicepaymenttermresponse.ts +61 -0
  982. package/src/models/salesinvoicerecipient.ts +10 -84
  983. package/src/models/salesinvoicerecipientlocale.ts +48 -0
  984. package/src/models/salesinvoicerecipientlocaleresponse.ts +65 -0
  985. package/src/models/salesinvoicerecipientresponse.ts +16 -93
  986. package/src/models/salesinvoicerecipienttype.ts +47 -0
  987. package/src/models/salesinvoicerecipienttyperesponse.ts +63 -0
  988. package/src/models/salesinvoicestatus.ts +68 -0
  989. package/src/models/salesinvoicestatusresponse.ts +85 -0
  990. package/src/models/salesinvoicevatmode.ts +45 -0
  991. package/src/models/salesinvoicevatmoderesponse.ts +62 -0
  992. package/src/models/salesinvoicevatscheme.ts +39 -0
  993. package/src/models/salesinvoicevatschemeresponse.ts +56 -0
  994. package/src/models/settlementstatus.ts +56 -0
  995. package/src/models/subscriptionmethod.ts +40 -0
  996. package/src/models/subscriptionmethodresponse.ts +57 -0
  997. package/src/models/subscriptionrequest.ts +23 -40
  998. package/src/models/subscriptionresponse.ts +16 -87
  999. package/src/models/subscriptionstatus.ts +63 -0
  1000. package/src/models/terminalbrand.ts +54 -0
  1001. package/src/models/terminalstatus.ts +55 -0
  1002. package/src/models/updatevaluessalesinvoice.ts +27 -96
  1003. package/src/models/webhookstatus.ts +56 -0
package/bin/mcp-server.js CHANGED
@@ -34269,9 +34269,9 @@ var init_config = __esm(() => {
34269
34269
  SDK_METADATA = {
34270
34270
  language: "typescript",
34271
34271
  openapiDocVersion: "1.0.0",
34272
- sdkVersion: "0.2.0",
34273
- genVersion: "2.692.0",
34274
- userAgent: "speakeasy-sdk/typescript 0.2.0 2.692.0 1.0.0 mollie-api-typescript"
34272
+ sdkVersion: "0.2.2",
34273
+ genVersion: "2.694.1",
34274
+ userAgent: "speakeasy-sdk/typescript 0.2.2 2.694.1 1.0.0 mollie-api-typescript"
34275
34275
  };
34276
34276
  });
34277
34277
 
@@ -35800,6 +35800,239 @@ var init_amountnullable = __esm(() => {
35800
35800
  })(AmountNullable$ ||= {});
35801
35801
  });
35802
35802
 
35803
+ // src/types/enums.ts
35804
+ function catchUnrecognizedEnum(value) {
35805
+ return value;
35806
+ }
35807
+
35808
+ // src/models/balancereportgrouping.ts
35809
+ var BalanceReportGrouping, BalanceReportGrouping$inboundSchema, BalanceReportGrouping$outboundSchema, BalanceReportGrouping$;
35810
+ var init_balancereportgrouping = __esm(() => {
35811
+ init_esm();
35812
+ BalanceReportGrouping = {
35813
+ StatusBalances: "status-balances",
35814
+ TransactionCategories: "transaction-categories"
35815
+ };
35816
+ BalanceReportGrouping$inboundSchema = unionType([
35817
+ nativeEnumType(BalanceReportGrouping),
35818
+ stringType().transform(catchUnrecognizedEnum)
35819
+ ]);
35820
+ BalanceReportGrouping$outboundSchema = unionType([
35821
+ nativeEnumType(BalanceReportGrouping),
35822
+ stringType().and(custom())
35823
+ ]);
35824
+ ((BalanceReportGrouping$) => {
35825
+ BalanceReportGrouping$.inboundSchema = BalanceReportGrouping$inboundSchema;
35826
+ BalanceReportGrouping$.outboundSchema = BalanceReportGrouping$outboundSchema;
35827
+ })(BalanceReportGrouping$ ||= {});
35828
+ });
35829
+
35830
+ // src/models/balancestatus.ts
35831
+ var BalanceStatus, BalanceStatus$inboundSchema, BalanceStatus$outboundSchema, BalanceStatus$;
35832
+ var init_balancestatus = __esm(() => {
35833
+ init_esm();
35834
+ BalanceStatus = {
35835
+ Active: "active",
35836
+ Inactive: "inactive"
35837
+ };
35838
+ BalanceStatus$inboundSchema = unionType([
35839
+ nativeEnumType(BalanceStatus),
35840
+ stringType().transform(catchUnrecognizedEnum)
35841
+ ]);
35842
+ BalanceStatus$outboundSchema = unionType([
35843
+ nativeEnumType(BalanceStatus),
35844
+ stringType().and(custom())
35845
+ ]);
35846
+ ((BalanceStatus$) => {
35847
+ BalanceStatus$.inboundSchema = BalanceStatus$inboundSchema;
35848
+ BalanceStatus$.outboundSchema = BalanceStatus$outboundSchema;
35849
+ })(BalanceStatus$ ||= {});
35850
+ });
35851
+
35852
+ // src/models/balancetransactiontype.ts
35853
+ var BalanceTransactionType, BalanceTransactionType$inboundSchema, BalanceTransactionType$outboundSchema, BalanceTransactionType$;
35854
+ var init_balancetransactiontype = __esm(() => {
35855
+ init_esm();
35856
+ BalanceTransactionType = {
35857
+ ApplicationFee: "application-fee",
35858
+ Capture: "capture",
35859
+ Chargeback: "chargeback",
35860
+ ChargebackReversal: "chargeback-reversal",
35861
+ FailedPaymentFee: "failed-payment-fee",
35862
+ FailedPayment: "failed-payment",
35863
+ InvoiceCompensation: "invoice-compensation",
35864
+ Payment: "payment",
35865
+ PaymentFee: "payment-fee",
35866
+ PaymentCommission: "payment-commission",
35867
+ Refund: "refund",
35868
+ ReturnedRefund: "returned-refund",
35869
+ ReturnedTransfer: "returned-transfer",
35870
+ SplitPayment: "split-payment",
35871
+ OutgoingTransfer: "outgoing-transfer",
35872
+ CaptureCommission: "capture-commission",
35873
+ CanceledOutgoingTransfer: "canceled-outgoing-transfer",
35874
+ IncomingTransfer: "incoming-transfer",
35875
+ ApiPaymentRollingReserveRelease: "api-payment-rolling-reserve-release",
35876
+ CaptureRollingReserveRelease: "capture-rolling-reserve-release",
35877
+ ReimbursementFee: "reimbursement-fee",
35878
+ BalanceCorrection: "balance-correction",
35879
+ UnauthorizedDirectDebit: "unauthorized-direct-debit",
35880
+ BankChargedFailureFee: "bank-charged-failure-fee",
35881
+ PlatformPaymentRefund: "platform-payment-refund",
35882
+ RefundCompensation: "refund-compensation",
35883
+ ReturnedRefundCompensation: "returned-refund-compensation",
35884
+ ReturnedPlatformPaymentRefund: "returned-platform-payment-refund",
35885
+ PlatformPaymentChargeback: "platform-payment-chargeback",
35886
+ ChargebackCompensation: "chargeback-compensation",
35887
+ ReversedPlatformPaymentChargeback: "reversed-platform-payment-chargeback",
35888
+ ReversedChargebackCompensation: "reversed-chargeback-compensation",
35889
+ FailedSplitPaymentPlatform: "failed-split-payment-platform",
35890
+ FailedSplitPaymentCompensation: "failed-split-payment-compensation",
35891
+ CashAdvanceLoan: "cash-advance-loan",
35892
+ PlatformConnectedOrganizationsFee: "platform-connected-organizations-fee",
35893
+ SplitTransaction: "split-transaction",
35894
+ ManagedFee: "managed-fee",
35895
+ ReturnedManagedFee: "returned-managed-fee",
35896
+ Topup: "topup",
35897
+ BalanceReserve: "balance-reserve",
35898
+ BalanceReserveReturn: "balance-reserve-return",
35899
+ Movement: "movement",
35900
+ PostPaymentSplitPayment: "post-payment-split-payment",
35901
+ CashCollateralIssuance: "cash-collateral-issuance",
35902
+ CashCollateralRelease: "cash-collateral-release"
35903
+ };
35904
+ BalanceTransactionType$inboundSchema = unionType([
35905
+ nativeEnumType(BalanceTransactionType),
35906
+ stringType().transform(catchUnrecognizedEnum)
35907
+ ]);
35908
+ BalanceTransactionType$outboundSchema = unionType([
35909
+ nativeEnumType(BalanceTransactionType),
35910
+ stringType().and(custom())
35911
+ ]);
35912
+ ((BalanceTransactionType$) => {
35913
+ BalanceTransactionType$.inboundSchema = BalanceTransactionType$inboundSchema;
35914
+ BalanceTransactionType$.outboundSchema = BalanceTransactionType$outboundSchema;
35915
+ })(BalanceTransactionType$ ||= {});
35916
+ });
35917
+
35918
+ // src/models/balancetransferdestinationtype.ts
35919
+ var BalanceTransferDestinationType, BalanceTransferDestinationType$inboundSchema, BalanceTransferDestinationType$outboundSchema, BalanceTransferDestinationType$;
35920
+ var init_balancetransferdestinationtype = __esm(() => {
35921
+ init_esm();
35922
+ BalanceTransferDestinationType = {
35923
+ BankAccount: "bank-account"
35924
+ };
35925
+ BalanceTransferDestinationType$inboundSchema = unionType([
35926
+ nativeEnumType(BalanceTransferDestinationType),
35927
+ stringType().transform(catchUnrecognizedEnum)
35928
+ ]);
35929
+ BalanceTransferDestinationType$outboundSchema = unionType([
35930
+ nativeEnumType(BalanceTransferDestinationType),
35931
+ stringType().and(custom())
35932
+ ]);
35933
+ ((BalanceTransferDestinationType$) => {
35934
+ BalanceTransferDestinationType$.inboundSchema = BalanceTransferDestinationType$inboundSchema;
35935
+ BalanceTransferDestinationType$.outboundSchema = BalanceTransferDestinationType$outboundSchema;
35936
+ })(BalanceTransferDestinationType$ ||= {});
35937
+ });
35938
+
35939
+ // src/models/balancetransferfrequency.ts
35940
+ var BalanceTransferFrequency, BalanceTransferFrequency$inboundSchema, BalanceTransferFrequency$outboundSchema, BalanceTransferFrequency$;
35941
+ var init_balancetransferfrequency = __esm(() => {
35942
+ init_esm();
35943
+ BalanceTransferFrequency = {
35944
+ Daily: "daily",
35945
+ EveryMonday: "every-monday",
35946
+ EveryTuesday: "every-tuesday",
35947
+ EveryWednesday: "every-wednesday",
35948
+ EveryThursday: "every-thursday",
35949
+ EveryFriday: "every-friday",
35950
+ Monthly: "monthly",
35951
+ Never: "never"
35952
+ };
35953
+ BalanceTransferFrequency$inboundSchema = unionType([
35954
+ nativeEnumType(BalanceTransferFrequency),
35955
+ stringType().transform(catchUnrecognizedEnum)
35956
+ ]);
35957
+ BalanceTransferFrequency$outboundSchema = unionType([
35958
+ nativeEnumType(BalanceTransferFrequency),
35959
+ stringType().and(custom())
35960
+ ]);
35961
+ ((BalanceTransferFrequency$) => {
35962
+ BalanceTransferFrequency$.inboundSchema = BalanceTransferFrequency$inboundSchema;
35963
+ BalanceTransferFrequency$.outboundSchema = BalanceTransferFrequency$outboundSchema;
35964
+ })(BalanceTransferFrequency$ ||= {});
35965
+ });
35966
+
35967
+ // src/models/capabilityrequirementstatus.ts
35968
+ var CapabilityRequirementStatus, CapabilityRequirementStatus$inboundSchema, CapabilityRequirementStatus$outboundSchema, CapabilityRequirementStatus$;
35969
+ var init_capabilityrequirementstatus = __esm(() => {
35970
+ init_esm();
35971
+ CapabilityRequirementStatus = {
35972
+ CurrentlyDue: "currently-due",
35973
+ PastDue: "past-due",
35974
+ Requested: "requested"
35975
+ };
35976
+ CapabilityRequirementStatus$inboundSchema = unionType([
35977
+ nativeEnumType(CapabilityRequirementStatus),
35978
+ stringType().transform(catchUnrecognizedEnum)
35979
+ ]);
35980
+ CapabilityRequirementStatus$outboundSchema = unionType([
35981
+ nativeEnumType(CapabilityRequirementStatus),
35982
+ stringType().and(custom())
35983
+ ]);
35984
+ ((CapabilityRequirementStatus$) => {
35985
+ CapabilityRequirementStatus$.inboundSchema = CapabilityRequirementStatus$inboundSchema;
35986
+ CapabilityRequirementStatus$.outboundSchema = CapabilityRequirementStatus$outboundSchema;
35987
+ })(CapabilityRequirementStatus$ ||= {});
35988
+ });
35989
+
35990
+ // src/models/capabilitystatus.ts
35991
+ var CapabilityStatus, CapabilityStatus$inboundSchema, CapabilityStatus$outboundSchema, CapabilityStatus$;
35992
+ var init_capabilitystatus = __esm(() => {
35993
+ init_esm();
35994
+ CapabilityStatus = {
35995
+ Unrequested: "unrequested",
35996
+ Enabled: "enabled",
35997
+ Disabled: "disabled",
35998
+ Pending: "pending"
35999
+ };
36000
+ CapabilityStatus$inboundSchema = unionType([
36001
+ nativeEnumType(CapabilityStatus),
36002
+ stringType().transform(catchUnrecognizedEnum)
36003
+ ]);
36004
+ CapabilityStatus$outboundSchema = unionType([
36005
+ nativeEnumType(CapabilityStatus),
36006
+ stringType().and(custom())
36007
+ ]);
36008
+ ((CapabilityStatus$) => {
36009
+ CapabilityStatus$.inboundSchema = CapabilityStatus$inboundSchema;
36010
+ CapabilityStatus$.outboundSchema = CapabilityStatus$outboundSchema;
36011
+ })(CapabilityStatus$ ||= {});
36012
+ });
36013
+
36014
+ // src/models/capabilitystatusreason.ts
36015
+ var CapabilityStatusReason, CapabilityStatusReason$inboundSchema, CapabilityStatusReason$outboundSchema, CapabilityStatusReason$;
36016
+ var init_capabilitystatusreason = __esm(() => {
36017
+ init_esm();
36018
+ CapabilityStatusReason = {
36019
+ RequirementPastDue: "requirement-past-due",
36020
+ OnboardingInformationNeeded: "onboarding-information-needed"
36021
+ };
36022
+ CapabilityStatusReason$inboundSchema = unionType([
36023
+ nativeEnumType(CapabilityStatusReason),
36024
+ stringType().transform(catchUnrecognizedEnum)
36025
+ ]);
36026
+ CapabilityStatusReason$outboundSchema = unionType([
36027
+ nativeEnumType(CapabilityStatusReason),
36028
+ stringType().and(custom())
36029
+ ]);
36030
+ ((CapabilityStatusReason$) => {
36031
+ CapabilityStatusReason$.inboundSchema = CapabilityStatusReason$inboundSchema;
36032
+ CapabilityStatusReason$.outboundSchema = CapabilityStatusReason$outboundSchema;
36033
+ })(CapabilityStatusReason$ ||= {});
36034
+ });
36035
+
35803
36036
  // src/models/capturemode.ts
35804
36037
  var CaptureMode, CaptureMode$inboundSchema, CaptureMode$outboundSchema, CaptureMode$;
35805
36038
  var init_capturemode = __esm(() => {
@@ -35816,11 +36049,6 @@ var init_capturemode = __esm(() => {
35816
36049
  })(CaptureMode$ ||= {});
35817
36050
  });
35818
36051
 
35819
- // src/types/enums.ts
35820
- function catchUnrecognizedEnum(value) {
35821
- return value;
35822
- }
35823
-
35824
36052
  // src/models/capturemoderesponse.ts
35825
36053
  var CaptureModeResponse, CaptureModeResponse$inboundSchema, CaptureModeResponse$outboundSchema, CaptureModeResponse$;
35826
36054
  var init_capturemoderesponse = __esm(() => {
@@ -35843,6 +36071,29 @@ var init_capturemoderesponse = __esm(() => {
35843
36071
  })(CaptureModeResponse$ ||= {});
35844
36072
  });
35845
36073
 
36074
+ // src/models/capturestatus.ts
36075
+ var CaptureStatus, CaptureStatus$inboundSchema, CaptureStatus$outboundSchema, CaptureStatus$;
36076
+ var init_capturestatus = __esm(() => {
36077
+ init_esm();
36078
+ CaptureStatus = {
36079
+ Pending: "pending",
36080
+ Succeeded: "succeeded",
36081
+ Failed: "failed"
36082
+ };
36083
+ CaptureStatus$inboundSchema = unionType([
36084
+ nativeEnumType(CaptureStatus),
36085
+ stringType().transform(catchUnrecognizedEnum)
36086
+ ]);
36087
+ CaptureStatus$outboundSchema = unionType([
36088
+ nativeEnumType(CaptureStatus),
36089
+ stringType().and(custom())
36090
+ ]);
36091
+ ((CaptureStatus$) => {
36092
+ CaptureStatus$.inboundSchema = CaptureStatus$inboundSchema;
36093
+ CaptureStatus$.outboundSchema = CaptureStatus$outboundSchema;
36094
+ })(CaptureStatus$ ||= {});
36095
+ });
36096
+
35846
36097
  // src/models/metadata.ts
35847
36098
  var Metadata$inboundSchema, Metadata$outboundSchema, Metadata$;
35848
36099
  var init_metadata = __esm(() => {
@@ -35914,26 +36165,16 @@ var init_urlnullable = __esm(() => {
35914
36165
  });
35915
36166
 
35916
36167
  // src/models/captureresponse.ts
35917
- var CaptureResponseStatus, CaptureResponseStatus$inboundSchema, CaptureResponseStatus$outboundSchema, CaptureResponseStatus$, CaptureResponseLinks$inboundSchema, CaptureResponseLinks$outboundSchema, CaptureResponseLinks$, CaptureResponse$inboundSchema, CaptureResponse$outboundSchema, CaptureResponse$;
36168
+ var CaptureResponseLinks$inboundSchema, CaptureResponseLinks$outboundSchema, CaptureResponseLinks$, CaptureResponse$inboundSchema, CaptureResponse$outboundSchema, CaptureResponse$;
35918
36169
  var init_captureresponse = __esm(() => {
35919
36170
  init_esm();
35920
36171
  init_primitives();
35921
36172
  init_amountnullable();
36173
+ init_capturestatus();
35922
36174
  init_metadata();
35923
36175
  init_mode();
35924
36176
  init_url2();
35925
36177
  init_urlnullable();
35926
- CaptureResponseStatus = {
35927
- Pending: "pending",
35928
- Succeeded: "succeeded",
35929
- Failed: "failed"
35930
- };
35931
- CaptureResponseStatus$inboundSchema = nativeEnumType(CaptureResponseStatus);
35932
- CaptureResponseStatus$outboundSchema = CaptureResponseStatus$inboundSchema;
35933
- ((CaptureResponseStatus$) => {
35934
- CaptureResponseStatus$.inboundSchema = CaptureResponseStatus$inboundSchema;
35935
- CaptureResponseStatus$.outboundSchema = CaptureResponseStatus$outboundSchema;
35936
- })(CaptureResponseStatus$ ||= {});
35937
36178
  CaptureResponseLinks$inboundSchema = objectType({
35938
36179
  self: Url$inboundSchema,
35939
36180
  payment: Url$inboundSchema,
@@ -35959,7 +36200,7 @@ var init_captureresponse = __esm(() => {
35959
36200
  description: stringType().optional(),
35960
36201
  amount: nullableType(AmountNullable$inboundSchema).optional(),
35961
36202
  settlementAmount: nullableType(AmountNullable$inboundSchema).optional(),
35962
- status: CaptureResponseStatus$inboundSchema.optional(),
36203
+ status: CaptureStatus$inboundSchema.optional(),
35963
36204
  metadata: nullableType(Metadata$inboundSchema).optional(),
35964
36205
  paymentId: stringType().optional(),
35965
36206
  shipmentId: stringType().optional(),
@@ -35978,7 +36219,7 @@ var init_captureresponse = __esm(() => {
35978
36219
  description: stringType().optional(),
35979
36220
  amount: nullableType(AmountNullable$outboundSchema).optional(),
35980
36221
  settlementAmount: nullableType(AmountNullable$outboundSchema).optional(),
35981
- status: CaptureResponseStatus$outboundSchema.optional(),
36222
+ status: CaptureStatus$outboundSchema.optional(),
35982
36223
  metadata: nullableType(Metadata$outboundSchema).optional(),
35983
36224
  paymentId: stringType().optional(),
35984
36225
  shipmentId: stringType().optional(),
@@ -36411,25 +36652,39 @@ var init_webhookeventtypes = __esm(() => {
36411
36652
  })(WebhookEventTypes$ ||= {});
36412
36653
  });
36413
36654
 
36655
+ // src/models/webhookstatus.ts
36656
+ var WebhookStatus, WebhookStatus$inboundSchema, WebhookStatus$outboundSchema, WebhookStatus$;
36657
+ var init_webhookstatus = __esm(() => {
36658
+ init_esm();
36659
+ WebhookStatus = {
36660
+ Enabled: "enabled",
36661
+ Blocked: "blocked",
36662
+ Disabled: "disabled",
36663
+ Deleted: "deleted"
36664
+ };
36665
+ WebhookStatus$inboundSchema = unionType([
36666
+ nativeEnumType(WebhookStatus),
36667
+ stringType().transform(catchUnrecognizedEnum)
36668
+ ]);
36669
+ WebhookStatus$outboundSchema = unionType([
36670
+ nativeEnumType(WebhookStatus),
36671
+ stringType().and(custom())
36672
+ ]);
36673
+ ((WebhookStatus$) => {
36674
+ WebhookStatus$.inboundSchema = WebhookStatus$inboundSchema;
36675
+ WebhookStatus$.outboundSchema = WebhookStatus$outboundSchema;
36676
+ })(WebhookStatus$ ||= {});
36677
+ });
36678
+
36414
36679
  // src/models/createwebhook.ts
36415
- var CreateWebhookStatus, CreateWebhookStatus$inboundSchema, CreateWebhookStatus$outboundSchema, CreateWebhookStatus$, CreateWebhookLinks$inboundSchema, CreateWebhookLinks$outboundSchema, CreateWebhookLinks$, CreateWebhook$inboundSchema, CreateWebhook$outboundSchema, CreateWebhook$;
36680
+ var CreateWebhookLinks$inboundSchema, CreateWebhookLinks$outboundSchema, CreateWebhookLinks$, CreateWebhook$inboundSchema, CreateWebhook$outboundSchema, CreateWebhook$;
36416
36681
  var init_createwebhook = __esm(() => {
36417
36682
  init_esm();
36418
36683
  init_primitives();
36419
36684
  init_mode();
36420
36685
  init_url2();
36421
36686
  init_webhookeventtypes();
36422
- CreateWebhookStatus = {
36423
- Enabled: "enabled",
36424
- Blocked: "blocked",
36425
- Disabled: "disabled"
36426
- };
36427
- CreateWebhookStatus$inboundSchema = nativeEnumType(CreateWebhookStatus);
36428
- CreateWebhookStatus$outboundSchema = CreateWebhookStatus$inboundSchema;
36429
- ((CreateWebhookStatus$) => {
36430
- CreateWebhookStatus$.inboundSchema = CreateWebhookStatus$inboundSchema;
36431
- CreateWebhookStatus$.outboundSchema = CreateWebhookStatus$outboundSchema;
36432
- })(CreateWebhookStatus$ ||= {});
36687
+ init_webhookstatus();
36433
36688
  CreateWebhookLinks$inboundSchema = objectType({
36434
36689
  documentation: Url$inboundSchema
36435
36690
  });
@@ -36448,7 +36703,7 @@ var init_createwebhook = __esm(() => {
36448
36703
  createdAt: stringType(),
36449
36704
  name: stringType(),
36450
36705
  eventTypes: arrayType(WebhookEventTypes$inboundSchema),
36451
- status: CreateWebhookStatus$inboundSchema,
36706
+ status: WebhookStatus$inboundSchema,
36452
36707
  mode: Mode$inboundSchema,
36453
36708
  webhookSecret: stringType(),
36454
36709
  _links: lazyType(() => CreateWebhookLinks$inboundSchema)
@@ -36465,7 +36720,7 @@ var init_createwebhook = __esm(() => {
36465
36720
  createdAt: stringType(),
36466
36721
  name: stringType(),
36467
36722
  eventTypes: arrayType(WebhookEventTypes$outboundSchema),
36468
- status: CreateWebhookStatus$outboundSchema,
36723
+ status: WebhookStatus$outboundSchema,
36469
36724
  mode: Mode$outboundSchema,
36470
36725
  webhookSecret: stringType(),
36471
36726
  links: lazyType(() => CreateWebhookLinks$outboundSchema)
@@ -36590,7 +36845,7 @@ var init_customerresponse = __esm(() => {
36590
36845
  mode: Mode$inboundSchema.optional(),
36591
36846
  name: nullableType(stringType()).optional(),
36592
36847
  email: nullableType(stringType()).optional(),
36593
- locale: LocaleResponse$inboundSchema.optional(),
36848
+ locale: nullableType(LocaleResponse$inboundSchema).optional(),
36594
36849
  metadata: nullableType(Metadata$inboundSchema).optional(),
36595
36850
  createdAt: stringType().optional(),
36596
36851
  _links: lazyType(() => CustomerResponseLinks$inboundSchema).optional()
@@ -36605,7 +36860,7 @@ var init_customerresponse = __esm(() => {
36605
36860
  mode: Mode$outboundSchema.optional(),
36606
36861
  name: nullableType(stringType()).optional(),
36607
36862
  email: nullableType(stringType()).optional(),
36608
- locale: LocaleResponse$outboundSchema.optional(),
36863
+ locale: nullableType(LocaleResponse$outboundSchema).optional(),
36609
36864
  metadata: nullableType(Metadata$outboundSchema).optional(),
36610
36865
  createdAt: stringType().optional(),
36611
36866
  links: lazyType(() => CustomerResponseLinks$outboundSchema).optional()
@@ -36637,56 +36892,24 @@ var init_deletevaluessalesinvoice = __esm(() => {
36637
36892
  });
36638
36893
 
36639
36894
  // src/models/entitybalance.ts
36640
- var EntityBalanceStatus, TransferFrequency, EntityBalanceType, EntityBalanceStatus$inboundSchema, EntityBalanceStatus$outboundSchema, EntityBalanceStatus$, TransferFrequency$inboundSchema, TransferFrequency$outboundSchema, TransferFrequency$, EntityBalanceType$inboundSchema, EntityBalanceType$outboundSchema, EntityBalanceType$, TransferDestination$inboundSchema, TransferDestination$outboundSchema, TransferDestination$, EntityBalanceLinks$inboundSchema, EntityBalanceLinks$outboundSchema, EntityBalanceLinks$, EntityBalance$inboundSchema, EntityBalance$outboundSchema, EntityBalance$;
36895
+ var TransferDestination$inboundSchema, TransferDestination$outboundSchema, TransferDestination$, EntityBalanceLinks$inboundSchema, EntityBalanceLinks$outboundSchema, EntityBalanceLinks$, EntityBalance$inboundSchema, EntityBalance$outboundSchema, EntityBalance$;
36641
36896
  var init_entitybalance = __esm(() => {
36642
36897
  init_esm();
36643
36898
  init_primitives();
36644
36899
  init_amount();
36900
+ init_balancestatus();
36901
+ init_balancetransferdestinationtype();
36902
+ init_balancetransferfrequency();
36645
36903
  init_currencies();
36646
36904
  init_mode();
36647
36905
  init_url2();
36648
- EntityBalanceStatus = {
36649
- Active: "active",
36650
- Inactive: "inactive"
36651
- };
36652
- TransferFrequency = {
36653
- Daily: "daily",
36654
- EveryMonday: "every-monday",
36655
- EveryTuesday: "every-tuesday",
36656
- EveryWednesday: "every-wednesday",
36657
- EveryThursday: "every-thursday",
36658
- EveryFriday: "every-friday",
36659
- Monthly: "monthly",
36660
- Never: "never"
36661
- };
36662
- EntityBalanceType = {
36663
- BankAccount: "bank-account"
36664
- };
36665
- EntityBalanceStatus$inboundSchema = nativeEnumType(EntityBalanceStatus);
36666
- EntityBalanceStatus$outboundSchema = EntityBalanceStatus$inboundSchema;
36667
- ((EntityBalanceStatus$) => {
36668
- EntityBalanceStatus$.inboundSchema = EntityBalanceStatus$inboundSchema;
36669
- EntityBalanceStatus$.outboundSchema = EntityBalanceStatus$outboundSchema;
36670
- })(EntityBalanceStatus$ ||= {});
36671
- TransferFrequency$inboundSchema = nativeEnumType(TransferFrequency);
36672
- TransferFrequency$outboundSchema = TransferFrequency$inboundSchema;
36673
- ((TransferFrequency$) => {
36674
- TransferFrequency$.inboundSchema = TransferFrequency$inboundSchema;
36675
- TransferFrequency$.outboundSchema = TransferFrequency$outboundSchema;
36676
- })(TransferFrequency$ ||= {});
36677
- EntityBalanceType$inboundSchema = nativeEnumType(EntityBalanceType);
36678
- EntityBalanceType$outboundSchema = EntityBalanceType$inboundSchema;
36679
- ((EntityBalanceType$) => {
36680
- EntityBalanceType$.inboundSchema = EntityBalanceType$inboundSchema;
36681
- EntityBalanceType$.outboundSchema = EntityBalanceType$outboundSchema;
36682
- })(EntityBalanceType$ ||= {});
36683
36906
  TransferDestination$inboundSchema = objectType({
36684
- type: EntityBalanceType$inboundSchema.optional(),
36907
+ type: BalanceTransferDestinationType$inboundSchema.optional(),
36685
36908
  bankAccount: stringType().optional(),
36686
36909
  beneficiaryName: stringType().optional()
36687
36910
  });
36688
36911
  TransferDestination$outboundSchema = objectType({
36689
- type: EntityBalanceType$outboundSchema.optional(),
36912
+ type: BalanceTransferDestinationType$outboundSchema.optional(),
36690
36913
  bankAccount: stringType().optional(),
36691
36914
  beneficiaryName: stringType().optional()
36692
36915
  });
@@ -36713,8 +36936,8 @@ var init_entitybalance = __esm(() => {
36713
36936
  createdAt: stringType().optional(),
36714
36937
  currency: Currencies$inboundSchema.optional(),
36715
36938
  description: stringType().optional(),
36716
- status: EntityBalanceStatus$inboundSchema.optional(),
36717
- transferFrequency: TransferFrequency$inboundSchema.optional(),
36939
+ status: BalanceStatus$inboundSchema.optional(),
36940
+ transferFrequency: BalanceTransferFrequency$inboundSchema.optional(),
36718
36941
  transferThreshold: Amount$inboundSchema.optional(),
36719
36942
  transferReference: nullableType(stringType()).optional(),
36720
36943
  transferDestination: nullableType(lazyType(() => TransferDestination$inboundSchema)).optional(),
@@ -36733,8 +36956,8 @@ var init_entitybalance = __esm(() => {
36733
36956
  createdAt: stringType().optional(),
36734
36957
  currency: Currencies$outboundSchema.optional(),
36735
36958
  description: stringType().optional(),
36736
- status: EntityBalanceStatus$outboundSchema.optional(),
36737
- transferFrequency: TransferFrequency$outboundSchema.optional(),
36959
+ status: BalanceStatus$outboundSchema.optional(),
36960
+ transferFrequency: BalanceTransferFrequency$outboundSchema.optional(),
36738
36961
  transferThreshold: Amount$outboundSchema.optional(),
36739
36962
  transferReference: nullableType(stringType()).optional(),
36740
36963
  transferDestination: nullableType(lazyType(() => TransferDestination$outboundSchema)).optional(),
@@ -36773,22 +36996,13 @@ var init_subgroup = __esm(() => {
36773
36996
  });
36774
36997
 
36775
36998
  // src/models/entitybalancereport.ts
36776
- var Grouping, Grouping$inboundSchema, Grouping$outboundSchema, Grouping$, PendingBalance$inboundSchema, PendingBalance$outboundSchema, PendingBalance$, AvailableBalance$inboundSchema, AvailableBalance$outboundSchema, AvailableBalance$, Open$inboundSchema, Open$outboundSchema, Open$, Close$inboundSchema, Close$outboundSchema, Close$, Payments$inboundSchema, Payments$outboundSchema, Payments$, Refunds$inboundSchema, Refunds$outboundSchema, Refunds$, Chargebacks$inboundSchema, Chargebacks$outboundSchema, Chargebacks$, Capital$inboundSchema, Capital$outboundSchema, Capital$, Transfers$inboundSchema, Transfers$outboundSchema, Transfers$, FeePrepayments$inboundSchema, FeePrepayments$outboundSchema, FeePrepayments$, Corrections$inboundSchema, Corrections$outboundSchema, Corrections$, Topups$inboundSchema, Topups$outboundSchema, Topups$, Totals$inboundSchema, Totals$outboundSchema, Totals$, EntityBalanceReportLinks$inboundSchema, EntityBalanceReportLinks$outboundSchema, EntityBalanceReportLinks$, EntityBalanceReport$inboundSchema, EntityBalanceReport$outboundSchema, EntityBalanceReport$;
36999
+ var PendingBalance$inboundSchema, PendingBalance$outboundSchema, PendingBalance$, AvailableBalance$inboundSchema, AvailableBalance$outboundSchema, AvailableBalance$, Open$inboundSchema, Open$outboundSchema, Open$, Close$inboundSchema, Close$outboundSchema, Close$, Payments$inboundSchema, Payments$outboundSchema, Payments$, Refunds$inboundSchema, Refunds$outboundSchema, Refunds$, Chargebacks$inboundSchema, Chargebacks$outboundSchema, Chargebacks$, Capital$inboundSchema, Capital$outboundSchema, Capital$, Transfers$inboundSchema, Transfers$outboundSchema, Transfers$, FeePrepayments$inboundSchema, FeePrepayments$outboundSchema, FeePrepayments$, Corrections$inboundSchema, Corrections$outboundSchema, Corrections$, Topups$inboundSchema, Topups$outboundSchema, Topups$, Totals$inboundSchema, Totals$outboundSchema, Totals$, EntityBalanceReportLinks$inboundSchema, EntityBalanceReportLinks$outboundSchema, EntityBalanceReportLinks$, EntityBalanceReport$inboundSchema, EntityBalanceReport$outboundSchema, EntityBalanceReport$;
36777
37000
  var init_entitybalancereport = __esm(() => {
36778
37001
  init_esm();
36779
37002
  init_primitives();
37003
+ init_balancereportgrouping();
36780
37004
  init_subgroup();
36781
37005
  init_url2();
36782
- Grouping = {
36783
- StatusBalances: "status-balances",
36784
- TransactionCategories: "transaction-categories"
36785
- };
36786
- Grouping$inboundSchema = nativeEnumType(Grouping);
36787
- Grouping$outboundSchema = Grouping$inboundSchema;
36788
- ((Grouping$) => {
36789
- Grouping$.inboundSchema = Grouping$inboundSchema;
36790
- Grouping$.outboundSchema = Grouping$outboundSchema;
36791
- })(Grouping$ ||= {});
36792
37006
  PendingBalance$inboundSchema = objectType({
36793
37007
  open: SubGroup$inboundSchema.optional(),
36794
37008
  close: SubGroup$inboundSchema.optional(),
@@ -37015,7 +37229,7 @@ var init_entitybalancereport = __esm(() => {
37015
37229
  timeZone: stringType().optional(),
37016
37230
  from: stringType().optional(),
37017
37231
  until: stringType().optional(),
37018
- grouping: Grouping$inboundSchema.optional(),
37232
+ grouping: BalanceReportGrouping$inboundSchema.optional(),
37019
37233
  totals: lazyType(() => Totals$inboundSchema).optional(),
37020
37234
  _links: lazyType(() => EntityBalanceReportLinks$inboundSchema).optional()
37021
37235
  }).transform((v2) => {
@@ -37029,7 +37243,7 @@ var init_entitybalancereport = __esm(() => {
37029
37243
  timeZone: stringType().optional(),
37030
37244
  from: stringType().optional(),
37031
37245
  until: stringType().optional(),
37032
- grouping: Grouping$outboundSchema.optional(),
37246
+ grouping: BalanceReportGrouping$outboundSchema.optional(),
37033
37247
  totals: lazyType(() => Totals$outboundSchema).optional(),
37034
37248
  links: lazyType(() => EntityBalanceReportLinks$outboundSchema).optional()
37035
37249
  }).transform((v2) => {
@@ -37044,66 +37258,13 @@ var init_entitybalancereport = __esm(() => {
37044
37258
  });
37045
37259
 
37046
37260
  // src/models/entitybalancetransaction.ts
37047
- var EntityBalanceTransactionType, EntityBalanceTransactionType$inboundSchema, EntityBalanceTransactionType$outboundSchema, EntityBalanceTransactionType$, Payment$inboundSchema, Payment$outboundSchema, Payment$, Capture$inboundSchema, Capture$outboundSchema, Capture$, CaptureCommision$inboundSchema, CaptureCommision$outboundSchema, CaptureCommision$, CaptureRollingReserveRelease$inboundSchema, CaptureRollingReserveRelease$outboundSchema, CaptureRollingReserveRelease$, UnauthorizedDirectDebit$inboundSchema, UnauthorizedDirectDebit$outboundSchema, UnauthorizedDirectDebit$, FailedPayment$inboundSchema, FailedPayment$outboundSchema, FailedPayment$, Refund$inboundSchema, Refund$outboundSchema, Refund$, RefundCompensation$inboundSchema, RefundCompensation$outboundSchema, RefundCompensation$, ReturnedRefund$inboundSchema, ReturnedRefund$outboundSchema, ReturnedRefund$, ReturnedRefundCompensation$inboundSchema, ReturnedRefundCompensation$outboundSchema, ReturnedRefundCompensation$, Chargeback$inboundSchema, Chargeback$outboundSchema, Chargeback$, ChargebackReversal$inboundSchema, ChargebackReversal$outboundSchema, ChargebackReversal$, ChargebackCompensation$inboundSchema, ChargebackCompensation$outboundSchema, ChargebackCompensation$, ReversedChargebackCompensation$inboundSchema, ReversedChargebackCompensation$outboundSchema, ReversedChargebackCompensation$, OutgoingTransfer$inboundSchema, OutgoingTransfer$outboundSchema, OutgoingTransfer$, CanceledOutgoingTransfer$inboundSchema, CanceledOutgoingTransfer$outboundSchema, CanceledOutgoingTransfer$, ReturnedTransfer$inboundSchema, ReturnedTransfer$outboundSchema, ReturnedTransfer$, InvoiceCompensation$inboundSchema, InvoiceCompensation$outboundSchema, InvoiceCompensation$, EntityBalanceTransactionApplicationFee$inboundSchema, EntityBalanceTransactionApplicationFee$outboundSchema, EntityBalanceTransactionApplicationFee$, SplitPayment$inboundSchema, SplitPayment$outboundSchema, SplitPayment$, PlatformPaymentRefund$inboundSchema, PlatformPaymentRefund$outboundSchema, PlatformPaymentRefund$, ReturnedPlatformPaymentRefund$inboundSchema, ReturnedPlatformPaymentRefund$outboundSchema, ReturnedPlatformPaymentRefund$, PlatformPaymentChargeback$inboundSchema, PlatformPaymentChargeback$outboundSchema, PlatformPaymentChargeback$, ReversedPlatformPaymentChargeback$inboundSchema, ReversedPlatformPaymentChargeback$outboundSchema, ReversedPlatformPaymentChargeback$, PaymentCommission$inboundSchema, PaymentCommission$outboundSchema, PaymentCommission$, ReimbursementFee$inboundSchema, ReimbursementFee$outboundSchema, ReimbursementFee$, FailedPaymentFee$inboundSchema, FailedPaymentFee$outboundSchema, FailedPaymentFee$, PaymentFee$inboundSchema, PaymentFee$outboundSchema, PaymentFee$, ManagedFee$inboundSchema, ManagedFee$outboundSchema, ManagedFee$, ReturnedManagedFee$inboundSchema, ReturnedManagedFee$outboundSchema, ReturnedManagedFee$, PostPaymentSplitPayment$inboundSchema, PostPaymentSplitPayment$outboundSchema, PostPaymentSplitPayment$, Context$inboundSchema, Context$outboundSchema, Context$, EntityBalanceTransaction$inboundSchema, EntityBalanceTransaction$outboundSchema, EntityBalanceTransaction$;
37261
+ var Payment$inboundSchema, Payment$outboundSchema, Payment$, Capture$inboundSchema, Capture$outboundSchema, Capture$, CaptureCommision$inboundSchema, CaptureCommision$outboundSchema, CaptureCommision$, CaptureRollingReserveRelease$inboundSchema, CaptureRollingReserveRelease$outboundSchema, CaptureRollingReserveRelease$, UnauthorizedDirectDebit$inboundSchema, UnauthorizedDirectDebit$outboundSchema, UnauthorizedDirectDebit$, FailedPayment$inboundSchema, FailedPayment$outboundSchema, FailedPayment$, Refund$inboundSchema, Refund$outboundSchema, Refund$, RefundCompensation$inboundSchema, RefundCompensation$outboundSchema, RefundCompensation$, ReturnedRefund$inboundSchema, ReturnedRefund$outboundSchema, ReturnedRefund$, ReturnedRefundCompensation$inboundSchema, ReturnedRefundCompensation$outboundSchema, ReturnedRefundCompensation$, Chargeback$inboundSchema, Chargeback$outboundSchema, Chargeback$, ChargebackReversal$inboundSchema, ChargebackReversal$outboundSchema, ChargebackReversal$, ChargebackCompensation$inboundSchema, ChargebackCompensation$outboundSchema, ChargebackCompensation$, ReversedChargebackCompensation$inboundSchema, ReversedChargebackCompensation$outboundSchema, ReversedChargebackCompensation$, OutgoingTransfer$inboundSchema, OutgoingTransfer$outboundSchema, OutgoingTransfer$, CanceledOutgoingTransfer$inboundSchema, CanceledOutgoingTransfer$outboundSchema, CanceledOutgoingTransfer$, ReturnedTransfer$inboundSchema, ReturnedTransfer$outboundSchema, ReturnedTransfer$, InvoiceCompensation$inboundSchema, InvoiceCompensation$outboundSchema, InvoiceCompensation$, EntityBalanceTransactionApplicationFee$inboundSchema, EntityBalanceTransactionApplicationFee$outboundSchema, EntityBalanceTransactionApplicationFee$, SplitPayment$inboundSchema, SplitPayment$outboundSchema, SplitPayment$, PlatformPaymentRefund$inboundSchema, PlatformPaymentRefund$outboundSchema, PlatformPaymentRefund$, ReturnedPlatformPaymentRefund$inboundSchema, ReturnedPlatformPaymentRefund$outboundSchema, ReturnedPlatformPaymentRefund$, PlatformPaymentChargeback$inboundSchema, PlatformPaymentChargeback$outboundSchema, PlatformPaymentChargeback$, ReversedPlatformPaymentChargeback$inboundSchema, ReversedPlatformPaymentChargeback$outboundSchema, ReversedPlatformPaymentChargeback$, PaymentCommission$inboundSchema, PaymentCommission$outboundSchema, PaymentCommission$, ReimbursementFee$inboundSchema, ReimbursementFee$outboundSchema, ReimbursementFee$, FailedPaymentFee$inboundSchema, FailedPaymentFee$outboundSchema, FailedPaymentFee$, PaymentFee$inboundSchema, PaymentFee$outboundSchema, PaymentFee$, ManagedFee$inboundSchema, ManagedFee$outboundSchema, ManagedFee$, ReturnedManagedFee$inboundSchema, ReturnedManagedFee$outboundSchema, ReturnedManagedFee$, PostPaymentSplitPayment$inboundSchema, PostPaymentSplitPayment$outboundSchema, PostPaymentSplitPayment$, Context$inboundSchema, Context$outboundSchema, Context$, EntityBalanceTransaction$inboundSchema, EntityBalanceTransaction$outboundSchema, EntityBalanceTransaction$;
37048
37262
  var init_entitybalancetransaction = __esm(() => {
37049
37263
  init_esm();
37050
37264
  init_primitives();
37051
37265
  init_amount();
37052
37266
  init_amountnullable();
37053
- EntityBalanceTransactionType = {
37054
- ApplicationFee: "application-fee",
37055
- Capture: "capture",
37056
- Chargeback: "chargeback",
37057
- ChargebackReversal: "chargeback-reversal",
37058
- FailedPaymentFee: "failed-payment-fee",
37059
- FailedPayment: "failed-payment",
37060
- InvoiceCompensation: "invoice-compensation",
37061
- Payment: "payment",
37062
- PaymentFee: "payment-fee",
37063
- PaymentCommission: "payment-commission",
37064
- Refund: "refund",
37065
- ReturnedRefund: "returned-refund",
37066
- ReturnedTransfer: "returned-transfer",
37067
- SplitPayment: "split-payment",
37068
- OutgoingTransfer: "outgoing-transfer",
37069
- CaptureCommission: "capture-commission",
37070
- CanceledOutgoingTransfer: "canceled-outgoing-transfer",
37071
- IncomingTransfer: "incoming-transfer",
37072
- ApiPaymentRollingReserveRelease: "api-payment-rolling-reserve-release",
37073
- CaptureRollingReserveRelease: "capture-rolling-reserve-release",
37074
- ReimbursementFee: "reimbursement-fee",
37075
- BalanceCorrection: "balance-correction",
37076
- UnauthorizedDirectDebit: "unauthorized-direct-debit",
37077
- BankChargedFailureFee: "bank-charged-failure-fee",
37078
- PlatformPaymentRefund: "platform-payment-refund",
37079
- RefundCompensation: "refund-compensation",
37080
- ReturnedRefundCompensation: "returned-refund-compensation",
37081
- ReturnedPlatformPaymentRefund: "returned-platform-payment-refund",
37082
- PlatformPaymentChargeback: "platform-payment-chargeback",
37083
- ChargebackCompensation: "chargeback-compensation",
37084
- ReversedPlatformPaymentChargeback: "reversed-platform-payment-chargeback",
37085
- ReversedChargebackCompensation: "reversed-chargeback-compensation",
37086
- FailedSplitPaymentPlatform: "failed-split-payment-platform",
37087
- FailedSplitPaymentCompensation: "failed-split-payment-compensation",
37088
- CashAdvanceLoan: "cash-advance-loan",
37089
- PlatformConnectedOrganizationsFee: "platform-connected-organizations-fee",
37090
- SplitTransaction: "split-transaction",
37091
- ManagedFee: "managed-fee",
37092
- ReturnedManagedFee: "returned-managed-fee",
37093
- Topup: "topup",
37094
- BalanceReserve: "balance-reserve",
37095
- BalanceReserveReturn: "balance-reserve-return",
37096
- Movement: "movement",
37097
- PostPaymentSplitPayment: "post-payment-split-payment",
37098
- CashCollateralIssuance: "cash-collateral-issuance",
37099
- CashCollateralRelease: "cash-collateral-release"
37100
- };
37101
- EntityBalanceTransactionType$inboundSchema = nativeEnumType(EntityBalanceTransactionType);
37102
- EntityBalanceTransactionType$outboundSchema = EntityBalanceTransactionType$inboundSchema;
37103
- ((EntityBalanceTransactionType$) => {
37104
- EntityBalanceTransactionType$.inboundSchema = EntityBalanceTransactionType$inboundSchema;
37105
- EntityBalanceTransactionType$.outboundSchema = EntityBalanceTransactionType$outboundSchema;
37106
- })(EntityBalanceTransactionType$ ||= {});
37267
+ init_balancetransactiontype();
37107
37268
  Payment$inboundSchema = objectType({
37108
37269
  paymentId: stringType().optional(),
37109
37270
  paymentDescription: stringType().optional()
@@ -37671,7 +37832,7 @@ var init_entitybalancetransaction = __esm(() => {
37671
37832
  EntityBalanceTransaction$inboundSchema = objectType({
37672
37833
  resource: stringType().optional(),
37673
37834
  id: stringType().optional(),
37674
- type: EntityBalanceTransactionType$inboundSchema.optional(),
37835
+ type: BalanceTransactionType$inboundSchema.optional(),
37675
37836
  resultAmount: Amount$inboundSchema.optional(),
37676
37837
  initialAmount: Amount$inboundSchema.optional(),
37677
37838
  deductions: nullableType(AmountNullable$inboundSchema).optional(),
@@ -37681,7 +37842,7 @@ var init_entitybalancetransaction = __esm(() => {
37681
37842
  EntityBalanceTransaction$outboundSchema = objectType({
37682
37843
  resource: stringType().optional(),
37683
37844
  id: stringType().optional(),
37684
- type: EntityBalanceTransactionType$outboundSchema.optional(),
37845
+ type: BalanceTransactionType$outboundSchema.optional(),
37685
37846
  resultAmount: Amount$outboundSchema.optional(),
37686
37847
  initialAmount: Amount$outboundSchema.optional(),
37687
37848
  deductions: nullableType(AmountNullable$outboundSchema).optional(),
@@ -37695,21 +37856,11 @@ var init_entitybalancetransaction = __esm(() => {
37695
37856
  });
37696
37857
 
37697
37858
  // src/models/entitycapabilityrequirement.ts
37698
- var EntityCapabilityRequirementStatus, EntityCapabilityRequirementStatus$inboundSchema, EntityCapabilityRequirementStatus$outboundSchema, EntityCapabilityRequirementStatus$, Dashboard$inboundSchema, Dashboard$outboundSchema, Dashboard$, EntityCapabilityRequirementLinks$inboundSchema, EntityCapabilityRequirementLinks$outboundSchema, EntityCapabilityRequirementLinks$, EntityCapabilityRequirement$inboundSchema, EntityCapabilityRequirement$outboundSchema, EntityCapabilityRequirement$;
37859
+ var Dashboard$inboundSchema, Dashboard$outboundSchema, Dashboard$, EntityCapabilityRequirementLinks$inboundSchema, EntityCapabilityRequirementLinks$outboundSchema, EntityCapabilityRequirementLinks$, EntityCapabilityRequirement$inboundSchema, EntityCapabilityRequirement$outboundSchema, EntityCapabilityRequirement$;
37699
37860
  var init_entitycapabilityrequirement = __esm(() => {
37700
37861
  init_esm();
37701
37862
  init_primitives();
37702
- EntityCapabilityRequirementStatus = {
37703
- CurrentlyDue: "currently-due",
37704
- PastDue: "past-due",
37705
- Requested: "requested"
37706
- };
37707
- EntityCapabilityRequirementStatus$inboundSchema = nativeEnumType(EntityCapabilityRequirementStatus);
37708
- EntityCapabilityRequirementStatus$outboundSchema = EntityCapabilityRequirementStatus$inboundSchema;
37709
- ((EntityCapabilityRequirementStatus$) => {
37710
- EntityCapabilityRequirementStatus$.inboundSchema = EntityCapabilityRequirementStatus$inboundSchema;
37711
- EntityCapabilityRequirementStatus$.outboundSchema = EntityCapabilityRequirementStatus$outboundSchema;
37712
- })(EntityCapabilityRequirementStatus$ ||= {});
37863
+ init_capabilityrequirementstatus();
37713
37864
  Dashboard$inboundSchema = objectType({
37714
37865
  href: stringType().optional(),
37715
37866
  type: stringType().optional()
@@ -37734,7 +37885,7 @@ var init_entitycapabilityrequirement = __esm(() => {
37734
37885
  })(EntityCapabilityRequirementLinks$ ||= {});
37735
37886
  EntityCapabilityRequirement$inboundSchema = objectType({
37736
37887
  id: stringType().optional(),
37737
- status: EntityCapabilityRequirementStatus$inboundSchema.optional(),
37888
+ status: CapabilityRequirementStatus$inboundSchema.optional(),
37738
37889
  dueDate: nullableType(stringType()).optional(),
37739
37890
  _links: lazyType(() => EntityCapabilityRequirementLinks$inboundSchema).optional()
37740
37891
  }).transform((v2) => {
@@ -37744,7 +37895,7 @@ var init_entitycapabilityrequirement = __esm(() => {
37744
37895
  });
37745
37896
  EntityCapabilityRequirement$outboundSchema = objectType({
37746
37897
  id: stringType().optional(),
37747
- status: EntityCapabilityRequirementStatus$outboundSchema.optional(),
37898
+ status: CapabilityRequirementStatus$outboundSchema.optional(),
37748
37899
  dueDate: nullableType(stringType()).optional(),
37749
37900
  links: lazyType(() => EntityCapabilityRequirementLinks$outboundSchema).optional()
37750
37901
  }).transform((v2) => {
@@ -37759,44 +37910,24 @@ var init_entitycapabilityrequirement = __esm(() => {
37759
37910
  });
37760
37911
 
37761
37912
  // src/models/entitycapability.ts
37762
- var EntityCapabilityStatus, StatusReasonEnum, EntityCapabilityStatus$inboundSchema, EntityCapabilityStatus$outboundSchema, EntityCapabilityStatus$, StatusReasonEnum$inboundSchema, StatusReasonEnum$outboundSchema, StatusReasonEnum$, EntityCapability$inboundSchema, EntityCapability$outboundSchema, EntityCapability$;
37913
+ var EntityCapability$inboundSchema, EntityCapability$outboundSchema, EntityCapability$;
37763
37914
  var init_entitycapability = __esm(() => {
37764
37915
  init_esm();
37916
+ init_capabilitystatus();
37917
+ init_capabilitystatusreason();
37765
37918
  init_entitycapabilityrequirement();
37766
- EntityCapabilityStatus = {
37767
- Unrequested: "unrequested",
37768
- Enabled: "enabled",
37769
- Disabled: "disabled",
37770
- Pending: "pending"
37771
- };
37772
- StatusReasonEnum = {
37773
- RequirementPastDue: "requirement-past-due",
37774
- OnboardingInformationNeeded: "onboarding-information-needed"
37775
- };
37776
- EntityCapabilityStatus$inboundSchema = nativeEnumType(EntityCapabilityStatus);
37777
- EntityCapabilityStatus$outboundSchema = EntityCapabilityStatus$inboundSchema;
37778
- ((EntityCapabilityStatus$) => {
37779
- EntityCapabilityStatus$.inboundSchema = EntityCapabilityStatus$inboundSchema;
37780
- EntityCapabilityStatus$.outboundSchema = EntityCapabilityStatus$outboundSchema;
37781
- })(EntityCapabilityStatus$ ||= {});
37782
- StatusReasonEnum$inboundSchema = nativeEnumType(StatusReasonEnum);
37783
- StatusReasonEnum$outboundSchema = StatusReasonEnum$inboundSchema;
37784
- ((StatusReasonEnum$) => {
37785
- StatusReasonEnum$.inboundSchema = StatusReasonEnum$inboundSchema;
37786
- StatusReasonEnum$.outboundSchema = StatusReasonEnum$outboundSchema;
37787
- })(StatusReasonEnum$ ||= {});
37788
37919
  EntityCapability$inboundSchema = objectType({
37789
37920
  resource: stringType().optional(),
37790
37921
  name: stringType().optional(),
37791
- status: EntityCapabilityStatus$inboundSchema.optional(),
37792
- statusReason: nullableType(StatusReasonEnum$inboundSchema).optional(),
37922
+ status: CapabilityStatus$inboundSchema.optional(),
37923
+ statusReason: CapabilityStatusReason$inboundSchema.optional(),
37793
37924
  requirements: arrayType(EntityCapabilityRequirement$inboundSchema).optional()
37794
37925
  });
37795
37926
  EntityCapability$outboundSchema = objectType({
37796
37927
  resource: stringType().optional(),
37797
37928
  name: stringType().optional(),
37798
- status: EntityCapabilityStatus$outboundSchema.optional(),
37799
- statusReason: nullableType(StatusReasonEnum$outboundSchema).optional(),
37929
+ status: CapabilityStatus$outboundSchema.optional(),
37930
+ statusReason: CapabilityStatusReason$outboundSchema.optional(),
37800
37931
  requirements: arrayType(EntityCapabilityRequirement$outboundSchema).optional()
37801
37932
  });
37802
37933
  ((EntityCapability$) => {
@@ -37810,12 +37941,14 @@ var EntityCapture$inboundSchema, EntityCapture$outboundSchema, EntityCapture$;
37810
37941
  var init_entitycapture = __esm(() => {
37811
37942
  init_esm();
37812
37943
  init_amountnullable();
37944
+ init_capturestatus();
37813
37945
  init_metadata();
37814
37946
  EntityCapture$inboundSchema = objectType({
37815
37947
  id: stringType().optional(),
37816
37948
  description: stringType().optional(),
37817
37949
  amount: nullableType(AmountNullable$inboundSchema).optional(),
37818
37950
  settlementAmount: nullableType(AmountNullable$inboundSchema).optional(),
37951
+ status: CaptureStatus$inboundSchema.optional(),
37819
37952
  metadata: nullableType(Metadata$inboundSchema).optional(),
37820
37953
  paymentId: stringType().optional(),
37821
37954
  shipmentId: stringType().optional(),
@@ -37826,6 +37959,7 @@ var init_entitycapture = __esm(() => {
37826
37959
  description: stringType().optional(),
37827
37960
  amount: nullableType(AmountNullable$outboundSchema).optional(),
37828
37961
  settlementAmount: nullableType(AmountNullable$outboundSchema).optional(),
37962
+ status: CaptureStatus$outboundSchema.optional(),
37829
37963
  metadata: nullableType(Metadata$outboundSchema).optional(),
37830
37964
  paymentId: stringType().optional(),
37831
37965
  shipmentId: stringType().optional(),
@@ -37921,13 +38055,13 @@ var init_entityclientlink = __esm(() => {
37921
38055
  email: stringType(),
37922
38056
  givenName: stringType(),
37923
38057
  familyName: stringType(),
37924
- locale: LocaleResponse$inboundSchema.optional()
38058
+ locale: nullableType(LocaleResponse$inboundSchema).optional()
37925
38059
  });
37926
38060
  Owner$outboundSchema = objectType({
37927
38061
  email: stringType(),
37928
38062
  givenName: stringType(),
37929
38063
  familyName: stringType(),
37930
- locale: LocaleResponse$outboundSchema.optional()
38064
+ locale: nullableType(LocaleResponse$outboundSchema).optional()
37931
38065
  });
37932
38066
  ((Owner$) => {
37933
38067
  Owner$.inboundSchema = Owner$inboundSchema;
@@ -38023,7 +38157,7 @@ var init_entitycustomer = __esm(() => {
38023
38157
  id: stringType().optional(),
38024
38158
  name: nullableType(stringType()).optional(),
38025
38159
  email: nullableType(stringType()).optional(),
38026
- locale: LocaleResponse$inboundSchema.optional(),
38160
+ locale: nullableType(LocaleResponse$inboundSchema).optional(),
38027
38161
  metadata: nullableType(Metadata$inboundSchema).optional(),
38028
38162
  testmode: nullableType(booleanType()).optional()
38029
38163
  });
@@ -38031,7 +38165,7 @@ var init_entitycustomer = __esm(() => {
38031
38165
  id: stringType().optional(),
38032
38166
  name: nullableType(stringType()).optional(),
38033
38167
  email: nullableType(stringType()).optional(),
38034
- locale: LocaleResponse$outboundSchema.optional(),
38168
+ locale: nullableType(LocaleResponse$outboundSchema).optional(),
38035
38169
  metadata: nullableType(Metadata$outboundSchema).optional(),
38036
38170
  testmode: nullableType(booleanType()).optional()
38037
38171
  });
@@ -38085,24 +38219,37 @@ var init_entityevent = __esm(() => {
38085
38219
  })(EntityEvent$ ||= {});
38086
38220
  });
38087
38221
 
38088
- // src/models/entityinvoice.ts
38089
- var EntityInvoiceStatus, EntityInvoiceStatus$inboundSchema, EntityInvoiceStatus$outboundSchema, EntityInvoiceStatus$, EntityInvoiceLine$inboundSchema, EntityInvoiceLine$outboundSchema, EntityInvoiceLine$, EntityInvoiceLinks$inboundSchema, EntityInvoiceLinks$outboundSchema, EntityInvoiceLinks$, EntityInvoice$inboundSchema, EntityInvoice$outboundSchema, EntityInvoice$;
38090
- var init_entityinvoice = __esm(() => {
38222
+ // src/models/invoicestatus.ts
38223
+ var InvoiceStatus, InvoiceStatus$inboundSchema, InvoiceStatus$outboundSchema, InvoiceStatus$;
38224
+ var init_invoicestatus = __esm(() => {
38091
38225
  init_esm();
38092
- init_primitives();
38093
- init_amount();
38094
- init_url2();
38095
- EntityInvoiceStatus = {
38226
+ InvoiceStatus = {
38096
38227
  Open: "open",
38097
38228
  Paid: "paid",
38098
38229
  Overdue: "overdue"
38099
38230
  };
38100
- EntityInvoiceStatus$inboundSchema = nativeEnumType(EntityInvoiceStatus);
38101
- EntityInvoiceStatus$outboundSchema = EntityInvoiceStatus$inboundSchema;
38102
- ((EntityInvoiceStatus$) => {
38103
- EntityInvoiceStatus$.inboundSchema = EntityInvoiceStatus$inboundSchema;
38104
- EntityInvoiceStatus$.outboundSchema = EntityInvoiceStatus$outboundSchema;
38105
- })(EntityInvoiceStatus$ ||= {});
38231
+ InvoiceStatus$inboundSchema = unionType([
38232
+ nativeEnumType(InvoiceStatus),
38233
+ stringType().transform(catchUnrecognizedEnum)
38234
+ ]);
38235
+ InvoiceStatus$outboundSchema = unionType([
38236
+ nativeEnumType(InvoiceStatus),
38237
+ stringType().and(custom())
38238
+ ]);
38239
+ ((InvoiceStatus$) => {
38240
+ InvoiceStatus$.inboundSchema = InvoiceStatus$inboundSchema;
38241
+ InvoiceStatus$.outboundSchema = InvoiceStatus$outboundSchema;
38242
+ })(InvoiceStatus$ ||= {});
38243
+ });
38244
+
38245
+ // src/models/entityinvoice.ts
38246
+ var EntityInvoiceLine$inboundSchema, EntityInvoiceLine$outboundSchema, EntityInvoiceLine$, EntityInvoiceLinks$inboundSchema, EntityInvoiceLinks$outboundSchema, EntityInvoiceLinks$, EntityInvoice$inboundSchema, EntityInvoice$outboundSchema, EntityInvoice$;
38247
+ var init_entityinvoice = __esm(() => {
38248
+ init_esm();
38249
+ init_primitives();
38250
+ init_amount();
38251
+ init_invoicestatus();
38252
+ init_url2();
38106
38253
  EntityInvoiceLine$inboundSchema = objectType({
38107
38254
  period: stringType().optional(),
38108
38255
  description: stringType().optional(),
@@ -38140,7 +38287,7 @@ var init_entityinvoice = __esm(() => {
38140
38287
  id: stringType().optional(),
38141
38288
  reference: stringType().optional(),
38142
38289
  vatNumber: nullableType(stringType()).optional(),
38143
- status: EntityInvoiceStatus$inboundSchema.optional(),
38290
+ status: InvoiceStatus$inboundSchema.optional(),
38144
38291
  netAmount: Amount$inboundSchema.optional(),
38145
38292
  vatAmount: Amount$inboundSchema.optional(),
38146
38293
  grossAmount: Amount$inboundSchema.optional(),
@@ -38159,7 +38306,7 @@ var init_entityinvoice = __esm(() => {
38159
38306
  id: stringType().optional(),
38160
38307
  reference: stringType().optional(),
38161
38308
  vatNumber: nullableType(stringType()).optional(),
38162
- status: EntityInvoiceStatus$outboundSchema.optional(),
38309
+ status: InvoiceStatus$outboundSchema.optional(),
38163
38310
  netAmount: Amount$outboundSchema.optional(),
38164
38311
  vatAmount: Amount$outboundSchema.optional(),
38165
38312
  grossAmount: Amount$outboundSchema.optional(),
@@ -38179,24 +38326,55 @@ var init_entityinvoice = __esm(() => {
38179
38326
  })(EntityInvoice$ ||= {});
38180
38327
  });
38181
38328
 
38182
- // src/models/entitymandate.ts
38183
- var EntityMandateMethod, EntityMandateMethod$inboundSchema, EntityMandateMethod$outboundSchema, EntityMandateMethod$, EntityMandate$inboundSchema, EntityMandate$outboundSchema, EntityMandate$;
38184
- var init_entitymandate = __esm(() => {
38329
+ // src/models/mandatemethod.ts
38330
+ var MandateMethod, MandateMethod$inboundSchema, MandateMethod$outboundSchema, MandateMethod$;
38331
+ var init_mandatemethod = __esm(() => {
38185
38332
  init_esm();
38186
- EntityMandateMethod = {
38333
+ MandateMethod = {
38187
38334
  Creditcard: "creditcard",
38188
38335
  Directdebit: "directdebit",
38189
38336
  Paypal: "paypal"
38190
38337
  };
38191
- EntityMandateMethod$inboundSchema = nativeEnumType(EntityMandateMethod);
38192
- EntityMandateMethod$outboundSchema = EntityMandateMethod$inboundSchema;
38193
- ((EntityMandateMethod$) => {
38194
- EntityMandateMethod$.inboundSchema = EntityMandateMethod$inboundSchema;
38195
- EntityMandateMethod$.outboundSchema = EntityMandateMethod$outboundSchema;
38196
- })(EntityMandateMethod$ ||= {});
38338
+ MandateMethod$inboundSchema = nativeEnumType(MandateMethod);
38339
+ MandateMethod$outboundSchema = MandateMethod$inboundSchema;
38340
+ ((MandateMethod$) => {
38341
+ MandateMethod$.inboundSchema = MandateMethod$inboundSchema;
38342
+ MandateMethod$.outboundSchema = MandateMethod$outboundSchema;
38343
+ })(MandateMethod$ ||= {});
38344
+ });
38345
+
38346
+ // src/models/mandatestatus.ts
38347
+ var MandateStatus, MandateStatus$inboundSchema, MandateStatus$outboundSchema, MandateStatus$;
38348
+ var init_mandatestatus = __esm(() => {
38349
+ init_esm();
38350
+ MandateStatus = {
38351
+ Valid: "valid",
38352
+ Pending: "pending",
38353
+ Invalid: "invalid"
38354
+ };
38355
+ MandateStatus$inboundSchema = unionType([
38356
+ nativeEnumType(MandateStatus),
38357
+ stringType().transform(catchUnrecognizedEnum)
38358
+ ]);
38359
+ MandateStatus$outboundSchema = unionType([
38360
+ nativeEnumType(MandateStatus),
38361
+ stringType().and(custom())
38362
+ ]);
38363
+ ((MandateStatus$) => {
38364
+ MandateStatus$.inboundSchema = MandateStatus$inboundSchema;
38365
+ MandateStatus$.outboundSchema = MandateStatus$outboundSchema;
38366
+ })(MandateStatus$ ||= {});
38367
+ });
38368
+
38369
+ // src/models/entitymandate.ts
38370
+ var EntityMandate$inboundSchema, EntityMandate$outboundSchema, EntityMandate$;
38371
+ var init_entitymandate = __esm(() => {
38372
+ init_esm();
38373
+ init_mandatemethod();
38374
+ init_mandatestatus();
38197
38375
  EntityMandate$inboundSchema = objectType({
38198
38376
  id: stringType().optional(),
38199
- method: EntityMandateMethod$inboundSchema.optional(),
38377
+ method: MandateMethod$inboundSchema.optional(),
38200
38378
  consumerName: stringType().optional(),
38201
38379
  consumerAccount: nullableType(stringType()).optional(),
38202
38380
  consumerBic: nullableType(stringType()).optional(),
@@ -38205,12 +38383,13 @@ var init_entitymandate = __esm(() => {
38205
38383
  mandateReference: nullableType(stringType()).optional(),
38206
38384
  paypalBillingAgreementId: nullableType(stringType()).optional(),
38207
38385
  payPalVaultId: nullableType(stringType()).optional(),
38386
+ status: MandateStatus$inboundSchema.optional(),
38208
38387
  customerId: stringType().optional(),
38209
38388
  testmode: nullableType(booleanType()).optional()
38210
38389
  });
38211
38390
  EntityMandate$outboundSchema = objectType({
38212
38391
  id: stringType().optional(),
38213
- method: EntityMandateMethod$outboundSchema.optional(),
38392
+ method: MandateMethod$outboundSchema.optional(),
38214
38393
  consumerName: stringType().optional(),
38215
38394
  consumerAccount: nullableType(stringType()).optional(),
38216
38395
  consumerBic: nullableType(stringType()).optional(),
@@ -38219,6 +38398,7 @@ var init_entitymandate = __esm(() => {
38219
38398
  mandateReference: nullableType(stringType()).optional(),
38220
38399
  paypalBillingAgreementId: nullableType(stringType()).optional(),
38221
38400
  payPalVaultId: nullableType(stringType()).optional(),
38401
+ status: MandateStatus$outboundSchema.optional(),
38222
38402
  customerId: stringType().optional(),
38223
38403
  testmode: nullableType(booleanType()).optional()
38224
38404
  });
@@ -38284,22 +38464,41 @@ var init_methodresponse = __esm(() => {
38284
38464
  })(MethodResponse$ ||= {});
38285
38465
  });
38286
38466
 
38467
+ // src/models/methodstatus.ts
38468
+ var MethodStatus, MethodStatus$inboundSchema, MethodStatus$outboundSchema, MethodStatus$;
38469
+ var init_methodstatus = __esm(() => {
38470
+ init_esm();
38471
+ MethodStatus = {
38472
+ Activated: "activated",
38473
+ PendingBoarding: "pending-boarding",
38474
+ PendingReview: "pending-review",
38475
+ PendingExternal: "pending-external",
38476
+ Rejected: "rejected"
38477
+ };
38478
+ MethodStatus$inboundSchema = unionType([
38479
+ nativeEnumType(MethodStatus),
38480
+ stringType().transform(catchUnrecognizedEnum)
38481
+ ]);
38482
+ MethodStatus$outboundSchema = unionType([
38483
+ nativeEnumType(MethodStatus),
38484
+ stringType().and(custom())
38485
+ ]);
38486
+ ((MethodStatus$) => {
38487
+ MethodStatus$.inboundSchema = MethodStatus$inboundSchema;
38488
+ MethodStatus$.outboundSchema = MethodStatus$outboundSchema;
38489
+ })(MethodStatus$ ||= {});
38490
+ });
38491
+
38287
38492
  // src/models/entitymethod.ts
38288
- var EntityMethodStatus, EntityMethodImage$inboundSchema, EntityMethodImage$outboundSchema, EntityMethodImage$, EntityMethodStatus$inboundSchema, EntityMethodStatus$outboundSchema, EntityMethodStatus$, EntityMethodIssuerImage$inboundSchema, EntityMethodIssuerImage$outboundSchema, EntityMethodIssuerImage$, EntityMethodIssuer$inboundSchema, EntityMethodIssuer$outboundSchema, EntityMethodIssuer$, EntityMethodLinks$inboundSchema, EntityMethodLinks$outboundSchema, EntityMethodLinks$, EntityMethod$inboundSchema, EntityMethod$outboundSchema, EntityMethod$;
38493
+ var EntityMethodImage$inboundSchema, EntityMethodImage$outboundSchema, EntityMethodImage$, EntityMethodIssuerImage$inboundSchema, EntityMethodIssuerImage$outboundSchema, EntityMethodIssuerImage$, EntityMethodIssuer$inboundSchema, EntityMethodIssuer$outboundSchema, EntityMethodIssuer$, EntityMethodLinks$inboundSchema, EntityMethodLinks$outboundSchema, EntityMethodLinks$, EntityMethod$inboundSchema, EntityMethod$outboundSchema, EntityMethod$;
38289
38494
  var init_entitymethod = __esm(() => {
38290
38495
  init_esm();
38291
38496
  init_primitives();
38292
38497
  init_amount();
38293
38498
  init_amountnullable();
38294
38499
  init_methodresponse();
38500
+ init_methodstatus();
38295
38501
  init_url2();
38296
- EntityMethodStatus = {
38297
- Activated: "activated",
38298
- PendingBoarding: "pending-boarding",
38299
- PendingReview: "pending-review",
38300
- PendingExternal: "pending-external",
38301
- Rejected: "rejected"
38302
- };
38303
38502
  EntityMethodImage$inboundSchema = objectType({
38304
38503
  size1x: stringType(),
38305
38504
  size2x: stringType(),
@@ -38314,12 +38513,6 @@ var init_entitymethod = __esm(() => {
38314
38513
  EntityMethodImage$.inboundSchema = EntityMethodImage$inboundSchema;
38315
38514
  EntityMethodImage$.outboundSchema = EntityMethodImage$outboundSchema;
38316
38515
  })(EntityMethodImage$ ||= {});
38317
- EntityMethodStatus$inboundSchema = nativeEnumType(EntityMethodStatus);
38318
- EntityMethodStatus$outboundSchema = EntityMethodStatus$inboundSchema;
38319
- ((EntityMethodStatus$) => {
38320
- EntityMethodStatus$.inboundSchema = EntityMethodStatus$inboundSchema;
38321
- EntityMethodStatus$.outboundSchema = EntityMethodStatus$outboundSchema;
38322
- })(EntityMethodStatus$ ||= {});
38323
38516
  EntityMethodIssuerImage$inboundSchema = objectType({
38324
38517
  size1x: stringType().optional(),
38325
38518
  size2x: stringType().optional(),
@@ -38369,7 +38562,7 @@ var init_entitymethod = __esm(() => {
38369
38562
  minimumAmount: Amount$inboundSchema,
38370
38563
  maximumAmount: nullableType(AmountNullable$inboundSchema),
38371
38564
  image: lazyType(() => EntityMethodImage$inboundSchema),
38372
- status: EntityMethodStatus$inboundSchema,
38565
+ status: MethodStatus$inboundSchema,
38373
38566
  issuers: arrayType(lazyType(() => EntityMethodIssuer$inboundSchema)).optional(),
38374
38567
  _links: lazyType(() => EntityMethodLinks$inboundSchema)
38375
38568
  }).transform((v2) => {
@@ -38384,7 +38577,7 @@ var init_entitymethod = __esm(() => {
38384
38577
  minimumAmount: Amount$outboundSchema,
38385
38578
  maximumAmount: nullableType(AmountNullable$outboundSchema),
38386
38579
  image: lazyType(() => EntityMethodImage$outboundSchema),
38387
- status: EntityMethodStatus$outboundSchema,
38580
+ status: MethodStatus$outboundSchema,
38388
38581
  issuers: arrayType(lazyType(() => EntityMethodIssuer$outboundSchema)).optional(),
38389
38582
  links: lazyType(() => EntityMethodLinks$outboundSchema)
38390
38583
  }).transform((v2) => {
@@ -38399,21 +38592,15 @@ var init_entitymethod = __esm(() => {
38399
38592
  });
38400
38593
 
38401
38594
  // src/models/entitymethodall.ts
38402
- var EntityMethodAllStatus, EntityMethodAllImage$inboundSchema, EntityMethodAllImage$outboundSchema, EntityMethodAllImage$, EntityMethodAllStatus$inboundSchema, EntityMethodAllStatus$outboundSchema, EntityMethodAllStatus$, EntityMethodAllIssuerImage$inboundSchema, EntityMethodAllIssuerImage$outboundSchema, EntityMethodAllIssuerImage$, EntityMethodAllIssuer$inboundSchema, EntityMethodAllIssuer$outboundSchema, EntityMethodAllIssuer$, EntityMethodAllLinks$inboundSchema, EntityMethodAllLinks$outboundSchema, EntityMethodAllLinks$, Pricing$inboundSchema, Pricing$outboundSchema, Pricing$, EntityMethodAll$inboundSchema, EntityMethodAll$outboundSchema, EntityMethodAll$;
38595
+ var EntityMethodAllImage$inboundSchema, EntityMethodAllImage$outboundSchema, EntityMethodAllImage$, EntityMethodAllIssuerImage$inboundSchema, EntityMethodAllIssuerImage$outboundSchema, EntityMethodAllIssuerImage$, EntityMethodAllIssuer$inboundSchema, EntityMethodAllIssuer$outboundSchema, EntityMethodAllIssuer$, EntityMethodAllLinks$inboundSchema, EntityMethodAllLinks$outboundSchema, EntityMethodAllLinks$, Pricing$inboundSchema, Pricing$outboundSchema, Pricing$, EntityMethodAll$inboundSchema, EntityMethodAll$outboundSchema, EntityMethodAll$;
38403
38596
  var init_entitymethodall = __esm(() => {
38404
38597
  init_esm();
38405
38598
  init_primitives();
38406
38599
  init_amount();
38407
38600
  init_amountnullable();
38408
38601
  init_methodresponse();
38602
+ init_methodstatus();
38409
38603
  init_url2();
38410
- EntityMethodAllStatus = {
38411
- Activated: "activated",
38412
- PendingBoarding: "pending-boarding",
38413
- PendingReview: "pending-review",
38414
- PendingExternal: "pending-external",
38415
- Rejected: "rejected"
38416
- };
38417
38604
  EntityMethodAllImage$inboundSchema = objectType({
38418
38605
  size1x: stringType(),
38419
38606
  size2x: stringType(),
@@ -38428,12 +38615,6 @@ var init_entitymethodall = __esm(() => {
38428
38615
  EntityMethodAllImage$.inboundSchema = EntityMethodAllImage$inboundSchema;
38429
38616
  EntityMethodAllImage$.outboundSchema = EntityMethodAllImage$outboundSchema;
38430
38617
  })(EntityMethodAllImage$ ||= {});
38431
- EntityMethodAllStatus$inboundSchema = nativeEnumType(EntityMethodAllStatus);
38432
- EntityMethodAllStatus$outboundSchema = EntityMethodAllStatus$inboundSchema;
38433
- ((EntityMethodAllStatus$) => {
38434
- EntityMethodAllStatus$.inboundSchema = EntityMethodAllStatus$inboundSchema;
38435
- EntityMethodAllStatus$.outboundSchema = EntityMethodAllStatus$outboundSchema;
38436
- })(EntityMethodAllStatus$ ||= {});
38437
38618
  EntityMethodAllIssuerImage$inboundSchema = objectType({
38438
38619
  size1x: stringType().optional(),
38439
38620
  size2x: stringType().optional(),
@@ -38499,7 +38680,7 @@ var init_entitymethodall = __esm(() => {
38499
38680
  minimumAmount: Amount$inboundSchema,
38500
38681
  maximumAmount: nullableType(AmountNullable$inboundSchema),
38501
38682
  image: lazyType(() => EntityMethodAllImage$inboundSchema),
38502
- status: EntityMethodAllStatus$inboundSchema,
38683
+ status: MethodStatus$inboundSchema,
38503
38684
  issuers: arrayType(lazyType(() => EntityMethodAllIssuer$inboundSchema)).optional(),
38504
38685
  _links: lazyType(() => EntityMethodAllLinks$inboundSchema),
38505
38686
  pricing: arrayType(lazyType(() => Pricing$inboundSchema)).optional()
@@ -38515,7 +38696,7 @@ var init_entitymethodall = __esm(() => {
38515
38696
  minimumAmount: Amount$outboundSchema,
38516
38697
  maximumAmount: nullableType(AmountNullable$outboundSchema),
38517
38698
  image: lazyType(() => EntityMethodAllImage$outboundSchema),
38518
- status: EntityMethodAllStatus$outboundSchema,
38699
+ status: MethodStatus$outboundSchema,
38519
38700
  issuers: arrayType(lazyType(() => EntityMethodAllIssuer$outboundSchema)).optional(),
38520
38701
  links: lazyType(() => EntityMethodAllLinks$outboundSchema),
38521
38702
  pricing: arrayType(lazyType(() => Pricing$outboundSchema)).optional()
@@ -38530,23 +38711,36 @@ var init_entitymethodall = __esm(() => {
38530
38711
  })(EntityMethodAll$ ||= {});
38531
38712
  });
38532
38713
 
38533
- // src/models/entityonboardingstatus.ts
38534
- var EntityOnboardingStatusStatus, EntityOnboardingStatusStatus$inboundSchema, EntityOnboardingStatusStatus$outboundSchema, EntityOnboardingStatusStatus$, EntityOnboardingStatusLinks$inboundSchema, EntityOnboardingStatusLinks$outboundSchema, EntityOnboardingStatusLinks$, EntityOnboardingStatus$inboundSchema, EntityOnboardingStatus$outboundSchema, EntityOnboardingStatus$;
38535
- var init_entityonboardingstatus = __esm(() => {
38714
+ // src/models/onboardingstatus.ts
38715
+ var OnboardingStatus, OnboardingStatus$inboundSchema, OnboardingStatus$outboundSchema, OnboardingStatus$;
38716
+ var init_onboardingstatus = __esm(() => {
38536
38717
  init_esm();
38537
- init_primitives();
38538
- init_url2();
38539
- EntityOnboardingStatusStatus = {
38718
+ OnboardingStatus = {
38540
38719
  NeedsData: "needs-data",
38541
38720
  InReview: "in-review",
38542
38721
  Completed: "completed"
38543
38722
  };
38544
- EntityOnboardingStatusStatus$inboundSchema = nativeEnumType(EntityOnboardingStatusStatus);
38545
- EntityOnboardingStatusStatus$outboundSchema = EntityOnboardingStatusStatus$inboundSchema;
38546
- ((EntityOnboardingStatusStatus$) => {
38547
- EntityOnboardingStatusStatus$.inboundSchema = EntityOnboardingStatusStatus$inboundSchema;
38548
- EntityOnboardingStatusStatus$.outboundSchema = EntityOnboardingStatusStatus$outboundSchema;
38549
- })(EntityOnboardingStatusStatus$ ||= {});
38723
+ OnboardingStatus$inboundSchema = unionType([
38724
+ nativeEnumType(OnboardingStatus),
38725
+ stringType().transform(catchUnrecognizedEnum)
38726
+ ]);
38727
+ OnboardingStatus$outboundSchema = unionType([
38728
+ nativeEnumType(OnboardingStatus),
38729
+ stringType().and(custom())
38730
+ ]);
38731
+ ((OnboardingStatus$) => {
38732
+ OnboardingStatus$.inboundSchema = OnboardingStatus$inboundSchema;
38733
+ OnboardingStatus$.outboundSchema = OnboardingStatus$outboundSchema;
38734
+ })(OnboardingStatus$ ||= {});
38735
+ });
38736
+
38737
+ // src/models/entityonboardingstatus.ts
38738
+ var EntityOnboardingStatusLinks$inboundSchema, EntityOnboardingStatusLinks$outboundSchema, EntityOnboardingStatusLinks$, EntityOnboardingStatus$inboundSchema, EntityOnboardingStatus$outboundSchema, EntityOnboardingStatus$;
38739
+ var init_entityonboardingstatus = __esm(() => {
38740
+ init_esm();
38741
+ init_primitives();
38742
+ init_onboardingstatus();
38743
+ init_url2();
38550
38744
  EntityOnboardingStatusLinks$inboundSchema = objectType({
38551
38745
  self: Url$inboundSchema.optional(),
38552
38746
  dashboard: Url$inboundSchema.optional(),
@@ -38566,7 +38760,7 @@ var init_entityonboardingstatus = __esm(() => {
38566
38760
  EntityOnboardingStatus$inboundSchema = objectType({
38567
38761
  resource: stringType().optional(),
38568
38762
  name: stringType().optional(),
38569
- status: EntityOnboardingStatusStatus$inboundSchema.optional(),
38763
+ status: OnboardingStatus$inboundSchema.optional(),
38570
38764
  canReceivePayments: booleanType().optional(),
38571
38765
  canReceiveSettlements: booleanType().optional(),
38572
38766
  signedUpAt: stringType().optional(),
@@ -38579,7 +38773,7 @@ var init_entityonboardingstatus = __esm(() => {
38579
38773
  EntityOnboardingStatus$outboundSchema = objectType({
38580
38774
  resource: stringType().optional(),
38581
38775
  name: stringType().optional(),
38582
- status: EntityOnboardingStatusStatus$outboundSchema.optional(),
38776
+ status: OnboardingStatus$outboundSchema.optional(),
38583
38777
  canReceivePayments: booleanType().optional(),
38584
38778
  canReceiveSettlements: booleanType().optional(),
38585
38779
  signedUpAt: stringType().optional(),
@@ -38595,25 +38789,38 @@ var init_entityonboardingstatus = __esm(() => {
38595
38789
  })(EntityOnboardingStatus$ ||= {});
38596
38790
  });
38597
38791
 
38792
+ // src/models/organizationvatregulation.ts
38793
+ var OrganizationVatRegulation, OrganizationVatRegulation$inboundSchema, OrganizationVatRegulation$outboundSchema, OrganizationVatRegulation$;
38794
+ var init_organizationvatregulation = __esm(() => {
38795
+ init_esm();
38796
+ OrganizationVatRegulation = {
38797
+ Dutch: "dutch",
38798
+ British: "british",
38799
+ Shifted: "shifted"
38800
+ };
38801
+ OrganizationVatRegulation$inboundSchema = unionType([
38802
+ nativeEnumType(OrganizationVatRegulation),
38803
+ stringType().transform(catchUnrecognizedEnum)
38804
+ ]);
38805
+ OrganizationVatRegulation$outboundSchema = unionType([
38806
+ nativeEnumType(OrganizationVatRegulation),
38807
+ stringType().and(custom())
38808
+ ]);
38809
+ ((OrganizationVatRegulation$) => {
38810
+ OrganizationVatRegulation$.inboundSchema = OrganizationVatRegulation$inboundSchema;
38811
+ OrganizationVatRegulation$.outboundSchema = OrganizationVatRegulation$outboundSchema;
38812
+ })(OrganizationVatRegulation$ ||= {});
38813
+ });
38814
+
38598
38815
  // src/models/entityorganization.ts
38599
- var VatRegulation, VatRegulation$inboundSchema, VatRegulation$outboundSchema, VatRegulation$, EntityOrganizationLinks$inboundSchema, EntityOrganizationLinks$outboundSchema, EntityOrganizationLinks$, EntityOrganization$inboundSchema, EntityOrganization$outboundSchema, EntityOrganization$;
38816
+ var EntityOrganizationLinks$inboundSchema, EntityOrganizationLinks$outboundSchema, EntityOrganizationLinks$, EntityOrganization$inboundSchema, EntityOrganization$outboundSchema, EntityOrganization$;
38600
38817
  var init_entityorganization = __esm(() => {
38601
38818
  init_esm();
38602
38819
  init_primitives();
38603
38820
  init_address();
38604
38821
  init_localeresponse();
38822
+ init_organizationvatregulation();
38605
38823
  init_url2();
38606
- VatRegulation = {
38607
- Dutch: "dutch",
38608
- British: "british",
38609
- Shifted: "shifted"
38610
- };
38611
- VatRegulation$inboundSchema = nativeEnumType(VatRegulation);
38612
- VatRegulation$outboundSchema = VatRegulation$inboundSchema;
38613
- ((VatRegulation$) => {
38614
- VatRegulation$.inboundSchema = VatRegulation$inboundSchema;
38615
- VatRegulation$.outboundSchema = VatRegulation$outboundSchema;
38616
- })(VatRegulation$ ||= {});
38617
38824
  EntityOrganizationLinks$inboundSchema = objectType({
38618
38825
  self: Url$inboundSchema.optional(),
38619
38826
  dashboard: Url$inboundSchema.optional(),
@@ -38633,11 +38840,11 @@ var init_entityorganization = __esm(() => {
38633
38840
  id: stringType().optional(),
38634
38841
  name: stringType().optional(),
38635
38842
  email: stringType().optional(),
38636
- locale: LocaleResponse$inboundSchema.optional(),
38843
+ locale: nullableType(LocaleResponse$inboundSchema).optional(),
38637
38844
  address: Address$inboundSchema.optional(),
38638
38845
  registrationNumber: stringType().optional(),
38639
38846
  vatNumber: nullableType(stringType()).optional(),
38640
- vatRegulation: nullableType(VatRegulation$inboundSchema).optional(),
38847
+ vatRegulation: nullableType(OrganizationVatRegulation$inboundSchema).optional(),
38641
38848
  _links: lazyType(() => EntityOrganizationLinks$inboundSchema).optional()
38642
38849
  }).transform((v2) => {
38643
38850
  return remap(v2, {
@@ -38649,11 +38856,11 @@ var init_entityorganization = __esm(() => {
38649
38856
  id: stringType().optional(),
38650
38857
  name: stringType().optional(),
38651
38858
  email: stringType().optional(),
38652
- locale: LocaleResponse$outboundSchema.optional(),
38859
+ locale: nullableType(LocaleResponse$outboundSchema).optional(),
38653
38860
  address: Address$outboundSchema.optional(),
38654
38861
  registrationNumber: stringType().optional(),
38655
38862
  vatNumber: nullableType(stringType()).optional(),
38656
- vatRegulation: nullableType(VatRegulation$outboundSchema).optional(),
38863
+ vatRegulation: nullableType(OrganizationVatRegulation$outboundSchema).optional(),
38657
38864
  links: lazyType(() => EntityOrganizationLinks$outboundSchema).optional()
38658
38865
  }).transform((v2) => {
38659
38866
  return remap(v2, {
@@ -38666,28 +38873,35 @@ var init_entityorganization = __esm(() => {
38666
38873
  })(EntityOrganization$ ||= {});
38667
38874
  });
38668
38875
 
38876
+ // src/models/routedestinationtype.ts
38877
+ var RouteDestinationType, RouteDestinationType$inboundSchema, RouteDestinationType$outboundSchema, RouteDestinationType$;
38878
+ var init_routedestinationtype = __esm(() => {
38879
+ init_esm();
38880
+ RouteDestinationType = {
38881
+ Organization: "organization"
38882
+ };
38883
+ RouteDestinationType$inboundSchema = nativeEnumType(RouteDestinationType);
38884
+ RouteDestinationType$outboundSchema = RouteDestinationType$inboundSchema;
38885
+ ((RouteDestinationType$) => {
38886
+ RouteDestinationType$.inboundSchema = RouteDestinationType$inboundSchema;
38887
+ RouteDestinationType$.outboundSchema = RouteDestinationType$outboundSchema;
38888
+ })(RouteDestinationType$ ||= {});
38889
+ });
38890
+
38669
38891
  // src/models/entitypaymentroute.ts
38670
- var EntityPaymentRouteType, EntityPaymentRouteType$inboundSchema, EntityPaymentRouteType$outboundSchema, EntityPaymentRouteType$, EntityPaymentRouteDestination$inboundSchema, EntityPaymentRouteDestination$outboundSchema, EntityPaymentRouteDestination$, EntityPaymentRouteLinks$inboundSchema, EntityPaymentRouteLinks$outboundSchema, EntityPaymentRouteLinks$, EntityPaymentRoute$inboundSchema, EntityPaymentRoute$outboundSchema, EntityPaymentRoute$;
38892
+ var EntityPaymentRouteDestination$inboundSchema, EntityPaymentRouteDestination$outboundSchema, EntityPaymentRouteDestination$, EntityPaymentRouteLinks$inboundSchema, EntityPaymentRouteLinks$outboundSchema, EntityPaymentRouteLinks$, EntityPaymentRoute$inboundSchema, EntityPaymentRoute$outboundSchema, EntityPaymentRoute$;
38671
38893
  var init_entitypaymentroute = __esm(() => {
38672
38894
  init_esm();
38673
38895
  init_primitives();
38674
38896
  init_amount();
38897
+ init_routedestinationtype();
38675
38898
  init_url2();
38676
- EntityPaymentRouteType = {
38677
- Organization: "organization"
38678
- };
38679
- EntityPaymentRouteType$inboundSchema = nativeEnumType(EntityPaymentRouteType);
38680
- EntityPaymentRouteType$outboundSchema = EntityPaymentRouteType$inboundSchema;
38681
- ((EntityPaymentRouteType$) => {
38682
- EntityPaymentRouteType$.inboundSchema = EntityPaymentRouteType$inboundSchema;
38683
- EntityPaymentRouteType$.outboundSchema = EntityPaymentRouteType$outboundSchema;
38684
- })(EntityPaymentRouteType$ ||= {});
38685
38899
  EntityPaymentRouteDestination$inboundSchema = objectType({
38686
- type: EntityPaymentRouteType$inboundSchema,
38900
+ type: RouteDestinationType$inboundSchema,
38687
38901
  organizationId: stringType()
38688
38902
  });
38689
38903
  EntityPaymentRouteDestination$outboundSchema = objectType({
38690
- type: EntityPaymentRouteType$outboundSchema,
38904
+ type: RouteDestinationType$outboundSchema,
38691
38905
  organizationId: stringType()
38692
38906
  });
38693
38907
  ((EntityPaymentRouteDestination$) => {
@@ -38734,29 +38948,42 @@ var init_entitypaymentroute = __esm(() => {
38734
38948
  })(EntityPaymentRoute$ ||= {});
38735
38949
  });
38736
38950
 
38951
+ // src/models/routedestinationtyperesponse.ts
38952
+ var RouteDestinationTypeResponse, RouteDestinationTypeResponse$inboundSchema, RouteDestinationTypeResponse$outboundSchema, RouteDestinationTypeResponse$;
38953
+ var init_routedestinationtyperesponse = __esm(() => {
38954
+ init_esm();
38955
+ RouteDestinationTypeResponse = {
38956
+ Organization: "organization"
38957
+ };
38958
+ RouteDestinationTypeResponse$inboundSchema = unionType([
38959
+ nativeEnumType(RouteDestinationTypeResponse),
38960
+ stringType().transform(catchUnrecognizedEnum)
38961
+ ]);
38962
+ RouteDestinationTypeResponse$outboundSchema = unionType([
38963
+ nativeEnumType(RouteDestinationTypeResponse),
38964
+ stringType().and(custom())
38965
+ ]);
38966
+ ((RouteDestinationTypeResponse$) => {
38967
+ RouteDestinationTypeResponse$.inboundSchema = RouteDestinationTypeResponse$inboundSchema;
38968
+ RouteDestinationTypeResponse$.outboundSchema = RouteDestinationTypeResponse$outboundSchema;
38969
+ })(RouteDestinationTypeResponse$ ||= {});
38970
+ });
38971
+
38737
38972
  // src/models/entitypaymentrouteresponse.ts
38738
- var EntityPaymentRouteResponseType, EntityPaymentRouteResponseType$inboundSchema, EntityPaymentRouteResponseType$outboundSchema, EntityPaymentRouteResponseType$, EntityPaymentRouteResponseDestination$inboundSchema, EntityPaymentRouteResponseDestination$outboundSchema, EntityPaymentRouteResponseDestination$, EntityPaymentRouteResponseLinks$inboundSchema, EntityPaymentRouteResponseLinks$outboundSchema, EntityPaymentRouteResponseLinks$, EntityPaymentRouteResponse$inboundSchema, EntityPaymentRouteResponse$outboundSchema, EntityPaymentRouteResponse$;
38973
+ var EntityPaymentRouteResponseDestination$inboundSchema, EntityPaymentRouteResponseDestination$outboundSchema, EntityPaymentRouteResponseDestination$, EntityPaymentRouteResponseLinks$inboundSchema, EntityPaymentRouteResponseLinks$outboundSchema, EntityPaymentRouteResponseLinks$, EntityPaymentRouteResponse$inboundSchema, EntityPaymentRouteResponse$outboundSchema, EntityPaymentRouteResponse$;
38739
38974
  var init_entitypaymentrouteresponse = __esm(() => {
38740
38975
  init_esm();
38741
38976
  init_primitives();
38742
38977
  init_amount();
38743
38978
  init_mode();
38979
+ init_routedestinationtyperesponse();
38744
38980
  init_url2();
38745
- EntityPaymentRouteResponseType = {
38746
- Organization: "organization"
38747
- };
38748
- EntityPaymentRouteResponseType$inboundSchema = nativeEnumType(EntityPaymentRouteResponseType);
38749
- EntityPaymentRouteResponseType$outboundSchema = EntityPaymentRouteResponseType$inboundSchema;
38750
- ((EntityPaymentRouteResponseType$) => {
38751
- EntityPaymentRouteResponseType$.inboundSchema = EntityPaymentRouteResponseType$inboundSchema;
38752
- EntityPaymentRouteResponseType$.outboundSchema = EntityPaymentRouteResponseType$outboundSchema;
38753
- })(EntityPaymentRouteResponseType$ ||= {});
38754
38981
  EntityPaymentRouteResponseDestination$inboundSchema = objectType({
38755
- type: EntityPaymentRouteResponseType$inboundSchema,
38982
+ type: RouteDestinationTypeResponse$inboundSchema,
38756
38983
  organizationId: stringType()
38757
38984
  });
38758
38985
  EntityPaymentRouteResponseDestination$outboundSchema = objectType({
38759
- type: EntityPaymentRouteResponseType$outboundSchema,
38986
+ type: RouteDestinationTypeResponse$outboundSchema,
38760
38987
  organizationId: stringType()
38761
38988
  });
38762
38989
  ((EntityPaymentRouteResponseDestination$) => {
@@ -38855,10 +39082,34 @@ var init_entitypermission = __esm(() => {
38855
39082
  })(EntityPermission$ ||= {});
38856
39083
  });
38857
39084
 
39085
+ // src/models/profilestatus.ts
39086
+ var ProfileStatus, ProfileStatus$inboundSchema, ProfileStatus$outboundSchema, ProfileStatus$;
39087
+ var init_profilestatus = __esm(() => {
39088
+ init_esm();
39089
+ ProfileStatus = {
39090
+ Unverified: "unverified",
39091
+ Verified: "verified",
39092
+ Blocked: "blocked"
39093
+ };
39094
+ ProfileStatus$inboundSchema = unionType([
39095
+ nativeEnumType(ProfileStatus),
39096
+ stringType().transform(catchUnrecognizedEnum)
39097
+ ]);
39098
+ ProfileStatus$outboundSchema = unionType([
39099
+ nativeEnumType(ProfileStatus),
39100
+ stringType().and(custom())
39101
+ ]);
39102
+ ((ProfileStatus$) => {
39103
+ ProfileStatus$.inboundSchema = ProfileStatus$inboundSchema;
39104
+ ProfileStatus$.outboundSchema = ProfileStatus$outboundSchema;
39105
+ })(ProfileStatus$ ||= {});
39106
+ });
39107
+
38858
39108
  // src/models/entityprofile.ts
38859
39109
  var EntityProfile$inboundSchema, EntityProfile$outboundSchema, EntityProfile$;
38860
39110
  var init_entityprofile = __esm(() => {
38861
39111
  init_esm();
39112
+ init_profilestatus();
38862
39113
  EntityProfile$inboundSchema = objectType({
38863
39114
  name: stringType().optional(),
38864
39115
  website: stringType().optional(),
@@ -38866,7 +39117,8 @@ var init_entityprofile = __esm(() => {
38866
39117
  phone: stringType().optional(),
38867
39118
  description: stringType().optional(),
38868
39119
  countriesOfActivity: arrayType(stringType()).optional(),
38869
- businessCategory: stringType().optional()
39120
+ businessCategory: stringType().optional(),
39121
+ status: ProfileStatus$inboundSchema.optional()
38870
39122
  });
38871
39123
  EntityProfile$outboundSchema = objectType({
38872
39124
  name: stringType().optional(),
@@ -38875,7 +39127,8 @@ var init_entityprofile = __esm(() => {
38875
39127
  phone: stringType().optional(),
38876
39128
  description: stringType().optional(),
38877
39129
  countriesOfActivity: arrayType(stringType()).optional(),
38878
- businessCategory: stringType().optional()
39130
+ businessCategory: stringType().optional(),
39131
+ status: ProfileStatus$outboundSchema.optional()
38879
39132
  });
38880
39133
  ((EntityProfile$) => {
38881
39134
  EntityProfile$.inboundSchema = EntityProfile$inboundSchema;
@@ -38883,39 +39136,42 @@ var init_entityprofile = __esm(() => {
38883
39136
  })(EntityProfile$ ||= {});
38884
39137
  });
38885
39138
 
39139
+ // src/models/profilereviewstatusresponse.ts
39140
+ var ProfileReviewStatusResponse, ProfileReviewStatusResponse$inboundSchema, ProfileReviewStatusResponse$outboundSchema, ProfileReviewStatusResponse$;
39141
+ var init_profilereviewstatusresponse = __esm(() => {
39142
+ init_esm();
39143
+ ProfileReviewStatusResponse = {
39144
+ Pending: "pending",
39145
+ Rejected: "rejected"
39146
+ };
39147
+ ProfileReviewStatusResponse$inboundSchema = unionType([
39148
+ nativeEnumType(ProfileReviewStatusResponse),
39149
+ stringType().transform(catchUnrecognizedEnum)
39150
+ ]);
39151
+ ProfileReviewStatusResponse$outboundSchema = unionType([
39152
+ nativeEnumType(ProfileReviewStatusResponse),
39153
+ stringType().and(custom())
39154
+ ]);
39155
+ ((ProfileReviewStatusResponse$) => {
39156
+ ProfileReviewStatusResponse$.inboundSchema = ProfileReviewStatusResponse$inboundSchema;
39157
+ ProfileReviewStatusResponse$.outboundSchema = ProfileReviewStatusResponse$outboundSchema;
39158
+ })(ProfileReviewStatusResponse$ ||= {});
39159
+ });
39160
+
38886
39161
  // src/models/entityprofileresponse.ts
38887
- var EntityProfileResponseStatus, ReviewStatus, EntityProfileResponseStatus$inboundSchema, EntityProfileResponseStatus$outboundSchema, EntityProfileResponseStatus$, ReviewStatus$inboundSchema, ReviewStatus$outboundSchema, ReviewStatus$, Review$inboundSchema, Review$outboundSchema, Review$, EntityProfileResponseLinks$inboundSchema, EntityProfileResponseLinks$outboundSchema, EntityProfileResponseLinks$, EntityProfileResponse$inboundSchema, EntityProfileResponse$outboundSchema, EntityProfileResponse$;
39162
+ var Review$inboundSchema, Review$outboundSchema, Review$, EntityProfileResponseLinks$inboundSchema, EntityProfileResponseLinks$outboundSchema, EntityProfileResponseLinks$, EntityProfileResponse$inboundSchema, EntityProfileResponse$outboundSchema, EntityProfileResponse$;
38888
39163
  var init_entityprofileresponse = __esm(() => {
38889
39164
  init_esm();
38890
39165
  init_primitives();
38891
39166
  init_mode();
39167
+ init_profilereviewstatusresponse();
39168
+ init_profilestatus();
38892
39169
  init_url2();
38893
- EntityProfileResponseStatus = {
38894
- Unverified: "unverified",
38895
- Verified: "verified",
38896
- Blocked: "blocked"
38897
- };
38898
- ReviewStatus = {
38899
- Pending: "pending",
38900
- Rejected: "rejected"
38901
- };
38902
- EntityProfileResponseStatus$inboundSchema = nativeEnumType(EntityProfileResponseStatus);
38903
- EntityProfileResponseStatus$outboundSchema = EntityProfileResponseStatus$inboundSchema;
38904
- ((EntityProfileResponseStatus$) => {
38905
- EntityProfileResponseStatus$.inboundSchema = EntityProfileResponseStatus$inboundSchema;
38906
- EntityProfileResponseStatus$.outboundSchema = EntityProfileResponseStatus$outboundSchema;
38907
- })(EntityProfileResponseStatus$ ||= {});
38908
- ReviewStatus$inboundSchema = nativeEnumType(ReviewStatus);
38909
- ReviewStatus$outboundSchema = ReviewStatus$inboundSchema;
38910
- ((ReviewStatus$) => {
38911
- ReviewStatus$.inboundSchema = ReviewStatus$inboundSchema;
38912
- ReviewStatus$.outboundSchema = ReviewStatus$outboundSchema;
38913
- })(ReviewStatus$ ||= {});
38914
39170
  Review$inboundSchema = objectType({
38915
- status: ReviewStatus$inboundSchema.optional()
39171
+ status: ProfileReviewStatusResponse$inboundSchema.optional()
38916
39172
  });
38917
39173
  Review$outboundSchema = objectType({
38918
- status: ReviewStatus$outboundSchema.optional()
39174
+ status: ProfileReviewStatusResponse$outboundSchema.optional()
38919
39175
  });
38920
39176
  ((Review$) => {
38921
39177
  Review$.inboundSchema = Review$inboundSchema;
@@ -38956,7 +39212,7 @@ var init_entityprofileresponse = __esm(() => {
38956
39212
  description: stringType().optional(),
38957
39213
  countriesOfActivity: arrayType(stringType()).optional(),
38958
39214
  businessCategory: stringType().optional(),
38959
- status: EntityProfileResponseStatus$inboundSchema.optional(),
39215
+ status: ProfileStatus$inboundSchema.optional(),
38960
39216
  review: lazyType(() => Review$inboundSchema).optional(),
38961
39217
  createdAt: stringType().optional(),
38962
39218
  _links: lazyType(() => EntityProfileResponseLinks$inboundSchema).optional()
@@ -38976,7 +39232,7 @@ var init_entityprofileresponse = __esm(() => {
38976
39232
  description: stringType().optional(),
38977
39233
  countriesOfActivity: arrayType(stringType()).optional(),
38978
39234
  businessCategory: stringType().optional(),
38979
- status: EntityProfileResponseStatus$outboundSchema.optional(),
39235
+ status: ProfileStatus$outboundSchema.optional(),
38980
39236
  review: lazyType(() => Review$outboundSchema).optional(),
38981
39237
  createdAt: stringType().optional(),
38982
39238
  links: lazyType(() => EntityProfileResponseLinks$outboundSchema).optional()
@@ -38991,49 +39247,90 @@ var init_entityprofileresponse = __esm(() => {
38991
39247
  })(EntityProfileResponse$ ||= {});
38992
39248
  });
38993
39249
 
39250
+ // src/models/refundexternalreferencetype.ts
39251
+ var RefundExternalReferenceType, RefundExternalReferenceType$inboundSchema, RefundExternalReferenceType$outboundSchema, RefundExternalReferenceType$;
39252
+ var init_refundexternalreferencetype = __esm(() => {
39253
+ init_esm();
39254
+ RefundExternalReferenceType = {
39255
+ AcquirerReference: "acquirer-reference"
39256
+ };
39257
+ RefundExternalReferenceType$inboundSchema = nativeEnumType(RefundExternalReferenceType);
39258
+ RefundExternalReferenceType$outboundSchema = RefundExternalReferenceType$inboundSchema;
39259
+ ((RefundExternalReferenceType$) => {
39260
+ RefundExternalReferenceType$.inboundSchema = RefundExternalReferenceType$inboundSchema;
39261
+ RefundExternalReferenceType$.outboundSchema = RefundExternalReferenceType$outboundSchema;
39262
+ })(RefundExternalReferenceType$ ||= {});
39263
+ });
39264
+
39265
+ // src/models/refundroutingreversalssourcetype.ts
39266
+ var RefundRoutingReversalsSourceType, RefundRoutingReversalsSourceType$inboundSchema, RefundRoutingReversalsSourceType$outboundSchema, RefundRoutingReversalsSourceType$;
39267
+ var init_refundroutingreversalssourcetype = __esm(() => {
39268
+ init_esm();
39269
+ RefundRoutingReversalsSourceType = {
39270
+ Organization: "organization"
39271
+ };
39272
+ RefundRoutingReversalsSourceType$inboundSchema = nativeEnumType(RefundRoutingReversalsSourceType);
39273
+ RefundRoutingReversalsSourceType$outboundSchema = RefundRoutingReversalsSourceType$inboundSchema;
39274
+ ((RefundRoutingReversalsSourceType$) => {
39275
+ RefundRoutingReversalsSourceType$.inboundSchema = RefundRoutingReversalsSourceType$inboundSchema;
39276
+ RefundRoutingReversalsSourceType$.outboundSchema = RefundRoutingReversalsSourceType$outboundSchema;
39277
+ })(RefundRoutingReversalsSourceType$ ||= {});
39278
+ });
39279
+
39280
+ // src/models/refundstatus.ts
39281
+ var RefundStatus, RefundStatus$inboundSchema, RefundStatus$outboundSchema, RefundStatus$;
39282
+ var init_refundstatus = __esm(() => {
39283
+ init_esm();
39284
+ RefundStatus = {
39285
+ Queued: "queued",
39286
+ Pending: "pending",
39287
+ Processing: "processing",
39288
+ Refunded: "refunded",
39289
+ Failed: "failed",
39290
+ Canceled: "canceled"
39291
+ };
39292
+ RefundStatus$inboundSchema = unionType([
39293
+ nativeEnumType(RefundStatus),
39294
+ stringType().transform(catchUnrecognizedEnum)
39295
+ ]);
39296
+ RefundStatus$outboundSchema = unionType([
39297
+ nativeEnumType(RefundStatus),
39298
+ stringType().and(custom())
39299
+ ]);
39300
+ ((RefundStatus$) => {
39301
+ RefundStatus$.inboundSchema = RefundStatus$inboundSchema;
39302
+ RefundStatus$.outboundSchema = RefundStatus$outboundSchema;
39303
+ })(RefundStatus$ ||= {});
39304
+ });
39305
+
38994
39306
  // src/models/entityrefund.ts
38995
- var EntityRefundTypeAcquirerReference, RoutingReversalType, EntityRefundTypeAcquirerReference$inboundSchema, EntityRefundTypeAcquirerReference$outboundSchema, EntityRefundTypeAcquirerReference$, EntityRefundExternalReference$inboundSchema, EntityRefundExternalReference$outboundSchema, EntityRefundExternalReference$, RoutingReversalType$inboundSchema, RoutingReversalType$outboundSchema, RoutingReversalType$, EntityRefundSource$inboundSchema, EntityRefundSource$outboundSchema, EntityRefundSource$, EntityRefundRoutingReversal$inboundSchema, EntityRefundRoutingReversal$outboundSchema, EntityRefundRoutingReversal$, EntityRefund$inboundSchema, EntityRefund$outboundSchema, EntityRefund$;
39307
+ var EntityRefundExternalReference$inboundSchema, EntityRefundExternalReference$outboundSchema, EntityRefundExternalReference$, EntityRefundSource$inboundSchema, EntityRefundSource$outboundSchema, EntityRefundSource$, EntityRefundRoutingReversal$inboundSchema, EntityRefundRoutingReversal$outboundSchema, EntityRefundRoutingReversal$, EntityRefund$inboundSchema, EntityRefund$outboundSchema, EntityRefund$;
38996
39308
  var init_entityrefund = __esm(() => {
38997
39309
  init_esm();
38998
39310
  init_amount();
38999
39311
  init_amountnullable();
39000
39312
  init_metadata();
39001
- EntityRefundTypeAcquirerReference = {
39002
- AcquirerReference: "acquirer-reference"
39003
- };
39004
- RoutingReversalType = {
39005
- Organization: "organization"
39006
- };
39007
- EntityRefundTypeAcquirerReference$inboundSchema = nativeEnumType(EntityRefundTypeAcquirerReference);
39008
- EntityRefundTypeAcquirerReference$outboundSchema = EntityRefundTypeAcquirerReference$inboundSchema;
39009
- ((EntityRefundTypeAcquirerReference$) => {
39010
- EntityRefundTypeAcquirerReference$.inboundSchema = EntityRefundTypeAcquirerReference$inboundSchema;
39011
- EntityRefundTypeAcquirerReference$.outboundSchema = EntityRefundTypeAcquirerReference$outboundSchema;
39012
- })(EntityRefundTypeAcquirerReference$ ||= {});
39313
+ init_refundexternalreferencetype();
39314
+ init_refundroutingreversalssourcetype();
39315
+ init_refundstatus();
39013
39316
  EntityRefundExternalReference$inboundSchema = objectType({
39014
- type: EntityRefundTypeAcquirerReference$inboundSchema.optional(),
39317
+ type: RefundExternalReferenceType$inboundSchema.optional(),
39015
39318
  id: stringType().optional()
39016
39319
  });
39017
39320
  EntityRefundExternalReference$outboundSchema = objectType({
39018
- type: EntityRefundTypeAcquirerReference$outboundSchema.optional(),
39321
+ type: RefundExternalReferenceType$outboundSchema.optional(),
39019
39322
  id: stringType().optional()
39020
39323
  });
39021
39324
  ((EntityRefundExternalReference$) => {
39022
39325
  EntityRefundExternalReference$.inboundSchema = EntityRefundExternalReference$inboundSchema;
39023
39326
  EntityRefundExternalReference$.outboundSchema = EntityRefundExternalReference$outboundSchema;
39024
39327
  })(EntityRefundExternalReference$ ||= {});
39025
- RoutingReversalType$inboundSchema = nativeEnumType(RoutingReversalType);
39026
- RoutingReversalType$outboundSchema = RoutingReversalType$inboundSchema;
39027
- ((RoutingReversalType$) => {
39028
- RoutingReversalType$.inboundSchema = RoutingReversalType$inboundSchema;
39029
- RoutingReversalType$.outboundSchema = RoutingReversalType$outboundSchema;
39030
- })(RoutingReversalType$ ||= {});
39031
39328
  EntityRefundSource$inboundSchema = objectType({
39032
- type: RoutingReversalType$inboundSchema.optional(),
39329
+ type: RefundRoutingReversalsSourceType$inboundSchema.optional(),
39033
39330
  organizationId: stringType().optional()
39034
39331
  });
39035
39332
  EntityRefundSource$outboundSchema = objectType({
39036
- type: RoutingReversalType$outboundSchema.optional(),
39333
+ type: RefundRoutingReversalsSourceType$outboundSchema.optional(),
39037
39334
  organizationId: stringType().optional()
39038
39335
  });
39039
39336
  ((EntityRefundSource$) => {
@@ -39060,6 +39357,7 @@ var init_entityrefund = __esm(() => {
39060
39357
  metadata: nullableType(Metadata$inboundSchema),
39061
39358
  paymentId: stringType().optional(),
39062
39359
  settlementId: stringType().optional(),
39360
+ status: RefundStatus$inboundSchema,
39063
39361
  externalReference: lazyType(() => EntityRefundExternalReference$inboundSchema).optional(),
39064
39362
  reverseRouting: nullableType(booleanType()).optional(),
39065
39363
  routingReversals: nullableType(arrayType(lazyType(() => EntityRefundRoutingReversal$inboundSchema))).optional(),
@@ -39073,6 +39371,7 @@ var init_entityrefund = __esm(() => {
39073
39371
  metadata: nullableType(Metadata$outboundSchema),
39074
39372
  paymentId: stringType().optional(),
39075
39373
  settlementId: stringType().optional(),
39374
+ status: RefundStatus$outboundSchema,
39076
39375
  externalReference: lazyType(() => EntityRefundExternalReference$outboundSchema).optional(),
39077
39376
  reverseRouting: nullableType(booleanType()).optional(),
39078
39377
  routingReversals: nullableType(arrayType(lazyType(() => EntityRefundRoutingReversal$outboundSchema))).optional(),
@@ -39084,8 +39383,29 @@ var init_entityrefund = __esm(() => {
39084
39383
  })(EntityRefund$ ||= {});
39085
39384
  });
39086
39385
 
39386
+ // src/models/refundexternalreferencetyperesponse.ts
39387
+ var RefundExternalReferenceTypeResponse, RefundExternalReferenceTypeResponse$inboundSchema, RefundExternalReferenceTypeResponse$outboundSchema, RefundExternalReferenceTypeResponse$;
39388
+ var init_refundexternalreferencetyperesponse = __esm(() => {
39389
+ init_esm();
39390
+ RefundExternalReferenceTypeResponse = {
39391
+ AcquirerReference: "acquirer-reference"
39392
+ };
39393
+ RefundExternalReferenceTypeResponse$inboundSchema = unionType([
39394
+ nativeEnumType(RefundExternalReferenceTypeResponse),
39395
+ stringType().transform(catchUnrecognizedEnum)
39396
+ ]);
39397
+ RefundExternalReferenceTypeResponse$outboundSchema = unionType([
39398
+ nativeEnumType(RefundExternalReferenceTypeResponse),
39399
+ stringType().and(custom())
39400
+ ]);
39401
+ ((RefundExternalReferenceTypeResponse$) => {
39402
+ RefundExternalReferenceTypeResponse$.inboundSchema = RefundExternalReferenceTypeResponse$inboundSchema;
39403
+ RefundExternalReferenceTypeResponse$.outboundSchema = RefundExternalReferenceTypeResponse$outboundSchema;
39404
+ })(RefundExternalReferenceTypeResponse$ ||= {});
39405
+ });
39406
+
39087
39407
  // src/models/entityrefundresponse.ts
39088
- var EntityRefundResponseStatus, EntityRefundResponseType, EntityRefundResponseStatus$inboundSchema, EntityRefundResponseStatus$outboundSchema, EntityRefundResponseStatus$, EntityRefundResponseType$inboundSchema, EntityRefundResponseType$outboundSchema, EntityRefundResponseType$, EntityRefundResponseExternalReference$inboundSchema, EntityRefundResponseExternalReference$outboundSchema, EntityRefundResponseExternalReference$, EntityRefundResponseSource$inboundSchema, EntityRefundResponseSource$outboundSchema, EntityRefundResponseSource$, EntityRefundResponseRoutingReversal$inboundSchema, EntityRefundResponseRoutingReversal$outboundSchema, EntityRefundResponseRoutingReversal$, EntityRefundResponseLinks$inboundSchema, EntityRefundResponseLinks$outboundSchema, EntityRefundResponseLinks$, EntityRefundResponse$inboundSchema, EntityRefundResponse$outboundSchema, EntityRefundResponse$;
39408
+ var EntityRefundResponseExternalReference$inboundSchema, EntityRefundResponseExternalReference$outboundSchema, EntityRefundResponseExternalReference$, EntityRefundResponseSource$inboundSchema, EntityRefundResponseSource$outboundSchema, EntityRefundResponseSource$, EntityRefundResponseRoutingReversal$inboundSchema, EntityRefundResponseRoutingReversal$outboundSchema, EntityRefundResponseRoutingReversal$, EntityRefundResponseLinks$inboundSchema, EntityRefundResponseLinks$outboundSchema, EntityRefundResponseLinks$, EntityRefundResponse$inboundSchema, EntityRefundResponse$outboundSchema, EntityRefundResponse$;
39089
39409
  var init_entityrefundresponse = __esm(() => {
39090
39410
  init_esm();
39091
39411
  init_primitives();
@@ -39093,37 +39413,17 @@ var init_entityrefundresponse = __esm(() => {
39093
39413
  init_amountnullable();
39094
39414
  init_metadata();
39095
39415
  init_mode();
39416
+ init_refundexternalreferencetyperesponse();
39417
+ init_refundroutingreversalssourcetype();
39418
+ init_refundstatus();
39096
39419
  init_url2();
39097
39420
  init_urlnullable();
39098
- EntityRefundResponseStatus = {
39099
- Queued: "queued",
39100
- Pending: "pending",
39101
- Processing: "processing",
39102
- Refunded: "refunded",
39103
- Failed: "failed",
39104
- Canceled: "canceled"
39105
- };
39106
- EntityRefundResponseType = {
39107
- AcquirerReference: "acquirer-reference"
39108
- };
39109
- EntityRefundResponseStatus$inboundSchema = nativeEnumType(EntityRefundResponseStatus);
39110
- EntityRefundResponseStatus$outboundSchema = EntityRefundResponseStatus$inboundSchema;
39111
- ((EntityRefundResponseStatus$) => {
39112
- EntityRefundResponseStatus$.inboundSchema = EntityRefundResponseStatus$inboundSchema;
39113
- EntityRefundResponseStatus$.outboundSchema = EntityRefundResponseStatus$outboundSchema;
39114
- })(EntityRefundResponseStatus$ ||= {});
39115
- EntityRefundResponseType$inboundSchema = nativeEnumType(EntityRefundResponseType);
39116
- EntityRefundResponseType$outboundSchema = EntityRefundResponseType$inboundSchema;
39117
- ((EntityRefundResponseType$) => {
39118
- EntityRefundResponseType$.inboundSchema = EntityRefundResponseType$inboundSchema;
39119
- EntityRefundResponseType$.outboundSchema = EntityRefundResponseType$outboundSchema;
39120
- })(EntityRefundResponseType$ ||= {});
39121
39421
  EntityRefundResponseExternalReference$inboundSchema = objectType({
39122
- type: EntityRefundResponseType$inboundSchema.optional(),
39422
+ type: RefundExternalReferenceTypeResponse$inboundSchema.optional(),
39123
39423
  id: stringType().optional()
39124
39424
  });
39125
39425
  EntityRefundResponseExternalReference$outboundSchema = objectType({
39126
- type: EntityRefundResponseType$outboundSchema.optional(),
39426
+ type: RefundExternalReferenceTypeResponse$outboundSchema.optional(),
39127
39427
  id: stringType().optional()
39128
39428
  });
39129
39429
  ((EntityRefundResponseExternalReference$) => {
@@ -39131,9 +39431,11 @@ var init_entityrefundresponse = __esm(() => {
39131
39431
  EntityRefundResponseExternalReference$.outboundSchema = EntityRefundResponseExternalReference$outboundSchema;
39132
39432
  })(EntityRefundResponseExternalReference$ ||= {});
39133
39433
  EntityRefundResponseSource$inboundSchema = objectType({
39434
+ type: RefundRoutingReversalsSourceType$inboundSchema.optional(),
39134
39435
  organizationId: stringType().optional()
39135
39436
  });
39136
39437
  EntityRefundResponseSource$outboundSchema = objectType({
39438
+ type: RefundRoutingReversalsSourceType$outboundSchema.optional(),
39137
39439
  organizationId: stringType().optional()
39138
39440
  });
39139
39441
  ((EntityRefundResponseSource$) => {
@@ -39178,7 +39480,7 @@ var init_entityrefundresponse = __esm(() => {
39178
39480
  metadata: nullableType(Metadata$inboundSchema),
39179
39481
  paymentId: stringType().optional(),
39180
39482
  settlementId: stringType().optional(),
39181
- status: EntityRefundResponseStatus$inboundSchema,
39483
+ status: RefundStatus$inboundSchema,
39182
39484
  createdAt: stringType(),
39183
39485
  externalReference: lazyType(() => EntityRefundResponseExternalReference$inboundSchema).optional(),
39184
39486
  routingReversals: nullableType(arrayType(lazyType(() => EntityRefundResponseRoutingReversal$inboundSchema))).optional(),
@@ -39198,7 +39500,7 @@ var init_entityrefundresponse = __esm(() => {
39198
39500
  metadata: nullableType(Metadata$outboundSchema),
39199
39501
  paymentId: stringType().optional(),
39200
39502
  settlementId: stringType().optional(),
39201
- status: EntityRefundResponseStatus$outboundSchema,
39503
+ status: RefundStatus$outboundSchema,
39202
39504
  createdAt: stringType(),
39203
39505
  externalReference: lazyType(() => EntityRefundResponseExternalReference$outboundSchema).optional(),
39204
39506
  routingReversals: nullableType(arrayType(lazyType(() => EntityRefundResponseRoutingReversal$outboundSchema))).optional(),
@@ -39214,9 +39516,9 @@ var init_entityrefundresponse = __esm(() => {
39214
39516
  })(EntityRefundResponse$ ||= {});
39215
39517
  });
39216
39518
 
39217
- // src/models/salesinvoicediscount.ts
39218
- var SalesInvoiceDiscountType, SalesInvoiceDiscountType$inboundSchema, SalesInvoiceDiscountType$outboundSchema, SalesInvoiceDiscountType$, SalesInvoiceDiscount$inboundSchema, SalesInvoiceDiscount$outboundSchema, SalesInvoiceDiscount$;
39219
- var init_salesinvoicediscount = __esm(() => {
39519
+ // src/models/salesinvoicediscounttype.ts
39520
+ var SalesInvoiceDiscountType, SalesInvoiceDiscountType$inboundSchema, SalesInvoiceDiscountType$outboundSchema, SalesInvoiceDiscountType$;
39521
+ var init_salesinvoicediscounttype = __esm(() => {
39220
39522
  init_esm();
39221
39523
  SalesInvoiceDiscountType = {
39222
39524
  Amount: "amount",
@@ -39228,6 +39530,13 @@ var init_salesinvoicediscount = __esm(() => {
39228
39530
  SalesInvoiceDiscountType$.inboundSchema = SalesInvoiceDiscountType$inboundSchema;
39229
39531
  SalesInvoiceDiscountType$.outboundSchema = SalesInvoiceDiscountType$outboundSchema;
39230
39532
  })(SalesInvoiceDiscountType$ ||= {});
39533
+ });
39534
+
39535
+ // src/models/salesinvoicediscount.ts
39536
+ var SalesInvoiceDiscount$inboundSchema, SalesInvoiceDiscount$outboundSchema, SalesInvoiceDiscount$;
39537
+ var init_salesinvoicediscount = __esm(() => {
39538
+ init_esm();
39539
+ init_salesinvoicediscounttype();
39231
39540
  SalesInvoiceDiscount$inboundSchema = objectType({
39232
39541
  type: SalesInvoiceDiscountType$inboundSchema,
39233
39542
  value: stringType()
@@ -39286,9 +39595,9 @@ var init_salesinvoicelineitem = __esm(() => {
39286
39595
  })(SalesInvoiceLineItem$ ||= {});
39287
39596
  });
39288
39597
 
39289
- // src/models/salesinvoicepaymentdetails.ts
39290
- var SalesInvoicePaymentDetailsSource, SalesInvoicePaymentDetailsSource$inboundSchema, SalesInvoicePaymentDetailsSource$outboundSchema, SalesInvoicePaymentDetailsSource$, SalesInvoicePaymentDetails$inboundSchema, SalesInvoicePaymentDetails$outboundSchema, SalesInvoicePaymentDetails$;
39291
- var init_salesinvoicepaymentdetails = __esm(() => {
39598
+ // src/models/salesinvoicepaymentdetailssource.ts
39599
+ var SalesInvoicePaymentDetailsSource, SalesInvoicePaymentDetailsSource$inboundSchema, SalesInvoicePaymentDetailsSource$outboundSchema, SalesInvoicePaymentDetailsSource$;
39600
+ var init_salesinvoicepaymentdetailssource = __esm(() => {
39292
39601
  init_esm();
39293
39602
  SalesInvoicePaymentDetailsSource = {
39294
39603
  Manual: "manual",
@@ -39301,6 +39610,13 @@ var init_salesinvoicepaymentdetails = __esm(() => {
39301
39610
  SalesInvoicePaymentDetailsSource$.inboundSchema = SalesInvoicePaymentDetailsSource$inboundSchema;
39302
39611
  SalesInvoicePaymentDetailsSource$.outboundSchema = SalesInvoicePaymentDetailsSource$outboundSchema;
39303
39612
  })(SalesInvoicePaymentDetailsSource$ ||= {});
39613
+ });
39614
+
39615
+ // src/models/salesinvoicepaymentdetails.ts
39616
+ var SalesInvoicePaymentDetails$inboundSchema, SalesInvoicePaymentDetails$outboundSchema, SalesInvoicePaymentDetails$;
39617
+ var init_salesinvoicepaymentdetails = __esm(() => {
39618
+ init_esm();
39619
+ init_salesinvoicepaymentdetailssource();
39304
39620
  SalesInvoicePaymentDetails$inboundSchema = objectType({
39305
39621
  source: SalesInvoicePaymentDetailsSource$inboundSchema,
39306
39622
  sourceReference: nullableType(stringType()).optional()
@@ -39315,14 +39631,31 @@ var init_salesinvoicepaymentdetails = __esm(() => {
39315
39631
  })(SalesInvoicePaymentDetails$ ||= {});
39316
39632
  });
39317
39633
 
39318
- // src/models/salesinvoicerecipient.ts
39319
- var SalesInvoiceRecipientType, SalesInvoiceRecipientLocale, SalesInvoiceRecipientType$inboundSchema, SalesInvoiceRecipientType$outboundSchema, SalesInvoiceRecipientType$, SalesInvoiceRecipientLocale$inboundSchema, SalesInvoiceRecipientLocale$outboundSchema, SalesInvoiceRecipientLocale$, SalesInvoiceRecipient$inboundSchema, SalesInvoiceRecipient$outboundSchema, SalesInvoiceRecipient$;
39320
- var init_salesinvoicerecipient = __esm(() => {
39634
+ // src/models/salesinvoicepaymentterm.ts
39635
+ var SalesInvoicePaymentTerm, SalesInvoicePaymentTerm$inboundSchema, SalesInvoicePaymentTerm$outboundSchema, SalesInvoicePaymentTerm$;
39636
+ var init_salesinvoicepaymentterm = __esm(() => {
39321
39637
  init_esm();
39322
- SalesInvoiceRecipientType = {
39323
- Consumer: "consumer",
39324
- Business: "business"
39638
+ SalesInvoicePaymentTerm = {
39639
+ Sevendays: "7 days",
39640
+ Fourteendays: "14 days",
39641
+ Thirtydays: "30 days",
39642
+ FortyFivedays: "45 days",
39643
+ Sixtydays: "60 days",
39644
+ Ninetydays: "90 days",
39645
+ OneHundredAndTwentydays: "120 days"
39325
39646
  };
39647
+ SalesInvoicePaymentTerm$inboundSchema = nativeEnumType(SalesInvoicePaymentTerm);
39648
+ SalesInvoicePaymentTerm$outboundSchema = SalesInvoicePaymentTerm$inboundSchema;
39649
+ ((SalesInvoicePaymentTerm$) => {
39650
+ SalesInvoicePaymentTerm$.inboundSchema = SalesInvoicePaymentTerm$inboundSchema;
39651
+ SalesInvoicePaymentTerm$.outboundSchema = SalesInvoicePaymentTerm$outboundSchema;
39652
+ })(SalesInvoicePaymentTerm$ ||= {});
39653
+ });
39654
+
39655
+ // src/models/salesinvoicerecipientlocale.ts
39656
+ var SalesInvoiceRecipientLocale, SalesInvoiceRecipientLocale$inboundSchema, SalesInvoiceRecipientLocale$outboundSchema, SalesInvoiceRecipientLocale$;
39657
+ var init_salesinvoicerecipientlocale = __esm(() => {
39658
+ init_esm();
39326
39659
  SalesInvoiceRecipientLocale = {
39327
39660
  EnUS: "en_US",
39328
39661
  EnGB: "en_GB",
@@ -39334,18 +39667,36 @@ var init_salesinvoicerecipient = __esm(() => {
39334
39667
  FRFR: "fr_FR",
39335
39668
  FrBE: "fr_BE"
39336
39669
  };
39337
- SalesInvoiceRecipientType$inboundSchema = nativeEnumType(SalesInvoiceRecipientType);
39338
- SalesInvoiceRecipientType$outboundSchema = SalesInvoiceRecipientType$inboundSchema;
39339
- ((SalesInvoiceRecipientType$) => {
39340
- SalesInvoiceRecipientType$.inboundSchema = SalesInvoiceRecipientType$inboundSchema;
39341
- SalesInvoiceRecipientType$.outboundSchema = SalesInvoiceRecipientType$outboundSchema;
39342
- })(SalesInvoiceRecipientType$ ||= {});
39343
39670
  SalesInvoiceRecipientLocale$inboundSchema = nativeEnumType(SalesInvoiceRecipientLocale);
39344
39671
  SalesInvoiceRecipientLocale$outboundSchema = SalesInvoiceRecipientLocale$inboundSchema;
39345
39672
  ((SalesInvoiceRecipientLocale$) => {
39346
39673
  SalesInvoiceRecipientLocale$.inboundSchema = SalesInvoiceRecipientLocale$inboundSchema;
39347
39674
  SalesInvoiceRecipientLocale$.outboundSchema = SalesInvoiceRecipientLocale$outboundSchema;
39348
39675
  })(SalesInvoiceRecipientLocale$ ||= {});
39676
+ });
39677
+
39678
+ // src/models/salesinvoicerecipienttype.ts
39679
+ var SalesInvoiceRecipientType, SalesInvoiceRecipientType$inboundSchema, SalesInvoiceRecipientType$outboundSchema, SalesInvoiceRecipientType$;
39680
+ var init_salesinvoicerecipienttype = __esm(() => {
39681
+ init_esm();
39682
+ SalesInvoiceRecipientType = {
39683
+ Consumer: "consumer",
39684
+ Business: "business"
39685
+ };
39686
+ SalesInvoiceRecipientType$inboundSchema = nativeEnumType(SalesInvoiceRecipientType);
39687
+ SalesInvoiceRecipientType$outboundSchema = SalesInvoiceRecipientType$inboundSchema;
39688
+ ((SalesInvoiceRecipientType$) => {
39689
+ SalesInvoiceRecipientType$.inboundSchema = SalesInvoiceRecipientType$inboundSchema;
39690
+ SalesInvoiceRecipientType$.outboundSchema = SalesInvoiceRecipientType$outboundSchema;
39691
+ })(SalesInvoiceRecipientType$ ||= {});
39692
+ });
39693
+
39694
+ // src/models/salesinvoicerecipient.ts
39695
+ var SalesInvoiceRecipient$inboundSchema, SalesInvoiceRecipient$outboundSchema, SalesInvoiceRecipient$;
39696
+ var init_salesinvoicerecipient = __esm(() => {
39697
+ init_esm();
39698
+ init_salesinvoicerecipientlocale();
39699
+ init_salesinvoicerecipienttype();
39349
39700
  SalesInvoiceRecipient$inboundSchema = objectType({
39350
39701
  type: SalesInvoiceRecipientType$inboundSchema,
39351
39702
  title: nullableType(stringType()).optional(),
@@ -39388,78 +39739,85 @@ var init_salesinvoicerecipient = __esm(() => {
39388
39739
  })(SalesInvoiceRecipient$ ||= {});
39389
39740
  });
39390
39741
 
39391
- // src/models/entitysalesinvoice.ts
39392
- var EntitySalesInvoiceStatus, EntitySalesInvoiceVatScheme, EntitySalesInvoiceVatMode, EntitySalesInvoicePaymentTerm, EntitySalesInvoiceStatus$inboundSchema, EntitySalesInvoiceStatus$outboundSchema, EntitySalesInvoiceStatus$, EntitySalesInvoiceVatScheme$inboundSchema, EntitySalesInvoiceVatScheme$outboundSchema, EntitySalesInvoiceVatScheme$, EntitySalesInvoiceVatMode$inboundSchema, EntitySalesInvoiceVatMode$outboundSchema, EntitySalesInvoiceVatMode$, EntitySalesInvoiceMetadata$inboundSchema, EntitySalesInvoiceMetadata$outboundSchema, EntitySalesInvoiceMetadata$, EntitySalesInvoicePaymentTerm$inboundSchema, EntitySalesInvoicePaymentTerm$outboundSchema, EntitySalesInvoicePaymentTerm$, EntitySalesInvoice$inboundSchema, EntitySalesInvoice$outboundSchema, EntitySalesInvoice$;
39393
- var init_entitysalesinvoice = __esm(() => {
39742
+ // src/models/salesinvoicestatus.ts
39743
+ var SalesInvoiceStatus, SalesInvoiceStatus$inboundSchema, SalesInvoiceStatus$outboundSchema, SalesInvoiceStatus$;
39744
+ var init_salesinvoicestatus = __esm(() => {
39394
39745
  init_esm();
39395
- init_amount();
39396
- init_salesinvoicediscount();
39397
- init_salesinvoiceemaildetails();
39398
- init_salesinvoicelineitem();
39399
- init_salesinvoicepaymentdetails();
39400
- init_salesinvoicerecipient();
39401
- EntitySalesInvoiceStatus = {
39746
+ SalesInvoiceStatus = {
39402
39747
  Draft: "draft",
39403
39748
  Issued: "issued",
39404
39749
  Paid: "paid"
39405
39750
  };
39406
- EntitySalesInvoiceVatScheme = {
39407
- Standard: "standard",
39408
- OneStopShop: "one-stop-shop"
39409
- };
39410
- EntitySalesInvoiceVatMode = {
39411
- Exclusive: "exclusive",
39751
+ SalesInvoiceStatus$inboundSchema = nativeEnumType(SalesInvoiceStatus);
39752
+ SalesInvoiceStatus$outboundSchema = SalesInvoiceStatus$inboundSchema;
39753
+ ((SalesInvoiceStatus$) => {
39754
+ SalesInvoiceStatus$.inboundSchema = SalesInvoiceStatus$inboundSchema;
39755
+ SalesInvoiceStatus$.outboundSchema = SalesInvoiceStatus$outboundSchema;
39756
+ })(SalesInvoiceStatus$ ||= {});
39757
+ });
39758
+
39759
+ // src/models/salesinvoicevatmode.ts
39760
+ var SalesInvoiceVatMode, SalesInvoiceVatMode$inboundSchema, SalesInvoiceVatMode$outboundSchema, SalesInvoiceVatMode$;
39761
+ var init_salesinvoicevatmode = __esm(() => {
39762
+ init_esm();
39763
+ SalesInvoiceVatMode = {
39764
+ Exclusive: "exclusive",
39412
39765
  Inclusive: "inclusive"
39413
39766
  };
39414
- EntitySalesInvoicePaymentTerm = {
39415
- Sevendays: "7 days",
39416
- Fourteendays: "14 days",
39417
- Thirtydays: "30 days",
39418
- FortyFivedays: "45 days",
39419
- Sixtydays: "60 days",
39420
- Ninetydays: "90 days",
39421
- OneHundredAndTwentydays: "120 days"
39767
+ SalesInvoiceVatMode$inboundSchema = nativeEnumType(SalesInvoiceVatMode);
39768
+ SalesInvoiceVatMode$outboundSchema = SalesInvoiceVatMode$inboundSchema;
39769
+ ((SalesInvoiceVatMode$) => {
39770
+ SalesInvoiceVatMode$.inboundSchema = SalesInvoiceVatMode$inboundSchema;
39771
+ SalesInvoiceVatMode$.outboundSchema = SalesInvoiceVatMode$outboundSchema;
39772
+ })(SalesInvoiceVatMode$ ||= {});
39773
+ });
39774
+
39775
+ // src/models/salesinvoicevatscheme.ts
39776
+ var SalesInvoiceVatScheme, SalesInvoiceVatScheme$inboundSchema, SalesInvoiceVatScheme$outboundSchema, SalesInvoiceVatScheme$;
39777
+ var init_salesinvoicevatscheme = __esm(() => {
39778
+ init_esm();
39779
+ SalesInvoiceVatScheme = {
39780
+ Standard: "standard",
39781
+ OneStopShop: "one-stop-shop"
39422
39782
  };
39423
- EntitySalesInvoiceStatus$inboundSchema = nativeEnumType(EntitySalesInvoiceStatus);
39424
- EntitySalesInvoiceStatus$outboundSchema = EntitySalesInvoiceStatus$inboundSchema;
39425
- ((EntitySalesInvoiceStatus$) => {
39426
- EntitySalesInvoiceStatus$.inboundSchema = EntitySalesInvoiceStatus$inboundSchema;
39427
- EntitySalesInvoiceStatus$.outboundSchema = EntitySalesInvoiceStatus$outboundSchema;
39428
- })(EntitySalesInvoiceStatus$ ||= {});
39429
- EntitySalesInvoiceVatScheme$inboundSchema = nativeEnumType(EntitySalesInvoiceVatScheme);
39430
- EntitySalesInvoiceVatScheme$outboundSchema = EntitySalesInvoiceVatScheme$inboundSchema;
39431
- ((EntitySalesInvoiceVatScheme$) => {
39432
- EntitySalesInvoiceVatScheme$.inboundSchema = EntitySalesInvoiceVatScheme$inboundSchema;
39433
- EntitySalesInvoiceVatScheme$.outboundSchema = EntitySalesInvoiceVatScheme$outboundSchema;
39434
- })(EntitySalesInvoiceVatScheme$ ||= {});
39435
- EntitySalesInvoiceVatMode$inboundSchema = nativeEnumType(EntitySalesInvoiceVatMode);
39436
- EntitySalesInvoiceVatMode$outboundSchema = EntitySalesInvoiceVatMode$inboundSchema;
39437
- ((EntitySalesInvoiceVatMode$) => {
39438
- EntitySalesInvoiceVatMode$.inboundSchema = EntitySalesInvoiceVatMode$inboundSchema;
39439
- EntitySalesInvoiceVatMode$.outboundSchema = EntitySalesInvoiceVatMode$outboundSchema;
39440
- })(EntitySalesInvoiceVatMode$ ||= {});
39783
+ SalesInvoiceVatScheme$inboundSchema = nativeEnumType(SalesInvoiceVatScheme);
39784
+ SalesInvoiceVatScheme$outboundSchema = SalesInvoiceVatScheme$inboundSchema;
39785
+ ((SalesInvoiceVatScheme$) => {
39786
+ SalesInvoiceVatScheme$.inboundSchema = SalesInvoiceVatScheme$inboundSchema;
39787
+ SalesInvoiceVatScheme$.outboundSchema = SalesInvoiceVatScheme$outboundSchema;
39788
+ })(SalesInvoiceVatScheme$ ||= {});
39789
+ });
39790
+
39791
+ // src/models/entitysalesinvoice.ts
39792
+ var EntitySalesInvoiceMetadata$inboundSchema, EntitySalesInvoiceMetadata$outboundSchema, EntitySalesInvoiceMetadata$, EntitySalesInvoice$inboundSchema, EntitySalesInvoice$outboundSchema, EntitySalesInvoice$;
39793
+ var init_entitysalesinvoice = __esm(() => {
39794
+ init_esm();
39795
+ init_amount();
39796
+ init_salesinvoicediscount();
39797
+ init_salesinvoiceemaildetails();
39798
+ init_salesinvoicelineitem();
39799
+ init_salesinvoicepaymentdetails();
39800
+ init_salesinvoicepaymentterm();
39801
+ init_salesinvoicerecipient();
39802
+ init_salesinvoicestatus();
39803
+ init_salesinvoicevatmode();
39804
+ init_salesinvoicevatscheme();
39441
39805
  EntitySalesInvoiceMetadata$inboundSchema = objectType({});
39442
39806
  EntitySalesInvoiceMetadata$outboundSchema = objectType({});
39443
39807
  ((EntitySalesInvoiceMetadata$) => {
39444
39808
  EntitySalesInvoiceMetadata$.inboundSchema = EntitySalesInvoiceMetadata$inboundSchema;
39445
39809
  EntitySalesInvoiceMetadata$.outboundSchema = EntitySalesInvoiceMetadata$outboundSchema;
39446
39810
  })(EntitySalesInvoiceMetadata$ ||= {});
39447
- EntitySalesInvoicePaymentTerm$inboundSchema = nativeEnumType(EntitySalesInvoicePaymentTerm);
39448
- EntitySalesInvoicePaymentTerm$outboundSchema = EntitySalesInvoicePaymentTerm$inboundSchema;
39449
- ((EntitySalesInvoicePaymentTerm$) => {
39450
- EntitySalesInvoicePaymentTerm$.inboundSchema = EntitySalesInvoicePaymentTerm$inboundSchema;
39451
- EntitySalesInvoicePaymentTerm$.outboundSchema = EntitySalesInvoicePaymentTerm$outboundSchema;
39452
- })(EntitySalesInvoicePaymentTerm$ ||= {});
39453
39811
  EntitySalesInvoice$inboundSchema = objectType({
39454
39812
  id: stringType().optional(),
39455
39813
  testmode: nullableType(booleanType()).optional(),
39456
39814
  profileId: nullableType(stringType()).optional(),
39457
- status: EntitySalesInvoiceStatus$inboundSchema.optional(),
39458
- vatScheme: EntitySalesInvoiceVatScheme$inboundSchema.optional(),
39459
- vatMode: EntitySalesInvoiceVatMode$inboundSchema.optional(),
39815
+ status: SalesInvoiceStatus$inboundSchema.optional(),
39816
+ vatScheme: SalesInvoiceVatScheme$inboundSchema.optional(),
39817
+ vatMode: SalesInvoiceVatMode$inboundSchema.optional(),
39460
39818
  memo: nullableType(stringType()).optional(),
39461
39819
  metadata: nullableType(lazyType(() => EntitySalesInvoiceMetadata$inboundSchema)).optional(),
39462
- paymentTerm: nullableType(EntitySalesInvoicePaymentTerm$inboundSchema).optional(),
39820
+ paymentTerm: nullableType(SalesInvoicePaymentTerm$inboundSchema).optional(),
39463
39821
  paymentDetails: nullableType(SalesInvoicePaymentDetails$inboundSchema).optional(),
39464
39822
  emailDetails: nullableType(SalesInvoiceEmailDetails$inboundSchema).optional(),
39465
39823
  customerId: stringType().optional(),
@@ -39478,12 +39836,12 @@ var init_entitysalesinvoice = __esm(() => {
39478
39836
  id: stringType().optional(),
39479
39837
  testmode: nullableType(booleanType()).optional(),
39480
39838
  profileId: nullableType(stringType()).optional(),
39481
- status: EntitySalesInvoiceStatus$outboundSchema.optional(),
39482
- vatScheme: EntitySalesInvoiceVatScheme$outboundSchema.optional(),
39483
- vatMode: EntitySalesInvoiceVatMode$outboundSchema.optional(),
39839
+ status: SalesInvoiceStatus$outboundSchema.optional(),
39840
+ vatScheme: SalesInvoiceVatScheme$outboundSchema.optional(),
39841
+ vatMode: SalesInvoiceVatMode$outboundSchema.optional(),
39484
39842
  memo: nullableType(stringType()).optional(),
39485
39843
  metadata: nullableType(lazyType(() => EntitySalesInvoiceMetadata$outboundSchema)).optional(),
39486
- paymentTerm: nullableType(EntitySalesInvoicePaymentTerm$outboundSchema).optional(),
39844
+ paymentTerm: nullableType(SalesInvoicePaymentTerm$outboundSchema).optional(),
39487
39845
  paymentDetails: nullableType(SalesInvoicePaymentDetails$outboundSchema).optional(),
39488
39846
  emailDetails: nullableType(SalesInvoiceEmailDetails$outboundSchema).optional(),
39489
39847
  customerId: stringType().optional(),
@@ -39504,26 +39862,39 @@ var init_entitysalesinvoice = __esm(() => {
39504
39862
  })(EntitySalesInvoice$ ||= {});
39505
39863
  });
39506
39864
 
39507
- // src/models/salesinvoicediscountresponse.ts
39508
- var SalesInvoiceDiscountResponseType, SalesInvoiceDiscountResponseType$inboundSchema, SalesInvoiceDiscountResponseType$outboundSchema, SalesInvoiceDiscountResponseType$, SalesInvoiceDiscountResponse$inboundSchema, SalesInvoiceDiscountResponse$outboundSchema, SalesInvoiceDiscountResponse$;
39509
- var init_salesinvoicediscountresponse = __esm(() => {
39865
+ // src/models/salesinvoicediscounttyperesponse.ts
39866
+ var SalesInvoiceDiscountTypeResponse, SalesInvoiceDiscountTypeResponse$inboundSchema, SalesInvoiceDiscountTypeResponse$outboundSchema, SalesInvoiceDiscountTypeResponse$;
39867
+ var init_salesinvoicediscounttyperesponse = __esm(() => {
39510
39868
  init_esm();
39511
- SalesInvoiceDiscountResponseType = {
39869
+ SalesInvoiceDiscountTypeResponse = {
39512
39870
  Amount: "amount",
39513
39871
  Percentage: "percentage"
39514
39872
  };
39515
- SalesInvoiceDiscountResponseType$inboundSchema = nativeEnumType(SalesInvoiceDiscountResponseType);
39516
- SalesInvoiceDiscountResponseType$outboundSchema = SalesInvoiceDiscountResponseType$inboundSchema;
39517
- ((SalesInvoiceDiscountResponseType$) => {
39518
- SalesInvoiceDiscountResponseType$.inboundSchema = SalesInvoiceDiscountResponseType$inboundSchema;
39519
- SalesInvoiceDiscountResponseType$.outboundSchema = SalesInvoiceDiscountResponseType$outboundSchema;
39520
- })(SalesInvoiceDiscountResponseType$ ||= {});
39873
+ SalesInvoiceDiscountTypeResponse$inboundSchema = unionType([
39874
+ nativeEnumType(SalesInvoiceDiscountTypeResponse),
39875
+ stringType().transform(catchUnrecognizedEnum)
39876
+ ]);
39877
+ SalesInvoiceDiscountTypeResponse$outboundSchema = unionType([
39878
+ nativeEnumType(SalesInvoiceDiscountTypeResponse),
39879
+ stringType().and(custom())
39880
+ ]);
39881
+ ((SalesInvoiceDiscountTypeResponse$) => {
39882
+ SalesInvoiceDiscountTypeResponse$.inboundSchema = SalesInvoiceDiscountTypeResponse$inboundSchema;
39883
+ SalesInvoiceDiscountTypeResponse$.outboundSchema = SalesInvoiceDiscountTypeResponse$outboundSchema;
39884
+ })(SalesInvoiceDiscountTypeResponse$ ||= {});
39885
+ });
39886
+
39887
+ // src/models/salesinvoicediscountresponse.ts
39888
+ var SalesInvoiceDiscountResponse$inboundSchema, SalesInvoiceDiscountResponse$outboundSchema, SalesInvoiceDiscountResponse$;
39889
+ var init_salesinvoicediscountresponse = __esm(() => {
39890
+ init_esm();
39891
+ init_salesinvoicediscounttyperesponse();
39521
39892
  SalesInvoiceDiscountResponse$inboundSchema = objectType({
39522
- type: SalesInvoiceDiscountResponseType$inboundSchema,
39893
+ type: SalesInvoiceDiscountTypeResponse$inboundSchema,
39523
39894
  value: stringType()
39524
39895
  });
39525
39896
  SalesInvoiceDiscountResponse$outboundSchema = objectType({
39526
- type: SalesInvoiceDiscountResponseType$outboundSchema,
39897
+ type: SalesInvoiceDiscountTypeResponse$outboundSchema,
39527
39898
  value: stringType()
39528
39899
  });
39529
39900
  ((SalesInvoiceDiscountResponse$) => {
@@ -39558,27 +39929,40 @@ var init_salesinvoicelineitemresponse = __esm(() => {
39558
39929
  })(SalesInvoiceLineItemResponse$ ||= {});
39559
39930
  });
39560
39931
 
39561
- // src/models/salesinvoicepaymentdetailsresponse.ts
39562
- var SalesInvoicePaymentDetailsResponseSource, SalesInvoicePaymentDetailsResponseSource$inboundSchema, SalesInvoicePaymentDetailsResponseSource$outboundSchema, SalesInvoicePaymentDetailsResponseSource$, SalesInvoicePaymentDetailsResponse$inboundSchema, SalesInvoicePaymentDetailsResponse$outboundSchema, SalesInvoicePaymentDetailsResponse$;
39563
- var init_salesinvoicepaymentdetailsresponse = __esm(() => {
39932
+ // src/models/salesinvoicepaymentdetailssourceresponse.ts
39933
+ var SalesInvoicePaymentDetailsSourceResponse, SalesInvoicePaymentDetailsSourceResponse$inboundSchema, SalesInvoicePaymentDetailsSourceResponse$outboundSchema, SalesInvoicePaymentDetailsSourceResponse$;
39934
+ var init_salesinvoicepaymentdetailssourceresponse = __esm(() => {
39564
39935
  init_esm();
39565
- SalesInvoicePaymentDetailsResponseSource = {
39936
+ SalesInvoicePaymentDetailsSourceResponse = {
39566
39937
  Manual: "manual",
39567
39938
  PaymentLink: "payment-link",
39568
39939
  Payment: "payment"
39569
39940
  };
39570
- SalesInvoicePaymentDetailsResponseSource$inboundSchema = nativeEnumType(SalesInvoicePaymentDetailsResponseSource);
39571
- SalesInvoicePaymentDetailsResponseSource$outboundSchema = SalesInvoicePaymentDetailsResponseSource$inboundSchema;
39572
- ((SalesInvoicePaymentDetailsResponseSource$) => {
39573
- SalesInvoicePaymentDetailsResponseSource$.inboundSchema = SalesInvoicePaymentDetailsResponseSource$inboundSchema;
39574
- SalesInvoicePaymentDetailsResponseSource$.outboundSchema = SalesInvoicePaymentDetailsResponseSource$outboundSchema;
39575
- })(SalesInvoicePaymentDetailsResponseSource$ ||= {});
39941
+ SalesInvoicePaymentDetailsSourceResponse$inboundSchema = unionType([
39942
+ nativeEnumType(SalesInvoicePaymentDetailsSourceResponse),
39943
+ stringType().transform(catchUnrecognizedEnum)
39944
+ ]);
39945
+ SalesInvoicePaymentDetailsSourceResponse$outboundSchema = unionType([
39946
+ nativeEnumType(SalesInvoicePaymentDetailsSourceResponse),
39947
+ stringType().and(custom())
39948
+ ]);
39949
+ ((SalesInvoicePaymentDetailsSourceResponse$) => {
39950
+ SalesInvoicePaymentDetailsSourceResponse$.inboundSchema = SalesInvoicePaymentDetailsSourceResponse$inboundSchema;
39951
+ SalesInvoicePaymentDetailsSourceResponse$.outboundSchema = SalesInvoicePaymentDetailsSourceResponse$outboundSchema;
39952
+ })(SalesInvoicePaymentDetailsSourceResponse$ ||= {});
39953
+ });
39954
+
39955
+ // src/models/salesinvoicepaymentdetailsresponse.ts
39956
+ var SalesInvoicePaymentDetailsResponse$inboundSchema, SalesInvoicePaymentDetailsResponse$outboundSchema, SalesInvoicePaymentDetailsResponse$;
39957
+ var init_salesinvoicepaymentdetailsresponse = __esm(() => {
39958
+ init_esm();
39959
+ init_salesinvoicepaymentdetailssourceresponse();
39576
39960
  SalesInvoicePaymentDetailsResponse$inboundSchema = objectType({
39577
- source: SalesInvoicePaymentDetailsResponseSource$inboundSchema,
39961
+ source: SalesInvoicePaymentDetailsSourceResponse$inboundSchema,
39578
39962
  sourceReference: nullableType(stringType()).optional()
39579
39963
  });
39580
39964
  SalesInvoicePaymentDetailsResponse$outboundSchema = objectType({
39581
- source: SalesInvoicePaymentDetailsResponseSource$outboundSchema,
39965
+ source: SalesInvoicePaymentDetailsSourceResponse$outboundSchema,
39582
39966
  sourceReference: nullableType(stringType()).optional()
39583
39967
  });
39584
39968
  ((SalesInvoicePaymentDetailsResponse$) => {
@@ -39587,15 +39971,38 @@ var init_salesinvoicepaymentdetailsresponse = __esm(() => {
39587
39971
  })(SalesInvoicePaymentDetailsResponse$ ||= {});
39588
39972
  });
39589
39973
 
39590
- // src/models/salesinvoicerecipientresponse.ts
39591
- var SalesInvoiceRecipientResponseType, SalesInvoiceRecipientResponseLocale, SalesInvoiceRecipientResponseType$inboundSchema, SalesInvoiceRecipientResponseType$outboundSchema, SalesInvoiceRecipientResponseType$, SalesInvoiceRecipientResponseLocale$inboundSchema, SalesInvoiceRecipientResponseLocale$outboundSchema, SalesInvoiceRecipientResponseLocale$, SalesInvoiceRecipientResponse$inboundSchema, SalesInvoiceRecipientResponse$outboundSchema, SalesInvoiceRecipientResponse$;
39592
- var init_salesinvoicerecipientresponse = __esm(() => {
39974
+ // src/models/salesinvoicepaymenttermresponse.ts
39975
+ var SalesInvoicePaymentTermResponse, SalesInvoicePaymentTermResponse$inboundSchema, SalesInvoicePaymentTermResponse$outboundSchema, SalesInvoicePaymentTermResponse$;
39976
+ var init_salesinvoicepaymenttermresponse = __esm(() => {
39593
39977
  init_esm();
39594
- SalesInvoiceRecipientResponseType = {
39595
- Consumer: "consumer",
39596
- Business: "business"
39978
+ SalesInvoicePaymentTermResponse = {
39979
+ Sevendays: "7 days",
39980
+ Fourteendays: "14 days",
39981
+ Thirtydays: "30 days",
39982
+ FortyFivedays: "45 days",
39983
+ Sixtydays: "60 days",
39984
+ Ninetydays: "90 days",
39985
+ OneHundredAndTwentydays: "120 days"
39597
39986
  };
39598
- SalesInvoiceRecipientResponseLocale = {
39987
+ SalesInvoicePaymentTermResponse$inboundSchema = unionType([
39988
+ nativeEnumType(SalesInvoicePaymentTermResponse),
39989
+ stringType().transform(catchUnrecognizedEnum)
39990
+ ]);
39991
+ SalesInvoicePaymentTermResponse$outboundSchema = unionType([
39992
+ nativeEnumType(SalesInvoicePaymentTermResponse),
39993
+ stringType().and(custom())
39994
+ ]);
39995
+ ((SalesInvoicePaymentTermResponse$) => {
39996
+ SalesInvoicePaymentTermResponse$.inboundSchema = SalesInvoicePaymentTermResponse$inboundSchema;
39997
+ SalesInvoicePaymentTermResponse$.outboundSchema = SalesInvoicePaymentTermResponse$outboundSchema;
39998
+ })(SalesInvoicePaymentTermResponse$ ||= {});
39999
+ });
40000
+
40001
+ // src/models/salesinvoicerecipientlocaleresponse.ts
40002
+ var SalesInvoiceRecipientLocaleResponse, SalesInvoiceRecipientLocaleResponse$inboundSchema, SalesInvoiceRecipientLocaleResponse$outboundSchema, SalesInvoiceRecipientLocaleResponse$;
40003
+ var init_salesinvoicerecipientlocaleresponse = __esm(() => {
40004
+ init_esm();
40005
+ SalesInvoiceRecipientLocaleResponse = {
39599
40006
  EnUS: "en_US",
39600
40007
  EnGB: "en_GB",
39601
40008
  NLNL: "nl_NL",
@@ -39606,20 +40013,50 @@ var init_salesinvoicerecipientresponse = __esm(() => {
39606
40013
  FRFR: "fr_FR",
39607
40014
  FrBE: "fr_BE"
39608
40015
  };
39609
- SalesInvoiceRecipientResponseType$inboundSchema = nativeEnumType(SalesInvoiceRecipientResponseType);
39610
- SalesInvoiceRecipientResponseType$outboundSchema = SalesInvoiceRecipientResponseType$inboundSchema;
39611
- ((SalesInvoiceRecipientResponseType$) => {
39612
- SalesInvoiceRecipientResponseType$.inboundSchema = SalesInvoiceRecipientResponseType$inboundSchema;
39613
- SalesInvoiceRecipientResponseType$.outboundSchema = SalesInvoiceRecipientResponseType$outboundSchema;
39614
- })(SalesInvoiceRecipientResponseType$ ||= {});
39615
- SalesInvoiceRecipientResponseLocale$inboundSchema = nativeEnumType(SalesInvoiceRecipientResponseLocale);
39616
- SalesInvoiceRecipientResponseLocale$outboundSchema = SalesInvoiceRecipientResponseLocale$inboundSchema;
39617
- ((SalesInvoiceRecipientResponseLocale$) => {
39618
- SalesInvoiceRecipientResponseLocale$.inboundSchema = SalesInvoiceRecipientResponseLocale$inboundSchema;
39619
- SalesInvoiceRecipientResponseLocale$.outboundSchema = SalesInvoiceRecipientResponseLocale$outboundSchema;
39620
- })(SalesInvoiceRecipientResponseLocale$ ||= {});
40016
+ SalesInvoiceRecipientLocaleResponse$inboundSchema = unionType([
40017
+ nativeEnumType(SalesInvoiceRecipientLocaleResponse),
40018
+ stringType().transform(catchUnrecognizedEnum)
40019
+ ]);
40020
+ SalesInvoiceRecipientLocaleResponse$outboundSchema = unionType([
40021
+ nativeEnumType(SalesInvoiceRecipientLocaleResponse),
40022
+ stringType().and(custom())
40023
+ ]);
40024
+ ((SalesInvoiceRecipientLocaleResponse$) => {
40025
+ SalesInvoiceRecipientLocaleResponse$.inboundSchema = SalesInvoiceRecipientLocaleResponse$inboundSchema;
40026
+ SalesInvoiceRecipientLocaleResponse$.outboundSchema = SalesInvoiceRecipientLocaleResponse$outboundSchema;
40027
+ })(SalesInvoiceRecipientLocaleResponse$ ||= {});
40028
+ });
40029
+
40030
+ // src/models/salesinvoicerecipienttyperesponse.ts
40031
+ var SalesInvoiceRecipientTypeResponse, SalesInvoiceRecipientTypeResponse$inboundSchema, SalesInvoiceRecipientTypeResponse$outboundSchema, SalesInvoiceRecipientTypeResponse$;
40032
+ var init_salesinvoicerecipienttyperesponse = __esm(() => {
40033
+ init_esm();
40034
+ SalesInvoiceRecipientTypeResponse = {
40035
+ Consumer: "consumer",
40036
+ Business: "business"
40037
+ };
40038
+ SalesInvoiceRecipientTypeResponse$inboundSchema = unionType([
40039
+ nativeEnumType(SalesInvoiceRecipientTypeResponse),
40040
+ stringType().transform(catchUnrecognizedEnum)
40041
+ ]);
40042
+ SalesInvoiceRecipientTypeResponse$outboundSchema = unionType([
40043
+ nativeEnumType(SalesInvoiceRecipientTypeResponse),
40044
+ stringType().and(custom())
40045
+ ]);
40046
+ ((SalesInvoiceRecipientTypeResponse$) => {
40047
+ SalesInvoiceRecipientTypeResponse$.inboundSchema = SalesInvoiceRecipientTypeResponse$inboundSchema;
40048
+ SalesInvoiceRecipientTypeResponse$.outboundSchema = SalesInvoiceRecipientTypeResponse$outboundSchema;
40049
+ })(SalesInvoiceRecipientTypeResponse$ ||= {});
40050
+ });
40051
+
40052
+ // src/models/salesinvoicerecipientresponse.ts
40053
+ var SalesInvoiceRecipientResponse$inboundSchema, SalesInvoiceRecipientResponse$outboundSchema, SalesInvoiceRecipientResponse$;
40054
+ var init_salesinvoicerecipientresponse = __esm(() => {
40055
+ init_esm();
40056
+ init_salesinvoicerecipientlocaleresponse();
40057
+ init_salesinvoicerecipienttyperesponse();
39621
40058
  SalesInvoiceRecipientResponse$inboundSchema = objectType({
39622
- type: SalesInvoiceRecipientResponseType$inboundSchema,
40059
+ type: SalesInvoiceRecipientTypeResponse$inboundSchema,
39623
40060
  title: nullableType(stringType()).optional(),
39624
40061
  givenName: nullableType(stringType()).optional(),
39625
40062
  familyName: nullableType(stringType()).optional(),
@@ -39634,10 +40071,10 @@ var init_salesinvoicerecipientresponse = __esm(() => {
39634
40071
  city: stringType(),
39635
40072
  region: nullableType(stringType()).optional(),
39636
40073
  country: stringType(),
39637
- locale: SalesInvoiceRecipientResponseLocale$inboundSchema
40074
+ locale: SalesInvoiceRecipientLocaleResponse$inboundSchema
39638
40075
  });
39639
40076
  SalesInvoiceRecipientResponse$outboundSchema = objectType({
39640
- type: SalesInvoiceRecipientResponseType$outboundSchema,
40077
+ type: SalesInvoiceRecipientTypeResponse$outboundSchema,
39641
40078
  title: nullableType(stringType()).optional(),
39642
40079
  givenName: nullableType(stringType()).optional(),
39643
40080
  familyName: nullableType(stringType()).optional(),
@@ -39652,7 +40089,7 @@ var init_salesinvoicerecipientresponse = __esm(() => {
39652
40089
  city: stringType(),
39653
40090
  region: nullableType(stringType()).optional(),
39654
40091
  country: stringType(),
39655
- locale: SalesInvoiceRecipientResponseLocale$outboundSchema
40092
+ locale: SalesInvoiceRecipientLocaleResponse$outboundSchema
39656
40093
  });
39657
40094
  ((SalesInvoiceRecipientResponse$) => {
39658
40095
  SalesInvoiceRecipientResponse$.inboundSchema = SalesInvoiceRecipientResponse$inboundSchema;
@@ -39660,8 +40097,75 @@ var init_salesinvoicerecipientresponse = __esm(() => {
39660
40097
  })(SalesInvoiceRecipientResponse$ ||= {});
39661
40098
  });
39662
40099
 
40100
+ // src/models/salesinvoicestatusresponse.ts
40101
+ var SalesInvoiceStatusResponse, SalesInvoiceStatusResponse$inboundSchema, SalesInvoiceStatusResponse$outboundSchema, SalesInvoiceStatusResponse$;
40102
+ var init_salesinvoicestatusresponse = __esm(() => {
40103
+ init_esm();
40104
+ SalesInvoiceStatusResponse = {
40105
+ Draft: "draft",
40106
+ Issued: "issued",
40107
+ Paid: "paid"
40108
+ };
40109
+ SalesInvoiceStatusResponse$inboundSchema = unionType([
40110
+ nativeEnumType(SalesInvoiceStatusResponse),
40111
+ stringType().transform(catchUnrecognizedEnum)
40112
+ ]);
40113
+ SalesInvoiceStatusResponse$outboundSchema = unionType([
40114
+ nativeEnumType(SalesInvoiceStatusResponse),
40115
+ stringType().and(custom())
40116
+ ]);
40117
+ ((SalesInvoiceStatusResponse$) => {
40118
+ SalesInvoiceStatusResponse$.inboundSchema = SalesInvoiceStatusResponse$inboundSchema;
40119
+ SalesInvoiceStatusResponse$.outboundSchema = SalesInvoiceStatusResponse$outboundSchema;
40120
+ })(SalesInvoiceStatusResponse$ ||= {});
40121
+ });
40122
+
40123
+ // src/models/salesinvoicevatmoderesponse.ts
40124
+ var SalesInvoiceVatModeResponse, SalesInvoiceVatModeResponse$inboundSchema, SalesInvoiceVatModeResponse$outboundSchema, SalesInvoiceVatModeResponse$;
40125
+ var init_salesinvoicevatmoderesponse = __esm(() => {
40126
+ init_esm();
40127
+ SalesInvoiceVatModeResponse = {
40128
+ Exclusive: "exclusive",
40129
+ Inclusive: "inclusive"
40130
+ };
40131
+ SalesInvoiceVatModeResponse$inboundSchema = unionType([
40132
+ nativeEnumType(SalesInvoiceVatModeResponse),
40133
+ stringType().transform(catchUnrecognizedEnum)
40134
+ ]);
40135
+ SalesInvoiceVatModeResponse$outboundSchema = unionType([
40136
+ nativeEnumType(SalesInvoiceVatModeResponse),
40137
+ stringType().and(custom())
40138
+ ]);
40139
+ ((SalesInvoiceVatModeResponse$) => {
40140
+ SalesInvoiceVatModeResponse$.inboundSchema = SalesInvoiceVatModeResponse$inboundSchema;
40141
+ SalesInvoiceVatModeResponse$.outboundSchema = SalesInvoiceVatModeResponse$outboundSchema;
40142
+ })(SalesInvoiceVatModeResponse$ ||= {});
40143
+ });
40144
+
40145
+ // src/models/salesinvoicevatschemeresponse.ts
40146
+ var SalesInvoiceVatSchemeResponse, SalesInvoiceVatSchemeResponse$inboundSchema, SalesInvoiceVatSchemeResponse$outboundSchema, SalesInvoiceVatSchemeResponse$;
40147
+ var init_salesinvoicevatschemeresponse = __esm(() => {
40148
+ init_esm();
40149
+ SalesInvoiceVatSchemeResponse = {
40150
+ Standard: "standard",
40151
+ OneStopShop: "one-stop-shop"
40152
+ };
40153
+ SalesInvoiceVatSchemeResponse$inboundSchema = unionType([
40154
+ nativeEnumType(SalesInvoiceVatSchemeResponse),
40155
+ stringType().transform(catchUnrecognizedEnum)
40156
+ ]);
40157
+ SalesInvoiceVatSchemeResponse$outboundSchema = unionType([
40158
+ nativeEnumType(SalesInvoiceVatSchemeResponse),
40159
+ stringType().and(custom())
40160
+ ]);
40161
+ ((SalesInvoiceVatSchemeResponse$) => {
40162
+ SalesInvoiceVatSchemeResponse$.inboundSchema = SalesInvoiceVatSchemeResponse$inboundSchema;
40163
+ SalesInvoiceVatSchemeResponse$.outboundSchema = SalesInvoiceVatSchemeResponse$outboundSchema;
40164
+ })(SalesInvoiceVatSchemeResponse$ ||= {});
40165
+ });
40166
+
39663
40167
  // src/models/entitysalesinvoiceresponse.ts
39664
- var EntitySalesInvoiceResponseStatus, EntitySalesInvoiceResponseVatScheme, EntitySalesInvoiceResponseVatMode, EntitySalesInvoiceResponsePaymentTerm, EntitySalesInvoiceResponseStatus$inboundSchema, EntitySalesInvoiceResponseStatus$outboundSchema, EntitySalesInvoiceResponseStatus$, EntitySalesInvoiceResponseVatScheme$inboundSchema, EntitySalesInvoiceResponseVatScheme$outboundSchema, EntitySalesInvoiceResponseVatScheme$, EntitySalesInvoiceResponseVatMode$inboundSchema, EntitySalesInvoiceResponseVatMode$outboundSchema, EntitySalesInvoiceResponseVatMode$, EntitySalesInvoiceResponseMetadata$inboundSchema, EntitySalesInvoiceResponseMetadata$outboundSchema, EntitySalesInvoiceResponseMetadata$, EntitySalesInvoiceResponsePaymentTerm$inboundSchema, EntitySalesInvoiceResponsePaymentTerm$outboundSchema, EntitySalesInvoiceResponsePaymentTerm$, EntitySalesInvoiceResponseLinks$inboundSchema, EntitySalesInvoiceResponseLinks$outboundSchema, EntitySalesInvoiceResponseLinks$, EntitySalesInvoiceResponse$inboundSchema, EntitySalesInvoiceResponse$outboundSchema, EntitySalesInvoiceResponse$;
40168
+ var EntitySalesInvoiceResponseMetadata$inboundSchema, EntitySalesInvoiceResponseMetadata$outboundSchema, EntitySalesInvoiceResponseMetadata$, EntitySalesInvoiceResponseLinks$inboundSchema, EntitySalesInvoiceResponseLinks$outboundSchema, EntitySalesInvoiceResponseLinks$, EntitySalesInvoiceResponse$inboundSchema, EntitySalesInvoiceResponse$outboundSchema, EntitySalesInvoiceResponse$;
39665
40169
  var init_entitysalesinvoiceresponse = __esm(() => {
39666
40170
  init_esm();
39667
40171
  init_primitives();
@@ -39670,60 +40174,18 @@ var init_entitysalesinvoiceresponse = __esm(() => {
39670
40174
  init_salesinvoiceemaildetails();
39671
40175
  init_salesinvoicelineitemresponse();
39672
40176
  init_salesinvoicepaymentdetailsresponse();
40177
+ init_salesinvoicepaymenttermresponse();
39673
40178
  init_salesinvoicerecipientresponse();
40179
+ init_salesinvoicestatusresponse();
40180
+ init_salesinvoicevatmoderesponse();
40181
+ init_salesinvoicevatschemeresponse();
39674
40182
  init_url2();
39675
- EntitySalesInvoiceResponseStatus = {
39676
- Draft: "draft",
39677
- Issued: "issued",
39678
- Paid: "paid"
39679
- };
39680
- EntitySalesInvoiceResponseVatScheme = {
39681
- Standard: "standard",
39682
- OneStopShop: "one-stop-shop"
39683
- };
39684
- EntitySalesInvoiceResponseVatMode = {
39685
- Exclusive: "exclusive",
39686
- Inclusive: "inclusive"
39687
- };
39688
- EntitySalesInvoiceResponsePaymentTerm = {
39689
- Sevendays: "7 days",
39690
- Fourteendays: "14 days",
39691
- Thirtydays: "30 days",
39692
- FortyFivedays: "45 days",
39693
- Sixtydays: "60 days",
39694
- Ninetydays: "90 days",
39695
- OneHundredAndTwentydays: "120 days"
39696
- };
39697
- EntitySalesInvoiceResponseStatus$inboundSchema = nativeEnumType(EntitySalesInvoiceResponseStatus);
39698
- EntitySalesInvoiceResponseStatus$outboundSchema = EntitySalesInvoiceResponseStatus$inboundSchema;
39699
- ((EntitySalesInvoiceResponseStatus$) => {
39700
- EntitySalesInvoiceResponseStatus$.inboundSchema = EntitySalesInvoiceResponseStatus$inboundSchema;
39701
- EntitySalesInvoiceResponseStatus$.outboundSchema = EntitySalesInvoiceResponseStatus$outboundSchema;
39702
- })(EntitySalesInvoiceResponseStatus$ ||= {});
39703
- EntitySalesInvoiceResponseVatScheme$inboundSchema = nativeEnumType(EntitySalesInvoiceResponseVatScheme);
39704
- EntitySalesInvoiceResponseVatScheme$outboundSchema = EntitySalesInvoiceResponseVatScheme$inboundSchema;
39705
- ((EntitySalesInvoiceResponseVatScheme$) => {
39706
- EntitySalesInvoiceResponseVatScheme$.inboundSchema = EntitySalesInvoiceResponseVatScheme$inboundSchema;
39707
- EntitySalesInvoiceResponseVatScheme$.outboundSchema = EntitySalesInvoiceResponseVatScheme$outboundSchema;
39708
- })(EntitySalesInvoiceResponseVatScheme$ ||= {});
39709
- EntitySalesInvoiceResponseVatMode$inboundSchema = nativeEnumType(EntitySalesInvoiceResponseVatMode);
39710
- EntitySalesInvoiceResponseVatMode$outboundSchema = EntitySalesInvoiceResponseVatMode$inboundSchema;
39711
- ((EntitySalesInvoiceResponseVatMode$) => {
39712
- EntitySalesInvoiceResponseVatMode$.inboundSchema = EntitySalesInvoiceResponseVatMode$inboundSchema;
39713
- EntitySalesInvoiceResponseVatMode$.outboundSchema = EntitySalesInvoiceResponseVatMode$outboundSchema;
39714
- })(EntitySalesInvoiceResponseVatMode$ ||= {});
39715
40183
  EntitySalesInvoiceResponseMetadata$inboundSchema = objectType({});
39716
40184
  EntitySalesInvoiceResponseMetadata$outboundSchema = objectType({});
39717
40185
  ((EntitySalesInvoiceResponseMetadata$) => {
39718
40186
  EntitySalesInvoiceResponseMetadata$.inboundSchema = EntitySalesInvoiceResponseMetadata$inboundSchema;
39719
40187
  EntitySalesInvoiceResponseMetadata$.outboundSchema = EntitySalesInvoiceResponseMetadata$outboundSchema;
39720
40188
  })(EntitySalesInvoiceResponseMetadata$ ||= {});
39721
- EntitySalesInvoiceResponsePaymentTerm$inboundSchema = nativeEnumType(EntitySalesInvoiceResponsePaymentTerm);
39722
- EntitySalesInvoiceResponsePaymentTerm$outboundSchema = EntitySalesInvoiceResponsePaymentTerm$inboundSchema;
39723
- ((EntitySalesInvoiceResponsePaymentTerm$) => {
39724
- EntitySalesInvoiceResponsePaymentTerm$.inboundSchema = EntitySalesInvoiceResponsePaymentTerm$inboundSchema;
39725
- EntitySalesInvoiceResponsePaymentTerm$.outboundSchema = EntitySalesInvoiceResponsePaymentTerm$outboundSchema;
39726
- })(EntitySalesInvoiceResponsePaymentTerm$ ||= {});
39727
40189
  EntitySalesInvoiceResponseLinks$inboundSchema = objectType({
39728
40190
  self: Url$inboundSchema.optional(),
39729
40191
  invoicePayment: Url$inboundSchema.optional(),
@@ -39744,12 +40206,12 @@ var init_entitysalesinvoiceresponse = __esm(() => {
39744
40206
  resource: stringType().optional(),
39745
40207
  id: stringType().optional(),
39746
40208
  invoiceNumber: nullableType(stringType()).optional(),
39747
- status: EntitySalesInvoiceResponseStatus$inboundSchema.optional(),
39748
- vatScheme: EntitySalesInvoiceResponseVatScheme$inboundSchema.optional(),
39749
- vatMode: EntitySalesInvoiceResponseVatMode$inboundSchema.optional(),
40209
+ status: SalesInvoiceStatusResponse$inboundSchema.optional(),
40210
+ vatScheme: SalesInvoiceVatSchemeResponse$inboundSchema.optional(),
40211
+ vatMode: SalesInvoiceVatModeResponse$inboundSchema.optional(),
39750
40212
  memo: nullableType(stringType()).optional(),
39751
40213
  metadata: nullableType(lazyType(() => EntitySalesInvoiceResponseMetadata$inboundSchema)).optional(),
39752
- paymentTerm: nullableType(EntitySalesInvoiceResponsePaymentTerm$inboundSchema).optional(),
40214
+ paymentTerm: nullableType(SalesInvoicePaymentTermResponse$inboundSchema).optional(),
39753
40215
  paymentDetails: nullableType(SalesInvoicePaymentDetailsResponse$inboundSchema).optional(),
39754
40216
  emailDetails: nullableType(SalesInvoiceEmailDetails$inboundSchema).optional(),
39755
40217
  customerId: stringType().optional(),
@@ -39777,12 +40239,12 @@ var init_entitysalesinvoiceresponse = __esm(() => {
39777
40239
  resource: stringType().optional(),
39778
40240
  id: stringType().optional(),
39779
40241
  invoiceNumber: nullableType(stringType()).optional(),
39780
- status: EntitySalesInvoiceResponseStatus$outboundSchema.optional(),
39781
- vatScheme: EntitySalesInvoiceResponseVatScheme$outboundSchema.optional(),
39782
- vatMode: EntitySalesInvoiceResponseVatMode$outboundSchema.optional(),
40242
+ status: SalesInvoiceStatusResponse$outboundSchema.optional(),
40243
+ vatScheme: SalesInvoiceVatSchemeResponse$outboundSchema.optional(),
40244
+ vatMode: SalesInvoiceVatModeResponse$outboundSchema.optional(),
39783
40245
  memo: nullableType(stringType()).optional(),
39784
40246
  metadata: nullableType(lazyType(() => EntitySalesInvoiceResponseMetadata$outboundSchema)).optional(),
39785
- paymentTerm: nullableType(EntitySalesInvoiceResponsePaymentTerm$outboundSchema).optional(),
40247
+ paymentTerm: nullableType(SalesInvoicePaymentTermResponse$outboundSchema).optional(),
39786
40248
  paymentDetails: nullableType(SalesInvoicePaymentDetailsResponse$outboundSchema).optional(),
39787
40249
  emailDetails: nullableType(SalesInvoiceEmailDetails$outboundSchema).optional(),
39788
40250
  customerId: stringType().optional(),
@@ -39812,26 +40274,39 @@ var init_entitysalesinvoiceresponse = __esm(() => {
39812
40274
  })(EntitySalesInvoiceResponse$ ||= {});
39813
40275
  });
39814
40276
 
40277
+ // src/models/settlementstatus.ts
40278
+ var SettlementStatus, SettlementStatus$inboundSchema, SettlementStatus$outboundSchema, SettlementStatus$;
40279
+ var init_settlementstatus = __esm(() => {
40280
+ init_esm();
40281
+ SettlementStatus = {
40282
+ Open: "open",
40283
+ Pending: "pending",
40284
+ Paidout: "paidout",
40285
+ Failed: "failed"
40286
+ };
40287
+ SettlementStatus$inboundSchema = unionType([
40288
+ nativeEnumType(SettlementStatus),
40289
+ stringType().transform(catchUnrecognizedEnum)
40290
+ ]);
40291
+ SettlementStatus$outboundSchema = unionType([
40292
+ nativeEnumType(SettlementStatus),
40293
+ stringType().and(custom())
40294
+ ]);
40295
+ ((SettlementStatus$) => {
40296
+ SettlementStatus$.inboundSchema = SettlementStatus$inboundSchema;
40297
+ SettlementStatus$.outboundSchema = SettlementStatus$outboundSchema;
40298
+ })(SettlementStatus$ ||= {});
40299
+ });
40300
+
39815
40301
  // src/models/entitysettlement.ts
39816
- var EntitySettlementStatus, EntitySettlementStatus$inboundSchema, EntitySettlementStatus$outboundSchema, EntitySettlementStatus$, EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlementLinks$, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema, EntitySettlement$;
40302
+ var EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlementLinks$, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema, EntitySettlement$;
39817
40303
  var init_entitysettlement = __esm(() => {
39818
40304
  init_esm();
39819
40305
  init_primitives();
39820
40306
  init_amount();
40307
+ init_settlementstatus();
39821
40308
  init_url2();
39822
40309
  init_urlnullable();
39823
- EntitySettlementStatus = {
39824
- Open: "open",
39825
- Pending: "pending",
39826
- Paidout: "paidout",
39827
- Failed: "failed"
39828
- };
39829
- EntitySettlementStatus$inboundSchema = nativeEnumType(EntitySettlementStatus);
39830
- EntitySettlementStatus$outboundSchema = EntitySettlementStatus$inboundSchema;
39831
- ((EntitySettlementStatus$) => {
39832
- EntitySettlementStatus$.inboundSchema = EntitySettlementStatus$inboundSchema;
39833
- EntitySettlementStatus$.outboundSchema = EntitySettlementStatus$outboundSchema;
39834
- })(EntitySettlementStatus$ ||= {});
39835
40310
  EntitySettlementLinks$inboundSchema = objectType({
39836
40311
  self: Url$inboundSchema.optional(),
39837
40312
  payments: Url$inboundSchema.optional(),
@@ -39860,7 +40335,7 @@ var init_entitysettlement = __esm(() => {
39860
40335
  createdAt: stringType().optional(),
39861
40336
  reference: nullableType(stringType()).optional(),
39862
40337
  settledAt: nullableType(stringType()).optional(),
39863
- status: EntitySettlementStatus$inboundSchema.optional(),
40338
+ status: SettlementStatus$inboundSchema.optional(),
39864
40339
  amount: Amount$inboundSchema.optional(),
39865
40340
  balanceId: stringType().optional(),
39866
40341
  invoiceId: stringType().optional(),
@@ -39877,7 +40352,7 @@ var init_entitysettlement = __esm(() => {
39877
40352
  createdAt: stringType().optional(),
39878
40353
  reference: nullableType(stringType()).optional(),
39879
40354
  settledAt: nullableType(stringType()).optional(),
39880
- status: EntitySettlementStatus$outboundSchema.optional(),
40355
+ status: SettlementStatus$outboundSchema.optional(),
39881
40356
  amount: Amount$outboundSchema.optional(),
39882
40357
  balanceId: stringType().optional(),
39883
40358
  invoiceId: stringType().optional(),
@@ -39894,6 +40369,28 @@ var init_entitysettlement = __esm(() => {
39894
40369
  })(EntitySettlement$ ||= {});
39895
40370
  });
39896
40371
 
40372
+ // src/models/terminalbrand.ts
40373
+ var TerminalBrand, TerminalBrand$inboundSchema, TerminalBrand$outboundSchema, TerminalBrand$;
40374
+ var init_terminalbrand = __esm(() => {
40375
+ init_esm();
40376
+ TerminalBrand = {
40377
+ Pax: "PAX",
40378
+ Tap: "Tap"
40379
+ };
40380
+ TerminalBrand$inboundSchema = unionType([
40381
+ nativeEnumType(TerminalBrand),
40382
+ stringType().transform(catchUnrecognizedEnum)
40383
+ ]);
40384
+ TerminalBrand$outboundSchema = unionType([
40385
+ nativeEnumType(TerminalBrand),
40386
+ stringType().and(custom())
40387
+ ]);
40388
+ ((TerminalBrand$) => {
40389
+ TerminalBrand$.inboundSchema = TerminalBrand$inboundSchema;
40390
+ TerminalBrand$.outboundSchema = TerminalBrand$outboundSchema;
40391
+ })(TerminalBrand$ ||= {});
40392
+ });
40393
+
39897
40394
  // src/models/terminalmodel.ts
39898
40395
  var TerminalModel, TerminalModel$inboundSchema, TerminalModel$outboundSchema, TerminalModel$;
39899
40396
  var init_terminalmodel = __esm(() => {
@@ -39920,35 +40417,39 @@ var init_terminalmodel = __esm(() => {
39920
40417
  })(TerminalModel$ ||= {});
39921
40418
  });
39922
40419
 
40420
+ // src/models/terminalstatus.ts
40421
+ var TerminalStatus, TerminalStatus$inboundSchema, TerminalStatus$outboundSchema, TerminalStatus$;
40422
+ var init_terminalstatus = __esm(() => {
40423
+ init_esm();
40424
+ TerminalStatus = {
40425
+ Pending: "pending",
40426
+ Active: "active",
40427
+ Inactive: "inactive"
40428
+ };
40429
+ TerminalStatus$inboundSchema = unionType([
40430
+ nativeEnumType(TerminalStatus),
40431
+ stringType().transform(catchUnrecognizedEnum)
40432
+ ]);
40433
+ TerminalStatus$outboundSchema = unionType([
40434
+ nativeEnumType(TerminalStatus),
40435
+ stringType().and(custom())
40436
+ ]);
40437
+ ((TerminalStatus$) => {
40438
+ TerminalStatus$.inboundSchema = TerminalStatus$inboundSchema;
40439
+ TerminalStatus$.outboundSchema = TerminalStatus$outboundSchema;
40440
+ })(TerminalStatus$ ||= {});
40441
+ });
40442
+
39923
40443
  // src/models/entityterminal.ts
39924
- var EntityTerminalStatus, Brand, EntityTerminalStatus$inboundSchema, EntityTerminalStatus$outboundSchema, EntityTerminalStatus$, Brand$inboundSchema, Brand$outboundSchema, Brand$, EntityTerminalLinks$inboundSchema, EntityTerminalLinks$outboundSchema, EntityTerminalLinks$, EntityTerminal$inboundSchema, EntityTerminal$outboundSchema, EntityTerminal$;
40444
+ var EntityTerminalLinks$inboundSchema, EntityTerminalLinks$outboundSchema, EntityTerminalLinks$, EntityTerminal$inboundSchema, EntityTerminal$outboundSchema, EntityTerminal$;
39925
40445
  var init_entityterminal = __esm(() => {
39926
40446
  init_esm();
39927
40447
  init_primitives();
39928
40448
  init_mode();
40449
+ init_terminalbrand();
39929
40450
  init_terminalmodel();
40451
+ init_terminalstatus();
39930
40452
  init_url2();
39931
- EntityTerminalStatus = {
39932
- Pending: "pending",
39933
- Active: "active",
39934
- Inactive: "inactive"
39935
- };
39936
- Brand = {
39937
- Pax: "PAX",
39938
- Tap: "Tap"
39939
- };
39940
- EntityTerminalStatus$inboundSchema = nativeEnumType(EntityTerminalStatus);
39941
- EntityTerminalStatus$outboundSchema = EntityTerminalStatus$inboundSchema;
39942
- ((EntityTerminalStatus$) => {
39943
- EntityTerminalStatus$.inboundSchema = EntityTerminalStatus$inboundSchema;
39944
- EntityTerminalStatus$.outboundSchema = EntityTerminalStatus$outboundSchema;
39945
- })(EntityTerminalStatus$ ||= {});
39946
- Brand$inboundSchema = nativeEnumType(Brand);
39947
- Brand$outboundSchema = Brand$inboundSchema;
39948
- ((Brand$) => {
39949
- Brand$.inboundSchema = Brand$inboundSchema;
39950
- Brand$.outboundSchema = Brand$outboundSchema;
39951
- })(Brand$ ||= {});
39952
40453
  EntityTerminalLinks$inboundSchema = objectType({
39953
40454
  self: Url$inboundSchema,
39954
40455
  documentation: Url$inboundSchema
@@ -39966,8 +40467,8 @@ var init_entityterminal = __esm(() => {
39966
40467
  id: stringType(),
39967
40468
  mode: Mode$inboundSchema,
39968
40469
  description: stringType(),
39969
- status: EntityTerminalStatus$inboundSchema,
39970
- brand: nullableType(Brand$inboundSchema),
40470
+ status: TerminalStatus$inboundSchema,
40471
+ brand: nullableType(TerminalBrand$inboundSchema),
39971
40472
  model: nullableType(TerminalModel$inboundSchema),
39972
40473
  serialNumber: nullableType(stringType()),
39973
40474
  currency: stringType(),
@@ -39985,8 +40486,8 @@ var init_entityterminal = __esm(() => {
39985
40486
  id: stringType(),
39986
40487
  mode: Mode$outboundSchema,
39987
40488
  description: stringType(),
39988
- status: EntityTerminalStatus$outboundSchema,
39989
- brand: nullableType(Brand$outboundSchema),
40489
+ status: TerminalStatus$outboundSchema,
40490
+ brand: nullableType(TerminalBrand$outboundSchema),
39990
40491
  model: nullableType(TerminalModel$outboundSchema),
39991
40492
  serialNumber: nullableType(stringType()),
39992
40493
  currency: stringType(),
@@ -40006,25 +40507,14 @@ var init_entityterminal = __esm(() => {
40006
40507
  });
40007
40508
 
40008
40509
  // src/models/entitywebhook.ts
40009
- var EntityWebhookStatus, EntityWebhookStatus$inboundSchema, EntityWebhookStatus$outboundSchema, EntityWebhookStatus$, EntityWebhookLinks$inboundSchema, EntityWebhookLinks$outboundSchema, EntityWebhookLinks$, EntityWebhook$inboundSchema, EntityWebhook$outboundSchema, EntityWebhook$;
40510
+ var EntityWebhookLinks$inboundSchema, EntityWebhookLinks$outboundSchema, EntityWebhookLinks$, EntityWebhook$inboundSchema, EntityWebhook$outboundSchema, EntityWebhook$;
40010
40511
  var init_entitywebhook = __esm(() => {
40011
40512
  init_esm();
40012
40513
  init_primitives();
40013
40514
  init_mode();
40014
40515
  init_url2();
40015
40516
  init_webhookeventtypes();
40016
- EntityWebhookStatus = {
40017
- Enabled: "enabled",
40018
- Blocked: "blocked",
40019
- Disabled: "disabled",
40020
- Deleted: "deleted"
40021
- };
40022
- EntityWebhookStatus$inboundSchema = nativeEnumType(EntityWebhookStatus);
40023
- EntityWebhookStatus$outboundSchema = EntityWebhookStatus$inboundSchema;
40024
- ((EntityWebhookStatus$) => {
40025
- EntityWebhookStatus$.inboundSchema = EntityWebhookStatus$inboundSchema;
40026
- EntityWebhookStatus$.outboundSchema = EntityWebhookStatus$outboundSchema;
40027
- })(EntityWebhookStatus$ ||= {});
40517
+ init_webhookstatus();
40028
40518
  EntityWebhookLinks$inboundSchema = objectType({
40029
40519
  documentation: Url$inboundSchema
40030
40520
  });
@@ -40043,7 +40533,7 @@ var init_entitywebhook = __esm(() => {
40043
40533
  createdAt: stringType(),
40044
40534
  name: stringType(),
40045
40535
  eventTypes: arrayType(WebhookEventTypes$inboundSchema),
40046
- status: EntityWebhookStatus$inboundSchema,
40536
+ status: WebhookStatus$inboundSchema,
40047
40537
  mode: Mode$inboundSchema,
40048
40538
  _links: lazyType(() => EntityWebhookLinks$inboundSchema)
40049
40539
  }).transform((v2) => {
@@ -40059,7 +40549,7 @@ var init_entitywebhook = __esm(() => {
40059
40549
  createdAt: stringType(),
40060
40550
  name: stringType(),
40061
40551
  eventTypes: arrayType(WebhookEventTypes$outboundSchema),
40062
- status: EntityWebhookStatus$outboundSchema,
40552
+ status: WebhookStatus$outboundSchema,
40063
40553
  mode: Mode$outboundSchema,
40064
40554
  links: lazyType(() => EntityWebhookLinks$outboundSchema)
40065
40555
  }).transform((v2) => {
@@ -40111,12 +40601,11 @@ var init_paymentaddress = __esm(() => {
40111
40601
  })(PaymentAddress$ ||= {});
40112
40602
  });
40113
40603
 
40114
- // src/models/paymentlineitemresponse.ts
40115
- var PaymentLineItemResponseType, PaymentLineItemResponseCategory, PaymentLineItemResponseType$inboundSchema, PaymentLineItemResponseType$outboundSchema, PaymentLineItemResponseType$, PaymentLineItemResponseCategory$inboundSchema, PaymentLineItemResponseCategory$outboundSchema, PaymentLineItemResponseCategory$, PaymentLineItemResponse$inboundSchema, PaymentLineItemResponse$outboundSchema, PaymentLineItemResponse$;
40116
- var init_paymentlineitemresponse = __esm(() => {
40604
+ // src/models/paymentlinetyperesponse.ts
40605
+ var PaymentLineTypeResponse, PaymentLineTypeResponse$inboundSchema, PaymentLineTypeResponse$outboundSchema, PaymentLineTypeResponse$;
40606
+ var init_paymentlinetyperesponse = __esm(() => {
40117
40607
  init_esm();
40118
- init_amount();
40119
- PaymentLineItemResponseType = {
40608
+ PaymentLineTypeResponse = {
40120
40609
  Physical: "physical",
40121
40610
  Digital: "digital",
40122
40611
  ShippingFee: "shipping_fee",
@@ -40126,18 +40615,32 @@ var init_paymentlineitemresponse = __esm(() => {
40126
40615
  Surcharge: "surcharge",
40127
40616
  Tip: "tip"
40128
40617
  };
40618
+ PaymentLineTypeResponse$inboundSchema = unionType([
40619
+ nativeEnumType(PaymentLineTypeResponse),
40620
+ stringType().transform(catchUnrecognizedEnum)
40621
+ ]);
40622
+ PaymentLineTypeResponse$outboundSchema = unionType([
40623
+ nativeEnumType(PaymentLineTypeResponse),
40624
+ stringType().and(custom())
40625
+ ]);
40626
+ ((PaymentLineTypeResponse$) => {
40627
+ PaymentLineTypeResponse$.inboundSchema = PaymentLineTypeResponse$inboundSchema;
40628
+ PaymentLineTypeResponse$.outboundSchema = PaymentLineTypeResponse$outboundSchema;
40629
+ })(PaymentLineTypeResponse$ ||= {});
40630
+ });
40631
+
40632
+ // src/models/paymentlineitemresponse.ts
40633
+ var PaymentLineItemResponseCategory, PaymentLineItemResponseCategory$inboundSchema, PaymentLineItemResponseCategory$outboundSchema, PaymentLineItemResponseCategory$, PaymentLineItemResponse$inboundSchema, PaymentLineItemResponse$outboundSchema, PaymentLineItemResponse$;
40634
+ var init_paymentlineitemresponse = __esm(() => {
40635
+ init_esm();
40636
+ init_amount();
40637
+ init_paymentlinetyperesponse();
40129
40638
  PaymentLineItemResponseCategory = {
40130
40639
  Meal: "meal",
40131
40640
  Eco: "eco",
40132
40641
  Gift: "gift",
40133
40642
  SportCulture: "sport_culture"
40134
40643
  };
40135
- PaymentLineItemResponseType$inboundSchema = nativeEnumType(PaymentLineItemResponseType);
40136
- PaymentLineItemResponseType$outboundSchema = PaymentLineItemResponseType$inboundSchema;
40137
- ((PaymentLineItemResponseType$) => {
40138
- PaymentLineItemResponseType$.inboundSchema = PaymentLineItemResponseType$inboundSchema;
40139
- PaymentLineItemResponseType$.outboundSchema = PaymentLineItemResponseType$outboundSchema;
40140
- })(PaymentLineItemResponseType$ ||= {});
40141
40644
  PaymentLineItemResponseCategory$inboundSchema = nativeEnumType(PaymentLineItemResponseCategory);
40142
40645
  PaymentLineItemResponseCategory$outboundSchema = PaymentLineItemResponseCategory$inboundSchema;
40143
40646
  ((PaymentLineItemResponseCategory$) => {
@@ -40145,7 +40648,7 @@ var init_paymentlineitemresponse = __esm(() => {
40145
40648
  PaymentLineItemResponseCategory$.outboundSchema = PaymentLineItemResponseCategory$outboundSchema;
40146
40649
  })(PaymentLineItemResponseCategory$ ||= {});
40147
40650
  PaymentLineItemResponse$inboundSchema = objectType({
40148
- type: PaymentLineItemResponseType$inboundSchema.optional(),
40651
+ type: PaymentLineTypeResponse$inboundSchema.optional(),
40149
40652
  description: stringType(),
40150
40653
  quantity: numberType().int(),
40151
40654
  quantityUnit: stringType().optional(),
@@ -40160,7 +40663,7 @@ var init_paymentlineitemresponse = __esm(() => {
40160
40663
  productUrl: stringType().optional()
40161
40664
  });
40162
40665
  PaymentLineItemResponse$outboundSchema = objectType({
40163
- type: PaymentLineItemResponseType$outboundSchema.optional(),
40666
+ type: PaymentLineTypeResponse$outboundSchema.optional(),
40164
40667
  description: stringType(),
40165
40668
  quantity: numberType().int(),
40166
40669
  quantityUnit: stringType().optional(),
@@ -40527,19 +41030,11 @@ var init_localeparameter = __esm(() => {
40527
41030
  })(LocaleParameter$ ||= {});
40528
41031
  });
40529
41032
 
40530
- // src/models/mandateresponse.ts
40531
- var MandateResponseMethod, MandateResponseCardLabel, MandateResponseStatus, MandateResponseMethod$inboundSchema, MandateResponseMethod$outboundSchema, MandateResponseMethod$, MandateResponseCardLabel$inboundSchema, MandateResponseCardLabel$outboundSchema, MandateResponseCardLabel$, MandateResponseDetails$inboundSchema, MandateResponseDetails$outboundSchema, MandateResponseDetails$, MandateResponseStatus$inboundSchema, MandateResponseStatus$outboundSchema, MandateResponseStatus$, MandateResponseLinks$inboundSchema, MandateResponseLinks$outboundSchema, MandateResponseLinks$, MandateResponse$inboundSchema, MandateResponse$outboundSchema, MandateResponse$;
40532
- var init_mandateresponse = __esm(() => {
41033
+ // src/models/mandatedetailscardlabelresponse.ts
41034
+ var MandateDetailsCardLabelResponse, MandateDetailsCardLabelResponse$inboundSchema, MandateDetailsCardLabelResponse$outboundSchema, MandateDetailsCardLabelResponse$;
41035
+ var init_mandatedetailscardlabelresponse = __esm(() => {
40533
41036
  init_esm();
40534
- init_primitives();
40535
- init_mode();
40536
- init_url2();
40537
- MandateResponseMethod = {
40538
- Creditcard: "creditcard",
40539
- Directdebit: "directdebit",
40540
- Paypal: "paypal"
40541
- };
40542
- MandateResponseCardLabel = {
41037
+ MandateDetailsCardLabelResponse = {
40543
41038
  AmericanExpress: "American Express",
40544
41039
  CartaSi: "Carta Si",
40545
41040
  CarteBleue: "Carte Bleue",
@@ -40553,23 +41048,53 @@ var init_mandateresponse = __esm(() => {
40553
41048
  Unionpay: "Unionpay",
40554
41049
  Visa: "Visa"
40555
41050
  };
40556
- MandateResponseStatus = {
40557
- Valid: "valid",
40558
- Pending: "pending",
40559
- Invalid: "invalid"
41051
+ MandateDetailsCardLabelResponse$inboundSchema = unionType([
41052
+ nativeEnumType(MandateDetailsCardLabelResponse),
41053
+ stringType().transform(catchUnrecognizedEnum)
41054
+ ]);
41055
+ MandateDetailsCardLabelResponse$outboundSchema = unionType([
41056
+ nativeEnumType(MandateDetailsCardLabelResponse),
41057
+ stringType().and(custom())
41058
+ ]);
41059
+ ((MandateDetailsCardLabelResponse$) => {
41060
+ MandateDetailsCardLabelResponse$.inboundSchema = MandateDetailsCardLabelResponse$inboundSchema;
41061
+ MandateDetailsCardLabelResponse$.outboundSchema = MandateDetailsCardLabelResponse$outboundSchema;
41062
+ })(MandateDetailsCardLabelResponse$ ||= {});
41063
+ });
41064
+
41065
+ // src/models/mandatemethodresponse.ts
41066
+ var MandateMethodResponse, MandateMethodResponse$inboundSchema, MandateMethodResponse$outboundSchema, MandateMethodResponse$;
41067
+ var init_mandatemethodresponse = __esm(() => {
41068
+ init_esm();
41069
+ MandateMethodResponse = {
41070
+ Creditcard: "creditcard",
41071
+ Directdebit: "directdebit",
41072
+ Paypal: "paypal"
40560
41073
  };
40561
- MandateResponseMethod$inboundSchema = nativeEnumType(MandateResponseMethod);
40562
- MandateResponseMethod$outboundSchema = MandateResponseMethod$inboundSchema;
40563
- ((MandateResponseMethod$) => {
40564
- MandateResponseMethod$.inboundSchema = MandateResponseMethod$inboundSchema;
40565
- MandateResponseMethod$.outboundSchema = MandateResponseMethod$outboundSchema;
40566
- })(MandateResponseMethod$ ||= {});
40567
- MandateResponseCardLabel$inboundSchema = nativeEnumType(MandateResponseCardLabel);
40568
- MandateResponseCardLabel$outboundSchema = MandateResponseCardLabel$inboundSchema;
40569
- ((MandateResponseCardLabel$) => {
40570
- MandateResponseCardLabel$.inboundSchema = MandateResponseCardLabel$inboundSchema;
40571
- MandateResponseCardLabel$.outboundSchema = MandateResponseCardLabel$outboundSchema;
40572
- })(MandateResponseCardLabel$ ||= {});
41074
+ MandateMethodResponse$inboundSchema = unionType([
41075
+ nativeEnumType(MandateMethodResponse),
41076
+ stringType().transform(catchUnrecognizedEnum)
41077
+ ]);
41078
+ MandateMethodResponse$outboundSchema = unionType([
41079
+ nativeEnumType(MandateMethodResponse),
41080
+ stringType().and(custom())
41081
+ ]);
41082
+ ((MandateMethodResponse$) => {
41083
+ MandateMethodResponse$.inboundSchema = MandateMethodResponse$inboundSchema;
41084
+ MandateMethodResponse$.outboundSchema = MandateMethodResponse$outboundSchema;
41085
+ })(MandateMethodResponse$ ||= {});
41086
+ });
41087
+
41088
+ // src/models/mandateresponse.ts
41089
+ var MandateResponseDetails$inboundSchema, MandateResponseDetails$outboundSchema, MandateResponseDetails$, MandateResponseLinks$inboundSchema, MandateResponseLinks$outboundSchema, MandateResponseLinks$, MandateResponse$inboundSchema, MandateResponse$outboundSchema, MandateResponse$;
41090
+ var init_mandateresponse = __esm(() => {
41091
+ init_esm();
41092
+ init_primitives();
41093
+ init_mandatedetailscardlabelresponse();
41094
+ init_mandatemethodresponse();
41095
+ init_mandatestatus();
41096
+ init_mode();
41097
+ init_url2();
40573
41098
  MandateResponseDetails$inboundSchema = objectType({
40574
41099
  consumerName: nullableType(stringType()).optional(),
40575
41100
  consumerAccount: nullableType(stringType()).optional(),
@@ -40577,7 +41102,7 @@ var init_mandateresponse = __esm(() => {
40577
41102
  cardHolder: nullableType(stringType()).optional(),
40578
41103
  cardNumber: nullableType(stringType()).optional(),
40579
41104
  cardExpiryDate: nullableType(stringType()).optional(),
40580
- cardLabel: nullableType(MandateResponseCardLabel$inboundSchema).optional(),
41105
+ cardLabel: nullableType(MandateDetailsCardLabelResponse$inboundSchema).optional(),
40581
41106
  cardFingerprint: nullableType(stringType()).optional()
40582
41107
  });
40583
41108
  MandateResponseDetails$outboundSchema = objectType({
@@ -40587,19 +41112,13 @@ var init_mandateresponse = __esm(() => {
40587
41112
  cardHolder: nullableType(stringType()).optional(),
40588
41113
  cardNumber: nullableType(stringType()).optional(),
40589
41114
  cardExpiryDate: nullableType(stringType()).optional(),
40590
- cardLabel: nullableType(MandateResponseCardLabel$outboundSchema).optional(),
41115
+ cardLabel: nullableType(MandateDetailsCardLabelResponse$outboundSchema).optional(),
40591
41116
  cardFingerprint: nullableType(stringType()).optional()
40592
41117
  });
40593
41118
  ((MandateResponseDetails$) => {
40594
41119
  MandateResponseDetails$.inboundSchema = MandateResponseDetails$inboundSchema;
40595
41120
  MandateResponseDetails$.outboundSchema = MandateResponseDetails$outboundSchema;
40596
41121
  })(MandateResponseDetails$ ||= {});
40597
- MandateResponseStatus$inboundSchema = nativeEnumType(MandateResponseStatus);
40598
- MandateResponseStatus$outboundSchema = MandateResponseStatus$inboundSchema;
40599
- ((MandateResponseStatus$) => {
40600
- MandateResponseStatus$.inboundSchema = MandateResponseStatus$inboundSchema;
40601
- MandateResponseStatus$.outboundSchema = MandateResponseStatus$outboundSchema;
40602
- })(MandateResponseStatus$ ||= {});
40603
41122
  MandateResponseLinks$inboundSchema = objectType({
40604
41123
  self: Url$inboundSchema,
40605
41124
  customer: Url$inboundSchema,
@@ -40618,11 +41137,11 @@ var init_mandateresponse = __esm(() => {
40618
41137
  resource: stringType().optional(),
40619
41138
  id: stringType().optional(),
40620
41139
  mode: Mode$inboundSchema.optional(),
40621
- method: MandateResponseMethod$inboundSchema.optional(),
41140
+ method: MandateMethodResponse$inboundSchema.optional(),
40622
41141
  details: lazyType(() => MandateResponseDetails$inboundSchema).optional(),
40623
41142
  signatureDate: nullableType(stringType()).optional(),
40624
41143
  mandateReference: nullableType(stringType()).optional(),
40625
- status: MandateResponseStatus$inboundSchema.optional(),
41144
+ status: MandateStatus$inboundSchema.optional(),
40626
41145
  customerId: stringType().optional(),
40627
41146
  createdAt: stringType().optional(),
40628
41147
  _links: lazyType(() => MandateResponseLinks$inboundSchema).optional()
@@ -40635,11 +41154,11 @@ var init_mandateresponse = __esm(() => {
40635
41154
  resource: stringType().optional(),
40636
41155
  id: stringType().optional(),
40637
41156
  mode: Mode$outboundSchema.optional(),
40638
- method: MandateResponseMethod$outboundSchema.optional(),
41157
+ method: MandateMethodResponse$outboundSchema.optional(),
40639
41158
  details: lazyType(() => MandateResponseDetails$outboundSchema).optional(),
40640
41159
  signatureDate: nullableType(stringType()).optional(),
40641
41160
  mandateReference: nullableType(stringType()).optional(),
40642
- status: MandateResponseStatus$outboundSchema.optional(),
41161
+ status: MandateStatus$outboundSchema.optional(),
40643
41162
  customerId: stringType().optional(),
40644
41163
  createdAt: stringType().optional(),
40645
41164
  links: lazyType(() => MandateResponseLinks$outboundSchema).optional()
@@ -40696,40 +41215,308 @@ var init_method = __esm(() => {
40696
41215
  Twint: "twint",
40697
41216
  Voucher: "voucher"
40698
41217
  };
40699
- Method$inboundSchema = nativeEnumType(Method);
40700
- Method$outboundSchema = Method$inboundSchema;
40701
- ((Method$) => {
40702
- Method$.inboundSchema = Method$inboundSchema;
40703
- Method$.outboundSchema = Method$outboundSchema;
40704
- })(Method$ ||= {});
41218
+ Method$inboundSchema = nativeEnumType(Method);
41219
+ Method$outboundSchema = Method$inboundSchema;
41220
+ ((Method$) => {
41221
+ Method$.inboundSchema = Method$inboundSchema;
41222
+ Method$.outboundSchema = Method$outboundSchema;
41223
+ })(Method$ ||= {});
41224
+ });
41225
+
41226
+ // src/models/orderlinecategories.ts
41227
+ var OrderLineCategories, OrderLineCategories$inboundSchema, OrderLineCategories$outboundSchema, OrderLineCategories$;
41228
+ var init_orderlinecategories = __esm(() => {
41229
+ init_esm();
41230
+ OrderLineCategories = {
41231
+ Eco: "eco",
41232
+ Gift: "gift",
41233
+ Meal: "meal",
41234
+ SportCulture: "sport_culture",
41235
+ Additional: "additional",
41236
+ Consume: "consume"
41237
+ };
41238
+ OrderLineCategories$inboundSchema = nativeEnumType(OrderLineCategories);
41239
+ OrderLineCategories$outboundSchema = OrderLineCategories$inboundSchema;
41240
+ ((OrderLineCategories$) => {
41241
+ OrderLineCategories$.inboundSchema = OrderLineCategories$inboundSchema;
41242
+ OrderLineCategories$.outboundSchema = OrderLineCategories$outboundSchema;
41243
+ })(OrderLineCategories$ ||= {});
41244
+ });
41245
+
41246
+ // src/models/paymentdetailscardauditionresponse.ts
41247
+ var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema, PaymentDetailsCardAuditionResponse$;
41248
+ var init_paymentdetailscardauditionresponse = __esm(() => {
41249
+ init_esm();
41250
+ PaymentDetailsCardAuditionResponse = {
41251
+ Consumer: "consumer",
41252
+ Business: "business"
41253
+ };
41254
+ PaymentDetailsCardAuditionResponse$inboundSchema = unionType([
41255
+ nativeEnumType(PaymentDetailsCardAuditionResponse),
41256
+ stringType().transform(catchUnrecognizedEnum)
41257
+ ]);
41258
+ PaymentDetailsCardAuditionResponse$outboundSchema = unionType([
41259
+ nativeEnumType(PaymentDetailsCardAuditionResponse),
41260
+ stringType().and(custom())
41261
+ ]);
41262
+ ((PaymentDetailsCardAuditionResponse$) => {
41263
+ PaymentDetailsCardAuditionResponse$.inboundSchema = PaymentDetailsCardAuditionResponse$inboundSchema;
41264
+ PaymentDetailsCardAuditionResponse$.outboundSchema = PaymentDetailsCardAuditionResponse$outboundSchema;
41265
+ })(PaymentDetailsCardAuditionResponse$ ||= {});
41266
+ });
41267
+
41268
+ // src/models/paymentdetailscardfundingresponse.ts
41269
+ var PaymentDetailsCardFundingResponse, PaymentDetailsCardFundingResponse$inboundSchema, PaymentDetailsCardFundingResponse$outboundSchema, PaymentDetailsCardFundingResponse$;
41270
+ var init_paymentdetailscardfundingresponse = __esm(() => {
41271
+ init_esm();
41272
+ PaymentDetailsCardFundingResponse = {
41273
+ Debit: "debit",
41274
+ Credit: "credit",
41275
+ Prepaid: "prepaid",
41276
+ DeferredDebit: "deferred-debit"
41277
+ };
41278
+ PaymentDetailsCardFundingResponse$inboundSchema = unionType([
41279
+ nativeEnumType(PaymentDetailsCardFundingResponse),
41280
+ stringType().transform(catchUnrecognizedEnum)
41281
+ ]);
41282
+ PaymentDetailsCardFundingResponse$outboundSchema = unionType([
41283
+ nativeEnumType(PaymentDetailsCardFundingResponse),
41284
+ stringType().and(custom())
41285
+ ]);
41286
+ ((PaymentDetailsCardFundingResponse$) => {
41287
+ PaymentDetailsCardFundingResponse$.inboundSchema = PaymentDetailsCardFundingResponse$inboundSchema;
41288
+ PaymentDetailsCardFundingResponse$.outboundSchema = PaymentDetailsCardFundingResponse$outboundSchema;
41289
+ })(PaymentDetailsCardFundingResponse$ ||= {});
41290
+ });
41291
+
41292
+ // src/models/paymentdetailscardlabelresponse.ts
41293
+ var PaymentDetailsCardLabelResponse, PaymentDetailsCardLabelResponse$inboundSchema, PaymentDetailsCardLabelResponse$outboundSchema, PaymentDetailsCardLabelResponse$;
41294
+ var init_paymentdetailscardlabelresponse = __esm(() => {
41295
+ init_esm();
41296
+ PaymentDetailsCardLabelResponse = {
41297
+ AmericanExpress: "American Express",
41298
+ CartaSi: "Carta Si",
41299
+ CarteBleue: "Carte Bleue",
41300
+ Dankort: "Dankort",
41301
+ DinersClub: "Diners Club",
41302
+ Discover: "Discover",
41303
+ Jcb: "JCB",
41304
+ Laser: "Laser",
41305
+ Maestro: "Maestro",
41306
+ Mastercard: "Mastercard",
41307
+ Unionpay: "Unionpay",
41308
+ Visa: "Visa",
41309
+ Vpay: "Vpay"
41310
+ };
41311
+ PaymentDetailsCardLabelResponse$inboundSchema = unionType([
41312
+ nativeEnumType(PaymentDetailsCardLabelResponse),
41313
+ stringType().transform(catchUnrecognizedEnum)
41314
+ ]);
41315
+ PaymentDetailsCardLabelResponse$outboundSchema = unionType([
41316
+ nativeEnumType(PaymentDetailsCardLabelResponse),
41317
+ stringType().and(custom())
41318
+ ]);
41319
+ ((PaymentDetailsCardLabelResponse$) => {
41320
+ PaymentDetailsCardLabelResponse$.inboundSchema = PaymentDetailsCardLabelResponse$inboundSchema;
41321
+ PaymentDetailsCardLabelResponse$.outboundSchema = PaymentDetailsCardLabelResponse$outboundSchema;
41322
+ })(PaymentDetailsCardLabelResponse$ ||= {});
41323
+ });
41324
+
41325
+ // src/models/paymentdetailscardsecurityresponse.ts
41326
+ var PaymentDetailsCardSecurityResponse, PaymentDetailsCardSecurityResponse$inboundSchema, PaymentDetailsCardSecurityResponse$outboundSchema, PaymentDetailsCardSecurityResponse$;
41327
+ var init_paymentdetailscardsecurityresponse = __esm(() => {
41328
+ init_esm();
41329
+ PaymentDetailsCardSecurityResponse = {
41330
+ Normal: "normal",
41331
+ Threedsecure: "3dsecure"
41332
+ };
41333
+ PaymentDetailsCardSecurityResponse$inboundSchema = unionType([
41334
+ nativeEnumType(PaymentDetailsCardSecurityResponse),
41335
+ stringType().transform(catchUnrecognizedEnum)
41336
+ ]);
41337
+ PaymentDetailsCardSecurityResponse$outboundSchema = unionType([
41338
+ nativeEnumType(PaymentDetailsCardSecurityResponse),
41339
+ stringType().and(custom())
41340
+ ]);
41341
+ ((PaymentDetailsCardSecurityResponse$) => {
41342
+ PaymentDetailsCardSecurityResponse$.inboundSchema = PaymentDetailsCardSecurityResponse$inboundSchema;
41343
+ PaymentDetailsCardSecurityResponse$.outboundSchema = PaymentDetailsCardSecurityResponse$outboundSchema;
41344
+ })(PaymentDetailsCardSecurityResponse$ ||= {});
41345
+ });
41346
+
41347
+ // src/models/paymentdetailsfailurereasonresponse.ts
41348
+ var PaymentDetailsFailureReasonResponse, PaymentDetailsFailureReasonResponse$inboundSchema, PaymentDetailsFailureReasonResponse$outboundSchema, PaymentDetailsFailureReasonResponse$;
41349
+ var init_paymentdetailsfailurereasonresponse = __esm(() => {
41350
+ init_esm();
41351
+ PaymentDetailsFailureReasonResponse = {
41352
+ AuthenticationAbandoned: "authentication_abandoned",
41353
+ AuthenticationFailed: "authentication_failed",
41354
+ AuthenticationRequired: "authentication_required",
41355
+ AuthenticationUnavailableAcs: "authentication_unavailable_acs",
41356
+ CardDeclined: "card_declined",
41357
+ CardExpired: "card_expired",
41358
+ InactiveCard: "inactive_card",
41359
+ InsufficientFunds: "insufficient_funds",
41360
+ InvalidCvv: "invalid_cvv",
41361
+ InvalidCardHolderName: "invalid_card_holder_name",
41362
+ InvalidCardNumber: "invalid_card_number",
41363
+ InvalidCardType: "invalid_card_type",
41364
+ PossibleFraud: "possible_fraud",
41365
+ RefusedByIssuer: "refused_by_issuer",
41366
+ UnknownReason: "unknown_reason"
41367
+ };
41368
+ PaymentDetailsFailureReasonResponse$inboundSchema = unionType([
41369
+ nativeEnumType(PaymentDetailsFailureReasonResponse),
41370
+ stringType().transform(catchUnrecognizedEnum)
41371
+ ]);
41372
+ PaymentDetailsFailureReasonResponse$outboundSchema = unionType([
41373
+ nativeEnumType(PaymentDetailsFailureReasonResponse),
41374
+ stringType().and(custom())
41375
+ ]);
41376
+ ((PaymentDetailsFailureReasonResponse$) => {
41377
+ PaymentDetailsFailureReasonResponse$.inboundSchema = PaymentDetailsFailureReasonResponse$inboundSchema;
41378
+ PaymentDetailsFailureReasonResponse$.outboundSchema = PaymentDetailsFailureReasonResponse$outboundSchema;
41379
+ })(PaymentDetailsFailureReasonResponse$ ||= {});
41380
+ });
41381
+
41382
+ // src/models/paymentdetailsfeeregionresponse.ts
41383
+ var PaymentDetailsFeeRegionResponse, PaymentDetailsFeeRegionResponse$inboundSchema, PaymentDetailsFeeRegionResponse$outboundSchema, PaymentDetailsFeeRegionResponse$;
41384
+ var init_paymentdetailsfeeregionresponse = __esm(() => {
41385
+ init_esm();
41386
+ PaymentDetailsFeeRegionResponse = {
41387
+ AmericanExpress: "american-express",
41388
+ AmexIntraEea: "amex-intra-eea",
41389
+ CarteBancaire: "carte-bancaire",
41390
+ IntraEu: "intra-eu",
41391
+ IntraEuCorporate: "intra-eu-corporate",
41392
+ Domestic: "domestic",
41393
+ Maestro: "maestro",
41394
+ Other: "other",
41395
+ Inter: "inter",
41396
+ IntraEea: "intra_eea"
41397
+ };
41398
+ PaymentDetailsFeeRegionResponse$inboundSchema = unionType([
41399
+ nativeEnumType(PaymentDetailsFeeRegionResponse),
41400
+ stringType().transform(catchUnrecognizedEnum)
41401
+ ]);
41402
+ PaymentDetailsFeeRegionResponse$outboundSchema = unionType([
41403
+ nativeEnumType(PaymentDetailsFeeRegionResponse),
41404
+ stringType().and(custom())
41405
+ ]);
41406
+ ((PaymentDetailsFeeRegionResponse$) => {
41407
+ PaymentDetailsFeeRegionResponse$.inboundSchema = PaymentDetailsFeeRegionResponse$inboundSchema;
41408
+ PaymentDetailsFeeRegionResponse$.outboundSchema = PaymentDetailsFeeRegionResponse$outboundSchema;
41409
+ })(PaymentDetailsFeeRegionResponse$ ||= {});
41410
+ });
41411
+
41412
+ // src/models/paymentdetailsreceiptcardreadmethodresponse.ts
41413
+ var PaymentDetailsReceiptCardReadMethodResponse, PaymentDetailsReceiptCardReadMethodResponse$inboundSchema, PaymentDetailsReceiptCardReadMethodResponse$outboundSchema, PaymentDetailsReceiptCardReadMethodResponse$;
41414
+ var init_paymentdetailsreceiptcardreadmethodresponse = __esm(() => {
41415
+ init_esm();
41416
+ PaymentDetailsReceiptCardReadMethodResponse = {
41417
+ Chip: "chip",
41418
+ MagneticStripe: "magnetic-stripe",
41419
+ NearFieldCommunication: "near-field-communication",
41420
+ Contactless: "contactless",
41421
+ Moto: "moto"
41422
+ };
41423
+ PaymentDetailsReceiptCardReadMethodResponse$inboundSchema = unionType([
41424
+ nativeEnumType(PaymentDetailsReceiptCardReadMethodResponse),
41425
+ stringType().transform(catchUnrecognizedEnum)
41426
+ ]);
41427
+ PaymentDetailsReceiptCardReadMethodResponse$outboundSchema = unionType([
41428
+ nativeEnumType(PaymentDetailsReceiptCardReadMethodResponse),
41429
+ stringType().and(custom())
41430
+ ]);
41431
+ ((PaymentDetailsReceiptCardReadMethodResponse$) => {
41432
+ PaymentDetailsReceiptCardReadMethodResponse$.inboundSchema = PaymentDetailsReceiptCardReadMethodResponse$inboundSchema;
41433
+ PaymentDetailsReceiptCardReadMethodResponse$.outboundSchema = PaymentDetailsReceiptCardReadMethodResponse$outboundSchema;
41434
+ })(PaymentDetailsReceiptCardReadMethodResponse$ ||= {});
41435
+ });
41436
+
41437
+ // src/models/paymentdetailsreceiptcardverificationmethodresponse.ts
41438
+ var PaymentDetailsReceiptCardVerificationMethodResponse, PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema, PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema, PaymentDetailsReceiptCardVerificationMethodResponse$;
41439
+ var init_paymentdetailsreceiptcardverificationmethodresponse = __esm(() => {
41440
+ init_esm();
41441
+ PaymentDetailsReceiptCardVerificationMethodResponse = {
41442
+ NoCvmRequired: "no-cvm-required",
41443
+ OnlinePin: "online-pin",
41444
+ OfflinePin: "offline-pin",
41445
+ ConsumerDevice: "consumer-device",
41446
+ Signature: "signature",
41447
+ SignatureAndOnlinePin: "signature-and-online-pin",
41448
+ OnlinePinAndSignature: "online-pin-and-signature",
41449
+ None: "none",
41450
+ Failed: "failed"
41451
+ };
41452
+ PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema = unionType([
41453
+ nativeEnumType(PaymentDetailsReceiptCardVerificationMethodResponse),
41454
+ stringType().transform(catchUnrecognizedEnum)
41455
+ ]);
41456
+ PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema = unionType([
41457
+ nativeEnumType(PaymentDetailsReceiptCardVerificationMethodResponse),
41458
+ stringType().and(custom())
41459
+ ]);
41460
+ ((PaymentDetailsReceiptCardVerificationMethodResponse$) => {
41461
+ PaymentDetailsReceiptCardVerificationMethodResponse$.inboundSchema = PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema;
41462
+ PaymentDetailsReceiptCardVerificationMethodResponse$.outboundSchema = PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema;
41463
+ })(PaymentDetailsReceiptCardVerificationMethodResponse$ ||= {});
40705
41464
  });
40706
41465
 
40707
- // src/models/orderlinecategories.ts
40708
- var OrderLineCategories, OrderLineCategories$inboundSchema, OrderLineCategories$outboundSchema, OrderLineCategories$;
40709
- var init_orderlinecategories = __esm(() => {
41466
+ // src/models/paymentdetailssellerprotectionresponse.ts
41467
+ var PaymentDetailsSellerProtectionResponse, PaymentDetailsSellerProtectionResponse$inboundSchema, PaymentDetailsSellerProtectionResponse$outboundSchema, PaymentDetailsSellerProtectionResponse$;
41468
+ var init_paymentdetailssellerprotectionresponse = __esm(() => {
40710
41469
  init_esm();
40711
- OrderLineCategories = {
40712
- Eco: "eco",
40713
- Gift: "gift",
40714
- Meal: "meal",
40715
- SportCulture: "sport_culture",
40716
- Additional: "additional",
40717
- Consume: "consume"
41470
+ PaymentDetailsSellerProtectionResponse = {
41471
+ Eligible: "Eligible",
41472
+ Ineligible: "Ineligible",
41473
+ PartiallyEligibleINROnly: "Partially Eligible - INR Only",
41474
+ PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
41475
+ PartiallyEligible: "Partially Eligible",
41476
+ None: "None",
41477
+ Active: "Active",
41478
+ FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible"
40718
41479
  };
40719
- OrderLineCategories$inboundSchema = nativeEnumType(OrderLineCategories);
40720
- OrderLineCategories$outboundSchema = OrderLineCategories$inboundSchema;
40721
- ((OrderLineCategories$) => {
40722
- OrderLineCategories$.inboundSchema = OrderLineCategories$inboundSchema;
40723
- OrderLineCategories$.outboundSchema = OrderLineCategories$outboundSchema;
40724
- })(OrderLineCategories$ ||= {});
41480
+ PaymentDetailsSellerProtectionResponse$inboundSchema = unionType([
41481
+ nativeEnumType(PaymentDetailsSellerProtectionResponse),
41482
+ stringType().transform(catchUnrecognizedEnum)
41483
+ ]);
41484
+ PaymentDetailsSellerProtectionResponse$outboundSchema = unionType([
41485
+ nativeEnumType(PaymentDetailsSellerProtectionResponse),
41486
+ stringType().and(custom())
41487
+ ]);
41488
+ ((PaymentDetailsSellerProtectionResponse$) => {
41489
+ PaymentDetailsSellerProtectionResponse$.inboundSchema = PaymentDetailsSellerProtectionResponse$inboundSchema;
41490
+ PaymentDetailsSellerProtectionResponse$.outboundSchema = PaymentDetailsSellerProtectionResponse$outboundSchema;
41491
+ })(PaymentDetailsSellerProtectionResponse$ ||= {});
40725
41492
  });
40726
41493
 
40727
- // src/models/paymentlineitem.ts
40728
- var PaymentLineItemType, PaymentLineItemCategory, PaymentLineItemType$inboundSchema, PaymentLineItemType$outboundSchema, PaymentLineItemType$, PaymentLineItemCategory$inboundSchema, PaymentLineItemCategory$outboundSchema, PaymentLineItemCategory$, PaymentLineItem$inboundSchema, PaymentLineItem$outboundSchema, PaymentLineItem$;
40729
- var init_paymentlineitem = __esm(() => {
41494
+ // src/models/paymentdetailswalletresponse.ts
41495
+ var PaymentDetailsWalletResponse, PaymentDetailsWalletResponse$inboundSchema, PaymentDetailsWalletResponse$outboundSchema, PaymentDetailsWalletResponse$;
41496
+ var init_paymentdetailswalletresponse = __esm(() => {
40730
41497
  init_esm();
40731
- init_amount();
40732
- PaymentLineItemType = {
41498
+ PaymentDetailsWalletResponse = {
41499
+ Applepay: "applepay"
41500
+ };
41501
+ PaymentDetailsWalletResponse$inboundSchema = unionType([
41502
+ nativeEnumType(PaymentDetailsWalletResponse),
41503
+ stringType().transform(catchUnrecognizedEnum)
41504
+ ]);
41505
+ PaymentDetailsWalletResponse$outboundSchema = unionType([
41506
+ nativeEnumType(PaymentDetailsWalletResponse),
41507
+ stringType().and(custom())
41508
+ ]);
41509
+ ((PaymentDetailsWalletResponse$) => {
41510
+ PaymentDetailsWalletResponse$.inboundSchema = PaymentDetailsWalletResponse$inboundSchema;
41511
+ PaymentDetailsWalletResponse$.outboundSchema = PaymentDetailsWalletResponse$outboundSchema;
41512
+ })(PaymentDetailsWalletResponse$ ||= {});
41513
+ });
41514
+
41515
+ // src/models/paymentlinetype.ts
41516
+ var PaymentLineType, PaymentLineType$inboundSchema, PaymentLineType$outboundSchema, PaymentLineType$;
41517
+ var init_paymentlinetype = __esm(() => {
41518
+ init_esm();
41519
+ PaymentLineType = {
40733
41520
  Physical: "physical",
40734
41521
  Digital: "digital",
40735
41522
  ShippingFee: "shipping_fee",
@@ -40739,18 +41526,26 @@ var init_paymentlineitem = __esm(() => {
40739
41526
  Surcharge: "surcharge",
40740
41527
  Tip: "tip"
40741
41528
  };
41529
+ PaymentLineType$inboundSchema = nativeEnumType(PaymentLineType);
41530
+ PaymentLineType$outboundSchema = PaymentLineType$inboundSchema;
41531
+ ((PaymentLineType$) => {
41532
+ PaymentLineType$.inboundSchema = PaymentLineType$inboundSchema;
41533
+ PaymentLineType$.outboundSchema = PaymentLineType$outboundSchema;
41534
+ })(PaymentLineType$ ||= {});
41535
+ });
41536
+
41537
+ // src/models/paymentlineitem.ts
41538
+ var PaymentLineItemCategory, PaymentLineItemCategory$inboundSchema, PaymentLineItemCategory$outboundSchema, PaymentLineItemCategory$, PaymentLineItem$inboundSchema, PaymentLineItem$outboundSchema, PaymentLineItem$;
41539
+ var init_paymentlineitem = __esm(() => {
41540
+ init_esm();
41541
+ init_amount();
41542
+ init_paymentlinetype();
40742
41543
  PaymentLineItemCategory = {
40743
41544
  Meal: "meal",
40744
41545
  Eco: "eco",
40745
41546
  Gift: "gift",
40746
41547
  SportCulture: "sport_culture"
40747
41548
  };
40748
- PaymentLineItemType$inboundSchema = nativeEnumType(PaymentLineItemType);
40749
- PaymentLineItemType$outboundSchema = PaymentLineItemType$inboundSchema;
40750
- ((PaymentLineItemType$) => {
40751
- PaymentLineItemType$.inboundSchema = PaymentLineItemType$inboundSchema;
40752
- PaymentLineItemType$.outboundSchema = PaymentLineItemType$outboundSchema;
40753
- })(PaymentLineItemType$ ||= {});
40754
41549
  PaymentLineItemCategory$inboundSchema = nativeEnumType(PaymentLineItemCategory);
40755
41550
  PaymentLineItemCategory$outboundSchema = PaymentLineItemCategory$inboundSchema;
40756
41551
  ((PaymentLineItemCategory$) => {
@@ -40758,7 +41553,7 @@ var init_paymentlineitem = __esm(() => {
40758
41553
  PaymentLineItemCategory$.outboundSchema = PaymentLineItemCategory$outboundSchema;
40759
41554
  })(PaymentLineItemCategory$ ||= {});
40760
41555
  PaymentLineItem$inboundSchema = objectType({
40761
- type: PaymentLineItemType$inboundSchema.optional(),
41556
+ type: PaymentLineType$inboundSchema.optional(),
40762
41557
  description: stringType(),
40763
41558
  quantity: numberType().int(),
40764
41559
  quantityUnit: stringType().optional(),
@@ -40773,7 +41568,7 @@ var init_paymentlineitem = __esm(() => {
40773
41568
  productUrl: stringType().optional()
40774
41569
  });
40775
41570
  PaymentLineItem$outboundSchema = objectType({
40776
- type: PaymentLineItemType$outboundSchema.optional(),
41571
+ type: PaymentLineType$outboundSchema.optional(),
40777
41572
  description: stringType(),
40778
41573
  quantity: numberType().int(),
40779
41574
  quantityUnit: stringType().optional(),
@@ -40883,7 +41678,7 @@ var init_sequencetype = __esm(() => {
40883
41678
  });
40884
41679
 
40885
41680
  // src/models/paymentrequest.ts
40886
- var PaymentRequestType, PaymentRequestCategory, PaymentRequestType$inboundSchema, PaymentRequestType$outboundSchema, PaymentRequestType$, PaymentRequestCategory$inboundSchema, PaymentRequestCategory$outboundSchema, PaymentRequestCategory$, PaymentRequestLine$inboundSchema, PaymentRequestLine$outboundSchema, PaymentRequestLine$, PaymentRequestApplicationFee$inboundSchema, PaymentRequestApplicationFee$outboundSchema, PaymentRequestApplicationFee$, Company$inboundSchema, Company$outboundSchema, Company$, PaymentRequest$inboundSchema, PaymentRequest$outboundSchema, PaymentRequest$;
41681
+ var PaymentRequestCategory, PaymentRequestCategory$inboundSchema, PaymentRequestCategory$outboundSchema, PaymentRequestCategory$, PaymentRequestLine$inboundSchema, PaymentRequestLine$outboundSchema, PaymentRequestLine$, PaymentRequestApplicationFee$inboundSchema, PaymentRequestApplicationFee$outboundSchema, PaymentRequestApplicationFee$, Company$inboundSchema, Company$outboundSchema, Company$, PaymentRequest$inboundSchema, PaymentRequest$outboundSchema, PaymentRequest$;
40887
41682
  var init_paymentrequest = __esm(() => {
40888
41683
  init_esm();
40889
41684
  init_rfcdate();
@@ -40894,30 +41689,15 @@ var init_paymentrequest = __esm(() => {
40894
41689
  init_metadata();
40895
41690
  init_method();
40896
41691
  init_paymentaddress();
41692
+ init_paymentlinetype();
40897
41693
  init_recurringlineitem();
40898
41694
  init_sequencetype();
40899
- PaymentRequestType = {
40900
- Physical: "physical",
40901
- Digital: "digital",
40902
- ShippingFee: "shipping_fee",
40903
- Discount: "discount",
40904
- StoreCredit: "store_credit",
40905
- GiftCard: "gift_card",
40906
- Surcharge: "surcharge",
40907
- Tip: "tip"
40908
- };
40909
41695
  PaymentRequestCategory = {
40910
41696
  Meal: "meal",
40911
41697
  Eco: "eco",
40912
41698
  Gift: "gift",
40913
41699
  SportCulture: "sport_culture"
40914
41700
  };
40915
- PaymentRequestType$inboundSchema = nativeEnumType(PaymentRequestType);
40916
- PaymentRequestType$outboundSchema = PaymentRequestType$inboundSchema;
40917
- ((PaymentRequestType$) => {
40918
- PaymentRequestType$.inboundSchema = PaymentRequestType$inboundSchema;
40919
- PaymentRequestType$.outboundSchema = PaymentRequestType$outboundSchema;
40920
- })(PaymentRequestType$ ||= {});
40921
41701
  PaymentRequestCategory$inboundSchema = nativeEnumType(PaymentRequestCategory);
40922
41702
  PaymentRequestCategory$outboundSchema = PaymentRequestCategory$inboundSchema;
40923
41703
  ((PaymentRequestCategory$) => {
@@ -40925,7 +41705,7 @@ var init_paymentrequest = __esm(() => {
40925
41705
  PaymentRequestCategory$.outboundSchema = PaymentRequestCategory$outboundSchema;
40926
41706
  })(PaymentRequestCategory$ ||= {});
40927
41707
  PaymentRequestLine$inboundSchema = objectType({
40928
- type: PaymentRequestType$inboundSchema.optional(),
41708
+ type: PaymentLineType$inboundSchema.optional(),
40929
41709
  description: stringType(),
40930
41710
  quantity: numberType().int(),
40931
41711
  quantityUnit: stringType().optional(),
@@ -40941,7 +41721,7 @@ var init_paymentrequest = __esm(() => {
40941
41721
  recurring: RecurringLineItem$inboundSchema.optional()
40942
41722
  });
40943
41723
  PaymentRequestLine$outboundSchema = objectType({
40944
- type: PaymentRequestType$outboundSchema.optional(),
41724
+ type: PaymentLineType$outboundSchema.optional(),
40945
41725
  description: stringType(),
40946
41726
  quantity: numberType().int(),
40947
41727
  quantityUnit: stringType().optional(),
@@ -41001,7 +41781,7 @@ var init_paymentrequest = __esm(() => {
41001
41781
  lines: nullableType(arrayType(lazyType(() => PaymentRequestLine$inboundSchema))).optional(),
41002
41782
  billingAddress: PaymentAddress$inboundSchema.optional(),
41003
41783
  shippingAddress: PaymentAddress$inboundSchema.optional(),
41004
- locale: Locale$inboundSchema.optional(),
41784
+ locale: nullableType(Locale$inboundSchema).optional(),
41005
41785
  method: nullableType(Method$inboundSchema).optional(),
41006
41786
  issuer: nullableType(stringType()).optional(),
41007
41787
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
@@ -41046,7 +41826,7 @@ var init_paymentrequest = __esm(() => {
41046
41826
  lines: nullableType(arrayType(lazyType(() => PaymentRequestLine$outboundSchema))).optional(),
41047
41827
  billingAddress: PaymentAddress$outboundSchema.optional(),
41048
41828
  shippingAddress: PaymentAddress$outboundSchema.optional(),
41049
- locale: Locale$outboundSchema.optional(),
41829
+ locale: nullableType(Locale$outboundSchema).optional(),
41050
41830
  method: nullableType(Method$outboundSchema).optional(),
41051
41831
  issuer: nullableType(stringType()).optional(),
41052
41832
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
@@ -41082,6 +41862,33 @@ var init_paymentrequest = __esm(() => {
41082
41862
  })(PaymentRequest$ ||= {});
41083
41863
  });
41084
41864
 
41865
+ // src/models/paymentstatus.ts
41866
+ var PaymentStatus, PaymentStatus$inboundSchema, PaymentStatus$outboundSchema, PaymentStatus$;
41867
+ var init_paymentstatus = __esm(() => {
41868
+ init_esm();
41869
+ PaymentStatus = {
41870
+ Open: "open",
41871
+ Pending: "pending",
41872
+ Authorized: "authorized",
41873
+ Paid: "paid",
41874
+ Canceled: "canceled",
41875
+ Expired: "expired",
41876
+ Failed: "failed"
41877
+ };
41878
+ PaymentStatus$inboundSchema = unionType([
41879
+ nativeEnumType(PaymentStatus),
41880
+ stringType().transform(catchUnrecognizedEnum)
41881
+ ]);
41882
+ PaymentStatus$outboundSchema = unionType([
41883
+ nativeEnumType(PaymentStatus),
41884
+ stringType().and(custom())
41885
+ ]);
41886
+ ((PaymentStatus$) => {
41887
+ PaymentStatus$.inboundSchema = PaymentStatus$inboundSchema;
41888
+ PaymentStatus$.outboundSchema = PaymentStatus$outboundSchema;
41889
+ })(PaymentStatus$ ||= {});
41890
+ });
41891
+
41085
41892
  // src/models/sequencetyperesponse.ts
41086
41893
  var SequenceTypeResponse, SequenceTypeResponse$inboundSchema, SequenceTypeResponse$outboundSchema, SequenceTypeResponse$;
41087
41894
  var init_sequencetyperesponse = __esm(() => {
@@ -41248,7 +42055,7 @@ var init_statusreason = __esm(() => {
41248
42055
  });
41249
42056
 
41250
42057
  // src/models/paymentresponse.ts
41251
- var PaymentResponseType, PaymentResponseCategory, PaymentResponseStatus, CardAudition, PaymentResponseCardLabel, CardFunding, CardSecurity, FeeRegion, FailureReason, Wallet, SellerProtection, CardReadMethod, CardVerificationMethod, PaymentResponseType$inboundSchema, PaymentResponseType$outboundSchema, PaymentResponseType$, PaymentResponseCategory$inboundSchema, PaymentResponseCategory$outboundSchema, PaymentResponseCategory$, PaymentResponseLine$inboundSchema, PaymentResponseLine$outboundSchema, PaymentResponseLine$, PaymentResponseApplicationFee$inboundSchema, PaymentResponseApplicationFee$outboundSchema, PaymentResponseApplicationFee$, PaymentResponseStatus$inboundSchema, PaymentResponseStatus$outboundSchema, PaymentResponseStatus$, CardAudition$inboundSchema, CardAudition$outboundSchema, CardAudition$, PaymentResponseCardLabel$inboundSchema, PaymentResponseCardLabel$outboundSchema, PaymentResponseCardLabel$, CardFunding$inboundSchema, CardFunding$outboundSchema, CardFunding$, CardSecurity$inboundSchema, CardSecurity$outboundSchema, CardSecurity$, FeeRegion$inboundSchema, FeeRegion$outboundSchema, FeeRegion$, FailureReason$inboundSchema, FailureReason$outboundSchema, FailureReason$, Wallet$inboundSchema, Wallet$outboundSchema, Wallet$, SellerProtection$inboundSchema, SellerProtection$outboundSchema, SellerProtection$, CardReadMethod$inboundSchema, CardReadMethod$outboundSchema, CardReadMethod$, CardVerificationMethod$inboundSchema, CardVerificationMethod$outboundSchema, CardVerificationMethod$, Receipt$inboundSchema, Receipt$outboundSchema, Receipt$, QrCode$inboundSchema, QrCode$outboundSchema, QrCode$, PaymentResponseDetails$inboundSchema, PaymentResponseDetails$outboundSchema, PaymentResponseDetails$, PaymentResponseLinks$inboundSchema, PaymentResponseLinks$outboundSchema, PaymentResponseLinks$, PaymentResponse$inboundSchema, PaymentResponse$outboundSchema, PaymentResponse$;
42058
+ var PaymentResponseCategory, PaymentResponseCategory$inboundSchema, PaymentResponseCategory$outboundSchema, PaymentResponseCategory$, PaymentResponseLine$inboundSchema, PaymentResponseLine$outboundSchema, PaymentResponseLine$, PaymentResponseApplicationFee$inboundSchema, PaymentResponseApplicationFee$outboundSchema, PaymentResponseApplicationFee$, Receipt$inboundSchema, Receipt$outboundSchema, Receipt$, QrCode$inboundSchema, QrCode$outboundSchema, QrCode$, PaymentResponseDetails$inboundSchema, PaymentResponseDetails$outboundSchema, PaymentResponseDetails$, PaymentResponseLinks$inboundSchema, PaymentResponseLinks$outboundSchema, PaymentResponseLinks$, PaymentResponse$inboundSchema, PaymentResponse$outboundSchema, PaymentResponse$;
41252
42059
  var init_paymentresponse = __esm(() => {
41253
42060
  init_esm();
41254
42061
  init_primitives();
@@ -41262,130 +42069,28 @@ var init_paymentresponse = __esm(() => {
41262
42069
  init_methodresponse();
41263
42070
  init_mode();
41264
42071
  init_paymentaddress();
42072
+ init_paymentdetailscardauditionresponse();
42073
+ init_paymentdetailscardfundingresponse();
42074
+ init_paymentdetailscardlabelresponse();
42075
+ init_paymentdetailscardsecurityresponse();
42076
+ init_paymentdetailsfailurereasonresponse();
42077
+ init_paymentdetailsfeeregionresponse();
42078
+ init_paymentdetailsreceiptcardreadmethodresponse();
42079
+ init_paymentdetailsreceiptcardverificationmethodresponse();
42080
+ init_paymentdetailssellerprotectionresponse();
42081
+ init_paymentdetailswalletresponse();
42082
+ init_paymentlinetyperesponse();
42083
+ init_paymentstatus();
41265
42084
  init_recurringlineitem();
41266
42085
  init_sequencetyperesponse();
41267
42086
  init_statusreason();
41268
42087
  init_url2();
41269
- PaymentResponseType = {
41270
- Physical: "physical",
41271
- Digital: "digital",
41272
- ShippingFee: "shipping_fee",
41273
- Discount: "discount",
41274
- StoreCredit: "store_credit",
41275
- GiftCard: "gift_card",
41276
- Surcharge: "surcharge",
41277
- Tip: "tip"
41278
- };
41279
42088
  PaymentResponseCategory = {
41280
42089
  Meal: "meal",
41281
42090
  Eco: "eco",
41282
42091
  Gift: "gift",
41283
42092
  SportCulture: "sport_culture"
41284
42093
  };
41285
- PaymentResponseStatus = {
41286
- Open: "open",
41287
- Pending: "pending",
41288
- Authorized: "authorized",
41289
- Paid: "paid",
41290
- Canceled: "canceled",
41291
- Expired: "expired",
41292
- Failed: "failed"
41293
- };
41294
- CardAudition = {
41295
- Consumer: "consumer",
41296
- Business: "business"
41297
- };
41298
- PaymentResponseCardLabel = {
41299
- AmericanExpress: "American Express",
41300
- CartaSi: "Carta Si",
41301
- CarteBleue: "Carte Bleue",
41302
- Dankort: "Dankort",
41303
- DinersClub: "Diners Club",
41304
- Discover: "Discover",
41305
- Jcb: "JCB",
41306
- Laser: "Laser",
41307
- Maestro: "Maestro",
41308
- Mastercard: "Mastercard",
41309
- Unionpay: "Unionpay",
41310
- Visa: "Visa",
41311
- Vpay: "Vpay"
41312
- };
41313
- CardFunding = {
41314
- Debit: "debit",
41315
- Credit: "credit",
41316
- Prepaid: "prepaid",
41317
- DeferredDebit: "deferred-debit"
41318
- };
41319
- CardSecurity = {
41320
- Normal: "normal",
41321
- Threedsecure: "3dsecure"
41322
- };
41323
- FeeRegion = {
41324
- AmericanExpress: "american-express",
41325
- AmexIntraEea: "amex-intra-eea",
41326
- CarteBancaire: "carte-bancaire",
41327
- IntraEu: "intra-eu",
41328
- IntraEuCorporate: "intra-eu-corporate",
41329
- Domestic: "domestic",
41330
- Maestro: "maestro",
41331
- Other: "other",
41332
- Inter: "inter",
41333
- IntraEea: "intra_eea"
41334
- };
41335
- FailureReason = {
41336
- AuthenticationAbandoned: "authentication_abandoned",
41337
- AuthenticationFailed: "authentication_failed",
41338
- AuthenticationRequired: "authentication_required",
41339
- AuthenticationUnavailableAcs: "authentication_unavailable_acs",
41340
- CardDeclined: "card_declined",
41341
- CardExpired: "card_expired",
41342
- InactiveCard: "inactive_card",
41343
- InsufficientFunds: "insufficient_funds",
41344
- InvalidCvv: "invalid_cvv",
41345
- InvalidCardHolderName: "invalid_card_holder_name",
41346
- InvalidCardNumber: "invalid_card_number",
41347
- InvalidCardType: "invalid_card_type",
41348
- PossibleFraud: "possible_fraud",
41349
- RefusedByIssuer: "refused_by_issuer",
41350
- UnknownReason: "unknown_reason"
41351
- };
41352
- Wallet = {
41353
- Applepay: "applepay"
41354
- };
41355
- SellerProtection = {
41356
- Eligible: "Eligible",
41357
- Ineligible: "Ineligible",
41358
- PartiallyEligibleINROnly: "Partially Eligible - INR Only",
41359
- PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
41360
- PartiallyEligible: "Partially Eligible",
41361
- None: "None",
41362
- Active: "Active",
41363
- FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible"
41364
- };
41365
- CardReadMethod = {
41366
- Chip: "chip",
41367
- MagneticStripe: "magnetic-stripe",
41368
- NearFieldCommunication: "near-field-communication",
41369
- Contactless: "contactless",
41370
- Moto: "moto"
41371
- };
41372
- CardVerificationMethod = {
41373
- NoCvmRequired: "no-cvm-required",
41374
- OnlinePin: "online-pin",
41375
- OfflinePin: "offline-pin",
41376
- ConsumerDevice: "consumer-device",
41377
- Signature: "signature",
41378
- SignatureAndOnlinePin: "signature-and-online-pin",
41379
- OnlinePinAndSignature: "online-pin-and-signature",
41380
- None: "none",
41381
- Failed: "failed"
41382
- };
41383
- PaymentResponseType$inboundSchema = nativeEnumType(PaymentResponseType);
41384
- PaymentResponseType$outboundSchema = PaymentResponseType$inboundSchema;
41385
- ((PaymentResponseType$) => {
41386
- PaymentResponseType$.inboundSchema = PaymentResponseType$inboundSchema;
41387
- PaymentResponseType$.outboundSchema = PaymentResponseType$outboundSchema;
41388
- })(PaymentResponseType$ ||= {});
41389
42094
  PaymentResponseCategory$inboundSchema = nativeEnumType(PaymentResponseCategory);
41390
42095
  PaymentResponseCategory$outboundSchema = PaymentResponseCategory$inboundSchema;
41391
42096
  ((PaymentResponseCategory$) => {
@@ -41393,7 +42098,7 @@ var init_paymentresponse = __esm(() => {
41393
42098
  PaymentResponseCategory$.outboundSchema = PaymentResponseCategory$outboundSchema;
41394
42099
  })(PaymentResponseCategory$ ||= {});
41395
42100
  PaymentResponseLine$inboundSchema = objectType({
41396
- type: PaymentResponseType$inboundSchema.optional(),
42101
+ type: PaymentLineTypeResponse$inboundSchema.optional(),
41397
42102
  description: stringType(),
41398
42103
  quantity: numberType().int(),
41399
42104
  quantityUnit: stringType().optional(),
@@ -41409,7 +42114,7 @@ var init_paymentresponse = __esm(() => {
41409
42114
  recurring: RecurringLineItem$inboundSchema.optional()
41410
42115
  });
41411
42116
  PaymentResponseLine$outboundSchema = objectType({
41412
- type: PaymentResponseType$outboundSchema.optional(),
42117
+ type: PaymentLineTypeResponse$outboundSchema.optional(),
41413
42118
  description: stringType(),
41414
42119
  quantity: numberType().int(),
41415
42120
  quantityUnit: stringType().optional(),
@@ -41440,83 +42145,17 @@ var init_paymentresponse = __esm(() => {
41440
42145
  PaymentResponseApplicationFee$.inboundSchema = PaymentResponseApplicationFee$inboundSchema;
41441
42146
  PaymentResponseApplicationFee$.outboundSchema = PaymentResponseApplicationFee$outboundSchema;
41442
42147
  })(PaymentResponseApplicationFee$ ||= {});
41443
- PaymentResponseStatus$inboundSchema = nativeEnumType(PaymentResponseStatus);
41444
- PaymentResponseStatus$outboundSchema = PaymentResponseStatus$inboundSchema;
41445
- ((PaymentResponseStatus$) => {
41446
- PaymentResponseStatus$.inboundSchema = PaymentResponseStatus$inboundSchema;
41447
- PaymentResponseStatus$.outboundSchema = PaymentResponseStatus$outboundSchema;
41448
- })(PaymentResponseStatus$ ||= {});
41449
- CardAudition$inboundSchema = nativeEnumType(CardAudition);
41450
- CardAudition$outboundSchema = CardAudition$inboundSchema;
41451
- ((CardAudition$) => {
41452
- CardAudition$.inboundSchema = CardAudition$inboundSchema;
41453
- CardAudition$.outboundSchema = CardAudition$outboundSchema;
41454
- })(CardAudition$ ||= {});
41455
- PaymentResponseCardLabel$inboundSchema = nativeEnumType(PaymentResponseCardLabel);
41456
- PaymentResponseCardLabel$outboundSchema = PaymentResponseCardLabel$inboundSchema;
41457
- ((PaymentResponseCardLabel$) => {
41458
- PaymentResponseCardLabel$.inboundSchema = PaymentResponseCardLabel$inboundSchema;
41459
- PaymentResponseCardLabel$.outboundSchema = PaymentResponseCardLabel$outboundSchema;
41460
- })(PaymentResponseCardLabel$ ||= {});
41461
- CardFunding$inboundSchema = nativeEnumType(CardFunding);
41462
- CardFunding$outboundSchema = CardFunding$inboundSchema;
41463
- ((CardFunding$) => {
41464
- CardFunding$.inboundSchema = CardFunding$inboundSchema;
41465
- CardFunding$.outboundSchema = CardFunding$outboundSchema;
41466
- })(CardFunding$ ||= {});
41467
- CardSecurity$inboundSchema = nativeEnumType(CardSecurity);
41468
- CardSecurity$outboundSchema = CardSecurity$inboundSchema;
41469
- ((CardSecurity$) => {
41470
- CardSecurity$.inboundSchema = CardSecurity$inboundSchema;
41471
- CardSecurity$.outboundSchema = CardSecurity$outboundSchema;
41472
- })(CardSecurity$ ||= {});
41473
- FeeRegion$inboundSchema = nativeEnumType(FeeRegion);
41474
- FeeRegion$outboundSchema = FeeRegion$inboundSchema;
41475
- ((FeeRegion$) => {
41476
- FeeRegion$.inboundSchema = FeeRegion$inboundSchema;
41477
- FeeRegion$.outboundSchema = FeeRegion$outboundSchema;
41478
- })(FeeRegion$ ||= {});
41479
- FailureReason$inboundSchema = nativeEnumType(FailureReason);
41480
- FailureReason$outboundSchema = FailureReason$inboundSchema;
41481
- ((FailureReason$) => {
41482
- FailureReason$.inboundSchema = FailureReason$inboundSchema;
41483
- FailureReason$.outboundSchema = FailureReason$outboundSchema;
41484
- })(FailureReason$ ||= {});
41485
- Wallet$inboundSchema = nativeEnumType(Wallet);
41486
- Wallet$outboundSchema = Wallet$inboundSchema;
41487
- ((Wallet$) => {
41488
- Wallet$.inboundSchema = Wallet$inboundSchema;
41489
- Wallet$.outboundSchema = Wallet$outboundSchema;
41490
- })(Wallet$ ||= {});
41491
- SellerProtection$inboundSchema = nativeEnumType(SellerProtection);
41492
- SellerProtection$outboundSchema = SellerProtection$inboundSchema;
41493
- ((SellerProtection$) => {
41494
- SellerProtection$.inboundSchema = SellerProtection$inboundSchema;
41495
- SellerProtection$.outboundSchema = SellerProtection$outboundSchema;
41496
- })(SellerProtection$ ||= {});
41497
- CardReadMethod$inboundSchema = nativeEnumType(CardReadMethod);
41498
- CardReadMethod$outboundSchema = CardReadMethod$inboundSchema;
41499
- ((CardReadMethod$) => {
41500
- CardReadMethod$.inboundSchema = CardReadMethod$inboundSchema;
41501
- CardReadMethod$.outboundSchema = CardReadMethod$outboundSchema;
41502
- })(CardReadMethod$ ||= {});
41503
- CardVerificationMethod$inboundSchema = nativeEnumType(CardVerificationMethod);
41504
- CardVerificationMethod$outboundSchema = CardVerificationMethod$inboundSchema;
41505
- ((CardVerificationMethod$) => {
41506
- CardVerificationMethod$.inboundSchema = CardVerificationMethod$inboundSchema;
41507
- CardVerificationMethod$.outboundSchema = CardVerificationMethod$outboundSchema;
41508
- })(CardVerificationMethod$ ||= {});
41509
42148
  Receipt$inboundSchema = objectType({
41510
42149
  authorizationCode: nullableType(stringType()).optional(),
41511
42150
  applicationIdentifier: nullableType(stringType()).optional(),
41512
- cardReadMethod: nullableType(CardReadMethod$inboundSchema).optional(),
41513
- cardVerificationMethod: nullableType(CardVerificationMethod$inboundSchema).optional()
42151
+ cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$inboundSchema).optional(),
42152
+ cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema).optional()
41514
42153
  });
41515
42154
  Receipt$outboundSchema = objectType({
41516
42155
  authorizationCode: nullableType(stringType()).optional(),
41517
42156
  applicationIdentifier: nullableType(stringType()).optional(),
41518
- cardReadMethod: nullableType(CardReadMethod$outboundSchema).optional(),
41519
- cardVerificationMethod: nullableType(CardVerificationMethod$outboundSchema).optional()
42157
+ cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$outboundSchema).optional(),
42158
+ cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema).optional()
41520
42159
  });
41521
42160
  ((Receipt$) => {
41522
42161
  Receipt$.inboundSchema = Receipt$inboundSchema;
@@ -41548,23 +42187,23 @@ var init_paymentresponse = __esm(() => {
41548
42187
  transferReference: nullableType(stringType()).optional(),
41549
42188
  cardFingerprint: nullableType(stringType()).optional(),
41550
42189
  cardHolder: nullableType(stringType()).optional(),
41551
- cardAudition: nullableType(CardAudition$inboundSchema).optional(),
41552
- cardLabel: nullableType(PaymentResponseCardLabel$inboundSchema).optional(),
42190
+ cardAudition: nullableType(PaymentDetailsCardAuditionResponse$inboundSchema).optional(),
42191
+ cardLabel: nullableType(PaymentDetailsCardLabelResponse$inboundSchema).optional(),
41553
42192
  cardCountryCode: nullableType(stringType()).optional(),
41554
42193
  cardExpiryDate: nullableType(stringType()).optional(),
41555
- cardFunding: nullableType(CardFunding$inboundSchema).optional(),
41556
- cardSecurity: nullableType(CardSecurity$inboundSchema).optional(),
41557
- feeRegion: nullableType(FeeRegion$inboundSchema).optional(),
42194
+ cardFunding: nullableType(PaymentDetailsCardFundingResponse$inboundSchema).optional(),
42195
+ cardSecurity: nullableType(PaymentDetailsCardSecurityResponse$inboundSchema).optional(),
42196
+ feeRegion: nullableType(PaymentDetailsFeeRegionResponse$inboundSchema).optional(),
41558
42197
  cardMaskedNumber: nullableType(stringType()).optional(),
41559
42198
  card3dsEci: nullableType(stringType()).optional(),
41560
42199
  cardBin: nullableType(stringType()).optional(),
41561
42200
  cardIssuer: nullableType(stringType()).optional(),
41562
- failureReason: nullableType(FailureReason$inboundSchema).optional(),
42201
+ failureReason: nullableType(PaymentDetailsFailureReasonResponse$inboundSchema).optional(),
41563
42202
  failureMessage: nullableType(stringType()).optional(),
41564
- wallet: nullableType(Wallet$inboundSchema).optional(),
42203
+ wallet: nullableType(PaymentDetailsWalletResponse$inboundSchema).optional(),
41565
42204
  paypalReference: nullableType(stringType()).optional(),
41566
42205
  paypalPayerId: nullableType(stringType()).optional(),
41567
- sellerProtection: nullableType(SellerProtection$inboundSchema).optional(),
42206
+ sellerProtection: nullableType(PaymentDetailsSellerProtectionResponse$inboundSchema).optional(),
41568
42207
  paypalFee: nullableType(AmountNullable$inboundSchema).optional(),
41569
42208
  customerReference: stringType().optional(),
41570
42209
  terminalId: stringType().optional(),
@@ -41600,23 +42239,23 @@ var init_paymentresponse = __esm(() => {
41600
42239
  transferReference: nullableType(stringType()).optional(),
41601
42240
  cardFingerprint: nullableType(stringType()).optional(),
41602
42241
  cardHolder: nullableType(stringType()).optional(),
41603
- cardAudition: nullableType(CardAudition$outboundSchema).optional(),
41604
- cardLabel: nullableType(PaymentResponseCardLabel$outboundSchema).optional(),
42242
+ cardAudition: nullableType(PaymentDetailsCardAuditionResponse$outboundSchema).optional(),
42243
+ cardLabel: nullableType(PaymentDetailsCardLabelResponse$outboundSchema).optional(),
41605
42244
  cardCountryCode: nullableType(stringType()).optional(),
41606
42245
  cardExpiryDate: nullableType(stringType()).optional(),
41607
- cardFunding: nullableType(CardFunding$outboundSchema).optional(),
41608
- cardSecurity: nullableType(CardSecurity$outboundSchema).optional(),
41609
- feeRegion: nullableType(FeeRegion$outboundSchema).optional(),
42246
+ cardFunding: nullableType(PaymentDetailsCardFundingResponse$outboundSchema).optional(),
42247
+ cardSecurity: nullableType(PaymentDetailsCardSecurityResponse$outboundSchema).optional(),
42248
+ feeRegion: nullableType(PaymentDetailsFeeRegionResponse$outboundSchema).optional(),
41610
42249
  cardMaskedNumber: nullableType(stringType()).optional(),
41611
42250
  card3dsEci: nullableType(stringType()).optional(),
41612
42251
  cardBin: nullableType(stringType()).optional(),
41613
42252
  cardIssuer: nullableType(stringType()).optional(),
41614
- failureReason: nullableType(FailureReason$outboundSchema).optional(),
42253
+ failureReason: nullableType(PaymentDetailsFailureReasonResponse$outboundSchema).optional(),
41615
42254
  failureMessage: nullableType(stringType()).optional(),
41616
- wallet: nullableType(Wallet$outboundSchema).optional(),
42255
+ wallet: nullableType(PaymentDetailsWalletResponse$outboundSchema).optional(),
41617
42256
  paypalReference: nullableType(stringType()).optional(),
41618
42257
  paypalPayerId: nullableType(stringType()).optional(),
41619
- sellerProtection: nullableType(SellerProtection$outboundSchema).optional(),
42258
+ sellerProtection: nullableType(PaymentDetailsSellerProtectionResponse$outboundSchema).optional(),
41620
42259
  paypalFee: nullableType(AmountNullable$outboundSchema).optional(),
41621
42260
  customerReference: stringType().optional(),
41622
42261
  terminalId: stringType().optional(),
@@ -41703,7 +42342,7 @@ var init_paymentresponse = __esm(() => {
41703
42342
  lines: nullableType(arrayType(lazyType(() => PaymentResponseLine$inboundSchema))).optional(),
41704
42343
  billingAddress: PaymentAddress$inboundSchema.optional(),
41705
42344
  shippingAddress: PaymentAddress$inboundSchema.optional(),
41706
- locale: LocaleResponse$inboundSchema.optional(),
42345
+ locale: nullableType(LocaleResponse$inboundSchema).optional(),
41707
42346
  countryCode: nullableType(stringType()).optional(),
41708
42347
  method: nullableType(MethodResponse$inboundSchema).optional(),
41709
42348
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
@@ -41720,7 +42359,7 @@ var init_paymentresponse = __esm(() => {
41720
42359
  profileId: stringType().optional(),
41721
42360
  settlementId: stringType().optional(),
41722
42361
  orderId: stringType().optional(),
41723
- status: PaymentResponseStatus$inboundSchema.optional(),
42362
+ status: PaymentStatus$inboundSchema.optional(),
41724
42363
  statusReason: nullableType(StatusReason$inboundSchema).optional(),
41725
42364
  isCancelable: nullableType(booleanType()).optional(),
41726
42365
  details: nullableType(lazyType(() => PaymentResponseDetails$inboundSchema)).optional(),
@@ -41754,7 +42393,7 @@ var init_paymentresponse = __esm(() => {
41754
42393
  lines: nullableType(arrayType(lazyType(() => PaymentResponseLine$outboundSchema))).optional(),
41755
42394
  billingAddress: PaymentAddress$outboundSchema.optional(),
41756
42395
  shippingAddress: PaymentAddress$outboundSchema.optional(),
41757
- locale: LocaleResponse$outboundSchema.optional(),
42396
+ locale: nullableType(LocaleResponse$outboundSchema).optional(),
41758
42397
  countryCode: nullableType(stringType()).optional(),
41759
42398
  method: nullableType(MethodResponse$outboundSchema).optional(),
41760
42399
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
@@ -41771,7 +42410,7 @@ var init_paymentresponse = __esm(() => {
41771
42410
  profileId: stringType().optional(),
41772
42411
  settlementId: stringType().optional(),
41773
42412
  orderId: stringType().optional(),
41774
- status: PaymentResponseStatus$outboundSchema.optional(),
42413
+ status: PaymentStatus$outboundSchema.optional(),
41775
42414
  statusReason: nullableType(StatusReason$outboundSchema).optional(),
41776
42415
  isCancelable: nullableType(booleanType()).optional(),
41777
42416
  details: nullableType(lazyType(() => PaymentResponseDetails$outboundSchema)).optional(),
@@ -41795,25 +42434,17 @@ var init_paymentresponse = __esm(() => {
41795
42434
  });
41796
42435
 
41797
42436
  // src/models/routecreaterequest.ts
41798
- var RouteCreateRequestType, RouteCreateRequestType$inboundSchema, RouteCreateRequestType$outboundSchema, RouteCreateRequestType$, RouteCreateRequestDestination$inboundSchema, RouteCreateRequestDestination$outboundSchema, RouteCreateRequestDestination$, RouteCreateRequest$inboundSchema, RouteCreateRequest$outboundSchema, RouteCreateRequest$;
42437
+ var RouteCreateRequestDestination$inboundSchema, RouteCreateRequestDestination$outboundSchema, RouteCreateRequestDestination$, RouteCreateRequest$inboundSchema, RouteCreateRequest$outboundSchema, RouteCreateRequest$;
41799
42438
  var init_routecreaterequest = __esm(() => {
41800
42439
  init_esm();
41801
42440
  init_amount();
41802
- RouteCreateRequestType = {
41803
- Organization: "organization"
41804
- };
41805
- RouteCreateRequestType$inboundSchema = nativeEnumType(RouteCreateRequestType);
41806
- RouteCreateRequestType$outboundSchema = RouteCreateRequestType$inboundSchema;
41807
- ((RouteCreateRequestType$) => {
41808
- RouteCreateRequestType$.inboundSchema = RouteCreateRequestType$inboundSchema;
41809
- RouteCreateRequestType$.outboundSchema = RouteCreateRequestType$outboundSchema;
41810
- })(RouteCreateRequestType$ ||= {});
42441
+ init_routedestinationtype();
41811
42442
  RouteCreateRequestDestination$inboundSchema = objectType({
41812
- type: RouteCreateRequestType$inboundSchema,
42443
+ type: RouteDestinationType$inboundSchema,
41813
42444
  organizationId: stringType()
41814
42445
  });
41815
42446
  RouteCreateRequestDestination$outboundSchema = objectType({
41816
- type: RouteCreateRequestType$outboundSchema,
42447
+ type: RouteDestinationType$outboundSchema,
41817
42448
  organizationId: stringType()
41818
42449
  });
41819
42450
  ((RouteCreateRequestDestination$) => {
@@ -41843,27 +42474,19 @@ var init_routecreaterequest = __esm(() => {
41843
42474
  });
41844
42475
 
41845
42476
  // src/models/routecreateresponse.ts
41846
- var RouteCreateResponseType, RouteCreateResponseType$inboundSchema, RouteCreateResponseType$outboundSchema, RouteCreateResponseType$, RouteCreateResponseDestination$inboundSchema, RouteCreateResponseDestination$outboundSchema, RouteCreateResponseDestination$, RouteCreateResponseLinks$inboundSchema, RouteCreateResponseLinks$outboundSchema, RouteCreateResponseLinks$, RouteCreateResponse$inboundSchema, RouteCreateResponse$outboundSchema, RouteCreateResponse$;
42477
+ var RouteCreateResponseDestination$inboundSchema, RouteCreateResponseDestination$outboundSchema, RouteCreateResponseDestination$, RouteCreateResponseLinks$inboundSchema, RouteCreateResponseLinks$outboundSchema, RouteCreateResponseLinks$, RouteCreateResponse$inboundSchema, RouteCreateResponse$outboundSchema, RouteCreateResponse$;
41847
42478
  var init_routecreateresponse = __esm(() => {
41848
42479
  init_esm();
41849
42480
  init_primitives();
41850
42481
  init_amount();
42482
+ init_routedestinationtyperesponse();
41851
42483
  init_url2();
41852
- RouteCreateResponseType = {
41853
- Organization: "organization"
41854
- };
41855
- RouteCreateResponseType$inboundSchema = nativeEnumType(RouteCreateResponseType);
41856
- RouteCreateResponseType$outboundSchema = RouteCreateResponseType$inboundSchema;
41857
- ((RouteCreateResponseType$) => {
41858
- RouteCreateResponseType$.inboundSchema = RouteCreateResponseType$inboundSchema;
41859
- RouteCreateResponseType$.outboundSchema = RouteCreateResponseType$outboundSchema;
41860
- })(RouteCreateResponseType$ ||= {});
41861
42484
  RouteCreateResponseDestination$inboundSchema = objectType({
41862
- type: RouteCreateResponseType$inboundSchema,
42485
+ type: RouteDestinationTypeResponse$inboundSchema,
41863
42486
  organizationId: stringType()
41864
42487
  });
41865
42488
  RouteCreateResponseDestination$outboundSchema = objectType({
41866
- type: RouteCreateResponseType$outboundSchema,
42489
+ type: RouteDestinationTypeResponse$outboundSchema,
41867
42490
  organizationId: stringType()
41868
42491
  });
41869
42492
  ((RouteCreateResponseDestination$) => {
@@ -41915,27 +42538,19 @@ var init_routecreateresponse = __esm(() => {
41915
42538
  });
41916
42539
 
41917
42540
  // src/models/routegetresponse.ts
41918
- var RouteGetResponseType, RouteGetResponseType$inboundSchema, RouteGetResponseType$outboundSchema, RouteGetResponseType$, RouteGetResponseDestination$inboundSchema, RouteGetResponseDestination$outboundSchema, RouteGetResponseDestination$, RouteGetResponseLinks$inboundSchema, RouteGetResponseLinks$outboundSchema, RouteGetResponseLinks$, RouteGetResponse$inboundSchema, RouteGetResponse$outboundSchema, RouteGetResponse$;
42541
+ var RouteGetResponseDestination$inboundSchema, RouteGetResponseDestination$outboundSchema, RouteGetResponseDestination$, RouteGetResponseLinks$inboundSchema, RouteGetResponseLinks$outboundSchema, RouteGetResponseLinks$, RouteGetResponse$inboundSchema, RouteGetResponse$outboundSchema, RouteGetResponse$;
41919
42542
  var init_routegetresponse = __esm(() => {
41920
42543
  init_esm();
41921
42544
  init_primitives();
41922
42545
  init_amount();
42546
+ init_routedestinationtyperesponse();
41923
42547
  init_url2();
41924
- RouteGetResponseType = {
41925
- Organization: "organization"
41926
- };
41927
- RouteGetResponseType$inboundSchema = nativeEnumType(RouteGetResponseType);
41928
- RouteGetResponseType$outboundSchema = RouteGetResponseType$inboundSchema;
41929
- ((RouteGetResponseType$) => {
41930
- RouteGetResponseType$.inboundSchema = RouteGetResponseType$inboundSchema;
41931
- RouteGetResponseType$.outboundSchema = RouteGetResponseType$outboundSchema;
41932
- })(RouteGetResponseType$ ||= {});
41933
42548
  RouteGetResponseDestination$inboundSchema = objectType({
41934
- type: RouteGetResponseType$inboundSchema,
42549
+ type: RouteDestinationTypeResponse$inboundSchema,
41935
42550
  organizationId: stringType()
41936
42551
  });
41937
42552
  RouteGetResponseDestination$outboundSchema = objectType({
41938
- type: RouteGetResponseType$outboundSchema,
42553
+ type: RouteDestinationTypeResponse$outboundSchema,
41939
42554
  organizationId: stringType()
41940
42555
  });
41941
42556
  ((RouteGetResponseDestination$) => {
@@ -42006,23 +42621,79 @@ var init_security2 = __esm(() => {
42006
42621
  })(Security$ ||= {});
42007
42622
  });
42008
42623
 
42009
- // src/models/subscriptionrequest.ts
42010
- var SubscriptionRequestMethod, SubscriptionRequestMethod$inboundSchema, SubscriptionRequestMethod$outboundSchema, SubscriptionRequestMethod$, SubscriptionRequestApplicationFee$inboundSchema, SubscriptionRequestApplicationFee$outboundSchema, SubscriptionRequestApplicationFee$, SubscriptionRequest$inboundSchema, SubscriptionRequest$outboundSchema, SubscriptionRequest$;
42011
- var init_subscriptionrequest = __esm(() => {
42624
+ // src/models/subscriptionmethod.ts
42625
+ var SubscriptionMethod, SubscriptionMethod$inboundSchema, SubscriptionMethod$outboundSchema, SubscriptionMethod$;
42626
+ var init_subscriptionmethod = __esm(() => {
42012
42627
  init_esm();
42013
- init_amount();
42014
- init_metadata();
42015
- SubscriptionRequestMethod = {
42628
+ SubscriptionMethod = {
42629
+ Creditcard: "creditcard",
42630
+ Directdebit: "directdebit",
42631
+ Paypal: "paypal"
42632
+ };
42633
+ SubscriptionMethod$inboundSchema = nativeEnumType(SubscriptionMethod);
42634
+ SubscriptionMethod$outboundSchema = SubscriptionMethod$inboundSchema;
42635
+ ((SubscriptionMethod$) => {
42636
+ SubscriptionMethod$.inboundSchema = SubscriptionMethod$inboundSchema;
42637
+ SubscriptionMethod$.outboundSchema = SubscriptionMethod$outboundSchema;
42638
+ })(SubscriptionMethod$ ||= {});
42639
+ });
42640
+
42641
+ // src/models/subscriptionmethodresponse.ts
42642
+ var SubscriptionMethodResponse, SubscriptionMethodResponse$inboundSchema, SubscriptionMethodResponse$outboundSchema, SubscriptionMethodResponse$;
42643
+ var init_subscriptionmethodresponse = __esm(() => {
42644
+ init_esm();
42645
+ SubscriptionMethodResponse = {
42016
42646
  Creditcard: "creditcard",
42017
42647
  Directdebit: "directdebit",
42018
42648
  Paypal: "paypal"
42019
42649
  };
42020
- SubscriptionRequestMethod$inboundSchema = nativeEnumType(SubscriptionRequestMethod);
42021
- SubscriptionRequestMethod$outboundSchema = SubscriptionRequestMethod$inboundSchema;
42022
- ((SubscriptionRequestMethod$) => {
42023
- SubscriptionRequestMethod$.inboundSchema = SubscriptionRequestMethod$inboundSchema;
42024
- SubscriptionRequestMethod$.outboundSchema = SubscriptionRequestMethod$outboundSchema;
42025
- })(SubscriptionRequestMethod$ ||= {});
42650
+ SubscriptionMethodResponse$inboundSchema = unionType([
42651
+ nativeEnumType(SubscriptionMethodResponse),
42652
+ stringType().transform(catchUnrecognizedEnum)
42653
+ ]);
42654
+ SubscriptionMethodResponse$outboundSchema = unionType([
42655
+ nativeEnumType(SubscriptionMethodResponse),
42656
+ stringType().and(custom())
42657
+ ]);
42658
+ ((SubscriptionMethodResponse$) => {
42659
+ SubscriptionMethodResponse$.inboundSchema = SubscriptionMethodResponse$inboundSchema;
42660
+ SubscriptionMethodResponse$.outboundSchema = SubscriptionMethodResponse$outboundSchema;
42661
+ })(SubscriptionMethodResponse$ ||= {});
42662
+ });
42663
+
42664
+ // src/models/subscriptionstatus.ts
42665
+ var SubscriptionStatus, SubscriptionStatus$inboundSchema, SubscriptionStatus$outboundSchema, SubscriptionStatus$;
42666
+ var init_subscriptionstatus = __esm(() => {
42667
+ init_esm();
42668
+ SubscriptionStatus = {
42669
+ Pending: "pending",
42670
+ Active: "active",
42671
+ Canceled: "canceled",
42672
+ Suspended: "suspended",
42673
+ Completed: "completed"
42674
+ };
42675
+ SubscriptionStatus$inboundSchema = unionType([
42676
+ nativeEnumType(SubscriptionStatus),
42677
+ stringType().transform(catchUnrecognizedEnum)
42678
+ ]);
42679
+ SubscriptionStatus$outboundSchema = unionType([
42680
+ nativeEnumType(SubscriptionStatus),
42681
+ stringType().and(custom())
42682
+ ]);
42683
+ ((SubscriptionStatus$) => {
42684
+ SubscriptionStatus$.inboundSchema = SubscriptionStatus$inboundSchema;
42685
+ SubscriptionStatus$.outboundSchema = SubscriptionStatus$outboundSchema;
42686
+ })(SubscriptionStatus$ ||= {});
42687
+ });
42688
+
42689
+ // src/models/subscriptionrequest.ts
42690
+ var SubscriptionRequestApplicationFee$inboundSchema, SubscriptionRequestApplicationFee$outboundSchema, SubscriptionRequestApplicationFee$, SubscriptionRequest$inboundSchema, SubscriptionRequest$outboundSchema, SubscriptionRequest$;
42691
+ var init_subscriptionrequest = __esm(() => {
42692
+ init_esm();
42693
+ init_amount();
42694
+ init_metadata();
42695
+ init_subscriptionmethod();
42696
+ init_subscriptionstatus();
42026
42697
  SubscriptionRequestApplicationFee$inboundSchema = objectType({
42027
42698
  amount: Amount$inboundSchema,
42028
42699
  description: stringType()
@@ -42037,12 +42708,13 @@ var init_subscriptionrequest = __esm(() => {
42037
42708
  })(SubscriptionRequestApplicationFee$ ||= {});
42038
42709
  SubscriptionRequest$inboundSchema = objectType({
42039
42710
  id: stringType().optional(),
42711
+ status: SubscriptionStatus$inboundSchema.optional(),
42040
42712
  amount: Amount$inboundSchema.optional(),
42041
42713
  times: nullableType(numberType().int()).optional(),
42042
42714
  interval: stringType().optional(),
42043
42715
  startDate: stringType().optional(),
42044
42716
  description: stringType().optional(),
42045
- method: nullableType(SubscriptionRequestMethod$inboundSchema).optional(),
42717
+ method: nullableType(SubscriptionMethod$inboundSchema).optional(),
42046
42718
  applicationFee: lazyType(() => SubscriptionRequestApplicationFee$inboundSchema).optional(),
42047
42719
  metadata: nullableType(Metadata$inboundSchema).optional(),
42048
42720
  webhookUrl: stringType().optional(),
@@ -42052,12 +42724,13 @@ var init_subscriptionrequest = __esm(() => {
42052
42724
  });
42053
42725
  SubscriptionRequest$outboundSchema = objectType({
42054
42726
  id: stringType().optional(),
42727
+ status: SubscriptionStatus$outboundSchema.optional(),
42055
42728
  amount: Amount$outboundSchema.optional(),
42056
42729
  times: nullableType(numberType().int()).optional(),
42057
42730
  interval: stringType().optional(),
42058
42731
  startDate: stringType().optional(),
42059
42732
  description: stringType().optional(),
42060
- method: nullableType(SubscriptionRequestMethod$outboundSchema).optional(),
42733
+ method: nullableType(SubscriptionMethod$outboundSchema).optional(),
42061
42734
  applicationFee: lazyType(() => SubscriptionRequestApplicationFee$outboundSchema).optional(),
42062
42735
  metadata: nullableType(Metadata$outboundSchema).optional(),
42063
42736
  webhookUrl: stringType().optional(),
@@ -42072,39 +42745,17 @@ var init_subscriptionrequest = __esm(() => {
42072
42745
  });
42073
42746
 
42074
42747
  // src/models/subscriptionresponse.ts
42075
- var SubscriptionResponseStatus, SubscriptionResponseMethod, SubscriptionResponseStatus$inboundSchema, SubscriptionResponseStatus$outboundSchema, SubscriptionResponseStatus$, SubscriptionResponseMethod$inboundSchema, SubscriptionResponseMethod$outboundSchema, SubscriptionResponseMethod$, SubscriptionResponseApplicationFee$inboundSchema, SubscriptionResponseApplicationFee$outboundSchema, SubscriptionResponseApplicationFee$, SubscriptionResponseLinks$inboundSchema, SubscriptionResponseLinks$outboundSchema, SubscriptionResponseLinks$, SubscriptionResponse$inboundSchema, SubscriptionResponse$outboundSchema, SubscriptionResponse$;
42748
+ var SubscriptionResponseApplicationFee$inboundSchema, SubscriptionResponseApplicationFee$outboundSchema, SubscriptionResponseApplicationFee$, SubscriptionResponseLinks$inboundSchema, SubscriptionResponseLinks$outboundSchema, SubscriptionResponseLinks$, SubscriptionResponse$inboundSchema, SubscriptionResponse$outboundSchema, SubscriptionResponse$;
42076
42749
  var init_subscriptionresponse = __esm(() => {
42077
42750
  init_esm();
42078
42751
  init_primitives();
42079
42752
  init_amount();
42080
42753
  init_metadata();
42081
42754
  init_mode();
42755
+ init_subscriptionmethodresponse();
42756
+ init_subscriptionstatus();
42082
42757
  init_url2();
42083
42758
  init_urlnullable();
42084
- SubscriptionResponseStatus = {
42085
- Pending: "pending",
42086
- Active: "active",
42087
- Canceled: "canceled",
42088
- Suspended: "suspended",
42089
- Completed: "completed"
42090
- };
42091
- SubscriptionResponseMethod = {
42092
- Creditcard: "creditcard",
42093
- Directdebit: "directdebit",
42094
- Paypal: "paypal"
42095
- };
42096
- SubscriptionResponseStatus$inboundSchema = nativeEnumType(SubscriptionResponseStatus);
42097
- SubscriptionResponseStatus$outboundSchema = SubscriptionResponseStatus$inboundSchema;
42098
- ((SubscriptionResponseStatus$) => {
42099
- SubscriptionResponseStatus$.inboundSchema = SubscriptionResponseStatus$inboundSchema;
42100
- SubscriptionResponseStatus$.outboundSchema = SubscriptionResponseStatus$outboundSchema;
42101
- })(SubscriptionResponseStatus$ ||= {});
42102
- SubscriptionResponseMethod$inboundSchema = nativeEnumType(SubscriptionResponseMethod);
42103
- SubscriptionResponseMethod$outboundSchema = SubscriptionResponseMethod$inboundSchema;
42104
- ((SubscriptionResponseMethod$) => {
42105
- SubscriptionResponseMethod$.inboundSchema = SubscriptionResponseMethod$inboundSchema;
42106
- SubscriptionResponseMethod$.outboundSchema = SubscriptionResponseMethod$outboundSchema;
42107
- })(SubscriptionResponseMethod$ ||= {});
42108
42759
  SubscriptionResponseApplicationFee$inboundSchema = objectType({
42109
42760
  amount: Amount$inboundSchema,
42110
42761
  description: stringType()
@@ -42141,7 +42792,7 @@ var init_subscriptionresponse = __esm(() => {
42141
42792
  resource: stringType().optional(),
42142
42793
  id: stringType().optional(),
42143
42794
  mode: Mode$inboundSchema.optional(),
42144
- status: SubscriptionResponseStatus$inboundSchema.optional(),
42795
+ status: SubscriptionStatus$inboundSchema.optional(),
42145
42796
  amount: Amount$inboundSchema.optional(),
42146
42797
  times: nullableType(numberType().int()).optional(),
42147
42798
  timesRemaining: nullableType(numberType().int()).optional(),
@@ -42149,7 +42800,7 @@ var init_subscriptionresponse = __esm(() => {
42149
42800
  startDate: stringType().optional(),
42150
42801
  nextPaymentDate: nullableType(stringType()).optional(),
42151
42802
  description: stringType().optional(),
42152
- method: nullableType(SubscriptionResponseMethod$inboundSchema).optional(),
42803
+ method: nullableType(SubscriptionMethodResponse$inboundSchema).optional(),
42153
42804
  applicationFee: lazyType(() => SubscriptionResponseApplicationFee$inboundSchema).optional(),
42154
42805
  metadata: nullableType(Metadata$inboundSchema).optional(),
42155
42806
  webhookUrl: stringType().optional(),
@@ -42167,7 +42818,7 @@ var init_subscriptionresponse = __esm(() => {
42167
42818
  resource: stringType().optional(),
42168
42819
  id: stringType().optional(),
42169
42820
  mode: Mode$outboundSchema.optional(),
42170
- status: SubscriptionResponseStatus$outboundSchema.optional(),
42821
+ status: SubscriptionStatus$outboundSchema.optional(),
42171
42822
  amount: Amount$outboundSchema.optional(),
42172
42823
  times: nullableType(numberType().int()).optional(),
42173
42824
  timesRemaining: nullableType(numberType().int()).optional(),
@@ -42175,7 +42826,7 @@ var init_subscriptionresponse = __esm(() => {
42175
42826
  startDate: stringType().optional(),
42176
42827
  nextPaymentDate: nullableType(stringType()).optional(),
42177
42828
  description: stringType().optional(),
42178
- method: nullableType(SubscriptionResponseMethod$outboundSchema).optional(),
42829
+ method: nullableType(SubscriptionMethodResponse$outboundSchema).optional(),
42179
42830
  applicationFee: lazyType(() => SubscriptionResponseApplicationFee$outboundSchema).optional(),
42180
42831
  metadata: nullableType(Metadata$outboundSchema).optional(),
42181
42832
  webhookUrl: stringType().optional(),
@@ -42196,45 +42847,21 @@ var init_subscriptionresponse = __esm(() => {
42196
42847
  });
42197
42848
 
42198
42849
  // src/models/updatevaluessalesinvoice.ts
42199
- var UpdateValuesSalesInvoiceStatus, UpdateValuesSalesInvoicePaymentTerm, UpdateValuesSalesInvoiceStatus$inboundSchema, UpdateValuesSalesInvoiceStatus$outboundSchema, UpdateValuesSalesInvoiceStatus$, UpdateValuesSalesInvoicePaymentTerm$inboundSchema, UpdateValuesSalesInvoicePaymentTerm$outboundSchema, UpdateValuesSalesInvoicePaymentTerm$, UpdateValuesSalesInvoice$inboundSchema, UpdateValuesSalesInvoice$outboundSchema, UpdateValuesSalesInvoice$;
42850
+ var UpdateValuesSalesInvoice$inboundSchema, UpdateValuesSalesInvoice$outboundSchema, UpdateValuesSalesInvoice$;
42200
42851
  var init_updatevaluessalesinvoice = __esm(() => {
42201
42852
  init_esm();
42202
42853
  init_salesinvoicediscount();
42203
42854
  init_salesinvoiceemaildetails();
42204
42855
  init_salesinvoicelineitem();
42205
42856
  init_salesinvoicepaymentdetails();
42857
+ init_salesinvoicepaymentterm();
42206
42858
  init_salesinvoicerecipient();
42207
- UpdateValuesSalesInvoiceStatus = {
42208
- Draft: "draft",
42209
- Issued: "issued",
42210
- Paid: "paid"
42211
- };
42212
- UpdateValuesSalesInvoicePaymentTerm = {
42213
- Sevendays: "7 days",
42214
- Fourteendays: "14 days",
42215
- Thirtydays: "30 days",
42216
- FortyFivedays: "45 days",
42217
- Sixtydays: "60 days",
42218
- Ninetydays: "90 days",
42219
- OneHundredAndTwentydays: "120 days"
42220
- };
42221
- UpdateValuesSalesInvoiceStatus$inboundSchema = nativeEnumType(UpdateValuesSalesInvoiceStatus);
42222
- UpdateValuesSalesInvoiceStatus$outboundSchema = UpdateValuesSalesInvoiceStatus$inboundSchema;
42223
- ((UpdateValuesSalesInvoiceStatus$) => {
42224
- UpdateValuesSalesInvoiceStatus$.inboundSchema = UpdateValuesSalesInvoiceStatus$inboundSchema;
42225
- UpdateValuesSalesInvoiceStatus$.outboundSchema = UpdateValuesSalesInvoiceStatus$outboundSchema;
42226
- })(UpdateValuesSalesInvoiceStatus$ ||= {});
42227
- UpdateValuesSalesInvoicePaymentTerm$inboundSchema = nativeEnumType(UpdateValuesSalesInvoicePaymentTerm);
42228
- UpdateValuesSalesInvoicePaymentTerm$outboundSchema = UpdateValuesSalesInvoicePaymentTerm$inboundSchema;
42229
- ((UpdateValuesSalesInvoicePaymentTerm$) => {
42230
- UpdateValuesSalesInvoicePaymentTerm$.inboundSchema = UpdateValuesSalesInvoicePaymentTerm$inboundSchema;
42231
- UpdateValuesSalesInvoicePaymentTerm$.outboundSchema = UpdateValuesSalesInvoicePaymentTerm$outboundSchema;
42232
- })(UpdateValuesSalesInvoicePaymentTerm$ ||= {});
42859
+ init_salesinvoicestatus();
42233
42860
  UpdateValuesSalesInvoice$inboundSchema = objectType({
42234
42861
  testmode: nullableType(booleanType()).optional(),
42235
- status: UpdateValuesSalesInvoiceStatus$inboundSchema.optional(),
42862
+ status: SalesInvoiceStatus$inboundSchema.optional(),
42236
42863
  memo: nullableType(stringType()).optional(),
42237
- paymentTerm: nullableType(UpdateValuesSalesInvoicePaymentTerm$inboundSchema).optional(),
42864
+ paymentTerm: nullableType(SalesInvoicePaymentTerm$inboundSchema).optional(),
42238
42865
  paymentDetails: nullableType(SalesInvoicePaymentDetails$inboundSchema).optional(),
42239
42866
  emailDetails: nullableType(SalesInvoiceEmailDetails$inboundSchema).optional(),
42240
42867
  recipientIdentifier: stringType().optional(),
@@ -42244,9 +42871,9 @@ var init_updatevaluessalesinvoice = __esm(() => {
42244
42871
  });
42245
42872
  UpdateValuesSalesInvoice$outboundSchema = objectType({
42246
42873
  testmode: nullableType(booleanType()).optional(),
42247
- status: UpdateValuesSalesInvoiceStatus$outboundSchema.optional(),
42874
+ status: SalesInvoiceStatus$outboundSchema.optional(),
42248
42875
  memo: nullableType(stringType()).optional(),
42249
- paymentTerm: nullableType(UpdateValuesSalesInvoicePaymentTerm$outboundSchema).optional(),
42876
+ paymentTerm: nullableType(SalesInvoicePaymentTerm$outboundSchema).optional(),
42250
42877
  paymentDetails: nullableType(SalesInvoicePaymentDetails$outboundSchema).optional(),
42251
42878
  emailDetails: nullableType(SalesInvoiceEmailDetails$outboundSchema).optional(),
42252
42879
  recipientIdentifier: stringType().optional(),
@@ -42265,9 +42892,18 @@ var init_models = __esm(() => {
42265
42892
  init_address();
42266
42893
  init_amount();
42267
42894
  init_amountnullable();
42895
+ init_balancereportgrouping();
42896
+ init_balancestatus();
42897
+ init_balancetransactiontype();
42898
+ init_balancetransferdestinationtype();
42899
+ init_balancetransferfrequency();
42900
+ init_capabilityrequirementstatus();
42901
+ init_capabilitystatus();
42902
+ init_capabilitystatusreason();
42268
42903
  init_capturemode();
42269
42904
  init_capturemoderesponse();
42270
42905
  init_captureresponse();
42906
+ init_capturestatus();
42271
42907
  init_componentssubtotals();
42272
42908
  init_createwebhook();
42273
42909
  init_currencies();
@@ -42304,52 +42940,104 @@ var init_models = __esm(() => {
42304
42940
  init_entitywebhook();
42305
42941
  init_entitywebhookevent();
42306
42942
  init_errorresponse();
42943
+ init_invoicestatus();
42307
42944
  init_listlinks();
42308
42945
  init_listsort();
42309
42946
  init_locale();
42310
42947
  init_localeparameter();
42311
42948
  init_localeresponse();
42949
+ init_mandatedetailscardlabelresponse();
42950
+ init_mandatemethod();
42951
+ init_mandatemethodresponse();
42312
42952
  init_mandateresponse();
42953
+ init_mandatestatus();
42313
42954
  init_metadata();
42314
42955
  init_method();
42315
42956
  init_methodresponse();
42957
+ init_methodstatus();
42316
42958
  init_mode();
42959
+ init_onboardingstatus();
42317
42960
  init_orderlinecategories();
42961
+ init_organizationvatregulation();
42318
42962
  init_paymentaddress();
42963
+ init_paymentdetailscardauditionresponse();
42964
+ init_paymentdetailscardfundingresponse();
42965
+ init_paymentdetailscardlabelresponse();
42966
+ init_paymentdetailscardsecurityresponse();
42967
+ init_paymentdetailsfailurereasonresponse();
42968
+ init_paymentdetailsfeeregionresponse();
42969
+ init_paymentdetailsreceiptcardreadmethodresponse();
42970
+ init_paymentdetailsreceiptcardverificationmethodresponse();
42971
+ init_paymentdetailssellerprotectionresponse();
42972
+ init_paymentdetailswalletresponse();
42319
42973
  init_paymentlineitem();
42320
42974
  init_paymentlineitemresponse();
42975
+ init_paymentlinetype();
42976
+ init_paymentlinetyperesponse();
42321
42977
  init_paymentlinkresponse();
42322
42978
  init_paymentlinksequencetype();
42323
42979
  init_paymentlinksequencetyperesponse();
42324
42980
  init_paymentmethod();
42325
42981
  init_paymentrequest();
42326
42982
  init_paymentresponse();
42983
+ init_paymentstatus();
42984
+ init_profilereviewstatusresponse();
42985
+ init_profilestatus();
42327
42986
  init_recurringlineitem();
42987
+ init_refundexternalreferencetype();
42988
+ init_refundexternalreferencetyperesponse();
42989
+ init_refundroutingreversalssourcetype();
42990
+ init_refundstatus();
42328
42991
  init_routecreaterequest();
42329
42992
  init_routecreateresponse();
42993
+ init_routedestinationtype();
42994
+ init_routedestinationtyperesponse();
42330
42995
  init_routegetresponse();
42331
42996
  init_salesinvoicediscount();
42332
42997
  init_salesinvoicediscountresponse();
42998
+ init_salesinvoicediscounttype();
42999
+ init_salesinvoicediscounttyperesponse();
42333
43000
  init_salesinvoiceemaildetails();
42334
43001
  init_salesinvoicelineitem();
42335
43002
  init_salesinvoicelineitemresponse();
42336
43003
  init_salesinvoicepaymentdetails();
42337
43004
  init_salesinvoicepaymentdetailsresponse();
43005
+ init_salesinvoicepaymentdetailssource();
43006
+ init_salesinvoicepaymentdetailssourceresponse();
43007
+ init_salesinvoicepaymentterm();
43008
+ init_salesinvoicepaymenttermresponse();
42338
43009
  init_salesinvoicerecipient();
43010
+ init_salesinvoicerecipientlocale();
43011
+ init_salesinvoicerecipientlocaleresponse();
42339
43012
  init_salesinvoicerecipientresponse();
43013
+ init_salesinvoicerecipienttype();
43014
+ init_salesinvoicerecipienttyperesponse();
43015
+ init_salesinvoicestatus();
43016
+ init_salesinvoicestatusresponse();
43017
+ init_salesinvoicevatmode();
43018
+ init_salesinvoicevatmoderesponse();
43019
+ init_salesinvoicevatscheme();
43020
+ init_salesinvoicevatschemeresponse();
42340
43021
  init_security2();
42341
43022
  init_sequencetype();
42342
43023
  init_sequencetyperesponse();
43024
+ init_settlementstatus();
42343
43025
  init_statusreason();
42344
43026
  init_subgroup();
43027
+ init_subscriptionmethod();
43028
+ init_subscriptionmethodresponse();
42345
43029
  init_subscriptionrequest();
42346
43030
  init_subscriptionresponse();
43031
+ init_subscriptionstatus();
42347
43032
  init_subtotals();
43033
+ init_terminalbrand();
42348
43034
  init_terminalmodel();
43035
+ init_terminalstatus();
42349
43036
  init_updatevaluessalesinvoice();
42350
43037
  init_url2();
42351
43038
  init_urlnullable();
42352
43039
  init_webhookeventtypes();
43040
+ init_webhookstatus();
42353
43041
  });
42354
43042
 
42355
43043
  // src/models/errors/errorresponse.ts
@@ -42955,31 +43643,31 @@ var init_getbalance = __esm(() => {
42955
43643
  });
42956
43644
 
42957
43645
  // src/models/operations/getbalancereport.ts
42958
- var Grouping2, Grouping$inboundSchema2, Grouping$outboundSchema2, Grouping$2, GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
43646
+ var Grouping, Grouping$inboundSchema, Grouping$outboundSchema, Grouping$, GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
42959
43647
  var init_getbalancereport = __esm(() => {
42960
43648
  init_esm();
42961
- Grouping2 = {
43649
+ Grouping = {
42962
43650
  StatusBalances: "status-balances",
42963
43651
  TransactionCategories: "transaction-categories"
42964
43652
  };
42965
- Grouping$inboundSchema2 = nativeEnumType(Grouping2);
42966
- Grouping$outboundSchema2 = Grouping$inboundSchema2;
43653
+ Grouping$inboundSchema = nativeEnumType(Grouping);
43654
+ Grouping$outboundSchema = Grouping$inboundSchema;
42967
43655
  ((Grouping$) => {
42968
- Grouping$.inboundSchema = Grouping$inboundSchema2;
42969
- Grouping$.outboundSchema = Grouping$outboundSchema2;
42970
- })(Grouping$2 ||= {});
43656
+ Grouping$.inboundSchema = Grouping$inboundSchema;
43657
+ Grouping$.outboundSchema = Grouping$outboundSchema;
43658
+ })(Grouping$ ||= {});
42971
43659
  GetBalanceReportRequest$inboundSchema = objectType({
42972
43660
  balanceId: stringType(),
42973
43661
  from: stringType(),
42974
43662
  until: stringType(),
42975
- grouping: nullableType(Grouping$inboundSchema2).optional(),
43663
+ grouping: nullableType(Grouping$inboundSchema).optional(),
42976
43664
  testmode: nullableType(booleanType()).optional()
42977
43665
  });
42978
43666
  GetBalanceReportRequest$outboundSchema = objectType({
42979
43667
  balanceId: stringType(),
42980
43668
  from: stringType(),
42981
43669
  until: stringType(),
42982
- grouping: nullableType(Grouping$outboundSchema2).optional(),
43670
+ grouping: nullableType(Grouping$outboundSchema).optional(),
42983
43671
  testmode: nullableType(booleanType()).optional()
42984
43672
  });
42985
43673
  ((GetBalanceReportRequest$) => {
@@ -43168,7 +43856,7 @@ var init_getcustomer = __esm(() => {
43168
43856
  mode: Mode$inboundSchema.optional(),
43169
43857
  name: nullableType(stringType()).optional(),
43170
43858
  email: nullableType(stringType()).optional(),
43171
- locale: LocaleResponse$inboundSchema.optional(),
43859
+ locale: nullableType(LocaleResponse$inboundSchema).optional(),
43172
43860
  metadata: nullableType(Metadata$inboundSchema).optional(),
43173
43861
  createdAt: stringType().optional(),
43174
43862
  _links: lazyType(() => GetCustomerLinks$inboundSchema).optional(),
@@ -43184,7 +43872,7 @@ var init_getcustomer = __esm(() => {
43184
43872
  mode: Mode$outboundSchema.optional(),
43185
43873
  name: nullableType(stringType()).optional(),
43186
43874
  email: nullableType(stringType()).optional(),
43187
- locale: LocaleResponse$outboundSchema.optional(),
43875
+ locale: nullableType(LocaleResponse$outboundSchema).optional(),
43188
43876
  metadata: nullableType(Metadata$outboundSchema).optional(),
43189
43877
  createdAt: stringType().optional(),
43190
43878
  links: lazyType(() => GetCustomerLinks$outboundSchema).optional(),
@@ -45762,34 +46450,34 @@ var init_revokemandate = __esm(() => {
45762
46450
  });
45763
46451
 
45764
46452
  // src/models/operations/submitonboardingdata.ts
45765
- var VatRegulation2, VatRegulation$inboundSchema2, VatRegulation$outboundSchema2, VatRegulation$2, Organization$inboundSchema, Organization$outboundSchema, Organization$, Profile$inboundSchema, Profile$outboundSchema, Profile$, SubmitOnboardingDataRequest$inboundSchema, SubmitOnboardingDataRequest$outboundSchema, SubmitOnboardingDataRequest$;
46453
+ var VatRegulation, VatRegulation$inboundSchema, VatRegulation$outboundSchema, VatRegulation$, Organization$inboundSchema, Organization$outboundSchema, Organization$, Profile$inboundSchema, Profile$outboundSchema, Profile$, SubmitOnboardingDataRequest$inboundSchema, SubmitOnboardingDataRequest$outboundSchema, SubmitOnboardingDataRequest$;
45766
46454
  var init_submitonboardingdata = __esm(() => {
45767
46455
  init_esm();
45768
46456
  init_models();
45769
- VatRegulation2 = {
46457
+ VatRegulation = {
45770
46458
  Dutch: "dutch",
45771
46459
  British: "british",
45772
46460
  Shifted: "shifted"
45773
46461
  };
45774
- VatRegulation$inboundSchema2 = nativeEnumType(VatRegulation2);
45775
- VatRegulation$outboundSchema2 = VatRegulation$inboundSchema2;
46462
+ VatRegulation$inboundSchema = nativeEnumType(VatRegulation);
46463
+ VatRegulation$outboundSchema = VatRegulation$inboundSchema;
45776
46464
  ((VatRegulation$) => {
45777
- VatRegulation$.inboundSchema = VatRegulation$inboundSchema2;
45778
- VatRegulation$.outboundSchema = VatRegulation$outboundSchema2;
45779
- })(VatRegulation$2 ||= {});
46465
+ VatRegulation$.inboundSchema = VatRegulation$inboundSchema;
46466
+ VatRegulation$.outboundSchema = VatRegulation$outboundSchema;
46467
+ })(VatRegulation$ ||= {});
45780
46468
  Organization$inboundSchema = objectType({
45781
46469
  name: stringType().optional(),
45782
46470
  address: Address$inboundSchema.optional(),
45783
46471
  registrationNumber: stringType().optional(),
45784
46472
  vatNumber: nullableType(stringType()).optional(),
45785
- vatRegulation: nullableType(VatRegulation$inboundSchema2).optional()
46473
+ vatRegulation: nullableType(VatRegulation$inboundSchema).optional()
45786
46474
  });
45787
46475
  Organization$outboundSchema = objectType({
45788
46476
  name: stringType().optional(),
45789
46477
  address: Address$outboundSchema.optional(),
45790
46478
  registrationNumber: stringType().optional(),
45791
46479
  vatNumber: nullableType(stringType()).optional(),
45792
- vatRegulation: nullableType(VatRegulation$outboundSchema2).optional()
46480
+ vatRegulation: nullableType(VatRegulation$outboundSchema).optional()
45793
46481
  });
45794
46482
  ((Organization$) => {
45795
46483
  Organization$.inboundSchema = Organization$inboundSchema;
@@ -45907,7 +46595,7 @@ var init_updatepayment = __esm(() => {
45907
46595
  webhookUrl: nullableType(stringType()).optional(),
45908
46596
  metadata: nullableType(Metadata$inboundSchema).optional(),
45909
46597
  method: nullableType(Method$inboundSchema).optional(),
45910
- locale: Locale$inboundSchema.optional(),
46598
+ locale: nullableType(Locale$inboundSchema).optional(),
45911
46599
  dueDate: stringType().optional(),
45912
46600
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
45913
46601
  testmode: nullableType(booleanType()).optional(),
@@ -45923,7 +46611,7 @@ var init_updatepayment = __esm(() => {
45923
46611
  webhookUrl: nullableType(stringType()).optional(),
45924
46612
  metadata: nullableType(Metadata$outboundSchema).optional(),
45925
46613
  method: nullableType(Method$outboundSchema).optional(),
45926
- locale: Locale$outboundSchema.optional(),
46614
+ locale: nullableType(Locale$outboundSchema).optional(),
45927
46615
  dueDate: stringType().optional(),
45928
46616
  restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
45929
46617
  testmode: nullableType(booleanType()).optional(),
@@ -57900,7 +58588,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
57900
58588
  function createMCPServer(deps) {
57901
58589
  const server = new McpServer({
57902
58590
  name: "Client",
57903
- version: "0.2.0"
58591
+ version: "0.2.2"
57904
58592
  });
57905
58593
  const client = new ClientCore({
57906
58594
  security: deps.security,
@@ -59289,7 +59977,7 @@ var routes = an({
59289
59977
  var app = He(routes, {
59290
59978
  name: "mcp",
59291
59979
  versionInfo: {
59292
- currentVersion: "0.2.0"
59980
+ currentVersion: "0.2.2"
59293
59981
  }
59294
59982
  });
59295
59983
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -59297,5 +59985,5 @@ export {
59297
59985
  app
59298
59986
  };
59299
59987
 
59300
- //# debugId=93BBACF6BEAEA65764756E2164756E21
59988
+ //# debugId=6131271A96E7ABDA64756E2164756E21
59301
59989
  //# sourceMappingURL=mcp-server.js.map