@wisemen/wise-invoicing-web 0.0.2 → 0.0.4

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 (605) hide show
  1. package/dist/AddOpenBoundaryIcon-9SqBHfoz.js +25 -0
  2. package/dist/AirlineIcon-Z6sH_StM.js +26 -0
  3. package/dist/AirplaneIcon-C-nSkD1w.js +19 -0
  4. package/dist/AirportIcon-m4itDKCV.js +16 -0
  5. package/dist/AlertTriangleIcon-DtYLCC-Y.js +23 -0
  6. package/dist/AllocationsIcon-hcg93Sll.js +16 -0
  7. package/dist/ArrowNarrowRightIcon-2-Sml68f.js +23 -0
  8. package/dist/AssetIcon-qOYs6Wna.js +16 -0
  9. package/dist/BarChartIcon-DDyzpV_3.js +22 -0
  10. package/dist/BellIcon-DF1OBFta.js +21 -0
  11. package/dist/BillingDocumentDetailViewDataProvider-pePmiXWb.js +5248 -0
  12. package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
  13. package/dist/BillingDocumentPdf-Dg5JlQE1.js +726 -0
  14. package/dist/BuildingIcon-CC5PMNeP.js +22 -0
  15. package/dist/ChargerIcon-aM_endLr.js +16 -0
  16. package/dist/ChevronDownIcon-4QiK-Z6-.js +23 -0
  17. package/dist/ChevronUpIcon-qBsjZ5Dz.js +23 -0
  18. package/dist/ClockIcon-BNiPCaiB.js +23 -0
  19. package/dist/ClockSnoozeIcon-BxGfwJB6.js +23 -0
  20. package/dist/CopyIcon-DH5ly0dZ.js +19 -0
  21. package/dist/CreditNoteDetailViewDataProvider-C-A0jyVr.js +751 -0
  22. package/dist/CreditNotePdfViewDataProvider-DNUvFVDj.js +21 -0
  23. package/dist/CustomFieldValueText-DDQq-975.js +189 -0
  24. package/dist/DataProvider-CfHLB3rH.js +48 -0
  25. package/dist/DownloadCloudIcon-Cf8ftklG.js +22 -0
  26. package/dist/DunningCaseDetailViewDataProvider-0WV-7-vg.js +400 -0
  27. package/dist/DunningCaseOverviewView-CHdzfbhb.js +553 -0
  28. package/dist/DunningCaseReminderPdfViewDataProvider-DcM-7ECg.js +239 -0
  29. package/dist/DunningCaseSendDialog-DBtwr2ue.js +350 -0
  30. package/dist/EditIcon-Dr7OHBBR.js +21 -0
  31. package/dist/EraserIcon-B1VJSvdI.js +23 -0
  32. package/dist/FileIcon-ssmQI5Yl.js +23 -0
  33. package/dist/FilterLinesIcon-C7YdyPBk.js +23 -0
  34. package/dist/GlobeIcon-BfRM6Ike.js +22 -0
  35. package/dist/HelpIcon-BrJ49P5y.js +22 -0
  36. package/dist/HourGlassIcon-D9rfU1Is.js +22 -0
  37. package/dist/InfoCircleIcon-Ee0SyiMc.js +23 -0
  38. package/dist/InvoiceDetailViewDataProvider-BDL9lAWe.js +1579 -0
  39. package/dist/InvoiceOverviewViewDataProvider-B_jrcC_8.js +1613 -0
  40. package/dist/InvoicePdfView-Bygb-9z6.js +17 -0
  41. package/dist/InvoicePdfViewDataProvider-nBk3XNrE.js +21 -0
  42. package/dist/InvoicePublicPdfViewDataProvider-DHJP_-7-.js +44 -0
  43. package/dist/IssuerSettingsViewDataProvider-Dk_Q6w6f.js +188 -0
  44. package/dist/KeyboardIcon-T3o_g-1c.js +22 -0
  45. package/dist/LinkExternalIcon-BkHS4fCx.js +22 -0
  46. package/dist/LinkIcon-DuPwae98.js +22 -0
  47. package/dist/MarkerIcon-B1Jqenjb.js +28 -0
  48. package/dist/MobileBatteryIcon-GZ1SMRDV.js +16 -0
  49. package/dist/MonitorIcon-pbK22reU.js +22 -0
  50. package/dist/NotificationIcon-Ctv8vyWt.js +19 -0
  51. package/dist/ParkingIcon-DnUPW3pB.js +24 -0
  52. package/dist/PlanningIcon-CXvrskgj.js +16 -0
  53. package/dist/PreferenceIcon-BHS8uDyi.js +22 -0
  54. package/dist/ReceiptCheckIcon-QTestqCJ.js +23 -0
  55. package/dist/RefreshIcon-DShY-aoS.js +22 -0
  56. package/dist/ReminderSettingsViewDataProvider-CDBjfU7R.js +668 -0
  57. package/dist/RemoveOpenBoundaryIcon-CN8YWs6o.js +28 -0
  58. package/dist/RewindIcon-GWg2AQax.js +22 -0
  59. package/dist/SettingsIcon-CBLJ6B5u.js +25 -0
  60. package/dist/ShieldIcon-CVnrOcxl.js +19 -0
  61. package/dist/ShieldOffIcon-B9l0dDVb.js +23 -0
  62. package/dist/SignOutIcon-CmDkjJ5F.js +21 -0
  63. package/dist/SlashCircleIcon-jY5FBko5.js +22 -0
  64. package/dist/StandIcon-CoYnBLMn.js +23 -0
  65. package/dist/StarsIcon-D7ZlqOW7.js +22 -0
  66. package/dist/StopwatchIcon-BK0vh1lg.js +22 -0
  67. package/dist/TargetIcon-HMWj77-Q.js +22 -0
  68. package/dist/ThreeDotsIcon-BtFruOKz.js +32 -0
  69. package/dist/ToolIcon-DRfDb7fE.js +22 -0
  70. package/dist/TrashIcon-BwxBjHv5.js +19 -0
  71. package/dist/TurnaroundIcon-b1X61TwZ.js +27 -0
  72. package/dist/UploadCloudIcon-BF0equKg.js +22 -0
  73. package/dist/UserIcon-B0rCC6KE.js +22 -0
  74. package/dist/UsersIcon-cK5l_zKG.js +22 -0
  75. package/dist/VerifiedIcon-CELYlqcv.js +22 -0
  76. package/dist/WifiIcon--JPvMNEF.js +23 -0
  77. package/dist/WifiOffIcon-BS2KftcP.js +23 -0
  78. package/dist/ZapIcon-BHwcIQc0.js +23 -0
  79. package/dist/ZoomInIcon-Cu6r915V.js +23 -0
  80. package/dist/ZoomOutIcon-DwB4FRj-.js +23 -0
  81. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  82. package/dist/address.transformer-B8C0pwT1.js +167 -0
  83. package/dist/addressForm.model-C853zEtX.js +20 -0
  84. package/dist/api.util-Dm_TQedZ.js +2948 -0
  85. package/dist/billingDocumentDetail.transformer-zMTbka5p.js +334 -0
  86. package/dist/client/client/client.gen.d.ts +2 -0
  87. package/dist/client/client/index.d.ts +10 -0
  88. package/dist/client/client/types.gen.d.ts +120 -0
  89. package/dist/client/client/utils.gen.d.ts +37 -0
  90. package/dist/client/client.gen.d.ts +12 -0
  91. package/dist/client/core/auth.gen.d.ts +25 -0
  92. package/dist/client/core/bodySerializer.gen.d.ts +25 -0
  93. package/dist/client/core/params.gen.d.ts +43 -0
  94. package/dist/client/core/pathSerializer.gen.d.ts +33 -0
  95. package/dist/client/core/queryKeySerializer.gen.d.ts +18 -0
  96. package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
  97. package/dist/client/core/types.gen.d.ts +83 -0
  98. package/dist/client/core/utils.gen.d.ts +19 -0
  99. package/dist/client/index.d.ts +2 -0
  100. package/dist/client/sdk.gen.d.ts +123 -0
  101. package/dist/client/types.gen.d.ts +4894 -0
  102. package/dist/client/zod.gen.d.ts +67202 -0
  103. package/dist/composables/created.composable.d.ts +1 -0
  104. package/dist/composables/currency-format/useCurrencyFormat.composable.d.ts +12 -0
  105. package/dist/composables/document-title/documentTitle.composable.d.ts +8 -0
  106. package/dist/composables/form-auto-save/formAutoSave.composable.d.ts +14 -0
  107. package/dist/composables/invoicingConfig.composable.d.ts +24 -0
  108. package/dist/composables/invoicingQueryInvalidation.composable.d.ts +9 -0
  109. package/dist/composables/invoicingQueryInvalidation.composable.spec.d.ts +1 -0
  110. package/dist/composables/is-selector-visible/isSelectorVisible.composable.d.ts +1 -0
  111. package/dist/composables/paginated-cache/paginatedCache.composable.d.ts +8 -0
  112. package/dist/composables/routeQueryState.composable.d.ts +12 -0
  113. package/dist/composables/search/search.composable.d.ts +12 -0
  114. package/dist/composables/sort.composable.d.ts +3 -0
  115. package/dist/composables/virtual-scrolling/virtualScrolling.composable.d.ts +31 -0
  116. package/dist/creditNoteDetail.query-BZqgZRSu.js +122 -0
  117. package/dist/customerUuid.model-GUFYq3O2.js +5 -0
  118. package/dist/dashboard-BaWGNEek.js +5 -0
  119. package/dist/dist-DJ8yJcb9.js +2499 -0
  120. package/dist/dist-DP8KNFVD.js +927 -0
  121. package/dist/dist-YTXTCfo1.js +333 -0
  122. package/dist/documentTitle.composable-CeaFddr1.js +68 -0
  123. package/dist/download.util-PjaUQR6r.js +9 -0
  124. package/dist/formango.util-D5c2ql--.js +12 -0
  125. package/dist/i18n.lib-DUbAMBRb.js +1440 -0
  126. package/dist/index.d.ts +1603 -2873
  127. package/dist/index.js +749 -42
  128. package/dist/invoice.service-ChHEtXBA.js +629 -0
  129. package/dist/invoiceDeliveryStatus.util-BsA-MlA3.js +331 -0
  130. package/dist/invoiceDetail.query-O_CGvdwg.js +11 -0
  131. package/dist/invoicingConfig.composable-c6w_aMm1.js +60 -0
  132. package/dist/issuerSettings.query-RqtrZFaB.js +116 -0
  133. package/dist/libs/http.lib.d.ts +5 -0
  134. package/dist/libs/i18n.lib.d.ts +1439 -0
  135. package/dist/locales/en-US.json.d.ts +718 -0
  136. package/dist/locales/nl-BE.json.d.ts +718 -0
  137. package/dist/locales/ui-en-US.json.d.ts +66 -0
  138. package/dist/locales/ui-nl-BE.json.d.ts +66 -0
  139. package/dist/models/address/address.model.d.ts +15 -0
  140. package/dist/models/address/address.transformer.d.ts +11 -0
  141. package/dist/models/address/address.util.d.ts +11 -0
  142. package/dist/models/address/addressForm.model.d.ts +15 -0
  143. package/dist/models/address/addressForm.transformer.d.ts +8 -0
  144. package/dist/models/address/addressForm.transformer.spec.d.ts +1 -0
  145. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.model.d.ts +21 -0
  146. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.transformer.d.ts +5 -0
  147. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +136 -0
  148. package/dist/models/billing-document/billingDocumentDetail.transformer.d.ts +5 -0
  149. package/dist/models/billing-document/billingDocumentDiscount.model.d.ts +9 -0
  150. package/dist/models/billing-document/billingDocumentDiscount.transformer.d.ts +6 -0
  151. package/dist/models/billing-document/billingDocumentDisplay.util.d.ts +7 -0
  152. package/dist/models/billing-document/billingDocumentLineItemGroupUpdateForm.model.d.ts +6 -0
  153. package/dist/models/billing-document/billingDocumentLineItemUpdateForm.model.d.ts +21 -0
  154. package/dist/models/billing-document/billingDocumentStatusEnum.model.d.ts +12 -0
  155. package/dist/models/billing-document/billingDocumentUpdateLines.model.d.ts +27 -0
  156. package/dist/models/billing-document/billingDocumentVatSummary.util.d.ts +4 -0
  157. package/dist/models/billing-document/billingDocumentVatSummary.util.spec.d.ts +1 -0
  158. package/dist/models/customer/customerDetail.model.d.ts +6 -0
  159. package/dist/models/customer/customerDetail.transformer.d.ts +5 -0
  160. package/dist/models/customer/customerUuid.model.d.ts +3 -0
  161. package/dist/models/file-reference/fileReference.dto.d.ts +13 -0
  162. package/dist/models/file-reference/fileReference.model.d.ts +13 -0
  163. package/dist/models/file-reference/fileReference.transformer.d.ts +9 -0
  164. package/dist/models/file-reference/fileReferenceForm.model.d.ts +10 -0
  165. package/dist/modules/credit-note/api/mutations/creditNoteDelete.mutation.d.ts +4 -0
  166. package/dist/modules/credit-note/api/mutations/creditNoteFinalize.mutation.d.ts +6 -0
  167. package/dist/modules/credit-note/api/mutations/creditNoteMarkAsDraft.mutation.d.ts +6 -0
  168. package/dist/modules/credit-note/api/mutations/creditNoteMarkAsReady.mutation.d.ts +6 -0
  169. package/dist/modules/credit-note/api/mutations/creditNoteSend.mutation.d.ts +4 -0
  170. package/dist/modules/credit-note/api/mutations/creditNoteUpdate.mutation.d.ts +9 -0
  171. package/dist/modules/credit-note/api/mutations/creditNoteUpdateLines.mutation.d.ts +4 -0
  172. package/dist/modules/credit-note/api/queries/creditNoteActivityLogIndex.query.d.ts +3 -0
  173. package/dist/modules/credit-note/api/queries/creditNoteDetail.query.d.ts +3 -0
  174. package/dist/modules/credit-note/api/query-keys/creditNote.queryKeys.d.ts +17 -0
  175. package/dist/modules/credit-note/api/services/creditNote.service.d.ts +18 -0
  176. package/dist/modules/credit-note/models/creditNoteUuid.model.d.ts +3 -0
  177. package/dist/modules/credit-note/models/detail/creditNoteDetail.model.d.ts +4 -0
  178. package/dist/modules/credit-note/models/detail/creditNoteDetail.transformer.d.ts +5 -0
  179. package/dist/modules/credit-note/models/update/creditNoteUpdate.transformer.d.ts +7 -0
  180. package/dist/modules/credit-note/models/update/creditNoteUpdateForm.model.d.ts +11 -0
  181. package/dist/modules/credit-note/models/update/creditNoteUpdateLines.model.d.ts +2 -0
  182. package/dist/modules/credit-note/models/update/creditNoteUpdateLines.transformer.d.ts +5 -0
  183. package/dist/modules/credit-note/routes/creditNote.routes.d.ts +26 -0
  184. package/dist/modules/credit-note/use-cases/detail/components/CreditNoteDetailHeaderSection.vue.d.ts +12 -0
  185. package/dist/modules/credit-note/use-cases/detail/components/CreditNoteDetailRemarksSection.vue.d.ts +7 -0
  186. package/dist/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebar.vue.d.ts +9 -0
  187. package/dist/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebarActivityTab.vue.d.ts +7 -0
  188. package/dist/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebarInfoTab.vue.d.ts +9 -0
  189. package/dist/modules/credit-note/use-cases/detail/components/table/CreditNoteLineItemsTableSection.vue.d.ts +9 -0
  190. package/dist/modules/credit-note/use-cases/detail/composables/creditNoteDetailHeaderActions.composable.d.ts +8 -0
  191. package/dist/modules/credit-note/use-cases/detail/dialogs/CreditNoteDeleteDialog.vue.d.ts +13 -0
  192. package/dist/modules/credit-note/use-cases/detail/views/CreditNoteDetailView.vue.d.ts +9 -0
  193. package/dist/modules/credit-note/use-cases/detail/views/CreditNoteDetailViewDataProvider.vue.d.ts +7 -0
  194. package/dist/modules/credit-note/use-cases/pdf/views/CreditNotePdfViewDataProvider.vue.d.ts +7 -0
  195. package/dist/modules/custom-field/api/queries/customFieldDefinitionIndex.query.d.ts +3 -0
  196. package/dist/modules/custom-field/api/query-keys/customFieldDefinition.queryKeys.d.ts +10 -0
  197. package/dist/modules/custom-field/api/services/customFieldDefinition.service.d.ts +6 -0
  198. package/dist/modules/custom-field/components/CustomFieldFieldset.vue.d.ts +21 -0
  199. package/dist/modules/custom-field/components/CustomFieldList.vue.d.ts +10 -0
  200. package/dist/modules/custom-field/components/CustomFieldValueInput.vue.d.ts +23 -0
  201. package/dist/modules/custom-field/components/CustomFieldValueText.vue.d.ts +10 -0
  202. package/dist/modules/custom-field/components/customFieldFieldset.spec.d.ts +1 -0
  203. package/dist/modules/custom-field/components/customFieldValueInput.spec.d.ts +1 -0
  204. package/dist/modules/custom-field/composables/customFieldValueModel.composable.d.ts +28 -0
  205. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.model.d.ts +24 -0
  206. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.transformer.d.ts +5 -0
  207. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.d.ts +8 -0
  208. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.spec.d.ts +1 -0
  209. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinitionIndexQueryParams.model.d.ts +4 -0
  210. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinitionUuid.model.d.ts +3 -0
  211. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.model.d.ts +12 -0
  212. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.transformer.d.ts +8 -0
  213. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.transformer.spec.d.ts +1 -0
  214. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.d.ts +10 -0
  215. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.spec.d.ts +1 -0
  216. package/dist/modules/custom-field/test/builders/customFieldDefinition.builder.d.ts +13 -0
  217. package/dist/modules/dunning-case/api/mutations/dunningCaseBulkSend.mutation.d.ts +5 -0
  218. package/dist/modules/dunning-case/api/mutations/dunningCaseSend.mutation.d.ts +4 -0
  219. package/dist/modules/dunning-case/api/mutations/reminderConfigUpdate.mutation.d.ts +24 -0
  220. package/dist/modules/dunning-case/api/queries/dunningCaseCustomerByExternalId.query.d.ts +2 -0
  221. package/dist/modules/dunning-case/api/queries/dunningCaseCustomerIndex.query.d.ts +6 -0
  222. package/dist/modules/dunning-case/api/queries/dunningCaseDetail.query.d.ts +3 -0
  223. package/dist/modules/dunning-case/api/queries/dunningCaseIndex.query.d.ts +8 -0
  224. package/dist/modules/dunning-case/api/queries/reminderConfig.query.d.ts +1 -0
  225. package/dist/modules/dunning-case/api/query-keys/dunningCase.queryKeys.d.ts +55 -0
  226. package/dist/modules/dunning-case/api/services/dunningCase.service.d.ts +19 -0
  227. package/dist/modules/dunning-case/api/services/dunningCaseCustomer.service.d.ts +11 -0
  228. package/dist/modules/dunning-case/components/DunningCaseReminderLevelIndicator.vue.d.ts +9 -0
  229. package/dist/modules/dunning-case/components/DunningCaseReminderStatusIndicator.vue.d.ts +9 -0
  230. package/dist/modules/dunning-case/components/dunningCaseReminderLevelIndicator.spec.d.ts +1 -0
  231. package/dist/modules/dunning-case/components/dunningCaseReminderStatusIndicator.spec.d.ts +1 -0
  232. package/dist/modules/dunning-case/index.d.ts +4 -0
  233. package/dist/modules/dunning-case/models/dunningCase.model.d.ts +107 -0
  234. package/dist/modules/dunning-case/models/dunningCase.model.spec.d.ts +1 -0
  235. package/dist/modules/dunning-case/models/dunningCase.transformer.d.ts +13 -0
  236. package/dist/modules/dunning-case/models/dunningCase.transformer.spec.d.ts +1 -0
  237. package/dist/modules/dunning-case/models/dunningCaseCustomer.model.d.ts +9 -0
  238. package/dist/modules/dunning-case/models/reminderConfigForm.model.d.ts +31 -0
  239. package/dist/modules/dunning-case/models/reminderConfigForm.model.spec.d.ts +1 -0
  240. package/dist/modules/dunning-case/models/reminderTimeline.util.d.ts +9 -0
  241. package/dist/modules/dunning-case/models/reminderTimeline.util.spec.d.ts +1 -0
  242. package/dist/modules/dunning-case/routes/dunningCase.routes.d.ts +37 -0
  243. package/dist/modules/dunning-case/use-cases/customer/components/CustomerDunningCasesSection.vue.d.ts +7 -0
  244. package/dist/modules/dunning-case/use-cases/detail/views/DunningCaseDetailView.vue.d.ts +7 -0
  245. package/dist/modules/dunning-case/use-cases/detail/views/DunningCaseDetailViewDataProvider.vue.d.ts +7 -0
  246. package/dist/modules/dunning-case/use-cases/detail/views/dunningCaseDetailView.spec.d.ts +1 -0
  247. package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewFilters.composable.d.ts +5 -0
  248. package/dist/modules/dunning-case/use-cases/overview/views/DunningCaseOverviewView.vue.d.ts +3 -0
  249. package/dist/modules/dunning-case/use-cases/overview/views/dunningCaseOverviewView.spec.d.ts +1 -0
  250. package/dist/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.query.d.ts +2 -0
  251. package/dist/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.service.d.ts +5 -0
  252. package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfFooter.vue.d.ts +7 -0
  253. package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTable.vue.d.ts +20 -0
  254. package/dist/modules/dunning-case/use-cases/pdf/utils/dunningCaseReminderPdf.util.d.ts +8 -0
  255. package/dist/modules/dunning-case/use-cases/pdf/utils/dunningCaseReminderPdf.util.spec.d.ts +1 -0
  256. package/dist/modules/dunning-case/use-cases/pdf/views/DunningCaseReminderPdfView.vue.d.ts +7 -0
  257. package/dist/modules/dunning-case/use-cases/pdf/views/DunningCaseReminderPdfViewDataProvider.vue.d.ts +3 -0
  258. package/dist/modules/dunning-case/use-cases/send/components/DunningCaseBulkSendStat.vue.d.ts +9 -0
  259. package/dist/modules/dunning-case/use-cases/send/components/DunningCaseBulkSendSummary.vue.d.ts +8 -0
  260. package/dist/modules/dunning-case/use-cases/send/components/DunningCaseSendFeeRow.vue.d.ts +8 -0
  261. package/dist/modules/dunning-case/use-cases/send/components/DunningCaseSendInvoiceRow.vue.d.ts +8 -0
  262. package/dist/modules/dunning-case/use-cases/send/components/DunningCaseSendInvoiceSummary.vue.d.ts +8 -0
  263. package/dist/modules/dunning-case/use-cases/send/components/DunningCaseSendRecipientAlert.vue.d.ts +7 -0
  264. package/dist/modules/dunning-case/use-cases/send/composables/dunningCaseReminderSubject.composable.d.ts +6 -0
  265. package/dist/modules/dunning-case/use-cases/send/composables/dunningCaseSendRecipient.composable.d.ts +16 -0
  266. package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseBulkSendDialog.vue.d.ts +10 -0
  267. package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseSendDialog.vue.d.ts +12 -0
  268. package/dist/modules/dunning-case/use-cases/send/utils/dunningCaseSend.util.d.ts +16 -0
  269. package/dist/modules/dunning-case/use-cases/send/utils/dunningCaseSend.util.spec.d.ts +1 -0
  270. package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderFeeNotice.vue.d.ts +3 -0
  271. package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderPanel.vue.d.ts +12 -0
  272. package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderRow.vue.d.ts +26 -0
  273. package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderTimeline.vue.d.ts +13 -0
  274. package/dist/modules/dunning-case/use-cases/settings/components/ReminderTemplateTabs.vue.d.ts +20 -0
  275. package/dist/modules/dunning-case/use-cases/settings/components/ReminderTemplatesPanel.vue.d.ts +24 -0
  276. package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.d.ts +41 -0
  277. package/dist/modules/dunning-case/use-cases/settings/views/ReminderSettingsView.vue.d.ts +7 -0
  278. package/dist/modules/dunning-case/use-cases/settings/views/ReminderSettingsViewDataProvider.vue.d.ts +3 -0
  279. package/dist/modules/invoice/actions/invoice.actions.d.ts +5 -0
  280. package/dist/modules/invoice/actions/invoiceNavigateToDetail.action.d.ts +1 -0
  281. package/dist/modules/invoice/api/invoiceIndexCache.util.d.ts +11 -0
  282. package/dist/modules/invoice/api/invoiceIndexCache.util.spec.d.ts +1 -0
  283. package/dist/modules/invoice/api/mutations/invoiceApplyDiscount.mutation.d.ts +9 -0
  284. package/dist/modules/invoice/api/mutations/invoiceBulkFinalize.mutation.d.ts +5 -0
  285. package/dist/modules/invoice/api/mutations/invoiceBulkMarkAsReady.mutation.d.ts +5 -0
  286. package/dist/modules/invoice/api/mutations/invoiceBulkSend.mutation.d.ts +5 -0
  287. package/dist/modules/invoice/api/mutations/invoiceCreate.mutation.d.ts +7 -0
  288. package/dist/modules/invoice/api/mutations/invoiceCreateCreditNote.mutation.d.ts +4 -0
  289. package/dist/modules/invoice/api/mutations/invoiceDelete.mutation.d.ts +4 -0
  290. package/dist/modules/invoice/api/mutations/invoiceDuplicate.mutation.d.ts +4 -0
  291. package/dist/modules/invoice/api/mutations/invoiceFinalize.mutation.d.ts +4 -0
  292. package/dist/modules/invoice/api/mutations/invoiceMarkAsDraft.mutation.d.ts +4 -0
  293. package/dist/modules/invoice/api/mutations/invoiceMarkAsPaid.mutation.d.ts +4 -0
  294. package/dist/modules/invoice/api/mutations/invoiceMarkAsProtested.mutation.d.ts +4 -0
  295. package/dist/modules/invoice/api/mutations/invoiceMarkAsReady.mutation.d.ts +4 -0
  296. package/dist/modules/invoice/api/mutations/invoicePaymentCreate.mutation.d.ts +11 -0
  297. package/dist/modules/invoice/api/mutations/invoicePaymentDelete.mutation.d.ts +6 -0
  298. package/dist/modules/invoice/api/mutations/invoiceSend.mutation.d.ts +4 -0
  299. package/dist/modules/invoice/api/mutations/invoiceUpdate.mutation.d.ts +16 -0
  300. package/dist/modules/invoice/api/mutations/invoiceUpdateAttachments.mutation.d.ts +13 -0
  301. package/dist/modules/invoice/api/mutations/invoiceUpdateLines.mutation.d.ts +4 -0
  302. package/dist/modules/invoice/api/mutations/invoiceWithdrawProtest.mutation.d.ts +4 -0
  303. package/dist/modules/invoice/api/queries/invoiceActivityLogIndex.query.d.ts +3 -0
  304. package/dist/modules/invoice/api/queries/invoiceCustomerDetail.query.d.ts +6 -0
  305. package/dist/modules/invoice/api/queries/invoiceCustomerSearch.query.d.ts +7 -0
  306. package/dist/modules/invoice/api/queries/invoiceDetail.query.d.ts +3 -0
  307. package/dist/modules/invoice/api/queries/invoiceIndex.query.d.ts +3 -0
  308. package/dist/modules/invoice/api/queries/invoicePaymentIndex.query.d.ts +3 -0
  309. package/dist/modules/invoice/api/queries/invoicePublicDetail.query.d.ts +2 -0
  310. package/dist/modules/invoice/api/query-keys/invoice.queryKeys.d.ts +55 -0
  311. package/dist/modules/invoice/api/services/fileUpload.service.d.ts +9 -0
  312. package/dist/modules/invoice/api/services/fileUpload.service.spec.d.ts +1 -0
  313. package/dist/modules/invoice/api/services/invoice.service.d.ts +48 -0
  314. package/dist/modules/invoice/api/services/invoiceCustomer.service.d.ts +9 -0
  315. package/dist/modules/invoice/components/InvoiceDeliveryStatusBadge.vue.d.ts +10 -0
  316. package/dist/modules/invoice/components/InvoiceDisputedBadge.vue.d.ts +8 -0
  317. package/dist/modules/invoice/components/InvoiceOverdueBadge.vue.d.ts +8 -0
  318. package/dist/modules/invoice/components/InvoiceSettlementStatusBadge.vue.d.ts +18 -0
  319. package/dist/modules/invoice/components/InvoiceStatusBadge.vue.d.ts +10 -0
  320. package/dist/modules/invoice/components/form/InvoiceFormCustomerField.vue.d.ts +16 -0
  321. package/dist/modules/invoice/models/invoice/create/invoiceCreate.transformer.d.ts +5 -0
  322. package/dist/modules/invoice/models/invoice/create/invoiceCreateCustomer.model.d.ts +9 -0
  323. package/dist/modules/invoice/models/invoice/create/invoiceCreateCustomer.transformer.d.ts +5 -0
  324. package/dist/modules/invoice/models/invoice/create/invoiceCreateForm.model.d.ts +9 -0
  325. package/dist/modules/invoice/models/invoice/create/invoiceCustomerSearchQueryParams.model.d.ts +3 -0
  326. package/dist/modules/invoice/models/invoice/create/invoiceCustomerSearchQueryParams.transformer.d.ts +6 -0
  327. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +4 -0
  328. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.transformer.d.ts +5 -0
  329. package/dist/modules/invoice/models/invoice/index/invoiceDateRange.model.d.ts +5 -0
  330. package/dist/modules/invoice/models/invoice/index/invoiceIndex.model.d.ts +27 -0
  331. package/dist/modules/invoice/models/invoice/index/invoiceIndex.transformer.d.ts +5 -0
  332. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +16 -0
  333. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.transformer.d.ts +7 -0
  334. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.transformer.spec.d.ts +1 -0
  335. package/dist/modules/invoice/models/invoice/invoiceDeliveryStatus.model.d.ts +6 -0
  336. package/dist/modules/invoice/models/invoice/invoiceDeliveryStatus.util.d.ts +6 -0
  337. package/dist/modules/invoice/models/invoice/invoiceDeliveryStatus.util.spec.d.ts +1 -0
  338. package/dist/modules/invoice/models/invoice/invoiceSettlementStatus.model.d.ts +20 -0
  339. package/dist/modules/invoice/models/invoice/invoiceSettlementStatus.util.d.ts +11 -0
  340. package/dist/modules/invoice/models/invoice/invoiceSettlementStatus.util.spec.d.ts +1 -0
  341. package/dist/modules/invoice/models/invoice/invoiceStatus.model.d.ts +11 -0
  342. package/dist/modules/invoice/models/invoice/invoiceStatus.util.d.ts +7 -0
  343. package/dist/modules/invoice/models/invoice/payment/invoicePayment.model.d.ts +13 -0
  344. package/dist/modules/invoice/models/invoice/payment/invoicePayment.transformer.d.ts +5 -0
  345. package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreate.transformer.d.ts +5 -0
  346. package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreateForm.model.d.ts +11 -0
  347. package/dist/modules/invoice/models/invoice/payment/paymentUuid.model.d.ts +3 -0
  348. package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.model.d.ts +56 -0
  349. package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.transformer.d.ts +5 -0
  350. package/dist/modules/invoice/models/invoice/update/invoiceApplyDiscount.transformer.d.ts +5 -0
  351. package/dist/modules/invoice/models/invoice/update/invoiceApplyDiscountForm.model.d.ts +9 -0
  352. package/dist/modules/invoice/models/invoice/update/invoiceAttachmentsUpdate.transformer.d.ts +7 -0
  353. package/dist/modules/invoice/models/invoice/update/invoiceAttachmentsUpdateForm.model.d.ts +12 -0
  354. package/dist/modules/invoice/models/invoice/update/invoiceLineItemUpdateForm.model.d.ts +11 -0
  355. package/dist/modules/invoice/models/invoice/update/invoiceSubjectUpdateForm.model.d.ts +6 -0
  356. package/dist/modules/invoice/models/invoice/update/invoiceUpdate.transformer.d.ts +7 -0
  357. package/dist/modules/invoice/models/invoice/update/invoiceUpdateForm.model.d.ts +16 -0
  358. package/dist/modules/invoice/models/invoice/update/invoiceUpdateLines.model.d.ts +2 -0
  359. package/dist/modules/invoice/models/invoice/update/invoiceUpdateLines.transformer.d.ts +5 -0
  360. package/dist/modules/invoice/models/invoiceUuid.model.d.ts +3 -0
  361. package/dist/modules/invoice/routes/invoice.routes.d.ts +38 -0
  362. package/dist/modules/invoice/use-cases/create/dialogs/InvoiceCreateDialog.vue.d.ts +7 -0
  363. package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailHeaderSection.vue.d.ts +12 -0
  364. package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailLinkedCreditNotesSection.vue.d.ts +7 -0
  365. package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailRemarksSection.vue.d.ts +7 -0
  366. package/dist/modules/invoice/use-cases/detail/components/sidebar/InvoiceDetailSidebar.vue.d.ts +9 -0
  367. package/dist/modules/invoice/use-cases/detail/components/sidebar/InvoiceDetailSidebarActivityTab.vue.d.ts +7 -0
  368. package/dist/modules/invoice/use-cases/detail/components/sidebar/InvoiceDetailSidebarInfoTab.vue.d.ts +9 -0
  369. package/dist/modules/invoice/use-cases/detail/components/sidebar/invoiceDetailSidebarInfoTab.spec.d.ts +1 -0
  370. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentActionsCell.vue.d.ts +8 -0
  371. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentManualCell.vue.d.ts +7 -0
  372. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentsSection.vue.d.ts +7 -0
  373. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentsTableTextCell.vue.d.ts +6 -0
  374. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceLineItemsTableSection.vue.d.ts +9 -0
  375. package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailHeaderActions.composable.d.ts +9 -0
  376. package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailPaymentsTableColumns.composable.d.ts +6 -0
  377. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApplyDiscountDialog.vue.d.ts +11 -0
  378. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceDeleteDialog.vue.d.ts +13 -0
  379. package/dist/modules/invoice/use-cases/detail/dialogs/InvoicePaymentCreateDialog.vue.d.ts +11 -0
  380. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceUpdateDialog.vue.d.ts +13 -0
  381. package/dist/modules/invoice/use-cases/detail/views/InvoiceDetailView.vue.d.ts +9 -0
  382. package/dist/modules/invoice/use-cases/detail/views/InvoiceDetailViewDataProvider.vue.d.ts +7 -0
  383. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewBulkActionBar.vue.d.ts +22 -0
  384. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableAmountCell.vue.d.ts +7 -0
  385. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableCustomFieldCell.vue.d.ts +9 -0
  386. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableDueDateCell.vue.d.ts +8 -0
  387. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableIssuedDateCell.vue.d.ts +7 -0
  388. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableLifecycleCell.vue.d.ts +8 -0
  389. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableNameCell.vue.d.ts +9 -0
  390. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSelectionCell.vue.d.ts +10 -0
  391. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSentCell.vue.d.ts +7 -0
  392. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSequenceCell.vue.d.ts +6 -0
  393. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableStatusCell.vue.d.ts +7 -0
  394. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewBulkSendEligibility.composable.d.ts +15 -0
  395. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewBulkSendEligibility.composable.spec.d.ts +1 -0
  396. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewCustomFieldFilter.util.d.ts +11 -0
  397. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewCustomFieldFilter.util.spec.d.ts +1 -0
  398. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewDataTableFilters.composable.d.ts +16 -0
  399. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewFilters.composable.d.ts +12 -0
  400. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.d.ts +18 -0
  401. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewTableColumns.composable.d.ts +14 -0
  402. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +25 -0
  403. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkFinalizeDialog.vue.d.ts +12 -0
  404. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkMarkAsReadyDialog.vue.d.ts +12 -0
  405. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendDialog.vue.d.ts +12 -0
  406. package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.d.ts +29 -0
  407. package/dist/modules/invoice/use-cases/overview/views/InvoiceOverviewView.vue.d.ts +25 -0
  408. package/dist/modules/invoice/use-cases/overview/views/InvoiceOverviewViewDataProvider.vue.d.ts +16 -0
  409. package/dist/modules/invoice/use-cases/pdf/components/BillingDocumentPdf.vue.d.ts +7 -0
  410. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfFooterSection.vue.d.ts +7 -0
  411. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfHeaderSection.vue.d.ts +8 -0
  412. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfLinesTable.vue.d.ts +8 -0
  413. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfSummarySection.vue.d.ts +8 -0
  414. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfTableCell.vue.d.ts +16 -0
  415. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfTableHeaderCell.vue.d.ts +6 -0
  416. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfWatermark.vue.d.ts +3 -0
  417. package/dist/modules/invoice/use-cases/pdf/components/invoicePdf.types.d.ts +30 -0
  418. package/dist/modules/invoice/use-cases/pdf/components/invoicePdfLinesTable.spec.d.ts +1 -0
  419. package/dist/modules/invoice/use-cases/pdf/utils/invoicePdf.util.d.ts +42 -0
  420. package/dist/modules/invoice/use-cases/pdf/utils/invoicePdf.util.spec.d.ts +1 -0
  421. package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfView.vue.d.ts +7 -0
  422. package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfViewDataProvider.vue.d.ts +7 -0
  423. package/dist/modules/invoice/use-cases/pdf/views/InvoicePublicPdfViewDataProvider.vue.d.ts +3 -0
  424. package/dist/modules/settings/api/mutations/issuerSettingsUpdate.mutation.d.ts +25 -0
  425. package/dist/modules/settings/api/queries/issuerSettings.query.d.ts +1 -0
  426. package/dist/modules/settings/api/query-keys/issuerSettings.queryKeys.d.ts +6 -0
  427. package/dist/modules/settings/api/services/issuerSettings.service.d.ts +7 -0
  428. package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +15 -0
  429. package/dist/modules/settings/models/issuer-settings/issuerSettings.transformer.d.ts +8 -0
  430. package/dist/modules/settings/models/issuer-settings/issuerSettings.transformer.spec.d.ts +1 -0
  431. package/dist/modules/settings/models/issuer-settings/issuerSettingsForm.model.d.ts +28 -0
  432. package/dist/modules/settings/routes/settings.routes.d.ts +23 -0
  433. package/dist/modules/settings/use-cases/overview/components/IssuerSettingsForm.vue.d.ts +7 -0
  434. package/dist/modules/settings/use-cases/overview/views/IssuerSettingsView.vue.d.ts +7 -0
  435. package/dist/modules/settings/use-cases/overview/views/IssuerSettingsViewDataProvider.vue.d.ts +3 -0
  436. package/dist/plainDate.transformer-BxvJpJOv.js +39 -0
  437. package/dist/reminderConfig.query-DzTN2AvU.js +316 -0
  438. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  439. package/dist/routes/invoicingPublicRoutes.composable.d.ts +9 -0
  440. package/dist/routes/invoicingRoutes.composable.d.ts +73 -0
  441. package/dist/routes/invoicingRoutes.composable.spec.d.ts +1 -0
  442. package/dist/routes/invoicingStandaloneRoutes.composable.d.ts +17 -0
  443. package/dist/src-BFgnUugN.js +123 -0
  444. package/dist/style.css +2 -1
  445. package/dist/types/apiError.type.d.ts +7 -0
  446. package/dist/types/query.type.d.ts +20 -0
  447. package/dist/types/queryKey.type.d.ts +8 -0
  448. package/dist/ui/DateRangeFilterButton.vue.d.ts +15 -0
  449. package/dist/ui/DisplayState.vue.d.ts +16 -0
  450. package/dist/ui/billing-document/BillingDocumentDetailHeaderSection.vue.d.ts +28 -0
  451. package/dist/ui/billing-document/BillingDocumentDetailLayout.vue.d.ts +22 -0
  452. package/dist/ui/billing-document/BillingDocumentDetailPage.vue.d.ts +24 -0
  453. package/dist/ui/billing-document/BillingDocumentDetailRemarksSection.vue.d.ts +10 -0
  454. package/dist/ui/billing-document/BillingDocumentDetailViewDataProvider.vue.d.ts +31 -0
  455. package/dist/ui/billing-document/BillingDocumentFinalizeDialog.vue.d.ts +11 -0
  456. package/dist/ui/billing-document/BillingDocumentHeaderActions.vue.d.ts +13 -0
  457. package/dist/ui/billing-document/BillingDocumentPdfViewer.vue.d.ts +7 -0
  458. package/dist/ui/billing-document/billingDocumentHeaderActions.types.d.ts +24 -0
  459. package/dist/ui/billing-document/billingDocumentPdfPreviewRoute.util.d.ts +14 -0
  460. package/dist/ui/billing-document/billingDocumentPdfPreviewRoute.util.spec.d.ts +1 -0
  461. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebar.vue.d.ts +20 -0
  462. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityContent.vue.d.ts +20 -0
  463. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityTab.vue.d.ts +3 -0
  464. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarAttachmentsTab.vue.d.ts +7 -0
  465. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarHeader.vue.d.ts +14 -0
  466. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarInfoItem.vue.d.ts +21 -0
  467. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarLayout.vue.d.ts +16 -0
  468. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarOriginalInvoiceSection.vue.d.ts +7 -0
  469. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarPartySection.vue.d.ts +12 -0
  470. package/dist/ui/billing-document/table/BillingDocumentLineItemDeleteDialog.vue.d.ts +16 -0
  471. package/dist/ui/billing-document/table/BillingDocumentLineItemsBulkActionBar.vue.d.ts +3 -0
  472. package/dist/ui/billing-document/table/BillingDocumentLineItemsDragHandle.vue.d.ts +3 -0
  473. package/dist/ui/billing-document/table/BillingDocumentLineItemsInsertIndicator.vue.d.ts +16 -0
  474. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableGrid.vue.d.ts +3 -0
  475. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableGroupRow.vue.d.ts +14 -0
  476. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableHeader.vue.d.ts +12 -0
  477. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableRow.vue.d.ts +10 -0
  478. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableSection.vue.d.ts +13 -0
  479. package/dist/ui/billing-document/table/BillingDocumentLineItemsTotals.vue.d.ts +7 -0
  480. package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +2773 -0
  481. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsAutoSave.composable.d.ts +22 -0
  482. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsAutoSave.composable.spec.d.ts +1 -0
  483. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +484 -0
  484. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsKeyboardNav.composable.d.ts +41 -0
  485. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsKeyboardNav.composable.spec.d.ts +1 -0
  486. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsRowMutations.composable.d.ts +41 -0
  487. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsSelection.composable.d.ts +16 -0
  488. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsTableDrag.composable.d.ts +13 -0
  489. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableCustomField.vue.d.ts +21 -0
  490. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableField.vue.d.ts +35 -0
  491. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableNumberField.vue.d.ts +26 -0
  492. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableSelectField.vue.d.ts +35 -0
  493. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableTextField.vue.d.ts +23 -0
  494. package/dist/ui/billing-document/table/field/billingDocumentLineItemsTableNumberField.spec.d.ts +1 -0
  495. package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +90 -0
  496. package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.spec.d.ts +1 -0
  497. package/dist/ui/billing-document/useBillingDocumentFinalizePreference.composable.d.ts +4 -0
  498. package/dist/ui/customer-invoice-list/CustomerInvoiceList.vue.d.ts +16 -0
  499. package/dist/ui/customer-invoice-list/CustomerInvoiceTable.vue.d.ts +6 -0
  500. package/dist/ui/customer-invoice-list/components/CustomerInvoiceTableBadgeCell.vue.d.ts +8 -0
  501. package/dist/ui/customer-invoice-list/components/CustomerInvoiceTableInvoiceNumberCell.vue.d.ts +6 -0
  502. package/dist/ui/customer-invoice-list/components/CustomerInvoiceTableTextCell.vue.d.ts +6 -0
  503. package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.d.ts +3 -0
  504. package/dist/ui/customer-invoice-list/composables/customerInvoiceTableFilters.composable.d.ts +9 -0
  505. package/dist/ui/customer-invoice-list/utils/customerInvoiceTable.util.d.ts +8 -0
  506. package/dist/ui/customer-invoice-list/utils/customerInvoiceTable.util.spec.d.ts +1 -0
  507. package/dist/ui/dashboard/index.d.ts +7 -0
  508. package/dist/ui/data-provider/DataProvider.vue.d.ts +27 -0
  509. package/dist/ui/file-upload/InvoicingFileUploadProvider.vue.d.ts +13 -0
  510. package/dist/ui/file-upload/invoicingFileUpload.adapter.d.ts +2 -0
  511. package/dist/useCurrencyFormat.composable-MtZaqKnO.js +38 -0
  512. package/dist/utils/api.util.d.ts +5 -0
  513. package/dist/utils/context.util.d.ts +1 -0
  514. package/dist/utils/createComponent.d.ts +4 -0
  515. package/dist/utils/download.util.d.ts +3 -0
  516. package/dist/utils/formango.util.d.ts +8 -0
  517. package/dist/utils/image.util.d.ts +3 -0
  518. package/dist/utils/instant.transformer.d.ts +7 -0
  519. package/dist/utils/map.util.d.ts +2 -0
  520. package/dist/utils/monetary/currency.model.d.ts +180 -0
  521. package/dist/utils/monetary/monetary.model.d.ts +6 -0
  522. package/dist/utils/monetary/monetary.util.d.ts +8 -0
  523. package/dist/utils/monetary/monetaryDto.model.d.ts +9 -0
  524. package/dist/utils/number.util.d.ts +4 -0
  525. package/dist/utils/percentage.util.d.ts +13 -0
  526. package/dist/utils/plainDate.transformer.d.ts +7 -0
  527. package/dist/utils/search.util.d.ts +3 -0
  528. package/package.json +26 -25
  529. package/dist/AddOpenBoundaryIcon-LcnpqCb7.js +0 -28
  530. package/dist/AirlineIcon-29r8leGB.js +0 -31
  531. package/dist/AirplaneIcon-B9jZP9r0.js +0 -21
  532. package/dist/AirportIcon-C4PxDtDr.js +0 -18
  533. package/dist/AlertTriangleIcon-BD58hKRP.js +0 -24
  534. package/dist/AllocationsIcon-BQan6NWO.js +0 -18
  535. package/dist/ArrowNarrowRightIcon-BA1c_QRh.js +0 -24
  536. package/dist/AssetIcon-DnK5wAyN.js +0 -18
  537. package/dist/BarChartIcon-CKrBCh6x.js +0 -24
  538. package/dist/BellIcon-BT2cGatU.js +0 -23
  539. package/dist/BillingDocumentDetailViewDataProvider.vue_vue_type_script_setup_true_lang-C5j9jPsk.js +0 -5374
  540. package/dist/BuildingIcon-CUOTWDHc.js +0 -24
  541. package/dist/ChargerIcon-BhrjeyKv.js +0 -18
  542. package/dist/ChevronDownIcon-DljNUnFk.js +0 -24
  543. package/dist/ChevronUpIcon-CoxFAIp_.js +0 -24
  544. package/dist/ClockIcon-CTnAGb9i.js +0 -24
  545. package/dist/ClockSnoozeIcon-BRoTw_Vn.js +0 -24
  546. package/dist/CopyIcon-JiNI8Dfg.js +0 -21
  547. package/dist/CreditNoteDetailViewDataProvider-Cy1j_m3I.js +0 -871
  548. package/dist/CreditNotePdfViewDataProvider-B7-HFIKD.js +0 -36
  549. package/dist/DownloadCloudIcon-DKHwnpvk.js +0 -24
  550. package/dist/EditIcon-DtGrCf8G.js +0 -23
  551. package/dist/EraserIcon-Cb0Ep_Yq.js +0 -24
  552. package/dist/FileIcon-C4wGvJpt.js +0 -26
  553. package/dist/FilterLinesIcon-B7wPXDy1.js +0 -24
  554. package/dist/GlobeIcon-B-Idmck1.js +0 -24
  555. package/dist/HelpIcon-CdKWaEaB.js +0 -26
  556. package/dist/HourGlassIcon-CQLPiXVW.js +0 -24
  557. package/dist/InfoCircleIcon-5gjQoNog.js +0 -24
  558. package/dist/InvoiceDetailViewDataProvider-4lGG7Wtq.js +0 -1918
  559. package/dist/InvoiceOverviewView-Boqvwabl.js +0 -4
  560. package/dist/InvoicePdfViewDataProvider-CJ3fL71W.js +0 -36
  561. package/dist/InvoicePublicPdfViewDataProvider-CzgGk_V5.js +0 -4
  562. package/dist/IssuerSettingsViewDataProvider-TM-bmC55.js +0 -249
  563. package/dist/KeyboardIcon-DlAp0VUG.js +0 -24
  564. package/dist/LinkExternalIcon-BPO_c7Ke.js +0 -24
  565. package/dist/LinkIcon-9M0uzW4a.js +0 -24
  566. package/dist/MarkerIcon-pId64QTW.js +0 -31
  567. package/dist/MobileBatteryIcon-Dq6Vh0d5.js +0 -18
  568. package/dist/MonitorIcon-PsvDF5LA.js +0 -24
  569. package/dist/NotificationIcon-C-mhyH5v.js +0 -21
  570. package/dist/ParkingIcon-BD0RoGv5.js +0 -29
  571. package/dist/PlanningIcon-BBIuwW2I.js +0 -18
  572. package/dist/PreferenceIcon-zR5mjygu.js +0 -24
  573. package/dist/ReceiptCheckIcon-CHEEnJEK.js +0 -24
  574. package/dist/RefreshIcon-CfjOS7Vw.js +0 -24
  575. package/dist/RemoveOpenBoundaryIcon-CEbBT9CX.js +0 -31
  576. package/dist/RewindIcon-9PFea9gA.js +0 -24
  577. package/dist/SettingsIcon-CSIbrANE.js +0 -28
  578. package/dist/ShieldIcon-CU4mxKxP.js +0 -21
  579. package/dist/ShieldOffIcon-D6_I1MKn.js +0 -24
  580. package/dist/SignOutIcon-ClrPsj39.js +0 -23
  581. package/dist/SlashCircleIcon-DBy7XjBm.js +0 -24
  582. package/dist/StandIcon-vV8J4-3H.js +0 -24
  583. package/dist/StarsIcon-RO6wNbsC.js +0 -26
  584. package/dist/StopwatchIcon-DubYBmeN.js +0 -24
  585. package/dist/TargetIcon-BwVw7rVC.js +0 -24
  586. package/dist/ThreeDotsIcon-BvRfi-Lm.js +0 -32
  587. package/dist/ToolIcon-Dw-vgiL1.js +0 -24
  588. package/dist/TrashIcon-Dh6ASxXd.js +0 -21
  589. package/dist/TurnaroundIcon-Hn5nPhvb.js +0 -30
  590. package/dist/UploadCloudIcon-BV7b8ygQ.js +0 -24
  591. package/dist/UserIcon-BRrPmqkm.js +0 -24
  592. package/dist/UsersIcon-fORcf4YV.js +0 -24
  593. package/dist/VerifiedIcon-BtqxtP6h.js +0 -26
  594. package/dist/WifiIcon-Bd9TvVVJ.js +0 -24
  595. package/dist/WifiOffIcon-CpATjY4j.js +0 -24
  596. package/dist/ZapIcon-BG6cVpfC.js +0 -24
  597. package/dist/ZoomInIcon-CQ_R4Ydf.js +0 -24
  598. package/dist/ZoomOutIcon-DlcCdCda.js +0 -24
  599. package/dist/creditNoteDetail.query-Dj6oKRTO.js +0 -159
  600. package/dist/index-CYV9qUlg.js +0 -23375
  601. package/dist/index-DCE3vzbe.js +0 -7
  602. package/dist/invoiceDetail.query-Wtw3VSKd.js +0 -13
  603. package/dist/issuerSettings.query-H5-5e_KF.js +0 -130
  604. package/dist/style.d.ts +0 -1
  605. /package/dist/{index.css → DunningCaseReminderPdfViewDataProvider.css} +0 -0
@@ -0,0 +1,334 @@
1
+ import "./api.util-Dm_TQedZ.js";
2
+ import { l as e, s as t } from "./documentTitle.composable-CeaFddr1.js";
3
+ import { n, t as r } from "./plainDate.transformer-BxvJpJOv.js";
4
+ import { n as i, t as a } from "./address.transformer-B8C0pwT1.js";
5
+ import { Temporal as o } from "temporal-polyfill";
6
+ //#region src/utils/percentage.util.ts
7
+ var s = class {
8
+ value;
9
+ constructor(e) {
10
+ if (!Number.isFinite(e) || e < 0 || e > 100) throw Error(`Percentage value must be between 0 and 100, got ${e}`);
11
+ this.value = e;
12
+ }
13
+ getValue() {
14
+ return this.value;
15
+ }
16
+ toFraction() {
17
+ return this.value / 100;
18
+ }
19
+ toString(e = navigator.language) {
20
+ return Intl.NumberFormat(e, {
21
+ maximumFractionDigits: 2,
22
+ style: "percent"
23
+ }).format(this.toFraction());
24
+ }
25
+ }, c = class e {
26
+ static fromDto(e) {
27
+ return new s(e * 100);
28
+ }
29
+ static fromNullableDto(t) {
30
+ return t == null ? null : e.fromDto(t);
31
+ }
32
+ static toDto(e) {
33
+ return e.toFraction();
34
+ }
35
+ static toNullableDto(t) {
36
+ return t === null ? null : e.toDto(t);
37
+ }
38
+ }, l = class {
39
+ static fromDto(e) {
40
+ return o.Instant.from(e);
41
+ }
42
+ static fromNullableDto(e) {
43
+ return e === null ? null : this.fromDto(e);
44
+ }
45
+ static toDto(e) {
46
+ return e.toString();
47
+ }
48
+ static toNullableDto(e) {
49
+ return e === null ? null : this.toDto(e);
50
+ }
51
+ }, u = class {
52
+ static fromDto(e) {
53
+ return {
54
+ createdAt: l.fromDto(e.createdAt),
55
+ action: e.action,
56
+ actor: e.actor,
57
+ actorType: e.actorType,
58
+ entities: e.entities
59
+ };
60
+ }
61
+ }, d = class {
62
+ static fromDto(t) {
63
+ if (t === null) return null;
64
+ if (t.type === e.PERCENTAGE) {
65
+ let e = c.fromNullableDto(t.percentage);
66
+ return e?.getValue() === 0 ? null : {
67
+ amount: null,
68
+ description: t.description,
69
+ percentage: e,
70
+ type: t.type
71
+ };
72
+ }
73
+ return {
74
+ amount: t.amount === null ? null : n.fromDto(t.amount),
75
+ description: t.description,
76
+ percentage: c.fromNullableDto(t.percentage),
77
+ type: t.type
78
+ };
79
+ }
80
+ static toDto(t) {
81
+ return t === null ? null : t.type === e.PERCENTAGE ? {
82
+ amount: null,
83
+ description: t.description,
84
+ percentage: c.toNullableDto(t.percentage),
85
+ type: t.type
86
+ } : {
87
+ amount: n.toNullableDto(t.amount),
88
+ description: t.description,
89
+ percentage: c.toNullableDto(t.percentage),
90
+ type: t.type
91
+ };
92
+ }
93
+ }, f = class e {
94
+ static fromDto(e) {
95
+ return {
96
+ uuid: e.uuid,
97
+ name: e.name,
98
+ blurHash: e.blurHash,
99
+ mimeType: e.mimeType
100
+ };
101
+ }
102
+ static fromNullableDto(t) {
103
+ return t === null ? null : e.fromDto(t);
104
+ }
105
+ static fromNullablePresignedDto(t) {
106
+ return t === null ? null : e.fromPresignedDto(t);
107
+ }
108
+ static fromPresignedDto(e) {
109
+ return {
110
+ uuid: e.uuid,
111
+ name: e.name,
112
+ mimeType: e.mimeType,
113
+ url: e.url
114
+ };
115
+ }
116
+ };
117
+ //#endregion
118
+ //#region src/modules/custom-field/models/custom-field-value/customFieldValue.transformer.ts
119
+ function p(e) {
120
+ return e === "infinity" || e === "-infinity" ? e : r.fromDto(e);
121
+ }
122
+ var m = class {
123
+ static fromDto(e) {
124
+ let r = e.definitionUuid;
125
+ switch (e.type) {
126
+ case t.BOOLEAN: return {
127
+ definitionUuid: r,
128
+ type: t.BOOLEAN,
129
+ value: e.value
130
+ };
131
+ case t.DATE: return {
132
+ definitionUuid: r,
133
+ type: t.DATE,
134
+ value: p(e.value)
135
+ };
136
+ case t.MONETARY: return {
137
+ definitionUuid: r,
138
+ type: t.MONETARY,
139
+ value: n.fromDto(e.value)
140
+ };
141
+ case t.MULTI_SELECT: return {
142
+ definitionUuid: r,
143
+ type: t.MULTI_SELECT,
144
+ value: e.value
145
+ };
146
+ case t.NUMBER: return {
147
+ definitionUuid: r,
148
+ type: t.NUMBER,
149
+ value: e.value
150
+ };
151
+ case t.SINGLE_SELECT: return {
152
+ definitionUuid: r,
153
+ type: t.SINGLE_SELECT,
154
+ value: e.value
155
+ };
156
+ case t.TEXT: return {
157
+ definitionUuid: r,
158
+ type: t.TEXT,
159
+ value: e.value
160
+ };
161
+ case t.TEXT_ARRAY: return {
162
+ definitionUuid: r,
163
+ type: t.TEXT_ARRAY,
164
+ value: e.value
165
+ };
166
+ case t.TIMESTAMP: return {
167
+ definitionUuid: r,
168
+ type: t.TIMESTAMP,
169
+ value: l.fromDto(e.value)
170
+ };
171
+ }
172
+ throw TypeError("Unsupported custom field value DTO type");
173
+ }
174
+ static toDto(e) {
175
+ switch (e.type) {
176
+ case t.BOOLEAN:
177
+ case t.MULTI_SELECT:
178
+ case t.NUMBER:
179
+ case t.SINGLE_SELECT:
180
+ case t.TEXT:
181
+ case t.TEXT_ARRAY: return e;
182
+ case t.DATE: return {
183
+ ...e,
184
+ value: typeof e.value == "string" ? e.value : r.toDto(e.value)
185
+ };
186
+ case t.MONETARY: return {
187
+ ...e,
188
+ value: n.toDto(e.value)
189
+ };
190
+ case t.TIMESTAMP: return {
191
+ ...e,
192
+ value: e.value.toString()
193
+ };
194
+ }
195
+ throw TypeError("Unsupported custom field value type");
196
+ }
197
+ };
198
+ //#endregion
199
+ //#region src/models/billing-document/billingDocumentDetail.transformer.ts
200
+ function h(e) {
201
+ return {
202
+ uuid: e.uuid,
203
+ groupUuid: e.groupUuid,
204
+ isDiscount: e.isDiscount,
205
+ name: e.name,
206
+ customFields: e.customFields.map(m.fromDto),
207
+ description: e.description,
208
+ discount: d.fromDto(e.discount),
209
+ grossAmount: n.fromDto(e.grossAmount),
210
+ netAmount: n.fromDto(e.netAmount),
211
+ originalLine: e.originalLine === null ? null : {
212
+ uuid: e.originalLine.uuid,
213
+ quantity: e.originalLine.quantity,
214
+ remainingQuantity: e.originalLine.remainingQuantity
215
+ },
216
+ position: e.position,
217
+ quantity: e.quantity,
218
+ unit: e.unit,
219
+ unitPrice: n.fromDto(e.unitPrice),
220
+ vatRate: e.vatRate,
221
+ vatRatePercentage: c.fromDto(e.vatRatePercentage)
222
+ };
223
+ }
224
+ function g(e) {
225
+ return {
226
+ uuid: e.uuid,
227
+ createdAt: l.fromDto(e.createdAt),
228
+ grossAmount: n.fromDto(e.grossAmount),
229
+ paidAmount: n.fromNullableDto(e.paidAmount),
230
+ sequence: e.sequence,
231
+ status: e.status,
232
+ totalCreditedAmount: n.fromNullableDto(e.totalCreditedAmount)
233
+ };
234
+ }
235
+ function _(e) {
236
+ if (e.balanceDueAmount === null) return null;
237
+ let t = e.paidAmount?.amount ?? 0, r = Math.max(e.grossAmount.amount - e.balanceDueAmount.amount - t, 0);
238
+ return r > 0 ? n.fromDto({
239
+ ...e.grossAmount,
240
+ amount: r
241
+ }) : null;
242
+ }
243
+ var v = class {
244
+ static fromViewInvoiceDetailDto(e, t, s) {
245
+ let c = e.ungroupedLines.map(h), u = e.groups.toSorted((e, t) => e.position - t.position).map((e) => ({
246
+ uuid: e.uuid,
247
+ name: e.name,
248
+ customFields: e.customFields.map(m.fromDto),
249
+ description: e.description,
250
+ lines: e.lines.toSorted((e, t) => e.position - t.position).map(h),
251
+ position: e.position
252
+ })), p = [...c, ...u.flatMap((e) => e.lines)].toSorted((e, t) => e.position - t.position);
253
+ return {
254
+ uuid: t,
255
+ createdAt: l.fromDto(e.createdAt),
256
+ deliveredOn: r.fromNullableDto(e.deliveredOn),
257
+ dueOn: r.fromDto(e.dueOn ?? o.Now.plainDateISO().toString()),
258
+ issueOn: r.fromDto(e.issueOn ?? o.Now.plainDateISO().toString()),
259
+ updatedAt: l.fromDto(e.updatedAt),
260
+ isDisputed: e.isDisputed,
261
+ isOverdue: e.isOverdue,
262
+ issuer: {
263
+ uuid: e.issuer.uuid,
264
+ name: e.issuer.name,
265
+ address: a.fromNullableDto(e.issuer.address),
266
+ alternativeBankAccountNumber: e.issuer.alternativeBankAccountNumber,
267
+ bankAccountNumber: e.issuer.bankAccountNumber,
268
+ email: e.issuer.email,
269
+ phoneNumber: e.issuer.phoneNumber,
270
+ vatNumber: e.issuer.vatNumber,
271
+ website: e.issuer.website
272
+ },
273
+ attachments: e.attachments.map(f.fromDto),
274
+ balanceDueAmount: n.fromNullableDto(e.balanceDueAmount),
275
+ creditNotes: e.creditNotes.map(g),
276
+ currency: e.currency,
277
+ customer: {
278
+ uuid: e.customer.uuid,
279
+ externalId: e.customer.externalId,
280
+ name: e.customer.name,
281
+ address: a.fromNullableDto(e.customer.address),
282
+ email: e.customer.email,
283
+ phoneNumber: e.customer.phoneNumber,
284
+ type: e.customer.type,
285
+ vatNumber: e.customer.vatNumber
286
+ },
287
+ customFields: e.customFields.map(m.fromDto),
288
+ deliveryStatus: e.deliveryStatus,
289
+ effectiveNet: n.fromDto(e.effectiveNet),
290
+ externalRemarks: i.trimOrNull(e.externalRemarks),
291
+ file: f.fromNullableDto(e.file),
292
+ globalDiscount: d.fromDto(e.globalDiscount),
293
+ grossAmount: n.fromDto(e.grossAmount),
294
+ groups: u,
295
+ lifecycleStatus: e.lifecycleStatus,
296
+ lines: p,
297
+ maxReminderCount: e.reminderConfigs.length,
298
+ netAmount: n.fromDto(e.netAmount),
299
+ originalInvoice: e.originalInvoice === null ? null : g(e.originalInvoice),
300
+ paidAmount: n.fromNullableDto(e.paidAmount),
301
+ paymentReference: e.paymentReference,
302
+ poNumber: e.poNumber,
303
+ preparedBy: {
304
+ uuid: e.preparedBy.uuid,
305
+ name: `${e.preparedBy.firstName ?? "-"} ${e.preparedBy.lastName ?? "-"}`
306
+ },
307
+ recipient: e.recipient === null ? null : {
308
+ uuid: e.recipient.uuid,
309
+ name: e.recipient.name,
310
+ email: e.recipient.email
311
+ },
312
+ reminders: e.reminders.map((e) => ({
313
+ uuid: e.uuid,
314
+ sentAt: l.fromDto(e.sentAt)
315
+ })).toSorted((e, t) => o.Instant.compare(e.sentAt, t.sentAt)),
316
+ sequence: e.sequence,
317
+ settlementStatus: e.settlementStatus,
318
+ status: e.status,
319
+ subject: i.trimOrNull(e.subject),
320
+ totalCreditedAmount: _(e),
321
+ totalDiscountAmount: n.fromNullableDto(e.totalDiscountAmount),
322
+ type: s,
323
+ ungroupedLines: c,
324
+ vatAmount: n.fromDto(e.vatAmount),
325
+ vatSummaries: e.vatSummaries.map((e) => ({
326
+ netAmount: n.fromDto(e.netAmount),
327
+ vatAmount: n.fromDto(e.vatAmount),
328
+ vatRate: e.vatRate
329
+ }))
330
+ };
331
+ }
332
+ };
333
+ //#endregion
334
+ export { l as a, u as i, m as n, s as o, d as r, c as s, v as t };
@@ -0,0 +1,2 @@
1
+ import { Client, Config } from './types.gen';
2
+ export declare const createClient: (config?: Config) => Client;
@@ -0,0 +1,10 @@
1
+ export type { Auth } from '../core/auth.gen';
2
+ export type { QuerySerializerOptions } from '../core/bodySerializer.gen';
3
+ export { formDataBodySerializer, jsonBodySerializer, urlSearchParamsBodySerializer, } from '../core/bodySerializer.gen';
4
+ export { buildClientParams } from '../core/params.gen';
5
+ export { serializeQueryKeyValue } from '../core/queryKeySerializer.gen';
6
+ export type { ServerSentEventsResult } from '../core/serverSentEvents.gen';
7
+ export type { ClientMeta } from '../core/types.gen';
8
+ export { createClient } from './client.gen';
9
+ export type { Client, ClientOptions, Config, CreateClientConfig, Options, RequestOptions, RequestResult, ResolvedRequestOptions, ResponseStyle, TDataShape, } from './types.gen';
10
+ export { createConfig, mergeHeaders } from './utils.gen';
@@ -0,0 +1,120 @@
1
+ import { Auth } from '../core/auth.gen';
2
+ import { ServerSentEventsOptions, ServerSentEventsResult } from '../core/serverSentEvents.gen';
3
+ import { Client as CoreClient, Config as CoreConfig } from '../core/types.gen';
4
+ import { Middleware } from './utils.gen';
5
+ export type ResponseStyle = 'data' | 'fields';
6
+ export interface Config<T extends ClientOptions = ClientOptions> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, CoreConfig {
7
+ /**
8
+ * Base URL for all requests made by this client.
9
+ */
10
+ baseUrl?: T['baseUrl'];
11
+ /**
12
+ * Fetch API implementation. You can use this option to provide a custom
13
+ * fetch instance.
14
+ *
15
+ * @default globalThis.fetch
16
+ */
17
+ fetch?: typeof fetch;
18
+ /**
19
+ * Please don't use the Fetch client for Next.js applications. The `next`
20
+ * options won't have any effect.
21
+ *
22
+ * Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
23
+ */
24
+ next?: never;
25
+ /**
26
+ * Return the response data parsed in a specified format. By default, `auto`
27
+ * will infer the appropriate method from the `Content-Type` response header.
28
+ * You can override this behavior with any of the {@link Body} methods.
29
+ * Select `stream` if you don't want to parse response data at all.
30
+ *
31
+ * @default 'auto'
32
+ */
33
+ parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
34
+ /**
35
+ * Should we return only data or multiple fields (data, error, response, etc.)?
36
+ *
37
+ * @default 'fields'
38
+ */
39
+ responseStyle?: ResponseStyle;
40
+ /**
41
+ * Throw an error instead of returning it in the response?
42
+ *
43
+ * @default false
44
+ */
45
+ throwOnError?: T['throwOnError'];
46
+ }
47
+ export interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
48
+ responseStyle: TResponseStyle;
49
+ throwOnError: ThrowOnError;
50
+ }>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
51
+ /**
52
+ * Any body that you want to add to your request.
53
+ *
54
+ * {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
55
+ */
56
+ body?: unknown;
57
+ path?: Record<string, unknown>;
58
+ query?: Record<string, unknown>;
59
+ /**
60
+ * Security mechanism(s) to use for the request.
61
+ */
62
+ security?: ReadonlyArray<Auth>;
63
+ url: Url;
64
+ }
65
+ export interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
66
+ headers: Headers;
67
+ serializedBody?: string;
68
+ }
69
+ export type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'fields'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
70
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
71
+ request: Request;
72
+ response: Response;
73
+ }> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
74
+ data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
75
+ error: undefined;
76
+ } | {
77
+ data: undefined;
78
+ error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
79
+ }) & {
80
+ /** request may be undefined, because error may be from building the request object itself */
81
+ request?: Request;
82
+ /** response may be undefined, because error may be from building the request object itself or from a network error */
83
+ response?: Response;
84
+ }>;
85
+ export interface ClientOptions {
86
+ baseUrl?: string;
87
+ responseStyle?: ResponseStyle;
88
+ throwOnError?: boolean;
89
+ }
90
+ type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
91
+ type SseFn = <TData = unknown, _TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<never, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData>>;
92
+ type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
93
+ type BuildUrlFn = <TData extends {
94
+ body?: unknown;
95
+ path?: Record<string, unknown>;
96
+ query?: Record<string, unknown>;
97
+ url: string;
98
+ }>(options: TData & Options<TData>) => string;
99
+ export type Client = CoreClient<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
100
+ interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
101
+ };
102
+ /**
103
+ * The `createClientConfig()` function will be called on client initialization
104
+ * and the returned object will become the client's initial configuration.
105
+ *
106
+ * You may want to initialize your client this way instead of calling
107
+ * `setConfig()`. This is useful for example if you're using Next.js
108
+ * to ensure your client always has the correct values.
109
+ */
110
+ export type CreateClientConfig<T extends ClientOptions = ClientOptions> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T>;
111
+ export interface TDataShape {
112
+ body?: unknown;
113
+ headers?: unknown;
114
+ path?: unknown;
115
+ query?: unknown;
116
+ url: string;
117
+ }
118
+ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
119
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
120
+ export {};
@@ -0,0 +1,37 @@
1
+ import { QuerySerializerOptions } from '../core/bodySerializer.gen';
2
+ import { Client, ClientOptions, Config, RequestOptions } from './types.gen';
3
+ export declare const createQuerySerializer: <T = unknown>({ parameters, ...args }?: QuerySerializerOptions) => ((queryParams: T) => string);
4
+ /**
5
+ * Infers parseAs value from provided Content-Type header.
6
+ */
7
+ export declare const getParseAs: (contentType: string | null) => Exclude<Config["parseAs"], "auto">;
8
+ export declare function setAuthParams(options: Pick<RequestOptions, 'auth' | 'query' | 'security'> & {
9
+ headers: Headers;
10
+ }): Promise<void>;
11
+ export declare const buildUrl: Client['buildUrl'];
12
+ export declare const mergeConfigs: (a: Config, b: Config) => Config;
13
+ export declare const mergeHeaders: (...headers: Array<Required<Config>["headers"] | undefined>) => Headers;
14
+ type ErrInterceptor<Err, Res, Req, Options> = (error: Err,
15
+ /** response may be undefined due to a network error where no response object is produced */
16
+ response: Res | undefined,
17
+ /** request may be undefined, because error may be from building the request object itself */
18
+ request: Req | undefined, options: Options) => Err | Promise<Err>;
19
+ type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
20
+ type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
21
+ declare class Interceptors<Interceptor> {
22
+ fns: Array<Interceptor | null>;
23
+ clear(): void;
24
+ eject(id: number | Interceptor): void;
25
+ exists(id: number | Interceptor): boolean;
26
+ getInterceptorIndex(id: number | Interceptor): number;
27
+ update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
28
+ use(fn: Interceptor): number;
29
+ }
30
+ export interface Middleware<Req, Res, Err, Options> {
31
+ error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
32
+ request: Interceptors<ReqInterceptor<Req, Options>>;
33
+ response: Interceptors<ResInterceptor<Res, Req, Options>>;
34
+ }
35
+ export declare const createInterceptors: <Req, Res, Err, Options>() => Middleware<Req, Res, Err, Options>;
36
+ export declare const createConfig: <T extends ClientOptions = ClientOptions>(override?: Config<Omit<ClientOptions, keyof T> & T>) => Config<Omit<ClientOptions, keyof T> & T>;
37
+ export {};
@@ -0,0 +1,12 @@
1
+ import { Client, ClientOptions, Config } from './client';
2
+ import { ClientOptions as ClientOptions2 } from './types.gen';
3
+ /**
4
+ * The `createClientConfig()` function will be called on client initialization
5
+ * and the returned object will become the client's initial configuration.
6
+ *
7
+ * You may want to initialize your client this way instead of calling
8
+ * `setConfig()`. This is useful for example if you're using Next.js
9
+ * to ensure your client always has the correct values.
10
+ */
11
+ export type CreateClientConfig<T extends ClientOptions = ClientOptions2> = (override?: Config<ClientOptions & T>) => Config<Required<ClientOptions> & T>;
12
+ export declare const client: Client;
@@ -0,0 +1,25 @@
1
+ export type AuthToken = string | undefined;
2
+ export interface Auth {
3
+ /**
4
+ * Which part of the request do we use to send the auth?
5
+ *
6
+ * @default 'header'
7
+ */
8
+ in?: 'header' | 'query' | 'cookie';
9
+ /**
10
+ * A unique identifier for the security scheme.
11
+ *
12
+ * Defined only when there are multiple security schemes whose `Auth`
13
+ * shape would otherwise be identical.
14
+ */
15
+ key?: string;
16
+ /**
17
+ * Header or query parameter name.
18
+ *
19
+ * @default 'Authorization'
20
+ */
21
+ name?: string;
22
+ scheme?: 'basic' | 'bearer';
23
+ type: 'apiKey' | 'http';
24
+ }
25
+ export declare const getAuthToken: (auth: Auth, callback: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken) => Promise<string | undefined>;
@@ -0,0 +1,25 @@
1
+ import { ArrayStyle, ObjectStyle, SerializerOptions } from './pathSerializer.gen';
2
+ export type QuerySerializer = (query: Record<string, unknown>) => string;
3
+ export type BodySerializer = (body: unknown) => unknown;
4
+ type QuerySerializerOptionsObject = {
5
+ allowReserved?: boolean;
6
+ array?: Partial<SerializerOptions<ArrayStyle>>;
7
+ object?: Partial<SerializerOptions<ObjectStyle>>;
8
+ };
9
+ export type QuerySerializerOptions = QuerySerializerOptionsObject & {
10
+ /**
11
+ * Per-parameter serialization overrides. When provided, these settings
12
+ * override the global array/object settings for specific parameter names.
13
+ */
14
+ parameters?: Record<string, QuerySerializerOptionsObject>;
15
+ };
16
+ export declare const formDataBodySerializer: {
17
+ bodySerializer: (body: unknown) => FormData;
18
+ };
19
+ export declare const jsonBodySerializer: {
20
+ bodySerializer: (body: unknown) => string;
21
+ };
22
+ export declare const urlSearchParamsBodySerializer: {
23
+ bodySerializer: (body: unknown) => string;
24
+ };
25
+ export {};
@@ -0,0 +1,43 @@
1
+ type Slot = 'body' | 'headers' | 'path' | 'query';
2
+ export type Field = {
3
+ in: Exclude<Slot, 'body'>;
4
+ /**
5
+ * Field name. This is the name we want the user to see and use.
6
+ */
7
+ key: string;
8
+ /**
9
+ * Field mapped name. This is the name we want to use in the request.
10
+ * If omitted, we use the same value as `key`.
11
+ */
12
+ map?: string;
13
+ } | {
14
+ in: Extract<Slot, 'body'>;
15
+ /**
16
+ * Key isn't required for bodies.
17
+ */
18
+ key?: string;
19
+ map?: string;
20
+ } | {
21
+ /**
22
+ * Field name. This is the name we want the user to see and use.
23
+ */
24
+ key: string;
25
+ /**
26
+ * Field mapped name. This is the name we want to use in the request.
27
+ * If `in` is omitted, `map` aliases `key` to the transport layer.
28
+ */
29
+ map: Slot;
30
+ };
31
+ export interface Fields {
32
+ allowExtra?: Partial<Record<Slot, boolean>>;
33
+ args?: ReadonlyArray<Field>;
34
+ }
35
+ export type FieldsConfig = ReadonlyArray<Field | Fields>;
36
+ interface Params {
37
+ body?: unknown;
38
+ headers: Record<string, unknown>;
39
+ path: Record<string, unknown>;
40
+ query: Record<string, unknown>;
41
+ }
42
+ export declare function buildClientParams(args: ReadonlyArray<unknown>, fields: FieldsConfig): Params;
43
+ export {};
@@ -0,0 +1,33 @@
1
+ interface SerializeOptions<T> extends SerializePrimitiveOptions, SerializerOptions<T> {
2
+ }
3
+ interface SerializePrimitiveOptions {
4
+ allowReserved?: boolean;
5
+ name: string;
6
+ }
7
+ export interface SerializerOptions<T> {
8
+ /**
9
+ * @default true
10
+ */
11
+ explode: boolean;
12
+ style: T;
13
+ }
14
+ export type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
15
+ export type ArraySeparatorStyle = ArrayStyle | MatrixStyle;
16
+ type MatrixStyle = 'label' | 'matrix' | 'simple';
17
+ export type ObjectStyle = 'form' | 'deepObject';
18
+ type ObjectSeparatorStyle = ObjectStyle | MatrixStyle;
19
+ interface SerializePrimitiveParam extends SerializePrimitiveOptions {
20
+ value: string;
21
+ }
22
+ export declare const separatorArrayExplode: (style: ArraySeparatorStyle) => "." | ";" | "," | "&";
23
+ export declare const separatorArrayNoExplode: (style: ArraySeparatorStyle) => "," | "|" | "%20";
24
+ export declare const separatorObjectExplode: (style: ObjectSeparatorStyle) => "." | ";" | "," | "&";
25
+ export declare const serializeArrayParam: ({ allowReserved, explode, name, style, value, }: SerializeOptions<ArraySeparatorStyle> & {
26
+ value: unknown[];
27
+ }) => string;
28
+ export declare const serializePrimitiveParam: ({ allowReserved, name, value, }: SerializePrimitiveParam) => string;
29
+ export declare const serializeObjectParam: ({ allowReserved, explode, name, style, value, valueOnly, }: SerializeOptions<ObjectSeparatorStyle> & {
30
+ value: Record<string, unknown> | Date;
31
+ valueOnly?: boolean;
32
+ }) => string;
33
+ export {};
@@ -0,0 +1,18 @@
1
+ /**
2
+ * JSON-friendly union that mirrors what Pinia Colada can hash.
3
+ */
4
+ export type JsonValue = null | string | number | boolean | JsonValue[] | {
5
+ [key: string]: JsonValue;
6
+ };
7
+ /**
8
+ * Replacer that converts non-JSON values (bigint, Date, etc.) to safe substitutes.
9
+ */
10
+ export declare const queryKeyJsonReplacer: (_key: string, value: unknown) => unknown | undefined;
11
+ /**
12
+ * Safely stringifies a value and parses it back into a JsonValue.
13
+ */
14
+ export declare const stringifyToJsonValue: (input: unknown) => JsonValue | undefined;
15
+ /**
16
+ * Normalizes any accepted value into a JSON-friendly shape for query keys.
17
+ */
18
+ export declare const serializeQueryKeyValue: (value: unknown) => JsonValue | undefined;