mollie-api-typescript 0.3.4 → 0.4.1

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 (452) hide show
  1. package/bin/mcp-server.js +608 -630
  2. package/bin/mcp-server.js.map +52 -49
  3. package/dist/commonjs/funcs/clientLinksCreate.d.ts +1 -1
  4. package/dist/commonjs/funcs/clientLinksCreate.d.ts.map +1 -1
  5. package/dist/commonjs/funcs/clientLinksCreate.js +1 -1
  6. package/dist/commonjs/funcs/clientLinksCreate.js.map +1 -1
  7. package/dist/commonjs/funcs/delayedRoutingCreate.js +1 -3
  8. package/dist/commonjs/funcs/delayedRoutingCreate.js.map +1 -1
  9. package/dist/commonjs/funcs/profilesCreate.d.ts +1 -1
  10. package/dist/commonjs/funcs/profilesCreate.d.ts.map +1 -1
  11. package/dist/commonjs/funcs/profilesCreate.js +1 -1
  12. package/dist/commonjs/funcs/profilesCreate.js.map +1 -1
  13. package/dist/commonjs/funcs/profilesGet.d.ts +1 -1
  14. package/dist/commonjs/funcs/profilesGet.d.ts.map +1 -1
  15. package/dist/commonjs/funcs/profilesGet.js +1 -1
  16. package/dist/commonjs/funcs/profilesGet.js.map +1 -1
  17. package/dist/commonjs/funcs/profilesGetCurrent.d.ts +1 -1
  18. package/dist/commonjs/funcs/profilesGetCurrent.d.ts.map +1 -1
  19. package/dist/commonjs/funcs/profilesGetCurrent.js +1 -1
  20. package/dist/commonjs/funcs/profilesGetCurrent.js.map +1 -1
  21. package/dist/commonjs/funcs/profilesUpdate.d.ts +1 -1
  22. package/dist/commonjs/funcs/profilesUpdate.d.ts.map +1 -1
  23. package/dist/commonjs/funcs/profilesUpdate.js +1 -1
  24. package/dist/commonjs/funcs/profilesUpdate.js.map +1 -1
  25. package/dist/commonjs/lib/config.d.ts +3 -3
  26. package/dist/commonjs/lib/config.js +3 -3
  27. package/dist/commonjs/lib/config.js.map +1 -1
  28. package/dist/commonjs/lib/env.d.ts.map +1 -1
  29. package/dist/commonjs/lib/env.js +18 -1
  30. package/dist/commonjs/lib/env.js.map +1 -1
  31. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  32. package/dist/commonjs/mcp-server/server.js +1 -1
  33. package/dist/commonjs/models/address.d.ts +8 -8
  34. package/dist/commonjs/models/address.d.ts.map +1 -1
  35. package/dist/commonjs/models/address.js +8 -8
  36. package/dist/commonjs/models/address.js.map +1 -1
  37. package/dist/commonjs/models/clientlinkresponse.d.ts +87 -0
  38. package/dist/commonjs/models/clientlinkresponse.d.ts.map +1 -0
  39. package/dist/commonjs/models/clientlinkresponse.js +114 -0
  40. package/dist/commonjs/models/clientlinkresponse.js.map +1 -0
  41. package/dist/commonjs/models/entitybalance.d.ts +20 -20
  42. package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
  43. package/dist/commonjs/models/entitybalance.js +20 -20
  44. package/dist/commonjs/models/entitybalance.js.map +1 -1
  45. package/dist/commonjs/models/entitybalancereport.d.ts +16 -16
  46. package/dist/commonjs/models/entitybalancereport.d.ts.map +1 -1
  47. package/dist/commonjs/models/entitybalancereport.js +16 -16
  48. package/dist/commonjs/models/entitybalancereport.js.map +1 -1
  49. package/dist/commonjs/models/entitybalancetransaction.d.ts +12 -12
  50. package/dist/commonjs/models/entitybalancetransaction.d.ts.map +1 -1
  51. package/dist/commonjs/models/entitybalancetransaction.js +12 -12
  52. package/dist/commonjs/models/entitybalancetransaction.js.map +1 -1
  53. package/dist/commonjs/models/entitycapability.d.ts +10 -10
  54. package/dist/commonjs/models/entitycapability.d.ts.map +1 -1
  55. package/dist/commonjs/models/entitycapability.js +10 -10
  56. package/dist/commonjs/models/entitycapability.js.map +1 -1
  57. package/dist/commonjs/models/entitycapabilityrequirement.d.ts +12 -53
  58. package/dist/commonjs/models/entitycapabilityrequirement.d.ts.map +1 -1
  59. package/dist/commonjs/models/entitycapabilityrequirement.js +12 -42
  60. package/dist/commonjs/models/entitycapabilityrequirement.js.map +1 -1
  61. package/dist/commonjs/models/entityinvoice.d.ts +32 -35
  62. package/dist/commonjs/models/entityinvoice.d.ts.map +1 -1
  63. package/dist/commonjs/models/entityinvoice.js +32 -32
  64. package/dist/commonjs/models/entityinvoice.js.map +1 -1
  65. package/dist/commonjs/models/entityonboardingstatus.d.ts +14 -14
  66. package/dist/commonjs/models/entityonboardingstatus.d.ts.map +1 -1
  67. package/dist/commonjs/models/entityonboardingstatus.js +14 -14
  68. package/dist/commonjs/models/entityonboardingstatus.js.map +1 -1
  69. package/dist/commonjs/models/entityorganization.d.ts +16 -19
  70. package/dist/commonjs/models/entityorganization.d.ts.map +1 -1
  71. package/dist/commonjs/models/entityorganization.js +16 -16
  72. package/dist/commonjs/models/entityorganization.js.map +1 -1
  73. package/dist/commonjs/models/entitypermission.d.ts +10 -10
  74. package/dist/commonjs/models/entitypermission.d.ts.map +1 -1
  75. package/dist/commonjs/models/entitypermission.js +10 -10
  76. package/dist/commonjs/models/entitypermission.js.map +1 -1
  77. package/dist/commonjs/models/entityroute.d.ts +92 -0
  78. package/dist/commonjs/models/entityroute.d.ts.map +1 -0
  79. package/dist/commonjs/models/entityroute.js +110 -0
  80. package/dist/commonjs/models/entityroute.js.map +1 -0
  81. package/dist/commonjs/models/entitysalesinvoice.d.ts +0 -12
  82. package/dist/commonjs/models/entitysalesinvoice.d.ts.map +1 -1
  83. package/dist/commonjs/models/entitysalesinvoice.js +0 -2
  84. package/dist/commonjs/models/entitysalesinvoice.js.map +1 -1
  85. package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts +0 -12
  86. package/dist/commonjs/models/entitysalesinvoiceresponse.d.ts.map +1 -1
  87. package/dist/commonjs/models/entitysalesinvoiceresponse.js +0 -2
  88. package/dist/commonjs/models/entitysalesinvoiceresponse.js.map +1 -1
  89. package/dist/commonjs/models/entitywebhookevent.d.ts +5 -5
  90. package/dist/commonjs/models/entitywebhookevent.d.ts.map +1 -1
  91. package/dist/commonjs/models/entitywebhookevent.js +5 -8
  92. package/dist/commonjs/models/entitywebhookevent.js.map +1 -1
  93. package/dist/commonjs/models/index.d.ts +6 -3
  94. package/dist/commonjs/models/index.d.ts.map +1 -1
  95. package/dist/commonjs/models/index.js +6 -3
  96. package/dist/commonjs/models/index.js.map +1 -1
  97. package/dist/commonjs/models/methodincludewalletsparameter.d.ts +25 -0
  98. package/dist/commonjs/models/methodincludewalletsparameter.d.ts.map +1 -0
  99. package/dist/commonjs/models/methodincludewalletsparameter.js +59 -0
  100. package/dist/commonjs/models/methodincludewalletsparameter.js.map +1 -0
  101. package/dist/commonjs/models/methodresourceparameter.d.ts +28 -0
  102. package/dist/commonjs/models/methodresourceparameter.d.ts.map +1 -0
  103. package/dist/commonjs/models/methodresourceparameter.js +60 -0
  104. package/dist/commonjs/models/methodresourceparameter.js.map +1 -0
  105. package/dist/commonjs/models/onboardingvatregulation.d.ts +47 -0
  106. package/dist/commonjs/models/onboardingvatregulation.d.ts.map +1 -0
  107. package/dist/commonjs/models/onboardingvatregulation.js +69 -0
  108. package/dist/commonjs/models/onboardingvatregulation.js.map +1 -0
  109. package/dist/commonjs/models/operations/getbalancereport.d.ts +3 -48
  110. package/dist/commonjs/models/operations/getbalancereport.d.ts.map +1 -1
  111. package/dist/commonjs/models/operations/getbalancereport.js +4 -33
  112. package/dist/commonjs/models/operations/getbalancereport.js.map +1 -1
  113. package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
  114. package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
  115. package/dist/commonjs/models/operations/listallchargebacks.js +8 -8
  116. package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
  117. package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
  118. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  119. package/dist/commonjs/models/operations/listbalances.js +8 -8
  120. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  121. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
  122. package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
  123. package/dist/commonjs/models/operations/listbalancetransactions.js +8 -12
  124. package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
  125. package/dist/commonjs/models/operations/listcapabilities.d.ts +13 -37
  126. package/dist/commonjs/models/operations/listcapabilities.d.ts.map +1 -1
  127. package/dist/commonjs/models/operations/listcapabilities.js +11 -40
  128. package/dist/commonjs/models/operations/listcapabilities.js.map +1 -1
  129. package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
  130. package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
  131. package/dist/commonjs/models/operations/listchargebacks.js +8 -8
  132. package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
  133. package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
  134. package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
  135. package/dist/commonjs/models/operations/listinvoices.js +8 -8
  136. package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
  137. package/dist/commonjs/models/operations/listmethods.d.ts +2 -84
  138. package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
  139. package/dist/commonjs/models/operations/listmethods.js +6 -60
  140. package/dist/commonjs/models/operations/listmethods.js.map +1 -1
  141. package/dist/commonjs/models/operations/listpermissions.d.ts +8 -8
  142. package/dist/commonjs/models/operations/listpermissions.d.ts.map +1 -1
  143. package/dist/commonjs/models/operations/listpermissions.js +8 -8
  144. package/dist/commonjs/models/operations/listpermissions.js.map +1 -1
  145. package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
  146. package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
  147. package/dist/commonjs/models/operations/listprofiles.js +8 -8
  148. package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
  149. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
  150. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  151. package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
  152. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  153. package/dist/commonjs/models/operations/paymentcreateroute.d.ts +2 -2
  154. package/dist/commonjs/models/operations/paymentcreateroute.d.ts.map +1 -1
  155. package/dist/commonjs/models/operations/paymentcreateroute.js +4 -4
  156. package/dist/commonjs/models/operations/paymentcreateroute.js.map +1 -1
  157. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +8 -8
  158. package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
  159. package/dist/commonjs/models/operations/paymentlistroutes.js +8 -8
  160. package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
  161. package/dist/commonjs/models/operations/submitonboardingdata.d.ts +1 -46
  162. package/dist/commonjs/models/operations/submitonboardingdata.d.ts.map +1 -1
  163. package/dist/commonjs/models/operations/submitonboardingdata.js +5 -31
  164. package/dist/commonjs/models/operations/submitonboardingdata.js.map +1 -1
  165. package/dist/commonjs/models/operations/updateprofile.d.ts +0 -46
  166. package/dist/commonjs/models/operations/updateprofile.d.ts.map +1 -1
  167. package/dist/commonjs/models/operations/updateprofile.js +1 -28
  168. package/dist/commonjs/models/operations/updateprofile.js.map +1 -1
  169. package/dist/commonjs/models/{entityprofileresponse.d.ts → profileresponse.d.ts} +29 -29
  170. package/dist/commonjs/models/profileresponse.d.ts.map +1 -0
  171. package/dist/commonjs/models/{entityprofileresponse.js → profileresponse.js} +34 -34
  172. package/dist/commonjs/models/profileresponse.js.map +1 -0
  173. package/dist/commonjs/models/routecreateresponse.d.ts +14 -14
  174. package/dist/commonjs/models/routecreateresponse.d.ts.map +1 -1
  175. package/dist/commonjs/models/routecreateresponse.js +16 -14
  176. package/dist/commonjs/models/routecreateresponse.js.map +1 -1
  177. package/dist/commonjs/models/routegetresponse.d.ts +14 -14
  178. package/dist/commonjs/models/routegetresponse.d.ts.map +1 -1
  179. package/dist/commonjs/models/routegetresponse.js +16 -14
  180. package/dist/commonjs/models/routegetresponse.js.map +1 -1
  181. package/dist/commonjs/models/updatevaluessalesinvoice.d.ts +0 -10
  182. package/dist/commonjs/models/updatevaluessalesinvoice.d.ts.map +1 -1
  183. package/dist/commonjs/models/updatevaluessalesinvoice.js +0 -2
  184. package/dist/commonjs/models/updatevaluessalesinvoice.js.map +1 -1
  185. package/dist/commonjs/sdk/clientlinks.d.ts +1 -1
  186. package/dist/commonjs/sdk/clientlinks.d.ts.map +1 -1
  187. package/dist/commonjs/sdk/profiles.d.ts +4 -4
  188. package/dist/commonjs/sdk/profiles.d.ts.map +1 -1
  189. package/dist/esm/funcs/clientLinksCreate.d.ts +1 -1
  190. package/dist/esm/funcs/clientLinksCreate.d.ts.map +1 -1
  191. package/dist/esm/funcs/clientLinksCreate.js +1 -1
  192. package/dist/esm/funcs/clientLinksCreate.js.map +1 -1
  193. package/dist/esm/funcs/delayedRoutingCreate.js +1 -3
  194. package/dist/esm/funcs/delayedRoutingCreate.js.map +1 -1
  195. package/dist/esm/funcs/profilesCreate.d.ts +1 -1
  196. package/dist/esm/funcs/profilesCreate.d.ts.map +1 -1
  197. package/dist/esm/funcs/profilesCreate.js +1 -1
  198. package/dist/esm/funcs/profilesCreate.js.map +1 -1
  199. package/dist/esm/funcs/profilesGet.d.ts +1 -1
  200. package/dist/esm/funcs/profilesGet.d.ts.map +1 -1
  201. package/dist/esm/funcs/profilesGet.js +1 -1
  202. package/dist/esm/funcs/profilesGet.js.map +1 -1
  203. package/dist/esm/funcs/profilesGetCurrent.d.ts +1 -1
  204. package/dist/esm/funcs/profilesGetCurrent.d.ts.map +1 -1
  205. package/dist/esm/funcs/profilesGetCurrent.js +1 -1
  206. package/dist/esm/funcs/profilesGetCurrent.js.map +1 -1
  207. package/dist/esm/funcs/profilesUpdate.d.ts +1 -1
  208. package/dist/esm/funcs/profilesUpdate.d.ts.map +1 -1
  209. package/dist/esm/funcs/profilesUpdate.js +1 -1
  210. package/dist/esm/funcs/profilesUpdate.js.map +1 -1
  211. package/dist/esm/lib/config.d.ts +3 -3
  212. package/dist/esm/lib/config.js +3 -3
  213. package/dist/esm/lib/config.js.map +1 -1
  214. package/dist/esm/lib/env.d.ts.map +1 -1
  215. package/dist/esm/lib/env.js +18 -1
  216. package/dist/esm/lib/env.js.map +1 -1
  217. package/dist/esm/mcp-server/mcp-server.js +1 -1
  218. package/dist/esm/mcp-server/server.js +1 -1
  219. package/dist/esm/models/address.d.ts +8 -8
  220. package/dist/esm/models/address.d.ts.map +1 -1
  221. package/dist/esm/models/address.js +8 -8
  222. package/dist/esm/models/address.js.map +1 -1
  223. package/dist/esm/models/clientlinkresponse.d.ts +87 -0
  224. package/dist/esm/models/clientlinkresponse.d.ts.map +1 -0
  225. package/dist/esm/models/clientlinkresponse.js +74 -0
  226. package/dist/esm/models/clientlinkresponse.js.map +1 -0
  227. package/dist/esm/models/entitybalance.d.ts +20 -20
  228. package/dist/esm/models/entitybalance.d.ts.map +1 -1
  229. package/dist/esm/models/entitybalance.js +20 -20
  230. package/dist/esm/models/entitybalance.js.map +1 -1
  231. package/dist/esm/models/entitybalancereport.d.ts +16 -16
  232. package/dist/esm/models/entitybalancereport.d.ts.map +1 -1
  233. package/dist/esm/models/entitybalancereport.js +16 -16
  234. package/dist/esm/models/entitybalancereport.js.map +1 -1
  235. package/dist/esm/models/entitybalancetransaction.d.ts +12 -12
  236. package/dist/esm/models/entitybalancetransaction.d.ts.map +1 -1
  237. package/dist/esm/models/entitybalancetransaction.js +12 -12
  238. package/dist/esm/models/entitybalancetransaction.js.map +1 -1
  239. package/dist/esm/models/entitycapability.d.ts +10 -10
  240. package/dist/esm/models/entitycapability.d.ts.map +1 -1
  241. package/dist/esm/models/entitycapability.js +10 -10
  242. package/dist/esm/models/entitycapability.js.map +1 -1
  243. package/dist/esm/models/entitycapabilityrequirement.d.ts +12 -53
  244. package/dist/esm/models/entitycapabilityrequirement.d.ts.map +1 -1
  245. package/dist/esm/models/entitycapabilityrequirement.js +11 -39
  246. package/dist/esm/models/entitycapabilityrequirement.js.map +1 -1
  247. package/dist/esm/models/entityinvoice.d.ts +32 -35
  248. package/dist/esm/models/entityinvoice.d.ts.map +1 -1
  249. package/dist/esm/models/entityinvoice.js +32 -32
  250. package/dist/esm/models/entityinvoice.js.map +1 -1
  251. package/dist/esm/models/entityonboardingstatus.d.ts +14 -14
  252. package/dist/esm/models/entityonboardingstatus.d.ts.map +1 -1
  253. package/dist/esm/models/entityonboardingstatus.js +14 -14
  254. package/dist/esm/models/entityonboardingstatus.js.map +1 -1
  255. package/dist/esm/models/entityorganization.d.ts +16 -19
  256. package/dist/esm/models/entityorganization.d.ts.map +1 -1
  257. package/dist/esm/models/entityorganization.js +16 -16
  258. package/dist/esm/models/entityorganization.js.map +1 -1
  259. package/dist/esm/models/entitypermission.d.ts +10 -10
  260. package/dist/esm/models/entitypermission.d.ts.map +1 -1
  261. package/dist/esm/models/entitypermission.js +10 -10
  262. package/dist/esm/models/entitypermission.js.map +1 -1
  263. package/dist/esm/models/entityroute.d.ts +92 -0
  264. package/dist/esm/models/entityroute.d.ts.map +1 -0
  265. package/dist/esm/models/entityroute.js +70 -0
  266. package/dist/esm/models/entityroute.js.map +1 -0
  267. package/dist/esm/models/entitysalesinvoice.d.ts +0 -12
  268. package/dist/esm/models/entitysalesinvoice.d.ts.map +1 -1
  269. package/dist/esm/models/entitysalesinvoice.js +0 -2
  270. package/dist/esm/models/entitysalesinvoice.js.map +1 -1
  271. package/dist/esm/models/entitysalesinvoiceresponse.d.ts +0 -12
  272. package/dist/esm/models/entitysalesinvoiceresponse.d.ts.map +1 -1
  273. package/dist/esm/models/entitysalesinvoiceresponse.js +0 -2
  274. package/dist/esm/models/entitysalesinvoiceresponse.js.map +1 -1
  275. package/dist/esm/models/entitywebhookevent.d.ts +5 -5
  276. package/dist/esm/models/entitywebhookevent.d.ts.map +1 -1
  277. package/dist/esm/models/entitywebhookevent.js +5 -8
  278. package/dist/esm/models/entitywebhookevent.js.map +1 -1
  279. package/dist/esm/models/index.d.ts +6 -3
  280. package/dist/esm/models/index.d.ts.map +1 -1
  281. package/dist/esm/models/index.js +6 -3
  282. package/dist/esm/models/index.js.map +1 -1
  283. package/dist/esm/models/methodincludewalletsparameter.d.ts +25 -0
  284. package/dist/esm/models/methodincludewalletsparameter.d.ts.map +1 -0
  285. package/dist/esm/models/methodincludewalletsparameter.js +23 -0
  286. package/dist/esm/models/methodincludewalletsparameter.js.map +1 -0
  287. package/dist/esm/models/methodresourceparameter.d.ts +28 -0
  288. package/dist/esm/models/methodresourceparameter.d.ts.map +1 -0
  289. package/dist/esm/models/methodresourceparameter.js +24 -0
  290. package/dist/esm/models/methodresourceparameter.js.map +1 -0
  291. package/dist/esm/models/onboardingvatregulation.d.ts +47 -0
  292. package/dist/esm/models/onboardingvatregulation.d.ts.map +1 -0
  293. package/dist/esm/models/onboardingvatregulation.js +33 -0
  294. package/dist/esm/models/onboardingvatregulation.js.map +1 -0
  295. package/dist/esm/models/operations/getbalancereport.d.ts +3 -48
  296. package/dist/esm/models/operations/getbalancereport.d.ts.map +1 -1
  297. package/dist/esm/models/operations/getbalancereport.js +3 -32
  298. package/dist/esm/models/operations/getbalancereport.js.map +1 -1
  299. package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
  300. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  301. package/dist/esm/models/operations/listallchargebacks.js +8 -8
  302. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  303. package/dist/esm/models/operations/listbalances.d.ts +8 -8
  304. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  305. package/dist/esm/models/operations/listbalances.js +8 -8
  306. package/dist/esm/models/operations/listbalances.js.map +1 -1
  307. package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
  308. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  309. package/dist/esm/models/operations/listbalancetransactions.js +8 -12
  310. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  311. package/dist/esm/models/operations/listcapabilities.d.ts +13 -37
  312. package/dist/esm/models/operations/listcapabilities.d.ts.map +1 -1
  313. package/dist/esm/models/operations/listcapabilities.js +10 -37
  314. package/dist/esm/models/operations/listcapabilities.js.map +1 -1
  315. package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
  316. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  317. package/dist/esm/models/operations/listchargebacks.js +8 -8
  318. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  319. package/dist/esm/models/operations/listinvoices.d.ts +8 -8
  320. package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
  321. package/dist/esm/models/operations/listinvoices.js +8 -8
  322. package/dist/esm/models/operations/listinvoices.js.map +1 -1
  323. package/dist/esm/models/operations/listmethods.d.ts +2 -84
  324. package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
  325. package/dist/esm/models/operations/listmethods.js +5 -59
  326. package/dist/esm/models/operations/listmethods.js.map +1 -1
  327. package/dist/esm/models/operations/listpermissions.d.ts +8 -8
  328. package/dist/esm/models/operations/listpermissions.d.ts.map +1 -1
  329. package/dist/esm/models/operations/listpermissions.js +8 -8
  330. package/dist/esm/models/operations/listpermissions.js.map +1 -1
  331. package/dist/esm/models/operations/listprofiles.d.ts +8 -8
  332. package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
  333. package/dist/esm/models/operations/listprofiles.js +8 -8
  334. package/dist/esm/models/operations/listprofiles.js.map +1 -1
  335. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
  336. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  337. package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
  338. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  339. package/dist/esm/models/operations/paymentcreateroute.d.ts +2 -2
  340. package/dist/esm/models/operations/paymentcreateroute.d.ts.map +1 -1
  341. package/dist/esm/models/operations/paymentcreateroute.js +4 -4
  342. package/dist/esm/models/operations/paymentcreateroute.js.map +1 -1
  343. package/dist/esm/models/operations/paymentlistroutes.d.ts +8 -8
  344. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  345. package/dist/esm/models/operations/paymentlistroutes.js +8 -8
  346. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  347. package/dist/esm/models/operations/submitonboardingdata.d.ts +1 -46
  348. package/dist/esm/models/operations/submitonboardingdata.d.ts.map +1 -1
  349. package/dist/esm/models/operations/submitonboardingdata.js +4 -30
  350. package/dist/esm/models/operations/submitonboardingdata.js.map +1 -1
  351. package/dist/esm/models/operations/updateprofile.d.ts +0 -46
  352. package/dist/esm/models/operations/updateprofile.d.ts.map +1 -1
  353. package/dist/esm/models/operations/updateprofile.js +0 -27
  354. package/dist/esm/models/operations/updateprofile.js.map +1 -1
  355. package/dist/esm/models/{entityprofileresponse.d.ts → profileresponse.d.ts} +29 -29
  356. package/dist/esm/models/profileresponse.d.ts.map +1 -0
  357. package/dist/esm/models/{entityprofileresponse.js → profileresponse.js} +29 -29
  358. package/dist/esm/models/profileresponse.js.map +1 -0
  359. package/dist/esm/models/routecreateresponse.d.ts +14 -14
  360. package/dist/esm/models/routecreateresponse.d.ts.map +1 -1
  361. package/dist/esm/models/routecreateresponse.js +16 -14
  362. package/dist/esm/models/routecreateresponse.js.map +1 -1
  363. package/dist/esm/models/routegetresponse.d.ts +14 -14
  364. package/dist/esm/models/routegetresponse.d.ts.map +1 -1
  365. package/dist/esm/models/routegetresponse.js +16 -14
  366. package/dist/esm/models/routegetresponse.js.map +1 -1
  367. package/dist/esm/models/updatevaluessalesinvoice.d.ts +0 -10
  368. package/dist/esm/models/updatevaluessalesinvoice.d.ts.map +1 -1
  369. package/dist/esm/models/updatevaluessalesinvoice.js +0 -2
  370. package/dist/esm/models/updatevaluessalesinvoice.js.map +1 -1
  371. package/dist/esm/sdk/clientlinks.d.ts +1 -1
  372. package/dist/esm/sdk/clientlinks.d.ts.map +1 -1
  373. package/dist/esm/sdk/profiles.d.ts +4 -4
  374. package/dist/esm/sdk/profiles.d.ts.map +1 -1
  375. package/docs/sdks/clientlinks/README.md +1 -1
  376. package/docs/sdks/delayedrouting/README.md +2 -2
  377. package/docs/sdks/profiles/README.md +4 -6
  378. package/docs/sdks/salesinvoices/README.md +0 -4
  379. package/examples/package-lock.json +1 -1
  380. package/jsr.json +1 -1
  381. package/package.json +1 -1
  382. package/src/funcs/clientLinksCreate.ts +4 -4
  383. package/src/funcs/delayedRoutingCreate.ts +1 -3
  384. package/src/funcs/profilesCreate.ts +4 -4
  385. package/src/funcs/profilesGet.ts +4 -4
  386. package/src/funcs/profilesGetCurrent.ts +4 -4
  387. package/src/funcs/profilesUpdate.ts +4 -4
  388. package/src/lib/config.ts +3 -3
  389. package/src/lib/env.ts +20 -3
  390. package/src/mcp-server/mcp-server.ts +1 -1
  391. package/src/mcp-server/server.ts +1 -1
  392. package/src/models/address.ts +16 -16
  393. package/src/models/{entityclientlinkresponse.ts → clientlinkresponse.ts} +46 -48
  394. package/src/models/entitybalance.ts +40 -40
  395. package/src/models/entitybalancereport.ts +32 -32
  396. package/src/models/entitybalancetransaction.ts +24 -24
  397. package/src/models/entitycapability.ts +20 -20
  398. package/src/models/entitycapabilityrequirement.ts +27 -96
  399. package/src/models/entityinvoice.ts +64 -67
  400. package/src/models/entityonboardingstatus.ts +28 -28
  401. package/src/models/entityorganization.ts +32 -35
  402. package/src/models/entitypermission.ts +20 -20
  403. package/src/models/entityroute.ts +179 -0
  404. package/src/models/entitysalesinvoice.ts +0 -14
  405. package/src/models/entitysalesinvoiceresponse.ts +0 -14
  406. package/src/models/entitywebhookevent.ts +14 -20
  407. package/src/models/index.ts +6 -3
  408. package/src/models/methodincludewalletsparameter.ts +34 -0
  409. package/src/models/methodresourceparameter.ts +35 -0
  410. package/src/models/onboardingvatregulation.ts +52 -0
  411. package/src/models/operations/getbalancereport.ts +5 -50
  412. package/src/models/operations/listallchargebacks.ts +16 -16
  413. package/src/models/operations/listbalances.ts +16 -16
  414. package/src/models/operations/listbalancetransactions.ts +16 -22
  415. package/src/models/operations/listcapabilities.ts +23 -78
  416. package/src/models/operations/listchargebacks.ts +16 -16
  417. package/src/models/operations/listinvoices.ts +16 -16
  418. package/src/models/operations/listmethods.ts +7 -92
  419. package/src/models/operations/listpermissions.ts +16 -16
  420. package/src/models/operations/listprofiles.ts +16 -16
  421. package/src/models/operations/listsettlementchargebacks.ts +16 -18
  422. package/src/models/operations/paymentcreateroute.ts +6 -6
  423. package/src/models/operations/paymentlistroutes.ts +16 -16
  424. package/src/models/operations/submitonboardingdata.ts +5 -48
  425. package/src/models/operations/updateprofile.ts +0 -49
  426. package/src/models/{entityprofileresponse.ts → profileresponse.ts} +46 -48
  427. package/src/models/routecreateresponse.ts +30 -28
  428. package/src/models/routegetresponse.ts +30 -28
  429. package/src/models/updatevaluessalesinvoice.ts +0 -12
  430. package/src/sdk/clientlinks.ts +1 -1
  431. package/src/sdk/profiles.ts +4 -4
  432. package/dist/commonjs/models/entityclientlinkresponse.d.ts +0 -87
  433. package/dist/commonjs/models/entityclientlinkresponse.d.ts.map +0 -1
  434. package/dist/commonjs/models/entityclientlinkresponse.js +0 -114
  435. package/dist/commonjs/models/entityclientlinkresponse.js.map +0 -1
  436. package/dist/commonjs/models/entityprofileresponse.d.ts.map +0 -1
  437. package/dist/commonjs/models/entityprofileresponse.js.map +0 -1
  438. package/dist/commonjs/models/routecreaterequest.d.ts +0 -92
  439. package/dist/commonjs/models/routecreaterequest.d.ts.map +0 -1
  440. package/dist/commonjs/models/routecreaterequest.js +0 -112
  441. package/dist/commonjs/models/routecreaterequest.js.map +0 -1
  442. package/dist/esm/models/entityclientlinkresponse.d.ts +0 -87
  443. package/dist/esm/models/entityclientlinkresponse.d.ts.map +0 -1
  444. package/dist/esm/models/entityclientlinkresponse.js +0 -74
  445. package/dist/esm/models/entityclientlinkresponse.js.map +0 -1
  446. package/dist/esm/models/entityprofileresponse.d.ts.map +0 -1
  447. package/dist/esm/models/entityprofileresponse.js.map +0 -1
  448. package/dist/esm/models/routecreaterequest.d.ts +0 -92
  449. package/dist/esm/models/routecreaterequest.d.ts.map +0 -1
  450. package/dist/esm/models/routecreaterequest.js +0 -72
  451. package/dist/esm/models/routecreaterequest.js.map +0 -1
  452. package/src/models/routecreaterequest.ts +0 -187
@@ -5,34 +5,10 @@
5
5
  import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
- import { ClosedEnum } from "../../types/enums.js";
9
8
  import { Result as SafeParseResult } from "../../types/fp.js";
10
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
10
  import * as models from "../index.js";
12
11
 
13
- /**
14
- * Mollie applies Dutch VAT for merchants based in The Netherlands, British VAT for merchants based in
15
- *
16
- * @remarks
17
- * The United Kingdom, and shifted VAT for merchants in the European Union.
18
- *
19
- * The field can be omitted for merchants residing in other countries.
20
- */
21
- export const VatRegulation = {
22
- Dutch: "dutch",
23
- British: "british",
24
- Shifted: "shifted",
25
- } as const;
26
- /**
27
- * Mollie applies Dutch VAT for merchants based in The Netherlands, British VAT for merchants based in
28
- *
29
- * @remarks
30
- * The United Kingdom, and shifted VAT for merchants in the European Union.
31
- *
32
- * The field can be omitted for merchants residing in other countries.
33
- */
34
- export type VatRegulation = ClosedEnum<typeof VatRegulation>;
35
-
36
12
  export type Organization = {
37
13
  /**
38
14
  * The name of the organization.
@@ -60,7 +36,7 @@ export type Organization = {
60
36
  *
61
37
  * The field can be omitted for merchants residing in other countries.
62
38
  */
63
- vatRegulation?: VatRegulation | null | undefined;
39
+ vatRegulation?: models.OnboardingVatRegulation | null | undefined;
64
40
  };
65
41
 
66
42
  export type Profile = {
@@ -112,27 +88,6 @@ export type SubmitOnboardingDataRequest = {
112
88
  requestBody?: SubmitOnboardingDataRequestBody | undefined;
113
89
  };
114
90
 
115
- /** @internal */
116
- export const VatRegulation$inboundSchema: z.ZodNativeEnum<
117
- typeof VatRegulation
118
- > = z.nativeEnum(VatRegulation);
119
-
120
- /** @internal */
121
- export const VatRegulation$outboundSchema: z.ZodNativeEnum<
122
- typeof VatRegulation
123
- > = VatRegulation$inboundSchema;
124
-
125
- /**
126
- * @internal
127
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
128
- */
129
- export namespace VatRegulation$ {
130
- /** @deprecated use `VatRegulation$inboundSchema` instead. */
131
- export const inboundSchema = VatRegulation$inboundSchema;
132
- /** @deprecated use `VatRegulation$outboundSchema` instead. */
133
- export const outboundSchema = VatRegulation$outboundSchema;
134
- }
135
-
136
91
  /** @internal */
137
92
  export const Organization$inboundSchema: z.ZodType<
138
93
  Organization,
@@ -143,7 +98,8 @@ export const Organization$inboundSchema: z.ZodType<
143
98
  address: models.Address$inboundSchema.optional(),
144
99
  registrationNumber: z.string().optional(),
145
100
  vatNumber: z.nullable(z.string()).optional(),
146
- vatRegulation: z.nullable(VatRegulation$inboundSchema).optional(),
101
+ vatRegulation: z.nullable(models.OnboardingVatRegulation$inboundSchema)
102
+ .optional(),
147
103
  });
148
104
 
149
105
  /** @internal */
@@ -165,7 +121,8 @@ export const Organization$outboundSchema: z.ZodType<
165
121
  address: models.Address$outboundSchema.optional(),
166
122
  registrationNumber: z.string().optional(),
167
123
  vatNumber: z.nullable(z.string()).optional(),
168
- vatRegulation: z.nullable(VatRegulation$outboundSchema).optional(),
124
+ vatRegulation: z.nullable(models.OnboardingVatRegulation$outboundSchema)
125
+ .optional(),
169
126
  });
170
127
 
171
128
  /**
@@ -5,28 +5,9 @@
5
5
  import * as z from "zod";
6
6
  import { remap as remap$ } from "../../lib/primitives.js";
7
7
  import { safeParse } from "../../lib/schemas.js";
8
- import { ClosedEnum } from "../../types/enums.js";
9
8
  import { Result as SafeParseResult } from "../../types/fp.js";
10
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
10
 
12
- /**
13
- * Updating a profile from `test` mode to `live` mode will trigger a verification process, where we review
14
- *
15
- * @remarks
16
- * the profile before it can start accepting payments.
17
- */
18
- export const Mode = {
19
- Live: "live",
20
- Test: "test",
21
- } as const;
22
- /**
23
- * Updating a profile from `test` mode to `live` mode will trigger a verification process, where we review
24
- *
25
- * @remarks
26
- * the profile before it can start accepting payments.
27
- */
28
- export type Mode = ClosedEnum<typeof Mode>;
29
-
30
11
  export type UpdateProfileRequestBody = {
31
12
  /**
32
13
  * The profile's name, this will usually reflect the trade name or brand name of the profile's website or
@@ -68,13 +49,6 @@ export type UpdateProfileRequestBody = {
68
49
  * [business category list](common-data-types) for all possible options.
69
50
  */
70
51
  businessCategory?: string | null | undefined;
71
- /**
72
- * Updating a profile from `test` mode to `live` mode will trigger a verification process, where we review
73
- *
74
- * @remarks
75
- * the profile before it can start accepting payments.
76
- */
77
- mode?: Mode | null | undefined;
78
52
  };
79
53
 
80
54
  export type UpdateProfileRequest = {
@@ -89,26 +63,6 @@ export type UpdateProfileRequest = {
89
63
  requestBody: UpdateProfileRequestBody;
90
64
  };
91
65
 
92
- /** @internal */
93
- export const Mode$inboundSchema: z.ZodNativeEnum<typeof Mode> = z.nativeEnum(
94
- Mode,
95
- );
96
-
97
- /** @internal */
98
- export const Mode$outboundSchema: z.ZodNativeEnum<typeof Mode> =
99
- Mode$inboundSchema;
100
-
101
- /**
102
- * @internal
103
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
104
- */
105
- export namespace Mode$ {
106
- /** @deprecated use `Mode$inboundSchema` instead. */
107
- export const inboundSchema = Mode$inboundSchema;
108
- /** @deprecated use `Mode$outboundSchema` instead. */
109
- export const outboundSchema = Mode$outboundSchema;
110
- }
111
-
112
66
  /** @internal */
113
67
  export const UpdateProfileRequestBody$inboundSchema: z.ZodType<
114
68
  UpdateProfileRequestBody,
@@ -122,7 +76,6 @@ export const UpdateProfileRequestBody$inboundSchema: z.ZodType<
122
76
  description: z.nullable(z.string()).optional(),
123
77
  countriesOfActivity: z.nullable(z.array(z.string())).optional(),
124
78
  businessCategory: z.nullable(z.string()).optional(),
125
- mode: z.nullable(Mode$inboundSchema).optional(),
126
79
  });
127
80
 
128
81
  /** @internal */
@@ -134,7 +87,6 @@ export type UpdateProfileRequestBody$Outbound = {
134
87
  description?: string | null | undefined;
135
88
  countriesOfActivity?: Array<string> | null | undefined;
136
89
  businessCategory?: string | null | undefined;
137
- mode?: string | null | undefined;
138
90
  };
139
91
 
140
92
  /** @internal */
@@ -150,7 +102,6 @@ export const UpdateProfileRequestBody$outboundSchema: z.ZodType<
150
102
  description: z.nullable(z.string()).optional(),
151
103
  countriesOfActivity: z.nullable(z.array(z.string())).optional(),
152
104
  businessCategory: z.nullable(z.string()).optional(),
153
- mode: z.nullable(Mode$outboundSchema).optional(),
154
105
  });
155
106
 
156
107
  /**
@@ -42,7 +42,7 @@ export type Review = {
42
42
  /**
43
43
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
44
44
  */
45
- export type EntityProfileResponseLinks = {
45
+ export type ProfileResponseLinks = {
46
46
  /**
47
47
  * In v2 endpoints, URLs are commonly represented as objects with an `href` and `type` field.
48
48
  */
@@ -77,7 +77,7 @@ export type EntityProfileResponseLinks = {
77
77
  documentation?: Url | undefined;
78
78
  };
79
79
 
80
- export type EntityProfileResponse = {
80
+ export type ProfileResponse = {
81
81
  /**
82
82
  * Indicates the response contains a profile object. Will always contain the string `profile` for this endpoint.
83
83
  */
@@ -155,7 +155,7 @@ export type EntityProfileResponse = {
155
155
  /**
156
156
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
157
157
  */
158
- links?: EntityProfileResponseLinks | undefined;
158
+ links?: ProfileResponseLinks | undefined;
159
159
  };
160
160
 
161
161
  /** @internal */
@@ -206,8 +206,8 @@ export function reviewFromJSON(
206
206
  }
207
207
 
208
208
  /** @internal */
209
- export const EntityProfileResponseLinks$inboundSchema: z.ZodType<
210
- EntityProfileResponseLinks,
209
+ export const ProfileResponseLinks$inboundSchema: z.ZodType<
210
+ ProfileResponseLinks,
211
211
  z.ZodTypeDef,
212
212
  unknown
213
213
  > = z.object({
@@ -222,7 +222,7 @@ export const EntityProfileResponseLinks$inboundSchema: z.ZodType<
222
222
  });
223
223
 
224
224
  /** @internal */
225
- export type EntityProfileResponseLinks$Outbound = {
225
+ export type ProfileResponseLinks$Outbound = {
226
226
  self?: Url$Outbound | undefined;
227
227
  dashboard?: Url$Outbound | undefined;
228
228
  chargebacks?: Url$Outbound | undefined;
@@ -234,10 +234,10 @@ export type EntityProfileResponseLinks$Outbound = {
234
234
  };
235
235
 
236
236
  /** @internal */
237
- export const EntityProfileResponseLinks$outboundSchema: z.ZodType<
238
- EntityProfileResponseLinks$Outbound,
237
+ export const ProfileResponseLinks$outboundSchema: z.ZodType<
238
+ ProfileResponseLinks$Outbound,
239
239
  z.ZodTypeDef,
240
- EntityProfileResponseLinks
240
+ ProfileResponseLinks
241
241
  > = z.object({
242
242
  self: Url$outboundSchema.optional(),
243
243
  dashboard: Url$outboundSchema.optional(),
@@ -253,36 +253,36 @@ export const EntityProfileResponseLinks$outboundSchema: z.ZodType<
253
253
  * @internal
254
254
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
255
255
  */
256
- export namespace EntityProfileResponseLinks$ {
257
- /** @deprecated use `EntityProfileResponseLinks$inboundSchema` instead. */
258
- export const inboundSchema = EntityProfileResponseLinks$inboundSchema;
259
- /** @deprecated use `EntityProfileResponseLinks$outboundSchema` instead. */
260
- export const outboundSchema = EntityProfileResponseLinks$outboundSchema;
261
- /** @deprecated use `EntityProfileResponseLinks$Outbound` instead. */
262
- export type Outbound = EntityProfileResponseLinks$Outbound;
256
+ export namespace ProfileResponseLinks$ {
257
+ /** @deprecated use `ProfileResponseLinks$inboundSchema` instead. */
258
+ export const inboundSchema = ProfileResponseLinks$inboundSchema;
259
+ /** @deprecated use `ProfileResponseLinks$outboundSchema` instead. */
260
+ export const outboundSchema = ProfileResponseLinks$outboundSchema;
261
+ /** @deprecated use `ProfileResponseLinks$Outbound` instead. */
262
+ export type Outbound = ProfileResponseLinks$Outbound;
263
263
  }
264
264
 
265
- export function entityProfileResponseLinksToJSON(
266
- entityProfileResponseLinks: EntityProfileResponseLinks,
265
+ export function profileResponseLinksToJSON(
266
+ profileResponseLinks: ProfileResponseLinks,
267
267
  ): string {
268
268
  return JSON.stringify(
269
- EntityProfileResponseLinks$outboundSchema.parse(entityProfileResponseLinks),
269
+ ProfileResponseLinks$outboundSchema.parse(profileResponseLinks),
270
270
  );
271
271
  }
272
272
 
273
- export function entityProfileResponseLinksFromJSON(
273
+ export function profileResponseLinksFromJSON(
274
274
  jsonString: string,
275
- ): SafeParseResult<EntityProfileResponseLinks, SDKValidationError> {
275
+ ): SafeParseResult<ProfileResponseLinks, SDKValidationError> {
276
276
  return safeParse(
277
277
  jsonString,
278
- (x) => EntityProfileResponseLinks$inboundSchema.parse(JSON.parse(x)),
279
- `Failed to parse 'EntityProfileResponseLinks' from JSON`,
278
+ (x) => ProfileResponseLinks$inboundSchema.parse(JSON.parse(x)),
279
+ `Failed to parse 'ProfileResponseLinks' from JSON`,
280
280
  );
281
281
  }
282
282
 
283
283
  /** @internal */
284
- export const EntityProfileResponse$inboundSchema: z.ZodType<
285
- EntityProfileResponse,
284
+ export const ProfileResponse$inboundSchema: z.ZodType<
285
+ ProfileResponse,
286
286
  z.ZodTypeDef,
287
287
  unknown
288
288
  > = z.object({
@@ -299,7 +299,7 @@ export const EntityProfileResponse$inboundSchema: z.ZodType<
299
299
  status: ProfileStatus$inboundSchema.optional(),
300
300
  review: z.lazy(() => Review$inboundSchema).optional(),
301
301
  createdAt: z.string().optional(),
302
- _links: z.lazy(() => EntityProfileResponseLinks$inboundSchema).optional(),
302
+ _links: z.lazy(() => ProfileResponseLinks$inboundSchema).optional(),
303
303
  }).transform((v) => {
304
304
  return remap$(v, {
305
305
  "_links": "links",
@@ -307,7 +307,7 @@ export const EntityProfileResponse$inboundSchema: z.ZodType<
307
307
  });
308
308
 
309
309
  /** @internal */
310
- export type EntityProfileResponse$Outbound = {
310
+ export type ProfileResponse$Outbound = {
311
311
  resource?: string | undefined;
312
312
  id?: string | undefined;
313
313
  mode?: string | undefined;
@@ -321,14 +321,14 @@ export type EntityProfileResponse$Outbound = {
321
321
  status?: string | undefined;
322
322
  review?: Review$Outbound | undefined;
323
323
  createdAt?: string | undefined;
324
- _links?: EntityProfileResponseLinks$Outbound | undefined;
324
+ _links?: ProfileResponseLinks$Outbound | undefined;
325
325
  };
326
326
 
327
327
  /** @internal */
328
- export const EntityProfileResponse$outboundSchema: z.ZodType<
329
- EntityProfileResponse$Outbound,
328
+ export const ProfileResponse$outboundSchema: z.ZodType<
329
+ ProfileResponse$Outbound,
330
330
  z.ZodTypeDef,
331
- EntityProfileResponse
331
+ ProfileResponse
332
332
  > = z.object({
333
333
  resource: z.string().optional(),
334
334
  id: z.string().optional(),
@@ -343,7 +343,7 @@ export const EntityProfileResponse$outboundSchema: z.ZodType<
343
343
  status: ProfileStatus$outboundSchema.optional(),
344
344
  review: z.lazy(() => Review$outboundSchema).optional(),
345
345
  createdAt: z.string().optional(),
346
- links: z.lazy(() => EntityProfileResponseLinks$outboundSchema).optional(),
346
+ links: z.lazy(() => ProfileResponseLinks$outboundSchema).optional(),
347
347
  }).transform((v) => {
348
348
  return remap$(v, {
349
349
  links: "_links",
@@ -354,29 +354,27 @@ export const EntityProfileResponse$outboundSchema: z.ZodType<
354
354
  * @internal
355
355
  * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
356
356
  */
357
- export namespace EntityProfileResponse$ {
358
- /** @deprecated use `EntityProfileResponse$inboundSchema` instead. */
359
- export const inboundSchema = EntityProfileResponse$inboundSchema;
360
- /** @deprecated use `EntityProfileResponse$outboundSchema` instead. */
361
- export const outboundSchema = EntityProfileResponse$outboundSchema;
362
- /** @deprecated use `EntityProfileResponse$Outbound` instead. */
363
- export type Outbound = EntityProfileResponse$Outbound;
357
+ export namespace ProfileResponse$ {
358
+ /** @deprecated use `ProfileResponse$inboundSchema` instead. */
359
+ export const inboundSchema = ProfileResponse$inboundSchema;
360
+ /** @deprecated use `ProfileResponse$outboundSchema` instead. */
361
+ export const outboundSchema = ProfileResponse$outboundSchema;
362
+ /** @deprecated use `ProfileResponse$Outbound` instead. */
363
+ export type Outbound = ProfileResponse$Outbound;
364
364
  }
365
365
 
366
- export function entityProfileResponseToJSON(
367
- entityProfileResponse: EntityProfileResponse,
366
+ export function profileResponseToJSON(
367
+ profileResponse: ProfileResponse,
368
368
  ): string {
369
- return JSON.stringify(
370
- EntityProfileResponse$outboundSchema.parse(entityProfileResponse),
371
- );
369
+ return JSON.stringify(ProfileResponse$outboundSchema.parse(profileResponse));
372
370
  }
373
371
 
374
- export function entityProfileResponseFromJSON(
372
+ export function profileResponseFromJSON(
375
373
  jsonString: string,
376
- ): SafeParseResult<EntityProfileResponse, SDKValidationError> {
374
+ ): SafeParseResult<ProfileResponse, SDKValidationError> {
377
375
  return safeParse(
378
376
  jsonString,
379
- (x) => EntityProfileResponse$inboundSchema.parse(JSON.parse(x)),
380
- `Failed to parse 'EntityProfileResponse' from JSON`,
377
+ (x) => ProfileResponse$inboundSchema.parse(JSON.parse(x)),
378
+ `Failed to parse 'ProfileResponse' from JSON`,
381
379
  );
382
380
  }
@@ -54,25 +54,25 @@ export type RouteCreateResponse = {
54
54
  /**
55
55
  * Indicates the response contains a route object. Will always contain the string `route` for this endpoint.
56
56
  */
57
- resource: string;
58
- id: string;
59
- paymentId: string;
57
+ resource?: string | undefined;
58
+ id?: string | undefined;
59
+ paymentId?: string | undefined;
60
60
  /**
61
61
  * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
62
62
  */
63
- amount: Amount;
63
+ amount?: Amount | undefined;
64
64
  /**
65
65
  * The description of the route. This description is shown in the reports.
66
66
  */
67
- description: string;
67
+ description?: string | undefined;
68
68
  /**
69
69
  * The destination of the route.
70
70
  */
71
- destination: RouteCreateResponseDestination;
71
+ destination?: RouteCreateResponseDestination | undefined;
72
72
  /**
73
73
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
74
74
  */
75
- links: RouteCreateResponseLinks;
75
+ links?: RouteCreateResponseLinks | undefined;
76
76
  };
77
77
 
78
78
  /** @internal */
@@ -197,13 +197,14 @@ export const RouteCreateResponse$inboundSchema: z.ZodType<
197
197
  z.ZodTypeDef,
198
198
  unknown
199
199
  > = z.object({
200
- resource: z.string(),
201
- id: z.string(),
202
- paymentId: z.string(),
203
- amount: Amount$inboundSchema,
204
- description: z.string(),
205
- destination: z.lazy(() => RouteCreateResponseDestination$inboundSchema),
206
- _links: z.lazy(() => RouteCreateResponseLinks$inboundSchema),
200
+ resource: z.string().optional(),
201
+ id: z.string().optional(),
202
+ paymentId: z.string().optional(),
203
+ amount: Amount$inboundSchema.optional(),
204
+ description: z.string().optional(),
205
+ destination: z.lazy(() => RouteCreateResponseDestination$inboundSchema)
206
+ .optional(),
207
+ _links: z.lazy(() => RouteCreateResponseLinks$inboundSchema).optional(),
207
208
  }).transform((v) => {
208
209
  return remap$(v, {
209
210
  "_links": "links",
@@ -212,13 +213,13 @@ export const RouteCreateResponse$inboundSchema: z.ZodType<
212
213
 
213
214
  /** @internal */
214
215
  export type RouteCreateResponse$Outbound = {
215
- resource: string;
216
- id: string;
217
- paymentId: string;
218
- amount: Amount$Outbound;
219
- description: string;
220
- destination: RouteCreateResponseDestination$Outbound;
221
- _links: RouteCreateResponseLinks$Outbound;
216
+ resource?: string | undefined;
217
+ id?: string | undefined;
218
+ paymentId?: string | undefined;
219
+ amount?: Amount$Outbound | undefined;
220
+ description?: string | undefined;
221
+ destination?: RouteCreateResponseDestination$Outbound | undefined;
222
+ _links?: RouteCreateResponseLinks$Outbound | undefined;
222
223
  };
223
224
 
224
225
  /** @internal */
@@ -227,13 +228,14 @@ export const RouteCreateResponse$outboundSchema: z.ZodType<
227
228
  z.ZodTypeDef,
228
229
  RouteCreateResponse
229
230
  > = z.object({
230
- resource: z.string(),
231
- id: z.string(),
232
- paymentId: z.string(),
233
- amount: Amount$outboundSchema,
234
- description: z.string(),
235
- destination: z.lazy(() => RouteCreateResponseDestination$outboundSchema),
236
- links: z.lazy(() => RouteCreateResponseLinks$outboundSchema),
231
+ resource: z.string().optional(),
232
+ id: z.string().optional(),
233
+ paymentId: z.string().optional(),
234
+ amount: Amount$outboundSchema.optional(),
235
+ description: z.string().optional(),
236
+ destination: z.lazy(() => RouteCreateResponseDestination$outboundSchema)
237
+ .optional(),
238
+ links: z.lazy(() => RouteCreateResponseLinks$outboundSchema).optional(),
237
239
  }).transform((v) => {
238
240
  return remap$(v, {
239
241
  links: "_links",
@@ -54,25 +54,25 @@ export type RouteGetResponse = {
54
54
  /**
55
55
  * Indicates the response contains a route object. Will always contain the string `route` for this endpoint.
56
56
  */
57
- resource: string;
58
- id: string;
59
- paymentId: string;
57
+ resource?: string | undefined;
58
+ id?: string | undefined;
59
+ paymentId?: string | undefined;
60
60
  /**
61
61
  * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
62
62
  */
63
- amount: Amount;
63
+ amount?: Amount | undefined;
64
64
  /**
65
65
  * The description of the route. This description is shown in the reports.
66
66
  */
67
- description: string;
67
+ description?: string | undefined;
68
68
  /**
69
69
  * The destination of the route.
70
70
  */
71
- destination: RouteGetResponseDestination;
71
+ destination?: RouteGetResponseDestination | undefined;
72
72
  /**
73
73
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
74
74
  */
75
- links: RouteGetResponseLinks;
75
+ links?: RouteGetResponseLinks | undefined;
76
76
  /**
77
77
  * The entity's date and time of creation, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
78
78
  */
@@ -201,13 +201,14 @@ export const RouteGetResponse$inboundSchema: z.ZodType<
201
201
  z.ZodTypeDef,
202
202
  unknown
203
203
  > = z.object({
204
- resource: z.string(),
205
- id: z.string(),
206
- paymentId: z.string(),
207
- amount: Amount$inboundSchema,
208
- description: z.string(),
209
- destination: z.lazy(() => RouteGetResponseDestination$inboundSchema),
210
- _links: z.lazy(() => RouteGetResponseLinks$inboundSchema),
204
+ resource: z.string().optional(),
205
+ id: z.string().optional(),
206
+ paymentId: z.string().optional(),
207
+ amount: Amount$inboundSchema.optional(),
208
+ description: z.string().optional(),
209
+ destination: z.lazy(() => RouteGetResponseDestination$inboundSchema)
210
+ .optional(),
211
+ _links: z.lazy(() => RouteGetResponseLinks$inboundSchema).optional(),
211
212
  createdAt: z.string(),
212
213
  }).transform((v) => {
213
214
  return remap$(v, {
@@ -217,13 +218,13 @@ export const RouteGetResponse$inboundSchema: z.ZodType<
217
218
 
218
219
  /** @internal */
219
220
  export type RouteGetResponse$Outbound = {
220
- resource: string;
221
- id: string;
222
- paymentId: string;
223
- amount: Amount$Outbound;
224
- description: string;
225
- destination: RouteGetResponseDestination$Outbound;
226
- _links: RouteGetResponseLinks$Outbound;
221
+ resource?: string | undefined;
222
+ id?: string | undefined;
223
+ paymentId?: string | undefined;
224
+ amount?: Amount$Outbound | undefined;
225
+ description?: string | undefined;
226
+ destination?: RouteGetResponseDestination$Outbound | undefined;
227
+ _links?: RouteGetResponseLinks$Outbound | undefined;
227
228
  createdAt: string;
228
229
  };
229
230
 
@@ -233,13 +234,14 @@ export const RouteGetResponse$outboundSchema: z.ZodType<
233
234
  z.ZodTypeDef,
234
235
  RouteGetResponse
235
236
  > = z.object({
236
- resource: z.string(),
237
- id: z.string(),
238
- paymentId: z.string(),
239
- amount: Amount$outboundSchema,
240
- description: z.string(),
241
- destination: z.lazy(() => RouteGetResponseDestination$outboundSchema),
242
- links: z.lazy(() => RouteGetResponseLinks$outboundSchema),
237
+ resource: z.string().optional(),
238
+ id: z.string().optional(),
239
+ paymentId: z.string().optional(),
240
+ amount: Amount$outboundSchema.optional(),
241
+ description: z.string().optional(),
242
+ destination: z.lazy(() => RouteGetResponseDestination$outboundSchema)
243
+ .optional(),
244
+ links: z.lazy(() => RouteGetResponseLinks$outboundSchema).optional(),
243
245
  createdAt: z.string(),
244
246
  }).transform((v) => {
245
247
  return remap$(v, {
@@ -104,15 +104,6 @@ export type UpdateValuesSalesInvoice = {
104
104
  */
105
105
  lines?: Array<SalesInvoiceLineItem> | null | undefined;
106
106
  discount?: SalesInvoiceDiscount | null | undefined;
107
- /**
108
- * This indicates whether the invoice is an e-invoice. The default value is `false` and can't be changed
109
- *
110
- * @remarks
111
- * after the invoice has been issued.
112
- *
113
- * When `emailDetails` is provided, an additional email is sent to the recipient.
114
- */
115
- isEInvoice?: boolean | undefined;
116
107
  };
117
108
 
118
109
  /** @internal */
@@ -132,7 +123,6 @@ export const UpdateValuesSalesInvoice$inboundSchema: z.ZodType<
132
123
  recipient: z.nullable(SalesInvoiceRecipient$inboundSchema).optional(),
133
124
  lines: z.nullable(z.array(SalesInvoiceLineItem$inboundSchema)).optional(),
134
125
  discount: z.nullable(SalesInvoiceDiscount$inboundSchema).optional(),
135
- isEInvoice: z.boolean().optional(),
136
126
  });
137
127
 
138
128
  /** @internal */
@@ -147,7 +137,6 @@ export type UpdateValuesSalesInvoice$Outbound = {
147
137
  recipient?: SalesInvoiceRecipient$Outbound | null | undefined;
148
138
  lines?: Array<SalesInvoiceLineItem$Outbound> | null | undefined;
149
139
  discount?: SalesInvoiceDiscount$Outbound | null | undefined;
150
- isEInvoice?: boolean | undefined;
151
140
  };
152
141
 
153
142
  /** @internal */
@@ -167,7 +156,6 @@ export const UpdateValuesSalesInvoice$outboundSchema: z.ZodType<
167
156
  recipient: z.nullable(SalesInvoiceRecipient$outboundSchema).optional(),
168
157
  lines: z.nullable(z.array(SalesInvoiceLineItem$outboundSchema)).optional(),
169
158
  discount: z.nullable(SalesInvoiceDiscount$outboundSchema).optional(),
170
- isEInvoice: z.boolean().optional(),
171
159
  });
172
160
 
173
161
  /**
@@ -70,7 +70,7 @@ export class ClientLinks extends ClientSDK {
70
70
  async create(
71
71
  request?: operations.CreateClientLinkRequest | undefined,
72
72
  options?: RequestOptions,
73
- ): Promise<models.EntityClientLinkResponse> {
73
+ ): Promise<models.ClientLinkResponse> {
74
74
  return unwrapAsync(clientLinksCreate(
75
75
  this,
76
76
  request,
@@ -26,7 +26,7 @@ export class Profiles extends ClientSDK {
26
26
  async create(
27
27
  request: operations.CreateProfileRequest,
28
28
  options?: RequestOptions,
29
- ): Promise<models.EntityProfileResponse> {
29
+ ): Promise<models.ProfileResponse> {
30
30
  return unwrapAsync(profilesCreate(
31
31
  this,
32
32
  request,
@@ -62,7 +62,7 @@ export class Profiles extends ClientSDK {
62
62
  async get(
63
63
  request: operations.GetProfileRequest,
64
64
  options?: RequestOptions,
65
- ): Promise<models.EntityProfileResponse> {
65
+ ): Promise<models.ProfileResponse> {
66
66
  return unwrapAsync(profilesGet(
67
67
  this,
68
68
  request,
@@ -82,7 +82,7 @@ export class Profiles extends ClientSDK {
82
82
  async update(
83
83
  request: operations.UpdateProfileRequest,
84
84
  options?: RequestOptions,
85
- ): Promise<models.EntityProfileResponse> {
85
+ ): Promise<models.ProfileResponse> {
86
86
  return unwrapAsync(profilesUpdate(
87
87
  this,
88
88
  request,
@@ -120,7 +120,7 @@ export class Profiles extends ClientSDK {
120
120
  async getCurrent(
121
121
  request?: operations.GetCurrentProfileRequest | undefined,
122
122
  options?: RequestOptions,
123
- ): Promise<models.EntityProfileResponse> {
123
+ ): Promise<models.ProfileResponse> {
124
124
  return unwrapAsync(profilesGetCurrent(
125
125
  this,
126
126
  request,