mollie-api-typescript 0.9.4 → 0.9.5

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 (446) hide show
  1. package/_speakeasy/.github/action-inputs-config.json +53 -0
  2. package/_speakeasy/.github/action-security-config.json +88 -0
  3. package/bin/mcp-server.js +26340 -9768
  4. package/bin/mcp-server.js.map +242 -91
  5. package/dist/commonjs/lib/config.d.ts +3 -3
  6. package/dist/commonjs/lib/config.js +3 -3
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/prompts.d.ts +3 -3
  9. package/dist/commonjs/mcp-server/prompts.d.ts.map +1 -1
  10. package/dist/commonjs/mcp-server/prompts.js.map +1 -1
  11. package/dist/commonjs/mcp-server/resources.d.ts +3 -3
  12. package/dist/commonjs/mcp-server/resources.d.ts.map +1 -1
  13. package/dist/commonjs/mcp-server/resources.js.map +1 -1
  14. package/dist/commonjs/mcp-server/server.js +1 -1
  15. package/dist/commonjs/mcp-server/tools.d.ts +3 -3
  16. package/dist/commonjs/mcp-server/tools.d.ts.map +1 -1
  17. package/dist/commonjs/mcp-server/tools.js.map +1 -1
  18. package/dist/commonjs/models/entitybalance.d.ts +42 -42
  19. package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
  20. package/dist/commonjs/models/entitybalance.js +51 -53
  21. package/dist/commonjs/models/entitybalance.js.map +1 -1
  22. package/dist/commonjs/models/entitychargeback.d.ts +8 -8
  23. package/dist/commonjs/models/entitychargeback.d.ts.map +1 -1
  24. package/dist/commonjs/models/entitychargeback.js +12 -13
  25. package/dist/commonjs/models/entitychargeback.js.map +1 -1
  26. package/dist/commonjs/models/entityinvoice.d.ts +24 -24
  27. package/dist/commonjs/models/entityinvoice.d.ts.map +1 -1
  28. package/dist/commonjs/models/entityinvoice.js +31 -31
  29. package/dist/commonjs/models/entityinvoice.js.map +1 -1
  30. package/dist/{esm/models/listentitymethodall.d.ts → commonjs/models/entitymethodall.d.ts} +60 -60
  31. package/dist/commonjs/models/entitymethodall.d.ts.map +1 -0
  32. package/dist/commonjs/models/entitymethodall.js +291 -0
  33. package/dist/commonjs/models/entitymethodall.js.map +1 -0
  34. package/dist/commonjs/models/entitysettlement.d.ts +32 -32
  35. package/dist/commonjs/models/entitysettlement.d.ts.map +1 -1
  36. package/dist/commonjs/models/entitysettlement.js +43 -43
  37. package/dist/commonjs/models/entitysettlement.js.map +1 -1
  38. package/dist/commonjs/models/index.d.ts +2 -17
  39. package/dist/commonjs/models/index.d.ts.map +1 -1
  40. package/dist/commonjs/models/index.js +2 -17
  41. package/dist/commonjs/models/index.js.map +1 -1
  42. package/dist/commonjs/models/operations/listallmethods.d.ts +2 -2
  43. package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
  44. package/dist/commonjs/models/operations/listallmethods.js +2 -2
  45. package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
  46. package/dist/commonjs/models/operations/listbalances.d.ts +2 -2
  47. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  48. package/dist/commonjs/models/operations/listbalances.js +2 -2
  49. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  50. package/dist/commonjs/models/operations/listcaptures.d.ts +2 -2
  51. package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
  52. package/dist/commonjs/models/operations/listcaptures.js +2 -2
  53. package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
  54. package/dist/commonjs/models/operations/listclients.d.ts +5 -0
  55. package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
  56. package/dist/commonjs/models/operations/listclients.js +2 -0
  57. package/dist/commonjs/models/operations/listclients.js.map +1 -1
  58. package/dist/commonjs/models/operations/listcustomers.d.ts +2 -2
  59. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  60. package/dist/commonjs/models/operations/listcustomers.js +2 -2
  61. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  62. package/dist/commonjs/models/operations/listinvoices.d.ts +2 -2
  63. package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
  64. package/dist/commonjs/models/operations/listinvoices.js +2 -2
  65. package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
  66. package/dist/commonjs/models/operations/listmandates.d.ts +2 -2
  67. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  68. package/dist/commonjs/models/operations/listmandates.js +2 -2
  69. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  70. package/dist/commonjs/models/operations/listmethods.d.ts +2 -2
  71. package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
  72. package/dist/commonjs/models/operations/listmethods.js +2 -2
  73. package/dist/commonjs/models/operations/listmethods.js.map +1 -1
  74. package/dist/commonjs/models/operations/listpermissions.d.ts +2 -2
  75. package/dist/commonjs/models/operations/listpermissions.d.ts.map +1 -1
  76. package/dist/commonjs/models/operations/listpermissions.js +2 -2
  77. package/dist/commonjs/models/operations/listpermissions.js.map +1 -1
  78. package/dist/commonjs/models/operations/listprofiles.d.ts +2 -2
  79. package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
  80. package/dist/commonjs/models/operations/listprofiles.js +2 -2
  81. package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
  82. package/dist/commonjs/models/operations/listsalesinvoices.d.ts +2 -2
  83. package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
  84. package/dist/commonjs/models/operations/listsalesinvoices.js +2 -4
  85. package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
  86. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +2 -2
  87. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  88. package/dist/commonjs/models/operations/listsettlementchargebacks.js +2 -2
  89. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  90. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +2 -2
  91. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  92. package/dist/commonjs/models/operations/listsettlementpayments.js +2 -2
  93. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  94. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +2 -2
  95. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  96. package/dist/commonjs/models/operations/listsettlementrefunds.js +2 -2
  97. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  98. package/dist/commonjs/models/operations/listsettlements.d.ts +2 -2
  99. package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
  100. package/dist/commonjs/models/operations/listsettlements.js +2 -2
  101. package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
  102. package/dist/commonjs/models/operations/listsubscriptions.d.ts +2 -2
  103. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  104. package/dist/commonjs/models/operations/listsubscriptions.js +2 -4
  105. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  106. package/dist/commonjs/models/operations/listterminals.d.ts +2 -2
  107. package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
  108. package/dist/commonjs/models/operations/listterminals.js +2 -2
  109. package/dist/commonjs/models/operations/listterminals.js.map +1 -1
  110. package/dist/commonjs/models/operations/listwebhooks.d.ts +2 -2
  111. package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
  112. package/dist/commonjs/models/operations/listwebhooks.js +2 -2
  113. package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
  114. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +2 -2
  115. package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
  116. package/dist/commonjs/models/operations/paymentlistroutes.js +2 -2
  117. package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
  118. package/dist/commonjs/models/paymentresponse.d.ts +48 -48
  119. package/dist/commonjs/models/paymentresponse.d.ts.map +1 -1
  120. package/dist/commonjs/models/paymentresponse.js +62 -67
  121. package/dist/commonjs/models/paymentresponse.js.map +1 -1
  122. package/dist/commonjs/models/profileresponse.d.ts +8 -8
  123. package/dist/commonjs/models/profileresponse.d.ts.map +1 -1
  124. package/dist/commonjs/models/profileresponse.js +12 -11
  125. package/dist/commonjs/models/profileresponse.js.map +1 -1
  126. package/dist/{esm/models/listroutegetresponse.d.ts → commonjs/models/routegetresponse.d.ts} +28 -23
  127. package/dist/commonjs/models/routegetresponse.d.ts.map +1 -0
  128. package/dist/commonjs/models/{listroutegetresponse.js → routegetresponse.js} +32 -30
  129. package/dist/commonjs/models/routegetresponse.js.map +1 -0
  130. package/dist/commonjs/models/salesinvoiceresponse.d.ts +40 -40
  131. package/dist/commonjs/models/salesinvoiceresponse.d.ts.map +1 -1
  132. package/dist/commonjs/models/salesinvoiceresponse.js +51 -56
  133. package/dist/commonjs/models/salesinvoiceresponse.js.map +1 -1
  134. package/dist/esm/lib/config.d.ts +3 -3
  135. package/dist/esm/lib/config.js +3 -3
  136. package/dist/esm/mcp-server/mcp-server.js +1 -1
  137. package/dist/esm/mcp-server/prompts.d.ts +3 -3
  138. package/dist/esm/mcp-server/prompts.d.ts.map +1 -1
  139. package/dist/esm/mcp-server/prompts.js.map +1 -1
  140. package/dist/esm/mcp-server/resources.d.ts +3 -3
  141. package/dist/esm/mcp-server/resources.d.ts.map +1 -1
  142. package/dist/esm/mcp-server/resources.js.map +1 -1
  143. package/dist/esm/mcp-server/server.js +1 -1
  144. package/dist/esm/mcp-server/tools.d.ts +3 -3
  145. package/dist/esm/mcp-server/tools.d.ts.map +1 -1
  146. package/dist/esm/mcp-server/tools.js.map +1 -1
  147. package/dist/esm/models/entitybalance.d.ts +42 -42
  148. package/dist/esm/models/entitybalance.d.ts.map +1 -1
  149. package/dist/esm/models/entitybalance.js +42 -44
  150. package/dist/esm/models/entitybalance.js.map +1 -1
  151. package/dist/esm/models/entitychargeback.d.ts +8 -8
  152. package/dist/esm/models/entitychargeback.d.ts.map +1 -1
  153. package/dist/esm/models/entitychargeback.js +9 -10
  154. package/dist/esm/models/entitychargeback.js.map +1 -1
  155. package/dist/esm/models/entityinvoice.d.ts +24 -24
  156. package/dist/esm/models/entityinvoice.d.ts.map +1 -1
  157. package/dist/esm/models/entityinvoice.js +24 -24
  158. package/dist/esm/models/entityinvoice.js.map +1 -1
  159. package/dist/{commonjs/models/listentitymethodall.d.ts → esm/models/entitymethodall.d.ts} +60 -60
  160. package/dist/esm/models/entitymethodall.d.ts.map +1 -0
  161. package/dist/esm/models/entitymethodall.js +239 -0
  162. package/dist/esm/models/entitymethodall.js.map +1 -0
  163. package/dist/esm/models/entitysettlement.d.ts +32 -32
  164. package/dist/esm/models/entitysettlement.d.ts.map +1 -1
  165. package/dist/esm/models/entitysettlement.js +34 -34
  166. package/dist/esm/models/entitysettlement.js.map +1 -1
  167. package/dist/esm/models/index.d.ts +2 -17
  168. package/dist/esm/models/index.d.ts.map +1 -1
  169. package/dist/esm/models/index.js +2 -17
  170. package/dist/esm/models/index.js.map +1 -1
  171. package/dist/esm/models/operations/listallmethods.d.ts +2 -2
  172. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  173. package/dist/esm/models/operations/listallmethods.js +2 -2
  174. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  175. package/dist/esm/models/operations/listbalances.d.ts +2 -2
  176. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  177. package/dist/esm/models/operations/listbalances.js +2 -2
  178. package/dist/esm/models/operations/listbalances.js.map +1 -1
  179. package/dist/esm/models/operations/listcaptures.d.ts +2 -2
  180. package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
  181. package/dist/esm/models/operations/listcaptures.js +2 -2
  182. package/dist/esm/models/operations/listcaptures.js.map +1 -1
  183. package/dist/esm/models/operations/listclients.d.ts +5 -0
  184. package/dist/esm/models/operations/listclients.d.ts.map +1 -1
  185. package/dist/esm/models/operations/listclients.js +2 -0
  186. package/dist/esm/models/operations/listclients.js.map +1 -1
  187. package/dist/esm/models/operations/listcustomers.d.ts +2 -2
  188. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  189. package/dist/esm/models/operations/listcustomers.js +2 -2
  190. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  191. package/dist/esm/models/operations/listinvoices.d.ts +2 -2
  192. package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
  193. package/dist/esm/models/operations/listinvoices.js +2 -2
  194. package/dist/esm/models/operations/listinvoices.js.map +1 -1
  195. package/dist/esm/models/operations/listmandates.d.ts +2 -2
  196. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  197. package/dist/esm/models/operations/listmandates.js +2 -2
  198. package/dist/esm/models/operations/listmandates.js.map +1 -1
  199. package/dist/esm/models/operations/listmethods.d.ts +2 -2
  200. package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
  201. package/dist/esm/models/operations/listmethods.js +2 -2
  202. package/dist/esm/models/operations/listmethods.js.map +1 -1
  203. package/dist/esm/models/operations/listpermissions.d.ts +2 -2
  204. package/dist/esm/models/operations/listpermissions.d.ts.map +1 -1
  205. package/dist/esm/models/operations/listpermissions.js +2 -2
  206. package/dist/esm/models/operations/listpermissions.js.map +1 -1
  207. package/dist/esm/models/operations/listprofiles.d.ts +2 -2
  208. package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
  209. package/dist/esm/models/operations/listprofiles.js +2 -2
  210. package/dist/esm/models/operations/listprofiles.js.map +1 -1
  211. package/dist/esm/models/operations/listsalesinvoices.d.ts +2 -2
  212. package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
  213. package/dist/esm/models/operations/listsalesinvoices.js +2 -4
  214. package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
  215. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +2 -2
  216. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  217. package/dist/esm/models/operations/listsettlementchargebacks.js +2 -2
  218. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  219. package/dist/esm/models/operations/listsettlementpayments.d.ts +2 -2
  220. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  221. package/dist/esm/models/operations/listsettlementpayments.js +2 -2
  222. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  223. package/dist/esm/models/operations/listsettlementrefunds.d.ts +2 -2
  224. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  225. package/dist/esm/models/operations/listsettlementrefunds.js +2 -2
  226. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  227. package/dist/esm/models/operations/listsettlements.d.ts +2 -2
  228. package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
  229. package/dist/esm/models/operations/listsettlements.js +2 -2
  230. package/dist/esm/models/operations/listsettlements.js.map +1 -1
  231. package/dist/esm/models/operations/listsubscriptions.d.ts +2 -2
  232. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  233. package/dist/esm/models/operations/listsubscriptions.js +2 -4
  234. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  235. package/dist/esm/models/operations/listterminals.d.ts +2 -2
  236. package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
  237. package/dist/esm/models/operations/listterminals.js +2 -2
  238. package/dist/esm/models/operations/listterminals.js.map +1 -1
  239. package/dist/esm/models/operations/listwebhooks.d.ts +2 -2
  240. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  241. package/dist/esm/models/operations/listwebhooks.js +2 -2
  242. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  243. package/dist/esm/models/operations/paymentlistroutes.d.ts +2 -2
  244. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  245. package/dist/esm/models/operations/paymentlistroutes.js +2 -2
  246. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  247. package/dist/esm/models/paymentresponse.d.ts +48 -48
  248. package/dist/esm/models/paymentresponse.d.ts.map +1 -1
  249. package/dist/esm/models/paymentresponse.js +49 -54
  250. package/dist/esm/models/paymentresponse.js.map +1 -1
  251. package/dist/esm/models/profileresponse.d.ts +8 -8
  252. package/dist/esm/models/profileresponse.d.ts.map +1 -1
  253. package/dist/esm/models/profileresponse.js +9 -8
  254. package/dist/esm/models/profileresponse.js.map +1 -1
  255. package/dist/{commonjs/models/listroutegetresponse.d.ts → esm/models/routegetresponse.d.ts} +28 -23
  256. package/dist/esm/models/routegetresponse.d.ts.map +1 -0
  257. package/dist/esm/models/routegetresponse.js +78 -0
  258. package/dist/esm/models/routegetresponse.js.map +1 -0
  259. package/dist/esm/models/salesinvoiceresponse.d.ts +40 -40
  260. package/dist/esm/models/salesinvoiceresponse.d.ts.map +1 -1
  261. package/dist/esm/models/salesinvoiceresponse.js +40 -45
  262. package/dist/esm/models/salesinvoiceresponse.js.map +1 -1
  263. package/examples/package-lock.json +2 -2
  264. package/jsr.json +1 -1
  265. package/package.json +2 -2
  266. package/src/lib/config.ts +3 -3
  267. package/src/mcp-server/mcp-server.ts +1 -1
  268. package/src/mcp-server/prompts.ts +7 -3
  269. package/src/mcp-server/resources.ts +7 -3
  270. package/src/mcp-server/server.ts +1 -1
  271. package/src/mcp-server/tools.ts +7 -3
  272. package/src/models/entitybalance.ts +93 -112
  273. package/src/models/entitychargeback.ts +20 -29
  274. package/src/models/entityinvoice.ts +51 -63
  275. package/src/models/{listentitymethodall.ts → entitymethodall.ts} +135 -139
  276. package/src/models/entitysettlement.ts +96 -140
  277. package/src/models/index.ts +2 -17
  278. package/src/models/operations/listallmethods.ts +4 -4
  279. package/src/models/operations/listbalances.ts +4 -4
  280. package/src/models/operations/listcaptures.ts +4 -4
  281. package/src/models/operations/listclients.ts +7 -0
  282. package/src/models/operations/listcustomers.ts +4 -4
  283. package/src/models/operations/listinvoices.ts +4 -4
  284. package/src/models/operations/listmandates.ts +4 -4
  285. package/src/models/operations/listmethods.ts +4 -4
  286. package/src/models/operations/listpermissions.ts +4 -4
  287. package/src/models/operations/listprofiles.ts +4 -4
  288. package/src/models/operations/listsalesinvoices.ts +4 -6
  289. package/src/models/operations/listsettlementchargebacks.ts +4 -4
  290. package/src/models/operations/listsettlementpayments.ts +4 -4
  291. package/src/models/operations/listsettlementrefunds.ts +4 -4
  292. package/src/models/operations/listsettlements.ts +4 -4
  293. package/src/models/operations/listsubscriptions.ts +4 -6
  294. package/src/models/operations/listterminals.ts +4 -4
  295. package/src/models/operations/listwebhooks.ts +4 -4
  296. package/src/models/operations/paymentlistroutes.ts +4 -4
  297. package/src/models/paymentresponse.ts +117 -159
  298. package/src/models/profileresponse.ts +19 -26
  299. package/src/models/{listroutegetresponse.ts → routegetresponse.ts} +58 -51
  300. package/src/models/salesinvoiceresponse.ts +97 -149
  301. package/dist/commonjs/models/listcustomerresponse.d.ts +0 -107
  302. package/dist/commonjs/models/listcustomerresponse.d.ts.map +0 -1
  303. package/dist/commonjs/models/listcustomerresponse.js +0 -112
  304. package/dist/commonjs/models/listcustomerresponse.js.map +0 -1
  305. package/dist/commonjs/models/listentitybalance.d.ts +0 -300
  306. package/dist/commonjs/models/listentitybalance.d.ts.map +0 -1
  307. package/dist/commonjs/models/listentitybalance.js +0 -245
  308. package/dist/commonjs/models/listentitybalance.js.map +0 -1
  309. package/dist/commonjs/models/listentitychargeback.d.ts +0 -175
  310. package/dist/commonjs/models/listentitychargeback.d.ts.map +0 -1
  311. package/dist/commonjs/models/listentitychargeback.js +0 -146
  312. package/dist/commonjs/models/listentitychargeback.js.map +0 -1
  313. package/dist/commonjs/models/listentityinvoice.d.ts +0 -236
  314. package/dist/commonjs/models/listentityinvoice.d.ts.map +0 -1
  315. package/dist/commonjs/models/listentityinvoice.js +0 -202
  316. package/dist/commonjs/models/listentityinvoice.js.map +0 -1
  317. package/dist/commonjs/models/listentitymethod.d.ts +0 -319
  318. package/dist/commonjs/models/listentitymethod.d.ts.map +0 -1
  319. package/dist/commonjs/models/listentitymethod.js +0 -264
  320. package/dist/commonjs/models/listentitymethod.js.map +0 -1
  321. package/dist/commonjs/models/listentitymethodall.d.ts.map +0 -1
  322. package/dist/commonjs/models/listentitymethodall.js +0 -291
  323. package/dist/commonjs/models/listentitymethodall.js.map +0 -1
  324. package/dist/commonjs/models/listentitypermission.d.ts +0 -63
  325. package/dist/commonjs/models/listentitypermission.d.ts.map +0 -1
  326. package/dist/commonjs/models/listentitypermission.js +0 -92
  327. package/dist/commonjs/models/listentitypermission.js.map +0 -1
  328. package/dist/commonjs/models/listentityrefundresponse.d.ts +0 -256
  329. package/dist/commonjs/models/listentityrefundresponse.d.ts.map +0 -1
  330. package/dist/commonjs/models/listentityrefundresponse.js +0 -203
  331. package/dist/commonjs/models/listentityrefundresponse.js.map +0 -1
  332. package/dist/commonjs/models/listentitysettlement.d.ts +0 -321
  333. package/dist/commonjs/models/listentitysettlement.d.ts.map +0 -1
  334. package/dist/commonjs/models/listentitysettlement.js +0 -248
  335. package/dist/commonjs/models/listentitysettlement.js.map +0 -1
  336. package/dist/commonjs/models/listentityterminal.d.ts +0 -130
  337. package/dist/commonjs/models/listentityterminal.d.ts.map +0 -1
  338. package/dist/commonjs/models/listentityterminal.js +0 -124
  339. package/dist/commonjs/models/listentityterminal.js.map +0 -1
  340. package/dist/commonjs/models/listentitywebhook.d.ts +0 -91
  341. package/dist/commonjs/models/listentitywebhook.d.ts.map +0 -1
  342. package/dist/commonjs/models/listentitywebhook.js +0 -105
  343. package/dist/commonjs/models/listentitywebhook.js.map +0 -1
  344. package/dist/commonjs/models/listmandateresponse.d.ts +0 -176
  345. package/dist/commonjs/models/listmandateresponse.d.ts.map +0 -1
  346. package/dist/commonjs/models/listmandateresponse.js +0 -157
  347. package/dist/commonjs/models/listmandateresponse.js.map +0 -1
  348. package/dist/commonjs/models/listpaymentresponse.d.ts +0 -1348
  349. package/dist/commonjs/models/listpaymentresponse.d.ts.map +0 -1
  350. package/dist/commonjs/models/listpaymentresponse.js +0 -620
  351. package/dist/commonjs/models/listpaymentresponse.js.map +0 -1
  352. package/dist/commonjs/models/listprofileresponse.d.ts +0 -202
  353. package/dist/commonjs/models/listprofileresponse.d.ts.map +0 -1
  354. package/dist/commonjs/models/listprofileresponse.js +0 -159
  355. package/dist/commonjs/models/listprofileresponse.js.map +0 -1
  356. package/dist/commonjs/models/listroutegetresponse.d.ts.map +0 -1
  357. package/dist/commonjs/models/listroutegetresponse.js.map +0 -1
  358. package/dist/commonjs/models/listsalesinvoiceresponse.d.ts +0 -375
  359. package/dist/commonjs/models/listsalesinvoiceresponse.d.ts.map +0 -1
  360. package/dist/commonjs/models/listsalesinvoiceresponse.js +0 -267
  361. package/dist/commonjs/models/listsalesinvoiceresponse.js.map +0 -1
  362. package/dist/commonjs/models/listsubscriptionresponse.d.ts +0 -249
  363. package/dist/commonjs/models/listsubscriptionresponse.d.ts.map +0 -1
  364. package/dist/commonjs/models/listsubscriptionresponse.js +0 -171
  365. package/dist/commonjs/models/listsubscriptionresponse.js.map +0 -1
  366. package/dist/esm/models/listcustomerresponse.d.ts +0 -107
  367. package/dist/esm/models/listcustomerresponse.d.ts.map +0 -1
  368. package/dist/esm/models/listcustomerresponse.js +0 -72
  369. package/dist/esm/models/listcustomerresponse.js.map +0 -1
  370. package/dist/esm/models/listentitybalance.d.ts +0 -300
  371. package/dist/esm/models/listentitybalance.d.ts.map +0 -1
  372. package/dist/esm/models/listentitybalance.js +0 -197
  373. package/dist/esm/models/listentitybalance.js.map +0 -1
  374. package/dist/esm/models/listentitychargeback.d.ts +0 -175
  375. package/dist/esm/models/listentitychargeback.d.ts.map +0 -1
  376. package/dist/esm/models/listentitychargeback.js +0 -102
  377. package/dist/esm/models/listentitychargeback.js.map +0 -1
  378. package/dist/esm/models/listentityinvoice.d.ts +0 -236
  379. package/dist/esm/models/listentityinvoice.d.ts.map +0 -1
  380. package/dist/esm/models/listentityinvoice.js +0 -154
  381. package/dist/esm/models/listentityinvoice.js.map +0 -1
  382. package/dist/esm/models/listentitymethod.d.ts +0 -319
  383. package/dist/esm/models/listentitymethod.d.ts.map +0 -1
  384. package/dist/esm/models/listentitymethod.js +0 -214
  385. package/dist/esm/models/listentitymethod.js.map +0 -1
  386. package/dist/esm/models/listentitymethodall.d.ts.map +0 -1
  387. package/dist/esm/models/listentitymethodall.js +0 -239
  388. package/dist/esm/models/listentitymethodall.js.map +0 -1
  389. package/dist/esm/models/listentitypermission.d.ts +0 -63
  390. package/dist/esm/models/listentitypermission.d.ts.map +0 -1
  391. package/dist/esm/models/listentitypermission.js +0 -52
  392. package/dist/esm/models/listentitypermission.js.map +0 -1
  393. package/dist/esm/models/listentityrefundresponse.d.ts +0 -256
  394. package/dist/esm/models/listentityrefundresponse.d.ts.map +0 -1
  395. package/dist/esm/models/listentityrefundresponse.js +0 -155
  396. package/dist/esm/models/listentityrefundresponse.js.map +0 -1
  397. package/dist/esm/models/listentitysettlement.d.ts +0 -321
  398. package/dist/esm/models/listentitysettlement.d.ts.map +0 -1
  399. package/dist/esm/models/listentitysettlement.js +0 -198
  400. package/dist/esm/models/listentitysettlement.js.map +0 -1
  401. package/dist/esm/models/listentityterminal.d.ts +0 -130
  402. package/dist/esm/models/listentityterminal.d.ts.map +0 -1
  403. package/dist/esm/models/listentityterminal.js +0 -84
  404. package/dist/esm/models/listentityterminal.js.map +0 -1
  405. package/dist/esm/models/listentitywebhook.d.ts +0 -91
  406. package/dist/esm/models/listentitywebhook.d.ts.map +0 -1
  407. package/dist/esm/models/listentitywebhook.js +0 -65
  408. package/dist/esm/models/listentitywebhook.js.map +0 -1
  409. package/dist/esm/models/listmandateresponse.d.ts +0 -176
  410. package/dist/esm/models/listmandateresponse.d.ts.map +0 -1
  411. package/dist/esm/models/listmandateresponse.js +0 -115
  412. package/dist/esm/models/listmandateresponse.js.map +0 -1
  413. package/dist/esm/models/listpaymentresponse.d.ts +0 -1348
  414. package/dist/esm/models/listpaymentresponse.d.ts.map +0 -1
  415. package/dist/esm/models/listpaymentresponse.js +0 -558
  416. package/dist/esm/models/listpaymentresponse.js.map +0 -1
  417. package/dist/esm/models/listprofileresponse.d.ts +0 -202
  418. package/dist/esm/models/listprofileresponse.d.ts.map +0 -1
  419. package/dist/esm/models/listprofileresponse.js +0 -117
  420. package/dist/esm/models/listprofileresponse.js.map +0 -1
  421. package/dist/esm/models/listroutegetresponse.d.ts.map +0 -1
  422. package/dist/esm/models/listroutegetresponse.js +0 -76
  423. package/dist/esm/models/listroutegetresponse.js.map +0 -1
  424. package/dist/esm/models/listsalesinvoiceresponse.d.ts +0 -375
  425. package/dist/esm/models/listsalesinvoiceresponse.d.ts.map +0 -1
  426. package/dist/esm/models/listsalesinvoiceresponse.js +0 -215
  427. package/dist/esm/models/listsalesinvoiceresponse.js.map +0 -1
  428. package/dist/esm/models/listsubscriptionresponse.d.ts +0 -249
  429. package/dist/esm/models/listsubscriptionresponse.d.ts.map +0 -1
  430. package/dist/esm/models/listsubscriptionresponse.js +0 -129
  431. package/dist/esm/models/listsubscriptionresponse.js.map +0 -1
  432. package/src/models/listcustomerresponse.ts +0 -223
  433. package/src/models/listentitybalance.ts +0 -598
  434. package/src/models/listentitychargeback.ts +0 -361
  435. package/src/models/listentityinvoice.ts +0 -492
  436. package/src/models/listentitymethod.ts +0 -608
  437. package/src/models/listentitypermission.ts +0 -149
  438. package/src/models/listentityrefundresponse.ts +0 -585
  439. package/src/models/listentitysettlement.ts +0 -651
  440. package/src/models/listentityterminal.ts +0 -253
  441. package/src/models/listentitywebhook.ts +0 -195
  442. package/src/models/listmandateresponse.ts +0 -343
  443. package/src/models/listpaymentresponse.ts +0 -2225
  444. package/src/models/listprofileresponse.ts +0 -365
  445. package/src/models/listsalesinvoiceresponse.ts +0 -799
  446. package/src/models/listsubscriptionresponse.ts +0 -447
@@ -147,7 +147,7 @@ import {
147
147
  * payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
148
148
  * costs for a return shipment to the customer.
149
149
  */
150
- export type PaymentResponseAmountRefunded = {
150
+ export type AmountRefunded = {
151
151
  /**
152
152
  * A three-character ISO 4217 currency code.
153
153
  */
@@ -161,7 +161,7 @@ export type PaymentResponseAmountRefunded = {
161
161
  /**
162
162
  * The remaining amount that can be refunded. Only available when refunds are available for this payment.
163
163
  */
164
- export type PaymentResponseAmountRemaining = {
164
+ export type AmountRemaining = {
165
165
  /**
166
166
  * A three-character ISO 4217 currency code.
167
167
  */
@@ -175,7 +175,7 @@ export type PaymentResponseAmountRemaining = {
175
175
  /**
176
176
  * The total amount that is already captured for this payment. Only available when this payment supports captures.
177
177
  */
178
- export type PaymentResponseAmountCaptured = {
178
+ export type AmountCaptured = {
179
179
  /**
180
180
  * A three-character ISO 4217 currency code.
181
181
  */
@@ -192,7 +192,7 @@ export type PaymentResponseAmountCaptured = {
192
192
  * @remarks
193
193
  * zero.
194
194
  */
195
- export type PaymentResponseAmountChargedBack = {
195
+ export type AmountChargedBack = {
196
196
  /**
197
197
  * A three-character ISO 4217 currency code.
198
198
  */
@@ -444,7 +444,7 @@ export type PaymentResponseStatus = OpenEnum<typeof PaymentResponseStatus>;
444
444
  /**
445
445
  * The Point of sale receipt object.
446
446
  */
447
- export type PaymentResponseReceipt = {
447
+ export type Receipt = {
448
448
  /**
449
449
  * A unique code provided by the cardholder’s bank to confirm that the transaction was successfully approved.
450
450
  */
@@ -478,7 +478,7 @@ export type PaymentResponseReceipt = {
478
478
  * The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
479
479
  * Bancontact QR payments can be completed by the customer using the Bancontact app.
480
480
  */
481
- export type PaymentResponseQrCode = {
481
+ export type QrCode = {
482
482
  /**
483
483
  * The height of the QR code image in pixels.
484
484
  */
@@ -665,7 +665,7 @@ export type PaymentResponseDetails = {
665
665
  /**
666
666
  * The Point of sale receipt object.
667
667
  */
668
- receipt?: PaymentResponseReceipt | undefined;
668
+ receipt?: Receipt | undefined;
669
669
  /**
670
670
  * The creditor identifier indicates who is authorized to execute the payment. In this case, it is a
671
671
  *
@@ -720,7 +720,7 @@ export type PaymentResponseDetails = {
720
720
  * The QR code can be scanned by the customer to complete the payment on their mobile device. For example,
721
721
  * Bancontact QR payments can be completed by the customer using the Bancontact app.
722
722
  */
723
- qrCode?: PaymentResponseQrCode | undefined;
723
+ qrCode?: QrCode | undefined;
724
724
  /**
725
725
  * For payments with gift cards: the masked gift card number of the first gift card applied to the payment.
726
726
  */
@@ -874,22 +874,22 @@ export type PaymentResponse = {
874
874
  * payment methods, this amount may be higher than the payment amount, for example to allow reimbursement of the
875
875
  * costs for a return shipment to the customer.
876
876
  */
877
- amountRefunded?: PaymentResponseAmountRefunded | undefined;
877
+ amountRefunded?: AmountRefunded | undefined;
878
878
  /**
879
879
  * The remaining amount that can be refunded. Only available when refunds are available for this payment.
880
880
  */
881
- amountRemaining?: PaymentResponseAmountRemaining | undefined;
881
+ amountRemaining?: AmountRemaining | undefined;
882
882
  /**
883
883
  * The total amount that is already captured for this payment. Only available when this payment supports captures.
884
884
  */
885
- amountCaptured?: PaymentResponseAmountCaptured | undefined;
885
+ amountCaptured?: AmountCaptured | undefined;
886
886
  /**
887
887
  * The total amount that was charged back for this payment. Only available when the total charged back amount is not
888
888
  *
889
889
  * @remarks
890
890
  * zero.
891
891
  */
892
- amountChargedBack?: PaymentResponseAmountChargedBack | undefined;
892
+ amountChargedBack?: AmountChargedBack | undefined;
893
893
  /**
894
894
  * This optional field will contain the approximate amount that will be settled to your account, converted to the
895
895
  *
@@ -1187,8 +1187,8 @@ export type PaymentResponse = {
1187
1187
  };
1188
1188
 
1189
1189
  /** @internal */
1190
- export const PaymentResponseAmountRefunded$inboundSchema: z.ZodType<
1191
- PaymentResponseAmountRefunded,
1190
+ export const AmountRefunded$inboundSchema: z.ZodType<
1191
+ AmountRefunded,
1192
1192
  z.ZodTypeDef,
1193
1193
  unknown
1194
1194
  > = z.object({
@@ -1196,43 +1196,37 @@ export const PaymentResponseAmountRefunded$inboundSchema: z.ZodType<
1196
1196
  value: z.string(),
1197
1197
  });
1198
1198
  /** @internal */
1199
- export type PaymentResponseAmountRefunded$Outbound = {
1199
+ export type AmountRefunded$Outbound = {
1200
1200
  currency: string;
1201
1201
  value: string;
1202
1202
  };
1203
1203
 
1204
1204
  /** @internal */
1205
- export const PaymentResponseAmountRefunded$outboundSchema: z.ZodType<
1206
- PaymentResponseAmountRefunded$Outbound,
1205
+ export const AmountRefunded$outboundSchema: z.ZodType<
1206
+ AmountRefunded$Outbound,
1207
1207
  z.ZodTypeDef,
1208
- PaymentResponseAmountRefunded
1208
+ AmountRefunded
1209
1209
  > = z.object({
1210
1210
  currency: z.string(),
1211
1211
  value: z.string(),
1212
1212
  });
1213
1213
 
1214
- export function paymentResponseAmountRefundedToJSON(
1215
- paymentResponseAmountRefunded: PaymentResponseAmountRefunded,
1216
- ): string {
1217
- return JSON.stringify(
1218
- PaymentResponseAmountRefunded$outboundSchema.parse(
1219
- paymentResponseAmountRefunded,
1220
- ),
1221
- );
1214
+ export function amountRefundedToJSON(amountRefunded: AmountRefunded): string {
1215
+ return JSON.stringify(AmountRefunded$outboundSchema.parse(amountRefunded));
1222
1216
  }
1223
- export function paymentResponseAmountRefundedFromJSON(
1217
+ export function amountRefundedFromJSON(
1224
1218
  jsonString: string,
1225
- ): SafeParseResult<PaymentResponseAmountRefunded, SDKValidationError> {
1219
+ ): SafeParseResult<AmountRefunded, SDKValidationError> {
1226
1220
  return safeParse(
1227
1221
  jsonString,
1228
- (x) => PaymentResponseAmountRefunded$inboundSchema.parse(JSON.parse(x)),
1229
- `Failed to parse 'PaymentResponseAmountRefunded' from JSON`,
1222
+ (x) => AmountRefunded$inboundSchema.parse(JSON.parse(x)),
1223
+ `Failed to parse 'AmountRefunded' from JSON`,
1230
1224
  );
1231
1225
  }
1232
1226
 
1233
1227
  /** @internal */
1234
- export const PaymentResponseAmountRemaining$inboundSchema: z.ZodType<
1235
- PaymentResponseAmountRemaining,
1228
+ export const AmountRemaining$inboundSchema: z.ZodType<
1229
+ AmountRemaining,
1236
1230
  z.ZodTypeDef,
1237
1231
  unknown
1238
1232
  > = z.object({
@@ -1240,43 +1234,39 @@ export const PaymentResponseAmountRemaining$inboundSchema: z.ZodType<
1240
1234
  value: z.string(),
1241
1235
  });
1242
1236
  /** @internal */
1243
- export type PaymentResponseAmountRemaining$Outbound = {
1237
+ export type AmountRemaining$Outbound = {
1244
1238
  currency: string;
1245
1239
  value: string;
1246
1240
  };
1247
1241
 
1248
1242
  /** @internal */
1249
- export const PaymentResponseAmountRemaining$outboundSchema: z.ZodType<
1250
- PaymentResponseAmountRemaining$Outbound,
1243
+ export const AmountRemaining$outboundSchema: z.ZodType<
1244
+ AmountRemaining$Outbound,
1251
1245
  z.ZodTypeDef,
1252
- PaymentResponseAmountRemaining
1246
+ AmountRemaining
1253
1247
  > = z.object({
1254
1248
  currency: z.string(),
1255
1249
  value: z.string(),
1256
1250
  });
1257
1251
 
1258
- export function paymentResponseAmountRemainingToJSON(
1259
- paymentResponseAmountRemaining: PaymentResponseAmountRemaining,
1252
+ export function amountRemainingToJSON(
1253
+ amountRemaining: AmountRemaining,
1260
1254
  ): string {
1261
- return JSON.stringify(
1262
- PaymentResponseAmountRemaining$outboundSchema.parse(
1263
- paymentResponseAmountRemaining,
1264
- ),
1265
- );
1255
+ return JSON.stringify(AmountRemaining$outboundSchema.parse(amountRemaining));
1266
1256
  }
1267
- export function paymentResponseAmountRemainingFromJSON(
1257
+ export function amountRemainingFromJSON(
1268
1258
  jsonString: string,
1269
- ): SafeParseResult<PaymentResponseAmountRemaining, SDKValidationError> {
1259
+ ): SafeParseResult<AmountRemaining, SDKValidationError> {
1270
1260
  return safeParse(
1271
1261
  jsonString,
1272
- (x) => PaymentResponseAmountRemaining$inboundSchema.parse(JSON.parse(x)),
1273
- `Failed to parse 'PaymentResponseAmountRemaining' from JSON`,
1262
+ (x) => AmountRemaining$inboundSchema.parse(JSON.parse(x)),
1263
+ `Failed to parse 'AmountRemaining' from JSON`,
1274
1264
  );
1275
1265
  }
1276
1266
 
1277
1267
  /** @internal */
1278
- export const PaymentResponseAmountCaptured$inboundSchema: z.ZodType<
1279
- PaymentResponseAmountCaptured,
1268
+ export const AmountCaptured$inboundSchema: z.ZodType<
1269
+ AmountCaptured,
1280
1270
  z.ZodTypeDef,
1281
1271
  unknown
1282
1272
  > = z.object({
@@ -1284,43 +1274,37 @@ export const PaymentResponseAmountCaptured$inboundSchema: z.ZodType<
1284
1274
  value: z.string(),
1285
1275
  });
1286
1276
  /** @internal */
1287
- export type PaymentResponseAmountCaptured$Outbound = {
1277
+ export type AmountCaptured$Outbound = {
1288
1278
  currency: string;
1289
1279
  value: string;
1290
1280
  };
1291
1281
 
1292
1282
  /** @internal */
1293
- export const PaymentResponseAmountCaptured$outboundSchema: z.ZodType<
1294
- PaymentResponseAmountCaptured$Outbound,
1283
+ export const AmountCaptured$outboundSchema: z.ZodType<
1284
+ AmountCaptured$Outbound,
1295
1285
  z.ZodTypeDef,
1296
- PaymentResponseAmountCaptured
1286
+ AmountCaptured
1297
1287
  > = z.object({
1298
1288
  currency: z.string(),
1299
1289
  value: z.string(),
1300
1290
  });
1301
1291
 
1302
- export function paymentResponseAmountCapturedToJSON(
1303
- paymentResponseAmountCaptured: PaymentResponseAmountCaptured,
1304
- ): string {
1305
- return JSON.stringify(
1306
- PaymentResponseAmountCaptured$outboundSchema.parse(
1307
- paymentResponseAmountCaptured,
1308
- ),
1309
- );
1292
+ export function amountCapturedToJSON(amountCaptured: AmountCaptured): string {
1293
+ return JSON.stringify(AmountCaptured$outboundSchema.parse(amountCaptured));
1310
1294
  }
1311
- export function paymentResponseAmountCapturedFromJSON(
1295
+ export function amountCapturedFromJSON(
1312
1296
  jsonString: string,
1313
- ): SafeParseResult<PaymentResponseAmountCaptured, SDKValidationError> {
1297
+ ): SafeParseResult<AmountCaptured, SDKValidationError> {
1314
1298
  return safeParse(
1315
1299
  jsonString,
1316
- (x) => PaymentResponseAmountCaptured$inboundSchema.parse(JSON.parse(x)),
1317
- `Failed to parse 'PaymentResponseAmountCaptured' from JSON`,
1300
+ (x) => AmountCaptured$inboundSchema.parse(JSON.parse(x)),
1301
+ `Failed to parse 'AmountCaptured' from JSON`,
1318
1302
  );
1319
1303
  }
1320
1304
 
1321
1305
  /** @internal */
1322
- export const PaymentResponseAmountChargedBack$inboundSchema: z.ZodType<
1323
- PaymentResponseAmountChargedBack,
1306
+ export const AmountChargedBack$inboundSchema: z.ZodType<
1307
+ AmountChargedBack,
1324
1308
  z.ZodTypeDef,
1325
1309
  unknown
1326
1310
  > = z.object({
@@ -1328,37 +1312,35 @@ export const PaymentResponseAmountChargedBack$inboundSchema: z.ZodType<
1328
1312
  value: z.string(),
1329
1313
  });
1330
1314
  /** @internal */
1331
- export type PaymentResponseAmountChargedBack$Outbound = {
1315
+ export type AmountChargedBack$Outbound = {
1332
1316
  currency: string;
1333
1317
  value: string;
1334
1318
  };
1335
1319
 
1336
1320
  /** @internal */
1337
- export const PaymentResponseAmountChargedBack$outboundSchema: z.ZodType<
1338
- PaymentResponseAmountChargedBack$Outbound,
1321
+ export const AmountChargedBack$outboundSchema: z.ZodType<
1322
+ AmountChargedBack$Outbound,
1339
1323
  z.ZodTypeDef,
1340
- PaymentResponseAmountChargedBack
1324
+ AmountChargedBack
1341
1325
  > = z.object({
1342
1326
  currency: z.string(),
1343
1327
  value: z.string(),
1344
1328
  });
1345
1329
 
1346
- export function paymentResponseAmountChargedBackToJSON(
1347
- paymentResponseAmountChargedBack: PaymentResponseAmountChargedBack,
1330
+ export function amountChargedBackToJSON(
1331
+ amountChargedBack: AmountChargedBack,
1348
1332
  ): string {
1349
1333
  return JSON.stringify(
1350
- PaymentResponseAmountChargedBack$outboundSchema.parse(
1351
- paymentResponseAmountChargedBack,
1352
- ),
1334
+ AmountChargedBack$outboundSchema.parse(amountChargedBack),
1353
1335
  );
1354
1336
  }
1355
- export function paymentResponseAmountChargedBackFromJSON(
1337
+ export function amountChargedBackFromJSON(
1356
1338
  jsonString: string,
1357
- ): SafeParseResult<PaymentResponseAmountChargedBack, SDKValidationError> {
1339
+ ): SafeParseResult<AmountChargedBack, SDKValidationError> {
1358
1340
  return safeParse(
1359
1341
  jsonString,
1360
- (x) => PaymentResponseAmountChargedBack$inboundSchema.parse(JSON.parse(x)),
1361
- `Failed to parse 'PaymentResponseAmountChargedBack' from JSON`,
1342
+ (x) => AmountChargedBack$inboundSchema.parse(JSON.parse(x)),
1343
+ `Failed to parse 'AmountChargedBack' from JSON`,
1362
1344
  );
1363
1345
  }
1364
1346
 
@@ -1616,22 +1598,19 @@ export const PaymentResponseStatus$outboundSchema: z.ZodType<
1616
1598
  > = openEnums.outboundSchema(PaymentResponseStatus);
1617
1599
 
1618
1600
  /** @internal */
1619
- export const PaymentResponseReceipt$inboundSchema: z.ZodType<
1620
- PaymentResponseReceipt,
1621
- z.ZodTypeDef,
1622
- unknown
1623
- > = z.object({
1624
- authorizationCode: z.nullable(z.string()).optional(),
1625
- applicationIdentifier: z.nullable(z.string()).optional(),
1626
- cardReadMethod: z.nullable(
1627
- PaymentDetailsReceiptCardReadMethodResponse$inboundSchema,
1628
- ).optional(),
1629
- cardVerificationMethod: z.nullable(
1630
- PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema,
1631
- ).optional(),
1632
- });
1601
+ export const Receipt$inboundSchema: z.ZodType<Receipt, z.ZodTypeDef, unknown> =
1602
+ z.object({
1603
+ authorizationCode: z.nullable(z.string()).optional(),
1604
+ applicationIdentifier: z.nullable(z.string()).optional(),
1605
+ cardReadMethod: z.nullable(
1606
+ PaymentDetailsReceiptCardReadMethodResponse$inboundSchema,
1607
+ ).optional(),
1608
+ cardVerificationMethod: z.nullable(
1609
+ PaymentDetailsReceiptCardVerificationMethodResponse$inboundSchema,
1610
+ ).optional(),
1611
+ });
1633
1612
  /** @internal */
1634
- export type PaymentResponseReceipt$Outbound = {
1613
+ export type Receipt$Outbound = {
1635
1614
  authorizationCode?: string | null | undefined;
1636
1615
  applicationIdentifier?: string | null | undefined;
1637
1616
  cardReadMethod?: string | null | undefined;
@@ -1639,10 +1618,10 @@ export type PaymentResponseReceipt$Outbound = {
1639
1618
  };
1640
1619
 
1641
1620
  /** @internal */
1642
- export const PaymentResponseReceipt$outboundSchema: z.ZodType<
1643
- PaymentResponseReceipt$Outbound,
1621
+ export const Receipt$outboundSchema: z.ZodType<
1622
+ Receipt$Outbound,
1644
1623
  z.ZodTypeDef,
1645
- PaymentResponseReceipt
1624
+ Receipt
1646
1625
  > = z.object({
1647
1626
  authorizationCode: z.nullable(z.string()).optional(),
1648
1627
  applicationIdentifier: z.nullable(z.string()).optional(),
@@ -1654,65 +1633,54 @@ export const PaymentResponseReceipt$outboundSchema: z.ZodType<
1654
1633
  ).optional(),
1655
1634
  });
1656
1635
 
1657
- export function paymentResponseReceiptToJSON(
1658
- paymentResponseReceipt: PaymentResponseReceipt,
1659
- ): string {
1660
- return JSON.stringify(
1661
- PaymentResponseReceipt$outboundSchema.parse(paymentResponseReceipt),
1662
- );
1636
+ export function receiptToJSON(receipt: Receipt): string {
1637
+ return JSON.stringify(Receipt$outboundSchema.parse(receipt));
1663
1638
  }
1664
- export function paymentResponseReceiptFromJSON(
1639
+ export function receiptFromJSON(
1665
1640
  jsonString: string,
1666
- ): SafeParseResult<PaymentResponseReceipt, SDKValidationError> {
1641
+ ): SafeParseResult<Receipt, SDKValidationError> {
1667
1642
  return safeParse(
1668
1643
  jsonString,
1669
- (x) => PaymentResponseReceipt$inboundSchema.parse(JSON.parse(x)),
1670
- `Failed to parse 'PaymentResponseReceipt' from JSON`,
1644
+ (x) => Receipt$inboundSchema.parse(JSON.parse(x)),
1645
+ `Failed to parse 'Receipt' from JSON`,
1671
1646
  );
1672
1647
  }
1673
1648
 
1674
1649
  /** @internal */
1675
- export const PaymentResponseQrCode$inboundSchema: z.ZodType<
1676
- PaymentResponseQrCode,
1677
- z.ZodTypeDef,
1678
- unknown
1679
- > = z.object({
1680
- height: z.number().int().optional(),
1681
- width: z.number().int().optional(),
1682
- src: z.string().optional(),
1683
- });
1650
+ export const QrCode$inboundSchema: z.ZodType<QrCode, z.ZodTypeDef, unknown> = z
1651
+ .object({
1652
+ height: z.number().int().optional(),
1653
+ width: z.number().int().optional(),
1654
+ src: z.string().optional(),
1655
+ });
1684
1656
  /** @internal */
1685
- export type PaymentResponseQrCode$Outbound = {
1657
+ export type QrCode$Outbound = {
1686
1658
  height?: number | undefined;
1687
1659
  width?: number | undefined;
1688
1660
  src?: string | undefined;
1689
1661
  };
1690
1662
 
1691
1663
  /** @internal */
1692
- export const PaymentResponseQrCode$outboundSchema: z.ZodType<
1693
- PaymentResponseQrCode$Outbound,
1664
+ export const QrCode$outboundSchema: z.ZodType<
1665
+ QrCode$Outbound,
1694
1666
  z.ZodTypeDef,
1695
- PaymentResponseQrCode
1667
+ QrCode
1696
1668
  > = z.object({
1697
1669
  height: z.number().int().optional(),
1698
1670
  width: z.number().int().optional(),
1699
1671
  src: z.string().optional(),
1700
1672
  });
1701
1673
 
1702
- export function paymentResponseQrCodeToJSON(
1703
- paymentResponseQrCode: PaymentResponseQrCode,
1704
- ): string {
1705
- return JSON.stringify(
1706
- PaymentResponseQrCode$outboundSchema.parse(paymentResponseQrCode),
1707
- );
1674
+ export function qrCodeToJSON(qrCode: QrCode): string {
1675
+ return JSON.stringify(QrCode$outboundSchema.parse(qrCode));
1708
1676
  }
1709
- export function paymentResponseQrCodeFromJSON(
1677
+ export function qrCodeFromJSON(
1710
1678
  jsonString: string,
1711
- ): SafeParseResult<PaymentResponseQrCode, SDKValidationError> {
1679
+ ): SafeParseResult<QrCode, SDKValidationError> {
1712
1680
  return safeParse(
1713
1681
  jsonString,
1714
- (x) => PaymentResponseQrCode$inboundSchema.parse(JSON.parse(x)),
1715
- `Failed to parse 'PaymentResponseQrCode' from JSON`,
1682
+ (x) => QrCode$inboundSchema.parse(JSON.parse(x)),
1683
+ `Failed to parse 'QrCode' from JSON`,
1716
1684
  );
1717
1685
  }
1718
1686
 
@@ -1762,7 +1730,7 @@ export const PaymentResponseDetails$inboundSchema: z.ZodType<
1762
1730
  customerReference: z.string().optional(),
1763
1731
  terminalId: z.string().optional(),
1764
1732
  maskedNumber: z.nullable(z.string()).optional(),
1765
- receipt: z.lazy(() => PaymentResponseReceipt$inboundSchema).optional(),
1733
+ receipt: z.lazy(() => Receipt$inboundSchema).optional(),
1766
1734
  creditorIdentifier: z.nullable(z.string()).optional(),
1767
1735
  dueDate: z.nullable(z.string().transform(v => new RFCDate(v))).optional(),
1768
1736
  signatureDate: z.nullable(z.string().transform(v => new RFCDate(v)))
@@ -1773,7 +1741,7 @@ export const PaymentResponseDetails$inboundSchema: z.ZodType<
1773
1741
  mandateReference: z.nullable(z.string()).optional(),
1774
1742
  batchReference: z.nullable(z.string()).optional(),
1775
1743
  fileReference: z.nullable(z.string()).optional(),
1776
- qrCode: z.lazy(() => PaymentResponseQrCode$inboundSchema).optional(),
1744
+ qrCode: z.lazy(() => QrCode$inboundSchema).optional(),
1777
1745
  voucherNumber: z.string().optional(),
1778
1746
  giftcards: z.array(z.record(z.any())).optional(),
1779
1747
  issuer: z.string().optional(),
@@ -1818,7 +1786,7 @@ export type PaymentResponseDetails$Outbound = {
1818
1786
  customerReference?: string | undefined;
1819
1787
  terminalId?: string | undefined;
1820
1788
  maskedNumber?: string | null | undefined;
1821
- receipt?: PaymentResponseReceipt$Outbound | undefined;
1789
+ receipt?: Receipt$Outbound | undefined;
1822
1790
  creditorIdentifier?: string | null | undefined;
1823
1791
  dueDate?: string | null | undefined;
1824
1792
  signatureDate?: string | null | undefined;
@@ -1828,7 +1796,7 @@ export type PaymentResponseDetails$Outbound = {
1828
1796
  mandateReference?: string | null | undefined;
1829
1797
  batchReference?: string | null | undefined;
1830
1798
  fileReference?: string | null | undefined;
1831
- qrCode?: PaymentResponseQrCode$Outbound | undefined;
1799
+ qrCode?: QrCode$Outbound | undefined;
1832
1800
  voucherNumber?: string | undefined;
1833
1801
  giftcards?: Array<{ [k: string]: any }> | undefined;
1834
1802
  issuer?: string | undefined;
@@ -1886,7 +1854,7 @@ export const PaymentResponseDetails$outboundSchema: z.ZodType<
1886
1854
  customerReference: z.string().optional(),
1887
1855
  terminalId: z.string().optional(),
1888
1856
  maskedNumber: z.nullable(z.string()).optional(),
1889
- receipt: z.lazy(() => PaymentResponseReceipt$outboundSchema).optional(),
1857
+ receipt: z.lazy(() => Receipt$outboundSchema).optional(),
1890
1858
  creditorIdentifier: z.nullable(z.string()).optional(),
1891
1859
  dueDate: z.nullable(z.instanceof(RFCDate).transform(v => v.toString()))
1892
1860
  .optional(),
@@ -1898,7 +1866,7 @@ export const PaymentResponseDetails$outboundSchema: z.ZodType<
1898
1866
  mandateReference: z.nullable(z.string()).optional(),
1899
1867
  batchReference: z.nullable(z.string()).optional(),
1900
1868
  fileReference: z.nullable(z.string()).optional(),
1901
- qrCode: z.lazy(() => PaymentResponseQrCode$outboundSchema).optional(),
1869
+ qrCode: z.lazy(() => QrCode$outboundSchema).optional(),
1902
1870
  voucherNumber: z.string().optional(),
1903
1871
  giftcards: z.array(z.record(z.any())).optional(),
1904
1872
  issuer: z.string().optional(),
@@ -2025,15 +1993,10 @@ export const PaymentResponse$inboundSchema: z.ZodType<
2025
1993
  mode: Mode$inboundSchema,
2026
1994
  description: z.string(),
2027
1995
  amount: Amount$inboundSchema,
2028
- amountRefunded: z.lazy(() => PaymentResponseAmountRefunded$inboundSchema)
2029
- .optional(),
2030
- amountRemaining: z.lazy(() => PaymentResponseAmountRemaining$inboundSchema)
2031
- .optional(),
2032
- amountCaptured: z.lazy(() => PaymentResponseAmountCaptured$inboundSchema)
2033
- .optional(),
2034
- amountChargedBack: z.lazy(() =>
2035
- PaymentResponseAmountChargedBack$inboundSchema
2036
- ).optional(),
1996
+ amountRefunded: z.lazy(() => AmountRefunded$inboundSchema).optional(),
1997
+ amountRemaining: z.lazy(() => AmountRemaining$inboundSchema).optional(),
1998
+ amountCaptured: z.lazy(() => AmountCaptured$inboundSchema).optional(),
1999
+ amountChargedBack: z.lazy(() => AmountChargedBack$inboundSchema).optional(),
2037
2000
  settlementAmount: z.lazy(() => PaymentResponseSettlementAmount$inboundSchema)
2038
2001
  .optional(),
2039
2002
  redirectUrl: z.nullable(z.string()).optional(),
@@ -2089,10 +2052,10 @@ export type PaymentResponse$Outbound = {
2089
2052
  mode: string;
2090
2053
  description: string;
2091
2054
  amount: Amount$Outbound;
2092
- amountRefunded?: PaymentResponseAmountRefunded$Outbound | undefined;
2093
- amountRemaining?: PaymentResponseAmountRemaining$Outbound | undefined;
2094
- amountCaptured?: PaymentResponseAmountCaptured$Outbound | undefined;
2095
- amountChargedBack?: PaymentResponseAmountChargedBack$Outbound | undefined;
2055
+ amountRefunded?: AmountRefunded$Outbound | undefined;
2056
+ amountRemaining?: AmountRemaining$Outbound | undefined;
2057
+ amountCaptured?: AmountCaptured$Outbound | undefined;
2058
+ amountChargedBack?: AmountChargedBack$Outbound | undefined;
2096
2059
  settlementAmount?: PaymentResponseSettlementAmount$Outbound | undefined;
2097
2060
  redirectUrl?: string | null | undefined;
2098
2061
  cancelUrl?: string | null | undefined;
@@ -2142,15 +2105,10 @@ export const PaymentResponse$outboundSchema: z.ZodType<
2142
2105
  mode: Mode$outboundSchema,
2143
2106
  description: z.string(),
2144
2107
  amount: Amount$outboundSchema,
2145
- amountRefunded: z.lazy(() => PaymentResponseAmountRefunded$outboundSchema)
2146
- .optional(),
2147
- amountRemaining: z.lazy(() => PaymentResponseAmountRemaining$outboundSchema)
2148
- .optional(),
2149
- amountCaptured: z.lazy(() => PaymentResponseAmountCaptured$outboundSchema)
2150
- .optional(),
2151
- amountChargedBack: z.lazy(() =>
2152
- PaymentResponseAmountChargedBack$outboundSchema
2153
- ).optional(),
2108
+ amountRefunded: z.lazy(() => AmountRefunded$outboundSchema).optional(),
2109
+ amountRemaining: z.lazy(() => AmountRemaining$outboundSchema).optional(),
2110
+ amountCaptured: z.lazy(() => AmountCaptured$outboundSchema).optional(),
2111
+ amountChargedBack: z.lazy(() => AmountChargedBack$outboundSchema).optional(),
2154
2112
  settlementAmount: z.lazy(() => PaymentResponseSettlementAmount$outboundSchema)
2155
2113
  .optional(),
2156
2114
  redirectUrl: z.nullable(z.string()).optional(),
@@ -54,7 +54,7 @@ export type ProfileResponseStatus = OpenEnum<typeof ProfileResponseStatus>;
54
54
  * automatically, unless a switch to a live profile has been requested. The review object will therefore usually be
55
55
  * `null` in test mode.
56
56
  */
57
- export type ProfileResponseReview = {
57
+ export type Review = {
58
58
  /**
59
59
  * The status of the requested changes.
60
60
  */
@@ -160,7 +160,7 @@ export type ProfileResponse = {
160
160
  * automatically, unless a switch to a live profile has been requested. The review object will therefore usually be
161
161
  * `null` in test mode.
162
162
  */
163
- review?: ProfileResponseReview | undefined;
163
+ review?: Review | undefined;
164
164
  /**
165
165
  * The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
166
166
  */
@@ -185,41 +185,34 @@ export const ProfileResponseStatus$outboundSchema: z.ZodType<
185
185
  > = openEnums.outboundSchema(ProfileResponseStatus);
186
186
 
187
187
  /** @internal */
188
- export const ProfileResponseReview$inboundSchema: z.ZodType<
189
- ProfileResponseReview,
190
- z.ZodTypeDef,
191
- unknown
192
- > = z.object({
193
- status: ProfileReviewStatusResponse$inboundSchema.optional(),
194
- });
188
+ export const Review$inboundSchema: z.ZodType<Review, z.ZodTypeDef, unknown> = z
189
+ .object({
190
+ status: ProfileReviewStatusResponse$inboundSchema.optional(),
191
+ });
195
192
  /** @internal */
196
- export type ProfileResponseReview$Outbound = {
193
+ export type Review$Outbound = {
197
194
  status?: string | undefined;
198
195
  };
199
196
 
200
197
  /** @internal */
201
- export const ProfileResponseReview$outboundSchema: z.ZodType<
202
- ProfileResponseReview$Outbound,
198
+ export const Review$outboundSchema: z.ZodType<
199
+ Review$Outbound,
203
200
  z.ZodTypeDef,
204
- ProfileResponseReview
201
+ Review
205
202
  > = z.object({
206
203
  status: ProfileReviewStatusResponse$outboundSchema.optional(),
207
204
  });
208
205
 
209
- export function profileResponseReviewToJSON(
210
- profileResponseReview: ProfileResponseReview,
211
- ): string {
212
- return JSON.stringify(
213
- ProfileResponseReview$outboundSchema.parse(profileResponseReview),
214
- );
206
+ export function reviewToJSON(review: Review): string {
207
+ return JSON.stringify(Review$outboundSchema.parse(review));
215
208
  }
216
- export function profileResponseReviewFromJSON(
209
+ export function reviewFromJSON(
217
210
  jsonString: string,
218
- ): SafeParseResult<ProfileResponseReview, SDKValidationError> {
211
+ ): SafeParseResult<Review, SDKValidationError> {
219
212
  return safeParse(
220
213
  jsonString,
221
- (x) => ProfileResponseReview$inboundSchema.parse(JSON.parse(x)),
222
- `Failed to parse 'ProfileResponseReview' from JSON`,
214
+ (x) => Review$inboundSchema.parse(JSON.parse(x)),
215
+ `Failed to parse 'Review' from JSON`,
223
216
  );
224
217
  }
225
218
 
@@ -300,7 +293,7 @@ export const ProfileResponse$inboundSchema: z.ZodType<
300
293
  countriesOfActivity: z.array(z.string()).optional(),
301
294
  businessCategory: z.string(),
302
295
  status: ProfileResponseStatus$inboundSchema,
303
- review: z.lazy(() => ProfileResponseReview$inboundSchema).optional(),
296
+ review: z.lazy(() => Review$inboundSchema).optional(),
304
297
  createdAt: z.string(),
305
298
  _links: z.lazy(() => ProfileResponseLinks$inboundSchema),
306
299
  }).transform((v) => {
@@ -321,7 +314,7 @@ export type ProfileResponse$Outbound = {
321
314
  countriesOfActivity?: Array<string> | undefined;
322
315
  businessCategory: string;
323
316
  status: string;
324
- review?: ProfileResponseReview$Outbound | undefined;
317
+ review?: Review$Outbound | undefined;
325
318
  createdAt: string;
326
319
  _links: ProfileResponseLinks$Outbound;
327
320
  };
@@ -343,7 +336,7 @@ export const ProfileResponse$outboundSchema: z.ZodType<
343
336
  countriesOfActivity: z.array(z.string()).optional(),
344
337
  businessCategory: z.string(),
345
338
  status: ProfileResponseStatus$outboundSchema,
346
- review: z.lazy(() => ProfileResponseReview$outboundSchema).optional(),
339
+ review: z.lazy(() => Review$outboundSchema).optional(),
347
340
  createdAt: z.string(),
348
341
  links: z.lazy(() => ProfileResponseLinks$outboundSchema),
349
342
  }).transform((v) => {