mollie-api-typescript 0.1.2 → 0.1.3

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 (357) hide show
  1. package/FUNCTIONS.md +13 -0
  2. package/README.md +84 -0
  3. package/bin/mcp-server.js +5173 -1638
  4. package/bin/mcp-server.js.map +47 -46
  5. package/dist/commonjs/lib/config.d.ts +2 -2
  6. package/dist/commonjs/lib/config.js +2 -2
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/models/operations/cancelpayment.d.ts +1458 -19
  10. package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
  11. package/dist/commonjs/models/operations/cancelpayment.js +755 -20
  12. package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
  13. package/dist/commonjs/models/operations/createcustomerpayment.d.ts +1596 -20
  14. package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
  15. package/dist/commonjs/models/operations/createcustomerpayment.js +819 -22
  16. package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
  17. package/dist/commonjs/models/operations/createpayment.d.ts +1596 -20
  18. package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
  19. package/dist/commonjs/models/operations/createpayment.js +810 -22
  20. package/dist/commonjs/models/operations/createpayment.js.map +1 -1
  21. package/dist/commonjs/models/operations/createpaymentlink.d.ts +2 -2
  22. package/dist/commonjs/models/operations/getnextsettlement.d.ts +6 -846
  23. package/dist/commonjs/models/operations/getnextsettlement.d.ts.map +1 -1
  24. package/dist/commonjs/models/operations/getnextsettlement.js +3 -586
  25. package/dist/commonjs/models/operations/getnextsettlement.js.map +1 -1
  26. package/dist/commonjs/models/operations/getopensettlement.d.ts +6 -846
  27. package/dist/commonjs/models/operations/getopensettlement.d.ts.map +1 -1
  28. package/dist/commonjs/models/operations/getopensettlement.js +3 -586
  29. package/dist/commonjs/models/operations/getopensettlement.js.map +1 -1
  30. package/dist/commonjs/models/operations/getpayment.d.ts +1458 -19
  31. package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
  32. package/dist/commonjs/models/operations/getpayment.js +751 -20
  33. package/dist/commonjs/models/operations/getpayment.js.map +1 -1
  34. package/dist/commonjs/models/operations/getpaymentlink.d.ts +1 -1
  35. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +1466 -27
  36. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  37. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +771 -32
  38. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  39. package/dist/commonjs/models/operations/getsettlement.d.ts +6 -846
  40. package/dist/commonjs/models/operations/getsettlement.d.ts.map +1 -1
  41. package/dist/commonjs/models/operations/getsettlement.js +3 -579
  42. package/dist/commonjs/models/operations/getsettlement.js.map +1 -1
  43. package/dist/commonjs/models/operations/getwebhookevent.d.ts +1 -1
  44. package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
  45. package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
  46. package/dist/commonjs/models/operations/listallchargebacks.js +8 -14
  47. package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
  48. package/dist/commonjs/models/operations/listallmethods.d.ts +15 -15
  49. package/dist/commonjs/models/operations/listallmethods.d.ts.map +1 -1
  50. package/dist/commonjs/models/operations/listallmethods.js +19 -18
  51. package/dist/commonjs/models/operations/listallmethods.js.map +1 -1
  52. package/dist/commonjs/models/operations/listallrefunds.d.ts +8 -8
  53. package/dist/commonjs/models/operations/listallrefunds.d.ts.map +1 -1
  54. package/dist/commonjs/models/operations/listallrefunds.js +8 -12
  55. package/dist/commonjs/models/operations/listallrefunds.js.map +1 -1
  56. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +8 -8
  57. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  58. package/dist/commonjs/models/operations/listallsubscriptions.js +8 -13
  59. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  60. package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
  61. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  62. package/dist/commonjs/models/operations/listbalances.js +8 -12
  63. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  64. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
  65. package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
  66. package/dist/commonjs/models/operations/listbalancetransactions.js +8 -10
  67. package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
  68. package/dist/commonjs/models/operations/listcaptures.d.ts +8 -8
  69. package/dist/commonjs/models/operations/listcaptures.d.ts.map +1 -1
  70. package/dist/commonjs/models/operations/listcaptures.js +8 -12
  71. package/dist/commonjs/models/operations/listcaptures.js.map +1 -1
  72. package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
  73. package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
  74. package/dist/commonjs/models/operations/listchargebacks.js +8 -12
  75. package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
  76. package/dist/commonjs/models/operations/listclients.d.ts +8 -8
  77. package/dist/commonjs/models/operations/listclients.d.ts.map +1 -1
  78. package/dist/commonjs/models/operations/listclients.js +8 -12
  79. package/dist/commonjs/models/operations/listclients.js.map +1 -1
  80. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +1472 -33
  81. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  82. package/dist/commonjs/models/operations/listcustomerpayments.js +776 -42
  83. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  84. package/dist/commonjs/models/operations/listcustomers.d.ts +8 -8
  85. package/dist/commonjs/models/operations/listcustomers.d.ts.map +1 -1
  86. package/dist/commonjs/models/operations/listcustomers.js +8 -12
  87. package/dist/commonjs/models/operations/listcustomers.js.map +1 -1
  88. package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
  89. package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
  90. package/dist/commonjs/models/operations/listinvoices.js +8 -12
  91. package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
  92. package/dist/commonjs/models/operations/listmandates.d.ts +8 -8
  93. package/dist/commonjs/models/operations/listmandates.d.ts.map +1 -1
  94. package/dist/commonjs/models/operations/listmandates.js +8 -12
  95. package/dist/commonjs/models/operations/listmandates.js.map +1 -1
  96. package/dist/commonjs/models/operations/listpaymentlinks.d.ts +9 -9
  97. package/dist/commonjs/models/operations/listpaymentlinks.d.ts.map +1 -1
  98. package/dist/commonjs/models/operations/listpaymentlinks.js +8 -13
  99. package/dist/commonjs/models/operations/listpaymentlinks.js.map +1 -1
  100. package/dist/commonjs/models/operations/listpayments.d.ts +1472 -33
  101. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  102. package/dist/commonjs/models/operations/listpayments.js +768 -39
  103. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  104. package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
  105. package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
  106. package/dist/commonjs/models/operations/listprofiles.js +8 -12
  107. package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
  108. package/dist/commonjs/models/operations/listrefunds.d.ts +8 -8
  109. package/dist/commonjs/models/operations/listrefunds.d.ts.map +1 -1
  110. package/dist/commonjs/models/operations/listrefunds.js +8 -12
  111. package/dist/commonjs/models/operations/listrefunds.js.map +1 -1
  112. package/dist/commonjs/models/operations/listsalesinvoices.d.ts +8 -8
  113. package/dist/commonjs/models/operations/listsalesinvoices.d.ts.map +1 -1
  114. package/dist/commonjs/models/operations/listsalesinvoices.js +8 -14
  115. package/dist/commonjs/models/operations/listsalesinvoices.js.map +1 -1
  116. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts +8 -8
  117. package/dist/commonjs/models/operations/listsettlementcaptures.d.ts.map +1 -1
  118. package/dist/commonjs/models/operations/listsettlementcaptures.js +8 -11
  119. package/dist/commonjs/models/operations/listsettlementcaptures.js.map +1 -1
  120. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
  121. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  122. package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
  123. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  124. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +1472 -33
  125. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  126. package/dist/commonjs/models/operations/listsettlementpayments.js +777 -40
  127. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  128. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts +8 -8
  129. package/dist/commonjs/models/operations/listsettlementrefunds.d.ts.map +1 -1
  130. package/dist/commonjs/models/operations/listsettlementrefunds.js +8 -12
  131. package/dist/commonjs/models/operations/listsettlementrefunds.js.map +1 -1
  132. package/dist/commonjs/models/operations/listsettlements.d.ts +14 -854
  133. package/dist/commonjs/models/operations/listsettlements.d.ts.map +1 -1
  134. package/dist/commonjs/models/operations/listsettlements.js +11 -596
  135. package/dist/commonjs/models/operations/listsettlements.js.map +1 -1
  136. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +1472 -33
  137. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  138. package/dist/commonjs/models/operations/listsubscriptionpayments.js +777 -39
  139. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  140. package/dist/commonjs/models/operations/listsubscriptions.d.ts +8 -8
  141. package/dist/commonjs/models/operations/listsubscriptions.d.ts.map +1 -1
  142. package/dist/commonjs/models/operations/listsubscriptions.js +8 -14
  143. package/dist/commonjs/models/operations/listsubscriptions.js.map +1 -1
  144. package/dist/commonjs/models/operations/listterminals.d.ts +8 -8
  145. package/dist/commonjs/models/operations/listterminals.d.ts.map +1 -1
  146. package/dist/commonjs/models/operations/listterminals.js +8 -12
  147. package/dist/commonjs/models/operations/listterminals.js.map +1 -1
  148. package/dist/commonjs/models/operations/listwebhooks.d.ts +8 -8
  149. package/dist/commonjs/models/operations/listwebhooks.d.ts.map +1 -1
  150. package/dist/commonjs/models/operations/listwebhooks.js +8 -12
  151. package/dist/commonjs/models/operations/listwebhooks.js.map +1 -1
  152. package/dist/commonjs/models/operations/updatepayment.d.ts +1458 -19
  153. package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
  154. package/dist/commonjs/models/operations/updatepayment.js +755 -21
  155. package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
  156. package/dist/commonjs/models/operations/updatepaymentlink.d.ts +2 -2
  157. package/dist/esm/lib/config.d.ts +2 -2
  158. package/dist/esm/lib/config.js +2 -2
  159. package/dist/esm/mcp-server/mcp-server.js +1 -1
  160. package/dist/esm/mcp-server/server.js +1 -1
  161. package/dist/esm/models/operations/cancelpayment.d.ts +1458 -19
  162. package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
  163. package/dist/esm/models/operations/cancelpayment.js +735 -16
  164. package/dist/esm/models/operations/cancelpayment.js.map +1 -1
  165. package/dist/esm/models/operations/createcustomerpayment.d.ts +1596 -20
  166. package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
  167. package/dist/esm/models/operations/createcustomerpayment.js +796 -16
  168. package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
  169. package/dist/esm/models/operations/createpayment.d.ts +1596 -20
  170. package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
  171. package/dist/esm/models/operations/createpayment.js +787 -16
  172. package/dist/esm/models/operations/createpayment.js.map +1 -1
  173. package/dist/esm/models/operations/createpaymentlink.d.ts +2 -2
  174. package/dist/esm/models/operations/getnextsettlement.d.ts +6 -846
  175. package/dist/esm/models/operations/getnextsettlement.d.ts.map +1 -1
  176. package/dist/esm/models/operations/getnextsettlement.js +2 -556
  177. package/dist/esm/models/operations/getnextsettlement.js.map +1 -1
  178. package/dist/esm/models/operations/getopensettlement.d.ts +6 -846
  179. package/dist/esm/models/operations/getopensettlement.d.ts.map +1 -1
  180. package/dist/esm/models/operations/getopensettlement.js +2 -556
  181. package/dist/esm/models/operations/getopensettlement.js.map +1 -1
  182. package/dist/esm/models/operations/getpayment.d.ts +1458 -19
  183. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  184. package/dist/esm/models/operations/getpayment.js +731 -16
  185. package/dist/esm/models/operations/getpayment.js.map +1 -1
  186. package/dist/esm/models/operations/getpaymentlink.d.ts +1 -1
  187. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +1466 -27
  188. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  189. package/dist/esm/models/operations/getpaymentlinkpayments.js +751 -27
  190. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  191. package/dist/esm/models/operations/getsettlement.d.ts +6 -846
  192. package/dist/esm/models/operations/getsettlement.d.ts.map +1 -1
  193. package/dist/esm/models/operations/getsettlement.js +2 -549
  194. package/dist/esm/models/operations/getsettlement.js.map +1 -1
  195. package/dist/esm/models/operations/getwebhookevent.d.ts +1 -1
  196. package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
  197. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  198. package/dist/esm/models/operations/listallchargebacks.js +8 -14
  199. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  200. package/dist/esm/models/operations/listallmethods.d.ts +15 -15
  201. package/dist/esm/models/operations/listallmethods.d.ts.map +1 -1
  202. package/dist/esm/models/operations/listallmethods.js +16 -15
  203. package/dist/esm/models/operations/listallmethods.js.map +1 -1
  204. package/dist/esm/models/operations/listallrefunds.d.ts +8 -8
  205. package/dist/esm/models/operations/listallrefunds.d.ts.map +1 -1
  206. package/dist/esm/models/operations/listallrefunds.js +8 -12
  207. package/dist/esm/models/operations/listallrefunds.js.map +1 -1
  208. package/dist/esm/models/operations/listallsubscriptions.d.ts +8 -8
  209. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  210. package/dist/esm/models/operations/listallsubscriptions.js +8 -13
  211. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  212. package/dist/esm/models/operations/listbalances.d.ts +8 -8
  213. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  214. package/dist/esm/models/operations/listbalances.js +8 -12
  215. package/dist/esm/models/operations/listbalances.js.map +1 -1
  216. package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
  217. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  218. package/dist/esm/models/operations/listbalancetransactions.js +8 -10
  219. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  220. package/dist/esm/models/operations/listcaptures.d.ts +8 -8
  221. package/dist/esm/models/operations/listcaptures.d.ts.map +1 -1
  222. package/dist/esm/models/operations/listcaptures.js +8 -12
  223. package/dist/esm/models/operations/listcaptures.js.map +1 -1
  224. package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
  225. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  226. package/dist/esm/models/operations/listchargebacks.js +8 -12
  227. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  228. package/dist/esm/models/operations/listclients.d.ts +8 -8
  229. package/dist/esm/models/operations/listclients.d.ts.map +1 -1
  230. package/dist/esm/models/operations/listclients.js +8 -12
  231. package/dist/esm/models/operations/listclients.js.map +1 -1
  232. package/dist/esm/models/operations/listcustomerpayments.d.ts +1472 -33
  233. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  234. package/dist/esm/models/operations/listcustomerpayments.js +756 -37
  235. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  236. package/dist/esm/models/operations/listcustomers.d.ts +8 -8
  237. package/dist/esm/models/operations/listcustomers.d.ts.map +1 -1
  238. package/dist/esm/models/operations/listcustomers.js +8 -12
  239. package/dist/esm/models/operations/listcustomers.js.map +1 -1
  240. package/dist/esm/models/operations/listinvoices.d.ts +8 -8
  241. package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
  242. package/dist/esm/models/operations/listinvoices.js +8 -12
  243. package/dist/esm/models/operations/listinvoices.js.map +1 -1
  244. package/dist/esm/models/operations/listmandates.d.ts +8 -8
  245. package/dist/esm/models/operations/listmandates.d.ts.map +1 -1
  246. package/dist/esm/models/operations/listmandates.js +8 -12
  247. package/dist/esm/models/operations/listmandates.js.map +1 -1
  248. package/dist/esm/models/operations/listpaymentlinks.d.ts +9 -9
  249. package/dist/esm/models/operations/listpaymentlinks.d.ts.map +1 -1
  250. package/dist/esm/models/operations/listpaymentlinks.js +8 -13
  251. package/dist/esm/models/operations/listpaymentlinks.js.map +1 -1
  252. package/dist/esm/models/operations/listpayments.d.ts +1472 -33
  253. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  254. package/dist/esm/models/operations/listpayments.js +748 -34
  255. package/dist/esm/models/operations/listpayments.js.map +1 -1
  256. package/dist/esm/models/operations/listprofiles.d.ts +8 -8
  257. package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
  258. package/dist/esm/models/operations/listprofiles.js +8 -12
  259. package/dist/esm/models/operations/listprofiles.js.map +1 -1
  260. package/dist/esm/models/operations/listrefunds.d.ts +8 -8
  261. package/dist/esm/models/operations/listrefunds.d.ts.map +1 -1
  262. package/dist/esm/models/operations/listrefunds.js +8 -12
  263. package/dist/esm/models/operations/listrefunds.js.map +1 -1
  264. package/dist/esm/models/operations/listsalesinvoices.d.ts +8 -8
  265. package/dist/esm/models/operations/listsalesinvoices.d.ts.map +1 -1
  266. package/dist/esm/models/operations/listsalesinvoices.js +8 -14
  267. package/dist/esm/models/operations/listsalesinvoices.js.map +1 -1
  268. package/dist/esm/models/operations/listsettlementcaptures.d.ts +8 -8
  269. package/dist/esm/models/operations/listsettlementcaptures.d.ts.map +1 -1
  270. package/dist/esm/models/operations/listsettlementcaptures.js +8 -11
  271. package/dist/esm/models/operations/listsettlementcaptures.js.map +1 -1
  272. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
  273. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  274. package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
  275. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  276. package/dist/esm/models/operations/listsettlementpayments.d.ts +1472 -33
  277. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  278. package/dist/esm/models/operations/listsettlementpayments.js +757 -35
  279. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  280. package/dist/esm/models/operations/listsettlementrefunds.d.ts +8 -8
  281. package/dist/esm/models/operations/listsettlementrefunds.d.ts.map +1 -1
  282. package/dist/esm/models/operations/listsettlementrefunds.js +8 -12
  283. package/dist/esm/models/operations/listsettlementrefunds.js.map +1 -1
  284. package/dist/esm/models/operations/listsettlements.d.ts +14 -854
  285. package/dist/esm/models/operations/listsettlements.d.ts.map +1 -1
  286. package/dist/esm/models/operations/listsettlements.js +10 -566
  287. package/dist/esm/models/operations/listsettlements.js.map +1 -1
  288. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +1472 -33
  289. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  290. package/dist/esm/models/operations/listsubscriptionpayments.js +757 -34
  291. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  292. package/dist/esm/models/operations/listsubscriptions.d.ts +8 -8
  293. package/dist/esm/models/operations/listsubscriptions.d.ts.map +1 -1
  294. package/dist/esm/models/operations/listsubscriptions.js +8 -14
  295. package/dist/esm/models/operations/listsubscriptions.js.map +1 -1
  296. package/dist/esm/models/operations/listterminals.d.ts +8 -8
  297. package/dist/esm/models/operations/listterminals.d.ts.map +1 -1
  298. package/dist/esm/models/operations/listterminals.js +8 -12
  299. package/dist/esm/models/operations/listterminals.js.map +1 -1
  300. package/dist/esm/models/operations/listwebhooks.d.ts +8 -8
  301. package/dist/esm/models/operations/listwebhooks.d.ts.map +1 -1
  302. package/dist/esm/models/operations/listwebhooks.js +8 -12
  303. package/dist/esm/models/operations/listwebhooks.js.map +1 -1
  304. package/dist/esm/models/operations/updatepayment.d.ts +1458 -19
  305. package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
  306. package/dist/esm/models/operations/updatepayment.js +735 -16
  307. package/dist/esm/models/operations/updatepayment.js.map +1 -1
  308. package/dist/esm/models/operations/updatepaymentlink.d.ts +2 -2
  309. package/docs/sdks/customers/README.md +26 -0
  310. package/docs/sdks/payments/README.md +26 -0
  311. package/examples/package-lock.json +1 -1
  312. package/examples/paymentsCreate.example.ts +14 -0
  313. package/jsr.json +1 -1
  314. package/package.json +1 -1
  315. package/src/lib/config.ts +2 -2
  316. package/src/mcp-server/mcp-server.ts +1 -1
  317. package/src/mcp-server/server.ts +1 -1
  318. package/src/models/operations/cancelpayment.ts +2821 -1297
  319. package/src/models/operations/createcustomerpayment.ts +4804 -3036
  320. package/src/models/operations/createpayment.ts +4484 -2767
  321. package/src/models/operations/createpaymentlink.ts +2 -2
  322. package/src/models/operations/getnextsettlement.ts +4 -1290
  323. package/src/models/operations/getopensettlement.ts +4 -1290
  324. package/src/models/operations/getpayment.ts +3155 -1650
  325. package/src/models/operations/getpaymentlink.ts +1 -1
  326. package/src/models/operations/getpaymentlinkpayments.ts +3426 -1847
  327. package/src/models/operations/getsettlement.ts +4 -1253
  328. package/src/models/operations/getwebhookevent.ts +1 -1
  329. package/src/models/operations/listallchargebacks.ts +16 -22
  330. package/src/models/operations/listallmethods.ts +27 -34
  331. package/src/models/operations/listallrefunds.ts +16 -20
  332. package/src/models/operations/listallsubscriptions.ts +18 -21
  333. package/src/models/operations/listbalances.ts +16 -20
  334. package/src/models/operations/listbalancetransactions.ts +16 -18
  335. package/src/models/operations/listcaptures.ts +16 -20
  336. package/src/models/operations/listchargebacks.ts +16 -20
  337. package/src/models/operations/listclients.ts +16 -20
  338. package/src/models/operations/listcustomerpayments.ts +3408 -1847
  339. package/src/models/operations/listcustomers.ts +16 -20
  340. package/src/models/operations/listinvoices.ts +16 -20
  341. package/src/models/operations/listmandates.ts +16 -20
  342. package/src/models/operations/listpaymentlinks.ts +17 -22
  343. package/src/models/operations/listpayments.ts +2971 -1455
  344. package/src/models/operations/listprofiles.ts +16 -20
  345. package/src/models/operations/listrefunds.ts +16 -20
  346. package/src/models/operations/listsalesinvoices.ts +16 -22
  347. package/src/models/operations/listsettlementcaptures.ts +18 -19
  348. package/src/models/operations/listsettlementchargebacks.ts +16 -18
  349. package/src/models/operations/listsettlementpayments.ts +3436 -1859
  350. package/src/models/operations/listsettlementrefunds.ts +18 -20
  351. package/src/models/operations/listsettlements.ts +228 -1500
  352. package/src/models/operations/listsubscriptionpayments.ts +3479 -1875
  353. package/src/models/operations/listsubscriptions.ts +16 -22
  354. package/src/models/operations/listterminals.ts +16 -20
  355. package/src/models/operations/listwebhooks.ts +16 -20
  356. package/src/models/operations/updatepayment.ts +3437 -1913
  357. package/src/models/operations/updatepaymentlink.ts +2 -2
@@ -36,11 +36,12 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.ListCustomerPaymentsUnitPrice$outboundSchema = exports.ListCustomerPaymentsUnitPrice$inboundSchema = exports.ListCustomerPaymentsLineType$ = exports.ListCustomerPaymentsLineType$outboundSchema = exports.ListCustomerPaymentsLineType$inboundSchema = exports.ListCustomerPaymentsSettlementAmount$ = exports.ListCustomerPaymentsSettlementAmount$outboundSchema = exports.ListCustomerPaymentsSettlementAmount$inboundSchema = exports.ListCustomerPaymentsAmountChargedBack$ = exports.ListCustomerPaymentsAmountChargedBack$outboundSchema = exports.ListCustomerPaymentsAmountChargedBack$inboundSchema = exports.ListCustomerPaymentsAmountCaptured$ = exports.ListCustomerPaymentsAmountCaptured$outboundSchema = exports.ListCustomerPaymentsAmountCaptured$inboundSchema = exports.ListCustomerPaymentsAmountRemaining$ = exports.ListCustomerPaymentsAmountRemaining$outboundSchema = exports.ListCustomerPaymentsAmountRemaining$inboundSchema = exports.ListCustomerPaymentsAmountRefunded$ = exports.ListCustomerPaymentsAmountRefunded$outboundSchema = exports.ListCustomerPaymentsAmountRefunded$inboundSchema = exports.ListCustomerPaymentsAmount$ = exports.ListCustomerPaymentsAmount$outboundSchema = exports.ListCustomerPaymentsAmount$inboundSchema = exports.ListCustomerPaymentsMode$ = exports.ListCustomerPaymentsMode$outboundSchema = exports.ListCustomerPaymentsMode$inboundSchema = exports.ListCustomerPaymentsBadRequestLinks$ = exports.ListCustomerPaymentsBadRequestLinks$outboundSchema = exports.ListCustomerPaymentsBadRequestLinks$inboundSchema = exports.ListCustomerPaymentsBadRequestDocumentation$ = exports.ListCustomerPaymentsBadRequestDocumentation$outboundSchema = exports.ListCustomerPaymentsBadRequestDocumentation$inboundSchema = exports.ListCustomerPaymentsRequest$ = exports.ListCustomerPaymentsRequest$outboundSchema = exports.ListCustomerPaymentsRequest$inboundSchema = exports.ListCustomerPaymentsSort$ = exports.ListCustomerPaymentsSort$outboundSchema = exports.ListCustomerPaymentsSort$inboundSchema = exports.ListCustomerPaymentsStatus = exports.ListCustomerPaymentsSequenceType = exports.ListCustomerPaymentsRoutingType = exports.ListCustomerPaymentsRoutingMode = exports.ListCustomerPaymentsCaptureMode = exports.ListCustomerPaymentsMethod = exports.ListCustomerPaymentsLocale = exports.ListCustomerPaymentsInterval = exports.ListCustomerPaymentsCategory = exports.ListCustomerPaymentsLineType = exports.ListCustomerPaymentsMode = exports.ListCustomerPaymentsSort = void 0;
40
- exports.ListCustomerPaymentsRoutingMode$inboundSchema = exports.ListCustomerPaymentsApplicationFee$ = exports.ListCustomerPaymentsApplicationFee$outboundSchema = exports.ListCustomerPaymentsApplicationFee$inboundSchema = exports.ListCustomerPaymentsApplicationFeeAmount$ = exports.ListCustomerPaymentsApplicationFeeAmount$outboundSchema = exports.ListCustomerPaymentsApplicationFeeAmount$inboundSchema = exports.ListCustomerPaymentsCaptureMode$ = exports.ListCustomerPaymentsCaptureMode$outboundSchema = exports.ListCustomerPaymentsCaptureMode$inboundSchema = exports.ListCustomerPaymentsMetadata$ = exports.ListCustomerPaymentsMetadata$outboundSchema = exports.ListCustomerPaymentsMetadata$inboundSchema = exports.ListCustomerPaymentsMethod$ = exports.ListCustomerPaymentsMethod$outboundSchema = exports.ListCustomerPaymentsMethod$inboundSchema = exports.ListCustomerPaymentsLocale$ = exports.ListCustomerPaymentsLocale$outboundSchema = exports.ListCustomerPaymentsLocale$inboundSchema = exports.ListCustomerPaymentsShippingAddress$ = exports.ListCustomerPaymentsShippingAddress$outboundSchema = exports.ListCustomerPaymentsShippingAddress$inboundSchema = exports.ListCustomerPaymentsBillingAddress$ = exports.ListCustomerPaymentsBillingAddress$outboundSchema = exports.ListCustomerPaymentsBillingAddress$inboundSchema = exports.ListCustomerPaymentsLine$ = exports.ListCustomerPaymentsLine$outboundSchema = exports.ListCustomerPaymentsLine$inboundSchema = exports.ListCustomerPaymentsRecurring$ = exports.ListCustomerPaymentsRecurring$outboundSchema = exports.ListCustomerPaymentsRecurring$inboundSchema = exports.ListCustomerPaymentsRecurringAmount$ = exports.ListCustomerPaymentsRecurringAmount$outboundSchema = exports.ListCustomerPaymentsRecurringAmount$inboundSchema = exports.ListCustomerPaymentsInterval$ = exports.ListCustomerPaymentsInterval$outboundSchema = exports.ListCustomerPaymentsInterval$inboundSchema = exports.ListCustomerPaymentsCategory$ = exports.ListCustomerPaymentsCategory$outboundSchema = exports.ListCustomerPaymentsCategory$inboundSchema = exports.ListCustomerPaymentsVatAmount$ = exports.ListCustomerPaymentsVatAmount$outboundSchema = exports.ListCustomerPaymentsVatAmount$inboundSchema = exports.ListCustomerPaymentsTotalAmount$ = exports.ListCustomerPaymentsTotalAmount$outboundSchema = exports.ListCustomerPaymentsTotalAmount$inboundSchema = exports.ListCustomerPaymentsDiscountAmount$ = exports.ListCustomerPaymentsDiscountAmount$outboundSchema = exports.ListCustomerPaymentsDiscountAmount$inboundSchema = exports.ListCustomerPaymentsUnitPrice$ = void 0;
41
- exports.ListCustomerPaymentsRefunds$ = exports.ListCustomerPaymentsRefunds$outboundSchema = exports.ListCustomerPaymentsRefunds$inboundSchema = exports.ListCustomerPaymentsDashboard$ = exports.ListCustomerPaymentsDashboard$outboundSchema = exports.ListCustomerPaymentsDashboard$inboundSchema = exports.ListCustomerPaymentsChangePaymentState$ = exports.ListCustomerPaymentsChangePaymentState$outboundSchema = exports.ListCustomerPaymentsChangePaymentState$inboundSchema = exports.ListCustomerPaymentsMobileAppCheckout$ = exports.ListCustomerPaymentsMobileAppCheckout$outboundSchema = exports.ListCustomerPaymentsMobileAppCheckout$inboundSchema = exports.ListCustomerPaymentsCheckout$ = exports.ListCustomerPaymentsCheckout$outboundSchema = exports.ListCustomerPaymentsCheckout$inboundSchema = exports.ListCustomerPaymentsPaymentSelf$ = exports.ListCustomerPaymentsPaymentSelf$outboundSchema = exports.ListCustomerPaymentsPaymentSelf$inboundSchema = exports.ListCustomerPaymentsStatusReason$ = exports.ListCustomerPaymentsStatusReason$outboundSchema = exports.ListCustomerPaymentsStatusReason$inboundSchema = exports.ListCustomerPaymentsStatus$ = exports.ListCustomerPaymentsStatus$outboundSchema = exports.ListCustomerPaymentsStatus$inboundSchema = exports.ListCustomerPaymentsSequenceType$ = exports.ListCustomerPaymentsSequenceType$outboundSchema = exports.ListCustomerPaymentsSequenceType$inboundSchema = exports.ListCustomerPaymentsRouting$ = exports.ListCustomerPaymentsRouting$outboundSchema = exports.ListCustomerPaymentsRouting$inboundSchema = exports.ListCustomerPaymentsRoutingLinks$ = exports.ListCustomerPaymentsRoutingLinks$outboundSchema = exports.ListCustomerPaymentsRoutingLinks$inboundSchema = exports.ListCustomerPaymentsRoutingPayment$ = exports.ListCustomerPaymentsRoutingPayment$outboundSchema = exports.ListCustomerPaymentsRoutingPayment$inboundSchema = exports.ListCustomerPaymentsRoutingSelf$ = exports.ListCustomerPaymentsRoutingSelf$outboundSchema = exports.ListCustomerPaymentsRoutingSelf$inboundSchema = exports.ListCustomerPaymentsDestination$ = exports.ListCustomerPaymentsDestination$outboundSchema = exports.ListCustomerPaymentsDestination$inboundSchema = exports.ListCustomerPaymentsRoutingType$ = exports.ListCustomerPaymentsRoutingType$outboundSchema = exports.ListCustomerPaymentsRoutingType$inboundSchema = exports.ListCustomerPaymentsRoutingAmount$ = exports.ListCustomerPaymentsRoutingAmount$outboundSchema = exports.ListCustomerPaymentsRoutingAmount$inboundSchema = exports.ListCustomerPaymentsRoutingMode$ = exports.ListCustomerPaymentsRoutingMode$outboundSchema = void 0;
42
- exports.ListCustomerPaymentsLinks$outboundSchema = exports.ListCustomerPaymentsLinks$inboundSchema = exports.ListCustomerPaymentsDocumentation$ = exports.ListCustomerPaymentsDocumentation$outboundSchema = exports.ListCustomerPaymentsDocumentation$inboundSchema = exports.ListCustomerPaymentsNext$ = exports.ListCustomerPaymentsNext$outboundSchema = exports.ListCustomerPaymentsNext$inboundSchema = exports.ListCustomerPaymentsPrevious$ = exports.ListCustomerPaymentsPrevious$outboundSchema = exports.ListCustomerPaymentsPrevious$inboundSchema = exports.ListCustomerPaymentsSelf$ = exports.ListCustomerPaymentsSelf$outboundSchema = exports.ListCustomerPaymentsSelf$inboundSchema = exports.ListCustomerPaymentsEmbedded$ = exports.ListCustomerPaymentsEmbedded$outboundSchema = exports.ListCustomerPaymentsEmbedded$inboundSchema = exports.ListCustomerPaymentsPaymentOutput$ = exports.ListCustomerPaymentsPaymentOutput$outboundSchema = exports.ListCustomerPaymentsPaymentOutput$inboundSchema = exports.ListCustomerPaymentsPaymentLinks$ = exports.ListCustomerPaymentsPaymentLinks$outboundSchema = exports.ListCustomerPaymentsPaymentLinks$inboundSchema = exports.ListCustomerPaymentsPaymentDocumentation$ = exports.ListCustomerPaymentsPaymentDocumentation$outboundSchema = exports.ListCustomerPaymentsPaymentDocumentation$inboundSchema = exports.ListCustomerPaymentsTerminal$ = exports.ListCustomerPaymentsTerminal$outboundSchema = exports.ListCustomerPaymentsTerminal$inboundSchema = exports.ListCustomerPaymentsOrder$ = exports.ListCustomerPaymentsOrder$outboundSchema = exports.ListCustomerPaymentsOrder$inboundSchema = exports.ListCustomerPaymentsSubscription$ = exports.ListCustomerPaymentsSubscription$outboundSchema = exports.ListCustomerPaymentsSubscription$inboundSchema = exports.ListCustomerPaymentsMandate$ = exports.ListCustomerPaymentsMandate$outboundSchema = exports.ListCustomerPaymentsMandate$inboundSchema = exports.ListCustomerPaymentsCustomer$ = exports.ListCustomerPaymentsCustomer$outboundSchema = exports.ListCustomerPaymentsCustomer$inboundSchema = exports.ListCustomerPaymentsSettlement$ = exports.ListCustomerPaymentsSettlement$outboundSchema = exports.ListCustomerPaymentsSettlement$inboundSchema = exports.ListCustomerPaymentsCaptures$ = exports.ListCustomerPaymentsCaptures$outboundSchema = exports.ListCustomerPaymentsCaptures$inboundSchema = exports.ListCustomerPaymentsChargebacks$ = exports.ListCustomerPaymentsChargebacks$outboundSchema = exports.ListCustomerPaymentsChargebacks$inboundSchema = void 0;
43
- exports.ListCustomerPaymentsResponse$ = exports.ListCustomerPaymentsResponse$outboundSchema = exports.ListCustomerPaymentsResponse$inboundSchema = exports.ListCustomerPaymentsLinks$ = void 0;
39
+ exports.ListCustomerPaymentsAmountCaptured$ = exports.ListCustomerPaymentsAmountCaptured$outboundSchema = exports.ListCustomerPaymentsAmountCaptured$inboundSchema = exports.ListCustomerPaymentsAmountRemaining$ = exports.ListCustomerPaymentsAmountRemaining$outboundSchema = exports.ListCustomerPaymentsAmountRemaining$inboundSchema = exports.ListCustomerPaymentsAmountRefunded$ = exports.ListCustomerPaymentsAmountRefunded$outboundSchema = exports.ListCustomerPaymentsAmountRefunded$inboundSchema = exports.ListCustomerPaymentsAmount$ = exports.ListCustomerPaymentsAmount$outboundSchema = exports.ListCustomerPaymentsAmount$inboundSchema = exports.ListCustomerPaymentsMode$ = exports.ListCustomerPaymentsMode$outboundSchema = exports.ListCustomerPaymentsMode$inboundSchema = exports.ListCustomerPaymentsBadRequestLinks$ = exports.ListCustomerPaymentsBadRequestLinks$outboundSchema = exports.ListCustomerPaymentsBadRequestLinks$inboundSchema = exports.ListCustomerPaymentsBadRequestDocumentation$ = exports.ListCustomerPaymentsBadRequestDocumentation$outboundSchema = exports.ListCustomerPaymentsBadRequestDocumentation$inboundSchema = exports.ListCustomerPaymentsRequest$ = exports.ListCustomerPaymentsRequest$outboundSchema = exports.ListCustomerPaymentsRequest$inboundSchema = exports.ListCustomerPaymentsSort$ = exports.ListCustomerPaymentsSort$outboundSchema = exports.ListCustomerPaymentsSort$inboundSchema = exports.ListCustomerPaymentsCardVerificationMethod = exports.ListCustomerPaymentsCardReadMethod = exports.ListCustomerPaymentsSellerProtection = exports.ListCustomerPaymentsWallet = exports.ListCustomerPaymentsFailureReason = exports.ListCustomerPaymentsFeeRegion = exports.ListCustomerPaymentsCardSecurity = exports.ListCustomerPaymentsCardFunding = exports.ListCustomerPaymentsCardLabel = exports.ListCustomerPaymentsCardAudition = exports.ListCustomerPaymentsCode = exports.ListCustomerPaymentsStatusEnum = exports.ListCustomerPaymentsSequenceType = exports.ListCustomerPaymentsRoutingType = exports.ListCustomerPaymentsRoutingMode = exports.ListCustomerPaymentsCaptureMode = exports.ListCustomerPaymentsMethod = exports.ListCustomerPaymentsLocale = exports.ListCustomerPaymentsInterval = exports.ListCustomerPaymentsCategory = exports.ListCustomerPaymentsLineType = exports.ListCustomerPaymentsMode = exports.ListCustomerPaymentsSort = void 0;
40
+ exports.ListCustomerPaymentsMetadata$outboundSchema = exports.ListCustomerPaymentsMetadata$inboundSchema = exports.ListCustomerPaymentsMethod$ = exports.ListCustomerPaymentsMethod$outboundSchema = exports.ListCustomerPaymentsMethod$inboundSchema = exports.ListCustomerPaymentsLocale$ = exports.ListCustomerPaymentsLocale$outboundSchema = exports.ListCustomerPaymentsLocale$inboundSchema = exports.ListCustomerPaymentsShippingAddress$ = exports.ListCustomerPaymentsShippingAddress$outboundSchema = exports.ListCustomerPaymentsShippingAddress$inboundSchema = exports.ListCustomerPaymentsBillingAddress$ = exports.ListCustomerPaymentsBillingAddress$outboundSchema = exports.ListCustomerPaymentsBillingAddress$inboundSchema = exports.ListCustomerPaymentsLine$ = exports.ListCustomerPaymentsLine$outboundSchema = exports.ListCustomerPaymentsLine$inboundSchema = exports.ListCustomerPaymentsRecurring$ = exports.ListCustomerPaymentsRecurring$outboundSchema = exports.ListCustomerPaymentsRecurring$inboundSchema = exports.ListCustomerPaymentsRecurringAmount$ = exports.ListCustomerPaymentsRecurringAmount$outboundSchema = exports.ListCustomerPaymentsRecurringAmount$inboundSchema = exports.ListCustomerPaymentsInterval$ = exports.ListCustomerPaymentsInterval$outboundSchema = exports.ListCustomerPaymentsInterval$inboundSchema = exports.ListCustomerPaymentsCategory$ = exports.ListCustomerPaymentsCategory$outboundSchema = exports.ListCustomerPaymentsCategory$inboundSchema = exports.ListCustomerPaymentsVatAmount$ = exports.ListCustomerPaymentsVatAmount$outboundSchema = exports.ListCustomerPaymentsVatAmount$inboundSchema = exports.ListCustomerPaymentsTotalAmount$ = exports.ListCustomerPaymentsTotalAmount$outboundSchema = exports.ListCustomerPaymentsTotalAmount$inboundSchema = exports.ListCustomerPaymentsDiscountAmount$ = exports.ListCustomerPaymentsDiscountAmount$outboundSchema = exports.ListCustomerPaymentsDiscountAmount$inboundSchema = exports.ListCustomerPaymentsUnitPrice$ = exports.ListCustomerPaymentsUnitPrice$outboundSchema = exports.ListCustomerPaymentsUnitPrice$inboundSchema = exports.ListCustomerPaymentsLineType$ = exports.ListCustomerPaymentsLineType$outboundSchema = exports.ListCustomerPaymentsLineType$inboundSchema = exports.ListCustomerPaymentsSettlementAmount$ = exports.ListCustomerPaymentsSettlementAmount$outboundSchema = exports.ListCustomerPaymentsSettlementAmount$inboundSchema = exports.ListCustomerPaymentsAmountChargedBack$ = exports.ListCustomerPaymentsAmountChargedBack$outboundSchema = exports.ListCustomerPaymentsAmountChargedBack$inboundSchema = void 0;
41
+ exports.ListCustomerPaymentsCardLabel$inboundSchema = exports.ListCustomerPaymentsCardAudition$ = exports.ListCustomerPaymentsCardAudition$outboundSchema = exports.ListCustomerPaymentsCardAudition$inboundSchema = exports.ListCustomerPaymentsStatusReason$ = exports.ListCustomerPaymentsStatusReason$outboundSchema = exports.ListCustomerPaymentsStatusReason$inboundSchema = exports.ListCustomerPaymentsCode$ = exports.ListCustomerPaymentsCode$outboundSchema = exports.ListCustomerPaymentsCode$inboundSchema = exports.ListCustomerPaymentsStatusEnum$ = exports.ListCustomerPaymentsStatusEnum$outboundSchema = exports.ListCustomerPaymentsStatusEnum$inboundSchema = exports.ListCustomerPaymentsSequenceType$ = exports.ListCustomerPaymentsSequenceType$outboundSchema = exports.ListCustomerPaymentsSequenceType$inboundSchema = exports.ListCustomerPaymentsRouting$ = exports.ListCustomerPaymentsRouting$outboundSchema = exports.ListCustomerPaymentsRouting$inboundSchema = exports.ListCustomerPaymentsRoutingLinks$ = exports.ListCustomerPaymentsRoutingLinks$outboundSchema = exports.ListCustomerPaymentsRoutingLinks$inboundSchema = exports.ListCustomerPaymentsRoutingPayment$ = exports.ListCustomerPaymentsRoutingPayment$outboundSchema = exports.ListCustomerPaymentsRoutingPayment$inboundSchema = exports.ListCustomerPaymentsRoutingSelf$ = exports.ListCustomerPaymentsRoutingSelf$outboundSchema = exports.ListCustomerPaymentsRoutingSelf$inboundSchema = exports.ListCustomerPaymentsDestination$ = exports.ListCustomerPaymentsDestination$outboundSchema = exports.ListCustomerPaymentsDestination$inboundSchema = exports.ListCustomerPaymentsRoutingType$ = exports.ListCustomerPaymentsRoutingType$outboundSchema = exports.ListCustomerPaymentsRoutingType$inboundSchema = exports.ListCustomerPaymentsRoutingAmount$ = exports.ListCustomerPaymentsRoutingAmount$outboundSchema = exports.ListCustomerPaymentsRoutingAmount$inboundSchema = exports.ListCustomerPaymentsRoutingMode$ = exports.ListCustomerPaymentsRoutingMode$outboundSchema = exports.ListCustomerPaymentsRoutingMode$inboundSchema = exports.ListCustomerPaymentsApplicationFee$ = exports.ListCustomerPaymentsApplicationFee$outboundSchema = exports.ListCustomerPaymentsApplicationFee$inboundSchema = exports.ListCustomerPaymentsApplicationFeeAmount$ = exports.ListCustomerPaymentsApplicationFeeAmount$outboundSchema = exports.ListCustomerPaymentsApplicationFeeAmount$inboundSchema = exports.ListCustomerPaymentsCaptureMode$ = exports.ListCustomerPaymentsCaptureMode$outboundSchema = exports.ListCustomerPaymentsCaptureMode$inboundSchema = exports.ListCustomerPaymentsMetadata$ = void 0;
42
+ exports.ListCustomerPaymentsMobileAppCheckout$ = exports.ListCustomerPaymentsMobileAppCheckout$outboundSchema = exports.ListCustomerPaymentsMobileAppCheckout$inboundSchema = exports.ListCustomerPaymentsCheckout$ = exports.ListCustomerPaymentsCheckout$outboundSchema = exports.ListCustomerPaymentsCheckout$inboundSchema = exports.ListCustomerPaymentsPaymentSelf$ = exports.ListCustomerPaymentsPaymentSelf$outboundSchema = exports.ListCustomerPaymentsPaymentSelf$inboundSchema = exports.ListCustomerPaymentsDetails$ = exports.ListCustomerPaymentsDetails$outboundSchema = exports.ListCustomerPaymentsDetails$inboundSchema = exports.ListCustomerPaymentsRemainderAmount$ = exports.ListCustomerPaymentsRemainderAmount$outboundSchema = exports.ListCustomerPaymentsRemainderAmount$inboundSchema = exports.ListCustomerPaymentsQrCode$ = exports.ListCustomerPaymentsQrCode$outboundSchema = exports.ListCustomerPaymentsQrCode$inboundSchema = exports.ListCustomerPaymentsReceipt$ = exports.ListCustomerPaymentsReceipt$outboundSchema = exports.ListCustomerPaymentsReceipt$inboundSchema = exports.ListCustomerPaymentsCardVerificationMethod$ = exports.ListCustomerPaymentsCardVerificationMethod$outboundSchema = exports.ListCustomerPaymentsCardVerificationMethod$inboundSchema = exports.ListCustomerPaymentsCardReadMethod$ = exports.ListCustomerPaymentsCardReadMethod$outboundSchema = exports.ListCustomerPaymentsCardReadMethod$inboundSchema = exports.ListCustomerPaymentsPaypalFee$ = exports.ListCustomerPaymentsPaypalFee$outboundSchema = exports.ListCustomerPaymentsPaypalFee$inboundSchema = exports.ListCustomerPaymentsSellerProtection$ = exports.ListCustomerPaymentsSellerProtection$outboundSchema = exports.ListCustomerPaymentsSellerProtection$inboundSchema = exports.ListCustomerPaymentsWallet$ = exports.ListCustomerPaymentsWallet$outboundSchema = exports.ListCustomerPaymentsWallet$inboundSchema = exports.ListCustomerPaymentsFailureReason$ = exports.ListCustomerPaymentsFailureReason$outboundSchema = exports.ListCustomerPaymentsFailureReason$inboundSchema = exports.ListCustomerPaymentsFeeRegion$ = exports.ListCustomerPaymentsFeeRegion$outboundSchema = exports.ListCustomerPaymentsFeeRegion$inboundSchema = exports.ListCustomerPaymentsCardSecurity$ = exports.ListCustomerPaymentsCardSecurity$outboundSchema = exports.ListCustomerPaymentsCardSecurity$inboundSchema = exports.ListCustomerPaymentsCardFunding$ = exports.ListCustomerPaymentsCardFunding$outboundSchema = exports.ListCustomerPaymentsCardFunding$inboundSchema = exports.ListCustomerPaymentsCardLabel$ = exports.ListCustomerPaymentsCardLabel$outboundSchema = void 0;
43
+ exports.ListCustomerPaymentsEmbedded$outboundSchema = exports.ListCustomerPaymentsEmbedded$inboundSchema = exports.ListCustomerPaymentsPaymentOutput$ = exports.ListCustomerPaymentsPaymentOutput$outboundSchema = exports.ListCustomerPaymentsPaymentOutput$inboundSchema = exports.ListCustomerPaymentsPaymentLinks$ = exports.ListCustomerPaymentsPaymentLinks$outboundSchema = exports.ListCustomerPaymentsPaymentLinks$inboundSchema = exports.ListCustomerPaymentsPayOnline$ = exports.ListCustomerPaymentsPayOnline$outboundSchema = exports.ListCustomerPaymentsPayOnline$inboundSchema = exports.ListCustomerPaymentsLinksStatus$ = exports.ListCustomerPaymentsLinksStatus$outboundSchema = exports.ListCustomerPaymentsLinksStatus$inboundSchema = exports.ListCustomerPaymentsPaymentDocumentation$ = exports.ListCustomerPaymentsPaymentDocumentation$outboundSchema = exports.ListCustomerPaymentsPaymentDocumentation$inboundSchema = exports.ListCustomerPaymentsTerminal$ = exports.ListCustomerPaymentsTerminal$outboundSchema = exports.ListCustomerPaymentsTerminal$inboundSchema = exports.ListCustomerPaymentsOrder$ = exports.ListCustomerPaymentsOrder$outboundSchema = exports.ListCustomerPaymentsOrder$inboundSchema = exports.ListCustomerPaymentsSubscription$ = exports.ListCustomerPaymentsSubscription$outboundSchema = exports.ListCustomerPaymentsSubscription$inboundSchema = exports.ListCustomerPaymentsMandate$ = exports.ListCustomerPaymentsMandate$outboundSchema = exports.ListCustomerPaymentsMandate$inboundSchema = exports.ListCustomerPaymentsCustomer$ = exports.ListCustomerPaymentsCustomer$outboundSchema = exports.ListCustomerPaymentsCustomer$inboundSchema = exports.ListCustomerPaymentsSettlement$ = exports.ListCustomerPaymentsSettlement$outboundSchema = exports.ListCustomerPaymentsSettlement$inboundSchema = exports.ListCustomerPaymentsCaptures$ = exports.ListCustomerPaymentsCaptures$outboundSchema = exports.ListCustomerPaymentsCaptures$inboundSchema = exports.ListCustomerPaymentsChargebacks$ = exports.ListCustomerPaymentsChargebacks$outboundSchema = exports.ListCustomerPaymentsChargebacks$inboundSchema = exports.ListCustomerPaymentsRefunds$ = exports.ListCustomerPaymentsRefunds$outboundSchema = exports.ListCustomerPaymentsRefunds$inboundSchema = exports.ListCustomerPaymentsDashboard$ = exports.ListCustomerPaymentsDashboard$outboundSchema = exports.ListCustomerPaymentsDashboard$inboundSchema = exports.ListCustomerPaymentsChangePaymentState$ = exports.ListCustomerPaymentsChangePaymentState$outboundSchema = exports.ListCustomerPaymentsChangePaymentState$inboundSchema = void 0;
44
+ exports.ListCustomerPaymentsResponse$ = exports.ListCustomerPaymentsResponse$outboundSchema = exports.ListCustomerPaymentsResponse$inboundSchema = exports.ListCustomerPaymentsLinks$ = exports.ListCustomerPaymentsLinks$outboundSchema = exports.ListCustomerPaymentsLinks$inboundSchema = exports.ListCustomerPaymentsDocumentation$ = exports.ListCustomerPaymentsDocumentation$outboundSchema = exports.ListCustomerPaymentsDocumentation$inboundSchema = exports.ListCustomerPaymentsNext$ = exports.ListCustomerPaymentsNext$outboundSchema = exports.ListCustomerPaymentsNext$inboundSchema = exports.ListCustomerPaymentsPrevious$ = exports.ListCustomerPaymentsPrevious$outboundSchema = exports.ListCustomerPaymentsPrevious$inboundSchema = exports.ListCustomerPaymentsSelf$ = exports.ListCustomerPaymentsSelf$outboundSchema = exports.ListCustomerPaymentsSelf$inboundSchema = exports.ListCustomerPaymentsEmbedded$ = void 0;
44
45
  exports.listCustomerPaymentsRequestToJSON = listCustomerPaymentsRequestToJSON;
45
46
  exports.listCustomerPaymentsRequestFromJSON = listCustomerPaymentsRequestFromJSON;
46
47
  exports.listCustomerPaymentsBadRequestDocumentationToJSON = listCustomerPaymentsBadRequestDocumentationToJSON;
@@ -97,6 +98,16 @@ exports.listCustomerPaymentsRoutingToJSON = listCustomerPaymentsRoutingToJSON;
97
98
  exports.listCustomerPaymentsRoutingFromJSON = listCustomerPaymentsRoutingFromJSON;
98
99
  exports.listCustomerPaymentsStatusReasonToJSON = listCustomerPaymentsStatusReasonToJSON;
99
100
  exports.listCustomerPaymentsStatusReasonFromJSON = listCustomerPaymentsStatusReasonFromJSON;
101
+ exports.listCustomerPaymentsPaypalFeeToJSON = listCustomerPaymentsPaypalFeeToJSON;
102
+ exports.listCustomerPaymentsPaypalFeeFromJSON = listCustomerPaymentsPaypalFeeFromJSON;
103
+ exports.listCustomerPaymentsReceiptToJSON = listCustomerPaymentsReceiptToJSON;
104
+ exports.listCustomerPaymentsReceiptFromJSON = listCustomerPaymentsReceiptFromJSON;
105
+ exports.listCustomerPaymentsQrCodeToJSON = listCustomerPaymentsQrCodeToJSON;
106
+ exports.listCustomerPaymentsQrCodeFromJSON = listCustomerPaymentsQrCodeFromJSON;
107
+ exports.listCustomerPaymentsRemainderAmountToJSON = listCustomerPaymentsRemainderAmountToJSON;
108
+ exports.listCustomerPaymentsRemainderAmountFromJSON = listCustomerPaymentsRemainderAmountFromJSON;
109
+ exports.listCustomerPaymentsDetailsToJSON = listCustomerPaymentsDetailsToJSON;
110
+ exports.listCustomerPaymentsDetailsFromJSON = listCustomerPaymentsDetailsFromJSON;
100
111
  exports.listCustomerPaymentsPaymentSelfToJSON = listCustomerPaymentsPaymentSelfToJSON;
101
112
  exports.listCustomerPaymentsPaymentSelfFromJSON = listCustomerPaymentsPaymentSelfFromJSON;
102
113
  exports.listCustomerPaymentsCheckoutToJSON = listCustomerPaymentsCheckoutToJSON;
@@ -127,6 +138,10 @@ exports.listCustomerPaymentsTerminalToJSON = listCustomerPaymentsTerminalToJSON;
127
138
  exports.listCustomerPaymentsTerminalFromJSON = listCustomerPaymentsTerminalFromJSON;
128
139
  exports.listCustomerPaymentsPaymentDocumentationToJSON = listCustomerPaymentsPaymentDocumentationToJSON;
129
140
  exports.listCustomerPaymentsPaymentDocumentationFromJSON = listCustomerPaymentsPaymentDocumentationFromJSON;
141
+ exports.listCustomerPaymentsLinksStatusToJSON = listCustomerPaymentsLinksStatusToJSON;
142
+ exports.listCustomerPaymentsLinksStatusFromJSON = listCustomerPaymentsLinksStatusFromJSON;
143
+ exports.listCustomerPaymentsPayOnlineToJSON = listCustomerPaymentsPayOnlineToJSON;
144
+ exports.listCustomerPaymentsPayOnlineFromJSON = listCustomerPaymentsPayOnlineFromJSON;
130
145
  exports.listCustomerPaymentsPaymentLinksToJSON = listCustomerPaymentsPaymentLinksToJSON;
131
146
  exports.listCustomerPaymentsPaymentLinksFromJSON = listCustomerPaymentsPaymentLinksFromJSON;
132
147
  exports.listCustomerPaymentsPaymentOutputToJSON = listCustomerPaymentsPaymentOutputToJSON;
@@ -148,6 +163,7 @@ exports.listCustomerPaymentsResponseFromJSON = listCustomerPaymentsResponseFromJ
148
163
  const z = __importStar(require("zod"));
149
164
  const primitives_js_1 = require("../../lib/primitives.js");
150
165
  const schemas_js_1 = require("../../lib/schemas.js");
166
+ const rfcdate_js_1 = require("../../types/rfcdate.js");
151
167
  /**
152
168
  * Used for setting the direction of the result set. Defaults to descending order, meaning the results are ordered from
153
169
  *
@@ -331,7 +347,7 @@ exports.ListCustomerPaymentsSequenceType = {
331
347
  * @remarks
332
348
  * statuses occur at what point.
333
349
  */
334
- exports.ListCustomerPaymentsStatus = {
350
+ exports.ListCustomerPaymentsStatusEnum = {
335
351
  Open: "open",
336
352
  Pending: "pending",
337
353
  Authorized: "authorized",
@@ -340,6 +356,249 @@ exports.ListCustomerPaymentsStatus = {
340
356
  Expired: "expired",
341
357
  Failed: "failed",
342
358
  };
359
+ /**
360
+ * A machine-readable code that indicates the reason for the payment's status.
361
+ */
362
+ exports.ListCustomerPaymentsCode = {
363
+ ApprovedOrCompletedSuccessfully: "approved_or_completed_successfully",
364
+ ReferToCardIssuer: "refer_to_card_issuer",
365
+ InvalidMerchant: "invalid_merchant",
366
+ CaptureCard: "capture_card",
367
+ DoNotHonor: "do_not_honor",
368
+ Error: "error",
369
+ PartialApproval: "partial_approval",
370
+ InvalidTransaction: "invalid_transaction",
371
+ InvalidAmount: "invalid_amount",
372
+ InvalidIssuer: "invalid_issuer",
373
+ LostCard: "lost_card",
374
+ StolenCard: "stolen_card",
375
+ InsufficientFunds: "insufficient_funds",
376
+ ExpiredCard: "expired_card",
377
+ InvalidPin: "invalid_pin",
378
+ TransactionNotPermittedToCardholder: "transaction_not_permitted_to_cardholder",
379
+ TransactionNotAllowedAtTerminal: "transaction_not_allowed_at_terminal",
380
+ ExceedsWithdrawalAmountLimit: "exceeds_withdrawal_amount_limit",
381
+ RestrictedCard: "restricted_card",
382
+ SecurityViolation: "security_violation",
383
+ ExceedsWithdrawalCountLimit: "exceeds_withdrawal_count_limit",
384
+ AllowableNumberOfPinTriesExceeded: "allowable_number_of_pin_tries_exceeded",
385
+ NoReasonToDecline: "no_reason_to_decline",
386
+ CannotVerifyPin: "cannot_verify_pin",
387
+ IssuerUnavailable: "issuer_unavailable",
388
+ UnableToRouteTransaction: "unable_to_route_transaction",
389
+ DuplicateTransaction: "duplicate_transaction",
390
+ SystemMalfunction: "system_malfunction",
391
+ HonorWithId: "honor_with_id",
392
+ InvalidCardNumber: "invalid_card_number",
393
+ FormatError: "format_error",
394
+ ContactCardIssuer: "contact_card_issuer",
395
+ PinNotChanged: "pin_not_changed",
396
+ InvalidNonexistentToAccountSpecified: "invalid_nonexistent_to_account_specified",
397
+ InvalidNonexistentFromAccountSpecified: "invalid_nonexistent_from_account_specified",
398
+ InvalidNonexistentAccountSpecified: "invalid_nonexistent_account_specified",
399
+ LifecycleRelated: "lifecycle_related",
400
+ DomesticDebitTransactionNotAllowed: "domestic_debit_transaction_not_allowed",
401
+ PolicyRelated: "policy_related",
402
+ FraudSecurityRelated: "fraud_security_related",
403
+ InvalidAuthorizationLifeCycle: "invalid_authorization_life_cycle",
404
+ PurchaseAmountOnlyNoCashBackAllowed: "purchase_amount_only_no_cash_back_allowed",
405
+ CryptographicFailure: "cryptographic_failure",
406
+ UnacceptablePin: "unacceptable_pin",
407
+ ReferToCardIssuerSpecialCondition: "refer_to_card_issuer_special_condition",
408
+ PickUpCardSpecialCondition: "pick_up_card_special_condition",
409
+ VipApproval: "vip_approval",
410
+ InvalidAccountNumber: "invalid_account_number",
411
+ ReEnterTransaction: "re_enter_transaction",
412
+ NoActionTaken: "no_action_taken",
413
+ UnableToLocateRecord: "unable_to_locate_record",
414
+ FileTemporarilyUnavailable: "file_temporarily_unavailable",
415
+ NoCreditAccount: "no_credit_account",
416
+ ClosedAccount: "closed_account",
417
+ NoCheckingAccount: "no_checking_account",
418
+ NoSavingsAccount: "no_savings_account",
419
+ SuspectedFraud: "suspected_fraud",
420
+ TransactionDoesNotFulfillAmlRequirement: "transaction_does_not_fulfill_aml_requirement",
421
+ PinDataRequired: "pin_data_required",
422
+ UnableToLocatePreviousMessage: "unable_to_locate_previous_message",
423
+ PreviousMessageLocatedInconsistentData: "previous_message_located_inconsistent_data",
424
+ BlockedFirstUsed: "blocked_first_used",
425
+ TransactionReversed: "transaction_reversed",
426
+ CreditIssuerUnavailable: "credit_issuer_unavailable",
427
+ PinCryptographicErrorFound: "pin_cryptographic_error_found",
428
+ NegativeOnlineCamResult: "negative_online_cam_result",
429
+ ViolationOfLaw: "violation_of_law",
430
+ ForceStip: "force_stip",
431
+ CashServiceNotAvailable: "cash_service_not_available",
432
+ CashbackRequestExceedsIssuerLimit: "cashback_request_exceeds_issuer_limit",
433
+ DeclineForCvv2Failure: "decline_for_cvv2_failure",
434
+ TransactionAmountExceedsPreAuthorizedAmount: "transaction_amount_exceeds_pre_authorized_amount",
435
+ InvalidBillerInformation: "invalid_biller_information",
436
+ PinChangeUnblockRequestDeclined: "pin_change_unblock_request_declined",
437
+ UnsafePin: "unsafe_pin",
438
+ CardAuthenticationFailed: "card_authentication_failed",
439
+ StopPaymentOrder: "stop_payment_order",
440
+ RevocationOfAuthorization: "revocation_of_authorization",
441
+ RevocationOfAllAuthorizations: "revocation_of_all_authorizations",
442
+ ForwardToIssuerXa: "forward_to_issuer_xa",
443
+ ForwardToIssuerXd: "forward_to_issuer_xd",
444
+ UnableToGoOnline: "unable_to_go_online",
445
+ AdditionalCustomerAuthenticationRequired: "additional_customer_authentication_required",
446
+ MerchantIdNotFound: "merchant_id_not_found",
447
+ MerchantAccountClosed: "merchant_account_closed",
448
+ TerminalIdNotFound: "terminal_id_not_found",
449
+ TerminalClosed: "terminal_closed",
450
+ InvalidCategoryCode: "invalid_category_code",
451
+ InvalidCurrency: "invalid_currency",
452
+ MissingCvv2Cvc2: "missing_cvv2_cvc2",
453
+ Cvv2NotAllowed: "cvv2_not_allowed",
454
+ MerchantNotRegisteredVbv: "merchant_not_registered_vbv",
455
+ MerchantNotRegisteredForAmex: "merchant_not_registered_for_amex",
456
+ TransactionNotPermittedAtTerminal: "transaction_not_permitted_at_terminal",
457
+ AgreementTerminalNotRelated: "agreement_terminal_not_related",
458
+ InvalidProcessorId: "invalid_processor_id",
459
+ InvalidMerchantData: "invalid_merchant_data",
460
+ SubMerchantAccountClosed: "sub_merchant_account_closed",
461
+ TerminalBusy: "terminal_busy",
462
+ TerminalUnreachable: "terminal_unreachable",
463
+ ServiceFailed: "service_failed",
464
+ InvalidOperation: "invalid_operation",
465
+ AuthorizationError: "authorization_error",
466
+ LoginFailedWithoutReason: "login_failed_without_reason",
467
+ InvalidRetailer: "invalid_retailer",
468
+ CardDoesNotExist: "card_does_not_exist",
469
+ CardIsBlocked: "card_is_blocked",
470
+ InvalidCardId: "invalid_card_id",
471
+ CardIsTransferred: "card_is_transferred",
472
+ CardIsNotActive: "card_is_not_active",
473
+ IncorrectPurchaseValue: "incorrect_purchase_value",
474
+ CardNotAvailable: "card_not_available",
475
+ WrongCurrency: "wrong_currency",
476
+ LoginFailedUnknownUser: "login_failed_unknown_user",
477
+ LoginFailedInvalidPassword: "login_failed_invalid_password",
478
+ InvalidEanCode: "invalid_ean_code",
479
+ };
480
+ /**
481
+ * The card's target audience, if known.
482
+ */
483
+ exports.ListCustomerPaymentsCardAudition = {
484
+ Consumer: "consumer",
485
+ Business: "business",
486
+ };
487
+ /**
488
+ * The card's label, if known.
489
+ */
490
+ exports.ListCustomerPaymentsCardLabel = {
491
+ AmericanExpress: "American Express",
492
+ CartaSi: "Carta Si",
493
+ CarteBleue: "Carte Bleue",
494
+ Dankort: "Dankort",
495
+ DinersClub: "Diners Club",
496
+ Discover: "Discover",
497
+ Jcb: "JCB",
498
+ Laser: "Laser",
499
+ Maestro: "Maestro",
500
+ Mastercard: "Mastercard",
501
+ Unionpay: "Unionpay",
502
+ Visa: "Visa",
503
+ Vpay: "Vpay",
504
+ };
505
+ /**
506
+ * The card type.
507
+ */
508
+ exports.ListCustomerPaymentsCardFunding = {
509
+ Debit: "debit",
510
+ Credit: "credit",
511
+ Prepaid: "prepaid",
512
+ DeferredDebit: "deferred-debit",
513
+ };
514
+ /**
515
+ * The level of security applied during card processing.
516
+ */
517
+ exports.ListCustomerPaymentsCardSecurity = {
518
+ Normal: "normal",
519
+ Threedsecure: "3dsecure",
520
+ };
521
+ /**
522
+ * The applicable card fee region.
523
+ */
524
+ exports.ListCustomerPaymentsFeeRegion = {
525
+ AmericanExpress: "american-express",
526
+ AmexIntraEea: "amex-intra-eea",
527
+ CarteBancaire: "carte-bancaire",
528
+ IntraEu: "intra-eu",
529
+ IntraEuCorporate: "intra-eu-corporate",
530
+ Domestic: "domestic",
531
+ Maestro: "maestro",
532
+ Other: "other",
533
+ Inter: "inter",
534
+ IntraEea: "intra-eea",
535
+ };
536
+ /**
537
+ * A failure code to help understand why the payment failed.
538
+ */
539
+ exports.ListCustomerPaymentsFailureReason = {
540
+ AuthenticationAbandoned: "authentication_abandoned",
541
+ AuthenticationFailed: "authentication_failed",
542
+ AuthenticationRequired: "authentication_required",
543
+ AuthenticationUnavailableAcs: "authentication_unavailable_acs",
544
+ CardDeclined: "card_declined",
545
+ CardExpired: "card_expired",
546
+ InactiveCard: "inactive_card",
547
+ InsufficientFunds: "insufficient_funds",
548
+ InvalidCvv: "invalid_cvv",
549
+ InvalidCardHolderName: "invalid_card_holder_name",
550
+ InvalidCardNumber: "invalid_card_number",
551
+ InvalidCardType: "invalid_card_type",
552
+ PossibleFraud: "possible_fraud",
553
+ RefusedByIssuer: "refused_by_issuer",
554
+ UnknownReason: "unknown_reason",
555
+ };
556
+ /**
557
+ * The wallet used when creating the payment.
558
+ */
559
+ exports.ListCustomerPaymentsWallet = {
560
+ Applepay: "applepay",
561
+ };
562
+ /**
563
+ * Indicates to what extent the payment is eligible for PayPal's Seller Protection. Only available for PayPal
564
+ *
565
+ * @remarks
566
+ * payments, and if the information is made available by PayPal.
567
+ */
568
+ exports.ListCustomerPaymentsSellerProtection = {
569
+ Eligible: "Eligible",
570
+ Ineligible: "Ineligible",
571
+ PartiallyEligibleINROnly: "Partially Eligible - INR Only",
572
+ PartiallyEligibleUnauthOnly: "Partially Eligible - Unauth Only",
573
+ PartiallyEligible: "Partially Eligible",
574
+ None: "None",
575
+ Active: "Active",
576
+ FraudControlUnauthPremiumEligible: "Fraud Control - Unauth Premium Eligible",
577
+ };
578
+ /**
579
+ * The method by which the card was read by the terminal.
580
+ */
581
+ exports.ListCustomerPaymentsCardReadMethod = {
582
+ Chip: "chip",
583
+ MagneticStripe: "magnetic-stripe",
584
+ NearFieldCommunication: "near-field-communication",
585
+ Contactless: "contactless",
586
+ Moto: "moto",
587
+ };
588
+ /**
589
+ * The method used to verify the cardholder's identity.
590
+ */
591
+ exports.ListCustomerPaymentsCardVerificationMethod = {
592
+ NoCvmRequired: "no-cvm-required",
593
+ OnlinePin: "online-pin",
594
+ OfflinePin: "offline-pin",
595
+ ConsumerDevice: "consumer-device",
596
+ Signature: "signature",
597
+ SignatureAndOnlinePin: "signature-and-online-pin",
598
+ OnlinePinAndSignature: "online-pin-and-signature",
599
+ None: "none",
600
+ Failed: "failed",
601
+ };
343
602
  /** @internal */
344
603
  exports.ListCustomerPaymentsSort$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsSort);
345
604
  /** @internal */
@@ -1334,28 +1593,43 @@ var ListCustomerPaymentsSequenceType$;
1334
1593
  ListCustomerPaymentsSequenceType$.outboundSchema = exports.ListCustomerPaymentsSequenceType$outboundSchema;
1335
1594
  })(ListCustomerPaymentsSequenceType$ || (exports.ListCustomerPaymentsSequenceType$ = ListCustomerPaymentsSequenceType$ = {}));
1336
1595
  /** @internal */
1337
- exports.ListCustomerPaymentsStatus$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsStatus);
1596
+ exports.ListCustomerPaymentsStatusEnum$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsStatusEnum);
1338
1597
  /** @internal */
1339
- exports.ListCustomerPaymentsStatus$outboundSchema = exports.ListCustomerPaymentsStatus$inboundSchema;
1598
+ exports.ListCustomerPaymentsStatusEnum$outboundSchema = exports.ListCustomerPaymentsStatusEnum$inboundSchema;
1340
1599
  /**
1341
1600
  * @internal
1342
1601
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1343
1602
  */
1344
- var ListCustomerPaymentsStatus$;
1345
- (function (ListCustomerPaymentsStatus$) {
1346
- /** @deprecated use `ListCustomerPaymentsStatus$inboundSchema` instead. */
1347
- ListCustomerPaymentsStatus$.inboundSchema = exports.ListCustomerPaymentsStatus$inboundSchema;
1348
- /** @deprecated use `ListCustomerPaymentsStatus$outboundSchema` instead. */
1349
- ListCustomerPaymentsStatus$.outboundSchema = exports.ListCustomerPaymentsStatus$outboundSchema;
1350
- })(ListCustomerPaymentsStatus$ || (exports.ListCustomerPaymentsStatus$ = ListCustomerPaymentsStatus$ = {}));
1603
+ var ListCustomerPaymentsStatusEnum$;
1604
+ (function (ListCustomerPaymentsStatusEnum$) {
1605
+ /** @deprecated use `ListCustomerPaymentsStatusEnum$inboundSchema` instead. */
1606
+ ListCustomerPaymentsStatusEnum$.inboundSchema = exports.ListCustomerPaymentsStatusEnum$inboundSchema;
1607
+ /** @deprecated use `ListCustomerPaymentsStatusEnum$outboundSchema` instead. */
1608
+ ListCustomerPaymentsStatusEnum$.outboundSchema = exports.ListCustomerPaymentsStatusEnum$outboundSchema;
1609
+ })(ListCustomerPaymentsStatusEnum$ || (exports.ListCustomerPaymentsStatusEnum$ = ListCustomerPaymentsStatusEnum$ = {}));
1610
+ /** @internal */
1611
+ exports.ListCustomerPaymentsCode$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsCode);
1612
+ /** @internal */
1613
+ exports.ListCustomerPaymentsCode$outboundSchema = exports.ListCustomerPaymentsCode$inboundSchema;
1614
+ /**
1615
+ * @internal
1616
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1617
+ */
1618
+ var ListCustomerPaymentsCode$;
1619
+ (function (ListCustomerPaymentsCode$) {
1620
+ /** @deprecated use `ListCustomerPaymentsCode$inboundSchema` instead. */
1621
+ ListCustomerPaymentsCode$.inboundSchema = exports.ListCustomerPaymentsCode$inboundSchema;
1622
+ /** @deprecated use `ListCustomerPaymentsCode$outboundSchema` instead. */
1623
+ ListCustomerPaymentsCode$.outboundSchema = exports.ListCustomerPaymentsCode$outboundSchema;
1624
+ })(ListCustomerPaymentsCode$ || (exports.ListCustomerPaymentsCode$ = ListCustomerPaymentsCode$ = {}));
1351
1625
  /** @internal */
1352
1626
  exports.ListCustomerPaymentsStatusReason$inboundSchema = z.object({
1353
- code: z.string(),
1627
+ code: exports.ListCustomerPaymentsCode$inboundSchema,
1354
1628
  message: z.string(),
1355
1629
  });
1356
1630
  /** @internal */
1357
1631
  exports.ListCustomerPaymentsStatusReason$outboundSchema = z.object({
1358
- code: z.string(),
1632
+ code: exports.ListCustomerPaymentsCode$outboundSchema,
1359
1633
  message: z.string(),
1360
1634
  });
1361
1635
  /**
@@ -1376,6 +1650,409 @@ function listCustomerPaymentsStatusReasonFromJSON(jsonString) {
1376
1650
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCustomerPaymentsStatusReason$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCustomerPaymentsStatusReason' from JSON`);
1377
1651
  }
1378
1652
  /** @internal */
1653
+ exports.ListCustomerPaymentsCardAudition$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsCardAudition);
1654
+ /** @internal */
1655
+ exports.ListCustomerPaymentsCardAudition$outboundSchema = exports.ListCustomerPaymentsCardAudition$inboundSchema;
1656
+ /**
1657
+ * @internal
1658
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1659
+ */
1660
+ var ListCustomerPaymentsCardAudition$;
1661
+ (function (ListCustomerPaymentsCardAudition$) {
1662
+ /** @deprecated use `ListCustomerPaymentsCardAudition$inboundSchema` instead. */
1663
+ ListCustomerPaymentsCardAudition$.inboundSchema = exports.ListCustomerPaymentsCardAudition$inboundSchema;
1664
+ /** @deprecated use `ListCustomerPaymentsCardAudition$outboundSchema` instead. */
1665
+ ListCustomerPaymentsCardAudition$.outboundSchema = exports.ListCustomerPaymentsCardAudition$outboundSchema;
1666
+ })(ListCustomerPaymentsCardAudition$ || (exports.ListCustomerPaymentsCardAudition$ = ListCustomerPaymentsCardAudition$ = {}));
1667
+ /** @internal */
1668
+ exports.ListCustomerPaymentsCardLabel$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsCardLabel);
1669
+ /** @internal */
1670
+ exports.ListCustomerPaymentsCardLabel$outboundSchema = exports.ListCustomerPaymentsCardLabel$inboundSchema;
1671
+ /**
1672
+ * @internal
1673
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1674
+ */
1675
+ var ListCustomerPaymentsCardLabel$;
1676
+ (function (ListCustomerPaymentsCardLabel$) {
1677
+ /** @deprecated use `ListCustomerPaymentsCardLabel$inboundSchema` instead. */
1678
+ ListCustomerPaymentsCardLabel$.inboundSchema = exports.ListCustomerPaymentsCardLabel$inboundSchema;
1679
+ /** @deprecated use `ListCustomerPaymentsCardLabel$outboundSchema` instead. */
1680
+ ListCustomerPaymentsCardLabel$.outboundSchema = exports.ListCustomerPaymentsCardLabel$outboundSchema;
1681
+ })(ListCustomerPaymentsCardLabel$ || (exports.ListCustomerPaymentsCardLabel$ = ListCustomerPaymentsCardLabel$ = {}));
1682
+ /** @internal */
1683
+ exports.ListCustomerPaymentsCardFunding$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsCardFunding);
1684
+ /** @internal */
1685
+ exports.ListCustomerPaymentsCardFunding$outboundSchema = exports.ListCustomerPaymentsCardFunding$inboundSchema;
1686
+ /**
1687
+ * @internal
1688
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1689
+ */
1690
+ var ListCustomerPaymentsCardFunding$;
1691
+ (function (ListCustomerPaymentsCardFunding$) {
1692
+ /** @deprecated use `ListCustomerPaymentsCardFunding$inboundSchema` instead. */
1693
+ ListCustomerPaymentsCardFunding$.inboundSchema = exports.ListCustomerPaymentsCardFunding$inboundSchema;
1694
+ /** @deprecated use `ListCustomerPaymentsCardFunding$outboundSchema` instead. */
1695
+ ListCustomerPaymentsCardFunding$.outboundSchema = exports.ListCustomerPaymentsCardFunding$outboundSchema;
1696
+ })(ListCustomerPaymentsCardFunding$ || (exports.ListCustomerPaymentsCardFunding$ = ListCustomerPaymentsCardFunding$ = {}));
1697
+ /** @internal */
1698
+ exports.ListCustomerPaymentsCardSecurity$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsCardSecurity);
1699
+ /** @internal */
1700
+ exports.ListCustomerPaymentsCardSecurity$outboundSchema = exports.ListCustomerPaymentsCardSecurity$inboundSchema;
1701
+ /**
1702
+ * @internal
1703
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1704
+ */
1705
+ var ListCustomerPaymentsCardSecurity$;
1706
+ (function (ListCustomerPaymentsCardSecurity$) {
1707
+ /** @deprecated use `ListCustomerPaymentsCardSecurity$inboundSchema` instead. */
1708
+ ListCustomerPaymentsCardSecurity$.inboundSchema = exports.ListCustomerPaymentsCardSecurity$inboundSchema;
1709
+ /** @deprecated use `ListCustomerPaymentsCardSecurity$outboundSchema` instead. */
1710
+ ListCustomerPaymentsCardSecurity$.outboundSchema = exports.ListCustomerPaymentsCardSecurity$outboundSchema;
1711
+ })(ListCustomerPaymentsCardSecurity$ || (exports.ListCustomerPaymentsCardSecurity$ = ListCustomerPaymentsCardSecurity$ = {}));
1712
+ /** @internal */
1713
+ exports.ListCustomerPaymentsFeeRegion$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsFeeRegion);
1714
+ /** @internal */
1715
+ exports.ListCustomerPaymentsFeeRegion$outboundSchema = exports.ListCustomerPaymentsFeeRegion$inboundSchema;
1716
+ /**
1717
+ * @internal
1718
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1719
+ */
1720
+ var ListCustomerPaymentsFeeRegion$;
1721
+ (function (ListCustomerPaymentsFeeRegion$) {
1722
+ /** @deprecated use `ListCustomerPaymentsFeeRegion$inboundSchema` instead. */
1723
+ ListCustomerPaymentsFeeRegion$.inboundSchema = exports.ListCustomerPaymentsFeeRegion$inboundSchema;
1724
+ /** @deprecated use `ListCustomerPaymentsFeeRegion$outboundSchema` instead. */
1725
+ ListCustomerPaymentsFeeRegion$.outboundSchema = exports.ListCustomerPaymentsFeeRegion$outboundSchema;
1726
+ })(ListCustomerPaymentsFeeRegion$ || (exports.ListCustomerPaymentsFeeRegion$ = ListCustomerPaymentsFeeRegion$ = {}));
1727
+ /** @internal */
1728
+ exports.ListCustomerPaymentsFailureReason$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsFailureReason);
1729
+ /** @internal */
1730
+ exports.ListCustomerPaymentsFailureReason$outboundSchema = exports.ListCustomerPaymentsFailureReason$inboundSchema;
1731
+ /**
1732
+ * @internal
1733
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1734
+ */
1735
+ var ListCustomerPaymentsFailureReason$;
1736
+ (function (ListCustomerPaymentsFailureReason$) {
1737
+ /** @deprecated use `ListCustomerPaymentsFailureReason$inboundSchema` instead. */
1738
+ ListCustomerPaymentsFailureReason$.inboundSchema = exports.ListCustomerPaymentsFailureReason$inboundSchema;
1739
+ /** @deprecated use `ListCustomerPaymentsFailureReason$outboundSchema` instead. */
1740
+ ListCustomerPaymentsFailureReason$.outboundSchema = exports.ListCustomerPaymentsFailureReason$outboundSchema;
1741
+ })(ListCustomerPaymentsFailureReason$ || (exports.ListCustomerPaymentsFailureReason$ = ListCustomerPaymentsFailureReason$ = {}));
1742
+ /** @internal */
1743
+ exports.ListCustomerPaymentsWallet$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsWallet);
1744
+ /** @internal */
1745
+ exports.ListCustomerPaymentsWallet$outboundSchema = exports.ListCustomerPaymentsWallet$inboundSchema;
1746
+ /**
1747
+ * @internal
1748
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1749
+ */
1750
+ var ListCustomerPaymentsWallet$;
1751
+ (function (ListCustomerPaymentsWallet$) {
1752
+ /** @deprecated use `ListCustomerPaymentsWallet$inboundSchema` instead. */
1753
+ ListCustomerPaymentsWallet$.inboundSchema = exports.ListCustomerPaymentsWallet$inboundSchema;
1754
+ /** @deprecated use `ListCustomerPaymentsWallet$outboundSchema` instead. */
1755
+ ListCustomerPaymentsWallet$.outboundSchema = exports.ListCustomerPaymentsWallet$outboundSchema;
1756
+ })(ListCustomerPaymentsWallet$ || (exports.ListCustomerPaymentsWallet$ = ListCustomerPaymentsWallet$ = {}));
1757
+ /** @internal */
1758
+ exports.ListCustomerPaymentsSellerProtection$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsSellerProtection);
1759
+ /** @internal */
1760
+ exports.ListCustomerPaymentsSellerProtection$outboundSchema = exports.ListCustomerPaymentsSellerProtection$inboundSchema;
1761
+ /**
1762
+ * @internal
1763
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1764
+ */
1765
+ var ListCustomerPaymentsSellerProtection$;
1766
+ (function (ListCustomerPaymentsSellerProtection$) {
1767
+ /** @deprecated use `ListCustomerPaymentsSellerProtection$inboundSchema` instead. */
1768
+ ListCustomerPaymentsSellerProtection$.inboundSchema = exports.ListCustomerPaymentsSellerProtection$inboundSchema;
1769
+ /** @deprecated use `ListCustomerPaymentsSellerProtection$outboundSchema` instead. */
1770
+ ListCustomerPaymentsSellerProtection$.outboundSchema = exports.ListCustomerPaymentsSellerProtection$outboundSchema;
1771
+ })(ListCustomerPaymentsSellerProtection$ || (exports.ListCustomerPaymentsSellerProtection$ = ListCustomerPaymentsSellerProtection$ = {}));
1772
+ /** @internal */
1773
+ exports.ListCustomerPaymentsPaypalFee$inboundSchema = z.object({
1774
+ currency: z.string(),
1775
+ value: z.string(),
1776
+ });
1777
+ /** @internal */
1778
+ exports.ListCustomerPaymentsPaypalFee$outboundSchema = z.object({
1779
+ currency: z.string(),
1780
+ value: z.string(),
1781
+ });
1782
+ /**
1783
+ * @internal
1784
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1785
+ */
1786
+ var ListCustomerPaymentsPaypalFee$;
1787
+ (function (ListCustomerPaymentsPaypalFee$) {
1788
+ /** @deprecated use `ListCustomerPaymentsPaypalFee$inboundSchema` instead. */
1789
+ ListCustomerPaymentsPaypalFee$.inboundSchema = exports.ListCustomerPaymentsPaypalFee$inboundSchema;
1790
+ /** @deprecated use `ListCustomerPaymentsPaypalFee$outboundSchema` instead. */
1791
+ ListCustomerPaymentsPaypalFee$.outboundSchema = exports.ListCustomerPaymentsPaypalFee$outboundSchema;
1792
+ })(ListCustomerPaymentsPaypalFee$ || (exports.ListCustomerPaymentsPaypalFee$ = ListCustomerPaymentsPaypalFee$ = {}));
1793
+ function listCustomerPaymentsPaypalFeeToJSON(listCustomerPaymentsPaypalFee) {
1794
+ return JSON.stringify(exports.ListCustomerPaymentsPaypalFee$outboundSchema.parse(listCustomerPaymentsPaypalFee));
1795
+ }
1796
+ function listCustomerPaymentsPaypalFeeFromJSON(jsonString) {
1797
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCustomerPaymentsPaypalFee$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCustomerPaymentsPaypalFee' from JSON`);
1798
+ }
1799
+ /** @internal */
1800
+ exports.ListCustomerPaymentsCardReadMethod$inboundSchema = z.nativeEnum(exports.ListCustomerPaymentsCardReadMethod);
1801
+ /** @internal */
1802
+ exports.ListCustomerPaymentsCardReadMethod$outboundSchema = exports.ListCustomerPaymentsCardReadMethod$inboundSchema;
1803
+ /**
1804
+ * @internal
1805
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1806
+ */
1807
+ var ListCustomerPaymentsCardReadMethod$;
1808
+ (function (ListCustomerPaymentsCardReadMethod$) {
1809
+ /** @deprecated use `ListCustomerPaymentsCardReadMethod$inboundSchema` instead. */
1810
+ ListCustomerPaymentsCardReadMethod$.inboundSchema = exports.ListCustomerPaymentsCardReadMethod$inboundSchema;
1811
+ /** @deprecated use `ListCustomerPaymentsCardReadMethod$outboundSchema` instead. */
1812
+ ListCustomerPaymentsCardReadMethod$.outboundSchema = exports.ListCustomerPaymentsCardReadMethod$outboundSchema;
1813
+ })(ListCustomerPaymentsCardReadMethod$ || (exports.ListCustomerPaymentsCardReadMethod$ = ListCustomerPaymentsCardReadMethod$ = {}));
1814
+ /** @internal */
1815
+ exports.ListCustomerPaymentsCardVerificationMethod$inboundSchema = z
1816
+ .nativeEnum(exports.ListCustomerPaymentsCardVerificationMethod);
1817
+ /** @internal */
1818
+ exports.ListCustomerPaymentsCardVerificationMethod$outboundSchema = exports.ListCustomerPaymentsCardVerificationMethod$inboundSchema;
1819
+ /**
1820
+ * @internal
1821
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1822
+ */
1823
+ var ListCustomerPaymentsCardVerificationMethod$;
1824
+ (function (ListCustomerPaymentsCardVerificationMethod$) {
1825
+ /** @deprecated use `ListCustomerPaymentsCardVerificationMethod$inboundSchema` instead. */
1826
+ ListCustomerPaymentsCardVerificationMethod$.inboundSchema = exports.ListCustomerPaymentsCardVerificationMethod$inboundSchema;
1827
+ /** @deprecated use `ListCustomerPaymentsCardVerificationMethod$outboundSchema` instead. */
1828
+ ListCustomerPaymentsCardVerificationMethod$.outboundSchema = exports.ListCustomerPaymentsCardVerificationMethod$outboundSchema;
1829
+ })(ListCustomerPaymentsCardVerificationMethod$ || (exports.ListCustomerPaymentsCardVerificationMethod$ = ListCustomerPaymentsCardVerificationMethod$ = {}));
1830
+ /** @internal */
1831
+ exports.ListCustomerPaymentsReceipt$inboundSchema = z.object({
1832
+ authorizationCode: z.nullable(z.string()).optional(),
1833
+ applicationIdentifier: z.nullable(z.string()).optional(),
1834
+ cardReadMethod: z.nullable(exports.ListCustomerPaymentsCardReadMethod$inboundSchema)
1835
+ .optional(),
1836
+ cardVerificationMethod: z.nullable(exports.ListCustomerPaymentsCardVerificationMethod$inboundSchema).optional(),
1837
+ });
1838
+ /** @internal */
1839
+ exports.ListCustomerPaymentsReceipt$outboundSchema = z.object({
1840
+ authorizationCode: z.nullable(z.string()).optional(),
1841
+ applicationIdentifier: z.nullable(z.string()).optional(),
1842
+ cardReadMethod: z.nullable(exports.ListCustomerPaymentsCardReadMethod$outboundSchema)
1843
+ .optional(),
1844
+ cardVerificationMethod: z.nullable(exports.ListCustomerPaymentsCardVerificationMethod$outboundSchema).optional(),
1845
+ });
1846
+ /**
1847
+ * @internal
1848
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1849
+ */
1850
+ var ListCustomerPaymentsReceipt$;
1851
+ (function (ListCustomerPaymentsReceipt$) {
1852
+ /** @deprecated use `ListCustomerPaymentsReceipt$inboundSchema` instead. */
1853
+ ListCustomerPaymentsReceipt$.inboundSchema = exports.ListCustomerPaymentsReceipt$inboundSchema;
1854
+ /** @deprecated use `ListCustomerPaymentsReceipt$outboundSchema` instead. */
1855
+ ListCustomerPaymentsReceipt$.outboundSchema = exports.ListCustomerPaymentsReceipt$outboundSchema;
1856
+ })(ListCustomerPaymentsReceipt$ || (exports.ListCustomerPaymentsReceipt$ = ListCustomerPaymentsReceipt$ = {}));
1857
+ function listCustomerPaymentsReceiptToJSON(listCustomerPaymentsReceipt) {
1858
+ return JSON.stringify(exports.ListCustomerPaymentsReceipt$outboundSchema.parse(listCustomerPaymentsReceipt));
1859
+ }
1860
+ function listCustomerPaymentsReceiptFromJSON(jsonString) {
1861
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCustomerPaymentsReceipt$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCustomerPaymentsReceipt' from JSON`);
1862
+ }
1863
+ /** @internal */
1864
+ exports.ListCustomerPaymentsQrCode$inboundSchema = z.object({
1865
+ height: z.number().int().optional(),
1866
+ width: z.number().int().optional(),
1867
+ src: z.string().optional(),
1868
+ });
1869
+ /** @internal */
1870
+ exports.ListCustomerPaymentsQrCode$outboundSchema = z.object({
1871
+ height: z.number().int().optional(),
1872
+ width: z.number().int().optional(),
1873
+ src: z.string().optional(),
1874
+ });
1875
+ /**
1876
+ * @internal
1877
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1878
+ */
1879
+ var ListCustomerPaymentsQrCode$;
1880
+ (function (ListCustomerPaymentsQrCode$) {
1881
+ /** @deprecated use `ListCustomerPaymentsQrCode$inboundSchema` instead. */
1882
+ ListCustomerPaymentsQrCode$.inboundSchema = exports.ListCustomerPaymentsQrCode$inboundSchema;
1883
+ /** @deprecated use `ListCustomerPaymentsQrCode$outboundSchema` instead. */
1884
+ ListCustomerPaymentsQrCode$.outboundSchema = exports.ListCustomerPaymentsQrCode$outboundSchema;
1885
+ })(ListCustomerPaymentsQrCode$ || (exports.ListCustomerPaymentsQrCode$ = ListCustomerPaymentsQrCode$ = {}));
1886
+ function listCustomerPaymentsQrCodeToJSON(listCustomerPaymentsQrCode) {
1887
+ return JSON.stringify(exports.ListCustomerPaymentsQrCode$outboundSchema.parse(listCustomerPaymentsQrCode));
1888
+ }
1889
+ function listCustomerPaymentsQrCodeFromJSON(jsonString) {
1890
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCustomerPaymentsQrCode$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCustomerPaymentsQrCode' from JSON`);
1891
+ }
1892
+ /** @internal */
1893
+ exports.ListCustomerPaymentsRemainderAmount$inboundSchema = z.object({
1894
+ currency: z.string(),
1895
+ value: z.string(),
1896
+ });
1897
+ /** @internal */
1898
+ exports.ListCustomerPaymentsRemainderAmount$outboundSchema = z.object({
1899
+ currency: z.string(),
1900
+ value: z.string(),
1901
+ });
1902
+ /**
1903
+ * @internal
1904
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1905
+ */
1906
+ var ListCustomerPaymentsRemainderAmount$;
1907
+ (function (ListCustomerPaymentsRemainderAmount$) {
1908
+ /** @deprecated use `ListCustomerPaymentsRemainderAmount$inboundSchema` instead. */
1909
+ ListCustomerPaymentsRemainderAmount$.inboundSchema = exports.ListCustomerPaymentsRemainderAmount$inboundSchema;
1910
+ /** @deprecated use `ListCustomerPaymentsRemainderAmount$outboundSchema` instead. */
1911
+ ListCustomerPaymentsRemainderAmount$.outboundSchema = exports.ListCustomerPaymentsRemainderAmount$outboundSchema;
1912
+ })(ListCustomerPaymentsRemainderAmount$ || (exports.ListCustomerPaymentsRemainderAmount$ = ListCustomerPaymentsRemainderAmount$ = {}));
1913
+ function listCustomerPaymentsRemainderAmountToJSON(listCustomerPaymentsRemainderAmount) {
1914
+ return JSON.stringify(exports.ListCustomerPaymentsRemainderAmount$outboundSchema.parse(listCustomerPaymentsRemainderAmount));
1915
+ }
1916
+ function listCustomerPaymentsRemainderAmountFromJSON(jsonString) {
1917
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCustomerPaymentsRemainderAmount$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCustomerPaymentsRemainderAmount' from JSON`);
1918
+ }
1919
+ /** @internal */
1920
+ exports.ListCustomerPaymentsDetails$inboundSchema = z.object({
1921
+ consumerName: z.nullable(z.string()).optional(),
1922
+ consumerAccount: z.nullable(z.string()).optional(),
1923
+ consumerBic: z.nullable(z.string()).optional(),
1924
+ shippingAddress: z.nullable(z.record(z.any())).optional(),
1925
+ cardNumber: z.nullable(z.string()).optional(),
1926
+ bankName: z.string().optional(),
1927
+ bankAccount: z.string().optional(),
1928
+ bankBic: z.string().optional(),
1929
+ transferReference: z.nullable(z.string()).optional(),
1930
+ cardFingerprint: z.nullable(z.string()).optional(),
1931
+ cardHolder: z.nullable(z.string()).optional(),
1932
+ cardAudition: z.nullable(exports.ListCustomerPaymentsCardAudition$inboundSchema)
1933
+ .optional(),
1934
+ cardLabel: z.nullable(exports.ListCustomerPaymentsCardLabel$inboundSchema).optional(),
1935
+ cardCountryCode: z.nullable(z.string()).optional(),
1936
+ cardExpiryDate: z.nullable(z.string()).optional(),
1937
+ cardFunding: z.nullable(exports.ListCustomerPaymentsCardFunding$inboundSchema)
1938
+ .optional(),
1939
+ cardSecurity: z.nullable(exports.ListCustomerPaymentsCardSecurity$inboundSchema)
1940
+ .optional(),
1941
+ feeRegion: z.nullable(exports.ListCustomerPaymentsFeeRegion$inboundSchema).optional(),
1942
+ cardMaskedNumber: z.nullable(z.string()).optional(),
1943
+ card3dsEci: z.nullable(z.string()).optional(),
1944
+ cardBin: z.nullable(z.string()).optional(),
1945
+ cardIssuer: z.nullable(z.string()).optional(),
1946
+ failureReason: z.nullable(exports.ListCustomerPaymentsFailureReason$inboundSchema)
1947
+ .optional(),
1948
+ failureMessage: z.nullable(z.string()).optional(),
1949
+ wallet: z.nullable(exports.ListCustomerPaymentsWallet$inboundSchema).optional(),
1950
+ paypalReference: z.nullable(z.string()).optional(),
1951
+ paypalPayerId: z.nullable(z.string()).optional(),
1952
+ sellerProtection: z.nullable(exports.ListCustomerPaymentsSellerProtection$inboundSchema).optional(),
1953
+ paypalFee: z.nullable(z.lazy(() => exports.ListCustomerPaymentsPaypalFee$inboundSchema)).optional(),
1954
+ customerReference: z.string().optional(),
1955
+ terminalId: z.string().optional(),
1956
+ maskedNumber: z.nullable(z.string()).optional(),
1957
+ receipt: z.lazy(() => exports.ListCustomerPaymentsReceipt$inboundSchema).optional(),
1958
+ creditorIdentifier: z.nullable(z.string()).optional(),
1959
+ dueDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v))).optional(),
1960
+ signatureDate: z.nullable(z.string().transform(v => new rfcdate_js_1.RFCDate(v)))
1961
+ .optional(),
1962
+ bankReasonCode: z.nullable(z.string()).optional(),
1963
+ bankReason: z.nullable(z.string()).optional(),
1964
+ endToEndIdentifier: z.nullable(z.string()).optional(),
1965
+ mandateReference: z.nullable(z.string()).optional(),
1966
+ batchReference: z.nullable(z.string()).optional(),
1967
+ fileReference: z.nullable(z.string()).optional(),
1968
+ qrCode: z.lazy(() => exports.ListCustomerPaymentsQrCode$inboundSchema).optional(),
1969
+ voucherNumber: z.string().optional(),
1970
+ giftcards: z.array(z.record(z.any())).optional(),
1971
+ issuer: z.string().optional(),
1972
+ vouchers: z.array(z.record(z.any())).optional(),
1973
+ remainderAmount: z.lazy(() => exports.ListCustomerPaymentsRemainderAmount$inboundSchema).optional(),
1974
+ remainderMethod: z.string().optional(),
1975
+ remainderDetails: z.record(z.any()).optional(),
1976
+ });
1977
+ /** @internal */
1978
+ exports.ListCustomerPaymentsDetails$outboundSchema = z.object({
1979
+ consumerName: z.nullable(z.string()).optional(),
1980
+ consumerAccount: z.nullable(z.string()).optional(),
1981
+ consumerBic: z.nullable(z.string()).optional(),
1982
+ shippingAddress: z.nullable(z.record(z.any())).optional(),
1983
+ cardNumber: z.nullable(z.string()).optional(),
1984
+ bankName: z.string().optional(),
1985
+ bankAccount: z.string().optional(),
1986
+ bankBic: z.string().optional(),
1987
+ transferReference: z.nullable(z.string()).optional(),
1988
+ cardFingerprint: z.nullable(z.string()).optional(),
1989
+ cardHolder: z.nullable(z.string()).optional(),
1990
+ cardAudition: z.nullable(exports.ListCustomerPaymentsCardAudition$outboundSchema)
1991
+ .optional(),
1992
+ cardLabel: z.nullable(exports.ListCustomerPaymentsCardLabel$outboundSchema)
1993
+ .optional(),
1994
+ cardCountryCode: z.nullable(z.string()).optional(),
1995
+ cardExpiryDate: z.nullable(z.string()).optional(),
1996
+ cardFunding: z.nullable(exports.ListCustomerPaymentsCardFunding$outboundSchema)
1997
+ .optional(),
1998
+ cardSecurity: z.nullable(exports.ListCustomerPaymentsCardSecurity$outboundSchema)
1999
+ .optional(),
2000
+ feeRegion: z.nullable(exports.ListCustomerPaymentsFeeRegion$outboundSchema)
2001
+ .optional(),
2002
+ cardMaskedNumber: z.nullable(z.string()).optional(),
2003
+ card3dsEci: z.nullable(z.string()).optional(),
2004
+ cardBin: z.nullable(z.string()).optional(),
2005
+ cardIssuer: z.nullable(z.string()).optional(),
2006
+ failureReason: z.nullable(exports.ListCustomerPaymentsFailureReason$outboundSchema)
2007
+ .optional(),
2008
+ failureMessage: z.nullable(z.string()).optional(),
2009
+ wallet: z.nullable(exports.ListCustomerPaymentsWallet$outboundSchema).optional(),
2010
+ paypalReference: z.nullable(z.string()).optional(),
2011
+ paypalPayerId: z.nullable(z.string()).optional(),
2012
+ sellerProtection: z.nullable(exports.ListCustomerPaymentsSellerProtection$outboundSchema).optional(),
2013
+ paypalFee: z.nullable(z.lazy(() => exports.ListCustomerPaymentsPaypalFee$outboundSchema)).optional(),
2014
+ customerReference: z.string().optional(),
2015
+ terminalId: z.string().optional(),
2016
+ maskedNumber: z.nullable(z.string()).optional(),
2017
+ receipt: z.lazy(() => exports.ListCustomerPaymentsReceipt$outboundSchema).optional(),
2018
+ creditorIdentifier: z.nullable(z.string()).optional(),
2019
+ dueDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
2020
+ .optional(),
2021
+ signatureDate: z.nullable(z.instanceof(rfcdate_js_1.RFCDate).transform(v => v.toString()))
2022
+ .optional(),
2023
+ bankReasonCode: z.nullable(z.string()).optional(),
2024
+ bankReason: z.nullable(z.string()).optional(),
2025
+ endToEndIdentifier: z.nullable(z.string()).optional(),
2026
+ mandateReference: z.nullable(z.string()).optional(),
2027
+ batchReference: z.nullable(z.string()).optional(),
2028
+ fileReference: z.nullable(z.string()).optional(),
2029
+ qrCode: z.lazy(() => exports.ListCustomerPaymentsQrCode$outboundSchema).optional(),
2030
+ voucherNumber: z.string().optional(),
2031
+ giftcards: z.array(z.record(z.any())).optional(),
2032
+ issuer: z.string().optional(),
2033
+ vouchers: z.array(z.record(z.any())).optional(),
2034
+ remainderAmount: z.lazy(() => exports.ListCustomerPaymentsRemainderAmount$outboundSchema).optional(),
2035
+ remainderMethod: z.string().optional(),
2036
+ remainderDetails: z.record(z.any()).optional(),
2037
+ });
2038
+ /**
2039
+ * @internal
2040
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2041
+ */
2042
+ var ListCustomerPaymentsDetails$;
2043
+ (function (ListCustomerPaymentsDetails$) {
2044
+ /** @deprecated use `ListCustomerPaymentsDetails$inboundSchema` instead. */
2045
+ ListCustomerPaymentsDetails$.inboundSchema = exports.ListCustomerPaymentsDetails$inboundSchema;
2046
+ /** @deprecated use `ListCustomerPaymentsDetails$outboundSchema` instead. */
2047
+ ListCustomerPaymentsDetails$.outboundSchema = exports.ListCustomerPaymentsDetails$outboundSchema;
2048
+ })(ListCustomerPaymentsDetails$ || (exports.ListCustomerPaymentsDetails$ = ListCustomerPaymentsDetails$ = {}));
2049
+ function listCustomerPaymentsDetailsToJSON(listCustomerPaymentsDetails) {
2050
+ return JSON.stringify(exports.ListCustomerPaymentsDetails$outboundSchema.parse(listCustomerPaymentsDetails));
2051
+ }
2052
+ function listCustomerPaymentsDetailsFromJSON(jsonString) {
2053
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCustomerPaymentsDetails$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCustomerPaymentsDetails' from JSON`);
2054
+ }
2055
+ /** @internal */
1379
2056
  exports.ListCustomerPaymentsPaymentSelf$inboundSchema = z.object({
1380
2057
  href: z.string(),
1381
2058
  type: z.string(),
@@ -1781,6 +2458,60 @@ function listCustomerPaymentsPaymentDocumentationFromJSON(jsonString) {
1781
2458
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCustomerPaymentsPaymentDocumentation$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCustomerPaymentsPaymentDocumentation' from JSON`);
1782
2459
  }
1783
2460
  /** @internal */
2461
+ exports.ListCustomerPaymentsLinksStatus$inboundSchema = z.object({
2462
+ href: z.string(),
2463
+ type: z.string(),
2464
+ });
2465
+ /** @internal */
2466
+ exports.ListCustomerPaymentsLinksStatus$outboundSchema = z.object({
2467
+ href: z.string(),
2468
+ type: z.string(),
2469
+ });
2470
+ /**
2471
+ * @internal
2472
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2473
+ */
2474
+ var ListCustomerPaymentsLinksStatus$;
2475
+ (function (ListCustomerPaymentsLinksStatus$) {
2476
+ /** @deprecated use `ListCustomerPaymentsLinksStatus$inboundSchema` instead. */
2477
+ ListCustomerPaymentsLinksStatus$.inboundSchema = exports.ListCustomerPaymentsLinksStatus$inboundSchema;
2478
+ /** @deprecated use `ListCustomerPaymentsLinksStatus$outboundSchema` instead. */
2479
+ ListCustomerPaymentsLinksStatus$.outboundSchema = exports.ListCustomerPaymentsLinksStatus$outboundSchema;
2480
+ })(ListCustomerPaymentsLinksStatus$ || (exports.ListCustomerPaymentsLinksStatus$ = ListCustomerPaymentsLinksStatus$ = {}));
2481
+ function listCustomerPaymentsLinksStatusToJSON(listCustomerPaymentsLinksStatus) {
2482
+ return JSON.stringify(exports.ListCustomerPaymentsLinksStatus$outboundSchema.parse(listCustomerPaymentsLinksStatus));
2483
+ }
2484
+ function listCustomerPaymentsLinksStatusFromJSON(jsonString) {
2485
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCustomerPaymentsLinksStatus$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCustomerPaymentsLinksStatus' from JSON`);
2486
+ }
2487
+ /** @internal */
2488
+ exports.ListCustomerPaymentsPayOnline$inboundSchema = z.object({
2489
+ href: z.string(),
2490
+ type: z.string(),
2491
+ });
2492
+ /** @internal */
2493
+ exports.ListCustomerPaymentsPayOnline$outboundSchema = z.object({
2494
+ href: z.string(),
2495
+ type: z.string(),
2496
+ });
2497
+ /**
2498
+ * @internal
2499
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2500
+ */
2501
+ var ListCustomerPaymentsPayOnline$;
2502
+ (function (ListCustomerPaymentsPayOnline$) {
2503
+ /** @deprecated use `ListCustomerPaymentsPayOnline$inboundSchema` instead. */
2504
+ ListCustomerPaymentsPayOnline$.inboundSchema = exports.ListCustomerPaymentsPayOnline$inboundSchema;
2505
+ /** @deprecated use `ListCustomerPaymentsPayOnline$outboundSchema` instead. */
2506
+ ListCustomerPaymentsPayOnline$.outboundSchema = exports.ListCustomerPaymentsPayOnline$outboundSchema;
2507
+ })(ListCustomerPaymentsPayOnline$ || (exports.ListCustomerPaymentsPayOnline$ = ListCustomerPaymentsPayOnline$ = {}));
2508
+ function listCustomerPaymentsPayOnlineToJSON(listCustomerPaymentsPayOnline) {
2509
+ return JSON.stringify(exports.ListCustomerPaymentsPayOnline$outboundSchema.parse(listCustomerPaymentsPayOnline));
2510
+ }
2511
+ function listCustomerPaymentsPayOnlineFromJSON(jsonString) {
2512
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ListCustomerPaymentsPayOnline$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ListCustomerPaymentsPayOnline' from JSON`);
2513
+ }
2514
+ /** @internal */
1784
2515
  exports.ListCustomerPaymentsPaymentLinks$inboundSchema = z.object({
1785
2516
  self: z.lazy(() => exports.ListCustomerPaymentsPaymentSelf$inboundSchema),
1786
2517
  checkout: z.lazy(() => exports.ListCustomerPaymentsCheckout$inboundSchema).optional(),
@@ -1800,6 +2531,10 @@ exports.ListCustomerPaymentsPaymentLinks$inboundSchema = z.object({
1800
2531
  order: z.lazy(() => exports.ListCustomerPaymentsOrder$inboundSchema).optional(),
1801
2532
  terminal: z.lazy(() => exports.ListCustomerPaymentsTerminal$inboundSchema).optional(),
1802
2533
  documentation: z.lazy(() => exports.ListCustomerPaymentsPaymentDocumentation$inboundSchema).optional(),
2534
+ status: z.lazy(() => exports.ListCustomerPaymentsLinksStatus$inboundSchema)
2535
+ .optional(),
2536
+ payOnline: z.lazy(() => exports.ListCustomerPaymentsPayOnline$inboundSchema)
2537
+ .optional(),
1803
2538
  });
1804
2539
  /** @internal */
1805
2540
  exports.ListCustomerPaymentsPaymentLinks$outboundSchema = z.object({
@@ -1825,6 +2560,10 @@ exports.ListCustomerPaymentsPaymentLinks$outboundSchema = z.object({
1825
2560
  terminal: z.lazy(() => exports.ListCustomerPaymentsTerminal$outboundSchema)
1826
2561
  .optional(),
1827
2562
  documentation: z.lazy(() => exports.ListCustomerPaymentsPaymentDocumentation$outboundSchema).optional(),
2563
+ status: z.lazy(() => exports.ListCustomerPaymentsLinksStatus$outboundSchema)
2564
+ .optional(),
2565
+ payOnline: z.lazy(() => exports.ListCustomerPaymentsPayOnline$outboundSchema)
2566
+ .optional(),
1828
2567
  });
1829
2568
  /**
1830
2569
  * @internal
@@ -1882,10 +2621,11 @@ exports.ListCustomerPaymentsPaymentOutput$inboundSchema = z.object({
1882
2621
  profileId: z.string(),
1883
2622
  settlementId: z.nullable(z.string()).optional(),
1884
2623
  orderId: z.nullable(z.string()).optional(),
1885
- status: exports.ListCustomerPaymentsStatus$inboundSchema,
2624
+ status: exports.ListCustomerPaymentsStatusEnum$inboundSchema,
1886
2625
  statusReason: z.nullable(z.lazy(() => exports.ListCustomerPaymentsStatusReason$inboundSchema)).optional(),
1887
2626
  isCancelable: z.nullable(z.boolean()).optional(),
1888
- details: z.nullable(z.record(z.any())).optional(),
2627
+ details: z.nullable(z.lazy(() => exports.ListCustomerPaymentsDetails$inboundSchema))
2628
+ .optional(),
1889
2629
  createdAt: z.string(),
1890
2630
  authorizedAt: z.nullable(z.string()).optional(),
1891
2631
  paidAt: z.nullable(z.string()).optional(),
@@ -1935,10 +2675,11 @@ exports.ListCustomerPaymentsPaymentOutput$outboundSchema = z.object({
1935
2675
  profileId: z.string(),
1936
2676
  settlementId: z.nullable(z.string()).optional(),
1937
2677
  orderId: z.nullable(z.string()).optional(),
1938
- status: exports.ListCustomerPaymentsStatus$outboundSchema,
2678
+ status: exports.ListCustomerPaymentsStatusEnum$outboundSchema,
1939
2679
  statusReason: z.nullable(z.lazy(() => exports.ListCustomerPaymentsStatusReason$outboundSchema)).optional(),
1940
2680
  isCancelable: z.nullable(z.boolean()).optional(),
1941
- details: z.nullable(z.record(z.any())).optional(),
2681
+ details: z.nullable(z.lazy(() => exports.ListCustomerPaymentsDetails$outboundSchema))
2682
+ .optional(),
1942
2683
  createdAt: z.string(),
1943
2684
  authorizedAt: z.nullable(z.string()).optional(),
1944
2685
  paidAt: z.nullable(z.string()).optional(),
@@ -2104,22 +2845,17 @@ function listCustomerPaymentsDocumentationFromJSON(jsonString) {
2104
2845
  }
2105
2846
  /** @internal */
2106
2847
  exports.ListCustomerPaymentsLinks$inboundSchema = z.object({
2107
- self: z.lazy(() => exports.ListCustomerPaymentsSelf$inboundSchema).optional(),
2108
- previous: z.nullable(z.lazy(() => exports.ListCustomerPaymentsPrevious$inboundSchema))
2109
- .optional(),
2110
- next: z.nullable(z.lazy(() => exports.ListCustomerPaymentsNext$inboundSchema))
2111
- .optional(),
2112
- documentation: z.lazy(() => exports.ListCustomerPaymentsDocumentation$inboundSchema)
2113
- .optional(),
2848
+ self: z.lazy(() => exports.ListCustomerPaymentsSelf$inboundSchema),
2849
+ previous: z.nullable(z.lazy(() => exports.ListCustomerPaymentsPrevious$inboundSchema)),
2850
+ next: z.nullable(z.lazy(() => exports.ListCustomerPaymentsNext$inboundSchema)),
2851
+ documentation: z.lazy(() => exports.ListCustomerPaymentsDocumentation$inboundSchema),
2114
2852
  });
2115
2853
  /** @internal */
2116
2854
  exports.ListCustomerPaymentsLinks$outboundSchema = z.object({
2117
- self: z.lazy(() => exports.ListCustomerPaymentsSelf$outboundSchema).optional(),
2118
- previous: z.nullable(z.lazy(() => exports.ListCustomerPaymentsPrevious$outboundSchema)).optional(),
2119
- next: z.nullable(z.lazy(() => exports.ListCustomerPaymentsNext$outboundSchema))
2120
- .optional(),
2121
- documentation: z.lazy(() => exports.ListCustomerPaymentsDocumentation$outboundSchema)
2122
- .optional(),
2855
+ self: z.lazy(() => exports.ListCustomerPaymentsSelf$outboundSchema),
2856
+ previous: z.nullable(z.lazy(() => exports.ListCustomerPaymentsPrevious$outboundSchema)),
2857
+ next: z.nullable(z.lazy(() => exports.ListCustomerPaymentsNext$outboundSchema)),
2858
+ documentation: z.lazy(() => exports.ListCustomerPaymentsDocumentation$outboundSchema),
2123
2859
  });
2124
2860
  /**
2125
2861
  * @internal
@@ -2140,10 +2876,9 @@ function listCustomerPaymentsLinksFromJSON(jsonString) {
2140
2876
  }
2141
2877
  /** @internal */
2142
2878
  exports.ListCustomerPaymentsResponse$inboundSchema = z.object({
2143
- count: z.number().int().optional(),
2144
- _embedded: z.lazy(() => exports.ListCustomerPaymentsEmbedded$inboundSchema)
2145
- .optional(),
2146
- _links: z.lazy(() => exports.ListCustomerPaymentsLinks$inboundSchema).optional(),
2879
+ count: z.number().int(),
2880
+ _embedded: z.lazy(() => exports.ListCustomerPaymentsEmbedded$inboundSchema),
2881
+ _links: z.lazy(() => exports.ListCustomerPaymentsLinks$inboundSchema),
2147
2882
  }).transform((v) => {
2148
2883
  return (0, primitives_js_1.remap)(v, {
2149
2884
  "_embedded": "embedded",
@@ -2152,10 +2887,9 @@ exports.ListCustomerPaymentsResponse$inboundSchema = z.object({
2152
2887
  });
2153
2888
  /** @internal */
2154
2889
  exports.ListCustomerPaymentsResponse$outboundSchema = z.object({
2155
- count: z.number().int().optional(),
2156
- embedded: z.lazy(() => exports.ListCustomerPaymentsEmbedded$outboundSchema)
2157
- .optional(),
2158
- links: z.lazy(() => exports.ListCustomerPaymentsLinks$outboundSchema).optional(),
2890
+ count: z.number().int(),
2891
+ embedded: z.lazy(() => exports.ListCustomerPaymentsEmbedded$outboundSchema),
2892
+ links: z.lazy(() => exports.ListCustomerPaymentsLinks$outboundSchema),
2159
2893
  }).transform((v) => {
2160
2894
  return (0, primitives_js_1.remap)(v, {
2161
2895
  embedded: "_embedded",