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
package/bin/mcp-server.js CHANGED
@@ -34295,9 +34295,9 @@ var init_config = __esm(() => {
34295
34295
  SDK_METADATA = {
34296
34296
  language: "typescript",
34297
34297
  openapiDocVersion: "1.0.0",
34298
- sdkVersion: "0.3.4",
34299
- genVersion: "2.723.11",
34300
- userAgent: "speakeasy-sdk/typescript 0.3.4 2.723.11 1.0.0 mollie-api-typescript"
34298
+ sdkVersion: "0.4.1",
34299
+ genVersion: "2.727.9",
34300
+ userAgent: "speakeasy-sdk/typescript 0.4.1 2.727.9 1.0.0 mollie-api-typescript"
34301
34301
  };
34302
34302
  });
34303
34303
 
@@ -34529,11 +34529,23 @@ function dlv(obj, key, def, p, undef) {
34529
34529
  }
34530
34530
 
34531
34531
  // src/lib/env.ts
34532
+ function isDeno() {
34533
+ if ("Deno" in globalThis) {
34534
+ return true;
34535
+ }
34536
+ return false;
34537
+ }
34532
34538
  function env() {
34533
34539
  if (envMemo) {
34534
34540
  return envMemo;
34535
34541
  }
34536
- envMemo = envSchema.parse(dlv(globalThis, "process.env") ?? dlv(globalThis, "Deno.env") ?? {});
34542
+ let envObject = {};
34543
+ if (isDeno()) {
34544
+ envObject = globalThis.Deno?.env?.toObject?.() ?? {};
34545
+ } else {
34546
+ envObject = dlv(globalThis, "process.env") ?? {};
34547
+ }
34548
+ envMemo = envSchema.parse(envObject);
34537
34549
  return envMemo;
34538
34550
  }
34539
34551
  var envSchema, envMemo = undefined;
@@ -35773,16 +35785,16 @@ var Address$inboundSchema, Address$outboundSchema, Address$;
35773
35785
  var init_address = __esm(() => {
35774
35786
  init_esm();
35775
35787
  Address$inboundSchema = objectType({
35776
- streetAndNumber: stringType().optional(),
35777
- postalCode: stringType().optional(),
35778
- city: stringType().optional(),
35779
- country: stringType().optional()
35788
+ streetAndNumber: stringType(),
35789
+ postalCode: stringType(),
35790
+ city: stringType(),
35791
+ country: stringType()
35780
35792
  });
35781
35793
  Address$outboundSchema = objectType({
35782
- streetAndNumber: stringType().optional(),
35783
- postalCode: stringType().optional(),
35784
- city: stringType().optional(),
35785
- country: stringType().optional()
35794
+ streetAndNumber: stringType(),
35795
+ postalCode: stringType(),
35796
+ city: stringType(),
35797
+ country: stringType()
35786
35798
  });
35787
35799
  ((Address$) => {
35788
35800
  Address$.inboundSchema = Address$inboundSchema;
@@ -36439,6 +36451,50 @@ var init_captureresponse = __esm(() => {
36439
36451
  })(CaptureResponse$ ||= {});
36440
36452
  });
36441
36453
 
36454
+ // src/models/clientlinkresponse.ts
36455
+ var ClientLinkResponseLinks$inboundSchema, ClientLinkResponseLinks$outboundSchema, ClientLinkResponseLinks$, ClientLinkResponse$inboundSchema, ClientLinkResponse$outboundSchema, ClientLinkResponse$;
36456
+ var init_clientlinkresponse = __esm(() => {
36457
+ init_esm();
36458
+ init_primitives();
36459
+ init_url2();
36460
+ ClientLinkResponseLinks$inboundSchema = objectType({
36461
+ self: Url$inboundSchema.optional(),
36462
+ clientLink: Url$inboundSchema.optional(),
36463
+ documentation: Url$inboundSchema.optional()
36464
+ });
36465
+ ClientLinkResponseLinks$outboundSchema = objectType({
36466
+ self: Url$outboundSchema.optional(),
36467
+ clientLink: Url$outboundSchema.optional(),
36468
+ documentation: Url$outboundSchema.optional()
36469
+ });
36470
+ ((ClientLinkResponseLinks$) => {
36471
+ ClientLinkResponseLinks$.inboundSchema = ClientLinkResponseLinks$inboundSchema;
36472
+ ClientLinkResponseLinks$.outboundSchema = ClientLinkResponseLinks$outboundSchema;
36473
+ })(ClientLinkResponseLinks$ ||= {});
36474
+ ClientLinkResponse$inboundSchema = objectType({
36475
+ resource: stringType().optional(),
36476
+ id: stringType().optional(),
36477
+ _links: lazyType(() => ClientLinkResponseLinks$inboundSchema).optional()
36478
+ }).transform((v2) => {
36479
+ return remap(v2, {
36480
+ _links: "links"
36481
+ });
36482
+ });
36483
+ ClientLinkResponse$outboundSchema = objectType({
36484
+ resource: stringType().optional(),
36485
+ id: stringType().optional(),
36486
+ links: lazyType(() => ClientLinkResponseLinks$outboundSchema).optional()
36487
+ }).transform((v2) => {
36488
+ return remap(v2, {
36489
+ links: "_links"
36490
+ });
36491
+ });
36492
+ ((ClientLinkResponse$) => {
36493
+ ClientLinkResponse$.inboundSchema = ClientLinkResponse$inboundSchema;
36494
+ ClientLinkResponse$.outboundSchema = ClientLinkResponse$outboundSchema;
36495
+ })(ClientLinkResponse$ ||= {});
36496
+ });
36497
+
36442
36498
  // src/models/paymentmethod.ts
36443
36499
  var PaymentMethod, PaymentMethod$inboundSchema, PaymentMethod$outboundSchema, PaymentMethod$;
36444
36500
  var init_paymentmethod = __esm(() => {
@@ -37136,40 +37192,40 @@ var init_entitybalance = __esm(() => {
37136
37192
  EntityBalanceLinks$.outboundSchema = EntityBalanceLinks$outboundSchema;
37137
37193
  })(EntityBalanceLinks$ ||= {});
37138
37194
  EntityBalance$inboundSchema = objectType({
37139
- resource: stringType().optional(),
37140
- id: stringType().optional(),
37141
- mode: Mode$inboundSchema.optional(),
37142
- createdAt: stringType().optional(),
37143
- currency: Currencies$inboundSchema.optional(),
37144
- description: stringType().optional(),
37145
- status: BalanceStatus$inboundSchema.optional(),
37195
+ resource: stringType(),
37196
+ id: stringType(),
37197
+ mode: Mode$inboundSchema,
37198
+ createdAt: stringType(),
37199
+ currency: Currencies$inboundSchema,
37200
+ description: stringType(),
37201
+ status: BalanceStatus$inboundSchema,
37146
37202
  transferFrequency: BalanceTransferFrequency$inboundSchema.optional(),
37147
37203
  transferThreshold: Amount$inboundSchema.optional(),
37148
37204
  transferReference: nullableType(stringType()).optional(),
37149
37205
  transferDestination: nullableType(lazyType(() => TransferDestination$inboundSchema)).optional(),
37150
- availableAmount: Amount$inboundSchema.optional(),
37151
- pendingAmount: Amount$inboundSchema.optional(),
37152
- _links: lazyType(() => EntityBalanceLinks$inboundSchema).optional()
37206
+ availableAmount: Amount$inboundSchema,
37207
+ pendingAmount: Amount$inboundSchema,
37208
+ _links: lazyType(() => EntityBalanceLinks$inboundSchema)
37153
37209
  }).transform((v2) => {
37154
37210
  return remap(v2, {
37155
37211
  _links: "links"
37156
37212
  });
37157
37213
  });
37158
37214
  EntityBalance$outboundSchema = objectType({
37159
- resource: stringType().optional(),
37160
- id: stringType().optional(),
37161
- mode: Mode$outboundSchema.optional(),
37162
- createdAt: stringType().optional(),
37163
- currency: Currencies$outboundSchema.optional(),
37164
- description: stringType().optional(),
37165
- status: BalanceStatus$outboundSchema.optional(),
37215
+ resource: stringType(),
37216
+ id: stringType(),
37217
+ mode: Mode$outboundSchema,
37218
+ createdAt: stringType(),
37219
+ currency: Currencies$outboundSchema,
37220
+ description: stringType(),
37221
+ status: BalanceStatus$outboundSchema,
37166
37222
  transferFrequency: BalanceTransferFrequency$outboundSchema.optional(),
37167
37223
  transferThreshold: Amount$outboundSchema.optional(),
37168
37224
  transferReference: nullableType(stringType()).optional(),
37169
37225
  transferDestination: nullableType(lazyType(() => TransferDestination$outboundSchema)).optional(),
37170
- availableAmount: Amount$outboundSchema.optional(),
37171
- pendingAmount: Amount$outboundSchema.optional(),
37172
- links: lazyType(() => EntityBalanceLinks$outboundSchema).optional()
37226
+ availableAmount: Amount$outboundSchema,
37227
+ pendingAmount: Amount$outboundSchema,
37228
+ links: lazyType(() => EntityBalanceLinks$outboundSchema)
37173
37229
  }).transform((v2) => {
37174
37230
  return remap(v2, {
37175
37231
  links: "_links"
@@ -37430,28 +37486,28 @@ var init_entitybalancereport = __esm(() => {
37430
37486
  EntityBalanceReportLinks$.outboundSchema = EntityBalanceReportLinks$outboundSchema;
37431
37487
  })(EntityBalanceReportLinks$ ||= {});
37432
37488
  EntityBalanceReport$inboundSchema = objectType({
37433
- resource: stringType().optional(),
37434
- balanceId: stringType().optional(),
37435
- timeZone: stringType().optional(),
37436
- from: stringType().optional(),
37437
- until: stringType().optional(),
37438
- grouping: BalanceReportGrouping$inboundSchema.optional(),
37439
- totals: lazyType(() => Totals$inboundSchema).optional(),
37440
- _links: lazyType(() => EntityBalanceReportLinks$inboundSchema).optional()
37489
+ resource: stringType(),
37490
+ balanceId: stringType(),
37491
+ timeZone: stringType(),
37492
+ from: stringType(),
37493
+ until: stringType(),
37494
+ grouping: BalanceReportGrouping$inboundSchema,
37495
+ totals: lazyType(() => Totals$inboundSchema),
37496
+ _links: lazyType(() => EntityBalanceReportLinks$inboundSchema)
37441
37497
  }).transform((v2) => {
37442
37498
  return remap(v2, {
37443
37499
  _links: "links"
37444
37500
  });
37445
37501
  });
37446
37502
  EntityBalanceReport$outboundSchema = objectType({
37447
- resource: stringType().optional(),
37448
- balanceId: stringType().optional(),
37449
- timeZone: stringType().optional(),
37450
- from: stringType().optional(),
37451
- until: stringType().optional(),
37452
- grouping: BalanceReportGrouping$outboundSchema.optional(),
37453
- totals: lazyType(() => Totals$outboundSchema).optional(),
37454
- links: lazyType(() => EntityBalanceReportLinks$outboundSchema).optional()
37503
+ resource: stringType(),
37504
+ balanceId: stringType(),
37505
+ timeZone: stringType(),
37506
+ from: stringType(),
37507
+ until: stringType(),
37508
+ grouping: BalanceReportGrouping$outboundSchema,
37509
+ totals: lazyType(() => Totals$outboundSchema),
37510
+ links: lazyType(() => EntityBalanceReportLinks$outboundSchema)
37455
37511
  }).transform((v2) => {
37456
37512
  return remap(v2, {
37457
37513
  links: "_links"
@@ -38036,24 +38092,24 @@ var init_entitybalancetransaction = __esm(() => {
38036
38092
  Context$.outboundSchema = Context$outboundSchema;
38037
38093
  })(Context$ ||= {});
38038
38094
  EntityBalanceTransaction$inboundSchema = objectType({
38039
- resource: stringType().optional(),
38040
- id: stringType().optional(),
38041
- type: BalanceTransactionType$inboundSchema.optional(),
38042
- resultAmount: Amount$inboundSchema.optional(),
38043
- initialAmount: Amount$inboundSchema.optional(),
38095
+ resource: stringType(),
38096
+ id: stringType(),
38097
+ type: BalanceTransactionType$inboundSchema,
38098
+ resultAmount: Amount$inboundSchema,
38099
+ initialAmount: Amount$inboundSchema,
38044
38100
  deductions: nullableType(AmountNullable$inboundSchema).optional(),
38045
38101
  context: lazyType(() => Context$inboundSchema).optional(),
38046
- createdAt: stringType().optional()
38102
+ createdAt: stringType()
38047
38103
  });
38048
38104
  EntityBalanceTransaction$outboundSchema = objectType({
38049
- resource: stringType().optional(),
38050
- id: stringType().optional(),
38051
- type: BalanceTransactionType$outboundSchema.optional(),
38052
- resultAmount: Amount$outboundSchema.optional(),
38053
- initialAmount: Amount$outboundSchema.optional(),
38105
+ resource: stringType(),
38106
+ id: stringType(),
38107
+ type: BalanceTransactionType$outboundSchema,
38108
+ resultAmount: Amount$outboundSchema,
38109
+ initialAmount: Amount$outboundSchema,
38054
38110
  deductions: nullableType(AmountNullable$outboundSchema).optional(),
38055
38111
  context: lazyType(() => Context$outboundSchema).optional(),
38056
- createdAt: stringType().optional()
38112
+ createdAt: stringType()
38057
38113
  });
38058
38114
  ((EntityBalanceTransaction$) => {
38059
38115
  EntityBalanceTransaction$.inboundSchema = EntityBalanceTransaction$inboundSchema;
@@ -38191,48 +38247,37 @@ var init_entitybalancetransferresponse = __esm(() => {
38191
38247
  });
38192
38248
 
38193
38249
  // src/models/entitycapabilityrequirement.ts
38194
- var Dashboard$inboundSchema, Dashboard$outboundSchema, Dashboard$, EntityCapabilityRequirementLinks$inboundSchema, EntityCapabilityRequirementLinks$outboundSchema, EntityCapabilityRequirementLinks$, EntityCapabilityRequirement$inboundSchema, EntityCapabilityRequirement$outboundSchema, EntityCapabilityRequirement$;
38250
+ var EntityCapabilityRequirementLinks$inboundSchema, EntityCapabilityRequirementLinks$outboundSchema, EntityCapabilityRequirementLinks$, EntityCapabilityRequirement$inboundSchema, EntityCapabilityRequirement$outboundSchema, EntityCapabilityRequirement$;
38195
38251
  var init_entitycapabilityrequirement = __esm(() => {
38196
38252
  init_esm();
38197
38253
  init_primitives();
38198
38254
  init_capabilityrequirementstatus();
38199
- Dashboard$inboundSchema = objectType({
38200
- href: stringType().optional(),
38201
- type: stringType().optional()
38202
- });
38203
- Dashboard$outboundSchema = objectType({
38204
- href: stringType().optional(),
38205
- type: stringType().optional()
38206
- });
38207
- ((Dashboard$) => {
38208
- Dashboard$.inboundSchema = Dashboard$inboundSchema;
38209
- Dashboard$.outboundSchema = Dashboard$outboundSchema;
38210
- })(Dashboard$ ||= {});
38255
+ init_url2();
38211
38256
  EntityCapabilityRequirementLinks$inboundSchema = objectType({
38212
- dashboard: lazyType(() => Dashboard$inboundSchema).optional()
38257
+ dashboard: Url$inboundSchema.optional()
38213
38258
  });
38214
38259
  EntityCapabilityRequirementLinks$outboundSchema = objectType({
38215
- dashboard: lazyType(() => Dashboard$outboundSchema).optional()
38260
+ dashboard: Url$outboundSchema.optional()
38216
38261
  });
38217
38262
  ((EntityCapabilityRequirementLinks$) => {
38218
38263
  EntityCapabilityRequirementLinks$.inboundSchema = EntityCapabilityRequirementLinks$inboundSchema;
38219
38264
  EntityCapabilityRequirementLinks$.outboundSchema = EntityCapabilityRequirementLinks$outboundSchema;
38220
38265
  })(EntityCapabilityRequirementLinks$ ||= {});
38221
38266
  EntityCapabilityRequirement$inboundSchema = objectType({
38222
- id: stringType().optional(),
38223
- status: CapabilityRequirementStatus$inboundSchema.optional(),
38224
- dueDate: nullableType(stringType()).optional(),
38225
- _links: lazyType(() => EntityCapabilityRequirementLinks$inboundSchema).optional()
38267
+ id: stringType(),
38268
+ status: CapabilityRequirementStatus$inboundSchema,
38269
+ dueDate: nullableType(stringType()),
38270
+ _links: lazyType(() => EntityCapabilityRequirementLinks$inboundSchema)
38226
38271
  }).transform((v2) => {
38227
38272
  return remap(v2, {
38228
38273
  _links: "links"
38229
38274
  });
38230
38275
  });
38231
38276
  EntityCapabilityRequirement$outboundSchema = objectType({
38232
- id: stringType().optional(),
38233
- status: CapabilityRequirementStatus$outboundSchema.optional(),
38234
- dueDate: nullableType(stringType()).optional(),
38235
- links: lazyType(() => EntityCapabilityRequirementLinks$outboundSchema).optional()
38277
+ id: stringType(),
38278
+ status: CapabilityRequirementStatus$outboundSchema,
38279
+ dueDate: nullableType(stringType()),
38280
+ links: lazyType(() => EntityCapabilityRequirementLinks$outboundSchema)
38236
38281
  }).transform((v2) => {
38237
38282
  return remap(v2, {
38238
38283
  links: "_links"
@@ -38252,18 +38297,18 @@ var init_entitycapability = __esm(() => {
38252
38297
  init_capabilitystatusreason();
38253
38298
  init_entitycapabilityrequirement();
38254
38299
  EntityCapability$inboundSchema = objectType({
38255
- resource: stringType().optional(),
38256
- name: stringType().optional(),
38257
- status: CapabilityStatus$inboundSchema.optional(),
38258
- statusReason: CapabilityStatusReason$inboundSchema.optional(),
38259
- requirements: arrayType(EntityCapabilityRequirement$inboundSchema).optional()
38300
+ resource: stringType(),
38301
+ name: stringType(),
38302
+ status: CapabilityStatus$inboundSchema,
38303
+ statusReason: nullableType(CapabilityStatusReason$inboundSchema),
38304
+ requirements: arrayType(EntityCapabilityRequirement$inboundSchema)
38260
38305
  });
38261
38306
  EntityCapability$outboundSchema = objectType({
38262
- resource: stringType().optional(),
38263
- name: stringType().optional(),
38264
- status: CapabilityStatus$outboundSchema.optional(),
38265
- statusReason: CapabilityStatusReason$outboundSchema.optional(),
38266
- requirements: arrayType(EntityCapabilityRequirement$outboundSchema).optional()
38307
+ resource: stringType(),
38308
+ name: stringType(),
38309
+ status: CapabilityStatus$outboundSchema,
38310
+ statusReason: nullableType(CapabilityStatusReason$outboundSchema),
38311
+ requirements: arrayType(EntityCapabilityRequirement$outboundSchema)
38267
38312
  });
38268
38313
  ((EntityCapability$) => {
38269
38314
  EntityCapability$.inboundSchema = EntityCapability$inboundSchema;
@@ -38438,50 +38483,6 @@ var init_entityclientlink = __esm(() => {
38438
38483
  })(EntityClientLink$ ||= {});
38439
38484
  });
38440
38485
 
38441
- // src/models/entityclientlinkresponse.ts
38442
- var EntityClientLinkResponseLinks$inboundSchema, EntityClientLinkResponseLinks$outboundSchema, EntityClientLinkResponseLinks$, EntityClientLinkResponse$inboundSchema, EntityClientLinkResponse$outboundSchema, EntityClientLinkResponse$;
38443
- var init_entityclientlinkresponse = __esm(() => {
38444
- init_esm();
38445
- init_primitives();
38446
- init_url2();
38447
- EntityClientLinkResponseLinks$inboundSchema = objectType({
38448
- self: Url$inboundSchema.optional(),
38449
- clientLink: Url$inboundSchema.optional(),
38450
- documentation: Url$inboundSchema.optional()
38451
- });
38452
- EntityClientLinkResponseLinks$outboundSchema = objectType({
38453
- self: Url$outboundSchema.optional(),
38454
- clientLink: Url$outboundSchema.optional(),
38455
- documentation: Url$outboundSchema.optional()
38456
- });
38457
- ((EntityClientLinkResponseLinks$) => {
38458
- EntityClientLinkResponseLinks$.inboundSchema = EntityClientLinkResponseLinks$inboundSchema;
38459
- EntityClientLinkResponseLinks$.outboundSchema = EntityClientLinkResponseLinks$outboundSchema;
38460
- })(EntityClientLinkResponseLinks$ ||= {});
38461
- EntityClientLinkResponse$inboundSchema = objectType({
38462
- resource: stringType().optional(),
38463
- id: stringType().optional(),
38464
- _links: lazyType(() => EntityClientLinkResponseLinks$inboundSchema).optional()
38465
- }).transform((v2) => {
38466
- return remap(v2, {
38467
- _links: "links"
38468
- });
38469
- });
38470
- EntityClientLinkResponse$outboundSchema = objectType({
38471
- resource: stringType().optional(),
38472
- id: stringType().optional(),
38473
- links: lazyType(() => EntityClientLinkResponseLinks$outboundSchema).optional()
38474
- }).transform((v2) => {
38475
- return remap(v2, {
38476
- links: "_links"
38477
- });
38478
- });
38479
- ((EntityClientLinkResponse$) => {
38480
- EntityClientLinkResponse$.inboundSchema = EntityClientLinkResponse$inboundSchema;
38481
- EntityClientLinkResponse$.outboundSchema = EntityClientLinkResponse$outboundSchema;
38482
- })(EntityClientLinkResponse$ ||= {});
38483
- });
38484
-
38485
38486
  // src/models/entitycustomer.ts
38486
38487
  var EntityCustomer$inboundSchema, EntityCustomer$outboundSchema, EntityCustomer$;
38487
38488
  var init_entitycustomer = __esm(() => {
@@ -38586,18 +38587,18 @@ var init_entityinvoice = __esm(() => {
38586
38587
  init_invoicestatus();
38587
38588
  init_url2();
38588
38589
  EntityInvoiceLine$inboundSchema = objectType({
38589
- period: stringType().optional(),
38590
- description: stringType().optional(),
38591
- count: numberType().int().optional(),
38592
- vatPercentage: numberType().int().optional(),
38593
- amount: Amount$inboundSchema.optional()
38590
+ period: stringType(),
38591
+ description: stringType(),
38592
+ count: numberType().int(),
38593
+ vatPercentage: numberType().int(),
38594
+ amount: Amount$inboundSchema
38594
38595
  });
38595
38596
  EntityInvoiceLine$outboundSchema = objectType({
38596
- period: stringType().optional(),
38597
- description: stringType().optional(),
38598
- count: numberType().int().optional(),
38599
- vatPercentage: numberType().int().optional(),
38600
- amount: Amount$outboundSchema.optional()
38597
+ period: stringType(),
38598
+ description: stringType(),
38599
+ count: numberType().int(),
38600
+ vatPercentage: numberType().int(),
38601
+ amount: Amount$outboundSchema
38601
38602
  });
38602
38603
  ((EntityInvoiceLine$) => {
38603
38604
  EntityInvoiceLine$.inboundSchema = EntityInvoiceLine$inboundSchema;
@@ -38618,38 +38619,38 @@ var init_entityinvoice = __esm(() => {
38618
38619
  EntityInvoiceLinks$.outboundSchema = EntityInvoiceLinks$outboundSchema;
38619
38620
  })(EntityInvoiceLinks$ ||= {});
38620
38621
  EntityInvoice$inboundSchema = objectType({
38621
- resource: stringType().optional(),
38622
- id: stringType().optional(),
38623
- reference: stringType().optional(),
38624
- vatNumber: nullableType(stringType()).optional(),
38625
- status: InvoiceStatus$inboundSchema.optional(),
38626
- netAmount: Amount$inboundSchema.optional(),
38627
- vatAmount: Amount$inboundSchema.optional(),
38628
- grossAmount: Amount$inboundSchema.optional(),
38629
- lines: arrayType(lazyType(() => EntityInvoiceLine$inboundSchema)).optional(),
38630
- issuedAt: stringType().optional(),
38622
+ resource: stringType(),
38623
+ id: stringType(),
38624
+ reference: stringType(),
38625
+ vatNumber: nullableType(stringType()),
38626
+ status: InvoiceStatus$inboundSchema,
38627
+ netAmount: Amount$inboundSchema,
38628
+ vatAmount: Amount$inboundSchema,
38629
+ grossAmount: Amount$inboundSchema,
38630
+ lines: arrayType(lazyType(() => EntityInvoiceLine$inboundSchema)),
38631
+ issuedAt: stringType(),
38631
38632
  paidAt: nullableType(stringType()).optional(),
38632
38633
  dueAt: nullableType(stringType()).optional(),
38633
- _links: lazyType(() => EntityInvoiceLinks$inboundSchema).optional()
38634
+ _links: lazyType(() => EntityInvoiceLinks$inboundSchema)
38634
38635
  }).transform((v2) => {
38635
38636
  return remap(v2, {
38636
38637
  _links: "links"
38637
38638
  });
38638
38639
  });
38639
38640
  EntityInvoice$outboundSchema = objectType({
38640
- resource: stringType().optional(),
38641
- id: stringType().optional(),
38642
- reference: stringType().optional(),
38643
- vatNumber: nullableType(stringType()).optional(),
38644
- status: InvoiceStatus$outboundSchema.optional(),
38645
- netAmount: Amount$outboundSchema.optional(),
38646
- vatAmount: Amount$outboundSchema.optional(),
38647
- grossAmount: Amount$outboundSchema.optional(),
38648
- lines: arrayType(lazyType(() => EntityInvoiceLine$outboundSchema)).optional(),
38649
- issuedAt: stringType().optional(),
38641
+ resource: stringType(),
38642
+ id: stringType(),
38643
+ reference: stringType(),
38644
+ vatNumber: nullableType(stringType()),
38645
+ status: InvoiceStatus$outboundSchema,
38646
+ netAmount: Amount$outboundSchema,
38647
+ vatAmount: Amount$outboundSchema,
38648
+ grossAmount: Amount$outboundSchema,
38649
+ lines: arrayType(lazyType(() => EntityInvoiceLine$outboundSchema)),
38650
+ issuedAt: stringType(),
38650
38651
  paidAt: nullableType(stringType()).optional(),
38651
38652
  dueAt: nullableType(stringType()).optional(),
38652
- links: lazyType(() => EntityInvoiceLinks$outboundSchema).optional()
38653
+ links: lazyType(() => EntityInvoiceLinks$outboundSchema)
38653
38654
  }).transform((v2) => {
38654
38655
  return remap(v2, {
38655
38656
  links: "_links"
@@ -39095,26 +39096,26 @@ var init_entityonboardingstatus = __esm(() => {
39095
39096
  EntityOnboardingStatusLinks$.outboundSchema = EntityOnboardingStatusLinks$outboundSchema;
39096
39097
  })(EntityOnboardingStatusLinks$ ||= {});
39097
39098
  EntityOnboardingStatus$inboundSchema = objectType({
39098
- resource: stringType().optional(),
39099
- name: stringType().optional(),
39100
- status: OnboardingStatus$inboundSchema.optional(),
39101
- canReceivePayments: booleanType().optional(),
39102
- canReceiveSettlements: booleanType().optional(),
39103
- signedUpAt: stringType().optional(),
39104
- _links: lazyType(() => EntityOnboardingStatusLinks$inboundSchema).optional()
39099
+ resource: stringType(),
39100
+ name: stringType(),
39101
+ status: OnboardingStatus$inboundSchema,
39102
+ canReceivePayments: booleanType(),
39103
+ canReceiveSettlements: booleanType(),
39104
+ signedUpAt: stringType(),
39105
+ _links: lazyType(() => EntityOnboardingStatusLinks$inboundSchema)
39105
39106
  }).transform((v2) => {
39106
39107
  return remap(v2, {
39107
39108
  _links: "links"
39108
39109
  });
39109
39110
  });
39110
39111
  EntityOnboardingStatus$outboundSchema = objectType({
39111
- resource: stringType().optional(),
39112
- name: stringType().optional(),
39113
- status: OnboardingStatus$outboundSchema.optional(),
39114
- canReceivePayments: booleanType().optional(),
39115
- canReceiveSettlements: booleanType().optional(),
39116
- signedUpAt: stringType().optional(),
39117
- links: lazyType(() => EntityOnboardingStatusLinks$outboundSchema).optional()
39112
+ resource: stringType(),
39113
+ name: stringType(),
39114
+ status: OnboardingStatus$outboundSchema,
39115
+ canReceivePayments: booleanType(),
39116
+ canReceiveSettlements: booleanType(),
39117
+ signedUpAt: stringType(),
39118
+ links: lazyType(() => EntityOnboardingStatusLinks$outboundSchema)
39118
39119
  }).transform((v2) => {
39119
39120
  return remap(v2, {
39120
39121
  links: "_links"
@@ -39173,32 +39174,32 @@ var init_entityorganization = __esm(() => {
39173
39174
  EntityOrganizationLinks$.outboundSchema = EntityOrganizationLinks$outboundSchema;
39174
39175
  })(EntityOrganizationLinks$ ||= {});
39175
39176
  EntityOrganization$inboundSchema = objectType({
39176
- resource: stringType().optional(),
39177
- id: stringType().optional(),
39178
- name: stringType().optional(),
39179
- email: stringType().optional(),
39180
- locale: nullableType(LocaleResponse$inboundSchema).optional(),
39181
- address: Address$inboundSchema.optional(),
39182
- registrationNumber: stringType().optional(),
39177
+ resource: stringType(),
39178
+ id: stringType(),
39179
+ name: stringType(),
39180
+ email: stringType(),
39181
+ locale: nullableType(LocaleResponse$inboundSchema),
39182
+ address: Address$inboundSchema,
39183
+ registrationNumber: stringType(),
39183
39184
  vatNumber: nullableType(stringType()).optional(),
39184
39185
  vatRegulation: nullableType(OrganizationVatRegulation$inboundSchema).optional(),
39185
- _links: lazyType(() => EntityOrganizationLinks$inboundSchema).optional()
39186
+ _links: lazyType(() => EntityOrganizationLinks$inboundSchema)
39186
39187
  }).transform((v2) => {
39187
39188
  return remap(v2, {
39188
39189
  _links: "links"
39189
39190
  });
39190
39191
  });
39191
39192
  EntityOrganization$outboundSchema = objectType({
39192
- resource: stringType().optional(),
39193
- id: stringType().optional(),
39194
- name: stringType().optional(),
39195
- email: stringType().optional(),
39196
- locale: nullableType(LocaleResponse$outboundSchema).optional(),
39197
- address: Address$outboundSchema.optional(),
39198
- registrationNumber: stringType().optional(),
39193
+ resource: stringType(),
39194
+ id: stringType(),
39195
+ name: stringType(),
39196
+ email: stringType(),
39197
+ locale: nullableType(LocaleResponse$outboundSchema),
39198
+ address: Address$outboundSchema,
39199
+ registrationNumber: stringType(),
39199
39200
  vatNumber: nullableType(stringType()).optional(),
39200
39201
  vatRegulation: nullableType(OrganizationVatRegulation$outboundSchema).optional(),
39201
- links: lazyType(() => EntityOrganizationLinks$outboundSchema).optional()
39202
+ links: lazyType(() => EntityOrganizationLinks$outboundSchema)
39202
39203
  }).transform((v2) => {
39203
39204
  return remap(v2, {
39204
39205
  links: "_links"
@@ -39392,22 +39393,22 @@ var init_entitypermission = __esm(() => {
39392
39393
  EntityPermissionLinks$.outboundSchema = EntityPermissionLinks$outboundSchema;
39393
39394
  })(EntityPermissionLinks$ ||= {});
39394
39395
  EntityPermission$inboundSchema = objectType({
39395
- resource: stringType().optional(),
39396
- id: stringType().optional(),
39397
- description: stringType().optional(),
39398
- granted: booleanType().optional(),
39399
- _links: lazyType(() => EntityPermissionLinks$inboundSchema).optional()
39396
+ resource: stringType(),
39397
+ id: stringType(),
39398
+ description: stringType(),
39399
+ granted: booleanType(),
39400
+ _links: lazyType(() => EntityPermissionLinks$inboundSchema)
39400
39401
  }).transform((v2) => {
39401
39402
  return remap(v2, {
39402
39403
  _links: "links"
39403
39404
  });
39404
39405
  });
39405
39406
  EntityPermission$outboundSchema = objectType({
39406
- resource: stringType().optional(),
39407
- id: stringType().optional(),
39408
- description: stringType().optional(),
39409
- granted: booleanType().optional(),
39410
- links: lazyType(() => EntityPermissionLinks$outboundSchema).optional()
39407
+ resource: stringType(),
39408
+ id: stringType(),
39409
+ description: stringType(),
39410
+ granted: booleanType(),
39411
+ links: lazyType(() => EntityPermissionLinks$outboundSchema)
39411
39412
  }).transform((v2) => {
39412
39413
  return remap(v2, {
39413
39414
  links: "_links"
@@ -39473,117 +39474,6 @@ var init_entityprofile = __esm(() => {
39473
39474
  })(EntityProfile$ ||= {});
39474
39475
  });
39475
39476
 
39476
- // src/models/profilereviewstatusresponse.ts
39477
- var ProfileReviewStatusResponse, ProfileReviewStatusResponse$inboundSchema, ProfileReviewStatusResponse$outboundSchema, ProfileReviewStatusResponse$;
39478
- var init_profilereviewstatusresponse = __esm(() => {
39479
- init_esm();
39480
- ProfileReviewStatusResponse = {
39481
- Pending: "pending",
39482
- Rejected: "rejected"
39483
- };
39484
- ProfileReviewStatusResponse$inboundSchema = unionType([
39485
- nativeEnumType(ProfileReviewStatusResponse),
39486
- stringType().transform(catchUnrecognizedEnum)
39487
- ]);
39488
- ProfileReviewStatusResponse$outboundSchema = unionType([
39489
- nativeEnumType(ProfileReviewStatusResponse),
39490
- stringType().and(custom())
39491
- ]);
39492
- ((ProfileReviewStatusResponse$) => {
39493
- ProfileReviewStatusResponse$.inboundSchema = ProfileReviewStatusResponse$inboundSchema;
39494
- ProfileReviewStatusResponse$.outboundSchema = ProfileReviewStatusResponse$outboundSchema;
39495
- })(ProfileReviewStatusResponse$ ||= {});
39496
- });
39497
-
39498
- // src/models/entityprofileresponse.ts
39499
- var Review$inboundSchema, Review$outboundSchema, Review$, EntityProfileResponseLinks$inboundSchema, EntityProfileResponseLinks$outboundSchema, EntityProfileResponseLinks$, EntityProfileResponse$inboundSchema, EntityProfileResponse$outboundSchema, EntityProfileResponse$;
39500
- var init_entityprofileresponse = __esm(() => {
39501
- init_esm();
39502
- init_primitives();
39503
- init_mode();
39504
- init_profilereviewstatusresponse();
39505
- init_profilestatus();
39506
- init_url2();
39507
- Review$inboundSchema = objectType({
39508
- status: ProfileReviewStatusResponse$inboundSchema.optional()
39509
- });
39510
- Review$outboundSchema = objectType({
39511
- status: ProfileReviewStatusResponse$outboundSchema.optional()
39512
- });
39513
- ((Review$) => {
39514
- Review$.inboundSchema = Review$inboundSchema;
39515
- Review$.outboundSchema = Review$outboundSchema;
39516
- })(Review$ ||= {});
39517
- EntityProfileResponseLinks$inboundSchema = objectType({
39518
- self: Url$inboundSchema.optional(),
39519
- dashboard: Url$inboundSchema.optional(),
39520
- chargebacks: Url$inboundSchema.optional(),
39521
- methods: Url$inboundSchema.optional(),
39522
- payments: Url$inboundSchema.optional(),
39523
- refunds: Url$inboundSchema.optional(),
39524
- checkoutPreviewUrl: Url$inboundSchema.optional(),
39525
- documentation: Url$inboundSchema.optional()
39526
- });
39527
- EntityProfileResponseLinks$outboundSchema = objectType({
39528
- self: Url$outboundSchema.optional(),
39529
- dashboard: Url$outboundSchema.optional(),
39530
- chargebacks: Url$outboundSchema.optional(),
39531
- methods: Url$outboundSchema.optional(),
39532
- payments: Url$outboundSchema.optional(),
39533
- refunds: Url$outboundSchema.optional(),
39534
- checkoutPreviewUrl: Url$outboundSchema.optional(),
39535
- documentation: Url$outboundSchema.optional()
39536
- });
39537
- ((EntityProfileResponseLinks$) => {
39538
- EntityProfileResponseLinks$.inboundSchema = EntityProfileResponseLinks$inboundSchema;
39539
- EntityProfileResponseLinks$.outboundSchema = EntityProfileResponseLinks$outboundSchema;
39540
- })(EntityProfileResponseLinks$ ||= {});
39541
- EntityProfileResponse$inboundSchema = objectType({
39542
- resource: stringType().optional(),
39543
- id: stringType().optional(),
39544
- mode: Mode$inboundSchema.optional(),
39545
- name: stringType().optional(),
39546
- website: stringType().optional(),
39547
- email: stringType().optional(),
39548
- phone: stringType().optional(),
39549
- description: stringType().optional(),
39550
- countriesOfActivity: arrayType(stringType()).optional(),
39551
- businessCategory: stringType().optional(),
39552
- status: ProfileStatus$inboundSchema.optional(),
39553
- review: lazyType(() => Review$inboundSchema).optional(),
39554
- createdAt: stringType().optional(),
39555
- _links: lazyType(() => EntityProfileResponseLinks$inboundSchema).optional()
39556
- }).transform((v2) => {
39557
- return remap(v2, {
39558
- _links: "links"
39559
- });
39560
- });
39561
- EntityProfileResponse$outboundSchema = objectType({
39562
- resource: stringType().optional(),
39563
- id: stringType().optional(),
39564
- mode: Mode$outboundSchema.optional(),
39565
- name: stringType().optional(),
39566
- website: stringType().optional(),
39567
- email: stringType().optional(),
39568
- phone: stringType().optional(),
39569
- description: stringType().optional(),
39570
- countriesOfActivity: arrayType(stringType()).optional(),
39571
- businessCategory: stringType().optional(),
39572
- status: ProfileStatus$outboundSchema.optional(),
39573
- review: lazyType(() => Review$outboundSchema).optional(),
39574
- createdAt: stringType().optional(),
39575
- links: lazyType(() => EntityProfileResponseLinks$outboundSchema).optional()
39576
- }).transform((v2) => {
39577
- return remap(v2, {
39578
- links: "_links"
39579
- });
39580
- });
39581
- ((EntityProfileResponse$) => {
39582
- EntityProfileResponse$.inboundSchema = EntityProfileResponse$inboundSchema;
39583
- EntityProfileResponse$.outboundSchema = EntityProfileResponse$outboundSchema;
39584
- })(EntityProfileResponse$ ||= {});
39585
- });
39586
-
39587
39477
  // src/models/refundexternalreferencetype.ts
39588
39478
  var RefundExternalReferenceType, RefundExternalReferenceType$inboundSchema, RefundExternalReferenceType$outboundSchema, RefundExternalReferenceType$;
39589
39479
  var init_refundexternalreferencetype = __esm(() => {
@@ -39853,6 +39743,46 @@ var init_entityrefundresponse = __esm(() => {
39853
39743
  })(EntityRefundResponse$ ||= {});
39854
39744
  });
39855
39745
 
39746
+ // src/models/entityroute.ts
39747
+ var EntityRouteDestination$inboundSchema, EntityRouteDestination$outboundSchema, EntityRouteDestination$, EntityRoute$inboundSchema, EntityRoute$outboundSchema, EntityRoute$;
39748
+ var init_entityroute = __esm(() => {
39749
+ init_esm();
39750
+ init_amount();
39751
+ init_routedestinationtyperesponse();
39752
+ EntityRouteDestination$inboundSchema = objectType({
39753
+ type: RouteDestinationTypeResponse$inboundSchema,
39754
+ organizationId: stringType()
39755
+ });
39756
+ EntityRouteDestination$outboundSchema = objectType({
39757
+ type: RouteDestinationTypeResponse$outboundSchema,
39758
+ organizationId: stringType()
39759
+ });
39760
+ ((EntityRouteDestination$) => {
39761
+ EntityRouteDestination$.inboundSchema = EntityRouteDestination$inboundSchema;
39762
+ EntityRouteDestination$.outboundSchema = EntityRouteDestination$outboundSchema;
39763
+ })(EntityRouteDestination$ ||= {});
39764
+ EntityRoute$inboundSchema = objectType({
39765
+ id: stringType().optional(),
39766
+ paymentId: stringType().optional(),
39767
+ amount: Amount$inboundSchema.optional(),
39768
+ description: stringType().optional(),
39769
+ destination: lazyType(() => EntityRouteDestination$inboundSchema).optional(),
39770
+ testmode: nullableType(booleanType()).optional()
39771
+ });
39772
+ EntityRoute$outboundSchema = objectType({
39773
+ id: stringType().optional(),
39774
+ paymentId: stringType().optional(),
39775
+ amount: Amount$outboundSchema.optional(),
39776
+ description: stringType().optional(),
39777
+ destination: lazyType(() => EntityRouteDestination$outboundSchema).optional(),
39778
+ testmode: nullableType(booleanType()).optional()
39779
+ });
39780
+ ((EntityRoute$) => {
39781
+ EntityRoute$.inboundSchema = EntityRoute$inboundSchema;
39782
+ EntityRoute$.outboundSchema = EntityRoute$outboundSchema;
39783
+ })(EntityRoute$ ||= {});
39784
+ });
39785
+
39856
39786
  // src/models/salesinvoicediscounttype.ts
39857
39787
  var SalesInvoiceDiscountType, SalesInvoiceDiscountType$inboundSchema, SalesInvoiceDiscountType$outboundSchema, SalesInvoiceDiscountType$;
39858
39788
  var init_salesinvoicediscounttype = __esm(() => {
@@ -40163,7 +40093,6 @@ var init_entitysalesinvoice = __esm(() => {
40163
40093
  recipient: nullableType(SalesInvoiceRecipient$inboundSchema).optional(),
40164
40094
  lines: nullableType(arrayType(SalesInvoiceLineItem$inboundSchema)).optional(),
40165
40095
  discount: nullableType(SalesInvoiceDiscount$inboundSchema).optional(),
40166
- isEInvoice: booleanType().optional(),
40167
40096
  amountDue: Amount$inboundSchema.optional(),
40168
40097
  subtotalAmount: Amount$inboundSchema.optional(),
40169
40098
  totalAmount: Amount$inboundSchema.optional(),
@@ -40188,7 +40117,6 @@ var init_entitysalesinvoice = __esm(() => {
40188
40117
  recipient: nullableType(SalesInvoiceRecipient$outboundSchema).optional(),
40189
40118
  lines: nullableType(arrayType(SalesInvoiceLineItem$outboundSchema)).optional(),
40190
40119
  discount: nullableType(SalesInvoiceDiscount$outboundSchema).optional(),
40191
- isEInvoice: booleanType().optional(),
40192
40120
  amountDue: Amount$outboundSchema.optional(),
40193
40121
  subtotalAmount: Amount$outboundSchema.optional(),
40194
40122
  totalAmount: Amount$outboundSchema.optional(),
@@ -40563,7 +40491,6 @@ var init_entitysalesinvoiceresponse = __esm(() => {
40563
40491
  recipient: nullableType(SalesInvoiceRecipientResponse$inboundSchema).optional(),
40564
40492
  lines: nullableType(arrayType(SalesInvoiceLineItemResponse$inboundSchema)).optional(),
40565
40493
  discount: nullableType(SalesInvoiceDiscountResponse$inboundSchema).optional(),
40566
- isEInvoice: booleanType().optional(),
40567
40494
  amountDue: Amount$inboundSchema.optional(),
40568
40495
  subtotalAmount: Amount$inboundSchema.optional(),
40569
40496
  totalAmount: Amount$inboundSchema.optional(),
@@ -40597,7 +40524,6 @@ var init_entitysalesinvoiceresponse = __esm(() => {
40597
40524
  recipient: nullableType(SalesInvoiceRecipientResponse$outboundSchema).optional(),
40598
40525
  lines: nullableType(arrayType(SalesInvoiceLineItemResponse$outboundSchema)).optional(),
40599
40526
  discount: nullableType(SalesInvoiceDiscountResponse$outboundSchema).optional(),
40600
- isEInvoice: booleanType().optional(),
40601
40527
  amountDue: Amount$outboundSchema.optional(),
40602
40528
  subtotalAmount: Amount$outboundSchema.optional(),
40603
40529
  totalAmount: Amount$outboundSchema.optional(),
@@ -41167,74 +41093,185 @@ var init_paymentlinkresponse = __esm(() => {
41167
41093
  self: Url$inboundSchema,
41168
41094
  paymentLink: Url$inboundSchema
41169
41095
  });
41170
- PaymentLinkResponseLinks$outboundSchema = objectType({
41171
- self: Url$outboundSchema,
41172
- paymentLink: Url$outboundSchema
41096
+ PaymentLinkResponseLinks$outboundSchema = objectType({
41097
+ self: Url$outboundSchema,
41098
+ paymentLink: Url$outboundSchema
41099
+ });
41100
+ ((PaymentLinkResponseLinks$) => {
41101
+ PaymentLinkResponseLinks$.inboundSchema = PaymentLinkResponseLinks$inboundSchema;
41102
+ PaymentLinkResponseLinks$.outboundSchema = PaymentLinkResponseLinks$outboundSchema;
41103
+ })(PaymentLinkResponseLinks$ ||= {});
41104
+ PaymentLinkResponse$inboundSchema = objectType({
41105
+ resource: stringType().optional(),
41106
+ id: stringType().optional(),
41107
+ mode: Mode$inboundSchema.optional(),
41108
+ description: stringType().optional(),
41109
+ amount: nullableType(AmountNullable$inboundSchema).optional(),
41110
+ minimumAmount: nullableType(AmountNullable$inboundSchema).optional(),
41111
+ archived: booleanType().optional(),
41112
+ redirectUrl: nullableType(stringType()).optional(),
41113
+ webhookUrl: nullableType(stringType()).optional(),
41114
+ lines: nullableType(arrayType(PaymentLineItemResponse$inboundSchema)).optional(),
41115
+ billingAddress: PaymentAddress$inboundSchema.optional(),
41116
+ shippingAddress: PaymentAddress$inboundSchema.optional(),
41117
+ profileId: nullableType(stringType()).optional(),
41118
+ reusable: nullableType(booleanType()).optional(),
41119
+ createdAt: stringType().optional(),
41120
+ paidAt: nullableType(stringType()).optional(),
41121
+ expiresAt: nullableType(stringType()).optional(),
41122
+ allowedMethods: nullableType(arrayType(stringType())).optional(),
41123
+ applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$inboundSchema).optional(),
41124
+ sequenceType: PaymentLinkSequenceTypeResponse$inboundSchema.optional(),
41125
+ customerId: nullableType(stringType()).optional(),
41126
+ _links: lazyType(() => PaymentLinkResponseLinks$inboundSchema).optional()
41127
+ }).transform((v2) => {
41128
+ return remap(v2, {
41129
+ _links: "links"
41130
+ });
41131
+ });
41132
+ PaymentLinkResponse$outboundSchema = objectType({
41133
+ resource: stringType().optional(),
41134
+ id: stringType().optional(),
41135
+ mode: Mode$outboundSchema.optional(),
41136
+ description: stringType().optional(),
41137
+ amount: nullableType(AmountNullable$outboundSchema).optional(),
41138
+ minimumAmount: nullableType(AmountNullable$outboundSchema).optional(),
41139
+ archived: booleanType().optional(),
41140
+ redirectUrl: nullableType(stringType()).optional(),
41141
+ webhookUrl: nullableType(stringType()).optional(),
41142
+ lines: nullableType(arrayType(PaymentLineItemResponse$outboundSchema)).optional(),
41143
+ billingAddress: PaymentAddress$outboundSchema.optional(),
41144
+ shippingAddress: PaymentAddress$outboundSchema.optional(),
41145
+ profileId: nullableType(stringType()).optional(),
41146
+ reusable: nullableType(booleanType()).optional(),
41147
+ createdAt: stringType().optional(),
41148
+ paidAt: nullableType(stringType()).optional(),
41149
+ expiresAt: nullableType(stringType()).optional(),
41150
+ allowedMethods: nullableType(arrayType(stringType())).optional(),
41151
+ applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$outboundSchema).optional(),
41152
+ sequenceType: PaymentLinkSequenceTypeResponse$outboundSchema.optional(),
41153
+ customerId: nullableType(stringType()).optional(),
41154
+ links: lazyType(() => PaymentLinkResponseLinks$outboundSchema).optional()
41155
+ }).transform((v2) => {
41156
+ return remap(v2, {
41157
+ links: "_links"
41158
+ });
41159
+ });
41160
+ ((PaymentLinkResponse$) => {
41161
+ PaymentLinkResponse$.inboundSchema = PaymentLinkResponse$inboundSchema;
41162
+ PaymentLinkResponse$.outboundSchema = PaymentLinkResponse$outboundSchema;
41163
+ })(PaymentLinkResponse$ ||= {});
41164
+ });
41165
+
41166
+ // src/models/profilereviewstatusresponse.ts
41167
+ var ProfileReviewStatusResponse, ProfileReviewStatusResponse$inboundSchema, ProfileReviewStatusResponse$outboundSchema, ProfileReviewStatusResponse$;
41168
+ var init_profilereviewstatusresponse = __esm(() => {
41169
+ init_esm();
41170
+ ProfileReviewStatusResponse = {
41171
+ Pending: "pending",
41172
+ Rejected: "rejected"
41173
+ };
41174
+ ProfileReviewStatusResponse$inboundSchema = unionType([
41175
+ nativeEnumType(ProfileReviewStatusResponse),
41176
+ stringType().transform(catchUnrecognizedEnum)
41177
+ ]);
41178
+ ProfileReviewStatusResponse$outboundSchema = unionType([
41179
+ nativeEnumType(ProfileReviewStatusResponse),
41180
+ stringType().and(custom())
41181
+ ]);
41182
+ ((ProfileReviewStatusResponse$) => {
41183
+ ProfileReviewStatusResponse$.inboundSchema = ProfileReviewStatusResponse$inboundSchema;
41184
+ ProfileReviewStatusResponse$.outboundSchema = ProfileReviewStatusResponse$outboundSchema;
41185
+ })(ProfileReviewStatusResponse$ ||= {});
41186
+ });
41187
+
41188
+ // src/models/profileresponse.ts
41189
+ var Review$inboundSchema, Review$outboundSchema, Review$, ProfileResponseLinks$inboundSchema, ProfileResponseLinks$outboundSchema, ProfileResponseLinks$, ProfileResponse$inboundSchema, ProfileResponse$outboundSchema, ProfileResponse$;
41190
+ var init_profileresponse = __esm(() => {
41191
+ init_esm();
41192
+ init_primitives();
41193
+ init_mode();
41194
+ init_profilereviewstatusresponse();
41195
+ init_profilestatus();
41196
+ init_url2();
41197
+ Review$inboundSchema = objectType({
41198
+ status: ProfileReviewStatusResponse$inboundSchema.optional()
41199
+ });
41200
+ Review$outboundSchema = objectType({
41201
+ status: ProfileReviewStatusResponse$outboundSchema.optional()
41202
+ });
41203
+ ((Review$) => {
41204
+ Review$.inboundSchema = Review$inboundSchema;
41205
+ Review$.outboundSchema = Review$outboundSchema;
41206
+ })(Review$ ||= {});
41207
+ ProfileResponseLinks$inboundSchema = objectType({
41208
+ self: Url$inboundSchema.optional(),
41209
+ dashboard: Url$inboundSchema.optional(),
41210
+ chargebacks: Url$inboundSchema.optional(),
41211
+ methods: Url$inboundSchema.optional(),
41212
+ payments: Url$inboundSchema.optional(),
41213
+ refunds: Url$inboundSchema.optional(),
41214
+ checkoutPreviewUrl: Url$inboundSchema.optional(),
41215
+ documentation: Url$inboundSchema.optional()
41216
+ });
41217
+ ProfileResponseLinks$outboundSchema = objectType({
41218
+ self: Url$outboundSchema.optional(),
41219
+ dashboard: Url$outboundSchema.optional(),
41220
+ chargebacks: Url$outboundSchema.optional(),
41221
+ methods: Url$outboundSchema.optional(),
41222
+ payments: Url$outboundSchema.optional(),
41223
+ refunds: Url$outboundSchema.optional(),
41224
+ checkoutPreviewUrl: Url$outboundSchema.optional(),
41225
+ documentation: Url$outboundSchema.optional()
41173
41226
  });
41174
- ((PaymentLinkResponseLinks$) => {
41175
- PaymentLinkResponseLinks$.inboundSchema = PaymentLinkResponseLinks$inboundSchema;
41176
- PaymentLinkResponseLinks$.outboundSchema = PaymentLinkResponseLinks$outboundSchema;
41177
- })(PaymentLinkResponseLinks$ ||= {});
41178
- PaymentLinkResponse$inboundSchema = objectType({
41227
+ ((ProfileResponseLinks$) => {
41228
+ ProfileResponseLinks$.inboundSchema = ProfileResponseLinks$inboundSchema;
41229
+ ProfileResponseLinks$.outboundSchema = ProfileResponseLinks$outboundSchema;
41230
+ })(ProfileResponseLinks$ ||= {});
41231
+ ProfileResponse$inboundSchema = objectType({
41179
41232
  resource: stringType().optional(),
41180
41233
  id: stringType().optional(),
41181
41234
  mode: Mode$inboundSchema.optional(),
41235
+ name: stringType().optional(),
41236
+ website: stringType().optional(),
41237
+ email: stringType().optional(),
41238
+ phone: stringType().optional(),
41182
41239
  description: stringType().optional(),
41183
- amount: nullableType(AmountNullable$inboundSchema).optional(),
41184
- minimumAmount: nullableType(AmountNullable$inboundSchema).optional(),
41185
- archived: booleanType().optional(),
41186
- redirectUrl: nullableType(stringType()).optional(),
41187
- webhookUrl: nullableType(stringType()).optional(),
41188
- lines: nullableType(arrayType(PaymentLineItemResponse$inboundSchema)).optional(),
41189
- billingAddress: PaymentAddress$inboundSchema.optional(),
41190
- shippingAddress: PaymentAddress$inboundSchema.optional(),
41191
- profileId: nullableType(stringType()).optional(),
41192
- reusable: nullableType(booleanType()).optional(),
41240
+ countriesOfActivity: arrayType(stringType()).optional(),
41241
+ businessCategory: stringType().optional(),
41242
+ status: ProfileStatus$inboundSchema.optional(),
41243
+ review: lazyType(() => Review$inboundSchema).optional(),
41193
41244
  createdAt: stringType().optional(),
41194
- paidAt: nullableType(stringType()).optional(),
41195
- expiresAt: nullableType(stringType()).optional(),
41196
- allowedMethods: nullableType(arrayType(stringType())).optional(),
41197
- applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$inboundSchema).optional(),
41198
- sequenceType: PaymentLinkSequenceTypeResponse$inboundSchema.optional(),
41199
- customerId: nullableType(stringType()).optional(),
41200
- _links: lazyType(() => PaymentLinkResponseLinks$inboundSchema).optional()
41245
+ _links: lazyType(() => ProfileResponseLinks$inboundSchema).optional()
41201
41246
  }).transform((v2) => {
41202
41247
  return remap(v2, {
41203
41248
  _links: "links"
41204
41249
  });
41205
41250
  });
41206
- PaymentLinkResponse$outboundSchema = objectType({
41251
+ ProfileResponse$outboundSchema = objectType({
41207
41252
  resource: stringType().optional(),
41208
41253
  id: stringType().optional(),
41209
41254
  mode: Mode$outboundSchema.optional(),
41255
+ name: stringType().optional(),
41256
+ website: stringType().optional(),
41257
+ email: stringType().optional(),
41258
+ phone: stringType().optional(),
41210
41259
  description: stringType().optional(),
41211
- amount: nullableType(AmountNullable$outboundSchema).optional(),
41212
- minimumAmount: nullableType(AmountNullable$outboundSchema).optional(),
41213
- archived: booleanType().optional(),
41214
- redirectUrl: nullableType(stringType()).optional(),
41215
- webhookUrl: nullableType(stringType()).optional(),
41216
- lines: nullableType(arrayType(PaymentLineItemResponse$outboundSchema)).optional(),
41217
- billingAddress: PaymentAddress$outboundSchema.optional(),
41218
- shippingAddress: PaymentAddress$outboundSchema.optional(),
41219
- profileId: nullableType(stringType()).optional(),
41220
- reusable: nullableType(booleanType()).optional(),
41260
+ countriesOfActivity: arrayType(stringType()).optional(),
41261
+ businessCategory: stringType().optional(),
41262
+ status: ProfileStatus$outboundSchema.optional(),
41263
+ review: lazyType(() => Review$outboundSchema).optional(),
41221
41264
  createdAt: stringType().optional(),
41222
- paidAt: nullableType(stringType()).optional(),
41223
- expiresAt: nullableType(stringType()).optional(),
41224
- allowedMethods: nullableType(arrayType(stringType())).optional(),
41225
- applicationFee: lazyType(() => PaymentLinkResponseApplicationFee$outboundSchema).optional(),
41226
- sequenceType: PaymentLinkSequenceTypeResponse$outboundSchema.optional(),
41227
- customerId: nullableType(stringType()).optional(),
41228
- links: lazyType(() => PaymentLinkResponseLinks$outboundSchema).optional()
41265
+ links: lazyType(() => ProfileResponseLinks$outboundSchema).optional()
41229
41266
  }).transform((v2) => {
41230
41267
  return remap(v2, {
41231
41268
  links: "_links"
41232
41269
  });
41233
41270
  });
41234
- ((PaymentLinkResponse$) => {
41235
- PaymentLinkResponse$.inboundSchema = PaymentLinkResponse$inboundSchema;
41236
- PaymentLinkResponse$.outboundSchema = PaymentLinkResponse$outboundSchema;
41237
- })(PaymentLinkResponse$ ||= {});
41271
+ ((ProfileResponse$) => {
41272
+ ProfileResponse$.inboundSchema = ProfileResponse$inboundSchema;
41273
+ ProfileResponse$.outboundSchema = ProfileResponse$outboundSchema;
41274
+ })(ProfileResponse$ ||= {});
41238
41275
  });
41239
41276
 
41240
41277
  // src/models/entitywebhookevent.ts
@@ -41242,17 +41279,14 @@ var Entity$inboundSchema, Entity$outboundSchema, Entity$, Embedded$inboundSchema
41242
41279
  var init_entitywebhookevent = __esm(() => {
41243
41280
  init_esm();
41244
41281
  init_primitives();
41245
- init_entityprofileresponse();
41246
41282
  init_paymentlinkresponse();
41283
+ init_profileresponse();
41247
41284
  init_url2();
41248
41285
  init_webhookeventtypes();
41249
- Entity$inboundSchema = unionType([
41250
- PaymentLinkResponse$inboundSchema,
41251
- EntityProfileResponse$inboundSchema
41252
- ]);
41286
+ Entity$inboundSchema = unionType([PaymentLinkResponse$inboundSchema, ProfileResponse$inboundSchema]);
41253
41287
  Entity$outboundSchema = unionType([
41254
41288
  PaymentLinkResponse$outboundSchema,
41255
- EntityProfileResponse$outboundSchema
41289
+ ProfileResponse$outboundSchema
41256
41290
  ]);
41257
41291
  ((Entity$) => {
41258
41292
  Entity$.inboundSchema = Entity$inboundSchema;
@@ -41261,13 +41295,13 @@ var init_entitywebhookevent = __esm(() => {
41261
41295
  Embedded$inboundSchema = objectType({
41262
41296
  entity: unionType([
41263
41297
  PaymentLinkResponse$inboundSchema,
41264
- EntityProfileResponse$inboundSchema
41298
+ ProfileResponse$inboundSchema
41265
41299
  ]).optional()
41266
41300
  });
41267
41301
  Embedded$outboundSchema = objectType({
41268
41302
  entity: unionType([
41269
41303
  PaymentLinkResponse$outboundSchema,
41270
- EntityProfileResponse$outboundSchema
41304
+ ProfileResponse$outboundSchema
41271
41305
  ]).optional()
41272
41306
  });
41273
41307
  ((Embedded$) => {
@@ -41679,6 +41713,54 @@ var init_method = __esm(() => {
41679
41713
  })(Method$ ||= {});
41680
41714
  });
41681
41715
 
41716
+ // src/models/methodincludewalletsparameter.ts
41717
+ var MethodIncludeWalletsParameter, MethodIncludeWalletsParameter$inboundSchema, MethodIncludeWalletsParameter$outboundSchema, MethodIncludeWalletsParameter$;
41718
+ var init_methodincludewalletsparameter = __esm(() => {
41719
+ init_esm();
41720
+ MethodIncludeWalletsParameter = {
41721
+ Applepay: "applepay"
41722
+ };
41723
+ MethodIncludeWalletsParameter$inboundSchema = nativeEnumType(MethodIncludeWalletsParameter);
41724
+ MethodIncludeWalletsParameter$outboundSchema = MethodIncludeWalletsParameter$inboundSchema;
41725
+ ((MethodIncludeWalletsParameter$) => {
41726
+ MethodIncludeWalletsParameter$.inboundSchema = MethodIncludeWalletsParameter$inboundSchema;
41727
+ MethodIncludeWalletsParameter$.outboundSchema = MethodIncludeWalletsParameter$outboundSchema;
41728
+ })(MethodIncludeWalletsParameter$ ||= {});
41729
+ });
41730
+
41731
+ // src/models/methodresourceparameter.ts
41732
+ var MethodResourceParameter, MethodResourceParameter$inboundSchema, MethodResourceParameter$outboundSchema, MethodResourceParameter$;
41733
+ var init_methodresourceparameter = __esm(() => {
41734
+ init_esm();
41735
+ MethodResourceParameter = {
41736
+ Payments: "payments",
41737
+ Orders: "orders"
41738
+ };
41739
+ MethodResourceParameter$inboundSchema = nativeEnumType(MethodResourceParameter);
41740
+ MethodResourceParameter$outboundSchema = MethodResourceParameter$inboundSchema;
41741
+ ((MethodResourceParameter$) => {
41742
+ MethodResourceParameter$.inboundSchema = MethodResourceParameter$inboundSchema;
41743
+ MethodResourceParameter$.outboundSchema = MethodResourceParameter$outboundSchema;
41744
+ })(MethodResourceParameter$ ||= {});
41745
+ });
41746
+
41747
+ // src/models/onboardingvatregulation.ts
41748
+ var OnboardingVatRegulation, OnboardingVatRegulation$inboundSchema, OnboardingVatRegulation$outboundSchema, OnboardingVatRegulation$;
41749
+ var init_onboardingvatregulation = __esm(() => {
41750
+ init_esm();
41751
+ OnboardingVatRegulation = {
41752
+ Dutch: "dutch",
41753
+ British: "british",
41754
+ Shifted: "shifted"
41755
+ };
41756
+ OnboardingVatRegulation$inboundSchema = nativeEnumType(OnboardingVatRegulation);
41757
+ OnboardingVatRegulation$outboundSchema = OnboardingVatRegulation$inboundSchema;
41758
+ ((OnboardingVatRegulation$) => {
41759
+ OnboardingVatRegulation$.inboundSchema = OnboardingVatRegulation$inboundSchema;
41760
+ OnboardingVatRegulation$.outboundSchema = OnboardingVatRegulation$outboundSchema;
41761
+ })(OnboardingVatRegulation$ ||= {});
41762
+ });
41763
+
41682
41764
  // src/models/paymentdetailscardauditionresponse.ts
41683
41765
  var PaymentDetailsCardAuditionResponse, PaymentDetailsCardAuditionResponse$inboundSchema, PaymentDetailsCardAuditionResponse$outboundSchema, PaymentDetailsCardAuditionResponse$;
41684
41766
  var init_paymentdetailscardauditionresponse = __esm(() => {
@@ -42900,46 +42982,6 @@ var init_paymentresponse = __esm(() => {
42900
42982
  })(PaymentResponse$ ||= {});
42901
42983
  });
42902
42984
 
42903
- // src/models/routecreaterequest.ts
42904
- var RouteCreateRequestDestination$inboundSchema, RouteCreateRequestDestination$outboundSchema, RouteCreateRequestDestination$, RouteCreateRequest$inboundSchema, RouteCreateRequest$outboundSchema, RouteCreateRequest$;
42905
- var init_routecreaterequest = __esm(() => {
42906
- init_esm();
42907
- init_amount();
42908
- init_routedestinationtype();
42909
- RouteCreateRequestDestination$inboundSchema = objectType({
42910
- type: RouteDestinationType$inboundSchema,
42911
- organizationId: stringType()
42912
- });
42913
- RouteCreateRequestDestination$outboundSchema = objectType({
42914
- type: RouteDestinationType$outboundSchema,
42915
- organizationId: stringType()
42916
- });
42917
- ((RouteCreateRequestDestination$) => {
42918
- RouteCreateRequestDestination$.inboundSchema = RouteCreateRequestDestination$inboundSchema;
42919
- RouteCreateRequestDestination$.outboundSchema = RouteCreateRequestDestination$outboundSchema;
42920
- })(RouteCreateRequestDestination$ ||= {});
42921
- RouteCreateRequest$inboundSchema = objectType({
42922
- id: stringType().optional(),
42923
- paymentId: stringType().optional(),
42924
- amount: Amount$inboundSchema.optional(),
42925
- description: stringType().optional(),
42926
- destination: lazyType(() => RouteCreateRequestDestination$inboundSchema).optional(),
42927
- testmode: nullableType(booleanType()).optional()
42928
- });
42929
- RouteCreateRequest$outboundSchema = objectType({
42930
- id: stringType().optional(),
42931
- paymentId: stringType().optional(),
42932
- amount: Amount$outboundSchema.optional(),
42933
- description: stringType().optional(),
42934
- destination: lazyType(() => RouteCreateRequestDestination$outboundSchema).optional(),
42935
- testmode: nullableType(booleanType()).optional()
42936
- });
42937
- ((RouteCreateRequest$) => {
42938
- RouteCreateRequest$.inboundSchema = RouteCreateRequest$inboundSchema;
42939
- RouteCreateRequest$.outboundSchema = RouteCreateRequest$outboundSchema;
42940
- })(RouteCreateRequest$ ||= {});
42941
- });
42942
-
42943
42985
  // src/models/routecreateresponse.ts
42944
42986
  var RouteCreateResponseDestination$inboundSchema, RouteCreateResponseDestination$outboundSchema, RouteCreateResponseDestination$, RouteCreateResponseLinks$inboundSchema, RouteCreateResponseLinks$outboundSchema, RouteCreateResponseLinks$, RouteCreateResponse$inboundSchema, RouteCreateResponse$outboundSchema, RouteCreateResponse$;
42945
42987
  var init_routecreateresponse = __esm(() => {
@@ -42973,26 +43015,26 @@ var init_routecreateresponse = __esm(() => {
42973
43015
  RouteCreateResponseLinks$.outboundSchema = RouteCreateResponseLinks$outboundSchema;
42974
43016
  })(RouteCreateResponseLinks$ ||= {});
42975
43017
  RouteCreateResponse$inboundSchema = objectType({
42976
- resource: stringType(),
42977
- id: stringType(),
42978
- paymentId: stringType(),
42979
- amount: Amount$inboundSchema,
42980
- description: stringType(),
42981
- destination: lazyType(() => RouteCreateResponseDestination$inboundSchema),
42982
- _links: lazyType(() => RouteCreateResponseLinks$inboundSchema)
43018
+ resource: stringType().optional(),
43019
+ id: stringType().optional(),
43020
+ paymentId: stringType().optional(),
43021
+ amount: Amount$inboundSchema.optional(),
43022
+ description: stringType().optional(),
43023
+ destination: lazyType(() => RouteCreateResponseDestination$inboundSchema).optional(),
43024
+ _links: lazyType(() => RouteCreateResponseLinks$inboundSchema).optional()
42983
43025
  }).transform((v2) => {
42984
43026
  return remap(v2, {
42985
43027
  _links: "links"
42986
43028
  });
42987
43029
  });
42988
43030
  RouteCreateResponse$outboundSchema = objectType({
42989
- resource: stringType(),
42990
- id: stringType(),
42991
- paymentId: stringType(),
42992
- amount: Amount$outboundSchema,
42993
- description: stringType(),
42994
- destination: lazyType(() => RouteCreateResponseDestination$outboundSchema),
42995
- links: lazyType(() => RouteCreateResponseLinks$outboundSchema)
43031
+ resource: stringType().optional(),
43032
+ id: stringType().optional(),
43033
+ paymentId: stringType().optional(),
43034
+ amount: Amount$outboundSchema.optional(),
43035
+ description: stringType().optional(),
43036
+ destination: lazyType(() => RouteCreateResponseDestination$outboundSchema).optional(),
43037
+ links: lazyType(() => RouteCreateResponseLinks$outboundSchema).optional()
42996
43038
  }).transform((v2) => {
42997
43039
  return remap(v2, {
42998
43040
  links: "_links"
@@ -43037,13 +43079,13 @@ var init_routegetresponse = __esm(() => {
43037
43079
  RouteGetResponseLinks$.outboundSchema = RouteGetResponseLinks$outboundSchema;
43038
43080
  })(RouteGetResponseLinks$ ||= {});
43039
43081
  RouteGetResponse$inboundSchema = objectType({
43040
- resource: stringType(),
43041
- id: stringType(),
43042
- paymentId: stringType(),
43043
- amount: Amount$inboundSchema,
43044
- description: stringType(),
43045
- destination: lazyType(() => RouteGetResponseDestination$inboundSchema),
43046
- _links: lazyType(() => RouteGetResponseLinks$inboundSchema),
43082
+ resource: stringType().optional(),
43083
+ id: stringType().optional(),
43084
+ paymentId: stringType().optional(),
43085
+ amount: Amount$inboundSchema.optional(),
43086
+ description: stringType().optional(),
43087
+ destination: lazyType(() => RouteGetResponseDestination$inboundSchema).optional(),
43088
+ _links: lazyType(() => RouteGetResponseLinks$inboundSchema).optional(),
43047
43089
  createdAt: stringType()
43048
43090
  }).transform((v2) => {
43049
43091
  return remap(v2, {
@@ -43051,13 +43093,13 @@ var init_routegetresponse = __esm(() => {
43051
43093
  });
43052
43094
  });
43053
43095
  RouteGetResponse$outboundSchema = objectType({
43054
- resource: stringType(),
43055
- id: stringType(),
43056
- paymentId: stringType(),
43057
- amount: Amount$outboundSchema,
43058
- description: stringType(),
43059
- destination: lazyType(() => RouteGetResponseDestination$outboundSchema),
43060
- links: lazyType(() => RouteGetResponseLinks$outboundSchema),
43096
+ resource: stringType().optional(),
43097
+ id: stringType().optional(),
43098
+ paymentId: stringType().optional(),
43099
+ amount: Amount$outboundSchema.optional(),
43100
+ description: stringType().optional(),
43101
+ destination: lazyType(() => RouteGetResponseDestination$outboundSchema).optional(),
43102
+ links: lazyType(() => RouteGetResponseLinks$outboundSchema).optional(),
43061
43103
  createdAt: stringType()
43062
43104
  }).transform((v2) => {
43063
43105
  return remap(v2, {
@@ -43334,8 +43376,7 @@ var init_updatevaluessalesinvoice = __esm(() => {
43334
43376
  recipientIdentifier: stringType().optional(),
43335
43377
  recipient: nullableType(SalesInvoiceRecipient$inboundSchema).optional(),
43336
43378
  lines: nullableType(arrayType(SalesInvoiceLineItem$inboundSchema)).optional(),
43337
- discount: nullableType(SalesInvoiceDiscount$inboundSchema).optional(),
43338
- isEInvoice: booleanType().optional()
43379
+ discount: nullableType(SalesInvoiceDiscount$inboundSchema).optional()
43339
43380
  });
43340
43381
  UpdateValuesSalesInvoice$outboundSchema = objectType({
43341
43382
  testmode: nullableType(booleanType()).optional(),
@@ -43347,8 +43388,7 @@ var init_updatevaluessalesinvoice = __esm(() => {
43347
43388
  recipientIdentifier: stringType().optional(),
43348
43389
  recipient: nullableType(SalesInvoiceRecipient$outboundSchema).optional(),
43349
43390
  lines: nullableType(arrayType(SalesInvoiceLineItem$outboundSchema)).optional(),
43350
- discount: nullableType(SalesInvoiceDiscount$outboundSchema).optional(),
43351
- isEInvoice: booleanType().optional()
43391
+ discount: nullableType(SalesInvoiceDiscount$outboundSchema).optional()
43352
43392
  });
43353
43393
  ((UpdateValuesSalesInvoice$) => {
43354
43394
  UpdateValuesSalesInvoice$.inboundSchema = UpdateValuesSalesInvoice$inboundSchema;
@@ -43380,6 +43420,7 @@ var init_models = __esm(() => {
43380
43420
  init_capturemoderesponse();
43381
43421
  init_captureresponse();
43382
43422
  init_capturestatus();
43423
+ init_clientlinkresponse();
43383
43424
  init_componentssubtotals();
43384
43425
  init_createwebhook();
43385
43426
  init_currencies();
@@ -43397,7 +43438,6 @@ var init_models = __esm(() => {
43397
43438
  init_entitycapture();
43398
43439
  init_entitychargeback();
43399
43440
  init_entityclientlink();
43400
- init_entityclientlinkresponse();
43401
43441
  init_entitycustomer();
43402
43442
  init_entityevent();
43403
43443
  init_entityinvoice();
@@ -43410,9 +43450,9 @@ var init_models = __esm(() => {
43410
43450
  init_entitypaymentrouteresponse();
43411
43451
  init_entitypermission();
43412
43452
  init_entityprofile();
43413
- init_entityprofileresponse();
43414
43453
  init_entityrefund();
43415
43454
  init_entityrefundresponse();
43455
+ init_entityroute();
43416
43456
  init_entitysalesinvoice();
43417
43457
  init_entitysalesinvoiceresponse();
43418
43458
  init_entitysettlement();
@@ -43435,10 +43475,13 @@ var init_models = __esm(() => {
43435
43475
  init_mandatestatus();
43436
43476
  init_metadata();
43437
43477
  init_method();
43478
+ init_methodincludewalletsparameter();
43479
+ init_methodresourceparameter();
43438
43480
  init_methodresponse();
43439
43481
  init_methodstatus();
43440
43482
  init_mode();
43441
43483
  init_onboardingstatus();
43484
+ init_onboardingvatregulation();
43442
43485
  init_organizationvatregulation();
43443
43486
  init_paymentaddress();
43444
43487
  init_paymentdetailscardauditionresponse();
@@ -43462,6 +43505,7 @@ var init_models = __esm(() => {
43462
43505
  init_paymentrequest();
43463
43506
  init_paymentresponse();
43464
43507
  init_paymentstatus();
43508
+ init_profileresponse();
43465
43509
  init_profilereviewstatusresponse();
43466
43510
  init_profilestatus();
43467
43511
  init_recurringlineitem();
@@ -43469,7 +43513,6 @@ var init_models = __esm(() => {
43469
43513
  init_refundexternalreferencetyperesponse();
43470
43514
  init_refundroutingreversalssourcetype();
43471
43515
  init_refundstatus();
43472
- init_routecreaterequest();
43473
43516
  init_routecreateresponse();
43474
43517
  init_routedestinationtype();
43475
43518
  init_routedestinationtyperesponse();
@@ -44401,25 +44444,16 @@ var init_getbalance = __esm(() => {
44401
44444
  });
44402
44445
 
44403
44446
  // src/models/operations/getbalancereport.ts
44404
- var Grouping, Grouping$inboundSchema, Grouping$outboundSchema, Grouping$, GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
44447
+ var GetBalanceReportRequest$inboundSchema, GetBalanceReportRequest$outboundSchema, GetBalanceReportRequest$;
44405
44448
  var init_getbalancereport = __esm(() => {
44406
44449
  init_esm();
44407
44450
  init_primitives();
44408
- Grouping = {
44409
- StatusBalances: "status-balances",
44410
- TransactionCategories: "transaction-categories"
44411
- };
44412
- Grouping$inboundSchema = nativeEnumType(Grouping);
44413
- Grouping$outboundSchema = Grouping$inboundSchema;
44414
- ((Grouping$) => {
44415
- Grouping$.inboundSchema = Grouping$inboundSchema;
44416
- Grouping$.outboundSchema = Grouping$outboundSchema;
44417
- })(Grouping$ ||= {});
44451
+ init_models();
44418
44452
  GetBalanceReportRequest$inboundSchema = objectType({
44419
44453
  balanceId: stringType(),
44420
44454
  from: stringType(),
44421
44455
  until: stringType(),
44422
- grouping: nullableType(Grouping$inboundSchema).optional(),
44456
+ grouping: BalanceReportGrouping$inboundSchema.optional(),
44423
44457
  testmode: nullableType(booleanType()).optional(),
44424
44458
  "idempotency-key": stringType().optional()
44425
44459
  }).transform((v2) => {
@@ -44431,7 +44465,7 @@ var init_getbalancereport = __esm(() => {
44431
44465
  balanceId: stringType(),
44432
44466
  from: stringType(),
44433
44467
  until: stringType(),
44434
- grouping: nullableType(Grouping$outboundSchema).optional(),
44468
+ grouping: BalanceReportGrouping$outboundSchema.optional(),
44435
44469
  testmode: nullableType(booleanType()).optional(),
44436
44470
  idempotencyKey: stringType().optional()
44437
44471
  }).transform((v2) => {
@@ -45536,19 +45570,19 @@ var init_listallchargebacks = __esm(() => {
45536
45570
  ListAllChargebacksRequest$.outboundSchema = ListAllChargebacksRequest$outboundSchema;
45537
45571
  })(ListAllChargebacksRequest$ ||= {});
45538
45572
  ListAllChargebacksEmbedded$inboundSchema = objectType({
45539
- chargebacks: arrayType(EntityChargeback$inboundSchema).optional()
45573
+ chargebacks: arrayType(EntityChargeback$inboundSchema)
45540
45574
  });
45541
45575
  ListAllChargebacksEmbedded$outboundSchema = objectType({
45542
- chargebacks: arrayType(EntityChargeback$outboundSchema).optional()
45576
+ chargebacks: arrayType(EntityChargeback$outboundSchema)
45543
45577
  });
45544
45578
  ((ListAllChargebacksEmbedded$) => {
45545
45579
  ListAllChargebacksEmbedded$.inboundSchema = ListAllChargebacksEmbedded$inboundSchema;
45546
45580
  ListAllChargebacksEmbedded$.outboundSchema = ListAllChargebacksEmbedded$outboundSchema;
45547
45581
  })(ListAllChargebacksEmbedded$ ||= {});
45548
45582
  ListAllChargebacksResponse$inboundSchema = objectType({
45549
- count: numberType().int().optional(),
45550
- _embedded: lazyType(() => ListAllChargebacksEmbedded$inboundSchema).optional(),
45551
- _links: ListLinks$inboundSchema.optional()
45583
+ count: numberType().int(),
45584
+ _embedded: lazyType(() => ListAllChargebacksEmbedded$inboundSchema),
45585
+ _links: ListLinks$inboundSchema
45552
45586
  }).transform((v2) => {
45553
45587
  return remap(v2, {
45554
45588
  _embedded: "embedded",
@@ -45556,9 +45590,9 @@ var init_listallchargebacks = __esm(() => {
45556
45590
  });
45557
45591
  });
45558
45592
  ListAllChargebacksResponse$outboundSchema = objectType({
45559
- count: numberType().int().optional(),
45560
- embedded: lazyType(() => ListAllChargebacksEmbedded$outboundSchema).optional(),
45561
- links: ListLinks$outboundSchema.optional()
45593
+ count: numberType().int(),
45594
+ embedded: lazyType(() => ListAllChargebacksEmbedded$outboundSchema),
45595
+ links: ListLinks$outboundSchema
45562
45596
  }).transform((v2) => {
45563
45597
  return remap(v2, {
45564
45598
  embedded: "_embedded",
@@ -45828,19 +45862,19 @@ var init_listbalances = __esm(() => {
45828
45862
  ListBalancesRequest$.outboundSchema = ListBalancesRequest$outboundSchema;
45829
45863
  })(ListBalancesRequest$ ||= {});
45830
45864
  ListBalancesEmbedded$inboundSchema = objectType({
45831
- balances: arrayType(EntityBalance$inboundSchema).optional()
45865
+ balances: arrayType(EntityBalance$inboundSchema)
45832
45866
  });
45833
45867
  ListBalancesEmbedded$outboundSchema = objectType({
45834
- balances: arrayType(EntityBalance$outboundSchema).optional()
45868
+ balances: arrayType(EntityBalance$outboundSchema)
45835
45869
  });
45836
45870
  ((ListBalancesEmbedded$) => {
45837
45871
  ListBalancesEmbedded$.inboundSchema = ListBalancesEmbedded$inboundSchema;
45838
45872
  ListBalancesEmbedded$.outboundSchema = ListBalancesEmbedded$outboundSchema;
45839
45873
  })(ListBalancesEmbedded$ ||= {});
45840
45874
  ListBalancesResponse$inboundSchema = objectType({
45841
- count: numberType().int().optional(),
45842
- _embedded: lazyType(() => ListBalancesEmbedded$inboundSchema).optional(),
45843
- _links: ListLinks$inboundSchema.optional()
45875
+ count: numberType().int(),
45876
+ _embedded: lazyType(() => ListBalancesEmbedded$inboundSchema),
45877
+ _links: ListLinks$inboundSchema
45844
45878
  }).transform((v2) => {
45845
45879
  return remap(v2, {
45846
45880
  _embedded: "embedded",
@@ -45848,9 +45882,9 @@ var init_listbalances = __esm(() => {
45848
45882
  });
45849
45883
  });
45850
45884
  ListBalancesResponse$outboundSchema = objectType({
45851
- count: numberType().int().optional(),
45852
- embedded: lazyType(() => ListBalancesEmbedded$outboundSchema).optional(),
45853
- links: ListLinks$outboundSchema.optional()
45885
+ count: numberType().int(),
45886
+ embedded: lazyType(() => ListBalancesEmbedded$outboundSchema),
45887
+ links: ListLinks$outboundSchema
45854
45888
  }).transform((v2) => {
45855
45889
  return remap(v2, {
45856
45890
  embedded: "_embedded",
@@ -45896,14 +45930,14 @@ var init_listbalancetransactions = __esm(() => {
45896
45930
  ListBalanceTransactionsRequest$.outboundSchema = ListBalanceTransactionsRequest$outboundSchema;
45897
45931
  })(ListBalanceTransactionsRequest$ ||= {});
45898
45932
  ListBalanceTransactionsEmbedded$inboundSchema = objectType({
45899
- balance_transactions: arrayType(EntityBalanceTransaction$inboundSchema).optional()
45933
+ balance_transactions: arrayType(EntityBalanceTransaction$inboundSchema)
45900
45934
  }).transform((v2) => {
45901
45935
  return remap(v2, {
45902
45936
  balance_transactions: "balanceTransactions"
45903
45937
  });
45904
45938
  });
45905
45939
  ListBalanceTransactionsEmbedded$outboundSchema = objectType({
45906
- balanceTransactions: arrayType(EntityBalanceTransaction$outboundSchema).optional()
45940
+ balanceTransactions: arrayType(EntityBalanceTransaction$outboundSchema)
45907
45941
  }).transform((v2) => {
45908
45942
  return remap(v2, {
45909
45943
  balanceTransactions: "balance_transactions"
@@ -45914,9 +45948,9 @@ var init_listbalancetransactions = __esm(() => {
45914
45948
  ListBalanceTransactionsEmbedded$.outboundSchema = ListBalanceTransactionsEmbedded$outboundSchema;
45915
45949
  })(ListBalanceTransactionsEmbedded$ ||= {});
45916
45950
  ListBalanceTransactionsResponse$inboundSchema = objectType({
45917
- count: numberType().int().optional(),
45918
- _embedded: lazyType(() => ListBalanceTransactionsEmbedded$inboundSchema).optional(),
45919
- _links: ListLinks$inboundSchema.optional()
45951
+ count: numberType().int(),
45952
+ _embedded: lazyType(() => ListBalanceTransactionsEmbedded$inboundSchema),
45953
+ _links: ListLinks$inboundSchema
45920
45954
  }).transform((v2) => {
45921
45955
  return remap(v2, {
45922
45956
  _embedded: "embedded",
@@ -45924,9 +45958,9 @@ var init_listbalancetransactions = __esm(() => {
45924
45958
  });
45925
45959
  });
45926
45960
  ListBalanceTransactionsResponse$outboundSchema = objectType({
45927
- count: numberType().int().optional(),
45928
- embedded: lazyType(() => ListBalanceTransactionsEmbedded$outboundSchema).optional(),
45929
- links: ListLinks$outboundSchema.optional()
45961
+ count: numberType().int(),
45962
+ embedded: lazyType(() => ListBalanceTransactionsEmbedded$outboundSchema),
45963
+ links: ListLinks$outboundSchema
45930
45964
  }).transform((v2) => {
45931
45965
  return remap(v2, {
45932
45966
  embedded: "_embedded",
@@ -45940,7 +45974,7 @@ var init_listbalancetransactions = __esm(() => {
45940
45974
  });
45941
45975
 
45942
45976
  // src/models/operations/listcapabilities.ts
45943
- var ListCapabilitiesRequest$inboundSchema, ListCapabilitiesRequest$outboundSchema, ListCapabilitiesRequest$, ListCapabilitiesEmbedded$inboundSchema, ListCapabilitiesEmbedded$outboundSchema, ListCapabilitiesEmbedded$, Documentation$inboundSchema2, Documentation$outboundSchema2, Documentation$2, ListCapabilitiesLinks$inboundSchema, ListCapabilitiesLinks$outboundSchema, ListCapabilitiesLinks$, ListCapabilitiesResponse$inboundSchema, ListCapabilitiesResponse$outboundSchema, ListCapabilitiesResponse$;
45977
+ var ListCapabilitiesRequest$inboundSchema, ListCapabilitiesRequest$outboundSchema, ListCapabilitiesRequest$, ListCapabilitiesEmbedded$inboundSchema, ListCapabilitiesEmbedded$outboundSchema, ListCapabilitiesEmbedded$, ListCapabilitiesLinks$inboundSchema, ListCapabilitiesLinks$outboundSchema, ListCapabilitiesLinks$, ListCapabilitiesResponse$inboundSchema, ListCapabilitiesResponse$outboundSchema, ListCapabilitiesResponse$;
45944
45978
  var init_listcapabilities = __esm(() => {
45945
45979
  init_esm();
45946
45980
  init_primitives();
@@ -45964,41 +45998,29 @@ var init_listcapabilities = __esm(() => {
45964
45998
  ListCapabilitiesRequest$.outboundSchema = ListCapabilitiesRequest$outboundSchema;
45965
45999
  })(ListCapabilitiesRequest$ ||= {});
45966
46000
  ListCapabilitiesEmbedded$inboundSchema = objectType({
45967
- capabilities: arrayType(EntityCapability$inboundSchema).optional()
46001
+ capabilities: arrayType(EntityCapability$inboundSchema)
45968
46002
  });
45969
46003
  ListCapabilitiesEmbedded$outboundSchema = objectType({
45970
- capabilities: arrayType(EntityCapability$outboundSchema).optional()
46004
+ capabilities: arrayType(EntityCapability$outboundSchema)
45971
46005
  });
45972
46006
  ((ListCapabilitiesEmbedded$) => {
45973
46007
  ListCapabilitiesEmbedded$.inboundSchema = ListCapabilitiesEmbedded$inboundSchema;
45974
46008
  ListCapabilitiesEmbedded$.outboundSchema = ListCapabilitiesEmbedded$outboundSchema;
45975
46009
  })(ListCapabilitiesEmbedded$ ||= {});
45976
- Documentation$inboundSchema2 = objectType({
45977
- href: stringType().optional(),
45978
- type: stringType().optional()
45979
- });
45980
- Documentation$outboundSchema2 = objectType({
45981
- href: stringType().optional(),
45982
- type: stringType().optional()
45983
- });
45984
- ((Documentation$) => {
45985
- Documentation$.inboundSchema = Documentation$inboundSchema2;
45986
- Documentation$.outboundSchema = Documentation$outboundSchema2;
45987
- })(Documentation$2 ||= {});
45988
46010
  ListCapabilitiesLinks$inboundSchema = objectType({
45989
- documentation: lazyType(() => Documentation$inboundSchema2).optional()
46011
+ documentation: Url$inboundSchema.optional()
45990
46012
  });
45991
46013
  ListCapabilitiesLinks$outboundSchema = objectType({
45992
- documentation: lazyType(() => Documentation$outboundSchema2).optional()
46014
+ documentation: Url$outboundSchema.optional()
45993
46015
  });
45994
46016
  ((ListCapabilitiesLinks$) => {
45995
46017
  ListCapabilitiesLinks$.inboundSchema = ListCapabilitiesLinks$inboundSchema;
45996
46018
  ListCapabilitiesLinks$.outboundSchema = ListCapabilitiesLinks$outboundSchema;
45997
46019
  })(ListCapabilitiesLinks$ ||= {});
45998
46020
  ListCapabilitiesResponse$inboundSchema = objectType({
45999
- count: numberType().int().optional(),
46000
- _embedded: lazyType(() => ListCapabilitiesEmbedded$inboundSchema).optional(),
46001
- _links: lazyType(() => ListCapabilitiesLinks$inboundSchema).optional()
46021
+ count: numberType().int(),
46022
+ _embedded: lazyType(() => ListCapabilitiesEmbedded$inboundSchema),
46023
+ _links: lazyType(() => ListCapabilitiesLinks$inboundSchema)
46002
46024
  }).transform((v2) => {
46003
46025
  return remap(v2, {
46004
46026
  _embedded: "embedded",
@@ -46006,9 +46028,9 @@ var init_listcapabilities = __esm(() => {
46006
46028
  });
46007
46029
  });
46008
46030
  ListCapabilitiesResponse$outboundSchema = objectType({
46009
- count: numberType().int().optional(),
46010
- embedded: lazyType(() => ListCapabilitiesEmbedded$outboundSchema).optional(),
46011
- links: lazyType(() => ListCapabilitiesLinks$outboundSchema).optional()
46031
+ count: numberType().int(),
46032
+ embedded: lazyType(() => ListCapabilitiesEmbedded$outboundSchema),
46033
+ links: lazyType(() => ListCapabilitiesLinks$outboundSchema)
46012
46034
  }).transform((v2) => {
46013
46035
  return remap(v2, {
46014
46036
  embedded: "_embedded",
@@ -46126,19 +46148,19 @@ var init_listchargebacks = __esm(() => {
46126
46148
  ListChargebacksRequest$.outboundSchema = ListChargebacksRequest$outboundSchema;
46127
46149
  })(ListChargebacksRequest$ ||= {});
46128
46150
  ListChargebacksEmbedded$inboundSchema = objectType({
46129
- chargebacks: arrayType(EntityChargeback$inboundSchema).optional()
46151
+ chargebacks: arrayType(EntityChargeback$inboundSchema)
46130
46152
  });
46131
46153
  ListChargebacksEmbedded$outboundSchema = objectType({
46132
- chargebacks: arrayType(EntityChargeback$outboundSchema).optional()
46154
+ chargebacks: arrayType(EntityChargeback$outboundSchema)
46133
46155
  });
46134
46156
  ((ListChargebacksEmbedded$) => {
46135
46157
  ListChargebacksEmbedded$.inboundSchema = ListChargebacksEmbedded$inboundSchema;
46136
46158
  ListChargebacksEmbedded$.outboundSchema = ListChargebacksEmbedded$outboundSchema;
46137
46159
  })(ListChargebacksEmbedded$ ||= {});
46138
46160
  ListChargebacksResponse$inboundSchema = objectType({
46139
- count: numberType().int().optional(),
46140
- _embedded: lazyType(() => ListChargebacksEmbedded$inboundSchema).optional(),
46141
- _links: ListLinks$inboundSchema.optional()
46161
+ count: numberType().int(),
46162
+ _embedded: lazyType(() => ListChargebacksEmbedded$inboundSchema),
46163
+ _links: ListLinks$inboundSchema
46142
46164
  }).transform((v2) => {
46143
46165
  return remap(v2, {
46144
46166
  _embedded: "embedded",
@@ -46146,9 +46168,9 @@ var init_listchargebacks = __esm(() => {
46146
46168
  });
46147
46169
  });
46148
46170
  ListChargebacksResponse$outboundSchema = objectType({
46149
- count: numberType().int().optional(),
46150
- embedded: lazyType(() => ListChargebacksEmbedded$outboundSchema).optional(),
46151
- links: ListLinks$outboundSchema.optional()
46171
+ count: numberType().int(),
46172
+ embedded: lazyType(() => ListChargebacksEmbedded$outboundSchema),
46173
+ links: ListLinks$outboundSchema
46152
46174
  }).transform((v2) => {
46153
46175
  return remap(v2, {
46154
46176
  embedded: "_embedded",
@@ -46556,19 +46578,19 @@ var init_listinvoices = __esm(() => {
46556
46578
  Invoice$.outboundSchema = Invoice$outboundSchema;
46557
46579
  })(Invoice$ ||= {});
46558
46580
  ListInvoicesEmbedded$inboundSchema = objectType({
46559
- invoices: arrayType(lazyType(() => Invoice$inboundSchema)).optional()
46581
+ invoices: arrayType(lazyType(() => Invoice$inboundSchema))
46560
46582
  });
46561
46583
  ListInvoicesEmbedded$outboundSchema = objectType({
46562
- invoices: arrayType(lazyType(() => Invoice$outboundSchema)).optional()
46584
+ invoices: arrayType(lazyType(() => Invoice$outboundSchema))
46563
46585
  });
46564
46586
  ((ListInvoicesEmbedded$) => {
46565
46587
  ListInvoicesEmbedded$.inboundSchema = ListInvoicesEmbedded$inboundSchema;
46566
46588
  ListInvoicesEmbedded$.outboundSchema = ListInvoicesEmbedded$outboundSchema;
46567
46589
  })(ListInvoicesEmbedded$ ||= {});
46568
46590
  ListInvoicesResponse$inboundSchema = objectType({
46569
- count: numberType().int().optional(),
46570
- _embedded: lazyType(() => ListInvoicesEmbedded$inboundSchema).optional(),
46571
- _links: ListLinks$inboundSchema.optional()
46591
+ count: numberType().int(),
46592
+ _embedded: lazyType(() => ListInvoicesEmbedded$inboundSchema),
46593
+ _links: ListLinks$inboundSchema
46572
46594
  }).transform((v2) => {
46573
46595
  return remap(v2, {
46574
46596
  _embedded: "embedded",
@@ -46576,9 +46598,9 @@ var init_listinvoices = __esm(() => {
46576
46598
  });
46577
46599
  });
46578
46600
  ListInvoicesResponse$outboundSchema = objectType({
46579
- count: numberType().int().optional(),
46580
- embedded: lazyType(() => ListInvoicesEmbedded$outboundSchema).optional(),
46581
- links: ListLinks$outboundSchema.optional()
46601
+ count: numberType().int(),
46602
+ embedded: lazyType(() => ListInvoicesEmbedded$outboundSchema),
46603
+ links: ListLinks$outboundSchema
46582
46604
  }).transform((v2) => {
46583
46605
  return remap(v2, {
46584
46606
  embedded: "_embedded",
@@ -46662,37 +46684,18 @@ var init_listmandates = __esm(() => {
46662
46684
  });
46663
46685
 
46664
46686
  // src/models/operations/listmethods.ts
46665
- var Resource, IncludeWallets, Resource$inboundSchema, Resource$outboundSchema, Resource$, IncludeWallets$inboundSchema, IncludeWallets$outboundSchema, IncludeWallets$, ListMethodsRequest$inboundSchema, ListMethodsRequest$outboundSchema, ListMethodsRequest$, ListMethodsEmbedded$inboundSchema, ListMethodsEmbedded$outboundSchema, ListMethodsEmbedded$, ListMethodsLinks$inboundSchema, ListMethodsLinks$outboundSchema, ListMethodsLinks$, ListMethodsResponse$inboundSchema, ListMethodsResponse$outboundSchema, ListMethodsResponse$;
46687
+ var ListMethodsRequest$inboundSchema, ListMethodsRequest$outboundSchema, ListMethodsRequest$, ListMethodsEmbedded$inboundSchema, ListMethodsEmbedded$outboundSchema, ListMethodsEmbedded$, ListMethodsLinks$inboundSchema, ListMethodsLinks$outboundSchema, ListMethodsLinks$, ListMethodsResponse$inboundSchema, ListMethodsResponse$outboundSchema, ListMethodsResponse$;
46666
46688
  var init_listmethods = __esm(() => {
46667
46689
  init_esm();
46668
46690
  init_primitives();
46669
46691
  init_models();
46670
- Resource = {
46671
- Payments: "payments",
46672
- Orders: "orders"
46673
- };
46674
- IncludeWallets = {
46675
- Applepay: "applepay"
46676
- };
46677
- Resource$inboundSchema = nativeEnumType(Resource);
46678
- Resource$outboundSchema = Resource$inboundSchema;
46679
- ((Resource$) => {
46680
- Resource$.inboundSchema = Resource$inboundSchema;
46681
- Resource$.outboundSchema = Resource$outboundSchema;
46682
- })(Resource$ ||= {});
46683
- IncludeWallets$inboundSchema = nativeEnumType(IncludeWallets);
46684
- IncludeWallets$outboundSchema = IncludeWallets$inboundSchema;
46685
- ((IncludeWallets$) => {
46686
- IncludeWallets$.inboundSchema = IncludeWallets$inboundSchema;
46687
- IncludeWallets$.outboundSchema = IncludeWallets$outboundSchema;
46688
- })(IncludeWallets$ ||= {});
46689
46692
  ListMethodsRequest$inboundSchema = objectType({
46690
46693
  sequenceType: SequenceType$inboundSchema.optional(),
46691
46694
  locale: LocaleParameter$inboundSchema.optional(),
46692
46695
  amount: Amount$inboundSchema.optional(),
46693
- resource: Resource$inboundSchema.optional(),
46696
+ resource: MethodResourceParameter$inboundSchema.optional(),
46694
46697
  billingCountry: stringType().optional(),
46695
- includeWallets: IncludeWallets$inboundSchema.optional(),
46698
+ includeWallets: MethodIncludeWalletsParameter$inboundSchema.optional(),
46696
46699
  orderLineCategories: LineCategories$inboundSchema.optional(),
46697
46700
  profileId: stringType().optional(),
46698
46701
  include: nullableType(stringType()).optional(),
@@ -46707,9 +46710,9 @@ var init_listmethods = __esm(() => {
46707
46710
  sequenceType: SequenceType$outboundSchema.optional(),
46708
46711
  locale: LocaleParameter$outboundSchema.optional(),
46709
46712
  amount: Amount$outboundSchema.optional(),
46710
- resource: Resource$outboundSchema.optional(),
46713
+ resource: MethodResourceParameter$outboundSchema.optional(),
46711
46714
  billingCountry: stringType().optional(),
46712
- includeWallets: IncludeWallets$outboundSchema.optional(),
46715
+ includeWallets: MethodIncludeWalletsParameter$outboundSchema.optional(),
46713
46716
  orderLineCategories: LineCategories$outboundSchema.optional(),
46714
46717
  profileId: stringType().optional(),
46715
46718
  include: nullableType(stringType()).optional(),
@@ -46941,10 +46944,10 @@ var init_listpermissions = __esm(() => {
46941
46944
  ListPermissionsRequest$.outboundSchema = ListPermissionsRequest$outboundSchema;
46942
46945
  })(ListPermissionsRequest$ ||= {});
46943
46946
  ListPermissionsEmbedded$inboundSchema = objectType({
46944
- permissions: arrayType(EntityPermission$inboundSchema).optional()
46947
+ permissions: arrayType(EntityPermission$inboundSchema)
46945
46948
  });
46946
46949
  ListPermissionsEmbedded$outboundSchema = objectType({
46947
- permissions: arrayType(EntityPermission$outboundSchema).optional()
46950
+ permissions: arrayType(EntityPermission$outboundSchema)
46948
46951
  });
46949
46952
  ((ListPermissionsEmbedded$) => {
46950
46953
  ListPermissionsEmbedded$.inboundSchema = ListPermissionsEmbedded$inboundSchema;
@@ -46963,9 +46966,9 @@ var init_listpermissions = __esm(() => {
46963
46966
  ListPermissionsLinks$.outboundSchema = ListPermissionsLinks$outboundSchema;
46964
46967
  })(ListPermissionsLinks$ ||= {});
46965
46968
  ListPermissionsResponse$inboundSchema = objectType({
46966
- count: numberType().int().optional(),
46967
- _embedded: lazyType(() => ListPermissionsEmbedded$inboundSchema).optional(),
46968
- _links: lazyType(() => ListPermissionsLinks$inboundSchema).optional()
46969
+ count: numberType().int(),
46970
+ _embedded: lazyType(() => ListPermissionsEmbedded$inboundSchema),
46971
+ _links: lazyType(() => ListPermissionsLinks$inboundSchema)
46969
46972
  }).transform((v2) => {
46970
46973
  return remap(v2, {
46971
46974
  _embedded: "embedded",
@@ -46973,9 +46976,9 @@ var init_listpermissions = __esm(() => {
46973
46976
  });
46974
46977
  });
46975
46978
  ListPermissionsResponse$outboundSchema = objectType({
46976
- count: numberType().int().optional(),
46977
- embedded: lazyType(() => ListPermissionsEmbedded$outboundSchema).optional(),
46978
- links: lazyType(() => ListPermissionsLinks$outboundSchema).optional()
46979
+ count: numberType().int(),
46980
+ embedded: lazyType(() => ListPermissionsEmbedded$outboundSchema),
46981
+ links: lazyType(() => ListPermissionsLinks$outboundSchema)
46979
46982
  }).transform((v2) => {
46980
46983
  return remap(v2, {
46981
46984
  embedded: "_embedded",
@@ -47017,19 +47020,19 @@ var init_listprofiles = __esm(() => {
47017
47020
  ListProfilesRequest$.outboundSchema = ListProfilesRequest$outboundSchema;
47018
47021
  })(ListProfilesRequest$ ||= {});
47019
47022
  ListProfilesEmbedded$inboundSchema = objectType({
47020
- profiles: arrayType(EntityProfileResponse$inboundSchema).optional()
47023
+ profiles: arrayType(ProfileResponse$inboundSchema)
47021
47024
  });
47022
47025
  ListProfilesEmbedded$outboundSchema = objectType({
47023
- profiles: arrayType(EntityProfileResponse$outboundSchema).optional()
47026
+ profiles: arrayType(ProfileResponse$outboundSchema)
47024
47027
  });
47025
47028
  ((ListProfilesEmbedded$) => {
47026
47029
  ListProfilesEmbedded$.inboundSchema = ListProfilesEmbedded$inboundSchema;
47027
47030
  ListProfilesEmbedded$.outboundSchema = ListProfilesEmbedded$outboundSchema;
47028
47031
  })(ListProfilesEmbedded$ ||= {});
47029
47032
  ListProfilesResponse$inboundSchema = objectType({
47030
- count: numberType().int().optional(),
47031
- _embedded: lazyType(() => ListProfilesEmbedded$inboundSchema).optional(),
47032
- _links: ListLinks$inboundSchema.optional()
47033
+ count: numberType().int(),
47034
+ _embedded: lazyType(() => ListProfilesEmbedded$inboundSchema),
47035
+ _links: ListLinks$inboundSchema
47033
47036
  }).transform((v2) => {
47034
47037
  return remap(v2, {
47035
47038
  _embedded: "embedded",
@@ -47037,9 +47040,9 @@ var init_listprofiles = __esm(() => {
47037
47040
  });
47038
47041
  });
47039
47042
  ListProfilesResponse$outboundSchema = objectType({
47040
- count: numberType().int().optional(),
47041
- embedded: lazyType(() => ListProfilesEmbedded$outboundSchema).optional(),
47042
- links: ListLinks$outboundSchema.optional()
47043
+ count: numberType().int(),
47044
+ embedded: lazyType(() => ListProfilesEmbedded$outboundSchema),
47045
+ links: ListLinks$outboundSchema
47043
47046
  }).transform((v2) => {
47044
47047
  return remap(v2, {
47045
47048
  embedded: "_embedded",
@@ -47301,19 +47304,19 @@ var init_listsettlementchargebacks = __esm(() => {
47301
47304
  ListSettlementChargebacksRequest$.outboundSchema = ListSettlementChargebacksRequest$outboundSchema;
47302
47305
  })(ListSettlementChargebacksRequest$ ||= {});
47303
47306
  ListSettlementChargebacksEmbedded$inboundSchema = objectType({
47304
- chargebacks: arrayType(EntityChargeback$inboundSchema).optional()
47307
+ chargebacks: arrayType(EntityChargeback$inboundSchema)
47305
47308
  });
47306
47309
  ListSettlementChargebacksEmbedded$outboundSchema = objectType({
47307
- chargebacks: arrayType(EntityChargeback$outboundSchema).optional()
47310
+ chargebacks: arrayType(EntityChargeback$outboundSchema)
47308
47311
  });
47309
47312
  ((ListSettlementChargebacksEmbedded$) => {
47310
47313
  ListSettlementChargebacksEmbedded$.inboundSchema = ListSettlementChargebacksEmbedded$inboundSchema;
47311
47314
  ListSettlementChargebacksEmbedded$.outboundSchema = ListSettlementChargebacksEmbedded$outboundSchema;
47312
47315
  })(ListSettlementChargebacksEmbedded$ ||= {});
47313
47316
  ListSettlementChargebacksResponse$inboundSchema = objectType({
47314
- count: numberType().int().optional(),
47315
- _embedded: lazyType(() => ListSettlementChargebacksEmbedded$inboundSchema).optional(),
47316
- _links: ListLinks$inboundSchema.optional()
47317
+ count: numberType().int(),
47318
+ _embedded: lazyType(() => ListSettlementChargebacksEmbedded$inboundSchema),
47319
+ _links: ListLinks$inboundSchema
47317
47320
  }).transform((v2) => {
47318
47321
  return remap(v2, {
47319
47322
  _embedded: "embedded",
@@ -47321,9 +47324,9 @@ var init_listsettlementchargebacks = __esm(() => {
47321
47324
  });
47322
47325
  });
47323
47326
  ListSettlementChargebacksResponse$outboundSchema = objectType({
47324
- count: numberType().int().optional(),
47325
- embedded: lazyType(() => ListSettlementChargebacksEmbedded$outboundSchema).optional(),
47326
- links: ListLinks$outboundSchema.optional()
47327
+ count: numberType().int(),
47328
+ embedded: lazyType(() => ListSettlementChargebacksEmbedded$outboundSchema),
47329
+ links: ListLinks$outboundSchema
47327
47330
  }).transform((v2) => {
47328
47331
  return remap(v2, {
47329
47332
  embedded: "_embedded",
@@ -47841,21 +47844,21 @@ var init_paymentcreateroute = __esm(() => {
47841
47844
  PaymentCreateRouteRequest$inboundSchema = objectType({
47842
47845
  paymentId: stringType(),
47843
47846
  "idempotency-key": stringType().optional(),
47844
- "route-create-request": RouteCreateRequest$inboundSchema.optional()
47847
+ "entity-route": EntityRoute$inboundSchema.optional()
47845
47848
  }).transform((v2) => {
47846
47849
  return remap(v2, {
47847
47850
  "idempotency-key": "idempotencyKey",
47848
- "route-create-request": "routeCreateRequest"
47851
+ "entity-route": "entityRoute"
47849
47852
  });
47850
47853
  });
47851
47854
  PaymentCreateRouteRequest$outboundSchema = objectType({
47852
47855
  paymentId: stringType(),
47853
47856
  idempotencyKey: stringType().optional(),
47854
- routeCreateRequest: RouteCreateRequest$outboundSchema.optional()
47857
+ entityRoute: EntityRoute$outboundSchema.optional()
47855
47858
  }).transform((v2) => {
47856
47859
  return remap(v2, {
47857
47860
  idempotencyKey: "idempotency-key",
47858
- routeCreateRequest: "route-create-request"
47861
+ entityRoute: "entity-route"
47859
47862
  });
47860
47863
  });
47861
47864
  ((PaymentCreateRouteRequest$) => {
@@ -47893,10 +47896,10 @@ var init_paymentlistroutes = __esm(() => {
47893
47896
  PaymentListRoutesRequest$.outboundSchema = PaymentListRoutesRequest$outboundSchema;
47894
47897
  })(PaymentListRoutesRequest$ ||= {});
47895
47898
  PaymentListRoutesEmbedded$inboundSchema = objectType({
47896
- routes: arrayType(RouteGetResponse$inboundSchema).optional()
47899
+ routes: arrayType(RouteGetResponse$inboundSchema)
47897
47900
  });
47898
47901
  PaymentListRoutesEmbedded$outboundSchema = objectType({
47899
- routes: arrayType(RouteGetResponse$outboundSchema).optional()
47902
+ routes: arrayType(RouteGetResponse$outboundSchema)
47900
47903
  });
47901
47904
  ((PaymentListRoutesEmbedded$) => {
47902
47905
  PaymentListRoutesEmbedded$.inboundSchema = PaymentListRoutesEmbedded$inboundSchema;
@@ -47915,9 +47918,9 @@ var init_paymentlistroutes = __esm(() => {
47915
47918
  PaymentListRoutesLinks$.outboundSchema = PaymentListRoutesLinks$outboundSchema;
47916
47919
  })(PaymentListRoutesLinks$ ||= {});
47917
47920
  PaymentListRoutesResponse$inboundSchema = objectType({
47918
- count: numberType().int().optional(),
47919
- _embedded: lazyType(() => PaymentListRoutesEmbedded$inboundSchema).optional(),
47920
- _links: lazyType(() => PaymentListRoutesLinks$inboundSchema).optional()
47921
+ count: numberType().int(),
47922
+ _embedded: lazyType(() => PaymentListRoutesEmbedded$inboundSchema),
47923
+ _links: lazyType(() => PaymentListRoutesLinks$inboundSchema)
47921
47924
  }).transform((v2) => {
47922
47925
  return remap(v2, {
47923
47926
  _embedded: "embedded",
@@ -47925,9 +47928,9 @@ var init_paymentlistroutes = __esm(() => {
47925
47928
  });
47926
47929
  });
47927
47930
  PaymentListRoutesResponse$outboundSchema = objectType({
47928
- count: numberType().int().optional(),
47929
- embedded: lazyType(() => PaymentListRoutesEmbedded$outboundSchema).optional(),
47930
- links: lazyType(() => PaymentListRoutesLinks$outboundSchema).optional()
47931
+ count: numberType().int(),
47932
+ embedded: lazyType(() => PaymentListRoutesEmbedded$outboundSchema),
47933
+ links: lazyType(() => PaymentListRoutesLinks$outboundSchema)
47931
47934
  }).transform((v2) => {
47932
47935
  return remap(v2, {
47933
47936
  embedded: "_embedded",
@@ -48070,35 +48073,24 @@ var init_revokemandate = __esm(() => {
48070
48073
  });
48071
48074
 
48072
48075
  // src/models/operations/submitonboardingdata.ts
48073
- var VatRegulation, VatRegulation$inboundSchema, VatRegulation$outboundSchema, VatRegulation$, Organization$inboundSchema, Organization$outboundSchema, Organization$, Profile$inboundSchema, Profile$outboundSchema, Profile$, SubmitOnboardingDataRequestBody$inboundSchema, SubmitOnboardingDataRequestBody$outboundSchema, SubmitOnboardingDataRequestBody$, SubmitOnboardingDataRequest$inboundSchema, SubmitOnboardingDataRequest$outboundSchema, SubmitOnboardingDataRequest$;
48076
+ var Organization$inboundSchema, Organization$outboundSchema, Organization$, Profile$inboundSchema, Profile$outboundSchema, Profile$, SubmitOnboardingDataRequestBody$inboundSchema, SubmitOnboardingDataRequestBody$outboundSchema, SubmitOnboardingDataRequestBody$, SubmitOnboardingDataRequest$inboundSchema, SubmitOnboardingDataRequest$outboundSchema, SubmitOnboardingDataRequest$;
48074
48077
  var init_submitonboardingdata = __esm(() => {
48075
48078
  init_esm();
48076
48079
  init_primitives();
48077
48080
  init_models();
48078
- VatRegulation = {
48079
- Dutch: "dutch",
48080
- British: "british",
48081
- Shifted: "shifted"
48082
- };
48083
- VatRegulation$inboundSchema = nativeEnumType(VatRegulation);
48084
- VatRegulation$outboundSchema = VatRegulation$inboundSchema;
48085
- ((VatRegulation$) => {
48086
- VatRegulation$.inboundSchema = VatRegulation$inboundSchema;
48087
- VatRegulation$.outboundSchema = VatRegulation$outboundSchema;
48088
- })(VatRegulation$ ||= {});
48089
48081
  Organization$inboundSchema = objectType({
48090
48082
  name: stringType().optional(),
48091
48083
  address: Address$inboundSchema.optional(),
48092
48084
  registrationNumber: stringType().optional(),
48093
48085
  vatNumber: nullableType(stringType()).optional(),
48094
- vatRegulation: nullableType(VatRegulation$inboundSchema).optional()
48086
+ vatRegulation: nullableType(OnboardingVatRegulation$inboundSchema).optional()
48095
48087
  });
48096
48088
  Organization$outboundSchema = objectType({
48097
48089
  name: stringType().optional(),
48098
48090
  address: Address$outboundSchema.optional(),
48099
48091
  registrationNumber: stringType().optional(),
48100
48092
  vatNumber: nullableType(stringType()).optional(),
48101
- vatRegulation: nullableType(VatRegulation$outboundSchema).optional()
48093
+ vatRegulation: nullableType(OnboardingVatRegulation$outboundSchema).optional()
48102
48094
  });
48103
48095
  ((Organization$) => {
48104
48096
  Organization$.inboundSchema = Organization$inboundSchema;
@@ -48358,20 +48350,10 @@ var init_updatepaymentlink = __esm(() => {
48358
48350
  });
48359
48351
 
48360
48352
  // src/models/operations/updateprofile.ts
48361
- var Mode16, Mode$inboundSchema2, Mode$outboundSchema2, Mode$2, UpdateProfileRequestBody$inboundSchema, UpdateProfileRequestBody$outboundSchema, UpdateProfileRequestBody$, UpdateProfileRequest$inboundSchema, UpdateProfileRequest$outboundSchema, UpdateProfileRequest$;
48353
+ var UpdateProfileRequestBody$inboundSchema, UpdateProfileRequestBody$outboundSchema, UpdateProfileRequestBody$, UpdateProfileRequest$inboundSchema, UpdateProfileRequest$outboundSchema, UpdateProfileRequest$;
48362
48354
  var init_updateprofile = __esm(() => {
48363
48355
  init_esm();
48364
48356
  init_primitives();
48365
- Mode16 = {
48366
- Live: "live",
48367
- Test: "test"
48368
- };
48369
- Mode$inboundSchema2 = nativeEnumType(Mode16);
48370
- Mode$outboundSchema2 = Mode$inboundSchema2;
48371
- ((Mode$) => {
48372
- Mode$.inboundSchema = Mode$inboundSchema2;
48373
- Mode$.outboundSchema = Mode$outboundSchema2;
48374
- })(Mode$2 ||= {});
48375
48357
  UpdateProfileRequestBody$inboundSchema = objectType({
48376
48358
  name: nullableType(stringType()).optional(),
48377
48359
  website: nullableType(stringType()).optional(),
@@ -48379,8 +48361,7 @@ var init_updateprofile = __esm(() => {
48379
48361
  phone: nullableType(stringType()).optional(),
48380
48362
  description: nullableType(stringType()).optional(),
48381
48363
  countriesOfActivity: nullableType(arrayType(stringType())).optional(),
48382
- businessCategory: nullableType(stringType()).optional(),
48383
- mode: nullableType(Mode$inboundSchema2).optional()
48364
+ businessCategory: nullableType(stringType()).optional()
48384
48365
  });
48385
48366
  UpdateProfileRequestBody$outboundSchema = objectType({
48386
48367
  name: nullableType(stringType()).optional(),
@@ -48389,8 +48370,7 @@ var init_updateprofile = __esm(() => {
48389
48370
  phone: nullableType(stringType()).optional(),
48390
48371
  description: nullableType(stringType()).optional(),
48391
48372
  countriesOfActivity: nullableType(arrayType(stringType())).optional(),
48392
- businessCategory: nullableType(stringType()).optional(),
48393
- mode: nullableType(Mode$outboundSchema2).optional()
48373
+ businessCategory: nullableType(stringType()).optional()
48394
48374
  });
48395
48375
  ((UpdateProfileRequestBody$) => {
48396
48376
  UpdateProfileRequestBody$.inboundSchema = UpdateProfileRequestBody$inboundSchema;
@@ -50682,7 +50662,7 @@ async function $do16(client, request, options) {
50682
50662
  const responseFields = {
50683
50663
  HttpMeta: { Response: response, Request: req }
50684
50664
  };
50685
- const [result] = await match(json(201, EntityClientLinkResponse$inboundSchema, {
50665
+ const [result] = await match(json(201, ClientLinkResponse$inboundSchema, {
50686
50666
  ctype: "application/hal+json"
50687
50667
  }), jsonErr([404, 422], ErrorResponse$inboundSchema, {
50688
50668
  ctype: "application/hal+json"
@@ -51930,9 +51910,7 @@ async function $do26(client, request, options) {
51930
51910
  return [parsed, { status: "invalid" }];
51931
51911
  }
51932
51912
  const payload = parsed.value;
51933
- const body = encodeJSON("body", payload["route-create-request"], {
51934
- explode: true
51935
- });
51913
+ const body = encodeJSON("body", payload["entity-route"], { explode: true });
51936
51914
  const pathParams = {
51937
51915
  paymentId: encodeSimple("paymentId", payload.paymentId, {
51938
51916
  explode: false,
@@ -55756,7 +55734,7 @@ async function $do56(client, request, options) {
55756
55734
  const responseFields = {
55757
55735
  HttpMeta: { Response: response, Request: req }
55758
55736
  };
55759
- const [result] = await match(json(201, EntityProfileResponse$inboundSchema, {
55737
+ const [result] = await match(json(201, ProfileResponse$inboundSchema, {
55760
55738
  ctype: "application/hal+json"
55761
55739
  }), jsonErr(422, ErrorResponse$inboundSchema, {
55762
55740
  ctype: "application/hal+json"
@@ -56005,7 +55983,7 @@ async function $do58(client, request, options) {
56005
55983
  const responseFields = {
56006
55984
  HttpMeta: { Response: response, Request: req }
56007
55985
  };
56008
- const [result] = await match(json(200, EntityProfileResponse$inboundSchema, {
55986
+ const [result] = await match(json(200, ProfileResponse$inboundSchema, {
56009
55987
  ctype: "application/hal+json"
56010
55988
  }), jsonErr([404, 410], ErrorResponse$inboundSchema, {
56011
55989
  ctype: "application/hal+json"
@@ -56118,7 +56096,7 @@ async function $do59(client, request, options) {
56118
56096
  return [doResult, { status: "request-error", request: req }];
56119
56097
  }
56120
56098
  const response = doResult.value;
56121
- const [result] = await match(json(200, EntityProfileResponse$inboundSchema, {
56099
+ const [result] = await match(json(200, ProfileResponse$inboundSchema, {
56122
56100
  ctype: "application/hal+json"
56123
56101
  }), fail("4XX"), fail("5XX"))(response, req);
56124
56102
  if (!result.ok) {
@@ -56364,7 +56342,7 @@ async function $do61(client, request, options) {
56364
56342
  const responseFields = {
56365
56343
  HttpMeta: { Response: response, Request: req }
56366
56344
  };
56367
- const [result] = await match(json(200, EntityProfileResponse$inboundSchema, {
56345
+ const [result] = await match(json(200, ProfileResponse$inboundSchema, {
56368
56346
  ctype: "application/hal+json"
56369
56347
  }), jsonErr([404, 410, 422], ErrorResponse$inboundSchema, {
56370
56348
  ctype: "application/hal+json"
@@ -60881,7 +60859,7 @@ Updates the webhook. You may edit the name, url and the list of subscribed event
60881
60859
  function createMCPServer(deps) {
60882
60860
  const server = new McpServer({
60883
60861
  name: "Client",
60884
- version: "0.3.4"
60862
+ version: "0.4.1"
60885
60863
  });
60886
60864
  const client = new ClientCore({
60887
60865
  security: deps.security,
@@ -62276,7 +62254,7 @@ var routes = an({
62276
62254
  var app = He(routes, {
62277
62255
  name: "mcp",
62278
62256
  versionInfo: {
62279
- currentVersion: "0.3.4"
62257
+ currentVersion: "0.4.1"
62280
62258
  }
62281
62259
  });
62282
62260
  zt(app, process3.argv.slice(2), buildContext(process3));
@@ -62284,5 +62262,5 @@ export {
62284
62262
  app
62285
62263
  };
62286
62264
 
62287
- //# debugId=97BE52D10E1E91F064756E2164756E21
62265
+ //# debugId=7AD56604E08126AC64756E2164756E21
62288
62266
  //# sourceMappingURL=mcp-server.js.map