mollie-api-typescript 0.4.0 → 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 (415) hide show
  1. package/bin/mcp-server.js +593 -621
  2. package/bin/mcp-server.js.map +48 -45
  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/mcp-server/mcp-server.js +1 -1
  28. package/dist/commonjs/mcp-server/server.js +1 -1
  29. package/dist/commonjs/models/address.d.ts +8 -8
  30. package/dist/commonjs/models/address.d.ts.map +1 -1
  31. package/dist/commonjs/models/address.js +8 -8
  32. package/dist/commonjs/models/address.js.map +1 -1
  33. package/dist/commonjs/models/clientlinkresponse.d.ts +87 -0
  34. package/dist/commonjs/models/clientlinkresponse.d.ts.map +1 -0
  35. package/dist/commonjs/models/clientlinkresponse.js +114 -0
  36. package/dist/commonjs/models/clientlinkresponse.js.map +1 -0
  37. package/dist/commonjs/models/entitybalance.d.ts +20 -20
  38. package/dist/commonjs/models/entitybalance.d.ts.map +1 -1
  39. package/dist/commonjs/models/entitybalance.js +20 -20
  40. package/dist/commonjs/models/entitybalance.js.map +1 -1
  41. package/dist/commonjs/models/entitybalancereport.d.ts +16 -16
  42. package/dist/commonjs/models/entitybalancereport.d.ts.map +1 -1
  43. package/dist/commonjs/models/entitybalancereport.js +16 -16
  44. package/dist/commonjs/models/entitybalancereport.js.map +1 -1
  45. package/dist/commonjs/models/entitybalancetransaction.d.ts +12 -12
  46. package/dist/commonjs/models/entitybalancetransaction.d.ts.map +1 -1
  47. package/dist/commonjs/models/entitybalancetransaction.js +12 -12
  48. package/dist/commonjs/models/entitybalancetransaction.js.map +1 -1
  49. package/dist/commonjs/models/entitycapability.d.ts +10 -10
  50. package/dist/commonjs/models/entitycapability.d.ts.map +1 -1
  51. package/dist/commonjs/models/entitycapability.js +10 -10
  52. package/dist/commonjs/models/entitycapability.js.map +1 -1
  53. package/dist/commonjs/models/entitycapabilityrequirement.d.ts +12 -53
  54. package/dist/commonjs/models/entitycapabilityrequirement.d.ts.map +1 -1
  55. package/dist/commonjs/models/entitycapabilityrequirement.js +12 -42
  56. package/dist/commonjs/models/entitycapabilityrequirement.js.map +1 -1
  57. package/dist/commonjs/models/entityinvoice.d.ts +32 -35
  58. package/dist/commonjs/models/entityinvoice.d.ts.map +1 -1
  59. package/dist/commonjs/models/entityinvoice.js +32 -32
  60. package/dist/commonjs/models/entityinvoice.js.map +1 -1
  61. package/dist/commonjs/models/entityonboardingstatus.d.ts +14 -14
  62. package/dist/commonjs/models/entityonboardingstatus.d.ts.map +1 -1
  63. package/dist/commonjs/models/entityonboardingstatus.js +14 -14
  64. package/dist/commonjs/models/entityonboardingstatus.js.map +1 -1
  65. package/dist/commonjs/models/entityorganization.d.ts +16 -19
  66. package/dist/commonjs/models/entityorganization.d.ts.map +1 -1
  67. package/dist/commonjs/models/entityorganization.js +16 -16
  68. package/dist/commonjs/models/entityorganization.js.map +1 -1
  69. package/dist/commonjs/models/entitypermission.d.ts +10 -10
  70. package/dist/commonjs/models/entitypermission.d.ts.map +1 -1
  71. package/dist/commonjs/models/entitypermission.js +10 -10
  72. package/dist/commonjs/models/entitypermission.js.map +1 -1
  73. package/dist/commonjs/models/entityroute.d.ts +92 -0
  74. package/dist/commonjs/models/entityroute.d.ts.map +1 -0
  75. package/dist/commonjs/models/entityroute.js +110 -0
  76. package/dist/commonjs/models/entityroute.js.map +1 -0
  77. package/dist/commonjs/models/entitywebhookevent.d.ts +5 -5
  78. package/dist/commonjs/models/entitywebhookevent.d.ts.map +1 -1
  79. package/dist/commonjs/models/entitywebhookevent.js +5 -8
  80. package/dist/commonjs/models/entitywebhookevent.js.map +1 -1
  81. package/dist/commonjs/models/index.d.ts +6 -3
  82. package/dist/commonjs/models/index.d.ts.map +1 -1
  83. package/dist/commonjs/models/index.js +6 -3
  84. package/dist/commonjs/models/index.js.map +1 -1
  85. package/dist/commonjs/models/methodincludewalletsparameter.d.ts +25 -0
  86. package/dist/commonjs/models/methodincludewalletsparameter.d.ts.map +1 -0
  87. package/dist/commonjs/models/methodincludewalletsparameter.js +59 -0
  88. package/dist/commonjs/models/methodincludewalletsparameter.js.map +1 -0
  89. package/dist/commonjs/models/methodresourceparameter.d.ts +28 -0
  90. package/dist/commonjs/models/methodresourceparameter.d.ts.map +1 -0
  91. package/dist/commonjs/models/methodresourceparameter.js +60 -0
  92. package/dist/commonjs/models/methodresourceparameter.js.map +1 -0
  93. package/dist/commonjs/models/onboardingvatregulation.d.ts +47 -0
  94. package/dist/commonjs/models/onboardingvatregulation.d.ts.map +1 -0
  95. package/dist/commonjs/models/onboardingvatregulation.js +69 -0
  96. package/dist/commonjs/models/onboardingvatregulation.js.map +1 -0
  97. package/dist/commonjs/models/operations/getbalancereport.d.ts +3 -48
  98. package/dist/commonjs/models/operations/getbalancereport.d.ts.map +1 -1
  99. package/dist/commonjs/models/operations/getbalancereport.js +4 -33
  100. package/dist/commonjs/models/operations/getbalancereport.js.map +1 -1
  101. package/dist/commonjs/models/operations/listallchargebacks.d.ts +8 -8
  102. package/dist/commonjs/models/operations/listallchargebacks.d.ts.map +1 -1
  103. package/dist/commonjs/models/operations/listallchargebacks.js +8 -8
  104. package/dist/commonjs/models/operations/listallchargebacks.js.map +1 -1
  105. package/dist/commonjs/models/operations/listbalances.d.ts +8 -8
  106. package/dist/commonjs/models/operations/listbalances.d.ts.map +1 -1
  107. package/dist/commonjs/models/operations/listbalances.js +8 -8
  108. package/dist/commonjs/models/operations/listbalances.js.map +1 -1
  109. package/dist/commonjs/models/operations/listbalancetransactions.d.ts +8 -8
  110. package/dist/commonjs/models/operations/listbalancetransactions.d.ts.map +1 -1
  111. package/dist/commonjs/models/operations/listbalancetransactions.js +8 -12
  112. package/dist/commonjs/models/operations/listbalancetransactions.js.map +1 -1
  113. package/dist/commonjs/models/operations/listcapabilities.d.ts +13 -37
  114. package/dist/commonjs/models/operations/listcapabilities.d.ts.map +1 -1
  115. package/dist/commonjs/models/operations/listcapabilities.js +11 -40
  116. package/dist/commonjs/models/operations/listcapabilities.js.map +1 -1
  117. package/dist/commonjs/models/operations/listchargebacks.d.ts +8 -8
  118. package/dist/commonjs/models/operations/listchargebacks.d.ts.map +1 -1
  119. package/dist/commonjs/models/operations/listchargebacks.js +8 -8
  120. package/dist/commonjs/models/operations/listchargebacks.js.map +1 -1
  121. package/dist/commonjs/models/operations/listinvoices.d.ts +8 -8
  122. package/dist/commonjs/models/operations/listinvoices.d.ts.map +1 -1
  123. package/dist/commonjs/models/operations/listinvoices.js +8 -8
  124. package/dist/commonjs/models/operations/listinvoices.js.map +1 -1
  125. package/dist/commonjs/models/operations/listmethods.d.ts +2 -84
  126. package/dist/commonjs/models/operations/listmethods.d.ts.map +1 -1
  127. package/dist/commonjs/models/operations/listmethods.js +6 -60
  128. package/dist/commonjs/models/operations/listmethods.js.map +1 -1
  129. package/dist/commonjs/models/operations/listpermissions.d.ts +8 -8
  130. package/dist/commonjs/models/operations/listpermissions.d.ts.map +1 -1
  131. package/dist/commonjs/models/operations/listpermissions.js +8 -8
  132. package/dist/commonjs/models/operations/listpermissions.js.map +1 -1
  133. package/dist/commonjs/models/operations/listprofiles.d.ts +8 -8
  134. package/dist/commonjs/models/operations/listprofiles.d.ts.map +1 -1
  135. package/dist/commonjs/models/operations/listprofiles.js +8 -8
  136. package/dist/commonjs/models/operations/listprofiles.js.map +1 -1
  137. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts +8 -8
  138. package/dist/commonjs/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  139. package/dist/commonjs/models/operations/listsettlementchargebacks.js +8 -10
  140. package/dist/commonjs/models/operations/listsettlementchargebacks.js.map +1 -1
  141. package/dist/commonjs/models/operations/paymentcreateroute.d.ts +2 -2
  142. package/dist/commonjs/models/operations/paymentcreateroute.d.ts.map +1 -1
  143. package/dist/commonjs/models/operations/paymentcreateroute.js +4 -4
  144. package/dist/commonjs/models/operations/paymentcreateroute.js.map +1 -1
  145. package/dist/commonjs/models/operations/paymentlistroutes.d.ts +8 -8
  146. package/dist/commonjs/models/operations/paymentlistroutes.d.ts.map +1 -1
  147. package/dist/commonjs/models/operations/paymentlistroutes.js +8 -8
  148. package/dist/commonjs/models/operations/paymentlistroutes.js.map +1 -1
  149. package/dist/commonjs/models/operations/submitonboardingdata.d.ts +1 -46
  150. package/dist/commonjs/models/operations/submitonboardingdata.d.ts.map +1 -1
  151. package/dist/commonjs/models/operations/submitonboardingdata.js +5 -31
  152. package/dist/commonjs/models/operations/submitonboardingdata.js.map +1 -1
  153. package/dist/commonjs/models/operations/updateprofile.d.ts +0 -46
  154. package/dist/commonjs/models/operations/updateprofile.d.ts.map +1 -1
  155. package/dist/commonjs/models/operations/updateprofile.js +1 -28
  156. package/dist/commonjs/models/operations/updateprofile.js.map +1 -1
  157. package/dist/commonjs/models/{entityprofileresponse.d.ts → profileresponse.d.ts} +29 -29
  158. package/dist/commonjs/models/profileresponse.d.ts.map +1 -0
  159. package/dist/commonjs/models/{entityprofileresponse.js → profileresponse.js} +34 -34
  160. package/dist/commonjs/models/profileresponse.js.map +1 -0
  161. package/dist/commonjs/models/routecreateresponse.d.ts +14 -14
  162. package/dist/commonjs/models/routecreateresponse.d.ts.map +1 -1
  163. package/dist/commonjs/models/routecreateresponse.js +16 -14
  164. package/dist/commonjs/models/routecreateresponse.js.map +1 -1
  165. package/dist/commonjs/models/routegetresponse.d.ts +14 -14
  166. package/dist/commonjs/models/routegetresponse.d.ts.map +1 -1
  167. package/dist/commonjs/models/routegetresponse.js +16 -14
  168. package/dist/commonjs/models/routegetresponse.js.map +1 -1
  169. package/dist/commonjs/sdk/clientlinks.d.ts +1 -1
  170. package/dist/commonjs/sdk/clientlinks.d.ts.map +1 -1
  171. package/dist/commonjs/sdk/profiles.d.ts +4 -4
  172. package/dist/commonjs/sdk/profiles.d.ts.map +1 -1
  173. package/dist/esm/funcs/clientLinksCreate.d.ts +1 -1
  174. package/dist/esm/funcs/clientLinksCreate.d.ts.map +1 -1
  175. package/dist/esm/funcs/clientLinksCreate.js +1 -1
  176. package/dist/esm/funcs/clientLinksCreate.js.map +1 -1
  177. package/dist/esm/funcs/delayedRoutingCreate.js +1 -3
  178. package/dist/esm/funcs/delayedRoutingCreate.js.map +1 -1
  179. package/dist/esm/funcs/profilesCreate.d.ts +1 -1
  180. package/dist/esm/funcs/profilesCreate.d.ts.map +1 -1
  181. package/dist/esm/funcs/profilesCreate.js +1 -1
  182. package/dist/esm/funcs/profilesCreate.js.map +1 -1
  183. package/dist/esm/funcs/profilesGet.d.ts +1 -1
  184. package/dist/esm/funcs/profilesGet.d.ts.map +1 -1
  185. package/dist/esm/funcs/profilesGet.js +1 -1
  186. package/dist/esm/funcs/profilesGet.js.map +1 -1
  187. package/dist/esm/funcs/profilesGetCurrent.d.ts +1 -1
  188. package/dist/esm/funcs/profilesGetCurrent.d.ts.map +1 -1
  189. package/dist/esm/funcs/profilesGetCurrent.js +1 -1
  190. package/dist/esm/funcs/profilesGetCurrent.js.map +1 -1
  191. package/dist/esm/funcs/profilesUpdate.d.ts +1 -1
  192. package/dist/esm/funcs/profilesUpdate.d.ts.map +1 -1
  193. package/dist/esm/funcs/profilesUpdate.js +1 -1
  194. package/dist/esm/funcs/profilesUpdate.js.map +1 -1
  195. package/dist/esm/lib/config.d.ts +3 -3
  196. package/dist/esm/lib/config.js +3 -3
  197. package/dist/esm/mcp-server/mcp-server.js +1 -1
  198. package/dist/esm/mcp-server/server.js +1 -1
  199. package/dist/esm/models/address.d.ts +8 -8
  200. package/dist/esm/models/address.d.ts.map +1 -1
  201. package/dist/esm/models/address.js +8 -8
  202. package/dist/esm/models/address.js.map +1 -1
  203. package/dist/esm/models/clientlinkresponse.d.ts +87 -0
  204. package/dist/esm/models/clientlinkresponse.d.ts.map +1 -0
  205. package/dist/esm/models/clientlinkresponse.js +74 -0
  206. package/dist/esm/models/clientlinkresponse.js.map +1 -0
  207. package/dist/esm/models/entitybalance.d.ts +20 -20
  208. package/dist/esm/models/entitybalance.d.ts.map +1 -1
  209. package/dist/esm/models/entitybalance.js +20 -20
  210. package/dist/esm/models/entitybalance.js.map +1 -1
  211. package/dist/esm/models/entitybalancereport.d.ts +16 -16
  212. package/dist/esm/models/entitybalancereport.d.ts.map +1 -1
  213. package/dist/esm/models/entitybalancereport.js +16 -16
  214. package/dist/esm/models/entitybalancereport.js.map +1 -1
  215. package/dist/esm/models/entitybalancetransaction.d.ts +12 -12
  216. package/dist/esm/models/entitybalancetransaction.d.ts.map +1 -1
  217. package/dist/esm/models/entitybalancetransaction.js +12 -12
  218. package/dist/esm/models/entitybalancetransaction.js.map +1 -1
  219. package/dist/esm/models/entitycapability.d.ts +10 -10
  220. package/dist/esm/models/entitycapability.d.ts.map +1 -1
  221. package/dist/esm/models/entitycapability.js +10 -10
  222. package/dist/esm/models/entitycapability.js.map +1 -1
  223. package/dist/esm/models/entitycapabilityrequirement.d.ts +12 -53
  224. package/dist/esm/models/entitycapabilityrequirement.d.ts.map +1 -1
  225. package/dist/esm/models/entitycapabilityrequirement.js +11 -39
  226. package/dist/esm/models/entitycapabilityrequirement.js.map +1 -1
  227. package/dist/esm/models/entityinvoice.d.ts +32 -35
  228. package/dist/esm/models/entityinvoice.d.ts.map +1 -1
  229. package/dist/esm/models/entityinvoice.js +32 -32
  230. package/dist/esm/models/entityinvoice.js.map +1 -1
  231. package/dist/esm/models/entityonboardingstatus.d.ts +14 -14
  232. package/dist/esm/models/entityonboardingstatus.d.ts.map +1 -1
  233. package/dist/esm/models/entityonboardingstatus.js +14 -14
  234. package/dist/esm/models/entityonboardingstatus.js.map +1 -1
  235. package/dist/esm/models/entityorganization.d.ts +16 -19
  236. package/dist/esm/models/entityorganization.d.ts.map +1 -1
  237. package/dist/esm/models/entityorganization.js +16 -16
  238. package/dist/esm/models/entityorganization.js.map +1 -1
  239. package/dist/esm/models/entitypermission.d.ts +10 -10
  240. package/dist/esm/models/entitypermission.d.ts.map +1 -1
  241. package/dist/esm/models/entitypermission.js +10 -10
  242. package/dist/esm/models/entitypermission.js.map +1 -1
  243. package/dist/esm/models/entityroute.d.ts +92 -0
  244. package/dist/esm/models/entityroute.d.ts.map +1 -0
  245. package/dist/esm/models/entityroute.js +70 -0
  246. package/dist/esm/models/entityroute.js.map +1 -0
  247. package/dist/esm/models/entitywebhookevent.d.ts +5 -5
  248. package/dist/esm/models/entitywebhookevent.d.ts.map +1 -1
  249. package/dist/esm/models/entitywebhookevent.js +5 -8
  250. package/dist/esm/models/entitywebhookevent.js.map +1 -1
  251. package/dist/esm/models/index.d.ts +6 -3
  252. package/dist/esm/models/index.d.ts.map +1 -1
  253. package/dist/esm/models/index.js +6 -3
  254. package/dist/esm/models/index.js.map +1 -1
  255. package/dist/esm/models/methodincludewalletsparameter.d.ts +25 -0
  256. package/dist/esm/models/methodincludewalletsparameter.d.ts.map +1 -0
  257. package/dist/esm/models/methodincludewalletsparameter.js +23 -0
  258. package/dist/esm/models/methodincludewalletsparameter.js.map +1 -0
  259. package/dist/esm/models/methodresourceparameter.d.ts +28 -0
  260. package/dist/esm/models/methodresourceparameter.d.ts.map +1 -0
  261. package/dist/esm/models/methodresourceparameter.js +24 -0
  262. package/dist/esm/models/methodresourceparameter.js.map +1 -0
  263. package/dist/esm/models/onboardingvatregulation.d.ts +47 -0
  264. package/dist/esm/models/onboardingvatregulation.d.ts.map +1 -0
  265. package/dist/esm/models/onboardingvatregulation.js +33 -0
  266. package/dist/esm/models/onboardingvatregulation.js.map +1 -0
  267. package/dist/esm/models/operations/getbalancereport.d.ts +3 -48
  268. package/dist/esm/models/operations/getbalancereport.d.ts.map +1 -1
  269. package/dist/esm/models/operations/getbalancereport.js +3 -32
  270. package/dist/esm/models/operations/getbalancereport.js.map +1 -1
  271. package/dist/esm/models/operations/listallchargebacks.d.ts +8 -8
  272. package/dist/esm/models/operations/listallchargebacks.d.ts.map +1 -1
  273. package/dist/esm/models/operations/listallchargebacks.js +8 -8
  274. package/dist/esm/models/operations/listallchargebacks.js.map +1 -1
  275. package/dist/esm/models/operations/listbalances.d.ts +8 -8
  276. package/dist/esm/models/operations/listbalances.d.ts.map +1 -1
  277. package/dist/esm/models/operations/listbalances.js +8 -8
  278. package/dist/esm/models/operations/listbalances.js.map +1 -1
  279. package/dist/esm/models/operations/listbalancetransactions.d.ts +8 -8
  280. package/dist/esm/models/operations/listbalancetransactions.d.ts.map +1 -1
  281. package/dist/esm/models/operations/listbalancetransactions.js +8 -12
  282. package/dist/esm/models/operations/listbalancetransactions.js.map +1 -1
  283. package/dist/esm/models/operations/listcapabilities.d.ts +13 -37
  284. package/dist/esm/models/operations/listcapabilities.d.ts.map +1 -1
  285. package/dist/esm/models/operations/listcapabilities.js +10 -37
  286. package/dist/esm/models/operations/listcapabilities.js.map +1 -1
  287. package/dist/esm/models/operations/listchargebacks.d.ts +8 -8
  288. package/dist/esm/models/operations/listchargebacks.d.ts.map +1 -1
  289. package/dist/esm/models/operations/listchargebacks.js +8 -8
  290. package/dist/esm/models/operations/listchargebacks.js.map +1 -1
  291. package/dist/esm/models/operations/listinvoices.d.ts +8 -8
  292. package/dist/esm/models/operations/listinvoices.d.ts.map +1 -1
  293. package/dist/esm/models/operations/listinvoices.js +8 -8
  294. package/dist/esm/models/operations/listinvoices.js.map +1 -1
  295. package/dist/esm/models/operations/listmethods.d.ts +2 -84
  296. package/dist/esm/models/operations/listmethods.d.ts.map +1 -1
  297. package/dist/esm/models/operations/listmethods.js +5 -59
  298. package/dist/esm/models/operations/listmethods.js.map +1 -1
  299. package/dist/esm/models/operations/listpermissions.d.ts +8 -8
  300. package/dist/esm/models/operations/listpermissions.d.ts.map +1 -1
  301. package/dist/esm/models/operations/listpermissions.js +8 -8
  302. package/dist/esm/models/operations/listpermissions.js.map +1 -1
  303. package/dist/esm/models/operations/listprofiles.d.ts +8 -8
  304. package/dist/esm/models/operations/listprofiles.d.ts.map +1 -1
  305. package/dist/esm/models/operations/listprofiles.js +8 -8
  306. package/dist/esm/models/operations/listprofiles.js.map +1 -1
  307. package/dist/esm/models/operations/listsettlementchargebacks.d.ts +8 -8
  308. package/dist/esm/models/operations/listsettlementchargebacks.d.ts.map +1 -1
  309. package/dist/esm/models/operations/listsettlementchargebacks.js +8 -10
  310. package/dist/esm/models/operations/listsettlementchargebacks.js.map +1 -1
  311. package/dist/esm/models/operations/paymentcreateroute.d.ts +2 -2
  312. package/dist/esm/models/operations/paymentcreateroute.d.ts.map +1 -1
  313. package/dist/esm/models/operations/paymentcreateroute.js +4 -4
  314. package/dist/esm/models/operations/paymentcreateroute.js.map +1 -1
  315. package/dist/esm/models/operations/paymentlistroutes.d.ts +8 -8
  316. package/dist/esm/models/operations/paymentlistroutes.d.ts.map +1 -1
  317. package/dist/esm/models/operations/paymentlistroutes.js +8 -8
  318. package/dist/esm/models/operations/paymentlistroutes.js.map +1 -1
  319. package/dist/esm/models/operations/submitonboardingdata.d.ts +1 -46
  320. package/dist/esm/models/operations/submitonboardingdata.d.ts.map +1 -1
  321. package/dist/esm/models/operations/submitonboardingdata.js +4 -30
  322. package/dist/esm/models/operations/submitonboardingdata.js.map +1 -1
  323. package/dist/esm/models/operations/updateprofile.d.ts +0 -46
  324. package/dist/esm/models/operations/updateprofile.d.ts.map +1 -1
  325. package/dist/esm/models/operations/updateprofile.js +0 -27
  326. package/dist/esm/models/operations/updateprofile.js.map +1 -1
  327. package/dist/esm/models/{entityprofileresponse.d.ts → profileresponse.d.ts} +29 -29
  328. package/dist/esm/models/profileresponse.d.ts.map +1 -0
  329. package/dist/esm/models/{entityprofileresponse.js → profileresponse.js} +29 -29
  330. package/dist/esm/models/profileresponse.js.map +1 -0
  331. package/dist/esm/models/routecreateresponse.d.ts +14 -14
  332. package/dist/esm/models/routecreateresponse.d.ts.map +1 -1
  333. package/dist/esm/models/routecreateresponse.js +16 -14
  334. package/dist/esm/models/routecreateresponse.js.map +1 -1
  335. package/dist/esm/models/routegetresponse.d.ts +14 -14
  336. package/dist/esm/models/routegetresponse.d.ts.map +1 -1
  337. package/dist/esm/models/routegetresponse.js +16 -14
  338. package/dist/esm/models/routegetresponse.js.map +1 -1
  339. package/dist/esm/sdk/clientlinks.d.ts +1 -1
  340. package/dist/esm/sdk/clientlinks.d.ts.map +1 -1
  341. package/dist/esm/sdk/profiles.d.ts +4 -4
  342. package/dist/esm/sdk/profiles.d.ts.map +1 -1
  343. package/docs/sdks/clientlinks/README.md +1 -1
  344. package/docs/sdks/delayedrouting/README.md +2 -2
  345. package/docs/sdks/profiles/README.md +4 -6
  346. package/examples/package-lock.json +1 -1
  347. package/jsr.json +1 -1
  348. package/package.json +1 -1
  349. package/src/funcs/clientLinksCreate.ts +4 -4
  350. package/src/funcs/delayedRoutingCreate.ts +1 -3
  351. package/src/funcs/profilesCreate.ts +4 -4
  352. package/src/funcs/profilesGet.ts +4 -4
  353. package/src/funcs/profilesGetCurrent.ts +4 -4
  354. package/src/funcs/profilesUpdate.ts +4 -4
  355. package/src/lib/config.ts +3 -3
  356. package/src/mcp-server/mcp-server.ts +1 -1
  357. package/src/mcp-server/server.ts +1 -1
  358. package/src/models/address.ts +16 -16
  359. package/src/models/{entityclientlinkresponse.ts → clientlinkresponse.ts} +46 -48
  360. package/src/models/entitybalance.ts +40 -40
  361. package/src/models/entitybalancereport.ts +32 -32
  362. package/src/models/entitybalancetransaction.ts +24 -24
  363. package/src/models/entitycapability.ts +20 -20
  364. package/src/models/entitycapabilityrequirement.ts +27 -96
  365. package/src/models/entityinvoice.ts +64 -67
  366. package/src/models/entityonboardingstatus.ts +28 -28
  367. package/src/models/entityorganization.ts +32 -35
  368. package/src/models/entitypermission.ts +20 -20
  369. package/src/models/entityroute.ts +179 -0
  370. package/src/models/entitywebhookevent.ts +14 -20
  371. package/src/models/index.ts +6 -3
  372. package/src/models/methodincludewalletsparameter.ts +34 -0
  373. package/src/models/methodresourceparameter.ts +35 -0
  374. package/src/models/onboardingvatregulation.ts +52 -0
  375. package/src/models/operations/getbalancereport.ts +5 -50
  376. package/src/models/operations/listallchargebacks.ts +16 -16
  377. package/src/models/operations/listbalances.ts +16 -16
  378. package/src/models/operations/listbalancetransactions.ts +16 -22
  379. package/src/models/operations/listcapabilities.ts +23 -78
  380. package/src/models/operations/listchargebacks.ts +16 -16
  381. package/src/models/operations/listinvoices.ts +16 -16
  382. package/src/models/operations/listmethods.ts +7 -92
  383. package/src/models/operations/listpermissions.ts +16 -16
  384. package/src/models/operations/listprofiles.ts +16 -16
  385. package/src/models/operations/listsettlementchargebacks.ts +16 -18
  386. package/src/models/operations/paymentcreateroute.ts +6 -6
  387. package/src/models/operations/paymentlistroutes.ts +16 -16
  388. package/src/models/operations/submitonboardingdata.ts +5 -48
  389. package/src/models/operations/updateprofile.ts +0 -49
  390. package/src/models/{entityprofileresponse.ts → profileresponse.ts} +46 -48
  391. package/src/models/routecreateresponse.ts +30 -28
  392. package/src/models/routegetresponse.ts +30 -28
  393. package/src/sdk/clientlinks.ts +1 -1
  394. package/src/sdk/profiles.ts +4 -4
  395. package/dist/commonjs/models/entityclientlinkresponse.d.ts +0 -87
  396. package/dist/commonjs/models/entityclientlinkresponse.d.ts.map +0 -1
  397. package/dist/commonjs/models/entityclientlinkresponse.js +0 -114
  398. package/dist/commonjs/models/entityclientlinkresponse.js.map +0 -1
  399. package/dist/commonjs/models/entityprofileresponse.d.ts.map +0 -1
  400. package/dist/commonjs/models/entityprofileresponse.js.map +0 -1
  401. package/dist/commonjs/models/routecreaterequest.d.ts +0 -92
  402. package/dist/commonjs/models/routecreaterequest.d.ts.map +0 -1
  403. package/dist/commonjs/models/routecreaterequest.js +0 -112
  404. package/dist/commonjs/models/routecreaterequest.js.map +0 -1
  405. package/dist/esm/models/entityclientlinkresponse.d.ts +0 -87
  406. package/dist/esm/models/entityclientlinkresponse.d.ts.map +0 -1
  407. package/dist/esm/models/entityclientlinkresponse.js +0 -74
  408. package/dist/esm/models/entityclientlinkresponse.js.map +0 -1
  409. package/dist/esm/models/entityprofileresponse.d.ts.map +0 -1
  410. package/dist/esm/models/entityprofileresponse.js.map +0 -1
  411. package/dist/esm/models/routecreaterequest.d.ts +0 -92
  412. package/dist/esm/models/routecreaterequest.d.ts.map +0 -1
  413. package/dist/esm/models/routecreaterequest.js +0 -72
  414. package/dist/esm/models/routecreaterequest.js.map +0 -1
  415. package/src/models/routecreaterequest.ts +0 -187
@@ -29,23 +29,23 @@ export type EntityInvoiceLine = {
29
29
  /**
30
30
  * The administrative period in `YYYY-MM` on which the line should be booked.
31
31
  */
32
- period?: string | undefined;
32
+ period: string;
33
33
  /**
34
34
  * Description of the product.
35
35
  */
36
- description?: string | undefined;
36
+ description: string;
37
37
  /**
38
38
  * Number of products invoiced. For example, the number of payments.
39
39
  */
40
- count?: number | undefined;
40
+ count: number;
41
41
  /**
42
42
  * VAT percentage rate that applies to this product.
43
43
  */
44
- vatPercentage?: number | undefined;
44
+ vatPercentage: number;
45
45
  /**
46
46
  * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
47
47
  */
48
- amount?: Amount | undefined;
48
+ amount: Amount;
49
49
  };
50
50
 
51
51
  /**
@@ -73,43 +73,40 @@ export type EntityInvoice = {
73
73
  * @remarks
74
74
  * Will always contain the string `invoice` for this endpoint.
75
75
  */
76
- resource?: string | undefined;
77
- /**
78
- * The identifier uniquely referring to this invoice. Example: `inv_FrvewDA3Pr`.
79
- */
80
- id?: string | undefined;
76
+ resource: string;
77
+ id: string;
81
78
  /**
82
79
  * The reference number of the invoice. An example value would be: `2024.10000`.
83
80
  */
84
- reference?: string | undefined;
81
+ reference: string;
85
82
  /**
86
83
  * The VAT number to which the invoice was issued to, if applicable.
87
84
  */
88
- vatNumber?: string | null | undefined;
85
+ vatNumber: string | null;
89
86
  /**
90
87
  * Status of the invoice.
91
88
  */
92
- status?: InvoiceStatus | undefined;
89
+ status: InvoiceStatus;
93
90
  /**
94
91
  * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
95
92
  */
96
- netAmount?: Amount | undefined;
93
+ netAmount: Amount;
97
94
  /**
98
95
  * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
99
96
  */
100
- vatAmount?: Amount | undefined;
97
+ vatAmount: Amount;
101
98
  /**
102
99
  * In v2 endpoints, monetary amounts are represented as objects with a `currency` and `value` field.
103
100
  */
104
- grossAmount?: Amount | undefined;
101
+ grossAmount: Amount;
105
102
  /**
106
103
  * The collection of products which make up the invoice.
107
104
  */
108
- lines?: Array<EntityInvoiceLine> | undefined;
105
+ lines: Array<EntityInvoiceLine>;
109
106
  /**
110
107
  * The invoice date in `YYYY-MM-DD` format.
111
108
  */
112
- issuedAt?: string | undefined;
109
+ issuedAt: string;
113
110
  /**
114
111
  * The date on which the invoice was paid, if applicable, in `YYYY-MM-DD` format.
115
112
  */
@@ -121,7 +118,7 @@ export type EntityInvoice = {
121
118
  /**
122
119
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
123
120
  */
124
- links?: EntityInvoiceLinks | undefined;
121
+ links: EntityInvoiceLinks;
125
122
  };
126
123
 
127
124
  /** @internal */
@@ -130,20 +127,20 @@ export const EntityInvoiceLine$inboundSchema: z.ZodType<
130
127
  z.ZodTypeDef,
131
128
  unknown
132
129
  > = z.object({
133
- period: z.string().optional(),
134
- description: z.string().optional(),
135
- count: z.number().int().optional(),
136
- vatPercentage: z.number().int().optional(),
137
- amount: Amount$inboundSchema.optional(),
130
+ period: z.string(),
131
+ description: z.string(),
132
+ count: z.number().int(),
133
+ vatPercentage: z.number().int(),
134
+ amount: Amount$inboundSchema,
138
135
  });
139
136
 
140
137
  /** @internal */
141
138
  export type EntityInvoiceLine$Outbound = {
142
- period?: string | undefined;
143
- description?: string | undefined;
144
- count?: number | undefined;
145
- vatPercentage?: number | undefined;
146
- amount?: Amount$Outbound | undefined;
139
+ period: string;
140
+ description: string;
141
+ count: number;
142
+ vatPercentage: number;
143
+ amount: Amount$Outbound;
147
144
  };
148
145
 
149
146
  /** @internal */
@@ -152,11 +149,11 @@ export const EntityInvoiceLine$outboundSchema: z.ZodType<
152
149
  z.ZodTypeDef,
153
150
  EntityInvoiceLine
154
151
  > = z.object({
155
- period: z.string().optional(),
156
- description: z.string().optional(),
157
- count: z.number().int().optional(),
158
- vatPercentage: z.number().int().optional(),
159
- amount: Amount$outboundSchema.optional(),
152
+ period: z.string(),
153
+ description: z.string(),
154
+ count: z.number().int(),
155
+ vatPercentage: z.number().int(),
156
+ amount: Amount$outboundSchema,
160
157
  });
161
158
 
162
159
  /**
@@ -256,19 +253,19 @@ export const EntityInvoice$inboundSchema: z.ZodType<
256
253
  z.ZodTypeDef,
257
254
  unknown
258
255
  > = z.object({
259
- resource: z.string().optional(),
260
- id: z.string().optional(),
261
- reference: z.string().optional(),
262
- vatNumber: z.nullable(z.string()).optional(),
263
- status: InvoiceStatus$inboundSchema.optional(),
264
- netAmount: Amount$inboundSchema.optional(),
265
- vatAmount: Amount$inboundSchema.optional(),
266
- grossAmount: Amount$inboundSchema.optional(),
267
- lines: z.array(z.lazy(() => EntityInvoiceLine$inboundSchema)).optional(),
268
- issuedAt: z.string().optional(),
256
+ resource: z.string(),
257
+ id: z.string(),
258
+ reference: z.string(),
259
+ vatNumber: z.nullable(z.string()),
260
+ status: InvoiceStatus$inboundSchema,
261
+ netAmount: Amount$inboundSchema,
262
+ vatAmount: Amount$inboundSchema,
263
+ grossAmount: Amount$inboundSchema,
264
+ lines: z.array(z.lazy(() => EntityInvoiceLine$inboundSchema)),
265
+ issuedAt: z.string(),
269
266
  paidAt: z.nullable(z.string()).optional(),
270
267
  dueAt: z.nullable(z.string()).optional(),
271
- _links: z.lazy(() => EntityInvoiceLinks$inboundSchema).optional(),
268
+ _links: z.lazy(() => EntityInvoiceLinks$inboundSchema),
272
269
  }).transform((v) => {
273
270
  return remap$(v, {
274
271
  "_links": "links",
@@ -277,19 +274,19 @@ export const EntityInvoice$inboundSchema: z.ZodType<
277
274
 
278
275
  /** @internal */
279
276
  export type EntityInvoice$Outbound = {
280
- resource?: string | undefined;
281
- id?: string | undefined;
282
- reference?: string | undefined;
283
- vatNumber?: string | null | undefined;
284
- status?: string | undefined;
285
- netAmount?: Amount$Outbound | undefined;
286
- vatAmount?: Amount$Outbound | undefined;
287
- grossAmount?: Amount$Outbound | undefined;
288
- lines?: Array<EntityInvoiceLine$Outbound> | undefined;
289
- issuedAt?: string | undefined;
277
+ resource: string;
278
+ id: string;
279
+ reference: string;
280
+ vatNumber: string | null;
281
+ status: string;
282
+ netAmount: Amount$Outbound;
283
+ vatAmount: Amount$Outbound;
284
+ grossAmount: Amount$Outbound;
285
+ lines: Array<EntityInvoiceLine$Outbound>;
286
+ issuedAt: string;
290
287
  paidAt?: string | null | undefined;
291
288
  dueAt?: string | null | undefined;
292
- _links?: EntityInvoiceLinks$Outbound | undefined;
289
+ _links: EntityInvoiceLinks$Outbound;
293
290
  };
294
291
 
295
292
  /** @internal */
@@ -298,19 +295,19 @@ export const EntityInvoice$outboundSchema: z.ZodType<
298
295
  z.ZodTypeDef,
299
296
  EntityInvoice
300
297
  > = z.object({
301
- resource: z.string().optional(),
302
- id: z.string().optional(),
303
- reference: z.string().optional(),
304
- vatNumber: z.nullable(z.string()).optional(),
305
- status: InvoiceStatus$outboundSchema.optional(),
306
- netAmount: Amount$outboundSchema.optional(),
307
- vatAmount: Amount$outboundSchema.optional(),
308
- grossAmount: Amount$outboundSchema.optional(),
309
- lines: z.array(z.lazy(() => EntityInvoiceLine$outboundSchema)).optional(),
310
- issuedAt: z.string().optional(),
298
+ resource: z.string(),
299
+ id: z.string(),
300
+ reference: z.string(),
301
+ vatNumber: z.nullable(z.string()),
302
+ status: InvoiceStatus$outboundSchema,
303
+ netAmount: Amount$outboundSchema,
304
+ vatAmount: Amount$outboundSchema,
305
+ grossAmount: Amount$outboundSchema,
306
+ lines: z.array(z.lazy(() => EntityInvoiceLine$outboundSchema)),
307
+ issuedAt: z.string(),
311
308
  paidAt: z.nullable(z.string()).optional(),
312
309
  dueAt: z.nullable(z.string()).optional(),
313
- links: z.lazy(() => EntityInvoiceLinks$outboundSchema).optional(),
310
+ links: z.lazy(() => EntityInvoiceLinks$outboundSchema),
314
311
  }).transform((v) => {
315
312
  return remap$(v, {
316
313
  links: "_links",
@@ -48,31 +48,31 @@ export type EntityOnboardingStatus = {
48
48
  * @remarks
49
49
  * resource type.
50
50
  */
51
- resource?: string | undefined;
51
+ resource: string;
52
52
  /**
53
53
  * The name of the organization.
54
54
  */
55
- name?: string | undefined;
55
+ name: string;
56
56
  /**
57
57
  * The current status of the organization's onboarding process.
58
58
  */
59
- status?: OnboardingStatus | undefined;
59
+ status: OnboardingStatus;
60
60
  /**
61
61
  * Whether the organization can receive payments.
62
62
  */
63
- canReceivePayments?: boolean | undefined;
63
+ canReceivePayments: boolean;
64
64
  /**
65
65
  * Whether the organization can receive settlements to their external bank account.
66
66
  */
67
- canReceiveSettlements?: boolean | undefined;
67
+ canReceiveSettlements: boolean;
68
68
  /**
69
69
  * The sign up date time of the organization in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
70
70
  */
71
- signedUpAt?: string | undefined;
71
+ signedUpAt: string;
72
72
  /**
73
73
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
74
74
  */
75
- links?: EntityOnboardingStatusLinks | undefined;
75
+ links: EntityOnboardingStatusLinks;
76
76
  };
77
77
 
78
78
  /** @internal */
@@ -146,13 +146,13 @@ export const EntityOnboardingStatus$inboundSchema: z.ZodType<
146
146
  z.ZodTypeDef,
147
147
  unknown
148
148
  > = z.object({
149
- resource: z.string().optional(),
150
- name: z.string().optional(),
151
- status: OnboardingStatus$inboundSchema.optional(),
152
- canReceivePayments: z.boolean().optional(),
153
- canReceiveSettlements: z.boolean().optional(),
154
- signedUpAt: z.string().optional(),
155
- _links: z.lazy(() => EntityOnboardingStatusLinks$inboundSchema).optional(),
149
+ resource: z.string(),
150
+ name: z.string(),
151
+ status: OnboardingStatus$inboundSchema,
152
+ canReceivePayments: z.boolean(),
153
+ canReceiveSettlements: z.boolean(),
154
+ signedUpAt: z.string(),
155
+ _links: z.lazy(() => EntityOnboardingStatusLinks$inboundSchema),
156
156
  }).transform((v) => {
157
157
  return remap$(v, {
158
158
  "_links": "links",
@@ -161,13 +161,13 @@ export const EntityOnboardingStatus$inboundSchema: z.ZodType<
161
161
 
162
162
  /** @internal */
163
163
  export type EntityOnboardingStatus$Outbound = {
164
- resource?: string | undefined;
165
- name?: string | undefined;
166
- status?: string | undefined;
167
- canReceivePayments?: boolean | undefined;
168
- canReceiveSettlements?: boolean | undefined;
169
- signedUpAt?: string | undefined;
170
- _links?: EntityOnboardingStatusLinks$Outbound | undefined;
164
+ resource: string;
165
+ name: string;
166
+ status: string;
167
+ canReceivePayments: boolean;
168
+ canReceiveSettlements: boolean;
169
+ signedUpAt: string;
170
+ _links: EntityOnboardingStatusLinks$Outbound;
171
171
  };
172
172
 
173
173
  /** @internal */
@@ -176,13 +176,13 @@ export const EntityOnboardingStatus$outboundSchema: z.ZodType<
176
176
  z.ZodTypeDef,
177
177
  EntityOnboardingStatus
178
178
  > = z.object({
179
- resource: z.string().optional(),
180
- name: z.string().optional(),
181
- status: OnboardingStatus$outboundSchema.optional(),
182
- canReceivePayments: z.boolean().optional(),
183
- canReceiveSettlements: z.boolean().optional(),
184
- signedUpAt: z.string().optional(),
185
- links: z.lazy(() => EntityOnboardingStatusLinks$outboundSchema).optional(),
179
+ resource: z.string(),
180
+ name: z.string(),
181
+ status: OnboardingStatus$outboundSchema,
182
+ canReceivePayments: z.boolean(),
183
+ canReceiveSettlements: z.boolean(),
184
+ signedUpAt: z.string(),
185
+ links: z.lazy(() => EntityOnboardingStatusLinks$outboundSchema),
186
186
  }).transform((v) => {
187
187
  return remap$(v, {
188
188
  links: "_links",
@@ -55,28 +55,25 @@ export type EntityOrganization = {
55
55
  * @remarks
56
56
  * resource type.
57
57
  */
58
- resource?: string | undefined;
59
- /**
60
- * The identifier uniquely referring to this organization. Example: `org_12345678`.
61
- */
62
- id?: string | undefined;
58
+ resource: string;
59
+ id: string;
63
60
  /**
64
61
  * The name of the organization.
65
62
  */
66
- name?: string | undefined;
63
+ name: string;
67
64
  /**
68
65
  * The email address associated with the organization.
69
66
  */
70
- email?: string | undefined;
67
+ email: string;
71
68
  /**
72
69
  * Allows you to preset the language to be used.
73
70
  */
74
- locale?: LocaleResponse | null | undefined;
75
- address?: Address | undefined;
71
+ locale: LocaleResponse | null;
72
+ address: Address;
76
73
  /**
77
74
  * The registration number of the organization at their local chamber of commerce.
78
75
  */
79
- registrationNumber?: string | undefined;
76
+ registrationNumber: string;
80
77
  /**
81
78
  * The VAT number of the organization, if based in the European Union or in The United Kingdom. VAT numbers are
82
79
  *
@@ -98,7 +95,7 @@ export type EntityOrganization = {
98
95
  /**
99
96
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
100
97
  */
101
- links?: EntityOrganizationLinks | undefined;
98
+ links: EntityOrganizationLinks;
102
99
  };
103
100
 
104
101
  /** @internal */
@@ -167,16 +164,16 @@ export const EntityOrganization$inboundSchema: z.ZodType<
167
164
  z.ZodTypeDef,
168
165
  unknown
169
166
  > = z.object({
170
- resource: z.string().optional(),
171
- id: z.string().optional(),
172
- name: z.string().optional(),
173
- email: z.string().optional(),
174
- locale: z.nullable(LocaleResponse$inboundSchema).optional(),
175
- address: Address$inboundSchema.optional(),
176
- registrationNumber: z.string().optional(),
167
+ resource: z.string(),
168
+ id: z.string(),
169
+ name: z.string(),
170
+ email: z.string(),
171
+ locale: z.nullable(LocaleResponse$inboundSchema),
172
+ address: Address$inboundSchema,
173
+ registrationNumber: z.string(),
177
174
  vatNumber: z.nullable(z.string()).optional(),
178
175
  vatRegulation: z.nullable(OrganizationVatRegulation$inboundSchema).optional(),
179
- _links: z.lazy(() => EntityOrganizationLinks$inboundSchema).optional(),
176
+ _links: z.lazy(() => EntityOrganizationLinks$inboundSchema),
180
177
  }).transform((v) => {
181
178
  return remap$(v, {
182
179
  "_links": "links",
@@ -185,16 +182,16 @@ export const EntityOrganization$inboundSchema: z.ZodType<
185
182
 
186
183
  /** @internal */
187
184
  export type EntityOrganization$Outbound = {
188
- resource?: string | undefined;
189
- id?: string | undefined;
190
- name?: string | undefined;
191
- email?: string | undefined;
192
- locale?: string | null | undefined;
193
- address?: Address$Outbound | undefined;
194
- registrationNumber?: string | undefined;
185
+ resource: string;
186
+ id: string;
187
+ name: string;
188
+ email: string;
189
+ locale: string | null;
190
+ address: Address$Outbound;
191
+ registrationNumber: string;
195
192
  vatNumber?: string | null | undefined;
196
193
  vatRegulation?: string | null | undefined;
197
- _links?: EntityOrganizationLinks$Outbound | undefined;
194
+ _links: EntityOrganizationLinks$Outbound;
198
195
  };
199
196
 
200
197
  /** @internal */
@@ -203,17 +200,17 @@ export const EntityOrganization$outboundSchema: z.ZodType<
203
200
  z.ZodTypeDef,
204
201
  EntityOrganization
205
202
  > = z.object({
206
- resource: z.string().optional(),
207
- id: z.string().optional(),
208
- name: z.string().optional(),
209
- email: z.string().optional(),
210
- locale: z.nullable(LocaleResponse$outboundSchema).optional(),
211
- address: Address$outboundSchema.optional(),
212
- registrationNumber: z.string().optional(),
203
+ resource: z.string(),
204
+ id: z.string(),
205
+ name: z.string(),
206
+ email: z.string(),
207
+ locale: z.nullable(LocaleResponse$outboundSchema),
208
+ address: Address$outboundSchema,
209
+ registrationNumber: z.string(),
213
210
  vatNumber: z.nullable(z.string()).optional(),
214
211
  vatRegulation: z.nullable(OrganizationVatRegulation$outboundSchema)
215
212
  .optional(),
216
- links: z.lazy(() => EntityOrganizationLinks$outboundSchema).optional(),
213
+ links: z.lazy(() => EntityOrganizationLinks$outboundSchema),
217
214
  }).transform((v) => {
218
215
  return remap$(v, {
219
216
  links: "_links",
@@ -35,20 +35,20 @@ export type EntityPermission = {
35
35
  * @remarks
36
36
  * endpoint.
37
37
  */
38
- resource?: string | undefined;
39
- id?: string | undefined;
38
+ resource: string;
39
+ id: string;
40
40
  /**
41
41
  * A short description of what kind of access the permission enables.
42
42
  */
43
- description?: string | undefined;
43
+ description: string;
44
44
  /**
45
45
  * Whether this permission is granted to the app by the organization.
46
46
  */
47
- granted?: boolean | undefined;
47
+ granted: boolean;
48
48
  /**
49
49
  * An object with several relevant URLs. Every URL object will contain an `href` and a `type` field.
50
50
  */
51
- links?: EntityPermissionLinks | undefined;
51
+ links: EntityPermissionLinks;
52
52
  };
53
53
 
54
54
  /** @internal */
@@ -114,11 +114,11 @@ export const EntityPermission$inboundSchema: z.ZodType<
114
114
  z.ZodTypeDef,
115
115
  unknown
116
116
  > = z.object({
117
- resource: z.string().optional(),
118
- id: z.string().optional(),
119
- description: z.string().optional(),
120
- granted: z.boolean().optional(),
121
- _links: z.lazy(() => EntityPermissionLinks$inboundSchema).optional(),
117
+ resource: z.string(),
118
+ id: z.string(),
119
+ description: z.string(),
120
+ granted: z.boolean(),
121
+ _links: z.lazy(() => EntityPermissionLinks$inboundSchema),
122
122
  }).transform((v) => {
123
123
  return remap$(v, {
124
124
  "_links": "links",
@@ -127,11 +127,11 @@ export const EntityPermission$inboundSchema: z.ZodType<
127
127
 
128
128
  /** @internal */
129
129
  export type EntityPermission$Outbound = {
130
- resource?: string | undefined;
131
- id?: string | undefined;
132
- description?: string | undefined;
133
- granted?: boolean | undefined;
134
- _links?: EntityPermissionLinks$Outbound | undefined;
130
+ resource: string;
131
+ id: string;
132
+ description: string;
133
+ granted: boolean;
134
+ _links: EntityPermissionLinks$Outbound;
135
135
  };
136
136
 
137
137
  /** @internal */
@@ -140,11 +140,11 @@ export const EntityPermission$outboundSchema: z.ZodType<
140
140
  z.ZodTypeDef,
141
141
  EntityPermission
142
142
  > = z.object({
143
- resource: z.string().optional(),
144
- id: z.string().optional(),
145
- description: z.string().optional(),
146
- granted: z.boolean().optional(),
147
- links: z.lazy(() => EntityPermissionLinks$outboundSchema).optional(),
143
+ resource: z.string(),
144
+ id: z.string(),
145
+ description: z.string(),
146
+ granted: z.boolean(),
147
+ links: z.lazy(() => EntityPermissionLinks$outboundSchema),
148
148
  }).transform((v) => {
149
149
  return remap$(v, {
150
150
  links: "_links",