mollie-api-typescript 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (495) hide show
  1. package/bin/mcp-server.js +2840 -1135
  2. package/bin/mcp-server.js.map +84 -69
  3. package/dist/commonjs/lib/config.d.ts +2 -2
  4. package/dist/commonjs/lib/config.js +2 -2
  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/entitybalance.d.ts +42 -42
  8. package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
  9. package/dist/commonjs/models/entitybalance.js +53 -51
  10. package/dist/commonjs/models/entitybalance.js.map +1 -1
  11. package/dist/commonjs/models/entitychargeback.d.ts +8 -8
  12. package/dist/commonjs/models/entitychargeback.d.ts.map +1 -1
  13. package/dist/commonjs/models/entitychargeback.js +13 -12
  14. package/dist/commonjs/models/entitychargeback.js.map +1 -1
  15. package/dist/commonjs/models/entityinvoice.d.ts +24 -24
  16. package/dist/commonjs/models/entityinvoice.d.ts.map +1 -1
  17. package/dist/commonjs/models/entityinvoice.js +31 -31
  18. package/dist/commonjs/models/entityinvoice.js.map +1 -1
  19. package/dist/commonjs/models/entitysettlement.d.ts +32 -32
  20. package/dist/commonjs/models/entitysettlement.d.ts.map +1 -1
  21. package/dist/commonjs/models/entitysettlement.js +43 -43
  22. package/dist/commonjs/models/entitysettlement.js.map +1 -1
  23. package/dist/commonjs/models/index.d.ts +17 -2
  24. package/dist/commonjs/models/index.d.ts.map +1 -1
  25. package/dist/commonjs/models/index.js +17 -2
  26. package/dist/commonjs/models/index.js.map +1 -1
  27. package/dist/commonjs/models/listcustomerresponse.d.ts +107 -0
  28. package/dist/commonjs/models/listcustomerresponse.d.ts.map +1 -0
  29. package/dist/commonjs/models/listcustomerresponse.js +112 -0
  30. package/dist/commonjs/models/listcustomerresponse.js.map +1 -0
  31. package/dist/commonjs/models/listentitybalance.d.ts +300 -0
  32. package/dist/commonjs/models/listentitybalance.d.ts.map +1 -0
  33. package/dist/commonjs/models/listentitybalance.js +245 -0
  34. package/dist/commonjs/models/listentitybalance.js.map +1 -0
  35. package/dist/commonjs/models/listentitychargeback.d.ts +175 -0
  36. package/dist/commonjs/models/listentitychargeback.d.ts.map +1 -0
  37. package/dist/commonjs/models/listentitychargeback.js +146 -0
  38. package/dist/commonjs/models/listentitychargeback.js.map +1 -0
  39. package/dist/commonjs/models/listentityinvoice.d.ts +236 -0
  40. package/dist/commonjs/models/listentityinvoice.d.ts.map +1 -0
  41. package/dist/commonjs/models/listentityinvoice.js +202 -0
  42. package/dist/commonjs/models/listentityinvoice.js.map +1 -0
  43. package/dist/commonjs/models/listentitymethod.d.ts +319 -0
  44. package/dist/commonjs/models/listentitymethod.d.ts.map +1 -0
  45. package/dist/commonjs/models/listentitymethod.js +264 -0
  46. package/dist/commonjs/models/listentitymethod.js.map +1 -0
  47. package/dist/commonjs/models/{entitymethodall.d.ts → listentitymethodall.d.ts} +60 -65
  48. package/dist/commonjs/models/listentitymethodall.d.ts.map +1 -0
  49. package/dist/commonjs/models/listentitymethodall.js +289 -0
  50. package/dist/commonjs/models/listentitymethodall.js.map +1 -0
  51. package/dist/commonjs/models/listentitypermission.d.ts +63 -0
  52. package/dist/commonjs/models/listentitypermission.d.ts.map +1 -0
  53. package/dist/commonjs/models/listentitypermission.js +92 -0
  54. package/dist/commonjs/models/listentitypermission.js.map +1 -0
  55. package/dist/commonjs/models/listentityrefund.d.ts +256 -0
  56. package/dist/commonjs/models/listentityrefund.d.ts.map +1 -0
  57. package/dist/commonjs/models/listentityrefund.js +202 -0
  58. package/dist/commonjs/models/listentityrefund.js.map +1 -0
  59. package/dist/commonjs/models/listentitysettlement.d.ts +321 -0
  60. package/dist/commonjs/models/listentitysettlement.d.ts.map +1 -0
  61. package/dist/commonjs/models/listentitysettlement.js +248 -0
  62. package/dist/commonjs/models/listentitysettlement.js.map +1 -0
  63. package/dist/commonjs/models/listentityterminal.d.ts +130 -0
  64. package/dist/commonjs/models/listentityterminal.d.ts.map +1 -0
  65. package/dist/commonjs/models/listentityterminal.js +124 -0
  66. package/dist/commonjs/models/listentityterminal.js.map +1 -0
  67. package/dist/commonjs/models/listentitywebhook.d.ts +91 -0
  68. package/dist/commonjs/models/listentitywebhook.d.ts.map +1 -0
  69. package/dist/commonjs/models/listentitywebhook.js +105 -0
  70. package/dist/commonjs/models/listentitywebhook.js.map +1 -0
  71. package/dist/commonjs/models/listmandateresponse.d.ts +176 -0
  72. package/dist/commonjs/models/listmandateresponse.d.ts.map +1 -0
  73. package/dist/commonjs/models/listmandateresponse.js +157 -0
  74. package/dist/commonjs/models/listmandateresponse.js.map +1 -0
  75. package/dist/commonjs/models/listpaymentresponse.d.ts +1348 -0
  76. package/dist/commonjs/models/listpaymentresponse.d.ts.map +1 -0
  77. package/dist/commonjs/models/listpaymentresponse.js +620 -0
  78. package/dist/commonjs/models/listpaymentresponse.js.map +1 -0
  79. package/dist/commonjs/models/listprofileresponse.d.ts +202 -0
  80. package/dist/commonjs/models/listprofileresponse.d.ts.map +1 -0
  81. package/dist/commonjs/models/listprofileresponse.js +159 -0
  82. package/dist/commonjs/models/listprofileresponse.js.map +1 -0
  83. package/dist/commonjs/models/{routegetresponse.d.ts → listroutegetresponse.d.ts} +23 -28
  84. package/dist/commonjs/models/listroutegetresponse.d.ts.map +1 -0
  85. package/dist/commonjs/models/{routegetresponse.js → listroutegetresponse.js} +30 -32
  86. package/dist/commonjs/models/listroutegetresponse.js.map +1 -0
  87. package/dist/commonjs/models/listsalesinvoiceresponse.d.ts +375 -0
  88. package/dist/commonjs/models/listsalesinvoiceresponse.d.ts.map +1 -0
  89. package/dist/commonjs/models/listsalesinvoiceresponse.js +267 -0
  90. package/dist/commonjs/models/listsalesinvoiceresponse.js.map +1 -0
  91. package/dist/commonjs/models/listsubscriptionresponse.d.ts +249 -0
  92. package/dist/commonjs/models/listsubscriptionresponse.d.ts.map +1 -0
  93. package/dist/commonjs/models/listsubscriptionresponse.js +171 -0
  94. package/dist/commonjs/models/listsubscriptionresponse.js.map +1 -0
  95. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +2 -2
  96. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  97. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +2 -2
  98. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  99. package/dist/commonjs/models/operations/listallchargebacks.d.ts +2 -2
  100. package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
  101. package/dist/commonjs/models/operations/listallchargebacks.js +2 -2
  102. package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
  103. package/dist/commonjs/models/operations/listallmethods.d.ts +2 -2
  104. package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
  105. package/dist/commonjs/models/operations/listallmethods.js +2 -2
  106. package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
  107. package/dist/commonjs/models/operations/listallrefunds.d.ts +2 -2
  108. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  109. package/dist/commonjs/models/operations/listallrefunds.js +2 -2
  110. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  111. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +2 -2
  112. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  113. package/dist/commonjs/models/operations/listallsubscriptions.js +4 -2
  114. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  115. package/dist/commonjs/models/operations/listbalances.d.ts +2 -2
  116. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  117. package/dist/commonjs/models/operations/listbalances.js +2 -2
  118. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  119. package/dist/commonjs/models/operations/listchargebacks.d.ts +2 -2
  120. package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
  121. package/dist/commonjs/models/operations/listchargebacks.js +2 -2
  122. package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
  123. package/dist/commonjs/models/operations/listclients.d.ts +0 -5
  124. package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
  125. package/dist/commonjs/models/operations/listclients.js +0 -2
  126. package/dist/commonjs/models/operations/listclients.js.map +1 -1
  127. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +2 -2
  128. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  129. package/dist/commonjs/models/operations/listcustomerpayments.js +2 -2
  130. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  131. package/dist/commonjs/models/operations/listcustomers.d.ts +2 -2
  132. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  133. package/dist/commonjs/models/operations/listcustomers.js +2 -2
  134. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  135. package/dist/commonjs/models/operations/listinvoices.d.ts +2 -2
  136. package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
  137. package/dist/commonjs/models/operations/listinvoices.js +2 -2
  138. package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
  139. package/dist/commonjs/models/operations/listmandates.d.ts +2 -2
  140. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  141. package/dist/commonjs/models/operations/listmandates.js +2 -2
  142. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  143. package/dist/commonjs/models/operations/listmethods.d.ts +2 -2
  144. package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
  145. package/dist/commonjs/models/operations/listmethods.js +2 -2
  146. package/dist/commonjs/models/operations/listmethods.js.map +1 -1
  147. package/dist/commonjs/models/operations/listpayments.d.ts +2 -2
  148. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  149. package/dist/commonjs/models/operations/listpayments.js +2 -2
  150. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  151. package/dist/commonjs/models/operations/listpermissions.d.ts +2 -2
  152. package/dist/commonjs/models/operations/listpermissions.d.ts.map +1 -1
  153. package/dist/commonjs/models/operations/listpermissions.js +2 -2
  154. package/dist/commonjs/models/operations/listpermissions.js.map +1 -1
  155. package/dist/commonjs/models/operations/listprofiles.d.ts +2 -2
  156. package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
  157. package/dist/commonjs/models/operations/listprofiles.js +2 -2
  158. package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
  159. package/dist/commonjs/models/operations/listrefunds.d.ts +2 -2
  160. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  161. package/dist/commonjs/models/operations/listrefunds.js +2 -2
  162. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  163. package/dist/commonjs/models/operations/listsalesinvoices.d.ts +2 -2
  164. package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
  165. package/dist/commonjs/models/operations/listsalesinvoices.js +4 -2
  166. package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
  167. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +2 -2
  168. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  169. package/dist/commonjs/models/operations/listsettlementchargebacks.js +2 -2
  170. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  171. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +2 -2
  172. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  173. package/dist/commonjs/models/operations/listsettlementpayments.js +2 -2
  174. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  175. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +2 -2
  176. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  177. package/dist/commonjs/models/operations/listsettlementrefunds.js +2 -2
  178. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  179. package/dist/commonjs/models/operations/listsettlements.d.ts +2 -2
  180. package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
  181. package/dist/commonjs/models/operations/listsettlements.js +2 -2
  182. package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
  183. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +2 -2
  184. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  185. package/dist/commonjs/models/operations/listsubscriptionpayments.js +2 -2
  186. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  187. package/dist/commonjs/models/operations/listsubscriptions.d.ts +2 -2
  188. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  189. package/dist/commonjs/models/operations/listsubscriptions.js +4 -2
  190. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  191. package/dist/commonjs/models/operations/listterminals.d.ts +2 -2
  192. package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
  193. package/dist/commonjs/models/operations/listterminals.js +2 -2
  194. package/dist/commonjs/models/operations/listterminals.js.map +1 -1
  195. package/dist/commonjs/models/operations/listwebhooks.d.ts +2 -2
  196. package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
  197. package/dist/commonjs/models/operations/listwebhooks.js +2 -2
  198. package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
  199. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +2 -2
  200. package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
  201. package/dist/commonjs/models/operations/paymentlistroutes.js +2 -2
  202. package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
  203. package/dist/commonjs/models/paymentresponse.d.ts +48 -48
  204. package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
  205. package/dist/commonjs/models/paymentresponse.js +67 -62
  206. package/dist/commonjs/models/paymentresponse.js.map +1 -1
  207. package/dist/commonjs/models/profileresponse.d.ts +8 -8
  208. package/dist/commonjs/models/profileresponse.d.ts.map +1 -1
  209. package/dist/commonjs/models/profileresponse.js +11 -12
  210. package/dist/commonjs/models/profileresponse.js.map +1 -1
  211. package/dist/commonjs/models/salesinvoiceresponse.d.ts +40 -40
  212. package/dist/commonjs/models/salesinvoiceresponse.d.ts.map +1 -1
  213. package/dist/commonjs/models/salesinvoiceresponse.js +56 -51
  214. package/dist/commonjs/models/salesinvoiceresponse.js.map +1 -1
  215. package/dist/esm/lib/config.d.ts +2 -2
  216. package/dist/esm/lib/config.js +2 -2
  217. package/dist/esm/mcp-server/mcp-server.js +1 -1
  218. package/dist/esm/mcp-server/server.js +1 -1
  219. package/dist/esm/models/entitybalance.d.ts +42 -42
  220. package/dist/esm/models/entitybalance.d.ts.map +1 -1
  221. package/dist/esm/models/entitybalance.js +44 -42
  222. package/dist/esm/models/entitybalance.js.map +1 -1
  223. package/dist/esm/models/entitychargeback.d.ts +8 -8
  224. package/dist/esm/models/entitychargeback.d.ts.map +1 -1
  225. package/dist/esm/models/entitychargeback.js +10 -9
  226. package/dist/esm/models/entitychargeback.js.map +1 -1
  227. package/dist/esm/models/entityinvoice.d.ts +24 -24
  228. package/dist/esm/models/entityinvoice.d.ts.map +1 -1
  229. package/dist/esm/models/entityinvoice.js +24 -24
  230. package/dist/esm/models/entityinvoice.js.map +1 -1
  231. package/dist/esm/models/entitysettlement.d.ts +32 -32
  232. package/dist/esm/models/entitysettlement.d.ts.map +1 -1
  233. package/dist/esm/models/entitysettlement.js +34 -34
  234. package/dist/esm/models/entitysettlement.js.map +1 -1
  235. package/dist/esm/models/index.d.ts +17 -2
  236. package/dist/esm/models/index.d.ts.map +1 -1
  237. package/dist/esm/models/index.js +17 -2
  238. package/dist/esm/models/index.js.map +1 -1
  239. package/dist/esm/models/listcustomerresponse.d.ts +107 -0
  240. package/dist/esm/models/listcustomerresponse.d.ts.map +1 -0
  241. package/dist/esm/models/listcustomerresponse.js +72 -0
  242. package/dist/esm/models/listcustomerresponse.js.map +1 -0
  243. package/dist/esm/models/listentitybalance.d.ts +300 -0
  244. package/dist/esm/models/listentitybalance.d.ts.map +1 -0
  245. package/dist/esm/models/listentitybalance.js +197 -0
  246. package/dist/esm/models/listentitybalance.js.map +1 -0
  247. package/dist/esm/models/listentitychargeback.d.ts +175 -0
  248. package/dist/esm/models/listentitychargeback.d.ts.map +1 -0
  249. package/dist/esm/models/listentitychargeback.js +102 -0
  250. package/dist/esm/models/listentitychargeback.js.map +1 -0
  251. package/dist/esm/models/listentityinvoice.d.ts +236 -0
  252. package/dist/esm/models/listentityinvoice.d.ts.map +1 -0
  253. package/dist/esm/models/listentityinvoice.js +154 -0
  254. package/dist/esm/models/listentityinvoice.js.map +1 -0
  255. package/dist/esm/models/listentitymethod.d.ts +319 -0
  256. package/dist/esm/models/listentitymethod.d.ts.map +1 -0
  257. package/dist/esm/models/listentitymethod.js +214 -0
  258. package/dist/esm/models/listentitymethod.js.map +1 -0
  259. package/dist/esm/models/{entitymethodall.d.ts → listentitymethodall.d.ts} +60 -65
  260. package/dist/esm/models/listentitymethodall.d.ts.map +1 -0
  261. package/dist/esm/models/listentitymethodall.js +237 -0
  262. package/dist/esm/models/listentitymethodall.js.map +1 -0
  263. package/dist/esm/models/listentitypermission.d.ts +63 -0
  264. package/dist/esm/models/listentitypermission.d.ts.map +1 -0
  265. package/dist/esm/models/listentitypermission.js +52 -0
  266. package/dist/esm/models/listentitypermission.js.map +1 -0
  267. package/dist/esm/models/listentityrefund.d.ts +256 -0
  268. package/dist/esm/models/listentityrefund.d.ts.map +1 -0
  269. package/dist/esm/models/listentityrefund.js +154 -0
  270. package/dist/esm/models/listentityrefund.js.map +1 -0
  271. package/dist/esm/models/listentitysettlement.d.ts +321 -0
  272. package/dist/esm/models/listentitysettlement.d.ts.map +1 -0
  273. package/dist/esm/models/listentitysettlement.js +198 -0
  274. package/dist/esm/models/listentitysettlement.js.map +1 -0
  275. package/dist/esm/models/listentityterminal.d.ts +130 -0
  276. package/dist/esm/models/listentityterminal.d.ts.map +1 -0
  277. package/dist/esm/models/listentityterminal.js +84 -0
  278. package/dist/esm/models/listentityterminal.js.map +1 -0
  279. package/dist/esm/models/listentitywebhook.d.ts +91 -0
  280. package/dist/esm/models/listentitywebhook.d.ts.map +1 -0
  281. package/dist/esm/models/listentitywebhook.js +65 -0
  282. package/dist/esm/models/listentitywebhook.js.map +1 -0
  283. package/dist/esm/models/listmandateresponse.d.ts +176 -0
  284. package/dist/esm/models/listmandateresponse.d.ts.map +1 -0
  285. package/dist/esm/models/listmandateresponse.js +115 -0
  286. package/dist/esm/models/listmandateresponse.js.map +1 -0
  287. package/dist/esm/models/listpaymentresponse.d.ts +1348 -0
  288. package/dist/esm/models/listpaymentresponse.d.ts.map +1 -0
  289. package/dist/esm/models/listpaymentresponse.js +558 -0
  290. package/dist/esm/models/listpaymentresponse.js.map +1 -0
  291. package/dist/esm/models/listprofileresponse.d.ts +202 -0
  292. package/dist/esm/models/listprofileresponse.d.ts.map +1 -0
  293. package/dist/esm/models/listprofileresponse.js +117 -0
  294. package/dist/esm/models/listprofileresponse.js.map +1 -0
  295. package/dist/esm/models/{routegetresponse.d.ts → listroutegetresponse.d.ts} +23 -28
  296. package/dist/esm/models/listroutegetresponse.d.ts.map +1 -0
  297. package/dist/esm/models/listroutegetresponse.js +76 -0
  298. package/dist/esm/models/listroutegetresponse.js.map +1 -0
  299. package/dist/esm/models/listsalesinvoiceresponse.d.ts +375 -0
  300. package/dist/esm/models/listsalesinvoiceresponse.d.ts.map +1 -0
  301. package/dist/esm/models/listsalesinvoiceresponse.js +215 -0
  302. package/dist/esm/models/listsalesinvoiceresponse.js.map +1 -0
  303. package/dist/esm/models/listsubscriptionresponse.d.ts +249 -0
  304. package/dist/esm/models/listsubscriptionresponse.d.ts.map +1 -0
  305. package/dist/esm/models/listsubscriptionresponse.js +129 -0
  306. package/dist/esm/models/listsubscriptionresponse.js.map +1 -0
  307. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +2 -2
  308. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  309. package/dist/esm/models/operations/getpaymentlinkpayments.js +2 -2
  310. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  311. package/dist/esm/models/operations/listallchargebacks.d.ts +2 -2
  312. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  313. package/dist/esm/models/operations/listallchargebacks.js +2 -2
  314. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  315. package/dist/esm/models/operations/listallmethods.d.ts +2 -2
  316. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  317. package/dist/esm/models/operations/listallmethods.js +2 -2
  318. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  319. package/dist/esm/models/operations/listallrefunds.d.ts +2 -2
  320. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  321. package/dist/esm/models/operations/listallrefunds.js +2 -2
  322. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  323. package/dist/esm/models/operations/listallsubscriptions.d.ts +2 -2
  324. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  325. package/dist/esm/models/operations/listallsubscriptions.js +4 -2
  326. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  327. package/dist/esm/models/operations/listbalances.d.ts +2 -2
  328. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  329. package/dist/esm/models/operations/listbalances.js +2 -2
  330. package/dist/esm/models/operations/listbalances.js.map +1 -1
  331. package/dist/esm/models/operations/listchargebacks.d.ts +2 -2
  332. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  333. package/dist/esm/models/operations/listchargebacks.js +2 -2
  334. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  335. package/dist/esm/models/operations/listclients.d.ts +0 -5
  336. package/dist/esm/models/operations/listclients.d.ts.map +1 -1
  337. package/dist/esm/models/operations/listclients.js +0 -2
  338. package/dist/esm/models/operations/listclients.js.map +1 -1
  339. package/dist/esm/models/operations/listcustomerpayments.d.ts +2 -2
  340. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  341. package/dist/esm/models/operations/listcustomerpayments.js +2 -2
  342. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  343. package/dist/esm/models/operations/listcustomers.d.ts +2 -2
  344. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  345. package/dist/esm/models/operations/listcustomers.js +2 -2
  346. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  347. package/dist/esm/models/operations/listinvoices.d.ts +2 -2
  348. package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
  349. package/dist/esm/models/operations/listinvoices.js +2 -2
  350. package/dist/esm/models/operations/listinvoices.js.map +1 -1
  351. package/dist/esm/models/operations/listmandates.d.ts +2 -2
  352. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  353. package/dist/esm/models/operations/listmandates.js +2 -2
  354. package/dist/esm/models/operations/listmandates.js.map +1 -1
  355. package/dist/esm/models/operations/listmethods.d.ts +2 -2
  356. package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
  357. package/dist/esm/models/operations/listmethods.js +2 -2
  358. package/dist/esm/models/operations/listmethods.js.map +1 -1
  359. package/dist/esm/models/operations/listpayments.d.ts +2 -2
  360. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  361. package/dist/esm/models/operations/listpayments.js +2 -2
  362. package/dist/esm/models/operations/listpayments.js.map +1 -1
  363. package/dist/esm/models/operations/listpermissions.d.ts +2 -2
  364. package/dist/esm/models/operations/listpermissions.d.ts.map +1 -1
  365. package/dist/esm/models/operations/listpermissions.js +2 -2
  366. package/dist/esm/models/operations/listpermissions.js.map +1 -1
  367. package/dist/esm/models/operations/listprofiles.d.ts +2 -2
  368. package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
  369. package/dist/esm/models/operations/listprofiles.js +2 -2
  370. package/dist/esm/models/operations/listprofiles.js.map +1 -1
  371. package/dist/esm/models/operations/listrefunds.d.ts +2 -2
  372. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  373. package/dist/esm/models/operations/listrefunds.js +2 -2
  374. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  375. package/dist/esm/models/operations/listsalesinvoices.d.ts +2 -2
  376. package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
  377. package/dist/esm/models/operations/listsalesinvoices.js +4 -2
  378. package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
  379. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +2 -2
  380. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  381. package/dist/esm/models/operations/listsettlementchargebacks.js +2 -2
  382. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  383. package/dist/esm/models/operations/listsettlementpayments.d.ts +2 -2
  384. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  385. package/dist/esm/models/operations/listsettlementpayments.js +2 -2
  386. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  387. package/dist/esm/models/operations/listsettlementrefunds.d.ts +2 -2
  388. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  389. package/dist/esm/models/operations/listsettlementrefunds.js +2 -2
  390. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  391. package/dist/esm/models/operations/listsettlements.d.ts +2 -2
  392. package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
  393. package/dist/esm/models/operations/listsettlements.js +2 -2
  394. package/dist/esm/models/operations/listsettlements.js.map +1 -1
  395. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +2 -2
  396. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  397. package/dist/esm/models/operations/listsubscriptionpayments.js +2 -2
  398. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  399. package/dist/esm/models/operations/listsubscriptions.d.ts +2 -2
  400. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  401. package/dist/esm/models/operations/listsubscriptions.js +4 -2
  402. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  403. package/dist/esm/models/operations/listterminals.d.ts +2 -2
  404. package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
  405. package/dist/esm/models/operations/listterminals.js +2 -2
  406. package/dist/esm/models/operations/listterminals.js.map +1 -1
  407. package/dist/esm/models/operations/listwebhooks.d.ts +2 -2
  408. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  409. package/dist/esm/models/operations/listwebhooks.js +2 -2
  410. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  411. package/dist/esm/models/operations/paymentlistroutes.d.ts +2 -2
  412. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  413. package/dist/esm/models/operations/paymentlistroutes.js +2 -2
  414. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  415. package/dist/esm/models/paymentresponse.d.ts +48 -48
  416. package/dist/esm/models/paymentresponse.d.ts.map +1 -1
  417. package/dist/esm/models/paymentresponse.js +54 -49
  418. package/dist/esm/models/paymentresponse.js.map +1 -1
  419. package/dist/esm/models/profileresponse.d.ts +8 -8
  420. package/dist/esm/models/profileresponse.d.ts.map +1 -1
  421. package/dist/esm/models/profileresponse.js +8 -9
  422. package/dist/esm/models/profileresponse.js.map +1 -1
  423. package/dist/esm/models/salesinvoiceresponse.d.ts +40 -40
  424. package/dist/esm/models/salesinvoiceresponse.d.ts.map +1 -1
  425. package/dist/esm/models/salesinvoiceresponse.js +45 -40
  426. package/dist/esm/models/salesinvoiceresponse.js.map +1 -1
  427. package/examples/package-lock.json +1 -1
  428. package/jsr.json +1 -1
  429. package/package.json +1 -1
  430. package/src/lib/config.ts +2 -2
  431. package/src/mcp-server/mcp-server.ts +1 -1
  432. package/src/mcp-server/server.ts +1 -1
  433. package/src/models/entitybalance.ts +112 -93
  434. package/src/models/entitychargeback.ts +29 -20
  435. package/src/models/entityinvoice.ts +63 -51
  436. package/src/models/entitysettlement.ts +140 -96
  437. package/src/models/index.ts +17 -2
  438. package/src/models/listcustomerresponse.ts +223 -0
  439. package/src/models/listentitybalance.ts +598 -0
  440. package/src/models/listentitychargeback.ts +361 -0
  441. package/src/models/listentityinvoice.ts +492 -0
  442. package/src/models/listentitymethod.ts +608 -0
  443. package/src/models/{entitymethodall.ts → listentitymethodall.ts} +139 -142
  444. package/src/models/listentitypermission.ts +149 -0
  445. package/src/models/listentityrefund.ts +544 -0
  446. package/src/models/listentitysettlement.ts +651 -0
  447. package/src/models/listentityterminal.ts +253 -0
  448. package/src/models/listentitywebhook.ts +195 -0
  449. package/src/models/listmandateresponse.ts +343 -0
  450. package/src/models/listpaymentresponse.ts +2225 -0
  451. package/src/models/listprofileresponse.ts +365 -0
  452. package/src/models/{routegetresponse.ts → listroutegetresponse.ts} +51 -58
  453. package/src/models/listsalesinvoiceresponse.ts +799 -0
  454. package/src/models/listsubscriptionresponse.ts +447 -0
  455. package/src/models/operations/getpaymentlinkpayments.ts +4 -4
  456. package/src/models/operations/listallchargebacks.ts +4 -4
  457. package/src/models/operations/listallmethods.ts +4 -4
  458. package/src/models/operations/listallrefunds.ts +4 -4
  459. package/src/models/operations/listallsubscriptions.ts +6 -4
  460. package/src/models/operations/listbalances.ts +4 -4
  461. package/src/models/operations/listchargebacks.ts +4 -4
  462. package/src/models/operations/listclients.ts +0 -7
  463. package/src/models/operations/listcustomerpayments.ts +4 -4
  464. package/src/models/operations/listcustomers.ts +4 -4
  465. package/src/models/operations/listinvoices.ts +4 -4
  466. package/src/models/operations/listmandates.ts +4 -4
  467. package/src/models/operations/listmethods.ts +4 -4
  468. package/src/models/operations/listpayments.ts +4 -4
  469. package/src/models/operations/listpermissions.ts +4 -4
  470. package/src/models/operations/listprofiles.ts +4 -4
  471. package/src/models/operations/listrefunds.ts +4 -4
  472. package/src/models/operations/listsalesinvoices.ts +6 -4
  473. package/src/models/operations/listsettlementchargebacks.ts +4 -4
  474. package/src/models/operations/listsettlementpayments.ts +4 -4
  475. package/src/models/operations/listsettlementrefunds.ts +4 -4
  476. package/src/models/operations/listsettlements.ts +4 -4
  477. package/src/models/operations/listsubscriptionpayments.ts +4 -4
  478. package/src/models/operations/listsubscriptions.ts +6 -4
  479. package/src/models/operations/listterminals.ts +4 -4
  480. package/src/models/operations/listwebhooks.ts +4 -4
  481. package/src/models/operations/paymentlistroutes.ts +4 -4
  482. package/src/models/paymentresponse.ts +159 -117
  483. package/src/models/profileresponse.ts +26 -19
  484. package/src/models/salesinvoiceresponse.ts +149 -97
  485. package/dist/commonjs/models/entitymethodall.d.ts.map +0 -1
  486. package/dist/commonjs/models/entitymethodall.js +0 -291
  487. package/dist/commonjs/models/entitymethodall.js.map +0 -1
  488. package/dist/commonjs/models/routegetresponse.d.ts.map +0 -1
  489. package/dist/commonjs/models/routegetresponse.js.map +0 -1
  490. package/dist/esm/models/entitymethodall.d.ts.map +0 -1
  491. package/dist/esm/models/entitymethodall.js +0 -239
  492. package/dist/esm/models/entitymethodall.js.map +0 -1
  493. package/dist/esm/models/routegetresponse.d.ts.map +0 -1
  494. package/dist/esm/models/routegetresponse.js +0 -78
  495. package/dist/esm/models/routegetresponse.js.map +0 -1
package/bin/mcp-server.js CHANGED
@@ -52403,9 +52403,9 @@ var init_config = __esm(() => {
52403
52403
  SDK_METADATA = {
52404
52404
  language: "typescript",
52405
52405
  openapiDocVersion: "1.0.0",
52406
- sdkVersion: "0.9.5",
52406
+ sdkVersion: "0.9.6",
52407
52407
  genVersion: "2.788.5",
52408
- userAgent: "speakeasy-sdk/typescript 0.9.5 2.788.5 1.0.0 mollie-api-typescript"
52408
+ userAgent: "speakeasy-sdk/typescript 0.9.6 2.788.5 1.0.0 mollie-api-typescript"
52409
52409
  };
52410
52410
  });
52411
52411
 
@@ -55150,7 +55150,7 @@ var init_deletevaluessalesinvoice = __esm(() => {
55150
55150
  });
55151
55151
 
55152
55152
  // src/models/entitybalance.ts
55153
- var Currency, EntityBalanceStatus, TransferFrequency, Currency$inboundSchema, Currency$outboundSchema, EntityBalanceStatus$inboundSchema, EntityBalanceStatus$outboundSchema, TransferFrequency$inboundSchema, TransferFrequency$outboundSchema, TransferThreshold$inboundSchema, TransferThreshold$outboundSchema, TransferDestination$inboundSchema, TransferDestination$outboundSchema, AvailableAmount$inboundSchema, AvailableAmount$outboundSchema, PendingAmount$inboundSchema, PendingAmount$outboundSchema, EntityBalanceLinks$inboundSchema, EntityBalanceLinks$outboundSchema, EntityBalance$inboundSchema, EntityBalance$outboundSchema;
55153
+ var EntityBalanceCurrency, EntityBalanceStatus, EntityBalanceTransferFrequency, EntityBalanceCurrency$inboundSchema, EntityBalanceCurrency$outboundSchema, EntityBalanceStatus$inboundSchema, EntityBalanceStatus$outboundSchema, EntityBalanceTransferFrequency$inboundSchema, EntityBalanceTransferFrequency$outboundSchema, EntityBalanceTransferThreshold$inboundSchema, EntityBalanceTransferThreshold$outboundSchema, EntityBalanceTransferDestination$inboundSchema, EntityBalanceTransferDestination$outboundSchema, EntityBalanceAvailableAmount$inboundSchema, EntityBalanceAvailableAmount$outboundSchema, EntityBalancePendingAmount$inboundSchema, EntityBalancePendingAmount$outboundSchema, EntityBalanceLinks$inboundSchema, EntityBalanceLinks$outboundSchema, EntityBalance$inboundSchema, EntityBalance$outboundSchema;
55154
55154
  var init_entitybalance = __esm(() => {
55155
55155
  init_esm();
55156
55156
  init_primitives();
@@ -55158,7 +55158,7 @@ var init_entitybalance = __esm(() => {
55158
55158
  init_balancetransferdestinationtype();
55159
55159
  init_mode();
55160
55160
  init_url2();
55161
- Currency = {
55161
+ EntityBalanceCurrency = {
55162
55162
  Eur: "EUR",
55163
55163
  Gbp: "GBP",
55164
55164
  Chf: "CHF",
@@ -55176,7 +55176,7 @@ var init_entitybalance = __esm(() => {
55176
55176
  Active: "active",
55177
55177
  Inactive: "inactive"
55178
55178
  };
55179
- TransferFrequency = {
55179
+ EntityBalanceTransferFrequency = {
55180
55180
  EveryDay: "every-day",
55181
55181
  Daily: "daily",
55182
55182
  EveryMonday: "every-monday",
@@ -55188,43 +55188,43 @@ var init_entitybalance = __esm(() => {
55188
55188
  RevenueDay: "revenue-day",
55189
55189
  Never: "never"
55190
55190
  };
55191
- Currency$inboundSchema = inboundSchema(Currency);
55192
- Currency$outboundSchema = outboundSchema(Currency);
55191
+ EntityBalanceCurrency$inboundSchema = inboundSchema(EntityBalanceCurrency);
55192
+ EntityBalanceCurrency$outboundSchema = outboundSchema(EntityBalanceCurrency);
55193
55193
  EntityBalanceStatus$inboundSchema = inboundSchema(EntityBalanceStatus);
55194
55194
  EntityBalanceStatus$outboundSchema = outboundSchema(EntityBalanceStatus);
55195
- TransferFrequency$inboundSchema = inboundSchema(TransferFrequency);
55196
- TransferFrequency$outboundSchema = outboundSchema(TransferFrequency);
55197
- TransferThreshold$inboundSchema = objectType({
55195
+ EntityBalanceTransferFrequency$inboundSchema = inboundSchema(EntityBalanceTransferFrequency);
55196
+ EntityBalanceTransferFrequency$outboundSchema = outboundSchema(EntityBalanceTransferFrequency);
55197
+ EntityBalanceTransferThreshold$inboundSchema = objectType({
55198
55198
  currency: stringType(),
55199
55199
  value: stringType()
55200
55200
  });
55201
- TransferThreshold$outboundSchema = objectType({
55201
+ EntityBalanceTransferThreshold$outboundSchema = objectType({
55202
55202
  currency: stringType(),
55203
55203
  value: stringType()
55204
55204
  });
55205
- TransferDestination$inboundSchema = objectType({
55205
+ EntityBalanceTransferDestination$inboundSchema = objectType({
55206
55206
  type: BalanceTransferDestinationType$inboundSchema.optional(),
55207
55207
  bankAccount: stringType().optional(),
55208
55208
  beneficiaryName: stringType().optional()
55209
55209
  });
55210
- TransferDestination$outboundSchema = objectType({
55210
+ EntityBalanceTransferDestination$outboundSchema = objectType({
55211
55211
  type: BalanceTransferDestinationType$outboundSchema.optional(),
55212
55212
  bankAccount: stringType().optional(),
55213
55213
  beneficiaryName: stringType().optional()
55214
55214
  });
55215
- AvailableAmount$inboundSchema = objectType({
55215
+ EntityBalanceAvailableAmount$inboundSchema = objectType({
55216
55216
  currency: stringType(),
55217
55217
  value: stringType()
55218
55218
  });
55219
- AvailableAmount$outboundSchema = objectType({
55219
+ EntityBalanceAvailableAmount$outboundSchema = objectType({
55220
55220
  currency: stringType(),
55221
55221
  value: stringType()
55222
55222
  });
55223
- PendingAmount$inboundSchema = objectType({
55223
+ EntityBalancePendingAmount$inboundSchema = objectType({
55224
55224
  currency: stringType(),
55225
55225
  value: stringType()
55226
55226
  });
55227
- PendingAmount$outboundSchema = objectType({
55227
+ EntityBalancePendingAmount$outboundSchema = objectType({
55228
55228
  currency: stringType(),
55229
55229
  value: stringType()
55230
55230
  });
@@ -55241,15 +55241,15 @@ var init_entitybalance = __esm(() => {
55241
55241
  id: stringType(),
55242
55242
  mode: Mode$inboundSchema,
55243
55243
  createdAt: stringType(),
55244
- currency: Currency$inboundSchema,
55244
+ currency: EntityBalanceCurrency$inboundSchema,
55245
55245
  description: stringType(),
55246
55246
  status: EntityBalanceStatus$inboundSchema,
55247
- transferFrequency: TransferFrequency$inboundSchema.optional(),
55248
- transferThreshold: lazyType(() => TransferThreshold$inboundSchema).optional(),
55247
+ transferFrequency: EntityBalanceTransferFrequency$inboundSchema.optional(),
55248
+ transferThreshold: lazyType(() => EntityBalanceTransferThreshold$inboundSchema).optional(),
55249
55249
  transferReference: nullableType(stringType()).optional(),
55250
- transferDestination: nullableType(lazyType(() => TransferDestination$inboundSchema)).optional(),
55251
- availableAmount: lazyType(() => AvailableAmount$inboundSchema),
55252
- pendingAmount: lazyType(() => PendingAmount$inboundSchema),
55250
+ transferDestination: nullableType(lazyType(() => EntityBalanceTransferDestination$inboundSchema)).optional(),
55251
+ availableAmount: lazyType(() => EntityBalanceAvailableAmount$inboundSchema),
55252
+ pendingAmount: lazyType(() => EntityBalancePendingAmount$inboundSchema),
55253
55253
  _links: lazyType(() => EntityBalanceLinks$inboundSchema)
55254
55254
  }).transform((v2) => {
55255
55255
  return remap(v2, {
@@ -55261,15 +55261,15 @@ var init_entitybalance = __esm(() => {
55261
55261
  id: stringType(),
55262
55262
  mode: Mode$outboundSchema,
55263
55263
  createdAt: stringType(),
55264
- currency: Currency$outboundSchema,
55264
+ currency: EntityBalanceCurrency$outboundSchema,
55265
55265
  description: stringType(),
55266
55266
  status: EntityBalanceStatus$outboundSchema,
55267
- transferFrequency: TransferFrequency$outboundSchema.optional(),
55268
- transferThreshold: lazyType(() => TransferThreshold$outboundSchema).optional(),
55267
+ transferFrequency: EntityBalanceTransferFrequency$outboundSchema.optional(),
55268
+ transferThreshold: lazyType(() => EntityBalanceTransferThreshold$outboundSchema).optional(),
55269
55269
  transferReference: nullableType(stringType()).optional(),
55270
- transferDestination: nullableType(lazyType(() => TransferDestination$outboundSchema)).optional(),
55271
- availableAmount: lazyType(() => AvailableAmount$outboundSchema),
55272
- pendingAmount: lazyType(() => PendingAmount$outboundSchema),
55270
+ transferDestination: nullableType(lazyType(() => EntityBalanceTransferDestination$outboundSchema)).optional(),
55271
+ availableAmount: lazyType(() => EntityBalanceAvailableAmount$outboundSchema),
55272
+ pendingAmount: lazyType(() => EntityBalancePendingAmount$outboundSchema),
55273
55273
  links: lazyType(() => EntityBalanceLinks$outboundSchema)
55274
55274
  }).transform((v2) => {
55275
55275
  return remap(v2, {
@@ -56150,7 +56150,7 @@ var init_entitycapture = __esm(() => {
56150
56150
  });
56151
56151
 
56152
56152
  // src/models/entitychargeback.ts
56153
- var EntityChargebackSettlementAmount$inboundSchema, EntityChargebackSettlementAmount$outboundSchema, Reason$inboundSchema, Reason$outboundSchema, EntityChargebackLinks$inboundSchema, EntityChargebackLinks$outboundSchema, EntityChargeback$inboundSchema, EntityChargeback$outboundSchema;
56153
+ var EntityChargebackSettlementAmount$inboundSchema, EntityChargebackSettlementAmount$outboundSchema, EntityChargebackReason$inboundSchema, EntityChargebackReason$outboundSchema, EntityChargebackLinks$inboundSchema, EntityChargebackLinks$outboundSchema, EntityChargeback$inboundSchema, EntityChargeback$outboundSchema;
56154
56154
  var init_entitychargeback = __esm(() => {
56155
56155
  init_esm();
56156
56156
  init_primitives();
@@ -56165,11 +56165,11 @@ var init_entitychargeback = __esm(() => {
56165
56165
  currency: stringType(),
56166
56166
  value: stringType()
56167
56167
  });
56168
- Reason$inboundSchema = objectType({
56168
+ EntityChargebackReason$inboundSchema = objectType({
56169
56169
  code: stringType(),
56170
56170
  description: stringType()
56171
56171
  });
56172
- Reason$outboundSchema = objectType({
56172
+ EntityChargebackReason$outboundSchema = objectType({
56173
56173
  code: stringType(),
56174
56174
  description: stringType()
56175
56175
  });
@@ -56190,7 +56190,7 @@ var init_entitychargeback = __esm(() => {
56190
56190
  id: stringType(),
56191
56191
  amount: Amount$inboundSchema,
56192
56192
  settlementAmount: nullableType(lazyType(() => EntityChargebackSettlementAmount$inboundSchema)).optional(),
56193
- reason: nullableType(lazyType(() => Reason$inboundSchema)).optional(),
56193
+ reason: nullableType(lazyType(() => EntityChargebackReason$inboundSchema)).optional(),
56194
56194
  paymentId: stringType(),
56195
56195
  settlementId: nullableType(stringType()).optional(),
56196
56196
  createdAt: stringType(),
@@ -56206,7 +56206,7 @@ var init_entitychargeback = __esm(() => {
56206
56206
  id: stringType(),
56207
56207
  amount: Amount$outboundSchema,
56208
56208
  settlementAmount: nullableType(lazyType(() => EntityChargebackSettlementAmount$outboundSchema)).optional(),
56209
- reason: nullableType(lazyType(() => Reason$outboundSchema)).optional(),
56209
+ reason: nullableType(lazyType(() => EntityChargebackReason$outboundSchema)).optional(),
56210
56210
  paymentId: stringType(),
56211
56211
  settlementId: nullableType(stringType()).optional(),
56212
56212
  createdAt: stringType(),
@@ -56278,7 +56278,7 @@ var init_entityevent = __esm(() => {
56278
56278
  });
56279
56279
 
56280
56280
  // src/models/entityinvoice.ts
56281
- var EntityInvoiceStatus, EntityInvoiceStatus$inboundSchema, EntityInvoiceStatus$outboundSchema, NetAmount$inboundSchema, NetAmount$outboundSchema, VatAmount$inboundSchema, VatAmount$outboundSchema, GrossAmount$inboundSchema, GrossAmount$outboundSchema, EntityInvoiceLine$inboundSchema, EntityInvoiceLine$outboundSchema, EntityInvoiceLinks$inboundSchema, EntityInvoiceLinks$outboundSchema, EntityInvoice$inboundSchema, EntityInvoice$outboundSchema;
56281
+ var EntityInvoiceStatus, EntityInvoiceStatus$inboundSchema, EntityInvoiceStatus$outboundSchema, EntityInvoiceNetAmount$inboundSchema, EntityInvoiceNetAmount$outboundSchema, EntityInvoiceVatAmount$inboundSchema, EntityInvoiceVatAmount$outboundSchema, EntityInvoiceGrossAmount$inboundSchema, EntityInvoiceGrossAmount$outboundSchema, EntityInvoiceLine$inboundSchema, EntityInvoiceLine$outboundSchema, EntityInvoiceLinks$inboundSchema, EntityInvoiceLinks$outboundSchema, EntityInvoice$inboundSchema, EntityInvoice$outboundSchema;
56282
56282
  var init_entityinvoice = __esm(() => {
56283
56283
  init_esm();
56284
56284
  init_primitives();
@@ -56292,27 +56292,27 @@ var init_entityinvoice = __esm(() => {
56292
56292
  };
56293
56293
  EntityInvoiceStatus$inboundSchema = inboundSchema(EntityInvoiceStatus);
56294
56294
  EntityInvoiceStatus$outboundSchema = outboundSchema(EntityInvoiceStatus);
56295
- NetAmount$inboundSchema = objectType({
56295
+ EntityInvoiceNetAmount$inboundSchema = objectType({
56296
56296
  currency: stringType(),
56297
56297
  value: stringType()
56298
56298
  });
56299
- NetAmount$outboundSchema = objectType({
56299
+ EntityInvoiceNetAmount$outboundSchema = objectType({
56300
56300
  currency: stringType(),
56301
56301
  value: stringType()
56302
56302
  });
56303
- VatAmount$inboundSchema = objectType({
56303
+ EntityInvoiceVatAmount$inboundSchema = objectType({
56304
56304
  currency: stringType(),
56305
56305
  value: stringType()
56306
56306
  });
56307
- VatAmount$outboundSchema = objectType({
56307
+ EntityInvoiceVatAmount$outboundSchema = objectType({
56308
56308
  currency: stringType(),
56309
56309
  value: stringType()
56310
56310
  });
56311
- GrossAmount$inboundSchema = objectType({
56311
+ EntityInvoiceGrossAmount$inboundSchema = objectType({
56312
56312
  currency: stringType(),
56313
56313
  value: stringType()
56314
56314
  });
56315
- GrossAmount$outboundSchema = objectType({
56315
+ EntityInvoiceGrossAmount$outboundSchema = objectType({
56316
56316
  currency: stringType(),
56317
56317
  value: stringType()
56318
56318
  });
@@ -56346,9 +56346,9 @@ var init_entityinvoice = __esm(() => {
56346
56346
  reference: stringType(),
56347
56347
  vatNumber: nullableType(stringType()),
56348
56348
  status: EntityInvoiceStatus$inboundSchema,
56349
- netAmount: lazyType(() => NetAmount$inboundSchema),
56350
- vatAmount: lazyType(() => VatAmount$inboundSchema),
56351
- grossAmount: lazyType(() => GrossAmount$inboundSchema),
56349
+ netAmount: lazyType(() => EntityInvoiceNetAmount$inboundSchema),
56350
+ vatAmount: lazyType(() => EntityInvoiceVatAmount$inboundSchema),
56351
+ grossAmount: lazyType(() => EntityInvoiceGrossAmount$inboundSchema),
56352
56352
  lines: arrayType(lazyType(() => EntityInvoiceLine$inboundSchema)),
56353
56353
  issuedAt: stringType(),
56354
56354
  paidAt: nullableType(stringType()).optional(),
@@ -56365,9 +56365,9 @@ var init_entityinvoice = __esm(() => {
56365
56365
  reference: stringType(),
56366
56366
  vatNumber: nullableType(stringType()),
56367
56367
  status: EntityInvoiceStatus$outboundSchema,
56368
- netAmount: lazyType(() => NetAmount$outboundSchema),
56369
- vatAmount: lazyType(() => VatAmount$outboundSchema),
56370
- grossAmount: lazyType(() => GrossAmount$outboundSchema),
56368
+ netAmount: lazyType(() => EntityInvoiceNetAmount$outboundSchema),
56369
+ vatAmount: lazyType(() => EntityInvoiceVatAmount$outboundSchema),
56370
+ grossAmount: lazyType(() => EntityInvoiceGrossAmount$outboundSchema),
56371
56371
  lines: arrayType(lazyType(() => EntityInvoiceLine$outboundSchema)),
56372
56372
  issuedAt: stringType(),
56373
56373
  paidAt: nullableType(stringType()).optional(),
@@ -56533,159 +56533,6 @@ var init_entitymethod = __esm(() => {
56533
56533
  });
56534
56534
  });
56535
56535
 
56536
- // src/models/entitymethodall.ts
56537
- var EntityMethodAllId, EntityMethodAllId$inboundSchema, EntityMethodAllId$outboundSchema, EntityMethodAllMinimumAmount$inboundSchema, EntityMethodAllMinimumAmount$outboundSchema, EntityMethodAllMaximumAmount$inboundSchema, EntityMethodAllMaximumAmount$outboundSchema, EntityMethodAllImage$inboundSchema, EntityMethodAllImage$outboundSchema, EntityMethodAllIssuerImage$inboundSchema, EntityMethodAllIssuerImage$outboundSchema, EntityMethodAllIssuer$inboundSchema, EntityMethodAllIssuer$outboundSchema, EntityMethodAllLinks$inboundSchema, EntityMethodAllLinks$outboundSchema, Pricing$inboundSchema, Pricing$outboundSchema, EntityMethodAll$inboundSchema, EntityMethodAll$outboundSchema;
56538
- var init_entitymethodall = __esm(() => {
56539
- init_esm();
56540
- init_primitives();
56541
- init_enums();
56542
- init_amount();
56543
- init_methodstatus();
56544
- init_url2();
56545
- EntityMethodAllId = {
56546
- Alma: "alma",
56547
- Applepay: "applepay",
56548
- Bacs: "bacs",
56549
- Bancomatpay: "bancomatpay",
56550
- Bancontact: "bancontact",
56551
- Banktransfer: "banktransfer",
56552
- Belfius: "belfius",
56553
- Billie: "billie",
56554
- Bizum: "bizum",
56555
- Blik: "blik",
56556
- Creditcard: "creditcard",
56557
- Directdebit: "directdebit",
56558
- Eps: "eps",
56559
- Giftcard: "giftcard",
56560
- Ideal: "ideal",
56561
- In3: "in3",
56562
- Kbc: "kbc",
56563
- Klarna: "klarna",
56564
- Mbway: "mbway",
56565
- Mobilepay: "mobilepay",
56566
- Multibanco: "multibanco",
56567
- Mybank: "mybank",
56568
- Paybybank: "paybybank",
56569
- Paypal: "paypal",
56570
- Paysafecard: "paysafecard",
56571
- Pointofsale: "pointofsale",
56572
- Przelewy24: "przelewy24",
56573
- Riverty: "riverty",
56574
- Satispay: "satispay",
56575
- Swish: "swish",
56576
- Trustly: "trustly",
56577
- Twint: "twint",
56578
- Vipps: "vipps",
56579
- Voucher: "voucher",
56580
- Klarnapaylater: "klarnapaylater",
56581
- Klarnapaynow: "klarnapaynow",
56582
- Klarnasliceit: "klarnasliceit",
56583
- Payconiq: "payconiq"
56584
- };
56585
- EntityMethodAllId$inboundSchema = inboundSchema(EntityMethodAllId);
56586
- EntityMethodAllId$outboundSchema = outboundSchema(EntityMethodAllId);
56587
- EntityMethodAllMinimumAmount$inboundSchema = objectType({
56588
- currency: stringType(),
56589
- value: stringType()
56590
- });
56591
- EntityMethodAllMinimumAmount$outboundSchema = objectType({
56592
- currency: stringType(),
56593
- value: stringType()
56594
- });
56595
- EntityMethodAllMaximumAmount$inboundSchema = objectType({
56596
- currency: stringType(),
56597
- value: stringType()
56598
- });
56599
- EntityMethodAllMaximumAmount$outboundSchema = objectType({
56600
- currency: stringType(),
56601
- value: stringType()
56602
- });
56603
- EntityMethodAllImage$inboundSchema = objectType({
56604
- size1x: stringType(),
56605
- size2x: stringType(),
56606
- svg: stringType()
56607
- });
56608
- EntityMethodAllImage$outboundSchema = objectType({
56609
- size1x: stringType(),
56610
- size2x: stringType(),
56611
- svg: stringType()
56612
- });
56613
- EntityMethodAllIssuerImage$inboundSchema = objectType({
56614
- size1x: stringType().optional(),
56615
- size2x: stringType().optional(),
56616
- svg: stringType().optional()
56617
- });
56618
- EntityMethodAllIssuerImage$outboundSchema = objectType({
56619
- size1x: stringType().optional(),
56620
- size2x: stringType().optional(),
56621
- svg: stringType().optional()
56622
- });
56623
- EntityMethodAllIssuer$inboundSchema = objectType({
56624
- resource: stringType(),
56625
- id: stringType(),
56626
- name: stringType(),
56627
- image: lazyType(() => EntityMethodAllIssuerImage$inboundSchema)
56628
- });
56629
- EntityMethodAllIssuer$outboundSchema = objectType({
56630
- resource: stringType(),
56631
- id: stringType(),
56632
- name: stringType(),
56633
- image: lazyType(() => EntityMethodAllIssuerImage$outboundSchema)
56634
- });
56635
- EntityMethodAllLinks$inboundSchema = objectType({
56636
- self: Url$inboundSchema,
56637
- documentation: Url$inboundSchema.optional()
56638
- });
56639
- EntityMethodAllLinks$outboundSchema = objectType({
56640
- self: Url$outboundSchema,
56641
- documentation: Url$outboundSchema.optional()
56642
- });
56643
- Pricing$inboundSchema = objectType({
56644
- description: stringType(),
56645
- fixed: Amount$inboundSchema,
56646
- variable: stringType(),
56647
- feeRegion: nullableType(stringType()).optional()
56648
- });
56649
- Pricing$outboundSchema = objectType({
56650
- description: stringType(),
56651
- fixed: Amount$outboundSchema,
56652
- variable: stringType(),
56653
- feeRegion: nullableType(stringType()).optional()
56654
- });
56655
- EntityMethodAll$inboundSchema = objectType({
56656
- resource: stringType(),
56657
- id: nullableType(EntityMethodAllId$inboundSchema),
56658
- description: stringType(),
56659
- minimumAmount: lazyType(() => EntityMethodAllMinimumAmount$inboundSchema),
56660
- maximumAmount: nullableType(lazyType(() => EntityMethodAllMaximumAmount$inboundSchema)),
56661
- image: lazyType(() => EntityMethodAllImage$inboundSchema),
56662
- status: nullableType(MethodStatus$inboundSchema),
56663
- issuers: arrayType(lazyType(() => EntityMethodAllIssuer$inboundSchema)).optional(),
56664
- _links: lazyType(() => EntityMethodAllLinks$inboundSchema),
56665
- pricing: arrayType(lazyType(() => Pricing$inboundSchema)).optional()
56666
- }).transform((v2) => {
56667
- return remap(v2, {
56668
- _links: "links"
56669
- });
56670
- });
56671
- EntityMethodAll$outboundSchema = objectType({
56672
- resource: stringType(),
56673
- id: nullableType(EntityMethodAllId$outboundSchema),
56674
- description: stringType(),
56675
- minimumAmount: lazyType(() => EntityMethodAllMinimumAmount$outboundSchema),
56676
- maximumAmount: nullableType(lazyType(() => EntityMethodAllMaximumAmount$outboundSchema)),
56677
- image: lazyType(() => EntityMethodAllImage$outboundSchema),
56678
- status: nullableType(MethodStatus$outboundSchema),
56679
- issuers: arrayType(lazyType(() => EntityMethodAllIssuer$outboundSchema)).optional(),
56680
- links: lazyType(() => EntityMethodAllLinks$outboundSchema),
56681
- pricing: arrayType(lazyType(() => Pricing$outboundSchema)).optional()
56682
- }).transform((v2) => {
56683
- return remap(v2, {
56684
- links: "_links"
56685
- });
56686
- });
56687
- });
56688
-
56689
56536
  // src/models/entityonboardingstatus.ts
56690
56537
  var EntityOnboardingStatusStatus, EntityOnboardingStatusStatus$inboundSchema, EntityOnboardingStatusStatus$outboundSchema, EntityOnboardingStatusLinks$inboundSchema, EntityOnboardingStatusLinks$outboundSchema, EntityOnboardingStatus$inboundSchema, EntityOnboardingStatus$outboundSchema;
56691
56538
  var init_entityonboardingstatus = __esm(() => {
@@ -57140,7 +56987,7 @@ var init_entityroute = __esm(() => {
57140
56987
  });
57141
56988
 
57142
56989
  // src/models/entitysettlement.ts
57143
- var EntitySettlementStatus, EntitySettlementStatus$inboundSchema, EntitySettlementStatus$outboundSchema, EntitySettlementAmount$inboundSchema, EntitySettlementAmount$outboundSchema, Rate$inboundSchema, Rate$outboundSchema, Cost$inboundSchema, Cost$outboundSchema, Revenue$inboundSchema, Revenue$outboundSchema, Periods$inboundSchema, Periods$outboundSchema, EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema;
56990
+ var EntitySettlementStatus, EntitySettlementStatus$inboundSchema, EntitySettlementStatus$outboundSchema, EntitySettlementAmount$inboundSchema, EntitySettlementAmount$outboundSchema, EntitySettlementRate$inboundSchema, EntitySettlementRate$outboundSchema, EntitySettlementCost$inboundSchema, EntitySettlementCost$outboundSchema, EntitySettlementRevenue$inboundSchema, EntitySettlementRevenue$outboundSchema, EntitySettlementPeriods$inboundSchema, EntitySettlementPeriods$outboundSchema, EntitySettlementLinks$inboundSchema, EntitySettlementLinks$outboundSchema, EntitySettlement$inboundSchema, EntitySettlement$outboundSchema;
57144
56991
  var init_entitysettlement = __esm(() => {
57145
56992
  init_esm();
57146
56993
  init_primitives();
@@ -57166,33 +57013,33 @@ var init_entitysettlement = __esm(() => {
57166
57013
  currency: stringType(),
57167
57014
  value: stringType()
57168
57015
  });
57169
- Rate$inboundSchema = objectType({
57016
+ EntitySettlementRate$inboundSchema = objectType({
57170
57017
  fixed: Amount$inboundSchema.optional(),
57171
57018
  percentage: stringType().optional()
57172
57019
  });
57173
- Rate$outboundSchema = objectType({
57020
+ EntitySettlementRate$outboundSchema = objectType({
57174
57021
  fixed: Amount$outboundSchema.optional(),
57175
57022
  percentage: stringType().optional()
57176
57023
  });
57177
- Cost$inboundSchema = objectType({
57024
+ EntitySettlementCost$inboundSchema = objectType({
57178
57025
  description: stringType(),
57179
57026
  method: nullableType(PaymentMethod$inboundSchema),
57180
57027
  count: numberType().int(),
57181
- rate: lazyType(() => Rate$inboundSchema),
57028
+ rate: lazyType(() => EntitySettlementRate$inboundSchema),
57182
57029
  amountNet: Amount$inboundSchema,
57183
57030
  amountVat: nullableType(AmountNullable$inboundSchema),
57184
57031
  amountGross: Amount$inboundSchema
57185
57032
  });
57186
- Cost$outboundSchema = objectType({
57033
+ EntitySettlementCost$outboundSchema = objectType({
57187
57034
  description: stringType(),
57188
57035
  method: nullableType(PaymentMethod$outboundSchema),
57189
57036
  count: numberType().int(),
57190
- rate: lazyType(() => Rate$outboundSchema),
57037
+ rate: lazyType(() => EntitySettlementRate$outboundSchema),
57191
57038
  amountNet: Amount$outboundSchema,
57192
57039
  amountVat: nullableType(AmountNullable$outboundSchema),
57193
57040
  amountGross: Amount$outboundSchema
57194
57041
  });
57195
- Revenue$inboundSchema = objectType({
57042
+ EntitySettlementRevenue$inboundSchema = objectType({
57196
57043
  description: stringType(),
57197
57044
  method: nullableType(PaymentMethod$inboundSchema),
57198
57045
  count: numberType().int(),
@@ -57200,7 +57047,7 @@ var init_entitysettlement = __esm(() => {
57200
57047
  amountVat: nullableType(AmountNullable$inboundSchema),
57201
57048
  amountGross: Amount$inboundSchema
57202
57049
  });
57203
- Revenue$outboundSchema = objectType({
57050
+ EntitySettlementRevenue$outboundSchema = objectType({
57204
57051
  description: stringType(),
57205
57052
  method: nullableType(PaymentMethod$outboundSchema),
57206
57053
  count: numberType().int(),
@@ -57208,15 +57055,15 @@ var init_entitysettlement = __esm(() => {
57208
57055
  amountVat: nullableType(AmountNullable$outboundSchema),
57209
57056
  amountGross: Amount$outboundSchema
57210
57057
  });
57211
- Periods$inboundSchema = objectType({
57212
- costs: arrayType(lazyType(() => Cost$inboundSchema)).optional(),
57213
- revenue: arrayType(lazyType(() => Revenue$inboundSchema)).optional(),
57058
+ EntitySettlementPeriods$inboundSchema = objectType({
57059
+ costs: arrayType(lazyType(() => EntitySettlementCost$inboundSchema)).optional(),
57060
+ revenue: arrayType(lazyType(() => EntitySettlementRevenue$inboundSchema)).optional(),
57214
57061
  invoiceId: stringType().optional(),
57215
57062
  invoiceReference: nullableType(stringType()).optional()
57216
57063
  });
57217
- Periods$outboundSchema = objectType({
57218
- costs: arrayType(lazyType(() => Cost$outboundSchema)).optional(),
57219
- revenue: arrayType(lazyType(() => Revenue$outboundSchema)).optional(),
57064
+ EntitySettlementPeriods$outboundSchema = objectType({
57065
+ costs: arrayType(lazyType(() => EntitySettlementCost$outboundSchema)).optional(),
57066
+ revenue: arrayType(lazyType(() => EntitySettlementRevenue$outboundSchema)).optional(),
57220
57067
  invoiceId: stringType().optional(),
57221
57068
  invoiceReference: nullableType(stringType()).optional()
57222
57069
  });
@@ -57248,7 +57095,7 @@ var init_entitysettlement = __esm(() => {
57248
57095
  amount: lazyType(() => EntitySettlementAmount$inboundSchema),
57249
57096
  balanceId: stringType(),
57250
57097
  invoiceId: nullableType(stringType()).optional(),
57251
- periods: recordType(recordType(lazyType(() => Periods$inboundSchema))).optional(),
57098
+ periods: recordType(recordType(lazyType(() => EntitySettlementPeriods$inboundSchema))).optional(),
57252
57099
  _links: lazyType(() => EntitySettlementLinks$inboundSchema)
57253
57100
  }).transform((v2) => {
57254
57101
  return remap(v2, {
@@ -57265,7 +57112,7 @@ var init_entitysettlement = __esm(() => {
57265
57112
  amount: lazyType(() => EntitySettlementAmount$outboundSchema),
57266
57113
  balanceId: stringType(),
57267
57114
  invoiceId: nullableType(stringType()).optional(),
57268
- periods: recordType(recordType(lazyType(() => Periods$outboundSchema))).optional(),
57115
+ periods: recordType(recordType(lazyType(() => EntitySettlementPeriods$outboundSchema))).optional(),
57269
57116
  links: lazyType(() => EntitySettlementLinks$outboundSchema)
57270
57117
  }).transform((v2) => {
57271
57118
  return remap(v2, {
@@ -57676,7 +57523,7 @@ var init_profilereviewstatusresponse = __esm(() => {
57676
57523
  });
57677
57524
 
57678
57525
  // src/models/profileresponse.ts
57679
- var ProfileResponseStatus, ProfileResponseStatus$inboundSchema, ProfileResponseStatus$outboundSchema, Review$inboundSchema, Review$outboundSchema, ProfileResponseLinks$inboundSchema, ProfileResponseLinks$outboundSchema, ProfileResponse$inboundSchema, ProfileResponse$outboundSchema;
57526
+ var ProfileResponseStatus, ProfileResponseStatus$inboundSchema, ProfileResponseStatus$outboundSchema, ProfileResponseReview$inboundSchema, ProfileResponseReview$outboundSchema, ProfileResponseLinks$inboundSchema, ProfileResponseLinks$outboundSchema, ProfileResponse$inboundSchema, ProfileResponse$outboundSchema;
57680
57527
  var init_profileresponse = __esm(() => {
57681
57528
  init_esm();
57682
57529
  init_primitives();
@@ -57691,10 +57538,10 @@ var init_profileresponse = __esm(() => {
57691
57538
  };
57692
57539
  ProfileResponseStatus$inboundSchema = inboundSchema(ProfileResponseStatus);
57693
57540
  ProfileResponseStatus$outboundSchema = outboundSchema(ProfileResponseStatus);
57694
- Review$inboundSchema = objectType({
57541
+ ProfileResponseReview$inboundSchema = objectType({
57695
57542
  status: ProfileReviewStatusResponse$inboundSchema.optional()
57696
57543
  });
57697
- Review$outboundSchema = objectType({
57544
+ ProfileResponseReview$outboundSchema = objectType({
57698
57545
  status: ProfileReviewStatusResponse$outboundSchema.optional()
57699
57546
  });
57700
57547
  ProfileResponseLinks$inboundSchema = objectType({
@@ -57729,7 +57576,7 @@ var init_profileresponse = __esm(() => {
57729
57576
  countriesOfActivity: arrayType(stringType()).optional(),
57730
57577
  businessCategory: stringType(),
57731
57578
  status: ProfileResponseStatus$inboundSchema,
57732
- review: lazyType(() => Review$inboundSchema).optional(),
57579
+ review: lazyType(() => ProfileResponseReview$inboundSchema).optional(),
57733
57580
  createdAt: stringType(),
57734
57581
  _links: lazyType(() => ProfileResponseLinks$inboundSchema)
57735
57582
  }).transform((v2) => {
@@ -57749,7 +57596,7 @@ var init_profileresponse = __esm(() => {
57749
57596
  countriesOfActivity: arrayType(stringType()).optional(),
57750
57597
  businessCategory: stringType(),
57751
57598
  status: ProfileResponseStatus$outboundSchema,
57752
- review: lazyType(() => Review$outboundSchema).optional(),
57599
+ review: lazyType(() => ProfileResponseReview$outboundSchema).optional(),
57753
57600
  createdAt: stringType(),
57754
57601
  links: lazyType(() => ProfileResponseLinks$outboundSchema)
57755
57602
  }).transform((v2) => {
@@ -57952,105 +57799,2653 @@ var init_listcaptureresponse = __esm(() => {
57952
57799
  });
57953
57800
  });
57954
57801
 
57955
- // src/models/listlinks.ts
57956
- var ListLinks$inboundSchema, ListLinks$outboundSchema;
57957
- var init_listlinks = __esm(() => {
57802
+ // src/models/listcustomerresponse.ts
57803
+ var ListCustomerResponseLinks$inboundSchema, ListCustomerResponseLinks$outboundSchema, ListCustomerResponse$inboundSchema, ListCustomerResponse$outboundSchema;
57804
+ var init_listcustomerresponse = __esm(() => {
57958
57805
  init_esm();
57806
+ init_primitives();
57807
+ init_localeresponse();
57808
+ init_metadata();
57809
+ init_mode();
57959
57810
  init_url2();
57960
57811
  init_urlnullable();
57961
- ListLinks$inboundSchema = objectType({
57812
+ ListCustomerResponseLinks$inboundSchema = objectType({
57962
57813
  self: Url$inboundSchema,
57963
- previous: nullableType(UrlNullable$inboundSchema),
57964
- next: nullableType(UrlNullable$inboundSchema),
57965
- documentation: Url$inboundSchema
57814
+ dashboard: Url$inboundSchema,
57815
+ payments: nullableType(UrlNullable$inboundSchema).optional(),
57816
+ mandates: nullableType(UrlNullable$inboundSchema).optional(),
57817
+ subscriptions: nullableType(UrlNullable$inboundSchema).optional()
57966
57818
  });
57967
- ListLinks$outboundSchema = objectType({
57819
+ ListCustomerResponseLinks$outboundSchema = objectType({
57968
57820
  self: Url$outboundSchema,
57969
- previous: nullableType(UrlNullable$outboundSchema),
57970
- next: nullableType(UrlNullable$outboundSchema),
57971
- documentation: Url$outboundSchema
57821
+ dashboard: Url$outboundSchema,
57822
+ payments: nullableType(UrlNullable$outboundSchema).optional(),
57823
+ mandates: nullableType(UrlNullable$outboundSchema).optional(),
57824
+ subscriptions: nullableType(UrlNullable$outboundSchema).optional()
57825
+ });
57826
+ ListCustomerResponse$inboundSchema = objectType({
57827
+ resource: stringType(),
57828
+ id: stringType(),
57829
+ mode: Mode$inboundSchema,
57830
+ name: nullableType(stringType()),
57831
+ email: nullableType(stringType()),
57832
+ locale: nullableType(LocaleResponse$inboundSchema),
57833
+ metadata: nullableType(Metadata$inboundSchema),
57834
+ createdAt: stringType(),
57835
+ _links: lazyType(() => ListCustomerResponseLinks$inboundSchema)
57836
+ }).transform((v2) => {
57837
+ return remap(v2, {
57838
+ _links: "links"
57839
+ });
57840
+ });
57841
+ ListCustomerResponse$outboundSchema = objectType({
57842
+ resource: stringType(),
57843
+ id: stringType(),
57844
+ mode: Mode$outboundSchema,
57845
+ name: nullableType(stringType()),
57846
+ email: nullableType(stringType()),
57847
+ locale: nullableType(LocaleResponse$outboundSchema),
57848
+ metadata: nullableType(Metadata$outboundSchema),
57849
+ createdAt: stringType(),
57850
+ links: lazyType(() => ListCustomerResponseLinks$outboundSchema)
57851
+ }).transform((v2) => {
57852
+ return remap(v2, {
57853
+ links: "_links"
57854
+ });
57972
57855
  });
57973
57856
  });
57974
57857
 
57975
- // src/models/locale.ts
57976
- var Locale, Locale$inboundSchema, Locale$outboundSchema;
57977
- var init_locale = __esm(() => {
57858
+ // src/models/listentitybalance.ts
57859
+ var ListEntityBalanceCurrency, ListEntityBalanceStatus, ListEntityBalanceTransferFrequency, ListEntityBalanceCurrency$inboundSchema, ListEntityBalanceCurrency$outboundSchema, ListEntityBalanceStatus$inboundSchema, ListEntityBalanceStatus$outboundSchema, ListEntityBalanceTransferFrequency$inboundSchema, ListEntityBalanceTransferFrequency$outboundSchema, ListEntityBalanceTransferThreshold$inboundSchema, ListEntityBalanceTransferThreshold$outboundSchema, ListEntityBalanceTransferDestination$inboundSchema, ListEntityBalanceTransferDestination$outboundSchema, ListEntityBalanceAvailableAmount$inboundSchema, ListEntityBalanceAvailableAmount$outboundSchema, ListEntityBalancePendingAmount$inboundSchema, ListEntityBalancePendingAmount$outboundSchema, ListEntityBalanceLinks$inboundSchema, ListEntityBalanceLinks$outboundSchema, ListEntityBalance$inboundSchema, ListEntityBalance$outboundSchema;
57860
+ var init_listentitybalance = __esm(() => {
57978
57861
  init_esm();
57979
- Locale = {
57980
- EnUS: "en_US",
57981
- EnGB: "en_GB",
57982
- NLNL: "nl_NL",
57983
- NlBE: "nl_BE",
57984
- DEDE: "de_DE",
57985
- DeAT: "de_AT",
57986
- DeCH: "de_CH",
57987
- FRFR: "fr_FR",
57988
- FrBE: "fr_BE",
57989
- ESES: "es_ES",
57990
- CaES: "ca_ES",
57991
- PTPT: "pt_PT",
57992
- ITIT: "it_IT",
57993
- NbNO: "nb_NO",
57994
- SvSE: "sv_SE",
57995
- FIFI: "fi_FI",
57996
- DaDK: "da_DK",
57997
- ISIS: "is_IS",
57998
- HUHU: "hu_HU",
57999
- PLPL: "pl_PL",
58000
- LVLV: "lv_LV",
58001
- LTLT: "lt_LT",
58002
- Null: "null"
58003
- };
58004
- Locale$inboundSchema = nativeEnumType(Locale);
58005
- Locale$outboundSchema = Locale$inboundSchema;
58006
- });
58007
-
58008
- // src/models/mandatedetailscardlabelresponse.ts
58009
- var MandateDetailsCardLabelResponse, MandateDetailsCardLabelResponse$inboundSchema, MandateDetailsCardLabelResponse$outboundSchema;
58010
- var init_mandatedetailscardlabelresponse = __esm(() => {
57862
+ init_primitives();
58011
57863
  init_enums();
58012
- MandateDetailsCardLabelResponse = {
58013
- AmericanExpress: "American Express",
58014
- CartaSi: "Carta Si",
58015
- CarteBleue: "Carte Bleue",
58016
- Dankort: "Dankort",
58017
- DinersClub: "Diners Club",
58018
- Discover: "Discover",
58019
- Jcb: "JCB",
58020
- Laser: "Laser",
58021
- Maestro: "Maestro",
58022
- Mastercard: "Mastercard",
58023
- Unionpay: "Unionpay",
58024
- Visa: "Visa"
57864
+ init_balancetransferdestinationtype();
57865
+ init_mode();
57866
+ init_url2();
57867
+ ListEntityBalanceCurrency = {
57868
+ Eur: "EUR",
57869
+ Gbp: "GBP",
57870
+ Chf: "CHF",
57871
+ Dkk: "DKK",
57872
+ Nok: "NOK",
57873
+ Pln: "PLN",
57874
+ Sek: "SEK",
57875
+ Usd: "USD",
57876
+ Czk: "CZK",
57877
+ Huf: "HUF",
57878
+ Aud: "AUD",
57879
+ Cad: "CAD"
58025
57880
  };
58026
- MandateDetailsCardLabelResponse$inboundSchema = inboundSchema(MandateDetailsCardLabelResponse);
58027
- MandateDetailsCardLabelResponse$outboundSchema = outboundSchema(MandateDetailsCardLabelResponse);
58028
- });
58029
-
58030
- // src/models/mandatemethod.ts
58031
- var MandateMethod, MandateMethod$inboundSchema, MandateMethod$outboundSchema;
58032
- var init_mandatemethod = __esm(() => {
58033
- init_esm();
58034
- MandateMethod = {
58035
- Creditcard: "creditcard",
58036
- Directdebit: "directdebit",
58037
- Paypal: "paypal"
57881
+ ListEntityBalanceStatus = {
57882
+ Active: "active",
57883
+ Inactive: "inactive"
58038
57884
  };
58039
- MandateMethod$inboundSchema = nativeEnumType(MandateMethod);
58040
- MandateMethod$outboundSchema = MandateMethod$inboundSchema;
58041
- });
58042
-
58043
- // src/models/mandatemethodresponse.ts
58044
- var MandateMethodResponse, MandateMethodResponse$inboundSchema, MandateMethodResponse$outboundSchema;
58045
- var init_mandatemethodresponse = __esm(() => {
58046
- init_enums();
58047
- MandateMethodResponse = {
58048
- Creditcard: "creditcard",
58049
- Directdebit: "directdebit",
58050
- Paypal: "paypal"
57885
+ ListEntityBalanceTransferFrequency = {
57886
+ EveryDay: "every-day",
57887
+ Daily: "daily",
57888
+ EveryMonday: "every-monday",
57889
+ EveryTuesday: "every-tuesday",
57890
+ EveryWednesday: "every-wednesday",
57891
+ EveryThursday: "every-thursday",
57892
+ EveryFriday: "every-friday",
57893
+ Monthly: "monthly",
57894
+ RevenueDay: "revenue-day",
57895
+ Never: "never"
57896
+ };
57897
+ ListEntityBalanceCurrency$inboundSchema = inboundSchema(ListEntityBalanceCurrency);
57898
+ ListEntityBalanceCurrency$outboundSchema = outboundSchema(ListEntityBalanceCurrency);
57899
+ ListEntityBalanceStatus$inboundSchema = inboundSchema(ListEntityBalanceStatus);
57900
+ ListEntityBalanceStatus$outboundSchema = outboundSchema(ListEntityBalanceStatus);
57901
+ ListEntityBalanceTransferFrequency$inboundSchema = inboundSchema(ListEntityBalanceTransferFrequency);
57902
+ ListEntityBalanceTransferFrequency$outboundSchema = outboundSchema(ListEntityBalanceTransferFrequency);
57903
+ ListEntityBalanceTransferThreshold$inboundSchema = objectType({
57904
+ currency: stringType(),
57905
+ value: stringType()
57906
+ });
57907
+ ListEntityBalanceTransferThreshold$outboundSchema = objectType({
57908
+ currency: stringType(),
57909
+ value: stringType()
57910
+ });
57911
+ ListEntityBalanceTransferDestination$inboundSchema = objectType({
57912
+ type: BalanceTransferDestinationType$inboundSchema.optional(),
57913
+ bankAccount: stringType().optional(),
57914
+ beneficiaryName: stringType().optional()
57915
+ });
57916
+ ListEntityBalanceTransferDestination$outboundSchema = objectType({
57917
+ type: BalanceTransferDestinationType$outboundSchema.optional(),
57918
+ bankAccount: stringType().optional(),
57919
+ beneficiaryName: stringType().optional()
57920
+ });
57921
+ ListEntityBalanceAvailableAmount$inboundSchema = objectType({
57922
+ currency: stringType(),
57923
+ value: stringType()
57924
+ });
57925
+ ListEntityBalanceAvailableAmount$outboundSchema = objectType({
57926
+ currency: stringType(),
57927
+ value: stringType()
57928
+ });
57929
+ ListEntityBalancePendingAmount$inboundSchema = objectType({
57930
+ currency: stringType(),
57931
+ value: stringType()
57932
+ });
57933
+ ListEntityBalancePendingAmount$outboundSchema = objectType({
57934
+ currency: stringType(),
57935
+ value: stringType()
57936
+ });
57937
+ ListEntityBalanceLinks$inboundSchema = objectType({
57938
+ self: Url$inboundSchema.optional()
57939
+ });
57940
+ ListEntityBalanceLinks$outboundSchema = objectType({
57941
+ self: Url$outboundSchema.optional()
57942
+ });
57943
+ ListEntityBalance$inboundSchema = objectType({
57944
+ resource: stringType(),
57945
+ id: stringType(),
57946
+ mode: Mode$inboundSchema,
57947
+ createdAt: stringType(),
57948
+ currency: ListEntityBalanceCurrency$inboundSchema,
57949
+ description: stringType(),
57950
+ status: ListEntityBalanceStatus$inboundSchema,
57951
+ transferFrequency: ListEntityBalanceTransferFrequency$inboundSchema.optional(),
57952
+ transferThreshold: lazyType(() => ListEntityBalanceTransferThreshold$inboundSchema).optional(),
57953
+ transferReference: nullableType(stringType()).optional(),
57954
+ transferDestination: nullableType(lazyType(() => ListEntityBalanceTransferDestination$inboundSchema)).optional(),
57955
+ availableAmount: lazyType(() => ListEntityBalanceAvailableAmount$inboundSchema),
57956
+ pendingAmount: lazyType(() => ListEntityBalancePendingAmount$inboundSchema),
57957
+ _links: lazyType(() => ListEntityBalanceLinks$inboundSchema)
57958
+ }).transform((v2) => {
57959
+ return remap(v2, {
57960
+ _links: "links"
57961
+ });
57962
+ });
57963
+ ListEntityBalance$outboundSchema = objectType({
57964
+ resource: stringType(),
57965
+ id: stringType(),
57966
+ mode: Mode$outboundSchema,
57967
+ createdAt: stringType(),
57968
+ currency: ListEntityBalanceCurrency$outboundSchema,
57969
+ description: stringType(),
57970
+ status: ListEntityBalanceStatus$outboundSchema,
57971
+ transferFrequency: ListEntityBalanceTransferFrequency$outboundSchema.optional(),
57972
+ transferThreshold: lazyType(() => ListEntityBalanceTransferThreshold$outboundSchema).optional(),
57973
+ transferReference: nullableType(stringType()).optional(),
57974
+ transferDestination: nullableType(lazyType(() => ListEntityBalanceTransferDestination$outboundSchema)).optional(),
57975
+ availableAmount: lazyType(() => ListEntityBalanceAvailableAmount$outboundSchema),
57976
+ pendingAmount: lazyType(() => ListEntityBalancePendingAmount$outboundSchema),
57977
+ links: lazyType(() => ListEntityBalanceLinks$outboundSchema)
57978
+ }).transform((v2) => {
57979
+ return remap(v2, {
57980
+ links: "_links"
57981
+ });
57982
+ });
57983
+ });
57984
+
57985
+ // src/models/listentitychargeback.ts
57986
+ var ListEntityChargebackSettlementAmount$inboundSchema, ListEntityChargebackSettlementAmount$outboundSchema, ListEntityChargebackReason$inboundSchema, ListEntityChargebackReason$outboundSchema, ListEntityChargebackLinks$inboundSchema, ListEntityChargebackLinks$outboundSchema, ListEntityChargeback$inboundSchema, ListEntityChargeback$outboundSchema;
57987
+ var init_listentitychargeback = __esm(() => {
57988
+ init_esm();
57989
+ init_primitives();
57990
+ init_amount();
57991
+ init_url2();
57992
+ init_urlnullable();
57993
+ ListEntityChargebackSettlementAmount$inboundSchema = objectType({
57994
+ currency: stringType(),
57995
+ value: stringType()
57996
+ });
57997
+ ListEntityChargebackSettlementAmount$outboundSchema = objectType({
57998
+ currency: stringType(),
57999
+ value: stringType()
58000
+ });
58001
+ ListEntityChargebackReason$inboundSchema = objectType({
58002
+ code: stringType(),
58003
+ description: stringType()
58004
+ });
58005
+ ListEntityChargebackReason$outboundSchema = objectType({
58006
+ code: stringType(),
58007
+ description: stringType()
58008
+ });
58009
+ ListEntityChargebackLinks$inboundSchema = objectType({
58010
+ self: Url$inboundSchema,
58011
+ payment: Url$inboundSchema,
58012
+ settlement: nullableType(UrlNullable$inboundSchema).optional()
58013
+ });
58014
+ ListEntityChargebackLinks$outboundSchema = objectType({
58015
+ self: Url$outboundSchema,
58016
+ payment: Url$outboundSchema,
58017
+ settlement: nullableType(UrlNullable$outboundSchema).optional()
58018
+ });
58019
+ ListEntityChargeback$inboundSchema = objectType({
58020
+ resource: stringType(),
58021
+ id: stringType(),
58022
+ amount: Amount$inboundSchema,
58023
+ settlementAmount: nullableType(lazyType(() => ListEntityChargebackSettlementAmount$inboundSchema)).optional(),
58024
+ reason: nullableType(lazyType(() => ListEntityChargebackReason$inboundSchema)).optional(),
58025
+ paymentId: stringType(),
58026
+ settlementId: nullableType(stringType()).optional(),
58027
+ createdAt: stringType(),
58028
+ reversedAt: nullableType(stringType()).optional(),
58029
+ _links: lazyType(() => ListEntityChargebackLinks$inboundSchema)
58030
+ }).transform((v2) => {
58031
+ return remap(v2, {
58032
+ _links: "links"
58033
+ });
58034
+ });
58035
+ ListEntityChargeback$outboundSchema = objectType({
58036
+ resource: stringType(),
58037
+ id: stringType(),
58038
+ amount: Amount$outboundSchema,
58039
+ settlementAmount: nullableType(lazyType(() => ListEntityChargebackSettlementAmount$outboundSchema)).optional(),
58040
+ reason: nullableType(lazyType(() => ListEntityChargebackReason$outboundSchema)).optional(),
58041
+ paymentId: stringType(),
58042
+ settlementId: nullableType(stringType()).optional(),
58043
+ createdAt: stringType(),
58044
+ reversedAt: nullableType(stringType()).optional(),
58045
+ links: lazyType(() => ListEntityChargebackLinks$outboundSchema)
58046
+ }).transform((v2) => {
58047
+ return remap(v2, {
58048
+ links: "_links"
58049
+ });
58050
+ });
58051
+ });
58052
+
58053
+ // src/models/listentityinvoice.ts
58054
+ var ListEntityInvoiceStatus, ListEntityInvoiceStatus$inboundSchema, ListEntityInvoiceStatus$outboundSchema, ListEntityInvoiceNetAmount$inboundSchema, ListEntityInvoiceNetAmount$outboundSchema, ListEntityInvoiceVatAmount$inboundSchema, ListEntityInvoiceVatAmount$outboundSchema, ListEntityInvoiceGrossAmount$inboundSchema, ListEntityInvoiceGrossAmount$outboundSchema, ListEntityInvoiceLine$inboundSchema, ListEntityInvoiceLine$outboundSchema, ListEntityInvoiceLinks$inboundSchema, ListEntityInvoiceLinks$outboundSchema, ListEntityInvoice$inboundSchema, ListEntityInvoice$outboundSchema;
58055
+ var init_listentityinvoice = __esm(() => {
58056
+ init_esm();
58057
+ init_primitives();
58058
+ init_enums();
58059
+ init_amount();
58060
+ init_url2();
58061
+ ListEntityInvoiceStatus = {
58062
+ Open: "open",
58063
+ Paid: "paid",
58064
+ Overdue: "overdue"
58065
+ };
58066
+ ListEntityInvoiceStatus$inboundSchema = inboundSchema(ListEntityInvoiceStatus);
58067
+ ListEntityInvoiceStatus$outboundSchema = outboundSchema(ListEntityInvoiceStatus);
58068
+ ListEntityInvoiceNetAmount$inboundSchema = objectType({
58069
+ currency: stringType(),
58070
+ value: stringType()
58071
+ });
58072
+ ListEntityInvoiceNetAmount$outboundSchema = objectType({
58073
+ currency: stringType(),
58074
+ value: stringType()
58075
+ });
58076
+ ListEntityInvoiceVatAmount$inboundSchema = objectType({
58077
+ currency: stringType(),
58078
+ value: stringType()
58079
+ });
58080
+ ListEntityInvoiceVatAmount$outboundSchema = objectType({
58081
+ currency: stringType(),
58082
+ value: stringType()
58083
+ });
58084
+ ListEntityInvoiceGrossAmount$inboundSchema = objectType({
58085
+ currency: stringType(),
58086
+ value: stringType()
58087
+ });
58088
+ ListEntityInvoiceGrossAmount$outboundSchema = objectType({
58089
+ currency: stringType(),
58090
+ value: stringType()
58091
+ });
58092
+ ListEntityInvoiceLine$inboundSchema = objectType({
58093
+ period: stringType(),
58094
+ description: stringType(),
58095
+ count: numberType().int(),
58096
+ vatPercentage: numberType().int(),
58097
+ amount: Amount$inboundSchema
58098
+ });
58099
+ ListEntityInvoiceLine$outboundSchema = objectType({
58100
+ period: stringType(),
58101
+ description: stringType(),
58102
+ count: numberType().int(),
58103
+ vatPercentage: numberType().int(),
58104
+ amount: Amount$outboundSchema
58105
+ });
58106
+ ListEntityInvoiceLinks$inboundSchema = objectType({
58107
+ self: Url$inboundSchema.optional(),
58108
+ pdf: Url$inboundSchema.optional()
58109
+ });
58110
+ ListEntityInvoiceLinks$outboundSchema = objectType({
58111
+ self: Url$outboundSchema.optional(),
58112
+ pdf: Url$outboundSchema.optional()
58113
+ });
58114
+ ListEntityInvoice$inboundSchema = objectType({
58115
+ resource: stringType(),
58116
+ id: stringType(),
58117
+ reference: stringType(),
58118
+ vatNumber: nullableType(stringType()),
58119
+ status: ListEntityInvoiceStatus$inboundSchema,
58120
+ netAmount: lazyType(() => ListEntityInvoiceNetAmount$inboundSchema),
58121
+ vatAmount: lazyType(() => ListEntityInvoiceVatAmount$inboundSchema),
58122
+ grossAmount: lazyType(() => ListEntityInvoiceGrossAmount$inboundSchema),
58123
+ lines: arrayType(lazyType(() => ListEntityInvoiceLine$inboundSchema)),
58124
+ issuedAt: stringType(),
58125
+ paidAt: nullableType(stringType()).optional(),
58126
+ dueAt: nullableType(stringType()).optional(),
58127
+ _links: lazyType(() => ListEntityInvoiceLinks$inboundSchema)
58128
+ }).transform((v2) => {
58129
+ return remap(v2, {
58130
+ _links: "links"
58131
+ });
58132
+ });
58133
+ ListEntityInvoice$outboundSchema = objectType({
58134
+ resource: stringType(),
58135
+ id: stringType(),
58136
+ reference: stringType(),
58137
+ vatNumber: nullableType(stringType()),
58138
+ status: ListEntityInvoiceStatus$outboundSchema,
58139
+ netAmount: lazyType(() => ListEntityInvoiceNetAmount$outboundSchema),
58140
+ vatAmount: lazyType(() => ListEntityInvoiceVatAmount$outboundSchema),
58141
+ grossAmount: lazyType(() => ListEntityInvoiceGrossAmount$outboundSchema),
58142
+ lines: arrayType(lazyType(() => ListEntityInvoiceLine$outboundSchema)),
58143
+ issuedAt: stringType(),
58144
+ paidAt: nullableType(stringType()).optional(),
58145
+ dueAt: nullableType(stringType()).optional(),
58146
+ links: lazyType(() => ListEntityInvoiceLinks$outboundSchema)
58147
+ }).transform((v2) => {
58148
+ return remap(v2, {
58149
+ links: "_links"
58150
+ });
58151
+ });
58152
+ });
58153
+
58154
+ // src/models/listentitymethod.ts
58155
+ var ListEntityMethodId, ListEntityMethodId$inboundSchema, ListEntityMethodId$outboundSchema, ListEntityMethodMinimumAmount$inboundSchema, ListEntityMethodMinimumAmount$outboundSchema, ListEntityMethodMaximumAmount$inboundSchema, ListEntityMethodMaximumAmount$outboundSchema, ListEntityMethodImage$inboundSchema, ListEntityMethodImage$outboundSchema, ListEntityMethodIssuerImage$inboundSchema, ListEntityMethodIssuerImage$outboundSchema, ListEntityMethodIssuer$inboundSchema, ListEntityMethodIssuer$outboundSchema, ListEntityMethodLinks$inboundSchema, ListEntityMethodLinks$outboundSchema, ListEntityMethod$inboundSchema, ListEntityMethod$outboundSchema;
58156
+ var init_listentitymethod = __esm(() => {
58157
+ init_esm();
58158
+ init_primitives();
58159
+ init_enums();
58160
+ init_methodstatus();
58161
+ init_url2();
58162
+ ListEntityMethodId = {
58163
+ Alma: "alma",
58164
+ Applepay: "applepay",
58165
+ Bacs: "bacs",
58166
+ Bancomatpay: "bancomatpay",
58167
+ Bancontact: "bancontact",
58168
+ Banktransfer: "banktransfer",
58169
+ Belfius: "belfius",
58170
+ Billie: "billie",
58171
+ Bizum: "bizum",
58172
+ Blik: "blik",
58173
+ Creditcard: "creditcard",
58174
+ Directdebit: "directdebit",
58175
+ Eps: "eps",
58176
+ Giftcard: "giftcard",
58177
+ Ideal: "ideal",
58178
+ In3: "in3",
58179
+ Kbc: "kbc",
58180
+ Klarna: "klarna",
58181
+ Mbway: "mbway",
58182
+ Mobilepay: "mobilepay",
58183
+ Multibanco: "multibanco",
58184
+ Mybank: "mybank",
58185
+ Paybybank: "paybybank",
58186
+ Paypal: "paypal",
58187
+ Paysafecard: "paysafecard",
58188
+ Pointofsale: "pointofsale",
58189
+ Przelewy24: "przelewy24",
58190
+ Riverty: "riverty",
58191
+ Satispay: "satispay",
58192
+ Swish: "swish",
58193
+ Trustly: "trustly",
58194
+ Twint: "twint",
58195
+ Vipps: "vipps",
58196
+ Voucher: "voucher",
58197
+ Klarnapaylater: "klarnapaylater",
58198
+ Klarnapaynow: "klarnapaynow",
58199
+ Klarnasliceit: "klarnasliceit",
58200
+ Payconiq: "payconiq"
58201
+ };
58202
+ ListEntityMethodId$inboundSchema = inboundSchema(ListEntityMethodId);
58203
+ ListEntityMethodId$outboundSchema = outboundSchema(ListEntityMethodId);
58204
+ ListEntityMethodMinimumAmount$inboundSchema = objectType({
58205
+ currency: stringType(),
58206
+ value: stringType()
58207
+ });
58208
+ ListEntityMethodMinimumAmount$outboundSchema = objectType({
58209
+ currency: stringType(),
58210
+ value: stringType()
58211
+ });
58212
+ ListEntityMethodMaximumAmount$inboundSchema = objectType({
58213
+ currency: stringType(),
58214
+ value: stringType()
58215
+ });
58216
+ ListEntityMethodMaximumAmount$outboundSchema = objectType({
58217
+ currency: stringType(),
58218
+ value: stringType()
58219
+ });
58220
+ ListEntityMethodImage$inboundSchema = objectType({
58221
+ size1x: stringType(),
58222
+ size2x: stringType(),
58223
+ svg: stringType()
58224
+ });
58225
+ ListEntityMethodImage$outboundSchema = objectType({
58226
+ size1x: stringType(),
58227
+ size2x: stringType(),
58228
+ svg: stringType()
58229
+ });
58230
+ ListEntityMethodIssuerImage$inboundSchema = objectType({
58231
+ size1x: stringType().optional(),
58232
+ size2x: stringType().optional(),
58233
+ svg: stringType().optional()
58234
+ });
58235
+ ListEntityMethodIssuerImage$outboundSchema = objectType({
58236
+ size1x: stringType().optional(),
58237
+ size2x: stringType().optional(),
58238
+ svg: stringType().optional()
58239
+ });
58240
+ ListEntityMethodIssuer$inboundSchema = objectType({
58241
+ resource: stringType(),
58242
+ id: stringType(),
58243
+ name: stringType(),
58244
+ image: lazyType(() => ListEntityMethodIssuerImage$inboundSchema)
58245
+ });
58246
+ ListEntityMethodIssuer$outboundSchema = objectType({
58247
+ resource: stringType(),
58248
+ id: stringType(),
58249
+ name: stringType(),
58250
+ image: lazyType(() => ListEntityMethodIssuerImage$outboundSchema)
58251
+ });
58252
+ ListEntityMethodLinks$inboundSchema = objectType({
58253
+ self: Url$inboundSchema
58254
+ });
58255
+ ListEntityMethodLinks$outboundSchema = objectType({
58256
+ self: Url$outboundSchema
58257
+ });
58258
+ ListEntityMethod$inboundSchema = objectType({
58259
+ resource: stringType(),
58260
+ id: nullableType(ListEntityMethodId$inboundSchema),
58261
+ description: stringType(),
58262
+ minimumAmount: lazyType(() => ListEntityMethodMinimumAmount$inboundSchema),
58263
+ maximumAmount: nullableType(lazyType(() => ListEntityMethodMaximumAmount$inboundSchema)),
58264
+ image: lazyType(() => ListEntityMethodImage$inboundSchema),
58265
+ status: nullableType(MethodStatus$inboundSchema),
58266
+ issuers: arrayType(lazyType(() => ListEntityMethodIssuer$inboundSchema)).optional(),
58267
+ _links: lazyType(() => ListEntityMethodLinks$inboundSchema)
58268
+ }).transform((v2) => {
58269
+ return remap(v2, {
58270
+ _links: "links"
58271
+ });
58272
+ });
58273
+ ListEntityMethod$outboundSchema = objectType({
58274
+ resource: stringType(),
58275
+ id: nullableType(ListEntityMethodId$outboundSchema),
58276
+ description: stringType(),
58277
+ minimumAmount: lazyType(() => ListEntityMethodMinimumAmount$outboundSchema),
58278
+ maximumAmount: nullableType(lazyType(() => ListEntityMethodMaximumAmount$outboundSchema)),
58279
+ image: lazyType(() => ListEntityMethodImage$outboundSchema),
58280
+ status: nullableType(MethodStatus$outboundSchema),
58281
+ issuers: arrayType(lazyType(() => ListEntityMethodIssuer$outboundSchema)).optional(),
58282
+ links: lazyType(() => ListEntityMethodLinks$outboundSchema)
58283
+ }).transform((v2) => {
58284
+ return remap(v2, {
58285
+ links: "_links"
58286
+ });
58287
+ });
58288
+ });
58289
+
58290
+ // src/models/listentitymethodall.ts
58291
+ var ListEntityMethodAllId, ListEntityMethodAllId$inboundSchema, ListEntityMethodAllId$outboundSchema, ListEntityMethodAllMinimumAmount$inboundSchema, ListEntityMethodAllMinimumAmount$outboundSchema, ListEntityMethodAllMaximumAmount$inboundSchema, ListEntityMethodAllMaximumAmount$outboundSchema, ListEntityMethodAllImage$inboundSchema, ListEntityMethodAllImage$outboundSchema, ListEntityMethodAllIssuerImage$inboundSchema, ListEntityMethodAllIssuerImage$outboundSchema, ListEntityMethodAllIssuer$inboundSchema, ListEntityMethodAllIssuer$outboundSchema, ListEntityMethodAllLinks$inboundSchema, ListEntityMethodAllLinks$outboundSchema, Pricing$inboundSchema, Pricing$outboundSchema, ListEntityMethodAll$inboundSchema, ListEntityMethodAll$outboundSchema;
58292
+ var init_listentitymethodall = __esm(() => {
58293
+ init_esm();
58294
+ init_primitives();
58295
+ init_enums();
58296
+ init_amount();
58297
+ init_methodstatus();
58298
+ init_url2();
58299
+ ListEntityMethodAllId = {
58300
+ Alma: "alma",
58301
+ Applepay: "applepay",
58302
+ Bacs: "bacs",
58303
+ Bancomatpay: "bancomatpay",
58304
+ Bancontact: "bancontact",
58305
+ Banktransfer: "banktransfer",
58306
+ Belfius: "belfius",
58307
+ Billie: "billie",
58308
+ Bizum: "bizum",
58309
+ Blik: "blik",
58310
+ Creditcard: "creditcard",
58311
+ Directdebit: "directdebit",
58312
+ Eps: "eps",
58313
+ Giftcard: "giftcard",
58314
+ Ideal: "ideal",
58315
+ In3: "in3",
58316
+ Kbc: "kbc",
58317
+ Klarna: "klarna",
58318
+ Mbway: "mbway",
58319
+ Mobilepay: "mobilepay",
58320
+ Multibanco: "multibanco",
58321
+ Mybank: "mybank",
58322
+ Paybybank: "paybybank",
58323
+ Paypal: "paypal",
58324
+ Paysafecard: "paysafecard",
58325
+ Pointofsale: "pointofsale",
58326
+ Przelewy24: "przelewy24",
58327
+ Riverty: "riverty",
58328
+ Satispay: "satispay",
58329
+ Swish: "swish",
58330
+ Trustly: "trustly",
58331
+ Twint: "twint",
58332
+ Vipps: "vipps",
58333
+ Voucher: "voucher",
58334
+ Klarnapaylater: "klarnapaylater",
58335
+ Klarnapaynow: "klarnapaynow",
58336
+ Klarnasliceit: "klarnasliceit",
58337
+ Payconiq: "payconiq"
58338
+ };
58339
+ ListEntityMethodAllId$inboundSchema = inboundSchema(ListEntityMethodAllId);
58340
+ ListEntityMethodAllId$outboundSchema = outboundSchema(ListEntityMethodAllId);
58341
+ ListEntityMethodAllMinimumAmount$inboundSchema = objectType({
58342
+ currency: stringType(),
58343
+ value: stringType()
58344
+ });
58345
+ ListEntityMethodAllMinimumAmount$outboundSchema = objectType({
58346
+ currency: stringType(),
58347
+ value: stringType()
58348
+ });
58349
+ ListEntityMethodAllMaximumAmount$inboundSchema = objectType({
58350
+ currency: stringType(),
58351
+ value: stringType()
58352
+ });
58353
+ ListEntityMethodAllMaximumAmount$outboundSchema = objectType({
58354
+ currency: stringType(),
58355
+ value: stringType()
58356
+ });
58357
+ ListEntityMethodAllImage$inboundSchema = objectType({
58358
+ size1x: stringType(),
58359
+ size2x: stringType(),
58360
+ svg: stringType()
58361
+ });
58362
+ ListEntityMethodAllImage$outboundSchema = objectType({
58363
+ size1x: stringType(),
58364
+ size2x: stringType(),
58365
+ svg: stringType()
58366
+ });
58367
+ ListEntityMethodAllIssuerImage$inboundSchema = objectType({
58368
+ size1x: stringType().optional(),
58369
+ size2x: stringType().optional(),
58370
+ svg: stringType().optional()
58371
+ });
58372
+ ListEntityMethodAllIssuerImage$outboundSchema = objectType({
58373
+ size1x: stringType().optional(),
58374
+ size2x: stringType().optional(),
58375
+ svg: stringType().optional()
58376
+ });
58377
+ ListEntityMethodAllIssuer$inboundSchema = objectType({
58378
+ resource: stringType(),
58379
+ id: stringType(),
58380
+ name: stringType(),
58381
+ image: lazyType(() => ListEntityMethodAllIssuerImage$inboundSchema)
58382
+ });
58383
+ ListEntityMethodAllIssuer$outboundSchema = objectType({
58384
+ resource: stringType(),
58385
+ id: stringType(),
58386
+ name: stringType(),
58387
+ image: lazyType(() => ListEntityMethodAllIssuerImage$outboundSchema)
58388
+ });
58389
+ ListEntityMethodAllLinks$inboundSchema = objectType({
58390
+ self: Url$inboundSchema
58391
+ });
58392
+ ListEntityMethodAllLinks$outboundSchema = objectType({
58393
+ self: Url$outboundSchema
58394
+ });
58395
+ Pricing$inboundSchema = objectType({
58396
+ description: stringType(),
58397
+ fixed: Amount$inboundSchema,
58398
+ variable: stringType(),
58399
+ feeRegion: nullableType(stringType()).optional()
58400
+ });
58401
+ Pricing$outboundSchema = objectType({
58402
+ description: stringType(),
58403
+ fixed: Amount$outboundSchema,
58404
+ variable: stringType(),
58405
+ feeRegion: nullableType(stringType()).optional()
58406
+ });
58407
+ ListEntityMethodAll$inboundSchema = objectType({
58408
+ resource: stringType(),
58409
+ id: nullableType(ListEntityMethodAllId$inboundSchema),
58410
+ description: stringType(),
58411
+ minimumAmount: lazyType(() => ListEntityMethodAllMinimumAmount$inboundSchema),
58412
+ maximumAmount: nullableType(lazyType(() => ListEntityMethodAllMaximumAmount$inboundSchema)),
58413
+ image: lazyType(() => ListEntityMethodAllImage$inboundSchema),
58414
+ status: nullableType(MethodStatus$inboundSchema),
58415
+ issuers: arrayType(lazyType(() => ListEntityMethodAllIssuer$inboundSchema)).optional(),
58416
+ _links: lazyType(() => ListEntityMethodAllLinks$inboundSchema),
58417
+ pricing: arrayType(lazyType(() => Pricing$inboundSchema)).optional()
58418
+ }).transform((v2) => {
58419
+ return remap(v2, {
58420
+ _links: "links"
58421
+ });
58422
+ });
58423
+ ListEntityMethodAll$outboundSchema = objectType({
58424
+ resource: stringType(),
58425
+ id: nullableType(ListEntityMethodAllId$outboundSchema),
58426
+ description: stringType(),
58427
+ minimumAmount: lazyType(() => ListEntityMethodAllMinimumAmount$outboundSchema),
58428
+ maximumAmount: nullableType(lazyType(() => ListEntityMethodAllMaximumAmount$outboundSchema)),
58429
+ image: lazyType(() => ListEntityMethodAllImage$outboundSchema),
58430
+ status: nullableType(MethodStatus$outboundSchema),
58431
+ issuers: arrayType(lazyType(() => ListEntityMethodAllIssuer$outboundSchema)).optional(),
58432
+ links: lazyType(() => ListEntityMethodAllLinks$outboundSchema),
58433
+ pricing: arrayType(lazyType(() => Pricing$outboundSchema)).optional()
58434
+ }).transform((v2) => {
58435
+ return remap(v2, {
58436
+ links: "_links"
58437
+ });
58438
+ });
58439
+ });
58440
+
58441
+ // src/models/listentitypermission.ts
58442
+ var ListEntityPermissionLinks$inboundSchema, ListEntityPermissionLinks$outboundSchema, ListEntityPermission$inboundSchema, ListEntityPermission$outboundSchema;
58443
+ var init_listentitypermission = __esm(() => {
58444
+ init_esm();
58445
+ init_primitives();
58446
+ init_url2();
58447
+ ListEntityPermissionLinks$inboundSchema = objectType({
58448
+ self: Url$inboundSchema.optional()
58449
+ });
58450
+ ListEntityPermissionLinks$outboundSchema = objectType({
58451
+ self: Url$outboundSchema.optional()
58452
+ });
58453
+ ListEntityPermission$inboundSchema = objectType({
58454
+ resource: stringType(),
58455
+ id: stringType(),
58456
+ description: stringType(),
58457
+ granted: booleanType(),
58458
+ _links: lazyType(() => ListEntityPermissionLinks$inboundSchema)
58459
+ }).transform((v2) => {
58460
+ return remap(v2, {
58461
+ _links: "links"
58462
+ });
58463
+ });
58464
+ ListEntityPermission$outboundSchema = objectType({
58465
+ resource: stringType(),
58466
+ id: stringType(),
58467
+ description: stringType(),
58468
+ granted: booleanType(),
58469
+ links: lazyType(() => ListEntityPermissionLinks$outboundSchema)
58470
+ }).transform((v2) => {
58471
+ return remap(v2, {
58472
+ links: "_links"
58473
+ });
58474
+ });
58475
+ });
58476
+
58477
+ // src/models/listentityrefund.ts
58478
+ var ListEntityRefundStatus, ListEntityRefundSettlementAmount$inboundSchema, ListEntityRefundSettlementAmount$outboundSchema, ListEntityRefundStatus$inboundSchema, ListEntityRefundStatus$outboundSchema, ListEntityRefundExternalReference$inboundSchema, ListEntityRefundExternalReference$outboundSchema, ListEntityRefundSource$inboundSchema, ListEntityRefundSource$outboundSchema, ListEntityRefundRoutingReversal$inboundSchema, ListEntityRefundRoutingReversal$outboundSchema, ListEntityRefundLinks$inboundSchema, ListEntityRefundLinks$outboundSchema, ListEntityRefund$inboundSchema, ListEntityRefund$outboundSchema;
58479
+ var init_listentityrefund = __esm(() => {
58480
+ init_esm();
58481
+ init_primitives();
58482
+ init_enums();
58483
+ init_amount();
58484
+ init_metadata();
58485
+ init_mode();
58486
+ init_refundexternalreferencetyperesponse();
58487
+ init_url2();
58488
+ init_urlnullable();
58489
+ ListEntityRefundStatus = {
58490
+ Queued: "queued",
58491
+ Pending: "pending",
58492
+ Processing: "processing",
58493
+ Refunded: "refunded",
58494
+ Failed: "failed",
58495
+ Canceled: "canceled"
58496
+ };
58497
+ ListEntityRefundSettlementAmount$inboundSchema = objectType({
58498
+ currency: stringType(),
58499
+ value: stringType()
58500
+ });
58501
+ ListEntityRefundSettlementAmount$outboundSchema = objectType({
58502
+ currency: stringType(),
58503
+ value: stringType()
58504
+ });
58505
+ ListEntityRefundStatus$inboundSchema = inboundSchema(ListEntityRefundStatus);
58506
+ ListEntityRefundStatus$outboundSchema = outboundSchema(ListEntityRefundStatus);
58507
+ ListEntityRefundExternalReference$inboundSchema = objectType({
58508
+ type: RefundExternalReferenceTypeResponse$inboundSchema.optional(),
58509
+ id: stringType().optional()
58510
+ });
58511
+ ListEntityRefundExternalReference$outboundSchema = objectType({
58512
+ type: RefundExternalReferenceTypeResponse$outboundSchema.optional(),
58513
+ id: stringType().optional()
58514
+ });
58515
+ ListEntityRefundSource$inboundSchema = objectType({
58516
+ organizationId: stringType().optional()
58517
+ });
58518
+ ListEntityRefundSource$outboundSchema = objectType({
58519
+ organizationId: stringType().optional()
58520
+ });
58521
+ ListEntityRefundRoutingReversal$inboundSchema = objectType({
58522
+ amount: Amount$inboundSchema.optional(),
58523
+ source: lazyType(() => ListEntityRefundSource$inboundSchema).optional()
58524
+ });
58525
+ ListEntityRefundRoutingReversal$outboundSchema = objectType({
58526
+ amount: Amount$outboundSchema.optional(),
58527
+ source: lazyType(() => ListEntityRefundSource$outboundSchema).optional()
58528
+ });
58529
+ ListEntityRefundLinks$inboundSchema = objectType({
58530
+ self: Url$inboundSchema,
58531
+ payment: Url$inboundSchema,
58532
+ settlement: nullableType(UrlNullable$inboundSchema).optional()
58533
+ });
58534
+ ListEntityRefundLinks$outboundSchema = objectType({
58535
+ self: Url$outboundSchema,
58536
+ payment: Url$outboundSchema,
58537
+ settlement: nullableType(UrlNullable$outboundSchema).optional()
58538
+ });
58539
+ ListEntityRefund$inboundSchema = objectType({
58540
+ resource: stringType(),
58541
+ id: stringType(),
58542
+ mode: Mode$inboundSchema,
58543
+ description: stringType(),
58544
+ amount: Amount$inboundSchema,
58545
+ settlementAmount: nullableType(lazyType(() => ListEntityRefundSettlementAmount$inboundSchema)).optional(),
58546
+ metadata: nullableType(Metadata$inboundSchema),
58547
+ paymentId: stringType().optional(),
58548
+ settlementId: nullableType(stringType()).optional(),
58549
+ status: ListEntityRefundStatus$inboundSchema,
58550
+ createdAt: stringType(),
58551
+ externalReference: lazyType(() => ListEntityRefundExternalReference$inboundSchema).optional(),
58552
+ routingReversals: nullableType(arrayType(lazyType(() => ListEntityRefundRoutingReversal$inboundSchema))).optional(),
58553
+ _links: lazyType(() => ListEntityRefundLinks$inboundSchema)
58554
+ }).transform((v2) => {
58555
+ return remap(v2, {
58556
+ _links: "links"
58557
+ });
58558
+ });
58559
+ ListEntityRefund$outboundSchema = objectType({
58560
+ resource: stringType(),
58561
+ id: stringType(),
58562
+ mode: Mode$outboundSchema,
58563
+ description: stringType(),
58564
+ amount: Amount$outboundSchema,
58565
+ settlementAmount: nullableType(lazyType(() => ListEntityRefundSettlementAmount$outboundSchema)).optional(),
58566
+ metadata: nullableType(Metadata$outboundSchema),
58567
+ paymentId: stringType().optional(),
58568
+ settlementId: nullableType(stringType()).optional(),
58569
+ status: ListEntityRefundStatus$outboundSchema,
58570
+ createdAt: stringType(),
58571
+ externalReference: lazyType(() => ListEntityRefundExternalReference$outboundSchema).optional(),
58572
+ routingReversals: nullableType(arrayType(lazyType(() => ListEntityRefundRoutingReversal$outboundSchema))).optional(),
58573
+ links: lazyType(() => ListEntityRefundLinks$outboundSchema)
58574
+ }).transform((v2) => {
58575
+ return remap(v2, {
58576
+ links: "_links"
58577
+ });
58578
+ });
58579
+ });
58580
+
58581
+ // src/models/listentitysettlement.ts
58582
+ var ListEntitySettlementStatus, ListEntitySettlementStatus$inboundSchema, ListEntitySettlementStatus$outboundSchema, ListEntitySettlementAmount$inboundSchema, ListEntitySettlementAmount$outboundSchema, ListEntitySettlementRate$inboundSchema, ListEntitySettlementRate$outboundSchema, ListEntitySettlementCost$inboundSchema, ListEntitySettlementCost$outboundSchema, ListEntitySettlementRevenue$inboundSchema, ListEntitySettlementRevenue$outboundSchema, ListEntitySettlementPeriods$inboundSchema, ListEntitySettlementPeriods$outboundSchema, ListEntitySettlementLinks$inboundSchema, ListEntitySettlementLinks$outboundSchema, ListEntitySettlement$inboundSchema, ListEntitySettlement$outboundSchema;
58583
+ var init_listentitysettlement = __esm(() => {
58584
+ init_esm();
58585
+ init_primitives();
58586
+ init_enums();
58587
+ init_amount();
58588
+ init_amountnullable();
58589
+ init_paymentmethod();
58590
+ init_url2();
58591
+ init_urlnullable();
58592
+ ListEntitySettlementStatus = {
58593
+ Open: "open",
58594
+ Pending: "pending",
58595
+ Paidout: "paidout",
58596
+ Failed: "failed"
58597
+ };
58598
+ ListEntitySettlementStatus$inboundSchema = inboundSchema(ListEntitySettlementStatus);
58599
+ ListEntitySettlementStatus$outboundSchema = outboundSchema(ListEntitySettlementStatus);
58600
+ ListEntitySettlementAmount$inboundSchema = objectType({
58601
+ currency: stringType(),
58602
+ value: stringType()
58603
+ });
58604
+ ListEntitySettlementAmount$outboundSchema = objectType({
58605
+ currency: stringType(),
58606
+ value: stringType()
58607
+ });
58608
+ ListEntitySettlementRate$inboundSchema = objectType({
58609
+ fixed: Amount$inboundSchema.optional(),
58610
+ percentage: stringType().optional()
58611
+ });
58612
+ ListEntitySettlementRate$outboundSchema = objectType({
58613
+ fixed: Amount$outboundSchema.optional(),
58614
+ percentage: stringType().optional()
58615
+ });
58616
+ ListEntitySettlementCost$inboundSchema = objectType({
58617
+ description: stringType(),
58618
+ method: nullableType(PaymentMethod$inboundSchema),
58619
+ count: numberType().int(),
58620
+ rate: lazyType(() => ListEntitySettlementRate$inboundSchema),
58621
+ amountNet: Amount$inboundSchema,
58622
+ amountVat: nullableType(AmountNullable$inboundSchema),
58623
+ amountGross: Amount$inboundSchema
58624
+ });
58625
+ ListEntitySettlementCost$outboundSchema = objectType({
58626
+ description: stringType(),
58627
+ method: nullableType(PaymentMethod$outboundSchema),
58628
+ count: numberType().int(),
58629
+ rate: lazyType(() => ListEntitySettlementRate$outboundSchema),
58630
+ amountNet: Amount$outboundSchema,
58631
+ amountVat: nullableType(AmountNullable$outboundSchema),
58632
+ amountGross: Amount$outboundSchema
58633
+ });
58634
+ ListEntitySettlementRevenue$inboundSchema = objectType({
58635
+ description: stringType(),
58636
+ method: nullableType(PaymentMethod$inboundSchema),
58637
+ count: numberType().int(),
58638
+ amountNet: Amount$inboundSchema,
58639
+ amountVat: nullableType(AmountNullable$inboundSchema),
58640
+ amountGross: Amount$inboundSchema
58641
+ });
58642
+ ListEntitySettlementRevenue$outboundSchema = objectType({
58643
+ description: stringType(),
58644
+ method: nullableType(PaymentMethod$outboundSchema),
58645
+ count: numberType().int(),
58646
+ amountNet: Amount$outboundSchema,
58647
+ amountVat: nullableType(AmountNullable$outboundSchema),
58648
+ amountGross: Amount$outboundSchema
58649
+ });
58650
+ ListEntitySettlementPeriods$inboundSchema = objectType({
58651
+ costs: arrayType(lazyType(() => ListEntitySettlementCost$inboundSchema)).optional(),
58652
+ revenue: arrayType(lazyType(() => ListEntitySettlementRevenue$inboundSchema)).optional(),
58653
+ invoiceId: stringType().optional(),
58654
+ invoiceReference: nullableType(stringType()).optional()
58655
+ });
58656
+ ListEntitySettlementPeriods$outboundSchema = objectType({
58657
+ costs: arrayType(lazyType(() => ListEntitySettlementCost$outboundSchema)).optional(),
58658
+ revenue: arrayType(lazyType(() => ListEntitySettlementRevenue$outboundSchema)).optional(),
58659
+ invoiceId: stringType().optional(),
58660
+ invoiceReference: nullableType(stringType()).optional()
58661
+ });
58662
+ ListEntitySettlementLinks$inboundSchema = objectType({
58663
+ self: Url$inboundSchema,
58664
+ payments: Url$inboundSchema.optional(),
58665
+ captures: Url$inboundSchema.optional(),
58666
+ refunds: Url$inboundSchema.optional(),
58667
+ chargebacks: Url$inboundSchema.optional(),
58668
+ invoice: nullableType(UrlNullable$inboundSchema).optional()
58669
+ });
58670
+ ListEntitySettlementLinks$outboundSchema = objectType({
58671
+ self: Url$outboundSchema,
58672
+ payments: Url$outboundSchema.optional(),
58673
+ captures: Url$outboundSchema.optional(),
58674
+ refunds: Url$outboundSchema.optional(),
58675
+ chargebacks: Url$outboundSchema.optional(),
58676
+ invoice: nullableType(UrlNullable$outboundSchema).optional()
58677
+ });
58678
+ ListEntitySettlement$inboundSchema = objectType({
58679
+ resource: stringType(),
58680
+ id: stringType(),
58681
+ createdAt: stringType().optional(),
58682
+ reference: nullableType(stringType()).optional(),
58683
+ settledAt: nullableType(stringType()).optional(),
58684
+ status: ListEntitySettlementStatus$inboundSchema,
58685
+ amount: lazyType(() => ListEntitySettlementAmount$inboundSchema),
58686
+ balanceId: stringType(),
58687
+ invoiceId: nullableType(stringType()).optional(),
58688
+ periods: recordType(recordType(lazyType(() => ListEntitySettlementPeriods$inboundSchema))).optional(),
58689
+ _links: lazyType(() => ListEntitySettlementLinks$inboundSchema)
58690
+ }).transform((v2) => {
58691
+ return remap(v2, {
58692
+ _links: "links"
58693
+ });
58694
+ });
58695
+ ListEntitySettlement$outboundSchema = objectType({
58696
+ resource: stringType(),
58697
+ id: stringType(),
58698
+ createdAt: stringType().optional(),
58699
+ reference: nullableType(stringType()).optional(),
58700
+ settledAt: nullableType(stringType()).optional(),
58701
+ status: ListEntitySettlementStatus$outboundSchema,
58702
+ amount: lazyType(() => ListEntitySettlementAmount$outboundSchema),
58703
+ balanceId: stringType(),
58704
+ invoiceId: nullableType(stringType()).optional(),
58705
+ periods: recordType(recordType(lazyType(() => ListEntitySettlementPeriods$outboundSchema))).optional(),
58706
+ links: lazyType(() => ListEntitySettlementLinks$outboundSchema)
58707
+ }).transform((v2) => {
58708
+ return remap(v2, {
58709
+ links: "_links"
58710
+ });
58711
+ });
58712
+ });
58713
+
58714
+ // src/models/listentityterminal.ts
58715
+ var ListEntityTerminalStatus, ListEntityTerminalStatus$inboundSchema, ListEntityTerminalStatus$outboundSchema, ListEntityTerminalLinks$inboundSchema, ListEntityTerminalLinks$outboundSchema, ListEntityTerminal$inboundSchema, ListEntityTerminal$outboundSchema;
58716
+ var init_listentityterminal = __esm(() => {
58717
+ init_esm();
58718
+ init_primitives();
58719
+ init_enums();
58720
+ init_mode();
58721
+ init_terminalbrand();
58722
+ init_terminalmodel();
58723
+ init_url2();
58724
+ ListEntityTerminalStatus = {
58725
+ Pending: "pending",
58726
+ Active: "active",
58727
+ Inactive: "inactive"
58728
+ };
58729
+ ListEntityTerminalStatus$inboundSchema = inboundSchema(ListEntityTerminalStatus);
58730
+ ListEntityTerminalStatus$outboundSchema = outboundSchema(ListEntityTerminalStatus);
58731
+ ListEntityTerminalLinks$inboundSchema = objectType({
58732
+ self: Url$inboundSchema
58733
+ });
58734
+ ListEntityTerminalLinks$outboundSchema = objectType({
58735
+ self: Url$outboundSchema
58736
+ });
58737
+ ListEntityTerminal$inboundSchema = objectType({
58738
+ resource: stringType(),
58739
+ id: stringType(),
58740
+ mode: Mode$inboundSchema,
58741
+ description: stringType(),
58742
+ status: ListEntityTerminalStatus$inboundSchema,
58743
+ brand: nullableType(TerminalBrand$inboundSchema),
58744
+ model: nullableType(TerminalModel$inboundSchema),
58745
+ serialNumber: nullableType(stringType()),
58746
+ currency: stringType(),
58747
+ profileId: stringType(),
58748
+ createdAt: stringType(),
58749
+ updatedAt: stringType(),
58750
+ _links: lazyType(() => ListEntityTerminalLinks$inboundSchema)
58751
+ }).transform((v2) => {
58752
+ return remap(v2, {
58753
+ _links: "links"
58754
+ });
58755
+ });
58756
+ ListEntityTerminal$outboundSchema = objectType({
58757
+ resource: stringType(),
58758
+ id: stringType(),
58759
+ mode: Mode$outboundSchema,
58760
+ description: stringType(),
58761
+ status: ListEntityTerminalStatus$outboundSchema,
58762
+ brand: nullableType(TerminalBrand$outboundSchema),
58763
+ model: nullableType(TerminalModel$outboundSchema),
58764
+ serialNumber: nullableType(stringType()),
58765
+ currency: stringType(),
58766
+ profileId: stringType(),
58767
+ createdAt: stringType(),
58768
+ updatedAt: stringType(),
58769
+ links: lazyType(() => ListEntityTerminalLinks$outboundSchema)
58770
+ }).transform((v2) => {
58771
+ return remap(v2, {
58772
+ links: "_links"
58773
+ });
58774
+ });
58775
+ });
58776
+
58777
+ // src/models/listentitywebhook.ts
58778
+ var ListEntityWebhookLinks$inboundSchema, ListEntityWebhookLinks$outboundSchema, ListEntityWebhook$inboundSchema, ListEntityWebhook$outboundSchema;
58779
+ var init_listentitywebhook = __esm(() => {
58780
+ init_esm();
58781
+ init_primitives();
58782
+ init_mode();
58783
+ init_url2();
58784
+ init_webhookeventtypes();
58785
+ init_webhookstatus();
58786
+ ListEntityWebhookLinks$inboundSchema = objectType({
58787
+ self: Url$inboundSchema
58788
+ });
58789
+ ListEntityWebhookLinks$outboundSchema = objectType({
58790
+ self: Url$outboundSchema
58791
+ });
58792
+ ListEntityWebhook$inboundSchema = objectType({
58793
+ resource: stringType(),
58794
+ id: stringType(),
58795
+ url: stringType(),
58796
+ profileId: nullableType(stringType()),
58797
+ createdAt: stringType(),
58798
+ name: stringType(),
58799
+ eventTypes: arrayType(WebhookEventTypes$inboundSchema),
58800
+ status: WebhookStatus$inboundSchema,
58801
+ mode: Mode$inboundSchema,
58802
+ _links: lazyType(() => ListEntityWebhookLinks$inboundSchema)
58803
+ }).transform((v2) => {
58804
+ return remap(v2, {
58805
+ _links: "links"
58806
+ });
58807
+ });
58808
+ ListEntityWebhook$outboundSchema = objectType({
58809
+ resource: stringType(),
58810
+ id: stringType(),
58811
+ url: stringType(),
58812
+ profileId: nullableType(stringType()),
58813
+ createdAt: stringType(),
58814
+ name: stringType(),
58815
+ eventTypes: arrayType(WebhookEventTypes$outboundSchema),
58816
+ status: WebhookStatus$outboundSchema,
58817
+ mode: Mode$outboundSchema,
58818
+ links: lazyType(() => ListEntityWebhookLinks$outboundSchema)
58819
+ }).transform((v2) => {
58820
+ return remap(v2, {
58821
+ links: "_links"
58822
+ });
58823
+ });
58824
+ });
58825
+
58826
+ // src/models/listlinks.ts
58827
+ var ListLinks$inboundSchema, ListLinks$outboundSchema;
58828
+ var init_listlinks = __esm(() => {
58829
+ init_esm();
58830
+ init_url2();
58831
+ init_urlnullable();
58832
+ ListLinks$inboundSchema = objectType({
58833
+ self: Url$inboundSchema,
58834
+ previous: nullableType(UrlNullable$inboundSchema),
58835
+ next: nullableType(UrlNullable$inboundSchema),
58836
+ documentation: Url$inboundSchema
58837
+ });
58838
+ ListLinks$outboundSchema = objectType({
58839
+ self: Url$outboundSchema,
58840
+ previous: nullableType(UrlNullable$outboundSchema),
58841
+ next: nullableType(UrlNullable$outboundSchema),
58842
+ documentation: Url$outboundSchema
58843
+ });
58844
+ });
58845
+
58846
+ // src/models/mandatedetailscardlabelresponse.ts
58847
+ var MandateDetailsCardLabelResponse, MandateDetailsCardLabelResponse$inboundSchema, MandateDetailsCardLabelResponse$outboundSchema;
58848
+ var init_mandatedetailscardlabelresponse = __esm(() => {
58849
+ init_enums();
58850
+ MandateDetailsCardLabelResponse = {
58851
+ AmericanExpress: "American Express",
58852
+ CartaSi: "Carta Si",
58853
+ CarteBleue: "Carte Bleue",
58854
+ Dankort: "Dankort",
58855
+ DinersClub: "Diners Club",
58856
+ Discover: "Discover",
58857
+ Jcb: "JCB",
58858
+ Laser: "Laser",
58859
+ Maestro: "Maestro",
58860
+ Mastercard: "Mastercard",
58861
+ Unionpay: "Unionpay",
58862
+ Visa: "Visa"
58863
+ };
58864
+ MandateDetailsCardLabelResponse$inboundSchema = inboundSchema(MandateDetailsCardLabelResponse);
58865
+ MandateDetailsCardLabelResponse$outboundSchema = outboundSchema(MandateDetailsCardLabelResponse);
58866
+ });
58867
+
58868
+ // src/models/mandatemethodresponse.ts
58869
+ var MandateMethodResponse, MandateMethodResponse$inboundSchema, MandateMethodResponse$outboundSchema;
58870
+ var init_mandatemethodresponse = __esm(() => {
58871
+ init_enums();
58872
+ MandateMethodResponse = {
58873
+ Creditcard: "creditcard",
58874
+ Directdebit: "directdebit",
58875
+ Paypal: "paypal"
58876
+ };
58877
+ MandateMethodResponse$inboundSchema = inboundSchema(MandateMethodResponse);
58878
+ MandateMethodResponse$outboundSchema = outboundSchema(MandateMethodResponse);
58879
+ });
58880
+
58881
+ // src/models/listmandateresponse.ts
58882
+ var ListMandateResponseStatus, ListMandateResponseDetails$inboundSchema, ListMandateResponseDetails$outboundSchema, ListMandateResponseStatus$inboundSchema, ListMandateResponseStatus$outboundSchema, ListMandateResponseLinks$inboundSchema, ListMandateResponseLinks$outboundSchema, ListMandateResponse$inboundSchema, ListMandateResponse$outboundSchema;
58883
+ var init_listmandateresponse = __esm(() => {
58884
+ init_esm();
58885
+ init_primitives();
58886
+ init_enums();
58887
+ init_mandatedetailscardlabelresponse();
58888
+ init_mandatemethodresponse();
58889
+ init_mode();
58890
+ init_url2();
58891
+ ListMandateResponseStatus = {
58892
+ Valid: "valid",
58893
+ Pending: "pending",
58894
+ Invalid: "invalid"
58895
+ };
58896
+ ListMandateResponseDetails$inboundSchema = objectType({
58897
+ consumerName: nullableType(stringType()).optional(),
58898
+ consumerAccount: nullableType(stringType()).optional(),
58899
+ consumerBic: nullableType(stringType()).optional(),
58900
+ cardHolder: nullableType(stringType()).optional(),
58901
+ cardNumber: nullableType(stringType()).optional(),
58902
+ cardExpiryDate: nullableType(stringType()).optional(),
58903
+ cardLabel: nullableType(MandateDetailsCardLabelResponse$inboundSchema).optional(),
58904
+ cardFingerprint: nullableType(stringType()).optional()
58905
+ });
58906
+ ListMandateResponseDetails$outboundSchema = objectType({
58907
+ consumerName: nullableType(stringType()).optional(),
58908
+ consumerAccount: nullableType(stringType()).optional(),
58909
+ consumerBic: nullableType(stringType()).optional(),
58910
+ cardHolder: nullableType(stringType()).optional(),
58911
+ cardNumber: nullableType(stringType()).optional(),
58912
+ cardExpiryDate: nullableType(stringType()).optional(),
58913
+ cardLabel: nullableType(MandateDetailsCardLabelResponse$outboundSchema).optional(),
58914
+ cardFingerprint: nullableType(stringType()).optional()
58915
+ });
58916
+ ListMandateResponseStatus$inboundSchema = inboundSchema(ListMandateResponseStatus);
58917
+ ListMandateResponseStatus$outboundSchema = outboundSchema(ListMandateResponseStatus);
58918
+ ListMandateResponseLinks$inboundSchema = objectType({
58919
+ self: Url$inboundSchema,
58920
+ customer: Url$inboundSchema
58921
+ });
58922
+ ListMandateResponseLinks$outboundSchema = objectType({
58923
+ self: Url$outboundSchema,
58924
+ customer: Url$outboundSchema
58925
+ });
58926
+ ListMandateResponse$inboundSchema = objectType({
58927
+ resource: stringType(),
58928
+ id: stringType(),
58929
+ mode: Mode$inboundSchema,
58930
+ method: MandateMethodResponse$inboundSchema,
58931
+ details: lazyType(() => ListMandateResponseDetails$inboundSchema),
58932
+ signatureDate: nullableType(stringType()),
58933
+ mandateReference: nullableType(stringType()),
58934
+ status: ListMandateResponseStatus$inboundSchema,
58935
+ customerId: stringType(),
58936
+ createdAt: stringType(),
58937
+ _links: lazyType(() => ListMandateResponseLinks$inboundSchema)
58938
+ }).transform((v2) => {
58939
+ return remap(v2, {
58940
+ _links: "links"
58941
+ });
58942
+ });
58943
+ ListMandateResponse$outboundSchema = objectType({
58944
+ resource: stringType(),
58945
+ id: stringType(),
58946
+ mode: Mode$outboundSchema,
58947
+ method: MandateMethodResponse$outboundSchema,
58948
+ details: lazyType(() => ListMandateResponseDetails$outboundSchema),
58949
+ signatureDate: nullableType(stringType()),
58950
+ mandateReference: nullableType(stringType()),
58951
+ status: ListMandateResponseStatus$outboundSchema,
58952
+ customerId: stringType(),
58953
+ createdAt: stringType(),
58954
+ links: lazyType(() => ListMandateResponseLinks$outboundSchema)
58955
+ }).transform((v2) => {
58956
+ return remap(v2, {
58957
+ links: "_links"
58958
+ });
58959
+ });
58960
+ });
58961
+
58962
+ // src/types/rfcdate.ts
58963
+ class RFCDate {
58964
+ serialized;
58965
+ static today() {
58966
+ return new RFCDate(new Date);
58967
+ }
58968
+ constructor(date4) {
58969
+ if (typeof date4 === "string" && !dateRE.test(date4)) {
58970
+ throw new RangeError("RFCDate: date strings must be in the format YYYY-MM-DD: " + date4);
58971
+ }
58972
+ const value = new Date(date4);
58973
+ if (isNaN(+value)) {
58974
+ throw new RangeError("RFCDate: invalid date provided: " + date4);
58975
+ }
58976
+ this.serialized = value.toISOString().slice(0, "YYYY-MM-DD".length);
58977
+ if (!dateRE.test(this.serialized)) {
58978
+ throw new TypeError(`RFCDate: failed to build valid date with given value: ${date4} serialized to ${this.serialized}`);
58979
+ }
58980
+ }
58981
+ toJSON() {
58982
+ return this.toString();
58983
+ }
58984
+ toString() {
58985
+ return this.serialized;
58986
+ }
58987
+ }
58988
+ var dateRE;
58989
+ var init_rfcdate = __esm(() => {
58990
+ dateRE = /^\d{4}-\d{2}-\d{2}$/;
58991
+ });
58992
+
58993
+ // src/models/methodresponse.ts
58994
+ var MethodResponse, MethodResponse$inboundSchema, MethodResponse$outboundSchema;
58995
+ var init_methodresponse = __esm(() => {
58996
+ init_enums();
58997
+ MethodResponse = {
58998
+ Alma: "alma",
58999
+ Applepay: "applepay",
59000
+ Bacs: "bacs",
59001
+ Bancomatpay: "bancomatpay",
59002
+ Bancontact: "bancontact",
59003
+ Banktransfer: "banktransfer",
59004
+ Belfius: "belfius",
59005
+ Billie: "billie",
59006
+ Bizum: "bizum",
59007
+ Blik: "blik",
59008
+ Creditcard: "creditcard",
59009
+ Directdebit: "directdebit",
59010
+ Eps: "eps",
59011
+ Giftcard: "giftcard",
59012
+ Ideal: "ideal",
59013
+ In3: "in3",
59014
+ Kbc: "kbc",
59015
+ Klarna: "klarna",
59016
+ Mbway: "mbway",
59017
+ Mobilepay: "mobilepay",
59018
+ Multibanco: "multibanco",
59019
+ Mybank: "mybank",
59020
+ Paybybank: "paybybank",
59021
+ Paypal: "paypal",
59022
+ Paysafecard: "paysafecard",
59023
+ Pointofsale: "pointofsale",
59024
+ Przelewy24: "przelewy24",
59025
+ Riverty: "riverty",
59026
+ Satispay: "satispay",
59027
+ Swish: "swish",
59028
+ Trustly: "trustly",
59029
+ Twint: "twint",
59030
+ Vipps: "vipps",
59031
+ Voucher: "voucher",
59032
+ Klarnapaylater: "klarnapaylater",
59033
+ Klarnapaynow: "klarnapaynow",
59034
+ Klarnasliceit: "klarnasliceit",
59035
+ Payconiq: "payconiq"
59036
+ };
59037
+ MethodResponse$inboundSchema = inboundSchema(MethodResponse);
59038
+ MethodResponse$outboundSchema = outboundSchema(MethodResponse);
59039
+ });
59040
+
59041
+ // src/models/paymentdetailscardauditionresponse.ts
59042
+ var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema;
59043
+ var init_paymentdetailscardauditionresponse = __esm(() => {
59044
+ init_enums();
59045
+ PaymentDetailsCardAuditionResponse = {
59046
+ Consumer: "consumer",
59047
+ Business: "business"
59048
+ };
59049
+ PaymentDetailsCardAuditionResponse$inboundSchema = inboundSchema(PaymentDetailsCardAuditionResponse);
59050
+ PaymentDetailsCardAuditionResponse$outboundSchema = outboundSchema(PaymentDetailsCardAuditionResponse);
59051
+ });
59052
+
59053
+ // src/models/paymentdetailscardfundingresponse.ts
59054
+ var PaymentDetailsCardFundingResponse, PaymentDetailsCardFundingResponse$inboundSchema, PaymentDetailsCardFundingResponse$outboundSchema;
59055
+ var init_paymentdetailscardfundingresponse = __esm(() => {
59056
+ init_enums();
59057
+ PaymentDetailsCardFundingResponse = {
59058
+ Debit: "debit",
59059
+ Credit: "credit",
59060
+ Prepaid: "prepaid",
59061
+ DeferredDebit: "deferred-debit"
59062
+ };
59063
+ PaymentDetailsCardFundingResponse$inboundSchema = inboundSchema(PaymentDetailsCardFundingResponse);
59064
+ PaymentDetailsCardFundingResponse$outboundSchema = outboundSchema(PaymentDetailsCardFundingResponse);
59065
+ });
59066
+
59067
+ // src/models/paymentdetailscardlabelresponse.ts
59068
+ var PaymentDetailsCardLabelResponse, PaymentDetailsCardLabelResponse$inboundSchema, PaymentDetailsCardLabelResponse$outboundSchema;
59069
+ var init_paymentdetailscardlabelresponse = __esm(() => {
59070
+ init_enums();
59071
+ PaymentDetailsCardLabelResponse = {
59072
+ AmericanExpress: "American Express",
59073
+ CartaSi: "Carta Si",
59074
+ CarteBleue: "Carte Bleue",
59075
+ Dankort: "Dankort",
59076
+ DinersClub: "Diners Club",
59077
+ Discover: "Discover",
59078
+ Jcb: "JCB",
59079
+ Laser: "Laser",
59080
+ Maestro: "Maestro",
59081
+ Mastercard: "Mastercard",
59082
+ Unionpay: "Unionpay",
59083
+ Visa: "Visa",
59084
+ Vpay: "Vpay"
59085
+ };
59086
+ PaymentDetailsCardLabelResponse$inboundSchema = inboundSchema(PaymentDetailsCardLabelResponse);
59087
+ PaymentDetailsCardLabelResponse$outboundSchema = outboundSchema(PaymentDetailsCardLabelResponse);
59088
+ });
59089
+
59090
+ // src/models/paymentdetailscardsecurityresponse.ts
59091
+ var PaymentDetailsCardSecurityResponse, PaymentDetailsCardSecurityResponse$inboundSchema, PaymentDetailsCardSecurityResponse$outboundSchema;
59092
+ var init_paymentdetailscardsecurityresponse = __esm(() => {
59093
+ init_enums();
59094
+ PaymentDetailsCardSecurityResponse = {
59095
+ Normal: "normal",
59096
+ Threedsecure: "3dsecure"
59097
+ };
59098
+ PaymentDetailsCardSecurityResponse$inboundSchema = inboundSchema(PaymentDetailsCardSecurityResponse);
59099
+ PaymentDetailsCardSecurityResponse$outboundSchema = outboundSchema(PaymentDetailsCardSecurityResponse);
59100
+ });
59101
+
59102
+ // src/models/paymentdetailsfailurereasonresponse.ts
59103
+ var PaymentDetailsFailureReasonResponse, PaymentDetailsFailureReasonResponse$inboundSchema, PaymentDetailsFailureReasonResponse$outboundSchema;
59104
+ var init_paymentdetailsfailurereasonresponse = __esm(() => {
59105
+ init_enums();
59106
+ PaymentDetailsFailureReasonResponse = {
59107
+ AuthenticationAbandoned: "authentication_abandoned",
59108
+ AuthenticationFailed: "authentication_failed",
59109
+ AuthenticationRequired: "authentication_required",
59110
+ AuthenticationUnavailableAcs: "authentication_unavailable_acs",
59111
+ CardDeclined: "card_declined",
59112
+ CardExpired: "card_expired",
59113
+ InactiveCard: "inactive_card",
59114
+ InsufficientFunds: "insufficient_funds",
59115
+ InvalidCvv: "invalid_cvv",
59116
+ InvalidCardHolderName: "invalid_card_holder_name",
59117
+ InvalidCardNumber: "invalid_card_number",
59118
+ InvalidCardType: "invalid_card_type",
59119
+ PossibleFraud: "possible_fraud",
59120
+ RefusedByIssuer: "refused_by_issuer",
59121
+ UnknownReason: "unknown_reason"
59122
+ };
59123
+ PaymentDetailsFailureReasonResponse$inboundSchema = inboundSchema(PaymentDetailsFailureReasonResponse);
59124
+ PaymentDetailsFailureReasonResponse$outboundSchema = outboundSchema(PaymentDetailsFailureReasonResponse);
59125
+ });
59126
+
59127
+ // src/models/paymentdetailsfeeregionresponse.ts
59128
+ var PaymentDetailsFeeRegionResponse, PaymentDetailsFeeRegionResponse$inboundSchema, PaymentDetailsFeeRegionResponse$outboundSchema;
59129
+ var init_paymentdetailsfeeregionresponse = __esm(() => {
59130
+ init_enums();
59131
+ PaymentDetailsFeeRegionResponse = {
59132
+ AmericanExpress: "american-express",
59133
+ AmexIntraEea: "amex-intra-eea",
59134
+ CarteBancaire: "carte-bancaire",
59135
+ IntraEu: "intra-eu",
59136
+ IntraEuCorporate: "intra-eu-corporate",
59137
+ Domestic: "domestic",
59138
+ Maestro: "maestro",
59139
+ Other: "other",
59140
+ Inter: "inter",
59141
+ IntraEea: "intra_eea"
59142
+ };
59143
+ PaymentDetailsFeeRegionResponse$inboundSchema = inboundSchema(PaymentDetailsFeeRegionResponse);
59144
+ PaymentDetailsFeeRegionResponse$outboundSchema = outboundSchema(PaymentDetailsFeeRegionResponse);
59145
+ });
59146
+
59147
+ // src/models/paymentdetailsreceiptcardreadmethodresponse.ts
59148
+ var PaymentDetailsReceiptCardReadMethodResponse, PaymentDetailsReceiptCardReadMethodResponse$inboundSchema, PaymentDetailsReceiptCardReadMethodResponse$outboundSchema;
59149
+ var init_paymentdetailsreceiptcardreadmethodresponse = __esm(() => {
59150
+ init_enums();
59151
+ PaymentDetailsReceiptCardReadMethodResponse = {
59152
+ Chip: "chip",
59153
+ MagneticStripe: "magnetic-stripe",
59154
+ NearFieldCommunication: "near-field-communication",
59155
+ Contactless: "contactless",
59156
+ Moto: "moto"
59157
+ };
59158
+ PaymentDetailsReceiptCardReadMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
59159
+ PaymentDetailsReceiptCardReadMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
59160
+ });
59161
+
59162
+ // src/models/paymentdetailsreceiptcardverificationmethodresponse.ts
59163
+ var PaymentDetailsReceiptCardVerificationMethodResponse, PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema, PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema;
59164
+ var init_paymentdetailsreceiptcardverificationmethodresponse = __esm(() => {
59165
+ init_enums();
59166
+ PaymentDetailsReceiptCardVerificationMethodResponse = {
59167
+ NoCvmRequired: "no-cvm-required",
59168
+ OnlinePin: "online-pin",
59169
+ OfflinePin: "offline-pin",
59170
+ ConsumerDevice: "consumer-device",
59171
+ Signature: "signature",
59172
+ SignatureAndOnlinePin: "signature-and-online-pin",
59173
+ OnlinePinAndSignature: "online-pin-and-signature",
59174
+ None: "none",
59175
+ Failed: "failed"
59176
+ };
59177
+ PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
59178
+ PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
59179
+ });
59180
+
59181
+ // src/models/paymentdetailssellerprotectionresponse.ts
59182
+ var PaymentDetailsSellerProtectionResponse, PaymentDetailsSellerProtectionResponse$inboundSchema, PaymentDetailsSellerProtectionResponse$outboundSchema;
59183
+ var init_paymentdetailssellerprotectionresponse = __esm(() => {
59184
+ init_enums();
59185
+ PaymentDetailsSellerProtectionResponse = {
59186
+ Eligible: "Eligible",
59187
+ Ineligible: "Ineligible",
59188
+ PartiallyEligibleINROnly: "Partially Eligible - INR Only",
59189
+ PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
59190
+ PartiallyEligible: "Partially Eligible",
59191
+ None: "None",
59192
+ Active: "Active",
59193
+ FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible"
59194
+ };
59195
+ PaymentDetailsSellerProtectionResponse$inboundSchema = inboundSchema(PaymentDetailsSellerProtectionResponse);
59196
+ PaymentDetailsSellerProtectionResponse$outboundSchema = outboundSchema(PaymentDetailsSellerProtectionResponse);
59197
+ });
59198
+
59199
+ // src/models/paymentdetailswalletresponse.ts
59200
+ var PaymentDetailsWalletResponse, PaymentDetailsWalletResponse$inboundSchema, PaymentDetailsWalletResponse$outboundSchema;
59201
+ var init_paymentdetailswalletresponse = __esm(() => {
59202
+ init_enums();
59203
+ PaymentDetailsWalletResponse = {
59204
+ Applepay: "applepay"
59205
+ };
59206
+ PaymentDetailsWalletResponse$inboundSchema = inboundSchema(PaymentDetailsWalletResponse);
59207
+ PaymentDetailsWalletResponse$outboundSchema = outboundSchema(PaymentDetailsWalletResponse);
59208
+ });
59209
+
59210
+ // src/models/recurringlineitem.ts
59211
+ var RecurringLineItem$inboundSchema, RecurringLineItem$outboundSchema;
59212
+ var init_recurringlineitem = __esm(() => {
59213
+ init_esm();
59214
+ init_amount();
59215
+ RecurringLineItem$inboundSchema = objectType({
59216
+ description: stringType().optional(),
59217
+ interval: stringType(),
59218
+ amount: Amount$inboundSchema.optional(),
59219
+ times: numberType().int().optional(),
59220
+ startDate: nullableType(stringType()).optional()
59221
+ });
59222
+ RecurringLineItem$outboundSchema = objectType({
59223
+ description: stringType().optional(),
59224
+ interval: stringType(),
59225
+ amount: Amount$outboundSchema.optional(),
59226
+ times: numberType().int().optional(),
59227
+ startDate: nullableType(stringType()).optional()
59228
+ });
59229
+ });
59230
+
59231
+ // src/models/sequencetyperesponse.ts
59232
+ var SequenceTypeResponse, SequenceTypeResponse$inboundSchema, SequenceTypeResponse$outboundSchema;
59233
+ var init_sequencetyperesponse = __esm(() => {
59234
+ init_enums();
59235
+ SequenceTypeResponse = {
59236
+ Oneoff: "oneoff",
59237
+ First: "first",
59238
+ Recurring: "recurring"
59239
+ };
59240
+ SequenceTypeResponse$inboundSchema = inboundSchema(SequenceTypeResponse);
59241
+ SequenceTypeResponse$outboundSchema = outboundSchema(SequenceTypeResponse);
59242
+ });
59243
+
59244
+ // src/models/statusreason.ts
59245
+ var Code, Code$inboundSchema, Code$outboundSchema, StatusReason$inboundSchema, StatusReason$outboundSchema;
59246
+ var init_statusreason = __esm(() => {
59247
+ init_esm();
59248
+ Code = {
59249
+ ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
59250
+ ReferToCardIssuer: "refer_to_card_issuer",
59251
+ InvalidMerchant: "invalid_merchant",
59252
+ CaptureCard: "capture_card",
59253
+ DoNotHonor: "do_not_honor",
59254
+ Error: "error",
59255
+ PartialApproval: "partial_approval",
59256
+ InvalidTransaction: "invalid_transaction",
59257
+ InvalidAmount: "invalid_amount",
59258
+ InvalidIssuer: "invalid_issuer",
59259
+ LostCard: "lost_card",
59260
+ StolenCard: "stolen_card",
59261
+ InsufficientFunds: "insufficient_funds",
59262
+ ExpiredCard: "expired_card",
59263
+ InvalidPin: "invalid_pin",
59264
+ TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
59265
+ TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
59266
+ ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
59267
+ RestrictedCard: "restricted_card",
59268
+ SecurityViolation: "security_violation",
59269
+ ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
59270
+ AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
59271
+ NoReasonToDecline: "no_reason_to_decline",
59272
+ CannotVerifyPin: "cannot_verify_pin",
59273
+ IssuerUnavailable: "issuer_unavailable",
59274
+ UnableToRouteTransaction: "unable_to_route_transaction",
59275
+ DuplicateTransaction: "duplicate_transaction",
59276
+ SystemMalfunction: "system_malfunction",
59277
+ HonorWithId: "honor_with_id",
59278
+ InvalidCardNumber: "invalid_card_number",
59279
+ FormatError: "format_error",
59280
+ ContactCardIssuer: "contact_card_issuer",
59281
+ PinNotChanged: "pin_not_changed",
59282
+ InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
59283
+ InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
59284
+ InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
59285
+ LifecycleRelated: "lifecycle_related",
59286
+ DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
59287
+ PolicyRelated: "policy_related",
59288
+ FraudSecurityRelated: "fraud_security_related",
59289
+ InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
59290
+ PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
59291
+ CryptographicFailure: "cryptographic_failure",
59292
+ UnacceptablePin: "unacceptable_pin",
59293
+ ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
59294
+ PickUpCardSpecialCondition: "pick_up_card_special_condition",
59295
+ VipApproval: "vip_approval",
59296
+ InvalidAccountNumber: "invalid_account_number",
59297
+ ReEnterTransaction: "re_enter_transaction",
59298
+ NoActionTaken: "no_action_taken",
59299
+ UnableToLocateRecord: "unable_to_locate_record",
59300
+ FileTemporarilyUnavailable: "file_temporarily_unavailable",
59301
+ NoCreditAccount: "no_credit_account",
59302
+ ClosedAccount: "closed_account",
59303
+ NoCheckingAccount: "no_checking_account",
59304
+ NoSavingsAccount: "no_savings_account",
59305
+ SuspectedFraud: "suspected_fraud",
59306
+ TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
59307
+ PinDataRequired: "pin_data_required",
59308
+ UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
59309
+ PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
59310
+ BlockedFirstUsed: "blocked_first_used",
59311
+ TransactionReversed: "transaction_reversed",
59312
+ CreditIssuerUnavailable: "credit_issuer_unavailable",
59313
+ PinCryptographicErrorFound: "pin_cryptographic_error_found",
59314
+ NegativeOnlineCamResult: "negative_online_cam_result",
59315
+ ViolationOfLaw: "violation_of_law",
59316
+ ForceStip: "force_stip",
59317
+ CashServiceNotAvailable: "cash_service_not_available",
59318
+ CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
59319
+ DeclineForCvv2Failure: "decline_for_cvv2_failure",
59320
+ TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
59321
+ InvalidBillerInformation: "invalid_biller_information",
59322
+ PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
59323
+ UnsafePin: "unsafe_pin",
59324
+ CardAuthenticationFailed: "card_authentication_failed",
59325
+ StopPaymentOrder: "stop_payment_order",
59326
+ RevocationOfAuthorization: "revocation_of_authorization",
59327
+ RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
59328
+ ForwardToIssuerXa: "forward_to_issuer_xa",
59329
+ ForwardToIssuerXd: "forward_to_issuer_xd",
59330
+ UnableToGoOnline: "unable_to_go_online",
59331
+ AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
59332
+ MerchantIdNotFound: "merchant_id_not_found",
59333
+ MerchantAccountClosed: "merchant_account_closed",
59334
+ TerminalIdNotFound: "terminal_id_not_found",
59335
+ TerminalClosed: "terminal_closed",
59336
+ InvalidCategoryCode: "invalid_category_code",
59337
+ InvalidCurrency: "invalid_currency",
59338
+ MissingCvv2Cvc2: "missing_cvv2_cvc2",
59339
+ Cvv2NotAllowed: "cvv2_not_allowed",
59340
+ MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
59341
+ MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
59342
+ TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
59343
+ AgreementTerminalNotRelated: "agreement_terminal_not_related",
59344
+ InvalidProcessorId: "invalid_processor_id",
59345
+ InvalidMerchantData: "invalid_merchant_data",
59346
+ SubMerchantAccountClosed: "sub_merchant_account_closed",
59347
+ TerminalBusy: "terminal_busy",
59348
+ TerminalUnreachable: "terminal_unreachable",
59349
+ ServiceFailed: "service_failed",
59350
+ InvalidOperation: "invalid_operation",
59351
+ AuthorizationError: "authorization_error",
59352
+ LoginFailedWithoutReason: "login_failed_without_reason",
59353
+ InvalidRetailer: "invalid_retailer",
59354
+ CardDoesNotExist: "card_does_not_exist",
59355
+ CardIsBlocked: "card_is_blocked",
59356
+ InvalidCardId: "invalid_card_id",
59357
+ CardIsTransferred: "card_is_transferred",
59358
+ CardIsNotActive: "card_is_not_active",
59359
+ IncorrectPurchaseValue: "incorrect_purchase_value",
59360
+ CardNotAvailable: "card_not_available",
59361
+ WrongCurrency: "wrong_currency",
59362
+ LoginFailedUnknownUser: "login_failed_unknown_user",
59363
+ LoginFailedInvalidPassword: "login_failed_invalid_password",
59364
+ InvalidEanCode: "invalid_ean_code"
59365
+ };
59366
+ Code$inboundSchema = nativeEnumType(Code);
59367
+ Code$outboundSchema = Code$inboundSchema;
59368
+ StatusReason$inboundSchema = objectType({
59369
+ code: Code$inboundSchema,
59370
+ message: stringType()
59371
+ });
59372
+ StatusReason$outboundSchema = objectType({
59373
+ code: Code$outboundSchema,
59374
+ message: stringType()
59375
+ });
59376
+ });
59377
+
59378
+ // src/models/listpaymentresponse.ts
59379
+ var ListPaymentResponseStatus, ListPaymentResponseAmountRefunded$inboundSchema, ListPaymentResponseAmountRefunded$outboundSchema, ListPaymentResponseAmountRemaining$inboundSchema, ListPaymentResponseAmountRemaining$outboundSchema, ListPaymentResponseAmountCaptured$inboundSchema, ListPaymentResponseAmountCaptured$outboundSchema, ListPaymentResponseAmountChargedBack$inboundSchema, ListPaymentResponseAmountChargedBack$outboundSchema, ListPaymentResponseSettlementAmount$inboundSchema, ListPaymentResponseSettlementAmount$outboundSchema, ListPaymentResponseLine$inboundSchema, ListPaymentResponseLine$outboundSchema, ListPaymentResponseBillingAddress$inboundSchema, ListPaymentResponseBillingAddress$outboundSchema, ListPaymentResponseApplicationFee$inboundSchema, ListPaymentResponseApplicationFee$outboundSchema, ListPaymentResponseStatus$inboundSchema, ListPaymentResponseStatus$outboundSchema, ListPaymentResponseReceipt$inboundSchema, ListPaymentResponseReceipt$outboundSchema, ListPaymentResponseQrCode$inboundSchema, ListPaymentResponseQrCode$outboundSchema, ListPaymentResponseDetails$inboundSchema, ListPaymentResponseDetails$outboundSchema, ListPaymentResponseLinks$inboundSchema, ListPaymentResponseLinks$outboundSchema, ListPaymentResponse$inboundSchema, ListPaymentResponse$outboundSchema;
59380
+ var init_listpaymentresponse = __esm(() => {
59381
+ init_esm();
59382
+ init_primitives();
59383
+ init_enums();
59384
+ init_rfcdate();
59385
+ init_amount();
59386
+ init_amountnullable();
59387
+ init_capturemoderesponse();
59388
+ init_entitypaymentrouteresponse();
59389
+ init_linecategoriesresponse();
59390
+ init_localeresponse();
59391
+ init_metadata();
59392
+ init_methodresponse();
59393
+ init_mode();
59394
+ init_paymentaddress();
59395
+ init_paymentdetailscardauditionresponse();
59396
+ init_paymentdetailscardfundingresponse();
59397
+ init_paymentdetailscardlabelresponse();
59398
+ init_paymentdetailscardsecurityresponse();
59399
+ init_paymentdetailsfailurereasonresponse();
59400
+ init_paymentdetailsfeeregionresponse();
59401
+ init_paymentdetailsreceiptcardreadmethodresponse();
59402
+ init_paymentdetailsreceiptcardverificationmethodresponse();
59403
+ init_paymentdetailssellerprotectionresponse();
59404
+ init_paymentdetailswalletresponse();
59405
+ init_paymentlinetyperesponse();
59406
+ init_recurringlineitem();
59407
+ init_sequencetyperesponse();
59408
+ init_statusreason();
59409
+ init_url2();
59410
+ ListPaymentResponseStatus = {
59411
+ Open: "open",
59412
+ Pending: "pending",
59413
+ Authorized: "authorized",
59414
+ Paid: "paid",
59415
+ Canceled: "canceled",
59416
+ Expired: "expired",
59417
+ Failed: "failed"
59418
+ };
59419
+ ListPaymentResponseAmountRefunded$inboundSchema = objectType({
59420
+ currency: stringType(),
59421
+ value: stringType()
59422
+ });
59423
+ ListPaymentResponseAmountRefunded$outboundSchema = objectType({
59424
+ currency: stringType(),
59425
+ value: stringType()
59426
+ });
59427
+ ListPaymentResponseAmountRemaining$inboundSchema = objectType({
59428
+ currency: stringType(),
59429
+ value: stringType()
59430
+ });
59431
+ ListPaymentResponseAmountRemaining$outboundSchema = objectType({
59432
+ currency: stringType(),
59433
+ value: stringType()
59434
+ });
59435
+ ListPaymentResponseAmountCaptured$inboundSchema = objectType({
59436
+ currency: stringType(),
59437
+ value: stringType()
59438
+ });
59439
+ ListPaymentResponseAmountCaptured$outboundSchema = objectType({
59440
+ currency: stringType(),
59441
+ value: stringType()
59442
+ });
59443
+ ListPaymentResponseAmountChargedBack$inboundSchema = objectType({
59444
+ currency: stringType(),
59445
+ value: stringType()
59446
+ });
59447
+ ListPaymentResponseAmountChargedBack$outboundSchema = objectType({
59448
+ currency: stringType(),
59449
+ value: stringType()
59450
+ });
59451
+ ListPaymentResponseSettlementAmount$inboundSchema = objectType({
59452
+ currency: stringType(),
59453
+ value: stringType()
59454
+ });
59455
+ ListPaymentResponseSettlementAmount$outboundSchema = objectType({
59456
+ currency: stringType(),
59457
+ value: stringType()
59458
+ });
59459
+ ListPaymentResponseLine$inboundSchema = objectType({
59460
+ type: PaymentLineTypeResponse$inboundSchema.optional(),
59461
+ description: stringType(),
59462
+ quantity: numberType().int(),
59463
+ quantityUnit: stringType().optional(),
59464
+ unitPrice: Amount$inboundSchema,
59465
+ discountAmount: Amount$inboundSchema.optional(),
59466
+ totalAmount: Amount$inboundSchema,
59467
+ vatRate: stringType().optional(),
59468
+ vatAmount: Amount$inboundSchema.optional(),
59469
+ sku: stringType().optional(),
59470
+ categories: arrayType(LineCategoriesResponse$inboundSchema).optional(),
59471
+ imageUrl: stringType().optional(),
59472
+ productUrl: stringType().optional(),
59473
+ recurring: RecurringLineItem$inboundSchema.optional()
59474
+ });
59475
+ ListPaymentResponseLine$outboundSchema = objectType({
59476
+ type: PaymentLineTypeResponse$outboundSchema.optional(),
59477
+ description: stringType(),
59478
+ quantity: numberType().int(),
59479
+ quantityUnit: stringType().optional(),
59480
+ unitPrice: Amount$outboundSchema,
59481
+ discountAmount: Amount$outboundSchema.optional(),
59482
+ totalAmount: Amount$outboundSchema,
59483
+ vatRate: stringType().optional(),
59484
+ vatAmount: Amount$outboundSchema.optional(),
59485
+ sku: stringType().optional(),
59486
+ categories: arrayType(LineCategoriesResponse$outboundSchema).optional(),
59487
+ imageUrl: stringType().optional(),
59488
+ productUrl: stringType().optional(),
59489
+ recurring: RecurringLineItem$outboundSchema.optional()
59490
+ });
59491
+ ListPaymentResponseBillingAddress$inboundSchema = objectType({
59492
+ title: stringType().optional(),
59493
+ givenName: stringType().optional(),
59494
+ familyName: stringType().optional(),
59495
+ organizationName: anyType().optional(),
59496
+ streetAndNumber: stringType().optional(),
59497
+ streetAdditional: stringType().optional(),
59498
+ postalCode: stringType().optional(),
59499
+ email: stringType().optional(),
59500
+ phone: stringType().optional(),
59501
+ city: stringType().optional(),
59502
+ region: stringType().optional(),
59503
+ country: stringType().optional()
59504
+ });
59505
+ ListPaymentResponseBillingAddress$outboundSchema = objectType({
59506
+ title: stringType().optional(),
59507
+ givenName: stringType().optional(),
59508
+ familyName: stringType().optional(),
59509
+ organizationName: anyType().optional(),
59510
+ streetAndNumber: stringType().optional(),
59511
+ streetAdditional: stringType().optional(),
59512
+ postalCode: stringType().optional(),
59513
+ email: stringType().optional(),
59514
+ phone: stringType().optional(),
59515
+ city: stringType().optional(),
59516
+ region: stringType().optional(),
59517
+ country: stringType().optional()
59518
+ });
59519
+ ListPaymentResponseApplicationFee$inboundSchema = objectType({
59520
+ amount: Amount$inboundSchema.optional(),
59521
+ description: stringType().optional()
59522
+ });
59523
+ ListPaymentResponseApplicationFee$outboundSchema = objectType({
59524
+ amount: Amount$outboundSchema.optional(),
59525
+ description: stringType().optional()
59526
+ });
59527
+ ListPaymentResponseStatus$inboundSchema = inboundSchema(ListPaymentResponseStatus);
59528
+ ListPaymentResponseStatus$outboundSchema = outboundSchema(ListPaymentResponseStatus);
59529
+ ListPaymentResponseReceipt$inboundSchema = objectType({
59530
+ authorizationCode: nullableType(stringType()).optional(),
59531
+ applicationIdentifier: nullableType(stringType()).optional(),
59532
+ cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$inboundSchema).optional(),
59533
+ cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema).optional()
59534
+ });
59535
+ ListPaymentResponseReceipt$outboundSchema = objectType({
59536
+ authorizationCode: nullableType(stringType()).optional(),
59537
+ applicationIdentifier: nullableType(stringType()).optional(),
59538
+ cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$outboundSchema).optional(),
59539
+ cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema).optional()
59540
+ });
59541
+ ListPaymentResponseQrCode$inboundSchema = objectType({
59542
+ height: numberType().int().optional(),
59543
+ width: numberType().int().optional(),
59544
+ src: stringType().optional()
59545
+ });
59546
+ ListPaymentResponseQrCode$outboundSchema = objectType({
59547
+ height: numberType().int().optional(),
59548
+ width: numberType().int().optional(),
59549
+ src: stringType().optional()
59550
+ });
59551
+ ListPaymentResponseDetails$inboundSchema = objectType({
59552
+ consumerName: nullableType(stringType()).optional(),
59553
+ consumerAccount: nullableType(stringType()).optional(),
59554
+ consumerBic: nullableType(stringType()).optional(),
59555
+ shippingAddress: nullableType(recordType(anyType())).optional(),
59556
+ cardNumber: nullableType(stringType()).optional(),
59557
+ bankName: stringType().optional(),
59558
+ bankAccount: stringType().optional(),
59559
+ bankBic: stringType().optional(),
59560
+ transferReference: nullableType(stringType()).optional(),
59561
+ cardFingerprint: nullableType(stringType()).optional(),
59562
+ cardHolder: nullableType(stringType()).optional(),
59563
+ cardAudition: nullableType(PaymentDetailsCardAuditionResponse$inboundSchema).optional(),
59564
+ cardLabel: nullableType(PaymentDetailsCardLabelResponse$inboundSchema).optional(),
59565
+ cardCountryCode: nullableType(stringType()).optional(),
59566
+ cardExpiryDate: nullableType(stringType()).optional(),
59567
+ cardFunding: nullableType(PaymentDetailsCardFundingResponse$inboundSchema).optional(),
59568
+ cardSecurity: nullableType(PaymentDetailsCardSecurityResponse$inboundSchema).optional(),
59569
+ feeRegion: nullableType(PaymentDetailsFeeRegionResponse$inboundSchema).optional(),
59570
+ cardMaskedNumber: nullableType(stringType()).optional(),
59571
+ card3dsEci: nullableType(stringType()).optional(),
59572
+ cardBin: nullableType(stringType()).optional(),
59573
+ cardIssuer: nullableType(stringType()).optional(),
59574
+ failureReason: nullableType(PaymentDetailsFailureReasonResponse$inboundSchema).optional(),
59575
+ failureMessage: nullableType(stringType()).optional(),
59576
+ wallet: nullableType(PaymentDetailsWalletResponse$inboundSchema).optional(),
59577
+ paypalReference: nullableType(stringType()).optional(),
59578
+ paypalPayerId: nullableType(stringType()).optional(),
59579
+ sellerProtection: nullableType(PaymentDetailsSellerProtectionResponse$inboundSchema).optional(),
59580
+ paypalFee: nullableType(AmountNullable$inboundSchema).optional(),
59581
+ customerReference: stringType().optional(),
59582
+ terminalId: stringType().optional(),
59583
+ maskedNumber: nullableType(stringType()).optional(),
59584
+ receipt: lazyType(() => ListPaymentResponseReceipt$inboundSchema).optional(),
59585
+ creditorIdentifier: nullableType(stringType()).optional(),
59586
+ dueDate: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
59587
+ signatureDate: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
59588
+ bankReasonCode: nullableType(stringType()).optional(),
59589
+ bankReason: nullableType(stringType()).optional(),
59590
+ endToEndIdentifier: nullableType(stringType()).optional(),
59591
+ mandateReference: nullableType(stringType()).optional(),
59592
+ batchReference: nullableType(stringType()).optional(),
59593
+ fileReference: nullableType(stringType()).optional(),
59594
+ qrCode: lazyType(() => ListPaymentResponseQrCode$inboundSchema).optional(),
59595
+ voucherNumber: stringType().optional(),
59596
+ giftcards: arrayType(recordType(anyType())).optional(),
59597
+ issuer: stringType().optional(),
59598
+ vouchers: arrayType(recordType(anyType())).optional(),
59599
+ remainderAmount: Amount$inboundSchema.optional(),
59600
+ remainderMethod: stringType().optional(),
59601
+ remainderDetails: recordType(anyType()).optional(),
59602
+ multibancoReference: nullableType(stringType()).optional(),
59603
+ multibancoEntity: nullableType(stringType()).optional()
59604
+ });
59605
+ ListPaymentResponseDetails$outboundSchema = objectType({
59606
+ consumerName: nullableType(stringType()).optional(),
59607
+ consumerAccount: nullableType(stringType()).optional(),
59608
+ consumerBic: nullableType(stringType()).optional(),
59609
+ shippingAddress: nullableType(recordType(anyType())).optional(),
59610
+ cardNumber: nullableType(stringType()).optional(),
59611
+ bankName: stringType().optional(),
59612
+ bankAccount: stringType().optional(),
59613
+ bankBic: stringType().optional(),
59614
+ transferReference: nullableType(stringType()).optional(),
59615
+ cardFingerprint: nullableType(stringType()).optional(),
59616
+ cardHolder: nullableType(stringType()).optional(),
59617
+ cardAudition: nullableType(PaymentDetailsCardAuditionResponse$outboundSchema).optional(),
59618
+ cardLabel: nullableType(PaymentDetailsCardLabelResponse$outboundSchema).optional(),
59619
+ cardCountryCode: nullableType(stringType()).optional(),
59620
+ cardExpiryDate: nullableType(stringType()).optional(),
59621
+ cardFunding: nullableType(PaymentDetailsCardFundingResponse$outboundSchema).optional(),
59622
+ cardSecurity: nullableType(PaymentDetailsCardSecurityResponse$outboundSchema).optional(),
59623
+ feeRegion: nullableType(PaymentDetailsFeeRegionResponse$outboundSchema).optional(),
59624
+ cardMaskedNumber: nullableType(stringType()).optional(),
59625
+ card3dsEci: nullableType(stringType()).optional(),
59626
+ cardBin: nullableType(stringType()).optional(),
59627
+ cardIssuer: nullableType(stringType()).optional(),
59628
+ failureReason: nullableType(PaymentDetailsFailureReasonResponse$outboundSchema).optional(),
59629
+ failureMessage: nullableType(stringType()).optional(),
59630
+ wallet: nullableType(PaymentDetailsWalletResponse$outboundSchema).optional(),
59631
+ paypalReference: nullableType(stringType()).optional(),
59632
+ paypalPayerId: nullableType(stringType()).optional(),
59633
+ sellerProtection: nullableType(PaymentDetailsSellerProtectionResponse$outboundSchema).optional(),
59634
+ paypalFee: nullableType(AmountNullable$outboundSchema).optional(),
59635
+ customerReference: stringType().optional(),
59636
+ terminalId: stringType().optional(),
59637
+ maskedNumber: nullableType(stringType()).optional(),
59638
+ receipt: lazyType(() => ListPaymentResponseReceipt$outboundSchema).optional(),
59639
+ creditorIdentifier: nullableType(stringType()).optional(),
59640
+ dueDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
59641
+ signatureDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
59642
+ bankReasonCode: nullableType(stringType()).optional(),
59643
+ bankReason: nullableType(stringType()).optional(),
59644
+ endToEndIdentifier: nullableType(stringType()).optional(),
59645
+ mandateReference: nullableType(stringType()).optional(),
59646
+ batchReference: nullableType(stringType()).optional(),
59647
+ fileReference: nullableType(stringType()).optional(),
59648
+ qrCode: lazyType(() => ListPaymentResponseQrCode$outboundSchema).optional(),
59649
+ voucherNumber: stringType().optional(),
59650
+ giftcards: arrayType(recordType(anyType())).optional(),
59651
+ issuer: stringType().optional(),
59652
+ vouchers: arrayType(recordType(anyType())).optional(),
59653
+ remainderAmount: Amount$outboundSchema.optional(),
59654
+ remainderMethod: stringType().optional(),
59655
+ remainderDetails: recordType(anyType()).optional(),
59656
+ multibancoReference: nullableType(stringType()).optional(),
59657
+ multibancoEntity: nullableType(stringType()).optional()
59658
+ });
59659
+ ListPaymentResponseLinks$inboundSchema = objectType({
59660
+ self: Url$inboundSchema,
59661
+ checkout: Url$inboundSchema.optional(),
59662
+ mobileAppCheckout: Url$inboundSchema.optional(),
59663
+ changePaymentState: Url$inboundSchema.optional(),
59664
+ dashboard: Url$inboundSchema,
59665
+ refunds: Url$inboundSchema.optional(),
59666
+ chargebacks: Url$inboundSchema.optional(),
59667
+ captures: Url$inboundSchema.optional(),
59668
+ settlement: Url$inboundSchema.optional(),
59669
+ customer: Url$inboundSchema.optional(),
59670
+ mandate: Url$inboundSchema.optional(),
59671
+ subscription: Url$inboundSchema.optional(),
59672
+ order: Url$inboundSchema.optional(),
59673
+ terminal: Url$inboundSchema.optional(),
59674
+ status: Url$inboundSchema.optional(),
59675
+ payOnline: Url$inboundSchema.optional()
59676
+ });
59677
+ ListPaymentResponseLinks$outboundSchema = objectType({
59678
+ self: Url$outboundSchema,
59679
+ checkout: Url$outboundSchema.optional(),
59680
+ mobileAppCheckout: Url$outboundSchema.optional(),
59681
+ changePaymentState: Url$outboundSchema.optional(),
59682
+ dashboard: Url$outboundSchema,
59683
+ refunds: Url$outboundSchema.optional(),
59684
+ chargebacks: Url$outboundSchema.optional(),
59685
+ captures: Url$outboundSchema.optional(),
59686
+ settlement: Url$outboundSchema.optional(),
59687
+ customer: Url$outboundSchema.optional(),
59688
+ mandate: Url$outboundSchema.optional(),
59689
+ subscription: Url$outboundSchema.optional(),
59690
+ order: Url$outboundSchema.optional(),
59691
+ terminal: Url$outboundSchema.optional(),
59692
+ status: Url$outboundSchema.optional(),
59693
+ payOnline: Url$outboundSchema.optional()
59694
+ });
59695
+ ListPaymentResponse$inboundSchema = objectType({
59696
+ resource: stringType(),
59697
+ id: stringType(),
59698
+ mode: Mode$inboundSchema,
59699
+ description: stringType(),
59700
+ amount: Amount$inboundSchema,
59701
+ amountRefunded: lazyType(() => ListPaymentResponseAmountRefunded$inboundSchema).optional(),
59702
+ amountRemaining: lazyType(() => ListPaymentResponseAmountRemaining$inboundSchema).optional(),
59703
+ amountCaptured: lazyType(() => ListPaymentResponseAmountCaptured$inboundSchema).optional(),
59704
+ amountChargedBack: lazyType(() => ListPaymentResponseAmountChargedBack$inboundSchema).optional(),
59705
+ settlementAmount: lazyType(() => ListPaymentResponseSettlementAmount$inboundSchema).optional(),
59706
+ redirectUrl: nullableType(stringType()).optional(),
59707
+ cancelUrl: nullableType(stringType()).optional(),
59708
+ webhookUrl: nullableType(stringType()).optional(),
59709
+ lines: nullableType(arrayType(lazyType(() => ListPaymentResponseLine$inboundSchema))).optional(),
59710
+ billingAddress: lazyType(() => ListPaymentResponseBillingAddress$inboundSchema).optional(),
59711
+ shippingAddress: PaymentAddress$inboundSchema.optional(),
59712
+ locale: nullableType(LocaleResponse$inboundSchema).optional(),
59713
+ countryCode: nullableType(stringType()).optional(),
59714
+ method: nullableType(MethodResponse$inboundSchema).optional(),
59715
+ restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
59716
+ metadata: nullableType(Metadata$inboundSchema).optional(),
59717
+ captureMode: nullableType(CaptureModeResponse$inboundSchema).optional(),
59718
+ captureDelay: nullableType(stringType()).optional(),
59719
+ captureBefore: nullableType(stringType()).optional(),
59720
+ applicationFee: nullableType(lazyType(() => ListPaymentResponseApplicationFee$inboundSchema)).optional(),
59721
+ routing: nullableType(arrayType(EntityPaymentRouteResponse$inboundSchema)).optional(),
59722
+ sequenceType: SequenceTypeResponse$inboundSchema,
59723
+ subscriptionId: nullableType(stringType()).optional(),
59724
+ mandateId: nullableType(stringType()).optional(),
59725
+ customerId: stringType().optional(),
59726
+ profileId: stringType(),
59727
+ settlementId: nullableType(stringType()).optional(),
59728
+ orderId: nullableType(stringType()).optional(),
59729
+ status: ListPaymentResponseStatus$inboundSchema,
59730
+ statusReason: nullableType(StatusReason$inboundSchema).optional(),
59731
+ isCancelable: nullableType(booleanType()).optional(),
59732
+ details: nullableType(lazyType(() => ListPaymentResponseDetails$inboundSchema)).optional(),
59733
+ createdAt: stringType(),
59734
+ authorizedAt: nullableType(stringType()).optional(),
59735
+ paidAt: nullableType(stringType()).optional(),
59736
+ canceledAt: nullableType(stringType()).optional(),
59737
+ expiresAt: nullableType(stringType()).optional(),
59738
+ expiredAt: nullableType(stringType()).optional(),
59739
+ failedAt: nullableType(stringType()).optional(),
59740
+ _links: lazyType(() => ListPaymentResponseLinks$inboundSchema)
59741
+ }).transform((v2) => {
59742
+ return remap(v2, {
59743
+ _links: "links"
59744
+ });
59745
+ });
59746
+ ListPaymentResponse$outboundSchema = objectType({
59747
+ resource: stringType(),
59748
+ id: stringType(),
59749
+ mode: Mode$outboundSchema,
59750
+ description: stringType(),
59751
+ amount: Amount$outboundSchema,
59752
+ amountRefunded: lazyType(() => ListPaymentResponseAmountRefunded$outboundSchema).optional(),
59753
+ amountRemaining: lazyType(() => ListPaymentResponseAmountRemaining$outboundSchema).optional(),
59754
+ amountCaptured: lazyType(() => ListPaymentResponseAmountCaptured$outboundSchema).optional(),
59755
+ amountChargedBack: lazyType(() => ListPaymentResponseAmountChargedBack$outboundSchema).optional(),
59756
+ settlementAmount: lazyType(() => ListPaymentResponseSettlementAmount$outboundSchema).optional(),
59757
+ redirectUrl: nullableType(stringType()).optional(),
59758
+ cancelUrl: nullableType(stringType()).optional(),
59759
+ webhookUrl: nullableType(stringType()).optional(),
59760
+ lines: nullableType(arrayType(lazyType(() => ListPaymentResponseLine$outboundSchema))).optional(),
59761
+ billingAddress: lazyType(() => ListPaymentResponseBillingAddress$outboundSchema).optional(),
59762
+ shippingAddress: PaymentAddress$outboundSchema.optional(),
59763
+ locale: nullableType(LocaleResponse$outboundSchema).optional(),
59764
+ countryCode: nullableType(stringType()).optional(),
59765
+ method: nullableType(MethodResponse$outboundSchema).optional(),
59766
+ restrictPaymentMethodsToCountry: nullableType(stringType()).optional(),
59767
+ metadata: nullableType(Metadata$outboundSchema).optional(),
59768
+ captureMode: nullableType(CaptureModeResponse$outboundSchema).optional(),
59769
+ captureDelay: nullableType(stringType()).optional(),
59770
+ captureBefore: nullableType(stringType()).optional(),
59771
+ applicationFee: nullableType(lazyType(() => ListPaymentResponseApplicationFee$outboundSchema)).optional(),
59772
+ routing: nullableType(arrayType(EntityPaymentRouteResponse$outboundSchema)).optional(),
59773
+ sequenceType: SequenceTypeResponse$outboundSchema,
59774
+ subscriptionId: nullableType(stringType()).optional(),
59775
+ mandateId: nullableType(stringType()).optional(),
59776
+ customerId: stringType().optional(),
59777
+ profileId: stringType(),
59778
+ settlementId: nullableType(stringType()).optional(),
59779
+ orderId: nullableType(stringType()).optional(),
59780
+ status: ListPaymentResponseStatus$outboundSchema,
59781
+ statusReason: nullableType(StatusReason$outboundSchema).optional(),
59782
+ isCancelable: nullableType(booleanType()).optional(),
59783
+ details: nullableType(lazyType(() => ListPaymentResponseDetails$outboundSchema)).optional(),
59784
+ createdAt: stringType(),
59785
+ authorizedAt: nullableType(stringType()).optional(),
59786
+ paidAt: nullableType(stringType()).optional(),
59787
+ canceledAt: nullableType(stringType()).optional(),
59788
+ expiresAt: nullableType(stringType()).optional(),
59789
+ expiredAt: nullableType(stringType()).optional(),
59790
+ failedAt: nullableType(stringType()).optional(),
59791
+ links: lazyType(() => ListPaymentResponseLinks$outboundSchema)
59792
+ }).transform((v2) => {
59793
+ return remap(v2, {
59794
+ links: "_links"
59795
+ });
59796
+ });
59797
+ });
59798
+
59799
+ // src/models/listprofileresponse.ts
59800
+ var ListProfileResponseStatus, ListProfileResponseStatus$inboundSchema, ListProfileResponseStatus$outboundSchema, ListProfileResponseReview$inboundSchema, ListProfileResponseReview$outboundSchema, ListProfileResponseLinks$inboundSchema, ListProfileResponseLinks$outboundSchema, ListProfileResponse$inboundSchema, ListProfileResponse$outboundSchema;
59801
+ var init_listprofileresponse = __esm(() => {
59802
+ init_esm();
59803
+ init_primitives();
59804
+ init_enums();
59805
+ init_mode();
59806
+ init_profilereviewstatusresponse();
59807
+ init_url2();
59808
+ ListProfileResponseStatus = {
59809
+ Unverified: "unverified",
59810
+ Verified: "verified",
59811
+ Blocked: "blocked"
59812
+ };
59813
+ ListProfileResponseStatus$inboundSchema = inboundSchema(ListProfileResponseStatus);
59814
+ ListProfileResponseStatus$outboundSchema = outboundSchema(ListProfileResponseStatus);
59815
+ ListProfileResponseReview$inboundSchema = objectType({
59816
+ status: ProfileReviewStatusResponse$inboundSchema.optional()
59817
+ });
59818
+ ListProfileResponseReview$outboundSchema = objectType({
59819
+ status: ProfileReviewStatusResponse$outboundSchema.optional()
59820
+ });
59821
+ ListProfileResponseLinks$inboundSchema = objectType({
59822
+ self: Url$inboundSchema.optional(),
59823
+ dashboard: Url$inboundSchema.optional(),
59824
+ chargebacks: Url$inboundSchema.optional(),
59825
+ methods: Url$inboundSchema.optional(),
59826
+ payments: Url$inboundSchema.optional(),
59827
+ refunds: Url$inboundSchema.optional(),
59828
+ checkoutPreviewUrl: Url$inboundSchema.optional()
59829
+ });
59830
+ ListProfileResponseLinks$outboundSchema = objectType({
59831
+ self: Url$outboundSchema.optional(),
59832
+ dashboard: Url$outboundSchema.optional(),
59833
+ chargebacks: Url$outboundSchema.optional(),
59834
+ methods: Url$outboundSchema.optional(),
59835
+ payments: Url$outboundSchema.optional(),
59836
+ refunds: Url$outboundSchema.optional(),
59837
+ checkoutPreviewUrl: Url$outboundSchema.optional()
59838
+ });
59839
+ ListProfileResponse$inboundSchema = objectType({
59840
+ resource: stringType(),
59841
+ id: stringType(),
59842
+ mode: Mode$inboundSchema,
59843
+ name: stringType(),
59844
+ website: stringType(),
59845
+ email: stringType(),
59846
+ phone: stringType(),
59847
+ description: stringType().optional(),
59848
+ countriesOfActivity: arrayType(stringType()).optional(),
59849
+ businessCategory: stringType(),
59850
+ status: ListProfileResponseStatus$inboundSchema,
59851
+ review: lazyType(() => ListProfileResponseReview$inboundSchema).optional(),
59852
+ createdAt: stringType(),
59853
+ _links: lazyType(() => ListProfileResponseLinks$inboundSchema)
59854
+ }).transform((v2) => {
59855
+ return remap(v2, {
59856
+ _links: "links"
59857
+ });
59858
+ });
59859
+ ListProfileResponse$outboundSchema = objectType({
59860
+ resource: stringType(),
59861
+ id: stringType(),
59862
+ mode: Mode$outboundSchema,
59863
+ name: stringType(),
59864
+ website: stringType(),
59865
+ email: stringType(),
59866
+ phone: stringType(),
59867
+ description: stringType().optional(),
59868
+ countriesOfActivity: arrayType(stringType()).optional(),
59869
+ businessCategory: stringType(),
59870
+ status: ListProfileResponseStatus$outboundSchema,
59871
+ review: lazyType(() => ListProfileResponseReview$outboundSchema).optional(),
59872
+ createdAt: stringType(),
59873
+ links: lazyType(() => ListProfileResponseLinks$outboundSchema)
59874
+ }).transform((v2) => {
59875
+ return remap(v2, {
59876
+ links: "_links"
59877
+ });
59878
+ });
59879
+ });
59880
+
59881
+ // src/models/listroutegetresponse.ts
59882
+ var ListRouteGetResponseDestination$inboundSchema, ListRouteGetResponseDestination$outboundSchema, ListRouteGetResponseLinks$inboundSchema, ListRouteGetResponseLinks$outboundSchema, ListRouteGetResponse$inboundSchema, ListRouteGetResponse$outboundSchema;
59883
+ var init_listroutegetresponse = __esm(() => {
59884
+ init_esm();
59885
+ init_primitives();
59886
+ init_amount();
59887
+ init_routedestinationtyperesponse();
59888
+ init_url2();
59889
+ ListRouteGetResponseDestination$inboundSchema = objectType({
59890
+ type: RouteDestinationTypeResponse$inboundSchema,
59891
+ organizationId: stringType()
59892
+ });
59893
+ ListRouteGetResponseDestination$outboundSchema = objectType({
59894
+ type: RouteDestinationTypeResponse$outboundSchema,
59895
+ organizationId: stringType()
59896
+ });
59897
+ ListRouteGetResponseLinks$inboundSchema = objectType({
59898
+ self: Url$inboundSchema
59899
+ });
59900
+ ListRouteGetResponseLinks$outboundSchema = objectType({
59901
+ self: Url$outboundSchema
59902
+ });
59903
+ ListRouteGetResponse$inboundSchema = objectType({
59904
+ resource: stringType(),
59905
+ id: stringType(),
59906
+ paymentId: stringType(),
59907
+ amount: Amount$inboundSchema,
59908
+ description: stringType(),
59909
+ destination: lazyType(() => ListRouteGetResponseDestination$inboundSchema),
59910
+ _links: lazyType(() => ListRouteGetResponseLinks$inboundSchema),
59911
+ createdAt: stringType()
59912
+ }).transform((v2) => {
59913
+ return remap(v2, {
59914
+ _links: "links"
59915
+ });
59916
+ });
59917
+ ListRouteGetResponse$outboundSchema = objectType({
59918
+ resource: stringType(),
59919
+ id: stringType(),
59920
+ paymentId: stringType(),
59921
+ amount: Amount$outboundSchema,
59922
+ description: stringType(),
59923
+ destination: lazyType(() => ListRouteGetResponseDestination$outboundSchema),
59924
+ links: lazyType(() => ListRouteGetResponseLinks$outboundSchema),
59925
+ createdAt: stringType()
59926
+ }).transform((v2) => {
59927
+ return remap(v2, {
59928
+ links: "_links"
59929
+ });
59930
+ });
59931
+ });
59932
+
59933
+ // src/models/salesinvoicediscounttyperesponse.ts
59934
+ var SalesInvoiceDiscountTypeResponse, SalesInvoiceDiscountTypeResponse$inboundSchema, SalesInvoiceDiscountTypeResponse$outboundSchema;
59935
+ var init_salesinvoicediscounttyperesponse = __esm(() => {
59936
+ init_enums();
59937
+ SalesInvoiceDiscountTypeResponse = {
59938
+ Amount: "amount",
59939
+ Percentage: "percentage"
59940
+ };
59941
+ SalesInvoiceDiscountTypeResponse$inboundSchema = inboundSchema(SalesInvoiceDiscountTypeResponse);
59942
+ SalesInvoiceDiscountTypeResponse$outboundSchema = outboundSchema(SalesInvoiceDiscountTypeResponse);
59943
+ });
59944
+
59945
+ // src/models/salesinvoicediscountresponse.ts
59946
+ var SalesInvoiceDiscountResponse$inboundSchema, SalesInvoiceDiscountResponse$outboundSchema;
59947
+ var init_salesinvoicediscountresponse = __esm(() => {
59948
+ init_esm();
59949
+ init_salesinvoicediscounttyperesponse();
59950
+ SalesInvoiceDiscountResponse$inboundSchema = objectType({
59951
+ type: SalesInvoiceDiscountTypeResponse$inboundSchema,
59952
+ value: stringType()
59953
+ });
59954
+ SalesInvoiceDiscountResponse$outboundSchema = objectType({
59955
+ type: SalesInvoiceDiscountTypeResponse$outboundSchema,
59956
+ value: stringType()
59957
+ });
59958
+ });
59959
+
59960
+ // src/models/salesinvoiceemaildetails.ts
59961
+ var SalesInvoiceEmailDetails$inboundSchema, SalesInvoiceEmailDetails$outboundSchema;
59962
+ var init_salesinvoiceemaildetails = __esm(() => {
59963
+ init_esm();
59964
+ SalesInvoiceEmailDetails$inboundSchema = objectType({
59965
+ subject: stringType(),
59966
+ body: stringType()
59967
+ });
59968
+ SalesInvoiceEmailDetails$outboundSchema = objectType({
59969
+ subject: stringType(),
59970
+ body: stringType()
59971
+ });
59972
+ });
59973
+
59974
+ // src/models/salesinvoicelineitemresponse.ts
59975
+ var SalesInvoiceLineItemResponse$inboundSchema, SalesInvoiceLineItemResponse$outboundSchema;
59976
+ var init_salesinvoicelineitemresponse = __esm(() => {
59977
+ init_esm();
59978
+ init_amount();
59979
+ init_salesinvoicediscountresponse();
59980
+ SalesInvoiceLineItemResponse$inboundSchema = objectType({
59981
+ description: stringType(),
59982
+ quantity: numberType().int(),
59983
+ vatRate: stringType(),
59984
+ unitPrice: Amount$inboundSchema,
59985
+ discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional()
59986
+ });
59987
+ SalesInvoiceLineItemResponse$outboundSchema = objectType({
59988
+ description: stringType(),
59989
+ quantity: numberType().int(),
59990
+ vatRate: stringType(),
59991
+ unitPrice: Amount$outboundSchema,
59992
+ discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional()
59993
+ });
59994
+ });
59995
+
59996
+ // src/models/salesinvoicepaymentdetailssourceresponse.ts
59997
+ var SalesInvoicePaymentDetailsSourceResponse, SalesInvoicePaymentDetailsSourceResponse$inboundSchema, SalesInvoicePaymentDetailsSourceResponse$outboundSchema;
59998
+ var init_salesinvoicepaymentdetailssourceresponse = __esm(() => {
59999
+ init_enums();
60000
+ SalesInvoicePaymentDetailsSourceResponse = {
60001
+ Manual: "manual",
60002
+ PaymentLink: "payment-link",
60003
+ Payment: "payment"
60004
+ };
60005
+ SalesInvoicePaymentDetailsSourceResponse$inboundSchema = inboundSchema(SalesInvoicePaymentDetailsSourceResponse);
60006
+ SalesInvoicePaymentDetailsSourceResponse$outboundSchema = outboundSchema(SalesInvoicePaymentDetailsSourceResponse);
60007
+ });
60008
+
60009
+ // src/models/salesinvoicepaymentdetailsresponse.ts
60010
+ var SalesInvoicePaymentDetailsResponse$inboundSchema, SalesInvoicePaymentDetailsResponse$outboundSchema;
60011
+ var init_salesinvoicepaymentdetailsresponse = __esm(() => {
60012
+ init_esm();
60013
+ init_salesinvoicepaymentdetailssourceresponse();
60014
+ SalesInvoicePaymentDetailsResponse$inboundSchema = objectType({
60015
+ source: SalesInvoicePaymentDetailsSourceResponse$inboundSchema,
60016
+ sourceReference: nullableType(stringType()).optional()
60017
+ });
60018
+ SalesInvoicePaymentDetailsResponse$outboundSchema = objectType({
60019
+ source: SalesInvoicePaymentDetailsSourceResponse$outboundSchema,
60020
+ sourceReference: nullableType(stringType()).optional()
60021
+ });
60022
+ });
60023
+
60024
+ // src/models/salesinvoicepaymenttermresponse.ts
60025
+ var SalesInvoicePaymentTermResponse, SalesInvoicePaymentTermResponse$inboundSchema, SalesInvoicePaymentTermResponse$outboundSchema;
60026
+ var init_salesinvoicepaymenttermresponse = __esm(() => {
60027
+ init_enums();
60028
+ SalesInvoicePaymentTermResponse = {
60029
+ Sevendays: "7 days",
60030
+ Fourteendays: "14 days",
60031
+ Thirtydays: "30 days",
60032
+ FortyFivedays: "45 days",
60033
+ Sixtydays: "60 days",
60034
+ Ninetydays: "90 days",
60035
+ OneHundredAndTwentydays: "120 days"
60036
+ };
60037
+ SalesInvoicePaymentTermResponse$inboundSchema = inboundSchema(SalesInvoicePaymentTermResponse);
60038
+ SalesInvoicePaymentTermResponse$outboundSchema = outboundSchema(SalesInvoicePaymentTermResponse);
60039
+ });
60040
+
60041
+ // src/models/salesinvoicerecipientlocaleresponse.ts
60042
+ var SalesInvoiceRecipientLocaleResponse, SalesInvoiceRecipientLocaleResponse$inboundSchema, SalesInvoiceRecipientLocaleResponse$outboundSchema;
60043
+ var init_salesinvoicerecipientlocaleresponse = __esm(() => {
60044
+ init_enums();
60045
+ SalesInvoiceRecipientLocaleResponse = {
60046
+ EnUS: "en_US",
60047
+ EnGB: "en_GB",
60048
+ NLNL: "nl_NL",
60049
+ NlBE: "nl_BE",
60050
+ DEDE: "de_DE",
60051
+ DeAT: "de_AT",
60052
+ DeCH: "de_CH",
60053
+ FRFR: "fr_FR",
60054
+ FrBE: "fr_BE"
60055
+ };
60056
+ SalesInvoiceRecipientLocaleResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientLocaleResponse);
60057
+ SalesInvoiceRecipientLocaleResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientLocaleResponse);
60058
+ });
60059
+
60060
+ // src/models/salesinvoicerecipienttyperesponse.ts
60061
+ var SalesInvoiceRecipientTypeResponse, SalesInvoiceRecipientTypeResponse$inboundSchema, SalesInvoiceRecipientTypeResponse$outboundSchema;
60062
+ var init_salesinvoicerecipienttyperesponse = __esm(() => {
60063
+ init_enums();
60064
+ SalesInvoiceRecipientTypeResponse = {
60065
+ Consumer: "consumer",
60066
+ Business: "business"
60067
+ };
60068
+ SalesInvoiceRecipientTypeResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientTypeResponse);
60069
+ SalesInvoiceRecipientTypeResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientTypeResponse);
60070
+ });
60071
+
60072
+ // src/models/salesinvoicerecipientresponse.ts
60073
+ var SalesInvoiceRecipientResponse$inboundSchema, SalesInvoiceRecipientResponse$outboundSchema;
60074
+ var init_salesinvoicerecipientresponse = __esm(() => {
60075
+ init_esm();
60076
+ init_salesinvoicerecipientlocaleresponse();
60077
+ init_salesinvoicerecipienttyperesponse();
60078
+ SalesInvoiceRecipientResponse$inboundSchema = objectType({
60079
+ type: SalesInvoiceRecipientTypeResponse$inboundSchema,
60080
+ title: nullableType(stringType()).optional(),
60081
+ givenName: nullableType(stringType()).optional(),
60082
+ familyName: nullableType(stringType()).optional(),
60083
+ organizationName: nullableType(stringType()).optional(),
60084
+ organizationNumber: nullableType(stringType()).optional(),
60085
+ vatNumber: nullableType(stringType()).optional(),
60086
+ email: stringType(),
60087
+ phone: nullableType(stringType()).optional(),
60088
+ streetAndNumber: stringType(),
60089
+ streetAdditional: nullableType(stringType()).optional(),
60090
+ postalCode: stringType(),
60091
+ city: stringType(),
60092
+ region: nullableType(stringType()).optional(),
60093
+ country: stringType(),
60094
+ locale: SalesInvoiceRecipientLocaleResponse$inboundSchema
60095
+ });
60096
+ SalesInvoiceRecipientResponse$outboundSchema = objectType({
60097
+ type: SalesInvoiceRecipientTypeResponse$outboundSchema,
60098
+ title: nullableType(stringType()).optional(),
60099
+ givenName: nullableType(stringType()).optional(),
60100
+ familyName: nullableType(stringType()).optional(),
60101
+ organizationName: nullableType(stringType()).optional(),
60102
+ organizationNumber: nullableType(stringType()).optional(),
60103
+ vatNumber: nullableType(stringType()).optional(),
60104
+ email: stringType(),
60105
+ phone: nullableType(stringType()).optional(),
60106
+ streetAndNumber: stringType(),
60107
+ streetAdditional: nullableType(stringType()).optional(),
60108
+ postalCode: stringType(),
60109
+ city: stringType(),
60110
+ region: nullableType(stringType()).optional(),
60111
+ country: stringType(),
60112
+ locale: SalesInvoiceRecipientLocaleResponse$outboundSchema
60113
+ });
60114
+ });
60115
+
60116
+ // src/models/salesinvoicestatusresponse.ts
60117
+ var SalesInvoiceStatusResponse, SalesInvoiceStatusResponse$inboundSchema, SalesInvoiceStatusResponse$outboundSchema;
60118
+ var init_salesinvoicestatusresponse = __esm(() => {
60119
+ init_enums();
60120
+ SalesInvoiceStatusResponse = {
60121
+ Draft: "draft",
60122
+ Issued: "issued",
60123
+ Paid: "paid"
60124
+ };
60125
+ SalesInvoiceStatusResponse$inboundSchema = inboundSchema(SalesInvoiceStatusResponse);
60126
+ SalesInvoiceStatusResponse$outboundSchema = outboundSchema(SalesInvoiceStatusResponse);
60127
+ });
60128
+
60129
+ // src/models/salesinvoicevatmoderesponse.ts
60130
+ var SalesInvoiceVatModeResponse, SalesInvoiceVatModeResponse$inboundSchema, SalesInvoiceVatModeResponse$outboundSchema;
60131
+ var init_salesinvoicevatmoderesponse = __esm(() => {
60132
+ init_enums();
60133
+ SalesInvoiceVatModeResponse = {
60134
+ Exclusive: "exclusive",
60135
+ Inclusive: "inclusive"
60136
+ };
60137
+ SalesInvoiceVatModeResponse$inboundSchema = inboundSchema(SalesInvoiceVatModeResponse);
60138
+ SalesInvoiceVatModeResponse$outboundSchema = outboundSchema(SalesInvoiceVatModeResponse);
60139
+ });
60140
+
60141
+ // src/models/salesinvoicevatschemeresponse.ts
60142
+ var SalesInvoiceVatSchemeResponse, SalesInvoiceVatSchemeResponse$inboundSchema, SalesInvoiceVatSchemeResponse$outboundSchema;
60143
+ var init_salesinvoicevatschemeresponse = __esm(() => {
60144
+ init_enums();
60145
+ SalesInvoiceVatSchemeResponse = {
60146
+ Standard: "standard",
60147
+ OneStopShop: "one-stop-shop"
60148
+ };
60149
+ SalesInvoiceVatSchemeResponse$inboundSchema = inboundSchema(SalesInvoiceVatSchemeResponse);
60150
+ SalesInvoiceVatSchemeResponse$outboundSchema = outboundSchema(SalesInvoiceVatSchemeResponse);
60151
+ });
60152
+
60153
+ // src/models/listsalesinvoiceresponse.ts
60154
+ var ListSalesInvoiceResponseMetadata$inboundSchema, ListSalesInvoiceResponseMetadata$outboundSchema, ListSalesInvoiceResponseAmountDue$inboundSchema, ListSalesInvoiceResponseAmountDue$outboundSchema, ListSalesInvoiceResponseSubtotalAmount$inboundSchema, ListSalesInvoiceResponseSubtotalAmount$outboundSchema, ListSalesInvoiceResponseTotalAmount$inboundSchema, ListSalesInvoiceResponseTotalAmount$outboundSchema, ListSalesInvoiceResponseTotalVatAmount$inboundSchema, ListSalesInvoiceResponseTotalVatAmount$outboundSchema, ListSalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema, ListSalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema, ListSalesInvoiceResponseLinks$inboundSchema, ListSalesInvoiceResponseLinks$outboundSchema, ListSalesInvoiceResponse$inboundSchema, ListSalesInvoiceResponse$outboundSchema;
60155
+ var init_listsalesinvoiceresponse = __esm(() => {
60156
+ init_esm();
60157
+ init_primitives();
60158
+ init_mode();
60159
+ init_salesinvoicediscountresponse();
60160
+ init_salesinvoiceemaildetails();
60161
+ init_salesinvoicelineitemresponse();
60162
+ init_salesinvoicepaymentdetailsresponse();
60163
+ init_salesinvoicepaymenttermresponse();
60164
+ init_salesinvoicerecipientresponse();
60165
+ init_salesinvoicestatusresponse();
60166
+ init_salesinvoicevatmoderesponse();
60167
+ init_salesinvoicevatschemeresponse();
60168
+ init_url2();
60169
+ ListSalesInvoiceResponseMetadata$inboundSchema = objectType({});
60170
+ ListSalesInvoiceResponseMetadata$outboundSchema = objectType({});
60171
+ ListSalesInvoiceResponseAmountDue$inboundSchema = objectType({
60172
+ currency: stringType(),
60173
+ value: stringType()
60174
+ });
60175
+ ListSalesInvoiceResponseAmountDue$outboundSchema = objectType({
60176
+ currency: stringType(),
60177
+ value: stringType()
60178
+ });
60179
+ ListSalesInvoiceResponseSubtotalAmount$inboundSchema = objectType({
60180
+ currency: stringType(),
60181
+ value: stringType()
60182
+ });
60183
+ ListSalesInvoiceResponseSubtotalAmount$outboundSchema = objectType({
60184
+ currency: stringType(),
60185
+ value: stringType()
60186
+ });
60187
+ ListSalesInvoiceResponseTotalAmount$inboundSchema = objectType({
60188
+ currency: stringType(),
60189
+ value: stringType()
60190
+ });
60191
+ ListSalesInvoiceResponseTotalAmount$outboundSchema = objectType({
60192
+ currency: stringType(),
60193
+ value: stringType()
60194
+ });
60195
+ ListSalesInvoiceResponseTotalVatAmount$inboundSchema = objectType({
60196
+ currency: stringType(),
60197
+ value: stringType()
60198
+ });
60199
+ ListSalesInvoiceResponseTotalVatAmount$outboundSchema = objectType({
60200
+ currency: stringType(),
60201
+ value: stringType()
60202
+ });
60203
+ ListSalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema = objectType({
60204
+ currency: stringType(),
60205
+ value: stringType()
60206
+ });
60207
+ ListSalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema = objectType({
60208
+ currency: stringType(),
60209
+ value: stringType()
60210
+ });
60211
+ ListSalesInvoiceResponseLinks$inboundSchema = objectType({
60212
+ self: Url$inboundSchema.optional(),
60213
+ invoicePayment: Url$inboundSchema.optional(),
60214
+ pdfLink: Url$inboundSchema.optional(),
60215
+ next: Url$inboundSchema.optional(),
60216
+ previous: Url$inboundSchema.optional()
60217
+ });
60218
+ ListSalesInvoiceResponseLinks$outboundSchema = objectType({
60219
+ self: Url$outboundSchema.optional(),
60220
+ invoicePayment: Url$outboundSchema.optional(),
60221
+ pdfLink: Url$outboundSchema.optional(),
60222
+ next: Url$outboundSchema.optional(),
60223
+ previous: Url$outboundSchema.optional()
60224
+ });
60225
+ ListSalesInvoiceResponse$inboundSchema = objectType({
60226
+ resource: stringType(),
60227
+ id: stringType(),
60228
+ mode: Mode$inboundSchema,
60229
+ invoiceNumber: nullableType(stringType()).optional(),
60230
+ status: SalesInvoiceStatusResponse$inboundSchema.optional(),
60231
+ vatScheme: SalesInvoiceVatSchemeResponse$inboundSchema.optional(),
60232
+ vatMode: SalesInvoiceVatModeResponse$inboundSchema.optional(),
60233
+ memo: nullableType(stringType()).optional(),
60234
+ metadata: nullableType(lazyType(() => ListSalesInvoiceResponseMetadata$inboundSchema)).optional(),
60235
+ paymentTerm: nullableType(SalesInvoicePaymentTermResponse$inboundSchema).optional(),
60236
+ paymentDetails: SalesInvoicePaymentDetailsResponse$inboundSchema.optional(),
60237
+ emailDetails: nullableType(SalesInvoiceEmailDetails$inboundSchema).optional(),
60238
+ customerId: stringType().optional(),
60239
+ mandateId: stringType().optional(),
60240
+ recipientIdentifier: stringType().optional(),
60241
+ recipient: nullableType(SalesInvoiceRecipientResponse$inboundSchema).optional(),
60242
+ lines: nullableType(arrayType(SalesInvoiceLineItemResponse$inboundSchema)).optional(),
60243
+ discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional(),
60244
+ amountDue: lazyType(() => ListSalesInvoiceResponseAmountDue$inboundSchema).optional(),
60245
+ subtotalAmount: lazyType(() => ListSalesInvoiceResponseSubtotalAmount$inboundSchema).optional(),
60246
+ totalAmount: lazyType(() => ListSalesInvoiceResponseTotalAmount$inboundSchema).optional(),
60247
+ totalVatAmount: lazyType(() => ListSalesInvoiceResponseTotalVatAmount$inboundSchema).optional(),
60248
+ discountedSubtotalAmount: lazyType(() => ListSalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema).optional(),
60249
+ createdAt: stringType().optional(),
60250
+ issuedAt: nullableType(stringType()).optional(),
60251
+ paidAt: nullableType(stringType()).optional(),
60252
+ dueAt: nullableType(stringType()).optional(),
60253
+ _links: lazyType(() => ListSalesInvoiceResponseLinks$inboundSchema).optional()
60254
+ }).transform((v2) => {
60255
+ return remap(v2, {
60256
+ _links: "links"
60257
+ });
60258
+ });
60259
+ ListSalesInvoiceResponse$outboundSchema = objectType({
60260
+ resource: stringType(),
60261
+ id: stringType(),
60262
+ mode: Mode$outboundSchema,
60263
+ invoiceNumber: nullableType(stringType()).optional(),
60264
+ status: SalesInvoiceStatusResponse$outboundSchema.optional(),
60265
+ vatScheme: SalesInvoiceVatSchemeResponse$outboundSchema.optional(),
60266
+ vatMode: SalesInvoiceVatModeResponse$outboundSchema.optional(),
60267
+ memo: nullableType(stringType()).optional(),
60268
+ metadata: nullableType(lazyType(() => ListSalesInvoiceResponseMetadata$outboundSchema)).optional(),
60269
+ paymentTerm: nullableType(SalesInvoicePaymentTermResponse$outboundSchema).optional(),
60270
+ paymentDetails: SalesInvoicePaymentDetailsResponse$outboundSchema.optional(),
60271
+ emailDetails: nullableType(SalesInvoiceEmailDetails$outboundSchema).optional(),
60272
+ customerId: stringType().optional(),
60273
+ mandateId: stringType().optional(),
60274
+ recipientIdentifier: stringType().optional(),
60275
+ recipient: nullableType(SalesInvoiceRecipientResponse$outboundSchema).optional(),
60276
+ lines: nullableType(arrayType(SalesInvoiceLineItemResponse$outboundSchema)).optional(),
60277
+ discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional(),
60278
+ amountDue: lazyType(() => ListSalesInvoiceResponseAmountDue$outboundSchema).optional(),
60279
+ subtotalAmount: lazyType(() => ListSalesInvoiceResponseSubtotalAmount$outboundSchema).optional(),
60280
+ totalAmount: lazyType(() => ListSalesInvoiceResponseTotalAmount$outboundSchema).optional(),
60281
+ totalVatAmount: lazyType(() => ListSalesInvoiceResponseTotalVatAmount$outboundSchema).optional(),
60282
+ discountedSubtotalAmount: lazyType(() => ListSalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema).optional(),
60283
+ createdAt: stringType().optional(),
60284
+ issuedAt: nullableType(stringType()).optional(),
60285
+ paidAt: nullableType(stringType()).optional(),
60286
+ dueAt: nullableType(stringType()).optional(),
60287
+ links: lazyType(() => ListSalesInvoiceResponseLinks$outboundSchema).optional()
60288
+ }).transform((v2) => {
60289
+ return remap(v2, {
60290
+ links: "_links"
60291
+ });
60292
+ });
60293
+ });
60294
+
60295
+ // src/models/subscriptionmethodresponse.ts
60296
+ var SubscriptionMethodResponse, SubscriptionMethodResponse$inboundSchema, SubscriptionMethodResponse$outboundSchema;
60297
+ var init_subscriptionmethodresponse = __esm(() => {
60298
+ init_enums();
60299
+ SubscriptionMethodResponse = {
60300
+ Creditcard: "creditcard",
60301
+ Directdebit: "directdebit",
60302
+ Paypal: "paypal"
60303
+ };
60304
+ SubscriptionMethodResponse$inboundSchema = inboundSchema(SubscriptionMethodResponse);
60305
+ SubscriptionMethodResponse$outboundSchema = outboundSchema(SubscriptionMethodResponse);
60306
+ });
60307
+
60308
+ // src/models/listsubscriptionresponse.ts
60309
+ var ListSubscriptionResponseStatus, ListSubscriptionResponseStatus$inboundSchema, ListSubscriptionResponseStatus$outboundSchema, ListSubscriptionResponseApplicationFee$inboundSchema, ListSubscriptionResponseApplicationFee$outboundSchema, ListSubscriptionResponseLinks$inboundSchema, ListSubscriptionResponseLinks$outboundSchema, ListSubscriptionResponse$inboundSchema, ListSubscriptionResponse$outboundSchema;
60310
+ var init_listsubscriptionresponse = __esm(() => {
60311
+ init_esm();
60312
+ init_primitives();
60313
+ init_enums();
60314
+ init_amount();
60315
+ init_metadata();
60316
+ init_mode();
60317
+ init_subscriptionmethodresponse();
60318
+ init_url2();
60319
+ init_urlnullable();
60320
+ ListSubscriptionResponseStatus = {
60321
+ Pending: "pending",
60322
+ Active: "active",
60323
+ Canceled: "canceled",
60324
+ Suspended: "suspended",
60325
+ Completed: "completed"
60326
+ };
60327
+ ListSubscriptionResponseStatus$inboundSchema = inboundSchema(ListSubscriptionResponseStatus);
60328
+ ListSubscriptionResponseStatus$outboundSchema = outboundSchema(ListSubscriptionResponseStatus);
60329
+ ListSubscriptionResponseApplicationFee$inboundSchema = objectType({
60330
+ amount: Amount$inboundSchema,
60331
+ description: stringType()
60332
+ });
60333
+ ListSubscriptionResponseApplicationFee$outboundSchema = objectType({
60334
+ amount: Amount$outboundSchema,
60335
+ description: stringType()
60336
+ });
60337
+ ListSubscriptionResponseLinks$inboundSchema = objectType({
60338
+ self: Url$inboundSchema,
60339
+ customer: nullableType(UrlNullable$inboundSchema),
60340
+ mandate: nullableType(UrlNullable$inboundSchema).optional(),
60341
+ profile: nullableType(UrlNullable$inboundSchema),
60342
+ payments: nullableType(UrlNullable$inboundSchema).optional()
60343
+ });
60344
+ ListSubscriptionResponseLinks$outboundSchema = objectType({
60345
+ self: Url$outboundSchema,
60346
+ customer: nullableType(UrlNullable$outboundSchema),
60347
+ mandate: nullableType(UrlNullable$outboundSchema).optional(),
60348
+ profile: nullableType(UrlNullable$outboundSchema),
60349
+ payments: nullableType(UrlNullable$outboundSchema).optional()
60350
+ });
60351
+ ListSubscriptionResponse$inboundSchema = objectType({
60352
+ resource: stringType(),
60353
+ id: stringType(),
60354
+ mode: Mode$inboundSchema,
60355
+ status: ListSubscriptionResponseStatus$inboundSchema,
60356
+ amount: Amount$inboundSchema,
60357
+ times: nullableType(numberType().int()),
60358
+ timesRemaining: nullableType(numberType().int()),
60359
+ interval: stringType(),
60360
+ startDate: stringType(),
60361
+ nextPaymentDate: nullableType(stringType()).optional(),
60362
+ description: stringType(),
60363
+ method: nullableType(SubscriptionMethodResponse$inboundSchema),
60364
+ applicationFee: lazyType(() => ListSubscriptionResponseApplicationFee$inboundSchema).optional(),
60365
+ metadata: nullableType(Metadata$inboundSchema),
60366
+ webhookUrl: stringType(),
60367
+ customerId: stringType(),
60368
+ mandateId: stringType().optional(),
60369
+ createdAt: stringType(),
60370
+ canceledAt: nullableType(stringType()).optional(),
60371
+ _links: lazyType(() => ListSubscriptionResponseLinks$inboundSchema)
60372
+ }).transform((v2) => {
60373
+ return remap(v2, {
60374
+ _links: "links"
60375
+ });
60376
+ });
60377
+ ListSubscriptionResponse$outboundSchema = objectType({
60378
+ resource: stringType(),
60379
+ id: stringType(),
60380
+ mode: Mode$outboundSchema,
60381
+ status: ListSubscriptionResponseStatus$outboundSchema,
60382
+ amount: Amount$outboundSchema,
60383
+ times: nullableType(numberType().int()),
60384
+ timesRemaining: nullableType(numberType().int()),
60385
+ interval: stringType(),
60386
+ startDate: stringType(),
60387
+ nextPaymentDate: nullableType(stringType()).optional(),
60388
+ description: stringType(),
60389
+ method: nullableType(SubscriptionMethodResponse$outboundSchema),
60390
+ applicationFee: lazyType(() => ListSubscriptionResponseApplicationFee$outboundSchema).optional(),
60391
+ metadata: nullableType(Metadata$outboundSchema),
60392
+ webhookUrl: stringType(),
60393
+ customerId: stringType(),
60394
+ mandateId: stringType().optional(),
60395
+ createdAt: stringType(),
60396
+ canceledAt: nullableType(stringType()).optional(),
60397
+ links: lazyType(() => ListSubscriptionResponseLinks$outboundSchema)
60398
+ }).transform((v2) => {
60399
+ return remap(v2, {
60400
+ links: "_links"
60401
+ });
60402
+ });
60403
+ });
60404
+
60405
+ // src/models/locale.ts
60406
+ var Locale, Locale$inboundSchema, Locale$outboundSchema;
60407
+ var init_locale = __esm(() => {
60408
+ init_esm();
60409
+ Locale = {
60410
+ EnUS: "en_US",
60411
+ EnGB: "en_GB",
60412
+ NLNL: "nl_NL",
60413
+ NlBE: "nl_BE",
60414
+ DEDE: "de_DE",
60415
+ DeAT: "de_AT",
60416
+ DeCH: "de_CH",
60417
+ FRFR: "fr_FR",
60418
+ FrBE: "fr_BE",
60419
+ ESES: "es_ES",
60420
+ CaES: "ca_ES",
60421
+ PTPT: "pt_PT",
60422
+ ITIT: "it_IT",
60423
+ NbNO: "nb_NO",
60424
+ SvSE: "sv_SE",
60425
+ FIFI: "fi_FI",
60426
+ DaDK: "da_DK",
60427
+ ISIS: "is_IS",
60428
+ HUHU: "hu_HU",
60429
+ PLPL: "pl_PL",
60430
+ LVLV: "lv_LV",
60431
+ LTLT: "lt_LT",
60432
+ Null: "null"
58051
60433
  };
58052
- MandateMethodResponse$inboundSchema = inboundSchema(MandateMethodResponse);
58053
- MandateMethodResponse$outboundSchema = outboundSchema(MandateMethodResponse);
60434
+ Locale$inboundSchema = nativeEnumType(Locale);
60435
+ Locale$outboundSchema = Locale$inboundSchema;
60436
+ });
60437
+
60438
+ // src/models/mandatemethod.ts
60439
+ var MandateMethod, MandateMethod$inboundSchema, MandateMethod$outboundSchema;
60440
+ var init_mandatemethod = __esm(() => {
60441
+ init_esm();
60442
+ MandateMethod = {
60443
+ Creditcard: "creditcard",
60444
+ Directdebit: "directdebit",
60445
+ Paypal: "paypal"
60446
+ };
60447
+ MandateMethod$inboundSchema = nativeEnumType(MandateMethod);
60448
+ MandateMethod$outboundSchema = MandateMethod$inboundSchema;
58054
60449
  });
58055
60450
 
58056
60451
  // src/models/mandaterequest.ts
@@ -58236,54 +60631,6 @@ var init_methodresourceparameter = __esm(() => {
58236
60631
  MethodResourceParameter$outboundSchema = MethodResourceParameter$inboundSchema;
58237
60632
  });
58238
60633
 
58239
- // src/models/methodresponse.ts
58240
- var MethodResponse, MethodResponse$inboundSchema, MethodResponse$outboundSchema;
58241
- var init_methodresponse = __esm(() => {
58242
- init_enums();
58243
- MethodResponse = {
58244
- Alma: "alma",
58245
- Applepay: "applepay",
58246
- Bacs: "bacs",
58247
- Bancomatpay: "bancomatpay",
58248
- Bancontact: "bancontact",
58249
- Banktransfer: "banktransfer",
58250
- Belfius: "belfius",
58251
- Billie: "billie",
58252
- Bizum: "bizum",
58253
- Blik: "blik",
58254
- Creditcard: "creditcard",
58255
- Directdebit: "directdebit",
58256
- Eps: "eps",
58257
- Giftcard: "giftcard",
58258
- Ideal: "ideal",
58259
- In3: "in3",
58260
- Kbc: "kbc",
58261
- Klarna: "klarna",
58262
- Mbway: "mbway",
58263
- Mobilepay: "mobilepay",
58264
- Multibanco: "multibanco",
58265
- Mybank: "mybank",
58266
- Paybybank: "paybybank",
58267
- Paypal: "paypal",
58268
- Paysafecard: "paysafecard",
58269
- Pointofsale: "pointofsale",
58270
- Przelewy24: "przelewy24",
58271
- Riverty: "riverty",
58272
- Satispay: "satispay",
58273
- Swish: "swish",
58274
- Trustly: "trustly",
58275
- Twint: "twint",
58276
- Vipps: "vipps",
58277
- Voucher: "voucher",
58278
- Klarnapaylater: "klarnapaylater",
58279
- Klarnapaynow: "klarnapaynow",
58280
- Klarnasliceit: "klarnasliceit",
58281
- Payconiq: "payconiq"
58282
- };
58283
- MethodResponse$inboundSchema = inboundSchema(MethodResponse);
58284
- MethodResponse$outboundSchema = outboundSchema(MethodResponse);
58285
- });
58286
-
58287
60634
  // src/models/onboardingvatregulation.ts
58288
60635
  var OnboardingVatRegulation, OnboardingVatRegulation$inboundSchema, OnboardingVatRegulation$outboundSchema;
58289
60636
  var init_onboardingvatregulation = __esm(() => {
@@ -58294,176 +60641,7 @@ var init_onboardingvatregulation = __esm(() => {
58294
60641
  Shifted: "shifted"
58295
60642
  };
58296
60643
  OnboardingVatRegulation$inboundSchema = nativeEnumType(OnboardingVatRegulation);
58297
- OnboardingVatRegulation$outboundSchema = OnboardingVatRegulation$inboundSchema;
58298
- });
58299
-
58300
- // src/models/paymentdetailscardauditionresponse.ts
58301
- var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema;
58302
- var init_paymentdetailscardauditionresponse = __esm(() => {
58303
- init_enums();
58304
- PaymentDetailsCardAuditionResponse = {
58305
- Consumer: "consumer",
58306
- Business: "business"
58307
- };
58308
- PaymentDetailsCardAuditionResponse$inboundSchema = inboundSchema(PaymentDetailsCardAuditionResponse);
58309
- PaymentDetailsCardAuditionResponse$outboundSchema = outboundSchema(PaymentDetailsCardAuditionResponse);
58310
- });
58311
-
58312
- // src/models/paymentdetailscardfundingresponse.ts
58313
- var PaymentDetailsCardFundingResponse, PaymentDetailsCardFundingResponse$inboundSchema, PaymentDetailsCardFundingResponse$outboundSchema;
58314
- var init_paymentdetailscardfundingresponse = __esm(() => {
58315
- init_enums();
58316
- PaymentDetailsCardFundingResponse = {
58317
- Debit: "debit",
58318
- Credit: "credit",
58319
- Prepaid: "prepaid",
58320
- DeferredDebit: "deferred-debit"
58321
- };
58322
- PaymentDetailsCardFundingResponse$inboundSchema = inboundSchema(PaymentDetailsCardFundingResponse);
58323
- PaymentDetailsCardFundingResponse$outboundSchema = outboundSchema(PaymentDetailsCardFundingResponse);
58324
- });
58325
-
58326
- // src/models/paymentdetailscardlabelresponse.ts
58327
- var PaymentDetailsCardLabelResponse, PaymentDetailsCardLabelResponse$inboundSchema, PaymentDetailsCardLabelResponse$outboundSchema;
58328
- var init_paymentdetailscardlabelresponse = __esm(() => {
58329
- init_enums();
58330
- PaymentDetailsCardLabelResponse = {
58331
- AmericanExpress: "American Express",
58332
- CartaSi: "Carta Si",
58333
- CarteBleue: "Carte Bleue",
58334
- Dankort: "Dankort",
58335
- DinersClub: "Diners Club",
58336
- Discover: "Discover",
58337
- Jcb: "JCB",
58338
- Laser: "Laser",
58339
- Maestro: "Maestro",
58340
- Mastercard: "Mastercard",
58341
- Unionpay: "Unionpay",
58342
- Visa: "Visa",
58343
- Vpay: "Vpay"
58344
- };
58345
- PaymentDetailsCardLabelResponse$inboundSchema = inboundSchema(PaymentDetailsCardLabelResponse);
58346
- PaymentDetailsCardLabelResponse$outboundSchema = outboundSchema(PaymentDetailsCardLabelResponse);
58347
- });
58348
-
58349
- // src/models/paymentdetailscardsecurityresponse.ts
58350
- var PaymentDetailsCardSecurityResponse, PaymentDetailsCardSecurityResponse$inboundSchema, PaymentDetailsCardSecurityResponse$outboundSchema;
58351
- var init_paymentdetailscardsecurityresponse = __esm(() => {
58352
- init_enums();
58353
- PaymentDetailsCardSecurityResponse = {
58354
- Normal: "normal",
58355
- Threedsecure: "3dsecure"
58356
- };
58357
- PaymentDetailsCardSecurityResponse$inboundSchema = inboundSchema(PaymentDetailsCardSecurityResponse);
58358
- PaymentDetailsCardSecurityResponse$outboundSchema = outboundSchema(PaymentDetailsCardSecurityResponse);
58359
- });
58360
-
58361
- // src/models/paymentdetailsfailurereasonresponse.ts
58362
- var PaymentDetailsFailureReasonResponse, PaymentDetailsFailureReasonResponse$inboundSchema, PaymentDetailsFailureReasonResponse$outboundSchema;
58363
- var init_paymentdetailsfailurereasonresponse = __esm(() => {
58364
- init_enums();
58365
- PaymentDetailsFailureReasonResponse = {
58366
- AuthenticationAbandoned: "authentication_abandoned",
58367
- AuthenticationFailed: "authentication_failed",
58368
- AuthenticationRequired: "authentication_required",
58369
- AuthenticationUnavailableAcs: "authentication_unavailable_acs",
58370
- CardDeclined: "card_declined",
58371
- CardExpired: "card_expired",
58372
- InactiveCard: "inactive_card",
58373
- InsufficientFunds: "insufficient_funds",
58374
- InvalidCvv: "invalid_cvv",
58375
- InvalidCardHolderName: "invalid_card_holder_name",
58376
- InvalidCardNumber: "invalid_card_number",
58377
- InvalidCardType: "invalid_card_type",
58378
- PossibleFraud: "possible_fraud",
58379
- RefusedByIssuer: "refused_by_issuer",
58380
- UnknownReason: "unknown_reason"
58381
- };
58382
- PaymentDetailsFailureReasonResponse$inboundSchema = inboundSchema(PaymentDetailsFailureReasonResponse);
58383
- PaymentDetailsFailureReasonResponse$outboundSchema = outboundSchema(PaymentDetailsFailureReasonResponse);
58384
- });
58385
-
58386
- // src/models/paymentdetailsfeeregionresponse.ts
58387
- var PaymentDetailsFeeRegionResponse, PaymentDetailsFeeRegionResponse$inboundSchema, PaymentDetailsFeeRegionResponse$outboundSchema;
58388
- var init_paymentdetailsfeeregionresponse = __esm(() => {
58389
- init_enums();
58390
- PaymentDetailsFeeRegionResponse = {
58391
- AmericanExpress: "american-express",
58392
- AmexIntraEea: "amex-intra-eea",
58393
- CarteBancaire: "carte-bancaire",
58394
- IntraEu: "intra-eu",
58395
- IntraEuCorporate: "intra-eu-corporate",
58396
- Domestic: "domestic",
58397
- Maestro: "maestro",
58398
- Other: "other",
58399
- Inter: "inter",
58400
- IntraEea: "intra_eea"
58401
- };
58402
- PaymentDetailsFeeRegionResponse$inboundSchema = inboundSchema(PaymentDetailsFeeRegionResponse);
58403
- PaymentDetailsFeeRegionResponse$outboundSchema = outboundSchema(PaymentDetailsFeeRegionResponse);
58404
- });
58405
-
58406
- // src/models/paymentdetailsreceiptcardreadmethodresponse.ts
58407
- var PaymentDetailsReceiptCardReadMethodResponse, PaymentDetailsReceiptCardReadMethodResponse$inboundSchema, PaymentDetailsReceiptCardReadMethodResponse$outboundSchema;
58408
- var init_paymentdetailsreceiptcardreadmethodresponse = __esm(() => {
58409
- init_enums();
58410
- PaymentDetailsReceiptCardReadMethodResponse = {
58411
- Chip: "chip",
58412
- MagneticStripe: "magnetic-stripe",
58413
- NearFieldCommunication: "near-field-communication",
58414
- Contactless: "contactless",
58415
- Moto: "moto"
58416
- };
58417
- PaymentDetailsReceiptCardReadMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
58418
- PaymentDetailsReceiptCardReadMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardReadMethodResponse);
58419
- });
58420
-
58421
- // src/models/paymentdetailsreceiptcardverificationmethodresponse.ts
58422
- var PaymentDetailsReceiptCardVerificationMethodResponse, PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema, PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema;
58423
- var init_paymentdetailsreceiptcardverificationmethodresponse = __esm(() => {
58424
- init_enums();
58425
- PaymentDetailsReceiptCardVerificationMethodResponse = {
58426
- NoCvmRequired: "no-cvm-required",
58427
- OnlinePin: "online-pin",
58428
- OfflinePin: "offline-pin",
58429
- ConsumerDevice: "consumer-device",
58430
- Signature: "signature",
58431
- SignatureAndOnlinePin: "signature-and-online-pin",
58432
- OnlinePinAndSignature: "online-pin-and-signature",
58433
- None: "none",
58434
- Failed: "failed"
58435
- };
58436
- PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema = inboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
58437
- PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema = outboundSchema(PaymentDetailsReceiptCardVerificationMethodResponse);
58438
- });
58439
-
58440
- // src/models/paymentdetailssellerprotectionresponse.ts
58441
- var PaymentDetailsSellerProtectionResponse, PaymentDetailsSellerProtectionResponse$inboundSchema, PaymentDetailsSellerProtectionResponse$outboundSchema;
58442
- var init_paymentdetailssellerprotectionresponse = __esm(() => {
58443
- init_enums();
58444
- PaymentDetailsSellerProtectionResponse = {
58445
- Eligible: "Eligible",
58446
- Ineligible: "Ineligible",
58447
- PartiallyEligibleINROnly: "Partially Eligible - INR Only",
58448
- PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
58449
- PartiallyEligible: "Partially Eligible",
58450
- None: "None",
58451
- Active: "Active",
58452
- FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible"
58453
- };
58454
- PaymentDetailsSellerProtectionResponse$inboundSchema = inboundSchema(PaymentDetailsSellerProtectionResponse);
58455
- PaymentDetailsSellerProtectionResponse$outboundSchema = outboundSchema(PaymentDetailsSellerProtectionResponse);
58456
- });
58457
-
58458
- // src/models/paymentdetailswalletresponse.ts
58459
- var PaymentDetailsWalletResponse, PaymentDetailsWalletResponse$inboundSchema, PaymentDetailsWalletResponse$outboundSchema;
58460
- var init_paymentdetailswalletresponse = __esm(() => {
58461
- init_enums();
58462
- PaymentDetailsWalletResponse = {
58463
- Applepay: "applepay"
58464
- };
58465
- PaymentDetailsWalletResponse$inboundSchema = inboundSchema(PaymentDetailsWalletResponse);
58466
- PaymentDetailsWalletResponse$outboundSchema = outboundSchema(PaymentDetailsWalletResponse);
60644
+ OnboardingVatRegulation$outboundSchema = OnboardingVatRegulation$inboundSchema;
58467
60645
  });
58468
60646
 
58469
60647
  // src/models/paymentlinetype.ts
@@ -58574,58 +60752,6 @@ var init_paymentlinksequencetype = __esm(() => {
58574
60752
  PaymentLinkSequenceType$outboundSchema = PaymentLinkSequenceType$inboundSchema;
58575
60753
  });
58576
60754
 
58577
- // src/types/rfcdate.ts
58578
- class RFCDate {
58579
- serialized;
58580
- static today() {
58581
- return new RFCDate(new Date);
58582
- }
58583
- constructor(date4) {
58584
- if (typeof date4 === "string" && !dateRE.test(date4)) {
58585
- throw new RangeError("RFCDate: date strings must be in the format YYYY-MM-DD: " + date4);
58586
- }
58587
- const value = new Date(date4);
58588
- if (isNaN(+value)) {
58589
- throw new RangeError("RFCDate: invalid date provided: " + date4);
58590
- }
58591
- this.serialized = value.toISOString().slice(0, "YYYY-MM-DD".length);
58592
- if (!dateRE.test(this.serialized)) {
58593
- throw new TypeError(`RFCDate: failed to build valid date with given value: ${date4} serialized to ${this.serialized}`);
58594
- }
58595
- }
58596
- toJSON() {
58597
- return this.toString();
58598
- }
58599
- toString() {
58600
- return this.serialized;
58601
- }
58602
- }
58603
- var dateRE;
58604
- var init_rfcdate = __esm(() => {
58605
- dateRE = /^\d{4}-\d{2}-\d{2}$/;
58606
- });
58607
-
58608
- // src/models/recurringlineitem.ts
58609
- var RecurringLineItem$inboundSchema, RecurringLineItem$outboundSchema;
58610
- var init_recurringlineitem = __esm(() => {
58611
- init_esm();
58612
- init_amount();
58613
- RecurringLineItem$inboundSchema = objectType({
58614
- description: stringType().optional(),
58615
- interval: stringType(),
58616
- amount: Amount$inboundSchema.optional(),
58617
- times: numberType().int().optional(),
58618
- startDate: nullableType(stringType()).optional()
58619
- });
58620
- RecurringLineItem$outboundSchema = objectType({
58621
- description: stringType().optional(),
58622
- interval: stringType(),
58623
- amount: Amount$outboundSchema.optional(),
58624
- times: numberType().int().optional(),
58625
- startDate: nullableType(stringType()).optional()
58626
- });
58627
- });
58628
-
58629
60755
  // src/models/sequencetype.ts
58630
60756
  var SequenceType, SequenceType$inboundSchema, SequenceType$outboundSchema;
58631
60757
  var init_sequencetype = __esm(() => {
@@ -58807,155 +60933,8 @@ var init_paymentrequest = __esm(() => {
58807
60933
  });
58808
60934
  });
58809
60935
 
58810
- // src/models/sequencetyperesponse.ts
58811
- var SequenceTypeResponse, SequenceTypeResponse$inboundSchema, SequenceTypeResponse$outboundSchema;
58812
- var init_sequencetyperesponse = __esm(() => {
58813
- init_enums();
58814
- SequenceTypeResponse = {
58815
- Oneoff: "oneoff",
58816
- First: "first",
58817
- Recurring: "recurring"
58818
- };
58819
- SequenceTypeResponse$inboundSchema = inboundSchema(SequenceTypeResponse);
58820
- SequenceTypeResponse$outboundSchema = outboundSchema(SequenceTypeResponse);
58821
- });
58822
-
58823
- // src/models/statusreason.ts
58824
- var Code, Code$inboundSchema, Code$outboundSchema, StatusReason$inboundSchema, StatusReason$outboundSchema;
58825
- var init_statusreason = __esm(() => {
58826
- init_esm();
58827
- Code = {
58828
- ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
58829
- ReferToCardIssuer: "refer_to_card_issuer",
58830
- InvalidMerchant: "invalid_merchant",
58831
- CaptureCard: "capture_card",
58832
- DoNotHonor: "do_not_honor",
58833
- Error: "error",
58834
- PartialApproval: "partial_approval",
58835
- InvalidTransaction: "invalid_transaction",
58836
- InvalidAmount: "invalid_amount",
58837
- InvalidIssuer: "invalid_issuer",
58838
- LostCard: "lost_card",
58839
- StolenCard: "stolen_card",
58840
- InsufficientFunds: "insufficient_funds",
58841
- ExpiredCard: "expired_card",
58842
- InvalidPin: "invalid_pin",
58843
- TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
58844
- TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
58845
- ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
58846
- RestrictedCard: "restricted_card",
58847
- SecurityViolation: "security_violation",
58848
- ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
58849
- AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
58850
- NoReasonToDecline: "no_reason_to_decline",
58851
- CannotVerifyPin: "cannot_verify_pin",
58852
- IssuerUnavailable: "issuer_unavailable",
58853
- UnableToRouteTransaction: "unable_to_route_transaction",
58854
- DuplicateTransaction: "duplicate_transaction",
58855
- SystemMalfunction: "system_malfunction",
58856
- HonorWithId: "honor_with_id",
58857
- InvalidCardNumber: "invalid_card_number",
58858
- FormatError: "format_error",
58859
- ContactCardIssuer: "contact_card_issuer",
58860
- PinNotChanged: "pin_not_changed",
58861
- InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
58862
- InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
58863
- InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
58864
- LifecycleRelated: "lifecycle_related",
58865
- DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
58866
- PolicyRelated: "policy_related",
58867
- FraudSecurityRelated: "fraud_security_related",
58868
- InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
58869
- PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
58870
- CryptographicFailure: "cryptographic_failure",
58871
- UnacceptablePin: "unacceptable_pin",
58872
- ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
58873
- PickUpCardSpecialCondition: "pick_up_card_special_condition",
58874
- VipApproval: "vip_approval",
58875
- InvalidAccountNumber: "invalid_account_number",
58876
- ReEnterTransaction: "re_enter_transaction",
58877
- NoActionTaken: "no_action_taken",
58878
- UnableToLocateRecord: "unable_to_locate_record",
58879
- FileTemporarilyUnavailable: "file_temporarily_unavailable",
58880
- NoCreditAccount: "no_credit_account",
58881
- ClosedAccount: "closed_account",
58882
- NoCheckingAccount: "no_checking_account",
58883
- NoSavingsAccount: "no_savings_account",
58884
- SuspectedFraud: "suspected_fraud",
58885
- TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
58886
- PinDataRequired: "pin_data_required",
58887
- UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
58888
- PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
58889
- BlockedFirstUsed: "blocked_first_used",
58890
- TransactionReversed: "transaction_reversed",
58891
- CreditIssuerUnavailable: "credit_issuer_unavailable",
58892
- PinCryptographicErrorFound: "pin_cryptographic_error_found",
58893
- NegativeOnlineCamResult: "negative_online_cam_result",
58894
- ViolationOfLaw: "violation_of_law",
58895
- ForceStip: "force_stip",
58896
- CashServiceNotAvailable: "cash_service_not_available",
58897
- CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
58898
- DeclineForCvv2Failure: "decline_for_cvv2_failure",
58899
- TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
58900
- InvalidBillerInformation: "invalid_biller_information",
58901
- PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
58902
- UnsafePin: "unsafe_pin",
58903
- CardAuthenticationFailed: "card_authentication_failed",
58904
- StopPaymentOrder: "stop_payment_order",
58905
- RevocationOfAuthorization: "revocation_of_authorization",
58906
- RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
58907
- ForwardToIssuerXa: "forward_to_issuer_xa",
58908
- ForwardToIssuerXd: "forward_to_issuer_xd",
58909
- UnableToGoOnline: "unable_to_go_online",
58910
- AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
58911
- MerchantIdNotFound: "merchant_id_not_found",
58912
- MerchantAccountClosed: "merchant_account_closed",
58913
- TerminalIdNotFound: "terminal_id_not_found",
58914
- TerminalClosed: "terminal_closed",
58915
- InvalidCategoryCode: "invalid_category_code",
58916
- InvalidCurrency: "invalid_currency",
58917
- MissingCvv2Cvc2: "missing_cvv2_cvc2",
58918
- Cvv2NotAllowed: "cvv2_not_allowed",
58919
- MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
58920
- MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
58921
- TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
58922
- AgreementTerminalNotRelated: "agreement_terminal_not_related",
58923
- InvalidProcessorId: "invalid_processor_id",
58924
- InvalidMerchantData: "invalid_merchant_data",
58925
- SubMerchantAccountClosed: "sub_merchant_account_closed",
58926
- TerminalBusy: "terminal_busy",
58927
- TerminalUnreachable: "terminal_unreachable",
58928
- ServiceFailed: "service_failed",
58929
- InvalidOperation: "invalid_operation",
58930
- AuthorizationError: "authorization_error",
58931
- LoginFailedWithoutReason: "login_failed_without_reason",
58932
- InvalidRetailer: "invalid_retailer",
58933
- CardDoesNotExist: "card_does_not_exist",
58934
- CardIsBlocked: "card_is_blocked",
58935
- InvalidCardId: "invalid_card_id",
58936
- CardIsTransferred: "card_is_transferred",
58937
- CardIsNotActive: "card_is_not_active",
58938
- IncorrectPurchaseValue: "incorrect_purchase_value",
58939
- CardNotAvailable: "card_not_available",
58940
- WrongCurrency: "wrong_currency",
58941
- LoginFailedUnknownUser: "login_failed_unknown_user",
58942
- LoginFailedInvalidPassword: "login_failed_invalid_password",
58943
- InvalidEanCode: "invalid_ean_code"
58944
- };
58945
- Code$inboundSchema = nativeEnumType(Code);
58946
- Code$outboundSchema = Code$inboundSchema;
58947
- StatusReason$inboundSchema = objectType({
58948
- code: Code$inboundSchema,
58949
- message: stringType()
58950
- });
58951
- StatusReason$outboundSchema = objectType({
58952
- code: Code$outboundSchema,
58953
- message: stringType()
58954
- });
58955
- });
58956
-
58957
60936
  // src/models/paymentresponse.ts
58958
- var PaymentResponseStatus, AmountRefunded$inboundSchema, AmountRefunded$outboundSchema, AmountRemaining$inboundSchema, AmountRemaining$outboundSchema, AmountCaptured$inboundSchema, AmountCaptured$outboundSchema, AmountChargedBack$inboundSchema, AmountChargedBack$outboundSchema, PaymentResponseSettlementAmount$inboundSchema, PaymentResponseSettlementAmount$outboundSchema, PaymentResponseLine$inboundSchema, PaymentResponseLine$outboundSchema, PaymentResponseBillingAddress$inboundSchema, PaymentResponseBillingAddress$outboundSchema, PaymentResponseApplicationFee$inboundSchema, PaymentResponseApplicationFee$outboundSchema, PaymentResponseStatus$inboundSchema, PaymentResponseStatus$outboundSchema, Receipt$inboundSchema, Receipt$outboundSchema, QrCode$inboundSchema, QrCode$outboundSchema, PaymentResponseDetails$inboundSchema, PaymentResponseDetails$outboundSchema, PaymentResponseLinks$inboundSchema, PaymentResponseLinks$outboundSchema, PaymentResponse$inboundSchema, PaymentResponse$outboundSchema;
60937
+ var PaymentResponseStatus, PaymentResponseAmountRefunded$inboundSchema, PaymentResponseAmountRefunded$outboundSchema, PaymentResponseAmountRemaining$inboundSchema, PaymentResponseAmountRemaining$outboundSchema, PaymentResponseAmountCaptured$inboundSchema, PaymentResponseAmountCaptured$outboundSchema, PaymentResponseAmountChargedBack$inboundSchema, PaymentResponseAmountChargedBack$outboundSchema, PaymentResponseSettlementAmount$inboundSchema, PaymentResponseSettlementAmount$outboundSchema, PaymentResponseLine$inboundSchema, PaymentResponseLine$outboundSchema, PaymentResponseBillingAddress$inboundSchema, PaymentResponseBillingAddress$outboundSchema, PaymentResponseApplicationFee$inboundSchema, PaymentResponseApplicationFee$outboundSchema, PaymentResponseStatus$inboundSchema, PaymentResponseStatus$outboundSchema, PaymentResponseReceipt$inboundSchema, PaymentResponseReceipt$outboundSchema, PaymentResponseQrCode$inboundSchema, PaymentResponseQrCode$outboundSchema, PaymentResponseDetails$inboundSchema, PaymentResponseDetails$outboundSchema, PaymentResponseLinks$inboundSchema, PaymentResponseLinks$outboundSchema, PaymentResponse$inboundSchema, PaymentResponse$outboundSchema;
58959
60938
  var init_paymentresponse = __esm(() => {
58960
60939
  init_esm();
58961
60940
  init_primitives();
@@ -58995,35 +60974,35 @@ var init_paymentresponse = __esm(() => {
58995
60974
  Expired: "expired",
58996
60975
  Failed: "failed"
58997
60976
  };
58998
- AmountRefunded$inboundSchema = objectType({
60977
+ PaymentResponseAmountRefunded$inboundSchema = objectType({
58999
60978
  currency: stringType(),
59000
60979
  value: stringType()
59001
60980
  });
59002
- AmountRefunded$outboundSchema = objectType({
60981
+ PaymentResponseAmountRefunded$outboundSchema = objectType({
59003
60982
  currency: stringType(),
59004
60983
  value: stringType()
59005
60984
  });
59006
- AmountRemaining$inboundSchema = objectType({
60985
+ PaymentResponseAmountRemaining$inboundSchema = objectType({
59007
60986
  currency: stringType(),
59008
60987
  value: stringType()
59009
60988
  });
59010
- AmountRemaining$outboundSchema = objectType({
60989
+ PaymentResponseAmountRemaining$outboundSchema = objectType({
59011
60990
  currency: stringType(),
59012
60991
  value: stringType()
59013
60992
  });
59014
- AmountCaptured$inboundSchema = objectType({
60993
+ PaymentResponseAmountCaptured$inboundSchema = objectType({
59015
60994
  currency: stringType(),
59016
60995
  value: stringType()
59017
60996
  });
59018
- AmountCaptured$outboundSchema = objectType({
60997
+ PaymentResponseAmountCaptured$outboundSchema = objectType({
59019
60998
  currency: stringType(),
59020
60999
  value: stringType()
59021
61000
  });
59022
- AmountChargedBack$inboundSchema = objectType({
61001
+ PaymentResponseAmountChargedBack$inboundSchema = objectType({
59023
61002
  currency: stringType(),
59024
61003
  value: stringType()
59025
61004
  });
59026
- AmountChargedBack$outboundSchema = objectType({
61005
+ PaymentResponseAmountChargedBack$outboundSchema = objectType({
59027
61006
  currency: stringType(),
59028
61007
  value: stringType()
59029
61008
  });
@@ -59105,24 +61084,24 @@ var init_paymentresponse = __esm(() => {
59105
61084
  });
59106
61085
  PaymentResponseStatus$inboundSchema = inboundSchema(PaymentResponseStatus);
59107
61086
  PaymentResponseStatus$outboundSchema = outboundSchema(PaymentResponseStatus);
59108
- Receipt$inboundSchema = objectType({
61087
+ PaymentResponseReceipt$inboundSchema = objectType({
59109
61088
  authorizationCode: nullableType(stringType()).optional(),
59110
61089
  applicationIdentifier: nullableType(stringType()).optional(),
59111
61090
  cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$inboundSchema).optional(),
59112
61091
  cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema).optional()
59113
61092
  });
59114
- Receipt$outboundSchema = objectType({
61093
+ PaymentResponseReceipt$outboundSchema = objectType({
59115
61094
  authorizationCode: nullableType(stringType()).optional(),
59116
61095
  applicationIdentifier: nullableType(stringType()).optional(),
59117
61096
  cardReadMethod: nullableType(PaymentDetailsReceiptCardReadMethodResponse$outboundSchema).optional(),
59118
61097
  cardVerificationMethod: nullableType(PaymentDetailsReceiptCardVerificationMethodResponse$outboundSchema).optional()
59119
61098
  });
59120
- QrCode$inboundSchema = objectType({
61099
+ PaymentResponseQrCode$inboundSchema = objectType({
59121
61100
  height: numberType().int().optional(),
59122
61101
  width: numberType().int().optional(),
59123
61102
  src: stringType().optional()
59124
61103
  });
59125
- QrCode$outboundSchema = objectType({
61104
+ PaymentResponseQrCode$outboundSchema = objectType({
59126
61105
  height: numberType().int().optional(),
59127
61106
  width: numberType().int().optional(),
59128
61107
  src: stringType().optional()
@@ -59160,7 +61139,7 @@ var init_paymentresponse = __esm(() => {
59160
61139
  customerReference: stringType().optional(),
59161
61140
  terminalId: stringType().optional(),
59162
61141
  maskedNumber: nullableType(stringType()).optional(),
59163
- receipt: lazyType(() => Receipt$inboundSchema).optional(),
61142
+ receipt: lazyType(() => PaymentResponseReceipt$inboundSchema).optional(),
59164
61143
  creditorIdentifier: nullableType(stringType()).optional(),
59165
61144
  dueDate: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
59166
61145
  signatureDate: nullableType(stringType().transform((v2) => new RFCDate(v2))).optional(),
@@ -59170,7 +61149,7 @@ var init_paymentresponse = __esm(() => {
59170
61149
  mandateReference: nullableType(stringType()).optional(),
59171
61150
  batchReference: nullableType(stringType()).optional(),
59172
61151
  fileReference: nullableType(stringType()).optional(),
59173
- qrCode: lazyType(() => QrCode$inboundSchema).optional(),
61152
+ qrCode: lazyType(() => PaymentResponseQrCode$inboundSchema).optional(),
59174
61153
  voucherNumber: stringType().optional(),
59175
61154
  giftcards: arrayType(recordType(anyType())).optional(),
59176
61155
  issuer: stringType().optional(),
@@ -59214,7 +61193,7 @@ var init_paymentresponse = __esm(() => {
59214
61193
  customerReference: stringType().optional(),
59215
61194
  terminalId: stringType().optional(),
59216
61195
  maskedNumber: nullableType(stringType()).optional(),
59217
- receipt: lazyType(() => Receipt$outboundSchema).optional(),
61196
+ receipt: lazyType(() => PaymentResponseReceipt$outboundSchema).optional(),
59218
61197
  creditorIdentifier: nullableType(stringType()).optional(),
59219
61198
  dueDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
59220
61199
  signatureDate: nullableType(instanceOfType(RFCDate).transform((v2) => v2.toString())).optional(),
@@ -59224,7 +61203,7 @@ var init_paymentresponse = __esm(() => {
59224
61203
  mandateReference: nullableType(stringType()).optional(),
59225
61204
  batchReference: nullableType(stringType()).optional(),
59226
61205
  fileReference: nullableType(stringType()).optional(),
59227
- qrCode: lazyType(() => QrCode$outboundSchema).optional(),
61206
+ qrCode: lazyType(() => PaymentResponseQrCode$outboundSchema).optional(),
59228
61207
  voucherNumber: stringType().optional(),
59229
61208
  giftcards: arrayType(recordType(anyType())).optional(),
59230
61209
  issuer: stringType().optional(),
@@ -59279,10 +61258,10 @@ var init_paymentresponse = __esm(() => {
59279
61258
  mode: Mode$inboundSchema,
59280
61259
  description: stringType(),
59281
61260
  amount: Amount$inboundSchema,
59282
- amountRefunded: lazyType(() => AmountRefunded$inboundSchema).optional(),
59283
- amountRemaining: lazyType(() => AmountRemaining$inboundSchema).optional(),
59284
- amountCaptured: lazyType(() => AmountCaptured$inboundSchema).optional(),
59285
- amountChargedBack: lazyType(() => AmountChargedBack$inboundSchema).optional(),
61261
+ amountRefunded: lazyType(() => PaymentResponseAmountRefunded$inboundSchema).optional(),
61262
+ amountRemaining: lazyType(() => PaymentResponseAmountRemaining$inboundSchema).optional(),
61263
+ amountCaptured: lazyType(() => PaymentResponseAmountCaptured$inboundSchema).optional(),
61264
+ amountChargedBack: lazyType(() => PaymentResponseAmountChargedBack$inboundSchema).optional(),
59286
61265
  settlementAmount: lazyType(() => PaymentResponseSettlementAmount$inboundSchema).optional(),
59287
61266
  redirectUrl: nullableType(stringType()).optional(),
59288
61267
  cancelUrl: nullableType(stringType()).optional(),
@@ -59330,10 +61309,10 @@ var init_paymentresponse = __esm(() => {
59330
61309
  mode: Mode$outboundSchema,
59331
61310
  description: stringType(),
59332
61311
  amount: Amount$outboundSchema,
59333
- amountRefunded: lazyType(() => AmountRefunded$outboundSchema).optional(),
59334
- amountRemaining: lazyType(() => AmountRemaining$outboundSchema).optional(),
59335
- amountCaptured: lazyType(() => AmountCaptured$outboundSchema).optional(),
59336
- amountChargedBack: lazyType(() => AmountChargedBack$outboundSchema).optional(),
61312
+ amountRefunded: lazyType(() => PaymentResponseAmountRefunded$outboundSchema).optional(),
61313
+ amountRemaining: lazyType(() => PaymentResponseAmountRemaining$outboundSchema).optional(),
61314
+ amountCaptured: lazyType(() => PaymentResponseAmountCaptured$outboundSchema).optional(),
61315
+ amountChargedBack: lazyType(() => PaymentResponseAmountChargedBack$outboundSchema).optional(),
59337
61316
  settlementAmount: lazyType(() => PaymentResponseSettlementAmount$outboundSchema).optional(),
59338
61317
  redirectUrl: nullableType(stringType()).optional(),
59339
61318
  cancelUrl: nullableType(stringType()).optional(),
@@ -59461,112 +61440,58 @@ var init_refundrequest = __esm(() => {
59461
61440
  description: stringType(),
59462
61441
  amount: Amount$outboundSchema,
59463
61442
  metadata: nullableType(Metadata$outboundSchema),
59464
- externalReference: lazyType(() => RefundRequestExternalReference$outboundSchema).optional(),
59465
- reverseRouting: nullableType(booleanType()).optional(),
59466
- routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$outboundSchema))).optional(),
59467
- testmode: nullableType(booleanType()).optional()
59468
- });
59469
- });
59470
-
59471
- // src/models/routecreateresponse.ts
59472
- var RouteCreateResponseDestination$inboundSchema, RouteCreateResponseDestination$outboundSchema, RouteCreateResponseLinks$inboundSchema, RouteCreateResponseLinks$outboundSchema, RouteCreateResponse$inboundSchema, RouteCreateResponse$outboundSchema;
59473
- var init_routecreateresponse = __esm(() => {
59474
- init_esm();
59475
- init_primitives();
59476
- init_amount();
59477
- init_routedestinationtyperesponse();
59478
- init_url2();
59479
- RouteCreateResponseDestination$inboundSchema = objectType({
59480
- type: RouteDestinationTypeResponse$inboundSchema,
59481
- organizationId: stringType()
59482
- });
59483
- RouteCreateResponseDestination$outboundSchema = objectType({
59484
- type: RouteDestinationTypeResponse$outboundSchema,
59485
- organizationId: stringType()
59486
- });
59487
- RouteCreateResponseLinks$inboundSchema = objectType({
59488
- self: Url$inboundSchema,
59489
- documentation: Url$inboundSchema
59490
- });
59491
- RouteCreateResponseLinks$outboundSchema = objectType({
59492
- self: Url$outboundSchema,
59493
- documentation: Url$outboundSchema
59494
- });
59495
- RouteCreateResponse$inboundSchema = objectType({
59496
- resource: stringType(),
59497
- id: stringType(),
59498
- paymentId: stringType(),
59499
- amount: Amount$inboundSchema,
59500
- description: stringType(),
59501
- destination: lazyType(() => RouteCreateResponseDestination$inboundSchema),
59502
- _links: lazyType(() => RouteCreateResponseLinks$inboundSchema)
59503
- }).transform((v2) => {
59504
- return remap(v2, {
59505
- _links: "links"
59506
- });
59507
- });
59508
- RouteCreateResponse$outboundSchema = objectType({
59509
- resource: stringType(),
59510
- id: stringType(),
59511
- paymentId: stringType(),
59512
- amount: Amount$outboundSchema,
59513
- description: stringType(),
59514
- destination: lazyType(() => RouteCreateResponseDestination$outboundSchema),
59515
- links: lazyType(() => RouteCreateResponseLinks$outboundSchema)
59516
- }).transform((v2) => {
59517
- return remap(v2, {
59518
- links: "_links"
59519
- });
61443
+ externalReference: lazyType(() => RefundRequestExternalReference$outboundSchema).optional(),
61444
+ reverseRouting: nullableType(booleanType()).optional(),
61445
+ routingReversals: nullableType(arrayType(lazyType(() => RefundRequestRoutingReversal$outboundSchema))).optional(),
61446
+ testmode: nullableType(booleanType()).optional()
59520
61447
  });
59521
61448
  });
59522
61449
 
59523
- // src/models/routegetresponse.ts
59524
- var RouteGetResponseDestination$inboundSchema, RouteGetResponseDestination$outboundSchema, RouteGetResponseLinks$inboundSchema, RouteGetResponseLinks$outboundSchema, RouteGetResponse$inboundSchema, RouteGetResponse$outboundSchema;
59525
- var init_routegetresponse = __esm(() => {
61450
+ // src/models/routecreateresponse.ts
61451
+ var RouteCreateResponseDestination$inboundSchema, RouteCreateResponseDestination$outboundSchema, RouteCreateResponseLinks$inboundSchema, RouteCreateResponseLinks$outboundSchema, RouteCreateResponse$inboundSchema, RouteCreateResponse$outboundSchema;
61452
+ var init_routecreateresponse = __esm(() => {
59526
61453
  init_esm();
59527
61454
  init_primitives();
59528
61455
  init_amount();
59529
61456
  init_routedestinationtyperesponse();
59530
61457
  init_url2();
59531
- RouteGetResponseDestination$inboundSchema = objectType({
61458
+ RouteCreateResponseDestination$inboundSchema = objectType({
59532
61459
  type: RouteDestinationTypeResponse$inboundSchema,
59533
61460
  organizationId: stringType()
59534
61461
  });
59535
- RouteGetResponseDestination$outboundSchema = objectType({
61462
+ RouteCreateResponseDestination$outboundSchema = objectType({
59536
61463
  type: RouteDestinationTypeResponse$outboundSchema,
59537
61464
  organizationId: stringType()
59538
61465
  });
59539
- RouteGetResponseLinks$inboundSchema = objectType({
61466
+ RouteCreateResponseLinks$inboundSchema = objectType({
59540
61467
  self: Url$inboundSchema,
59541
61468
  documentation: Url$inboundSchema
59542
61469
  });
59543
- RouteGetResponseLinks$outboundSchema = objectType({
61470
+ RouteCreateResponseLinks$outboundSchema = objectType({
59544
61471
  self: Url$outboundSchema,
59545
61472
  documentation: Url$outboundSchema
59546
61473
  });
59547
- RouteGetResponse$inboundSchema = objectType({
61474
+ RouteCreateResponse$inboundSchema = objectType({
59548
61475
  resource: stringType(),
59549
61476
  id: stringType(),
59550
61477
  paymentId: stringType(),
59551
61478
  amount: Amount$inboundSchema,
59552
61479
  description: stringType(),
59553
- destination: lazyType(() => RouteGetResponseDestination$inboundSchema),
59554
- _links: lazyType(() => RouteGetResponseLinks$inboundSchema),
59555
- createdAt: stringType()
61480
+ destination: lazyType(() => RouteCreateResponseDestination$inboundSchema),
61481
+ _links: lazyType(() => RouteCreateResponseLinks$inboundSchema)
59556
61482
  }).transform((v2) => {
59557
61483
  return remap(v2, {
59558
61484
  _links: "links"
59559
61485
  });
59560
61486
  });
59561
- RouteGetResponse$outboundSchema = objectType({
61487
+ RouteCreateResponse$outboundSchema = objectType({
59562
61488
  resource: stringType(),
59563
61489
  id: stringType(),
59564
61490
  paymentId: stringType(),
59565
61491
  amount: Amount$outboundSchema,
59566
61492
  description: stringType(),
59567
- destination: lazyType(() => RouteGetResponseDestination$outboundSchema),
59568
- links: lazyType(() => RouteGetResponseLinks$outboundSchema),
59569
- createdAt: stringType()
61493
+ destination: lazyType(() => RouteCreateResponseDestination$outboundSchema),
61494
+ links: lazyType(() => RouteCreateResponseLinks$outboundSchema)
59570
61495
  }).transform((v2) => {
59571
61496
  return remap(v2, {
59572
61497
  links: "_links"
@@ -59601,47 +61526,6 @@ var init_salesinvoicediscount = __esm(() => {
59601
61526
  });
59602
61527
  });
59603
61528
 
59604
- // src/models/salesinvoicediscounttyperesponse.ts
59605
- var SalesInvoiceDiscountTypeResponse, SalesInvoiceDiscountTypeResponse$inboundSchema, SalesInvoiceDiscountTypeResponse$outboundSchema;
59606
- var init_salesinvoicediscounttyperesponse = __esm(() => {
59607
- init_enums();
59608
- SalesInvoiceDiscountTypeResponse = {
59609
- Amount: "amount",
59610
- Percentage: "percentage"
59611
- };
59612
- SalesInvoiceDiscountTypeResponse$inboundSchema = inboundSchema(SalesInvoiceDiscountTypeResponse);
59613
- SalesInvoiceDiscountTypeResponse$outboundSchema = outboundSchema(SalesInvoiceDiscountTypeResponse);
59614
- });
59615
-
59616
- // src/models/salesinvoicediscountresponse.ts
59617
- var SalesInvoiceDiscountResponse$inboundSchema, SalesInvoiceDiscountResponse$outboundSchema;
59618
- var init_salesinvoicediscountresponse = __esm(() => {
59619
- init_esm();
59620
- init_salesinvoicediscounttyperesponse();
59621
- SalesInvoiceDiscountResponse$inboundSchema = objectType({
59622
- type: SalesInvoiceDiscountTypeResponse$inboundSchema,
59623
- value: stringType()
59624
- });
59625
- SalesInvoiceDiscountResponse$outboundSchema = objectType({
59626
- type: SalesInvoiceDiscountTypeResponse$outboundSchema,
59627
- value: stringType()
59628
- });
59629
- });
59630
-
59631
- // src/models/salesinvoiceemaildetails.ts
59632
- var SalesInvoiceEmailDetails$inboundSchema, SalesInvoiceEmailDetails$outboundSchema;
59633
- var init_salesinvoiceemaildetails = __esm(() => {
59634
- init_esm();
59635
- SalesInvoiceEmailDetails$inboundSchema = objectType({
59636
- subject: stringType(),
59637
- body: stringType()
59638
- });
59639
- SalesInvoiceEmailDetails$outboundSchema = objectType({
59640
- subject: stringType(),
59641
- body: stringType()
59642
- });
59643
- });
59644
-
59645
61529
  // src/models/salesinvoicelineitem.ts
59646
61530
  var SalesInvoiceLineItem$inboundSchema, SalesInvoiceLineItem$outboundSchema;
59647
61531
  var init_salesinvoicelineitem = __esm(() => {
@@ -59664,28 +61548,6 @@ var init_salesinvoicelineitem = __esm(() => {
59664
61548
  });
59665
61549
  });
59666
61550
 
59667
- // src/models/salesinvoicelineitemresponse.ts
59668
- var SalesInvoiceLineItemResponse$inboundSchema, SalesInvoiceLineItemResponse$outboundSchema;
59669
- var init_salesinvoicelineitemresponse = __esm(() => {
59670
- init_esm();
59671
- init_amount();
59672
- init_salesinvoicediscountresponse();
59673
- SalesInvoiceLineItemResponse$inboundSchema = objectType({
59674
- description: stringType(),
59675
- quantity: numberType().int(),
59676
- vatRate: stringType(),
59677
- unitPrice: Amount$inboundSchema,
59678
- discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional()
59679
- });
59680
- SalesInvoiceLineItemResponse$outboundSchema = objectType({
59681
- description: stringType(),
59682
- quantity: numberType().int(),
59683
- vatRate: stringType(),
59684
- unitPrice: Amount$outboundSchema,
59685
- discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional()
59686
- });
59687
- });
59688
-
59689
61551
  // src/models/salesinvoicepaymentdetailssource.ts
59690
61552
  var SalesInvoicePaymentDetailsSource, SalesInvoicePaymentDetailsSource$inboundSchema, SalesInvoicePaymentDetailsSource$outboundSchema;
59691
61553
  var init_salesinvoicepaymentdetailssource = __esm(() => {
@@ -59714,34 +61576,6 @@ var init_salesinvoicepaymentdetails = __esm(() => {
59714
61576
  });
59715
61577
  });
59716
61578
 
59717
- // src/models/salesinvoicepaymentdetailssourceresponse.ts
59718
- var SalesInvoicePaymentDetailsSourceResponse, SalesInvoicePaymentDetailsSourceResponse$inboundSchema, SalesInvoicePaymentDetailsSourceResponse$outboundSchema;
59719
- var init_salesinvoicepaymentdetailssourceresponse = __esm(() => {
59720
- init_enums();
59721
- SalesInvoicePaymentDetailsSourceResponse = {
59722
- Manual: "manual",
59723
- PaymentLink: "payment-link",
59724
- Payment: "payment"
59725
- };
59726
- SalesInvoicePaymentDetailsSourceResponse$inboundSchema = inboundSchema(SalesInvoicePaymentDetailsSourceResponse);
59727
- SalesInvoicePaymentDetailsSourceResponse$outboundSchema = outboundSchema(SalesInvoicePaymentDetailsSourceResponse);
59728
- });
59729
-
59730
- // src/models/salesinvoicepaymentdetailsresponse.ts
59731
- var SalesInvoicePaymentDetailsResponse$inboundSchema, SalesInvoicePaymentDetailsResponse$outboundSchema;
59732
- var init_salesinvoicepaymentdetailsresponse = __esm(() => {
59733
- init_esm();
59734
- init_salesinvoicepaymentdetailssourceresponse();
59735
- SalesInvoicePaymentDetailsResponse$inboundSchema = objectType({
59736
- source: SalesInvoicePaymentDetailsSourceResponse$inboundSchema,
59737
- sourceReference: nullableType(stringType()).optional()
59738
- });
59739
- SalesInvoicePaymentDetailsResponse$outboundSchema = objectType({
59740
- source: SalesInvoicePaymentDetailsSourceResponse$outboundSchema,
59741
- sourceReference: nullableType(stringType()).optional()
59742
- });
59743
- });
59744
-
59745
61579
  // src/models/salesinvoicepaymentterm.ts
59746
61580
  var SalesInvoicePaymentTerm, SalesInvoicePaymentTerm$inboundSchema, SalesInvoicePaymentTerm$outboundSchema;
59747
61581
  var init_salesinvoicepaymentterm = __esm(() => {
@@ -59759,23 +61593,6 @@ var init_salesinvoicepaymentterm = __esm(() => {
59759
61593
  SalesInvoicePaymentTerm$outboundSchema = SalesInvoicePaymentTerm$inboundSchema;
59760
61594
  });
59761
61595
 
59762
- // src/models/salesinvoicepaymenttermresponse.ts
59763
- var SalesInvoicePaymentTermResponse, SalesInvoicePaymentTermResponse$inboundSchema, SalesInvoicePaymentTermResponse$outboundSchema;
59764
- var init_salesinvoicepaymenttermresponse = __esm(() => {
59765
- init_enums();
59766
- SalesInvoicePaymentTermResponse = {
59767
- Sevendays: "7 days",
59768
- Fourteendays: "14 days",
59769
- Thirtydays: "30 days",
59770
- FortyFivedays: "45 days",
59771
- Sixtydays: "60 days",
59772
- Ninetydays: "90 days",
59773
- OneHundredAndTwentydays: "120 days"
59774
- };
59775
- SalesInvoicePaymentTermResponse$inboundSchema = inboundSchema(SalesInvoicePaymentTermResponse);
59776
- SalesInvoicePaymentTermResponse$outboundSchema = outboundSchema(SalesInvoicePaymentTermResponse);
59777
- });
59778
-
59779
61596
  // src/models/salesinvoicerecipientlocale.ts
59780
61597
  var SalesInvoiceRecipientLocale, SalesInvoiceRecipientLocale$inboundSchema, SalesInvoiceRecipientLocale$outboundSchema;
59781
61598
  var init_salesinvoicerecipientlocale = __esm(() => {
@@ -59851,81 +61668,6 @@ var init_salesinvoicerecipient = __esm(() => {
59851
61668
  });
59852
61669
  });
59853
61670
 
59854
- // src/models/salesinvoicerecipientlocaleresponse.ts
59855
- var SalesInvoiceRecipientLocaleResponse, SalesInvoiceRecipientLocaleResponse$inboundSchema, SalesInvoiceRecipientLocaleResponse$outboundSchema;
59856
- var init_salesinvoicerecipientlocaleresponse = __esm(() => {
59857
- init_enums();
59858
- SalesInvoiceRecipientLocaleResponse = {
59859
- EnUS: "en_US",
59860
- EnGB: "en_GB",
59861
- NLNL: "nl_NL",
59862
- NlBE: "nl_BE",
59863
- DEDE: "de_DE",
59864
- DeAT: "de_AT",
59865
- DeCH: "de_CH",
59866
- FRFR: "fr_FR",
59867
- FrBE: "fr_BE"
59868
- };
59869
- SalesInvoiceRecipientLocaleResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientLocaleResponse);
59870
- SalesInvoiceRecipientLocaleResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientLocaleResponse);
59871
- });
59872
-
59873
- // src/models/salesinvoicerecipienttyperesponse.ts
59874
- var SalesInvoiceRecipientTypeResponse, SalesInvoiceRecipientTypeResponse$inboundSchema, SalesInvoiceRecipientTypeResponse$outboundSchema;
59875
- var init_salesinvoicerecipienttyperesponse = __esm(() => {
59876
- init_enums();
59877
- SalesInvoiceRecipientTypeResponse = {
59878
- Consumer: "consumer",
59879
- Business: "business"
59880
- };
59881
- SalesInvoiceRecipientTypeResponse$inboundSchema = inboundSchema(SalesInvoiceRecipientTypeResponse);
59882
- SalesInvoiceRecipientTypeResponse$outboundSchema = outboundSchema(SalesInvoiceRecipientTypeResponse);
59883
- });
59884
-
59885
- // src/models/salesinvoicerecipientresponse.ts
59886
- var SalesInvoiceRecipientResponse$inboundSchema, SalesInvoiceRecipientResponse$outboundSchema;
59887
- var init_salesinvoicerecipientresponse = __esm(() => {
59888
- init_esm();
59889
- init_salesinvoicerecipientlocaleresponse();
59890
- init_salesinvoicerecipienttyperesponse();
59891
- SalesInvoiceRecipientResponse$inboundSchema = objectType({
59892
- type: SalesInvoiceRecipientTypeResponse$inboundSchema,
59893
- title: nullableType(stringType()).optional(),
59894
- givenName: nullableType(stringType()).optional(),
59895
- familyName: nullableType(stringType()).optional(),
59896
- organizationName: nullableType(stringType()).optional(),
59897
- organizationNumber: nullableType(stringType()).optional(),
59898
- vatNumber: nullableType(stringType()).optional(),
59899
- email: stringType(),
59900
- phone: nullableType(stringType()).optional(),
59901
- streetAndNumber: stringType(),
59902
- streetAdditional: nullableType(stringType()).optional(),
59903
- postalCode: stringType(),
59904
- city: stringType(),
59905
- region: nullableType(stringType()).optional(),
59906
- country: stringType(),
59907
- locale: SalesInvoiceRecipientLocaleResponse$inboundSchema
59908
- });
59909
- SalesInvoiceRecipientResponse$outboundSchema = objectType({
59910
- type: SalesInvoiceRecipientTypeResponse$outboundSchema,
59911
- title: nullableType(stringType()).optional(),
59912
- givenName: nullableType(stringType()).optional(),
59913
- familyName: nullableType(stringType()).optional(),
59914
- organizationName: nullableType(stringType()).optional(),
59915
- organizationNumber: nullableType(stringType()).optional(),
59916
- vatNumber: nullableType(stringType()).optional(),
59917
- email: stringType(),
59918
- phone: nullableType(stringType()).optional(),
59919
- streetAndNumber: stringType(),
59920
- streetAdditional: nullableType(stringType()).optional(),
59921
- postalCode: stringType(),
59922
- city: stringType(),
59923
- region: nullableType(stringType()).optional(),
59924
- country: stringType(),
59925
- locale: SalesInvoiceRecipientLocaleResponse$outboundSchema
59926
- });
59927
- });
59928
-
59929
61671
  // src/models/salesinvoicestatus.ts
59930
61672
  var SalesInvoiceStatus, SalesInvoiceStatus$inboundSchema, SalesInvoiceStatus$outboundSchema;
59931
61673
  var init_salesinvoicestatus = __esm(() => {
@@ -60016,45 +61758,8 @@ var init_salesinvoicerequest = __esm(() => {
60016
61758
  });
60017
61759
  });
60018
61760
 
60019
- // src/models/salesinvoicestatusresponse.ts
60020
- var SalesInvoiceStatusResponse, SalesInvoiceStatusResponse$inboundSchema, SalesInvoiceStatusResponse$outboundSchema;
60021
- var init_salesinvoicestatusresponse = __esm(() => {
60022
- init_enums();
60023
- SalesInvoiceStatusResponse = {
60024
- Draft: "draft",
60025
- Issued: "issued",
60026
- Paid: "paid"
60027
- };
60028
- SalesInvoiceStatusResponse$inboundSchema = inboundSchema(SalesInvoiceStatusResponse);
60029
- SalesInvoiceStatusResponse$outboundSchema = outboundSchema(SalesInvoiceStatusResponse);
60030
- });
60031
-
60032
- // src/models/salesinvoicevatmoderesponse.ts
60033
- var SalesInvoiceVatModeResponse, SalesInvoiceVatModeResponse$inboundSchema, SalesInvoiceVatModeResponse$outboundSchema;
60034
- var init_salesinvoicevatmoderesponse = __esm(() => {
60035
- init_enums();
60036
- SalesInvoiceVatModeResponse = {
60037
- Exclusive: "exclusive",
60038
- Inclusive: "inclusive"
60039
- };
60040
- SalesInvoiceVatModeResponse$inboundSchema = inboundSchema(SalesInvoiceVatModeResponse);
60041
- SalesInvoiceVatModeResponse$outboundSchema = outboundSchema(SalesInvoiceVatModeResponse);
60042
- });
60043
-
60044
- // src/models/salesinvoicevatschemeresponse.ts
60045
- var SalesInvoiceVatSchemeResponse, SalesInvoiceVatSchemeResponse$inboundSchema, SalesInvoiceVatSchemeResponse$outboundSchema;
60046
- var init_salesinvoicevatschemeresponse = __esm(() => {
60047
- init_enums();
60048
- SalesInvoiceVatSchemeResponse = {
60049
- Standard: "standard",
60050
- OneStopShop: "one-stop-shop"
60051
- };
60052
- SalesInvoiceVatSchemeResponse$inboundSchema = inboundSchema(SalesInvoiceVatSchemeResponse);
60053
- SalesInvoiceVatSchemeResponse$outboundSchema = outboundSchema(SalesInvoiceVatSchemeResponse);
60054
- });
60055
-
60056
61761
  // src/models/salesinvoiceresponse.ts
60057
- var SalesInvoiceResponseMetadata$inboundSchema, SalesInvoiceResponseMetadata$outboundSchema, AmountDue$inboundSchema, AmountDue$outboundSchema, SubtotalAmount$inboundSchema, SubtotalAmount$outboundSchema, TotalAmount$inboundSchema, TotalAmount$outboundSchema, TotalVatAmount$inboundSchema, TotalVatAmount$outboundSchema, DiscountedSubtotalAmount$inboundSchema, DiscountedSubtotalAmount$outboundSchema, SalesInvoiceResponseLinks$inboundSchema, SalesInvoiceResponseLinks$outboundSchema, SalesInvoiceResponse$inboundSchema, SalesInvoiceResponse$outboundSchema;
61762
+ var SalesInvoiceResponseMetadata$inboundSchema, SalesInvoiceResponseMetadata$outboundSchema, SalesInvoiceResponseAmountDue$inboundSchema, SalesInvoiceResponseAmountDue$outboundSchema, SalesInvoiceResponseSubtotalAmount$inboundSchema, SalesInvoiceResponseSubtotalAmount$outboundSchema, SalesInvoiceResponseTotalAmount$inboundSchema, SalesInvoiceResponseTotalAmount$outboundSchema, SalesInvoiceResponseTotalVatAmount$inboundSchema, SalesInvoiceResponseTotalVatAmount$outboundSchema, SalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema, SalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema, SalesInvoiceResponseLinks$inboundSchema, SalesInvoiceResponseLinks$outboundSchema, SalesInvoiceResponse$inboundSchema, SalesInvoiceResponse$outboundSchema;
60058
61763
  var init_salesinvoiceresponse = __esm(() => {
60059
61764
  init_esm();
60060
61765
  init_primitives();
@@ -60071,43 +61776,43 @@ var init_salesinvoiceresponse = __esm(() => {
60071
61776
  init_url2();
60072
61777
  SalesInvoiceResponseMetadata$inboundSchema = objectType({});
60073
61778
  SalesInvoiceResponseMetadata$outboundSchema = objectType({});
60074
- AmountDue$inboundSchema = objectType({
61779
+ SalesInvoiceResponseAmountDue$inboundSchema = objectType({
60075
61780
  currency: stringType(),
60076
61781
  value: stringType()
60077
61782
  });
60078
- AmountDue$outboundSchema = objectType({
61783
+ SalesInvoiceResponseAmountDue$outboundSchema = objectType({
60079
61784
  currency: stringType(),
60080
61785
  value: stringType()
60081
61786
  });
60082
- SubtotalAmount$inboundSchema = objectType({
61787
+ SalesInvoiceResponseSubtotalAmount$inboundSchema = objectType({
60083
61788
  currency: stringType(),
60084
61789
  value: stringType()
60085
61790
  });
60086
- SubtotalAmount$outboundSchema = objectType({
61791
+ SalesInvoiceResponseSubtotalAmount$outboundSchema = objectType({
60087
61792
  currency: stringType(),
60088
61793
  value: stringType()
60089
61794
  });
60090
- TotalAmount$inboundSchema = objectType({
61795
+ SalesInvoiceResponseTotalAmount$inboundSchema = objectType({
60091
61796
  currency: stringType(),
60092
61797
  value: stringType()
60093
61798
  });
60094
- TotalAmount$outboundSchema = objectType({
61799
+ SalesInvoiceResponseTotalAmount$outboundSchema = objectType({
60095
61800
  currency: stringType(),
60096
61801
  value: stringType()
60097
61802
  });
60098
- TotalVatAmount$inboundSchema = objectType({
61803
+ SalesInvoiceResponseTotalVatAmount$inboundSchema = objectType({
60099
61804
  currency: stringType(),
60100
61805
  value: stringType()
60101
61806
  });
60102
- TotalVatAmount$outboundSchema = objectType({
61807
+ SalesInvoiceResponseTotalVatAmount$outboundSchema = objectType({
60103
61808
  currency: stringType(),
60104
61809
  value: stringType()
60105
61810
  });
60106
- DiscountedSubtotalAmount$inboundSchema = objectType({
61811
+ SalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema = objectType({
60107
61812
  currency: stringType(),
60108
61813
  value: stringType()
60109
61814
  });
60110
- DiscountedSubtotalAmount$outboundSchema = objectType({
61815
+ SalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema = objectType({
60111
61816
  currency: stringType(),
60112
61817
  value: stringType()
60113
61818
  });
@@ -60146,11 +61851,11 @@ var init_salesinvoiceresponse = __esm(() => {
60146
61851
  recipient: nullableType(SalesInvoiceRecipientResponse$inboundSchema).optional(),
60147
61852
  lines: nullableType(arrayType(SalesInvoiceLineItemResponse$inboundSchema)).optional(),
60148
61853
  discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional(),
60149
- amountDue: lazyType(() => AmountDue$inboundSchema).optional(),
60150
- subtotalAmount: lazyType(() => SubtotalAmount$inboundSchema).optional(),
60151
- totalAmount: lazyType(() => TotalAmount$inboundSchema).optional(),
60152
- totalVatAmount: lazyType(() => TotalVatAmount$inboundSchema).optional(),
60153
- discountedSubtotalAmount: lazyType(() => DiscountedSubtotalAmount$inboundSchema).optional(),
61854
+ amountDue: lazyType(() => SalesInvoiceResponseAmountDue$inboundSchema).optional(),
61855
+ subtotalAmount: lazyType(() => SalesInvoiceResponseSubtotalAmount$inboundSchema).optional(),
61856
+ totalAmount: lazyType(() => SalesInvoiceResponseTotalAmount$inboundSchema).optional(),
61857
+ totalVatAmount: lazyType(() => SalesInvoiceResponseTotalVatAmount$inboundSchema).optional(),
61858
+ discountedSubtotalAmount: lazyType(() => SalesInvoiceResponseDiscountedSubtotalAmount$inboundSchema).optional(),
60154
61859
  createdAt: stringType().optional(),
60155
61860
  issuedAt: nullableType(stringType()).optional(),
60156
61861
  paidAt: nullableType(stringType()).optional(),
@@ -60180,11 +61885,11 @@ var init_salesinvoiceresponse = __esm(() => {
60180
61885
  recipient: nullableType(SalesInvoiceRecipientResponse$outboundSchema).optional(),
60181
61886
  lines: nullableType(arrayType(SalesInvoiceLineItemResponse$outboundSchema)).optional(),
60182
61887
  discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional(),
60183
- amountDue: lazyType(() => AmountDue$outboundSchema).optional(),
60184
- subtotalAmount: lazyType(() => SubtotalAmount$outboundSchema).optional(),
60185
- totalAmount: lazyType(() => TotalAmount$outboundSchema).optional(),
60186
- totalVatAmount: lazyType(() => TotalVatAmount$outboundSchema).optional(),
60187
- discountedSubtotalAmount: lazyType(() => DiscountedSubtotalAmount$outboundSchema).optional(),
61888
+ amountDue: lazyType(() => SalesInvoiceResponseAmountDue$outboundSchema).optional(),
61889
+ subtotalAmount: lazyType(() => SalesInvoiceResponseSubtotalAmount$outboundSchema).optional(),
61890
+ totalAmount: lazyType(() => SalesInvoiceResponseTotalAmount$outboundSchema).optional(),
61891
+ totalVatAmount: lazyType(() => SalesInvoiceResponseTotalVatAmount$outboundSchema).optional(),
61892
+ discountedSubtotalAmount: lazyType(() => SalesInvoiceResponseDiscountedSubtotalAmount$outboundSchema).optional(),
60188
61893
  createdAt: stringType().optional(),
60189
61894
  issuedAt: nullableType(stringType()).optional(),
60190
61895
  paidAt: nullableType(stringType()).optional(),
@@ -60236,19 +61941,6 @@ var init_subscriptionmethod = __esm(() => {
60236
61941
  SubscriptionMethod$outboundSchema = SubscriptionMethod$inboundSchema;
60237
61942
  });
60238
61943
 
60239
- // src/models/subscriptionmethodresponse.ts
60240
- var SubscriptionMethodResponse, SubscriptionMethodResponse$inboundSchema, SubscriptionMethodResponse$outboundSchema;
60241
- var init_subscriptionmethodresponse = __esm(() => {
60242
- init_enums();
60243
- SubscriptionMethodResponse = {
60244
- Creditcard: "creditcard",
60245
- Directdebit: "directdebit",
60246
- Paypal: "paypal"
60247
- };
60248
- SubscriptionMethodResponse$inboundSchema = inboundSchema(SubscriptionMethodResponse);
60249
- SubscriptionMethodResponse$outboundSchema = outboundSchema(SubscriptionMethodResponse);
60250
- });
60251
-
60252
61944
  // src/models/subscriptionrequest.ts
60253
61945
  var SubscriptionRequestApplicationFee$inboundSchema, SubscriptionRequestApplicationFee$outboundSchema, SubscriptionRequest$inboundSchema, SubscriptionRequest$outboundSchema;
60254
61946
  var init_subscriptionrequest = __esm(() => {
@@ -60476,7 +62168,6 @@ var init_models = __esm(() => {
60476
62168
  init_entityevent();
60477
62169
  init_entityinvoice();
60478
62170
  init_entitymethod();
60479
- init_entitymethodall();
60480
62171
  init_entityonboardingstatus();
60481
62172
  init_entityorganization();
60482
62173
  init_entitypaymentroute();
@@ -60492,7 +62183,24 @@ var init_models = __esm(() => {
60492
62183
  init_linecategories();
60493
62184
  init_linecategoriesresponse();
60494
62185
  init_listcaptureresponse();
62186
+ init_listcustomerresponse();
62187
+ init_listentitybalance();
62188
+ init_listentitychargeback();
62189
+ init_listentityinvoice();
62190
+ init_listentitymethod();
62191
+ init_listentitymethodall();
62192
+ init_listentitypermission();
62193
+ init_listentityrefund();
62194
+ init_listentitysettlement();
62195
+ init_listentityterminal();
62196
+ init_listentitywebhook();
60495
62197
  init_listlinks();
62198
+ init_listmandateresponse();
62199
+ init_listpaymentresponse();
62200
+ init_listprofileresponse();
62201
+ init_listroutegetresponse();
62202
+ init_listsalesinvoiceresponse();
62203
+ init_listsubscriptionresponse();
60496
62204
  init_locale();
60497
62205
  init_localeresponse();
60498
62206
  init_mandatedetailscardlabelresponse();
@@ -60542,7 +62250,6 @@ var init_models = __esm(() => {
60542
62250
  init_routecreateresponse();
60543
62251
  init_routedestinationtype();
60544
62252
  init_routedestinationtyperesponse();
60545
- init_routegetresponse();
60546
62253
  init_salesinvoicediscount();
60547
62254
  init_salesinvoicediscountresponse();
60548
62255
  init_salesinvoicediscounttype();
@@ -62078,10 +63785,10 @@ var init_getpaymentlinkpayments = __esm(() => {
62078
63785
  });
62079
63786
  });
62080
63787
  GetPaymentLinkPaymentsEmbedded$inboundSchema = objectType({
62081
- payments: arrayType(PaymentResponse$inboundSchema).optional()
63788
+ payments: arrayType(ListPaymentResponse$inboundSchema).optional()
62082
63789
  });
62083
63790
  GetPaymentLinkPaymentsEmbedded$outboundSchema = objectType({
62084
- payments: arrayType(PaymentResponse$outboundSchema).optional()
63791
+ payments: arrayType(ListPaymentResponse$outboundSchema).optional()
62085
63792
  });
62086
63793
  GetPaymentLinkPaymentsResponse$inboundSchema = objectType({
62087
63794
  count: numberType().int(),
@@ -62444,10 +64151,10 @@ var init_listallchargebacks = __esm(() => {
62444
64151
  });
62445
64152
  });
62446
64153
  ListAllChargebacksEmbedded$inboundSchema = objectType({
62447
- chargebacks: arrayType(EntityChargeback$inboundSchema)
64154
+ chargebacks: arrayType(ListEntityChargeback$inboundSchema)
62448
64155
  });
62449
64156
  ListAllChargebacksEmbedded$outboundSchema = objectType({
62450
- chargebacks: arrayType(EntityChargeback$outboundSchema)
64157
+ chargebacks: arrayType(ListEntityChargeback$outboundSchema)
62451
64158
  });
62452
64159
  ListAllChargebacksResponse$inboundSchema = objectType({
62453
64160
  count: numberType().int(),
@@ -62512,10 +64219,10 @@ var init_listallmethods = __esm(() => {
62512
64219
  });
62513
64220
  });
62514
64221
  ListAllMethodsEmbedded$inboundSchema = objectType({
62515
- methods: arrayType(EntityMethodAll$inboundSchema)
64222
+ methods: arrayType(ListEntityMethodAll$inboundSchema)
62516
64223
  });
62517
64224
  ListAllMethodsEmbedded$outboundSchema = objectType({
62518
- methods: arrayType(EntityMethodAll$outboundSchema)
64225
+ methods: arrayType(ListEntityMethodAll$outboundSchema)
62519
64226
  });
62520
64227
  ListAllMethodsLinks$inboundSchema = objectType({
62521
64228
  self: Url$inboundSchema,
@@ -62588,10 +64295,10 @@ var init_listallrefunds = __esm(() => {
62588
64295
  });
62589
64296
  });
62590
64297
  ListAllRefundsEmbedded$inboundSchema = objectType({
62591
- refunds: arrayType(EntityRefundResponse$inboundSchema)
64298
+ refunds: arrayType(ListEntityRefund$inboundSchema)
62592
64299
  });
62593
64300
  ListAllRefundsEmbedded$outboundSchema = objectType({
62594
- refunds: arrayType(EntityRefundResponse$outboundSchema)
64301
+ refunds: arrayType(ListEntityRefund$outboundSchema)
62595
64302
  });
62596
64303
  ListAllRefundsResponse$inboundSchema = objectType({
62597
64304
  count: numberType().int(),
@@ -62652,10 +64359,10 @@ var init_listallsubscriptions = __esm(() => {
62652
64359
  });
62653
64360
  });
62654
64361
  ListAllSubscriptionsEmbedded$inboundSchema = objectType({
62655
- subscriptions: arrayType(SubscriptionResponse$inboundSchema).optional()
64362
+ subscriptions: arrayType(ListSubscriptionResponse$inboundSchema).optional()
62656
64363
  });
62657
64364
  ListAllSubscriptionsEmbedded$outboundSchema = objectType({
62658
- subscriptions: arrayType(SubscriptionResponse$outboundSchema).optional()
64365
+ subscriptions: arrayType(ListSubscriptionResponse$outboundSchema).optional()
62659
64366
  });
62660
64367
  ListAllSubscriptionsResponse$inboundSchema = objectType({
62661
64368
  count: numberType().int(),
@@ -62714,10 +64421,10 @@ var init_listbalances = __esm(() => {
62714
64421
  });
62715
64422
  });
62716
64423
  ListBalancesEmbedded$inboundSchema = objectType({
62717
- balances: arrayType(EntityBalance$inboundSchema)
64424
+ balances: arrayType(ListEntityBalance$inboundSchema)
62718
64425
  });
62719
64426
  ListBalancesEmbedded$outboundSchema = objectType({
62720
- balances: arrayType(EntityBalance$outboundSchema)
64427
+ balances: arrayType(ListEntityBalance$outboundSchema)
62721
64428
  });
62722
64429
  ListBalancesResponse$inboundSchema = objectType({
62723
64430
  count: numberType().int(),
@@ -62966,10 +64673,10 @@ var init_listchargebacks = __esm(() => {
62966
64673
  });
62967
64674
  });
62968
64675
  ListChargebacksEmbedded$inboundSchema = objectType({
62969
- chargebacks: arrayType(EntityChargeback$inboundSchema)
64676
+ chargebacks: arrayType(ListEntityChargeback$inboundSchema)
62970
64677
  });
62971
64678
  ListChargebacksEmbedded$outboundSchema = objectType({
62972
- chargebacks: arrayType(EntityChargeback$outboundSchema)
64679
+ chargebacks: arrayType(ListEntityChargeback$outboundSchema)
62973
64680
  });
62974
64681
  ListChargebacksResponse$inboundSchema = objectType({
62975
64682
  count: numberType().int(),
@@ -63028,14 +64735,12 @@ var init_listclients = __esm(() => {
63028
64735
  ListClientsLinks$inboundSchema = objectType({
63029
64736
  self: Url$inboundSchema,
63030
64737
  organization: Url$inboundSchema.optional(),
63031
- onboarding: Url$inboundSchema.optional(),
63032
- documentation: Url$inboundSchema.optional()
64738
+ onboarding: Url$inboundSchema.optional()
63033
64739
  });
63034
64740
  ListClientsLinks$outboundSchema = objectType({
63035
64741
  self: Url$outboundSchema,
63036
64742
  organization: Url$outboundSchema.optional(),
63037
- onboarding: Url$outboundSchema.optional(),
63038
- documentation: Url$outboundSchema.optional()
64743
+ onboarding: Url$outboundSchema.optional()
63039
64744
  });
63040
64745
  ClientEmbedded$inboundSchema = objectType({
63041
64746
  organization: EntityOrganization$inboundSchema.optional(),
@@ -63212,10 +64917,10 @@ var init_listcustomerpayments = __esm(() => {
63212
64917
  });
63213
64918
  });
63214
64919
  ListCustomerPaymentsEmbedded$inboundSchema = objectType({
63215
- payments: arrayType(PaymentResponse$inboundSchema).optional()
64920
+ payments: arrayType(ListPaymentResponse$inboundSchema).optional()
63216
64921
  });
63217
64922
  ListCustomerPaymentsEmbedded$outboundSchema = objectType({
63218
- payments: arrayType(PaymentResponse$outboundSchema).optional()
64923
+ payments: arrayType(ListPaymentResponse$outboundSchema).optional()
63219
64924
  });
63220
64925
  ListCustomerPaymentsResponse$inboundSchema = objectType({
63221
64926
  count: numberType().int(),
@@ -63274,10 +64979,10 @@ var init_listcustomers = __esm(() => {
63274
64979
  });
63275
64980
  });
63276
64981
  ListCustomersEmbedded$inboundSchema = objectType({
63277
- customers: arrayType(CustomerResponse$inboundSchema)
64982
+ customers: arrayType(ListCustomerResponse$inboundSchema)
63278
64983
  });
63279
64984
  ListCustomersEmbedded$outboundSchema = objectType({
63280
- customers: arrayType(CustomerResponse$outboundSchema)
64985
+ customers: arrayType(ListCustomerResponse$outboundSchema)
63281
64986
  });
63282
64987
  ListCustomersResponse$inboundSchema = objectType({
63283
64988
  count: numberType().int(),
@@ -63334,10 +65039,10 @@ var init_listinvoices = __esm(() => {
63334
65039
  });
63335
65040
  });
63336
65041
  ListInvoicesEmbedded$inboundSchema = objectType({
63337
- invoices: arrayType(EntityInvoice$inboundSchema)
65042
+ invoices: arrayType(ListEntityInvoice$inboundSchema)
63338
65043
  });
63339
65044
  ListInvoicesEmbedded$outboundSchema = objectType({
63340
- invoices: arrayType(EntityInvoice$outboundSchema)
65045
+ invoices: arrayType(ListEntityInvoice$outboundSchema)
63341
65046
  });
63342
65047
  ListInvoicesResponse$inboundSchema = objectType({
63343
65048
  count: numberType().int(),
@@ -63398,10 +65103,10 @@ var init_listmandates = __esm(() => {
63398
65103
  });
63399
65104
  });
63400
65105
  ListMandatesEmbedded$inboundSchema = objectType({
63401
- mandates: arrayType(MandateResponse$inboundSchema)
65106
+ mandates: arrayType(ListMandateResponse$inboundSchema)
63402
65107
  });
63403
65108
  ListMandatesEmbedded$outboundSchema = objectType({
63404
- mandates: arrayType(MandateResponse$outboundSchema)
65109
+ mandates: arrayType(ListMandateResponse$outboundSchema)
63405
65110
  });
63406
65111
  ListMandatesResponse$inboundSchema = objectType({
63407
65112
  count: numberType().int(),
@@ -63474,10 +65179,10 @@ var init_listmethods = __esm(() => {
63474
65179
  });
63475
65180
  });
63476
65181
  ListMethodsEmbedded$inboundSchema = objectType({
63477
- methods: arrayType(EntityMethod$inboundSchema)
65182
+ methods: arrayType(ListEntityMethod$inboundSchema)
63478
65183
  });
63479
65184
  ListMethodsEmbedded$outboundSchema = objectType({
63480
- methods: arrayType(EntityMethod$outboundSchema)
65185
+ methods: arrayType(ListEntityMethod$outboundSchema)
63481
65186
  });
63482
65187
  ListMethodsLinks$inboundSchema = objectType({
63483
65188
  self: Url$inboundSchema,
@@ -63616,10 +65321,10 @@ var init_listpayments = __esm(() => {
63616
65321
  });
63617
65322
  });
63618
65323
  ListPaymentsEmbedded$inboundSchema = objectType({
63619
- payments: arrayType(PaymentResponse$inboundSchema).optional()
65324
+ payments: arrayType(ListPaymentResponse$inboundSchema).optional()
63620
65325
  });
63621
65326
  ListPaymentsEmbedded$outboundSchema = objectType({
63622
- payments: arrayType(PaymentResponse$outboundSchema).optional()
65327
+ payments: arrayType(ListPaymentResponse$outboundSchema).optional()
63623
65328
  });
63624
65329
  ListPaymentsResponse$inboundSchema = objectType({
63625
65330
  count: numberType().int(),
@@ -63664,10 +65369,10 @@ var init_listpermissions = __esm(() => {
63664
65369
  });
63665
65370
  });
63666
65371
  ListPermissionsEmbedded$inboundSchema = objectType({
63667
- permissions: arrayType(EntityPermission$inboundSchema)
65372
+ permissions: arrayType(ListEntityPermission$inboundSchema)
63668
65373
  });
63669
65374
  ListPermissionsEmbedded$outboundSchema = objectType({
63670
- permissions: arrayType(EntityPermission$outboundSchema)
65375
+ permissions: arrayType(ListEntityPermission$outboundSchema)
63671
65376
  });
63672
65377
  ListPermissionsLinks$inboundSchema = objectType({
63673
65378
  self: Url$inboundSchema.optional(),
@@ -63724,10 +65429,10 @@ var init_listprofiles = __esm(() => {
63724
65429
  });
63725
65430
  });
63726
65431
  ListProfilesEmbedded$inboundSchema = objectType({
63727
- profiles: arrayType(ProfileResponse$inboundSchema)
65432
+ profiles: arrayType(ListProfileResponse$inboundSchema)
63728
65433
  });
63729
65434
  ListProfilesEmbedded$outboundSchema = objectType({
63730
- profiles: arrayType(ProfileResponse$outboundSchema)
65435
+ profiles: arrayType(ListProfileResponse$outboundSchema)
63731
65436
  });
63732
65437
  ListProfilesResponse$inboundSchema = objectType({
63733
65438
  count: numberType().int(),
@@ -63788,10 +65493,10 @@ var init_listrefunds = __esm(() => {
63788
65493
  });
63789
65494
  });
63790
65495
  ListRefundsEmbedded$inboundSchema = objectType({
63791
- refunds: arrayType(EntityRefundResponse$inboundSchema)
65496
+ refunds: arrayType(ListEntityRefund$inboundSchema)
63792
65497
  });
63793
65498
  ListRefundsEmbedded$outboundSchema = objectType({
63794
- refunds: arrayType(EntityRefundResponse$outboundSchema)
65499
+ refunds: arrayType(ListEntityRefund$outboundSchema)
63795
65500
  });
63796
65501
  ListRefundsResponse$inboundSchema = objectType({
63797
65502
  count: numberType().int(),
@@ -63848,14 +65553,14 @@ var init_listsalesinvoices = __esm(() => {
63848
65553
  });
63849
65554
  });
63850
65555
  ListSalesInvoicesEmbedded$inboundSchema = objectType({
63851
- sales_invoices: arrayType(SalesInvoiceResponse$inboundSchema).optional()
65556
+ sales_invoices: arrayType(ListSalesInvoiceResponse$inboundSchema).optional()
63852
65557
  }).transform((v2) => {
63853
65558
  return remap(v2, {
63854
65559
  sales_invoices: "salesInvoices"
63855
65560
  });
63856
65561
  });
63857
65562
  ListSalesInvoicesEmbedded$outboundSchema = objectType({
63858
- salesInvoices: arrayType(SalesInvoiceResponse$outboundSchema).optional()
65563
+ salesInvoices: arrayType(ListSalesInvoiceResponse$outboundSchema).optional()
63859
65564
  }).transform((v2) => {
63860
65565
  return remap(v2, {
63861
65566
  salesInvoices: "sales_invoices"
@@ -63984,10 +65689,10 @@ var init_listsettlementchargebacks = __esm(() => {
63984
65689
  });
63985
65690
  });
63986
65691
  ListSettlementChargebacksEmbedded$inboundSchema = objectType({
63987
- chargebacks: arrayType(EntityChargeback$inboundSchema)
65692
+ chargebacks: arrayType(ListEntityChargeback$inboundSchema)
63988
65693
  });
63989
65694
  ListSettlementChargebacksEmbedded$outboundSchema = objectType({
63990
- chargebacks: arrayType(EntityChargeback$outboundSchema)
65695
+ chargebacks: arrayType(ListEntityChargeback$outboundSchema)
63991
65696
  });
63992
65697
  ListSettlementChargebacksResponse$inboundSchema = objectType({
63993
65698
  count: numberType().int(),
@@ -64052,10 +65757,10 @@ var init_listsettlementpayments = __esm(() => {
64052
65757
  });
64053
65758
  });
64054
65759
  ListSettlementPaymentsEmbedded$inboundSchema = objectType({
64055
- payments: arrayType(PaymentResponse$inboundSchema).optional()
65760
+ payments: arrayType(ListPaymentResponse$inboundSchema).optional()
64056
65761
  });
64057
65762
  ListSettlementPaymentsEmbedded$outboundSchema = objectType({
64058
- payments: arrayType(PaymentResponse$outboundSchema).optional()
65763
+ payments: arrayType(ListPaymentResponse$outboundSchema).optional()
64059
65764
  });
64060
65765
  ListSettlementPaymentsResponse$inboundSchema = objectType({
64061
65766
  count: numberType().int(),
@@ -64116,10 +65821,10 @@ var init_listsettlementrefunds = __esm(() => {
64116
65821
  });
64117
65822
  });
64118
65823
  ListSettlementRefundsEmbedded$inboundSchema = objectType({
64119
- refunds: arrayType(EntityRefundResponse$inboundSchema)
65824
+ refunds: arrayType(ListEntityRefund$inboundSchema)
64120
65825
  });
64121
65826
  ListSettlementRefundsEmbedded$outboundSchema = objectType({
64122
- refunds: arrayType(EntityRefundResponse$outboundSchema)
65827
+ refunds: arrayType(ListEntityRefund$outboundSchema)
64123
65828
  });
64124
65829
  ListSettlementRefundsResponse$inboundSchema = objectType({
64125
65830
  count: numberType().int(),
@@ -64176,10 +65881,10 @@ var init_listsettlements = __esm(() => {
64176
65881
  });
64177
65882
  });
64178
65883
  ListSettlementsEmbedded$inboundSchema = objectType({
64179
- settlements: arrayType(EntitySettlement$inboundSchema)
65884
+ settlements: arrayType(ListEntitySettlement$inboundSchema)
64180
65885
  });
64181
65886
  ListSettlementsEmbedded$outboundSchema = objectType({
64182
- settlements: arrayType(EntitySettlement$outboundSchema)
65887
+ settlements: arrayType(ListEntitySettlement$outboundSchema)
64183
65888
  });
64184
65889
  ListSettlementsResponse$inboundSchema = objectType({
64185
65890
  count: numberType().int(),
@@ -64246,10 +65951,10 @@ var init_listsubscriptionpayments = __esm(() => {
64246
65951
  });
64247
65952
  });
64248
65953
  ListSubscriptionPaymentsEmbedded$inboundSchema = objectType({
64249
- payments: arrayType(PaymentResponse$inboundSchema).optional()
65954
+ payments: arrayType(ListPaymentResponse$inboundSchema).optional()
64250
65955
  });
64251
65956
  ListSubscriptionPaymentsEmbedded$outboundSchema = objectType({
64252
- payments: arrayType(PaymentResponse$outboundSchema).optional()
65957
+ payments: arrayType(ListPaymentResponse$outboundSchema).optional()
64253
65958
  });
64254
65959
  ListSubscriptionPaymentsResponse$inboundSchema = objectType({
64255
65960
  count: numberType().int(),
@@ -64310,10 +66015,10 @@ var init_listsubscriptions = __esm(() => {
64310
66015
  });
64311
66016
  });
64312
66017
  ListSubscriptionsEmbedded$inboundSchema = objectType({
64313
- subscriptions: arrayType(SubscriptionResponse$inboundSchema).optional()
66018
+ subscriptions: arrayType(ListSubscriptionResponse$inboundSchema).optional()
64314
66019
  });
64315
66020
  ListSubscriptionsEmbedded$outboundSchema = objectType({
64316
- subscriptions: arrayType(SubscriptionResponse$outboundSchema).optional()
66021
+ subscriptions: arrayType(ListSubscriptionResponse$outboundSchema).optional()
64317
66022
  });
64318
66023
  ListSubscriptionsResponse$inboundSchema = objectType({
64319
66024
  count: numberType().int(),
@@ -64372,10 +66077,10 @@ var init_listterminals = __esm(() => {
64372
66077
  });
64373
66078
  });
64374
66079
  ListTerminalsEmbedded$inboundSchema = objectType({
64375
- terminals: arrayType(EntityTerminal$inboundSchema).optional()
66080
+ terminals: arrayType(ListEntityTerminal$inboundSchema).optional()
64376
66081
  });
64377
66082
  ListTerminalsEmbedded$outboundSchema = objectType({
64378
- terminals: arrayType(EntityTerminal$outboundSchema).optional()
66083
+ terminals: arrayType(ListEntityTerminal$outboundSchema).optional()
64379
66084
  });
64380
66085
  ListTerminalsResponse$inboundSchema = objectType({
64381
66086
  count: numberType().int(),
@@ -64436,10 +66141,10 @@ var init_listwebhooks = __esm(() => {
64436
66141
  });
64437
66142
  });
64438
66143
  ListWebhooksEmbedded$inboundSchema = objectType({
64439
- webhooks: arrayType(EntityWebhook$inboundSchema)
66144
+ webhooks: arrayType(ListEntityWebhook$inboundSchema)
64440
66145
  });
64441
66146
  ListWebhooksEmbedded$outboundSchema = objectType({
64442
- webhooks: arrayType(EntityWebhook$outboundSchema)
66147
+ webhooks: arrayType(ListEntityWebhook$outboundSchema)
64443
66148
  });
64444
66149
  ListWebhooksResponse$inboundSchema = objectType({
64445
66150
  count: numberType().int(),
@@ -64522,10 +66227,10 @@ var init_paymentlistroutes = __esm(() => {
64522
66227
  });
64523
66228
  });
64524
66229
  PaymentListRoutesEmbedded$inboundSchema = objectType({
64525
- routes: arrayType(RouteGetResponse$inboundSchema)
66230
+ routes: arrayType(ListRouteGetResponse$inboundSchema)
64526
66231
  });
64527
66232
  PaymentListRoutesEmbedded$outboundSchema = objectType({
64528
- routes: arrayType(RouteGetResponse$outboundSchema)
66233
+ routes: arrayType(ListRouteGetResponse$outboundSchema)
64529
66234
  });
64530
66235
  PaymentListRoutesLinks$inboundSchema = objectType({
64531
66236
  self: Url$inboundSchema.optional(),
@@ -77377,7 +79082,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
77377
79082
  function createMCPServer(deps) {
77378
79083
  const server = new McpServer({
77379
79084
  name: "Client",
77380
- version: "0.9.5"
79085
+ version: "0.9.6"
77381
79086
  });
77382
79087
  const client = new ClientCore({
77383
79088
  security: deps.security,
@@ -78805,7 +80510,7 @@ var routes = an({
78805
80510
  var app = He(routes, {
78806
80511
  name: "mcp",
78807
80512
  versionInfo: {
78808
- currentVersion: "0.9.5"
80513
+ currentVersion: "0.9.6"
78809
80514
  }
78810
80515
  });
78811
80516
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -78813,5 +80518,5 @@ export {
78813
80518
  app
78814
80519
  };
78815
80520
 
78816
- //# debugId=30721EE42DC5804164756E2164756E21
80521
+ //# debugId=20093DC29626F1D064756E2164756E21
78817
80522
  //# sourceMappingURL=mcp-server.js.map