@spaceinvoices/react-ui 0.4.12 → 0.4.32

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 (334) hide show
  1. package/cli/dist/index.js +1 -1
  2. package/package.json +1 -1
  3. package/src/common/autocomplete.tsx +7 -1
  4. package/src/components/advance-invoices/advance-invoices.hooks.ts +35 -44
  5. package/src/components/advance-invoices/create/create-advance-invoice-form.tsx +190 -73
  6. package/src/components/advance-invoices/create/locales/bg.ts +17 -9
  7. package/src/components/advance-invoices/create/locales/cs.ts +17 -9
  8. package/src/components/advance-invoices/create/locales/de.ts +15 -7
  9. package/src/components/advance-invoices/create/locales/en.ts +15 -7
  10. package/src/components/advance-invoices/create/locales/es.ts +15 -7
  11. package/src/components/advance-invoices/create/locales/et.ts +17 -9
  12. package/src/components/advance-invoices/create/locales/fi.ts +18 -10
  13. package/src/components/advance-invoices/create/locales/fr.ts +16 -8
  14. package/src/components/advance-invoices/create/locales/hr.ts +15 -7
  15. package/src/components/advance-invoices/create/locales/is.ts +17 -9
  16. package/src/components/advance-invoices/create/locales/it.ts +15 -7
  17. package/src/components/advance-invoices/create/locales/nb.ts +17 -9
  18. package/src/components/advance-invoices/create/locales/nl.ts +15 -7
  19. package/src/components/advance-invoices/create/locales/pl.ts +17 -9
  20. package/src/components/advance-invoices/create/locales/pt.ts +16 -8
  21. package/src/components/advance-invoices/create/locales/sk.ts +17 -9
  22. package/src/components/advance-invoices/create/locales/sl.ts +14 -5
  23. package/src/components/advance-invoices/create/locales/sv.ts +17 -9
  24. package/src/components/advance-invoices/create/prepare-advance-invoice-submission.ts +47 -1
  25. package/src/components/advance-invoices/list/list-table.tsx +2 -1
  26. package/src/components/credit-notes/create/create-credit-note-form.tsx +254 -85
  27. package/src/components/credit-notes/create/locales/bg.ts +22 -8
  28. package/src/components/credit-notes/create/locales/cs.ts +22 -8
  29. package/src/components/credit-notes/create/locales/de.ts +20 -7
  30. package/src/components/credit-notes/create/locales/en.ts +19 -5
  31. package/src/components/credit-notes/create/locales/es.ts +20 -7
  32. package/src/components/credit-notes/create/locales/et.ts +22 -8
  33. package/src/components/credit-notes/create/locales/fi.ts +23 -9
  34. package/src/components/credit-notes/create/locales/fr.ts +21 -8
  35. package/src/components/credit-notes/create/locales/hr.ts +20 -7
  36. package/src/components/credit-notes/create/locales/is.ts +22 -8
  37. package/src/components/credit-notes/create/locales/it.ts +20 -7
  38. package/src/components/credit-notes/create/locales/nb.ts +22 -8
  39. package/src/components/credit-notes/create/locales/nl.ts +20 -7
  40. package/src/components/credit-notes/create/locales/pl.ts +22 -9
  41. package/src/components/credit-notes/create/locales/pt.ts +21 -8
  42. package/src/components/credit-notes/create/locales/sk.ts +22 -8
  43. package/src/components/credit-notes/create/locales/sl.ts +19 -5
  44. package/src/components/credit-notes/create/locales/sv.ts +22 -8
  45. package/src/components/credit-notes/create/prepare-credit-note-submission.ts +35 -1
  46. package/src/components/credit-notes/credit-notes.hooks.ts +21 -2
  47. package/src/components/credit-notes/list/list-table.tsx +2 -1
  48. package/src/components/delivery-notes/create/create-delivery-note-form.tsx +133 -30
  49. package/src/components/delivery-notes/create/locales/bg.ts +1 -0
  50. package/src/components/delivery-notes/create/locales/cs.ts +1 -0
  51. package/src/components/delivery-notes/create/locales/de.ts +1 -0
  52. package/src/components/delivery-notes/create/locales/en.ts +1 -0
  53. package/src/components/delivery-notes/create/locales/es.ts +1 -0
  54. package/src/components/delivery-notes/create/locales/et.ts +1 -0
  55. package/src/components/delivery-notes/create/locales/fi.ts +1 -0
  56. package/src/components/delivery-notes/create/locales/fr.ts +1 -0
  57. package/src/components/delivery-notes/create/locales/hr.ts +1 -0
  58. package/src/components/delivery-notes/create/locales/is.ts +1 -0
  59. package/src/components/delivery-notes/create/locales/it.ts +1 -0
  60. package/src/components/delivery-notes/create/locales/nb.ts +1 -0
  61. package/src/components/delivery-notes/create/locales/nl.ts +1 -0
  62. package/src/components/delivery-notes/create/locales/pl.ts +1 -0
  63. package/src/components/delivery-notes/create/locales/pt.ts +1 -0
  64. package/src/components/delivery-notes/create/locales/sk.ts +1 -0
  65. package/src/components/delivery-notes/create/locales/sl.ts +1 -0
  66. package/src/components/delivery-notes/create/locales/sv.ts +1 -0
  67. package/src/components/delivery-notes/create/prepare-delivery-note-submission.ts +34 -1
  68. package/src/components/delivery-notes/delivery-notes.hooks.ts +15 -1
  69. package/src/components/delivery-notes/list/list-table.tsx +2 -1
  70. package/src/components/documents/create/custom-create-template.ts +151 -0
  71. package/src/components/documents/create/document-add-item-form.tsx +12 -8
  72. package/src/components/documents/create/document-add-item-tax-rate-field.tsx +1 -2
  73. package/src/components/documents/create/document-date-validation.ts +111 -0
  74. package/src/components/documents/create/document-details-section.tsx +93 -48
  75. package/src/components/documents/create/document-form-item.ts +67 -0
  76. package/src/components/documents/create/document-item-validation.ts +6 -2
  77. package/src/components/documents/create/form-types.ts +2 -2
  78. package/src/components/documents/create/linked-documents-info.tsx +2 -11
  79. package/src/components/documents/create/live-preview.tsx +3 -3
  80. package/src/components/documents/create/mark-as-paid-section.tsx +14 -11
  81. package/src/components/documents/create/payment-rows.ts +30 -0
  82. package/src/components/documents/create/prepare-document-submission.ts +143 -103
  83. package/src/components/documents/create/prepare-preview-data.ts +12 -0
  84. package/src/components/documents/create/preserved-expected-total.ts +90 -0
  85. package/src/components/documents/public/public-document-summary.tsx +6 -13
  86. package/src/components/documents/view/document-actions-bar.tsx +10 -1
  87. package/src/components/documents/view/document-details-card.tsx +4 -12
  88. package/src/components/documents/view/document-relations-list.tsx +4 -4
  89. package/src/components/documents/view/locales/bg.ts +8 -8
  90. package/src/components/documents/view/locales/cs.ts +8 -8
  91. package/src/components/documents/view/locales/de.ts +1 -1
  92. package/src/components/documents/view/locales/en.ts +14 -14
  93. package/src/components/documents/view/locales/es.ts +1 -1
  94. package/src/components/documents/view/locales/et.ts +8 -8
  95. package/src/components/documents/view/locales/fi.ts +10 -10
  96. package/src/components/documents/view/locales/fr.ts +1 -1
  97. package/src/components/documents/view/locales/hr.ts +6 -6
  98. package/src/components/documents/view/locales/is.ts +8 -8
  99. package/src/components/documents/view/locales/it.ts +1 -1
  100. package/src/components/documents/view/locales/nb.ts +8 -8
  101. package/src/components/documents/view/locales/nl.ts +1 -1
  102. package/src/components/documents/view/locales/pl.ts +1 -1
  103. package/src/components/documents/view/locales/pt.ts +1 -1
  104. package/src/components/documents/view/locales/sk.ts +8 -8
  105. package/src/components/documents/view/locales/sl.ts +9 -9
  106. package/src/components/documents/view/locales/sv.ts +1 -1
  107. package/src/components/documents/view/use-document-download.ts +2 -2
  108. package/src/components/entities/entity-settings-form/locales/bg.ts +7 -0
  109. package/src/components/entities/entity-settings-form/locales/cs.ts +7 -0
  110. package/src/components/entities/entity-settings-form/locales/de.ts +9 -0
  111. package/src/components/entities/entity-settings-form/locales/en.ts +7 -0
  112. package/src/components/entities/entity-settings-form/locales/es.ts +7 -0
  113. package/src/components/entities/entity-settings-form/locales/et.ts +7 -0
  114. package/src/components/entities/entity-settings-form/locales/fi.ts +7 -0
  115. package/src/components/entities/entity-settings-form/locales/fr.ts +7 -0
  116. package/src/components/entities/entity-settings-form/locales/hr.ts +7 -0
  117. package/src/components/entities/entity-settings-form/locales/is.ts +7 -0
  118. package/src/components/entities/entity-settings-form/locales/it.ts +7 -0
  119. package/src/components/entities/entity-settings-form/locales/nb.ts +7 -0
  120. package/src/components/entities/entity-settings-form/locales/nl.ts +7 -0
  121. package/src/components/entities/entity-settings-form/locales/pl.ts +7 -0
  122. package/src/components/entities/entity-settings-form/locales/pt.ts +7 -0
  123. package/src/components/entities/entity-settings-form/locales/sk.ts +7 -0
  124. package/src/components/entities/entity-settings-form/locales/sl.ts +12 -4
  125. package/src/components/entities/entity-settings-form/locales/sv.ts +7 -0
  126. package/src/components/entities/settings/tax-rules-settings-form.tsx +36 -0
  127. package/src/components/estimates/create/create-estimate-form.tsx +196 -47
  128. package/src/components/estimates/create/locales/bg.ts +6 -5
  129. package/src/components/estimates/create/locales/cs.ts +6 -5
  130. package/src/components/estimates/create/locales/de.ts +4 -3
  131. package/src/components/estimates/create/locales/en.ts +4 -3
  132. package/src/components/estimates/create/locales/es.ts +4 -3
  133. package/src/components/estimates/create/locales/et.ts +6 -5
  134. package/src/components/estimates/create/locales/fi.ts +9 -8
  135. package/src/components/estimates/create/locales/fr.ts +4 -3
  136. package/src/components/estimates/create/locales/hr.ts +7 -6
  137. package/src/components/estimates/create/locales/is.ts +6 -5
  138. package/src/components/estimates/create/locales/it.ts +4 -3
  139. package/src/components/estimates/create/locales/nb.ts +6 -5
  140. package/src/components/estimates/create/locales/nl.ts +4 -3
  141. package/src/components/estimates/create/locales/pl.ts +4 -3
  142. package/src/components/estimates/create/locales/pt.ts +4 -3
  143. package/src/components/estimates/create/locales/sk.ts +6 -5
  144. package/src/components/estimates/create/locales/sl.ts +7 -6
  145. package/src/components/estimates/create/locales/sv.ts +6 -5
  146. package/src/components/estimates/create/prepare-estimate-submission.ts +37 -3
  147. package/src/components/estimates/estimates.hooks.ts +11 -2
  148. package/src/components/estimates/list/list-table.tsx +11 -1
  149. package/src/components/estimates/list/locales/bg.ts +2 -0
  150. package/src/components/estimates/list/locales/cs.ts +2 -0
  151. package/src/components/estimates/list/locales/de.ts +2 -0
  152. package/src/components/estimates/list/locales/en.ts +2 -0
  153. package/src/components/estimates/list/locales/es.ts +2 -0
  154. package/src/components/estimates/list/locales/et.ts +2 -0
  155. package/src/components/estimates/list/locales/fi.ts +2 -0
  156. package/src/components/estimates/list/locales/fr.ts +2 -0
  157. package/src/components/estimates/list/locales/hr.ts +7 -5
  158. package/src/components/estimates/list/locales/is.ts +2 -0
  159. package/src/components/estimates/list/locales/it.ts +2 -0
  160. package/src/components/estimates/list/locales/nb.ts +2 -0
  161. package/src/components/estimates/list/locales/nl.ts +2 -0
  162. package/src/components/estimates/list/locales/pl.ts +2 -0
  163. package/src/components/estimates/list/locales/pt.ts +2 -0
  164. package/src/components/estimates/list/locales/sk.ts +2 -0
  165. package/src/components/estimates/list/locales/sl.ts +9 -7
  166. package/src/components/estimates/list/locales/sv.ts +2 -0
  167. package/src/components/invoices/create/create-invoice-form.tsx +231 -60
  168. package/src/components/invoices/create/locales/bg.ts +23 -14
  169. package/src/components/invoices/create/locales/cs.ts +23 -14
  170. package/src/components/invoices/create/locales/de.ts +17 -9
  171. package/src/components/invoices/create/locales/en.ts +16 -7
  172. package/src/components/invoices/create/locales/es.ts +18 -9
  173. package/src/components/invoices/create/locales/et.ts +23 -14
  174. package/src/components/invoices/create/locales/fi.ts +24 -15
  175. package/src/components/invoices/create/locales/fr.ts +19 -11
  176. package/src/components/invoices/create/locales/hr.ts +18 -9
  177. package/src/components/invoices/create/locales/is.ts +23 -14
  178. package/src/components/invoices/create/locales/it.ts +19 -11
  179. package/src/components/invoices/create/locales/nb.ts +23 -14
  180. package/src/components/invoices/create/locales/nl.ts +19 -10
  181. package/src/components/invoices/create/locales/pl.ts +19 -11
  182. package/src/components/invoices/create/locales/pt.ts +19 -10
  183. package/src/components/invoices/create/locales/sk.ts +23 -14
  184. package/src/components/invoices/create/locales/sl.ts +17 -9
  185. package/src/components/invoices/create/locales/sv.ts +17 -8
  186. package/src/components/invoices/create/prepare-invoice-submission.ts +55 -1
  187. package/src/components/invoices/invoices.hooks.ts +11 -2
  188. package/src/components/invoices/list/list-table.tsx +2 -1
  189. package/src/components/invoices/send-email-dialog/locales/bg.ts +5 -0
  190. package/src/components/invoices/send-email-dialog/locales/cs.ts +5 -0
  191. package/src/components/invoices/send-email-dialog/locales/de.ts +5 -0
  192. package/src/components/invoices/send-email-dialog/locales/en.ts +5 -0
  193. package/src/components/invoices/send-email-dialog/locales/es.ts +5 -0
  194. package/src/components/invoices/send-email-dialog/locales/et.ts +5 -0
  195. package/src/components/invoices/send-email-dialog/locales/fi.ts +5 -0
  196. package/src/components/invoices/send-email-dialog/locales/fr.ts +5 -0
  197. package/src/components/invoices/send-email-dialog/locales/hr.ts +8 -3
  198. package/src/components/invoices/send-email-dialog/locales/is.ts +5 -0
  199. package/src/components/invoices/send-email-dialog/locales/it.ts +5 -0
  200. package/src/components/invoices/send-email-dialog/locales/nb.ts +5 -0
  201. package/src/components/invoices/send-email-dialog/locales/nl.ts +5 -0
  202. package/src/components/invoices/send-email-dialog/locales/pl.ts +5 -0
  203. package/src/components/invoices/send-email-dialog/locales/pt.ts +5 -0
  204. package/src/components/invoices/send-email-dialog/locales/sk.ts +5 -0
  205. package/src/components/invoices/send-email-dialog/locales/sl.ts +8 -3
  206. package/src/components/invoices/send-email-dialog/locales/sv.ts +5 -0
  207. package/src/components/invoices/send-email-dialog/send-email-dialog.tsx +2 -1
  208. package/src/components/items/item-combobox.tsx +4 -4
  209. package/src/components/payments/create-payment-form/create-payment-form.tsx +5 -2
  210. package/src/components/payments/edit-payment-form/edit-payment-form.tsx +5 -1
  211. package/src/components/recurring-invoices/create-recurring-invoice-form/create-recurring-invoice-form.tsx +98 -22
  212. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/bg.ts +26 -26
  213. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/cs.ts +25 -25
  214. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/et.ts +26 -26
  215. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/fi.ts +36 -36
  216. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/is.ts +26 -26
  217. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/nb.ts +26 -26
  218. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sk.ts +25 -25
  219. package/src/components/recurring-invoices/create-recurring-invoice-form/locales/sv.ts +26 -26
  220. package/src/components/recurring-invoices/list/list-row-actions.tsx +9 -1
  221. package/src/components/recurring-invoices/list/list-table.tsx +53 -5
  222. package/src/components/recurring-invoices/list/locales/bg.ts +4 -0
  223. package/src/components/recurring-invoices/list/locales/cs.ts +4 -0
  224. package/src/components/recurring-invoices/list/locales/de.ts +4 -0
  225. package/src/components/recurring-invoices/list/locales/en.ts +4 -0
  226. package/src/components/recurring-invoices/list/locales/es.ts +4 -0
  227. package/src/components/recurring-invoices/list/locales/et.ts +4 -0
  228. package/src/components/recurring-invoices/list/locales/fi.ts +4 -0
  229. package/src/components/recurring-invoices/list/locales/fr.ts +4 -0
  230. package/src/components/recurring-invoices/list/locales/hr.ts +4 -0
  231. package/src/components/recurring-invoices/list/locales/is.ts +4 -0
  232. package/src/components/recurring-invoices/list/locales/it.ts +4 -0
  233. package/src/components/recurring-invoices/list/locales/nb.ts +4 -0
  234. package/src/components/recurring-invoices/list/locales/nl.ts +4 -0
  235. package/src/components/recurring-invoices/list/locales/pl.ts +4 -0
  236. package/src/components/recurring-invoices/list/locales/pt.ts +4 -0
  237. package/src/components/recurring-invoices/list/locales/sk.ts +4 -0
  238. package/src/components/recurring-invoices/list/locales/sl.ts +4 -0
  239. package/src/components/recurring-invoices/list/locales/sv.ts +4 -0
  240. package/src/components/tax-reports/slovenia-tax-profile-step.tsx +4 -1
  241. package/src/components/tax-reports/slovenia-yearly-export-form.tsx +3 -0
  242. package/src/components/tax-reports/slovenia-yearly-review-step.tsx +2 -1
  243. package/src/components/ui/form.tsx +5 -13
  244. package/src/components/ui/select.tsx +0 -1
  245. package/src/components/ui/sidebar.tsx +2 -2
  246. package/src/generate-schemas.ts +132 -99
  247. package/src/generated/schemas/acceptentityinvitation_body.ts +4 -3
  248. package/src/generated/schemas/accountwebhook.ts +4 -8
  249. package/src/generated/schemas/addentityuser_body.ts +4 -3
  250. package/src/generated/schemas/advanceinvoice.ts +167 -168
  251. package/src/generated/schemas/authorizeshopify_body.ts +4 -3
  252. package/src/generated/schemas/calculatedocumentpreview.ts +120 -0
  253. package/src/generated/schemas/checktransactiontype.ts +35 -0
  254. package/src/generated/schemas/creditnote.ts +203 -76
  255. package/src/generated/schemas/customadvanceinvoice.ts +172 -165
  256. package/src/generated/schemas/customcreditnote.ts +183 -155
  257. package/src/generated/schemas/customdeliverynote.ts +166 -0
  258. package/src/generated/schemas/customer.ts +4 -8
  259. package/src/generated/schemas/customestimate.ts +123 -97
  260. package/src/generated/schemas/customincomingpurchasedocument.ts +142 -0
  261. package/src/generated/schemas/custominvoice.ts +183 -154
  262. package/src/generated/schemas/deliverynote.ts +124 -79
  263. package/src/generated/schemas/einvoice.ts +19 -0
  264. package/src/generated/schemas/einvoicingsettings.ts +21 -0
  265. package/src/generated/schemas/einvoicingsupplier.ts +45 -0
  266. package/src/generated/schemas/entity.ts +44 -40
  267. package/src/generated/schemas/entityapikey.ts +1 -3
  268. package/src/generated/schemas/entityuserrole.ts +1 -3
  269. package/src/generated/schemas/estimate.ts +120 -127
  270. package/src/generated/schemas/exportsloveniavodxml_body.ts +4 -3
  271. package/src/generated/schemas/exportsloveniayearlynormiranireport_body.ts +4 -3
  272. package/src/generated/schemas/finadevice.ts +15 -0
  273. package/src/generated/schemas/finalizedocument.ts +52 -0
  274. package/src/generated/schemas/finapremise.ts +15 -0
  275. package/src/generated/schemas/finasettings.ts +1 -3
  276. package/src/generated/schemas/furselectronicdevice.ts +15 -0
  277. package/src/generated/schemas/furssettings.ts +1 -3
  278. package/src/generated/schemas/image.ts +15 -0
  279. package/src/generated/schemas/incomingpurchasedocument.ts +7 -27
  280. package/src/generated/schemas/incomingpurchasedocumentattachment.ts +15 -0
  281. package/src/generated/schemas/incomingpurchasedocumentpayment.ts +1 -3
  282. package/src/generated/schemas/index.ts +20 -5
  283. package/src/generated/schemas/invoice.ts +182 -183
  284. package/src/generated/schemas/item.ts +6 -10
  285. package/src/generated/schemas/legacymigrationauth.ts +18 -0
  286. package/src/generated/schemas/me.ts +2 -24
  287. package/src/generated/schemas/migrationjob.ts +20 -0
  288. package/src/generated/schemas/order.ts +4 -8
  289. package/src/generated/schemas/orderintegration.ts +4 -8
  290. package/src/generated/schemas/payment.ts +4 -8
  291. package/src/generated/schemas/ptatcudseries.ts +1 -3
  292. package/src/generated/schemas/queryentitystats.ts +15 -0
  293. package/src/generated/schemas/recurringinvoice.ts +4 -8
  294. package/src/generated/schemas/registerfursmovablepremise_body.ts +1 -3
  295. package/src/generated/schemas/registerfursrealestatepremise_body.ts +1 -3
  296. package/src/generated/schemas/renderadvanceinvoicepreview_body.ts +10 -16
  297. package/src/generated/schemas/rendercreditnotepreview_body.ts +10 -16
  298. package/src/generated/schemas/renderdeliverynotepreview_body.ts +9 -5
  299. package/src/generated/schemas/renderestimatepreview_body.ts +11 -7
  300. package/src/generated/schemas/renderinvoicepreview_body.ts +10 -16
  301. package/src/generated/schemas/reviewsloveniayearlynormiranireport.ts +15 -0
  302. package/src/generated/schemas/searcheinvoicingcustomer.ts +18 -0
  303. package/src/generated/schemas/senddocument_body.ts +1 -3
  304. package/src/generated/schemas/sendemail_body.ts +2 -24
  305. package/src/generated/schemas/sloveniataxprofile.ts +8 -10
  306. package/src/generated/schemas/starteslogexport_body.ts +4 -3
  307. package/src/generated/schemas/startpdfexport_body.ts +8 -87
  308. package/src/generated/schemas/stripeappconnect_body.ts +4 -3
  309. package/src/generated/schemas/stripeappcreateinvoice_body.ts +4 -6
  310. package/src/generated/schemas/stripeappmarketplaceauthorize.ts +15 -0
  311. package/src/generated/schemas/stripeappupdatesettings_body.ts +6 -6
  312. package/src/generated/schemas/supplier.ts +4 -8
  313. package/src/generated/schemas/syncshopifyorders_body.ts +4 -3
  314. package/src/generated/schemas/tax.ts +6 -8
  315. package/src/generated/schemas/uploadfile_body.ts +1 -3
  316. package/src/generated/schemas/uploadfurscertificate_body.ts +6 -6
  317. package/src/generated/schemas/userfinasettings.ts +1 -3
  318. package/src/generated/schemas/userfurssettings.ts +1 -3
  319. package/src/generated/schemas/userptsettings.ts +1 -3
  320. package/src/generated/schemas/voidinvoice_body.ts +8 -3
  321. package/src/generated/schemas/webhook.ts +4 -8
  322. package/src/generated/schemas/wlsubscriptionbillingemail.ts +17 -0
  323. package/src/hooks/use-duplicate-document.ts +74 -32
  324. package/src/lib/date-only.ts +58 -0
  325. package/src/lib/document-display.ts +18 -0
  326. package/src/lib/payment-display.ts +5 -3
  327. package/src/lib/schemas/shared.ts +11 -0
  328. package/src/providers/wl-subscription-provider.tsx +5 -0
  329. package/src/generated/schemas/account_webhook.ts +0 -43
  330. package/src/generated/schemas/previewadvanceinvoice_body.ts +0 -354
  331. package/src/generated/schemas/previewestimate_body.ts +0 -309
  332. package/src/generated/schemas/registerfinamovablepremise_body.ts +0 -26
  333. package/src/generated/schemas/registerfinarealestatepremise_body.ts +0 -37
  334. package/src/generated/schemas/renderdocument_body.ts +0 -594
@@ -60,6 +60,7 @@ const translations = {
60
60
  "slovenia-yearly.profile.vat-profile.placeholder": "Optional",
61
61
  "slovenia-yearly.profile.vat-profile.options.standard": "Standard VAT subject",
62
62
  "slovenia-yearly.profile.vat-profile.options.special_vat_identified": "Special VAT subject",
63
+ "slovenia-yearly.profile.vat-profile.options.non_vat_subject": "Non-VAT subject",
63
64
  "slovenia-yearly.profile.insurance-basis.label": "Insurance basis",
64
65
  "slovenia-yearly.profile.insurance-basis.placeholder": "Select insurance basis",
65
66
  "slovenia-yearly.profile.insurance-basis.options.full_time_self_employed": "Full-time self-employed",
@@ -136,6 +137,7 @@ const translations = {
136
137
  "slovenia-yearly.profile.vat-profile.placeholder": "Neobvezno",
137
138
  "slovenia-yearly.profile.vat-profile.options.standard": "Običajni DDV zavezanec",
138
139
  "slovenia-yearly.profile.vat-profile.options.special_vat_identified": "Posebni DDV zavezanec",
140
+ "slovenia-yearly.profile.vat-profile.options.non_vat_subject": "Ne-DDV zavezanec",
139
141
  "slovenia-yearly.profile.insurance-basis.label": "Zavarovalna podlaga",
140
142
  "slovenia-yearly.profile.insurance-basis.placeholder": "Izberi zavarovalno podlago",
141
143
  "slovenia-yearly.profile.insurance-basis.options.full_time_self_employed": "Polni s.p.",
@@ -212,6 +214,7 @@ const translations = {
212
214
  "slovenia-yearly.profile.vat-profile.placeholder": "Opcionalno",
213
215
  "slovenia-yearly.profile.vat-profile.options.standard": "Standardni PDV obveznik",
214
216
  "slovenia-yearly.profile.vat-profile.options.special_vat_identified": "Posebni PDV obveznik",
217
+ "slovenia-yearly.profile.vat-profile.options.non_vat_subject": "Nije PDV obveznik",
215
218
  "slovenia-yearly.profile.insurance-basis.label": "Osnova osiguranja",
216
219
  "slovenia-yearly.profile.insurance-basis.placeholder": "Odaberi osnovu osiguranja",
217
220
  "slovenia-yearly.profile.insurance-basis.options.full_time_self_employed": "Puni samostalni obrt",
@@ -1,5 +1,6 @@
1
1
  import { AlertCircle, TriangleAlert } from "lucide-react";
2
2
  import type { ChangeEvent } from "react";
3
+ import { getDisplayDocumentNumber } from "@/ui/lib/document-display";
3
4
  import { Alert, AlertDescription, AlertTitle } from "../ui/alert";
4
5
  import { Input } from "../ui/input";
5
6
  import { Label } from "../ui/label";
@@ -196,7 +197,7 @@ export function SloveniaYearlyReviewStep({
196
197
  >
197
198
  <div className="flex flex-wrap items-center justify-between gap-2">
198
199
  <div className="font-medium">
199
- {document.number} ·{" "}
200
+ {getDisplayDocumentNumber(document, t)} ·{" "}
200
201
  {document.type === "invoice"
201
202
  ? t("slovenia-yearly.review.issues.document-type.invoice")
202
203
  : t("slovenia-yearly.review.issues.document-type.credit-note")}
@@ -3,16 +3,7 @@
3
3
  import * as React from "react"
4
4
  import type * as LabelPrimitive from "@radix-ui/react-label"
5
5
  import { Slot } from "@radix-ui/react-slot"
6
- import {
7
- Controller,
8
- type ControllerProps,
9
- type FieldErrors,
10
- type FieldPath,
11
- type FieldValues,
12
- FormProvider,
13
- type UseFormReturn,
14
- useFormContext,
15
- } from "react-hook-form"
6
+ import { Controller, type ControllerProps, type FieldErrors, type FieldPath, type FieldValues, FormProvider, useFormContext } from "react-hook-form"
16
7
 
17
8
  import { cn } from "@/ui/lib/utils"
18
9
  import { Label } from "@/ui/components/ui/label"
@@ -20,16 +11,17 @@ import { getValidationLocale, translateZodValidationMessage } from "@/ui/lib/zod
20
11
 
21
12
  const ValidationLocaleContext = React.createContext<string | undefined>(undefined)
22
13
 
23
- type FormProps = UseFormReturn<any> & {
14
+ type FormProps = {
24
15
  children: React.ReactNode
25
16
  locale?: string
17
+ [key: string]: any
26
18
  }
27
19
 
28
20
  function Form({ locale, ...props }: FormProps) {
29
21
  const { watch, getFieldState, clearErrors, trigger } = props
30
22
 
31
23
  React.useEffect(() => {
32
- const subscription = watch((_value, { name, type }) => {
24
+ const subscription = watch((_value: unknown, { name, type }: { name?: string; type?: string }) => {
33
25
  if (!name || type !== "change") return
34
26
 
35
27
  const fieldState = getFieldState(name)
@@ -49,7 +41,7 @@ function Form({ locale, ...props }: FormProps) {
49
41
 
50
42
  return (
51
43
  <ValidationLocaleContext.Provider value={locale}>
52
- <FormProvider {...props} />
44
+ <FormProvider {...(props as any)} />
53
45
  </ValidationLocaleContext.Provider>
54
46
  )
55
47
  }
@@ -119,7 +119,6 @@ function SelectValue({
119
119
  <SelectPrimitive.Value
120
120
  data-slot="select-value"
121
121
  className={cn("flex flex-1 text-left", className)}
122
- // @ts-expect-error - Base UI SelectValue accepts placeholder at runtime
123
122
  placeholder={placeholder}
124
123
  {...props}
125
124
  />
@@ -556,7 +556,7 @@ function SidebarMenuButton({
556
556
  },
557
557
  props
558
558
  ),
559
- render: !tooltip ? renderProp : TooltipTrigger,
559
+ render: renderProp,
560
560
  state: {
561
561
  slot: "sidebar-menu-button",
562
562
  sidebar: "menu-button",
@@ -577,7 +577,7 @@ function SidebarMenuButton({
577
577
 
578
578
  return (
579
579
  <Tooltip>
580
- {comp}
580
+ <TooltipTrigger asChild>{comp}</TooltipTrigger>
581
581
  <TooltipContent
582
582
  side="right"
583
583
  align="center"
@@ -5,22 +5,52 @@ import path from "node:path";
5
5
  const SCHEMAS_DIR = "./src/generated/schemas";
6
6
  const GENERATED_DIR = "./generated";
7
7
 
8
- type SchemaGroups = {
9
- [key: string]: string[];
8
+ type OperationSchemaEntry = {
9
+ alias: string;
10
+ schemaName: string;
11
+ groupName: string;
10
12
  };
11
13
 
12
- // Helper to get group name from schema name
13
- const getGroupName = (schemaName: string): string => {
14
+ // Helper to get group name from schema name / alias
15
+ const getGroupName = (schemaName: string, alias?: string): string => {
14
16
  // Remove _Body and extract the resource name (e.g., Customer from createCustomer)
15
- return schemaName.replace(/(create|patch|update|delete)([A-Z][a-zA-Z]+)_Body/, "$2").toLowerCase();
16
- };
17
+ if (schemaName.endsWith("_Body")) {
18
+ return schemaName.replace(/(create|patch|update|delete)([A-Z][a-zA-Z]+)_Body/, "$2").toLowerCase();
19
+ }
20
+
21
+ if (alias) {
22
+ return alias
23
+ .replace(/^(create|patch|update|delete|register|upload|send|preview|render|accept|add|start|authorize|sync|void)/, "")
24
+ .toLowerCase();
25
+ }
17
26
 
18
- // Helper to format operation name
19
- const formatOperationName = (operationType: string, resourceName: string): string => {
20
- // Convert to proper case format (e.g., createCustomer)
21
- return `${operationType}${resourceName}`;
27
+ return schemaName.toLowerCase();
22
28
  };
23
29
 
30
+ function extractOperationSchemaEntries(fullContent: string): OperationSchemaEntry[] {
31
+ const endpointBlockRegex = / \{[\s\S]*?\n \},?/g;
32
+ const dedupedEntries = new Map<string, OperationSchemaEntry>();
33
+
34
+ for (const block of fullContent.match(endpointBlockRegex) ?? []) {
35
+ const aliasMatch = block.match(/alias:\s*"([^"]+)"/);
36
+ const bodySchemaMatch = block.match(/type:\s*"Body",[\s\S]*?schema:\s*((?:[A-Z][A-Za-z0-9_]*|[a-z][A-Za-z0-9]*_Body))/);
37
+
38
+ if (!aliasMatch || !bodySchemaMatch) {
39
+ continue;
40
+ }
41
+
42
+ const alias = aliasMatch[1];
43
+ const schemaName = bodySchemaMatch[1];
44
+ dedupedEntries.set(alias, {
45
+ alias,
46
+ schemaName,
47
+ groupName: getGroupName(schemaName, alias),
48
+ });
49
+ }
50
+
51
+ return [...dedupedEntries.values()];
52
+ }
53
+
24
54
  async function main() {
25
55
  // Ensure directories exist
26
56
  await fs.mkdir(SCHEMAS_DIR, { recursive: true });
@@ -70,6 +100,21 @@ async function main() {
70
100
  // Fix Zod v3 record syntax - z.record(z.string()) -> z.record(z.string(), z.any())
71
101
  content = content.replace(/z\.record\(z\.string\(\)\)/g, "z.record(z.string(), z.any())");
72
102
 
103
+ // Fix nullable enums emitted as z.enum([... , null]), which newer Zod typings reject.
104
+ content = content.replace(/z\.enum\(\[([\s\S]*?)\]\)/g, (match, values) => {
105
+ if (!/\bnull\b/.test(values)) {
106
+ return match;
107
+ }
108
+
109
+ const enumValues = values
110
+ .split(",")
111
+ .map((value: string) => value.trim())
112
+ .filter((value: string) => value.length > 0 && value !== "null")
113
+ .join(", ");
114
+
115
+ return `z.union([z.enum([${enumValues}]), z.null()])`;
116
+ });
117
+
73
118
  // Remove .default({}) from metadata fields to keep them truly optional
74
119
  // When using .optional().default({}), Zod infers the type as required since it always has a value after parsing
75
120
  // We want metadata to be optional in the form type to match SDK types
@@ -85,13 +130,6 @@ async function main() {
85
130
  content = content.replace(/: EuTaxRules,/g, ": z.any().optional(),");
86
131
  content = content.replace(/z\.array\(EntityBankAccount\)/g, "z.array(z.any())");
87
132
 
88
- // Extract just the schema definitions
89
- const schemaMatch = content.match(/export const schemas = {([^}]+)}/s);
90
- if (!schemaMatch) {
91
- throw new Error("Could not find schema definitions in generated file");
92
- }
93
- const schemaSection = schemaMatch[1];
94
-
95
133
  // Helper function to find schema dependencies (schemas referenced by other schemas)
96
134
  function findSchemaDependencies(schemaName: string, fullContent: string): string[] {
97
135
  const dependencies: string[] = [];
@@ -117,30 +155,50 @@ async function main() {
117
155
  return dependencies;
118
156
  }
119
157
 
120
- // Parse schema names and group them
121
- const schemasByGroup = schemaSection
122
- .split(",\n")
123
- .map((line) => line.trim())
124
- .filter((line) => line.includes("_Body"))
125
- .map((line) => line.split(":")[0].trim())
126
- .reduce<SchemaGroups>((groups, schemaName) => {
127
- const groupName = getGroupName(schemaName);
128
- if (!groups[groupName]) {
129
- groups[groupName] = [];
158
+ const operationEntries = extractOperationSchemaEntries(content);
159
+ if (operationEntries.length === 0) {
160
+ throw new Error("Could not find endpoint body schemas in generated file");
161
+ }
162
+
163
+ const schemasByGroup = operationEntries.reduce<Record<string, OperationSchemaEntry[]>>((groups, entry) => {
164
+ if (!groups[entry.groupName]) {
165
+ groups[entry.groupName] = [];
166
+ }
167
+
168
+ groups[entry.groupName].push(entry);
169
+ return groups;
170
+ }, {});
171
+
172
+ // Remove previously generated schema files so stale outputs don't survive generator changes.
173
+ for (const file of await fs.readdir(SCHEMAS_DIR)) {
174
+ if (file.endsWith(".ts")) {
175
+ await fs.unlink(path.join(SCHEMAS_DIR, file));
176
+ }
177
+ }
178
+
179
+ // Create files for each group
180
+ for (const [groupName, groupEntries] of Object.entries(schemasByGroup)) {
181
+ const primaryEntryBySchemaName = new Map<string, OperationSchemaEntry>();
182
+ for (const entry of groupEntries) {
183
+ if (!primaryEntryBySchemaName.has(entry.schemaName)) {
184
+ primaryEntryBySchemaName.set(entry.schemaName, entry);
130
185
  }
186
+ }
131
187
 
132
- // Add the main schema
133
- groups[groupName].push(schemaName);
188
+ const schemaNames = groupEntries.reduce<string[]>((acc, entry) => {
189
+ if (!acc.includes(entry.schemaName)) {
190
+ acc.push(entry.schemaName);
191
+ }
134
192
 
135
193
  // Find and add dependencies
136
- const deps = findSchemaDependencies(schemaName, content);
194
+ const deps = findSchemaDependencies(entry.schemaName, content);
137
195
  const queue = [...deps];
138
196
  const processed = new Set(deps);
139
197
 
140
198
  while (queue.length > 0) {
141
199
  const currentDep = queue.shift()!;
142
- if (!groups[groupName].includes(currentDep)) {
143
- groups[groupName].push(currentDep);
200
+ if (!acc.includes(currentDep)) {
201
+ acc.push(currentDep);
144
202
  }
145
203
 
146
204
  const nestedDeps = findSchemaDependencies(currentDep, content);
@@ -152,38 +210,12 @@ async function main() {
152
210
  }
153
211
  }
154
212
 
155
- return groups;
156
- }, {});
157
-
158
- // Topological sort: ensures each schema is defined after all schemas it depends on
159
- function topologicalSort(names: string[], fullContent: string): string[] {
160
- const visited = new Set<string>();
161
- const result: string[] = [];
213
+ return acc;
214
+ }, []);
162
215
 
163
- function visit(name: string) {
164
- if (visited.has(name)) return;
165
- visited.add(name);
166
- // Visit dependencies first so they appear earlier in the output
167
- const deps = findSchemaDependencies(name, fullContent);
168
- for (const dep of deps) {
169
- if (names.includes(dep)) {
170
- visit(dep);
171
- }
172
- }
173
- result.push(name);
174
- }
175
-
176
- for (const name of names) {
177
- visit(name);
178
- }
179
- return result;
180
- }
181
-
182
- // Create files for each group
183
- for (const [groupName, schemaNames] of Object.entries(schemasByGroup)) {
184
216
  // Separate dependencies from operation schemas
185
- const dependencies = schemaNames.filter((name) => !name.includes("_Body"));
186
- const operations = schemaNames.filter((name) => name.includes("_Body"));
217
+ const dependencies = schemaNames.filter((name) => !groupEntries.some((entry) => entry.schemaName === name));
218
+ const operations = [...new Set(groupEntries.map((entry) => entry.schemaName))];
187
219
 
188
220
  // Topologically sort dependencies so each schema is defined after its own dependencies
189
221
  const sortedDependencies = topologicalSort(dependencies, content);
@@ -193,11 +225,9 @@ async function main() {
193
225
 
194
226
  const schemas = orderedNames
195
227
  .map((schemaName) => {
196
- // Check if this is an operation schema or a dependency
197
- const operationMatch = schemaName.match(/(create|patch|update|delete|register|upload|send|preview|render)/i);
198
- const isOperationSchema = operationMatch && schemaName.includes("_Body");
228
+ const operationEntry = primaryEntryBySchemaName.get(schemaName);
199
229
 
200
- if (!isOperationSchema) {
230
+ if (!operationEntry) {
201
231
  // This is a dependency schema, just extract its definition
202
232
  const schemaDefinitionMatch = content.match(new RegExp(`const ${schemaName} = ([^;]+);`, "s"));
203
233
  if (!schemaDefinitionMatch) {
@@ -211,20 +241,9 @@ const ${schemaName} = ${schemaDefinitionMatch[1]};
211
241
  `;
212
242
  }
213
243
 
214
- // Handle operation schemas
215
- const resourceMatch = schemaName.match(/[A-Z][a-zA-Z]+_Body/);
216
- if (!resourceMatch) {
217
- console.warn(`Warning: Invalid schema name format: ${schemaName}`);
218
- return null;
219
- }
220
-
221
- const operationType = operationMatch[1].toLowerCase();
222
- const resourceName = resourceMatch[0].replace("_Body", "");
223
- const operationName = formatOperationName(operationType, resourceName);
224
-
225
- const schemaDefinitionMatch = content.match(new RegExp(`const ${schemaName} = ([^;]+);`, "s"));
244
+ const schemaDefinitionMatch = content.match(new RegExp(`const ${operationEntry.schemaName} = ([^;]+);`, "s"));
226
245
  if (!schemaDefinitionMatch) {
227
- console.warn(`Warning: Could not find schema definition for ${schemaName}`);
246
+ console.warn(`Warning: Could not find schema definition for ${operationEntry.schemaName}`);
228
247
  return null;
229
248
  }
230
249
 
@@ -245,35 +264,26 @@ const ${schemaName} = ${schemaDefinitionMatch[1]};
245
264
  // Add min length to country
246
265
  schemaDefinition = schemaDefinition.replace(/country: z\.string\(\)(?!\.min)/g, "country: z.string().min(1)");
247
266
 
267
+ const operationName = operationEntry.alias;
268
+
248
269
  return `
249
- // Schema for ${operationType} ${resourceName.toLowerCase()} operation
270
+ // Schema for ${operationName} operation
250
271
  const ${operationName}SchemaDefinition = ${schemaDefinition};
251
-
252
- // Type for ${operationType} ${resourceName.toLowerCase()} operation
253
- export type ${operationName.slice(0, 1).toUpperCase() + operationName.slice(1)}Schema = z.infer<typeof ${operationName}SchemaDefinition>;
254
272
  `;
255
273
  })
256
274
  .filter((schema) => schema !== null) // Remove null entries
257
275
  .join("\n");
258
276
 
259
- const exports = schemaNames
260
- .filter((schemaName) => {
261
- // Only export operation schemas, not dependencies
262
- const operationMatch = schemaName.match(/(create|patch|update|delete|register|upload|send|preview|render)/i);
263
- return operationMatch !== null && schemaName.includes("_Body");
264
- })
265
- .map((schemaName) => {
266
- const operationMatch = schemaName.match(/(create|patch|update|delete|register|upload|send|preview|render)/i);
267
- const resourceMatch = schemaName.match(/[A-Z][a-zA-Z]+_Body/);
268
-
269
- if (!operationMatch || !resourceMatch) {
270
- throw new Error(`Invalid schema name format: ${schemaName}`);
277
+ const exports = groupEntries
278
+ .map(({ alias, schemaName }) => {
279
+ const definitionEntry = primaryEntryBySchemaName.get(schemaName);
280
+ if (!definitionEntry) {
281
+ throw new Error(`Missing primary operation entry for ${schemaName}`);
271
282
  }
272
283
 
273
- const operationType = operationMatch[1].toLowerCase();
274
- const resourceName = resourceMatch[0].replace("_Body", "");
275
- const operationName = formatOperationName(operationType, resourceName);
276
- return `export const ${operationName}Schema = ${operationName}SchemaDefinition;`;
284
+ const typeName = alias.slice(0, 1).toUpperCase() + alias.slice(1);
285
+ return `export type ${typeName}Schema = z.infer<typeof ${definitionEntry.alias}SchemaDefinition>;
286
+ export const ${alias}Schema = ${definitionEntry.alias}SchemaDefinition;`;
277
287
  })
278
288
  .join("\n");
279
289
 
@@ -292,6 +302,29 @@ ${exports}
292
302
 
293
303
  await fs.writeFile(path.join(SCHEMAS_DIR, `${groupName}.ts`), schemaContent);
294
304
  }
305
+ // Topological sort: ensures each schema is defined after all schemas it depends on
306
+ function topologicalSort(names: string[], fullContent: string): string[] {
307
+ const visited = new Set<string>();
308
+ const result: string[] = [];
309
+
310
+ function visit(name: string) {
311
+ if (visited.has(name)) return;
312
+ visited.add(name);
313
+ // Visit dependencies first so they appear earlier in the output
314
+ const deps = findSchemaDependencies(name, fullContent);
315
+ for (const dep of deps) {
316
+ if (names.includes(dep)) {
317
+ visit(dep);
318
+ }
319
+ }
320
+ result.push(name);
321
+ }
322
+
323
+ for (const name of names) {
324
+ visit(name);
325
+ }
326
+ return result;
327
+ }
295
328
 
296
329
  // Create index file - export ALL schema files (not just schemasByGroup)
297
330
  const normalizedSchemaFiles = new Map<string, string>();
@@ -8,10 +8,11 @@ import { z } from 'zod';
8
8
 
9
9
  // Schemas for acceptentityinvitation_body endpoints
10
10
 
11
- // Dependency schema for acceptentityinvitation_body
12
- const acceptEntityInvitation_Body = z.object({
11
+ // Schema for acceptEntityInvitation operation
12
+ const acceptEntityInvitationSchemaDefinition = z.object({
13
13
  name: z.string().min(1).max(255),
14
14
  password: z.string().min(8),
15
15
  });
16
16
 
17
-
17
+ export type AcceptEntityInvitationSchema = z.infer<typeof acceptEntityInvitationSchemaDefinition>;
18
+ export const acceptEntityInvitationSchema = acceptEntityInvitationSchemaDefinition;
@@ -8,7 +8,7 @@ import { z } from 'zod';
8
8
 
9
9
  // Schemas for accountwebhook endpoints
10
10
 
11
- // Schema for create accountwebhook operation
11
+ // Schema for createAccountWebhook operation
12
12
  const createAccountWebhookSchemaDefinition = z.object({
13
13
  url: z.string().max(2048).url(),
14
14
  description: z.union([z.string().max(4000, "Description must not exceed 4000 characters"), z.null()]).optional(),
@@ -31,11 +31,8 @@ const createAccountWebhookSchemaDefinition = z.object({
31
31
  metadata: z.union([z.record(z.string(), z.any()), z.null()]).optional(),
32
32
  });
33
33
 
34
- // Type for create accountwebhook operation
35
- export type CreateAccountWebhookSchema = z.infer<typeof createAccountWebhookSchemaDefinition>;
36
-
37
34
 
38
- // Schema for update accountwebhook operation
35
+ // Schema for updateAccountWebhook operation
39
36
  const updateAccountWebhookSchemaDefinition = z
40
37
  .object({
41
38
  url: z.string().max(2048).url(),
@@ -60,8 +57,7 @@ const updateAccountWebhookSchemaDefinition = z
60
57
  })
61
58
  .partial();
62
59
 
63
- // Type for update accountwebhook operation
64
- export type UpdateAccountWebhookSchema = z.infer<typeof updateAccountWebhookSchemaDefinition>;
65
-
60
+ export type CreateAccountWebhookSchema = z.infer<typeof createAccountWebhookSchemaDefinition>;
66
61
  export const createAccountWebhookSchema = createAccountWebhookSchemaDefinition;
62
+ export type UpdateAccountWebhookSchema = z.infer<typeof updateAccountWebhookSchemaDefinition>;
67
63
  export const updateAccountWebhookSchema = updateAccountWebhookSchemaDefinition;
@@ -8,11 +8,12 @@ import { z } from 'zod';
8
8
 
9
9
  // Schemas for addentityuser_body endpoints
10
10
 
11
- // Dependency schema for addentityuser_body
12
- const addEntityUser_Body = z.object({
11
+ // Schema for addEntityUser operation
12
+ const addEntityUserSchemaDefinition = z.object({
13
13
  email: z.string().email(),
14
14
  role: z.enum(["viewer", "editor", "admin"]).optional().default("editor"),
15
15
  send_invite: z.boolean().optional().default(true),
16
16
  });
17
17
 
18
-
18
+ export type AddEntityUserSchema = z.infer<typeof addEntityUserSchemaDefinition>;
19
+ export const addEntityUserSchema = addEntityUserSchemaDefinition;