@wisemen/wise-invoicing-web 0.2.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-D-qXZrPT.js → ApprovalReminderSettingsViewDataProvider-DwtfyQpx.js} +4 -4
  2. package/dist/{BillingDocumentDetailViewDataProvider-DDdtlW-2.js → BillingDocumentDetailViewDataProvider-Dub07ybW.js} +1373 -1217
  3. package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
  4. package/dist/{BillingDocumentPdf-ehdFB6mr.js → BillingDocumentPdf-DgtUB45R.js} +20 -13
  5. package/dist/{CreditNoteDetailViewDataProvider-11a-JO3H.js → CreditNoteDetailViewDataProvider-BxNfC6yO.js} +90 -90
  6. package/dist/{CreditNotePdfViewDataProvider-bfeaya3P.js → CreditNotePdfViewDataProvider-D0j8qqK-.js} +2 -2
  7. package/dist/{CustomFieldValueText-CZQXGE5F.js → CustomFieldValueText-Cuhs9sRn.js} +26 -26
  8. package/dist/DunningCaseDetailViewDataProvider-ou1FfNWQ.js +439 -0
  9. package/dist/{DunningCaseOverviewView-y_bCmi5j.js → DunningCaseOverviewView--zaPD0-c.js} +255 -203
  10. package/dist/{DunningCaseReminderPdfViewDataProvider-DNODfED_.js → DunningCaseReminderPdfViewDataProvider-BpUDbbSH.js} +5 -4
  11. package/dist/{DunningCaseSendDialog-BPXcqit5.js → DunningCaseSendDialog-Co4oLFtZ.js} +83 -72
  12. package/dist/InvoiceApprovalOutOfSyncIndicator-H6H7kjAE.js +45 -0
  13. package/dist/InvoiceApprovalOverviewView-Bw-6rkon.js +814 -0
  14. package/dist/InvoiceApprovalStatusBadge-IyzJ--TJ.js +127 -0
  15. package/dist/InvoiceApproveDialogDataProvider-8G-11W1e.js +377 -0
  16. package/dist/{InvoiceDetailViewDataProvider-BYeaaQzL.js → InvoiceDetailViewDataProvider-B9gul2ei.js} +750 -692
  17. package/dist/InvoiceOverviewViewDataProvider-5KgIdhfL.js +1892 -0
  18. package/dist/{InvoicePdfView-BJRTg_TH.js → InvoicePdfView-5sJ-u_gT.js} +10 -4
  19. package/dist/{InvoicePdfViewDataProvider-CwI_uGm3.js → InvoicePdfViewDataProvider-BLVXDPv6.js} +3 -3
  20. package/dist/{InvoicePublicPdfViewDataProvider-uZUfsr5K.js → InvoicePublicPdfViewDataProvider-CnhYazmB.js} +3 -3
  21. package/dist/InvoicePublicProFormaPdfViewDataProvider-CcvGISK6.js +47 -0
  22. package/dist/{InvoicingFileUploadProvider-D9Xk4rQM.js → InvoicingFileUploadProvider-Kcq7kSSt.js} +2 -2
  23. package/dist/{IssuerSettingsViewDataProvider-CGRa8F-2.js → IssuerSettingsViewDataProvider-BuSIVnIl.js} +3 -3
  24. package/dist/{ReminderSettingsViewDataProvider-1ucp3z2T.js → ReminderSettingsViewDataProvider-CH7gSXnj.js} +100 -102
  25. package/dist/{api.util-C_kMGlJN.js → api.util-CkIRZS3h.js} +985 -930
  26. package/dist/{billingDocumentDetail.transformer-Da6_-Hv9.js → billingDocumentDetail.transformer-Bfd8geNo.js} +5 -7
  27. package/dist/client/index.d.ts +2 -2
  28. package/dist/client/sdk.gen.d.ts +2 -1
  29. package/dist/client/types.gen.d.ts +114 -31
  30. package/dist/client/zod.gen.d.ts +343 -78
  31. package/dist/composables/sending-refetch/sendingRefetch.composable.d.ts +7 -0
  32. package/dist/composables/sending-refetch/sendingRefetch.composable.spec.d.ts +1 -0
  33. package/dist/{creditNoteDetail.query-DLR7L0Ep.js → creditNoteDetail.query-tLnfqsEB.js} +27 -27
  34. package/dist/customerUuid.model-ClN4Vi9n.js +18 -0
  35. package/dist/{dist-Cxdm09Lp.js → dist-BQbaoN5W.js} +144 -96
  36. package/dist/{dist-CoztMdYH.js → dist-CGZBUnWK.js} +62 -62
  37. package/dist/{dist-boJIIxnT.js → dist-Cdbpkd3Y.js} +1 -1
  38. package/dist/{documentTitle.composable-DsBbzhXN.js → documentTitle.composable-CRJjS6p-.js} +19 -17
  39. package/dist/{i18n.lib-Cvr8pcDw.js → i18n.lib--mzprLMR.js} +88 -54
  40. package/dist/index.d.ts +56 -22
  41. package/dist/index.js +193 -201
  42. package/dist/{invoice.service-DEEA9mal.js → invoice.service-B1w16_Md.js} +184 -172
  43. package/dist/{invoiceApproval.service-DvL3LliM.js → invoiceApproval.service-BHAJmFkU.js} +8 -8
  44. package/dist/{invoiceApprovalStatus.util-3Zh10Pj8.js → invoiceApprovalStatus.util-DohOKR4q.js} +42 -38
  45. package/dist/invoiceCustomer.service-DpVfpQUD.js +39 -0
  46. package/dist/{invoiceDetail.query-CRoH_SgM.js → invoiceDetail.query-CfyNSXLS.js} +1 -1
  47. package/dist/{invoiceDeliveryStatus.util-nCsqDypY.js → invoiceIndexCache.util-BDLs7W9m.js} +128 -51
  48. package/dist/{invoicingConfig.composable-rxjGK882.js → invoicingConfig.composable-COn1rKRf.js} +2 -2
  49. package/dist/{issuerSettings.query-Dc5gsaEm.js → issuerSettings.query-CDFk2GiP.js} +3 -2
  50. package/dist/libs/i18n.lib.d.ts +56 -22
  51. package/dist/locales/en-US.json.d.ts +44 -27
  52. package/dist/locales/nl-BE.json.d.ts +44 -27
  53. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.model.d.ts +8 -1
  54. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.d.ts +12 -0
  55. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.spec.d.ts +1 -0
  56. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +2 -6
  57. package/dist/modules/dunning-case/api/mutations/dunningCaseReminderRetry.mutation.d.ts +4 -0
  58. package/dist/modules/dunning-case/api/services/dunningCase.service.d.ts +2 -1
  59. package/dist/modules/dunning-case/models/dunningCase.model.d.ts +5 -0
  60. package/dist/modules/dunning-case/models/dunningCaseReminderPdf.model.d.ts +0 -4
  61. package/dist/modules/dunning-case/models/dunningCaseReminderPdf.transformer.d.ts +0 -1
  62. package/dist/modules/dunning-case/test/builders/dunningCaseReminderPdfDto.builder.d.ts +1 -0
  63. package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewActionsCell.vue.d.ts +2 -0
  64. package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.d.ts +2 -2
  65. package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.spec.d.ts +1 -0
  66. package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewTableColumns.composable.d.ts +1 -0
  67. package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTable.vue.d.ts +0 -4
  68. package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseBulkSendDialog.vue.d.ts +2 -1
  69. package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderRow.vue.d.ts +4 -4
  70. package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.d.ts +2 -2
  71. package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.spec.d.ts +1 -0
  72. package/dist/modules/invoice/api/mutations/invoiceRejectApproval.mutation.d.ts +8 -0
  73. package/dist/modules/invoice/api/queries/invoicePublicProFormaDetail.query.d.ts +2 -0
  74. package/dist/modules/invoice/api/query-keys/invoice.queryKeys.d.ts +6 -0
  75. package/dist/modules/invoice/api/services/invoice.service.d.ts +1 -0
  76. package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.d.ts +4 -2
  77. package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.spec.d.ts +1 -0
  78. package/dist/modules/invoice/models/invoice/approval/invoiceRejectForm.model.d.ts +8 -0
  79. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +1 -0
  80. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +2 -3
  81. package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.model.d.ts +2 -9
  82. package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.util.d.ts +4 -2
  83. package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreate.transformer.spec.d.ts +1 -0
  84. package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.transformer.d.ts +2 -1
  85. package/dist/modules/invoice/routes/invoice.routes.d.ts +4 -0
  86. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialog.vue.d.ts +1 -0
  87. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialogDataProvider.vue.d.ts +13 -0
  88. package/dist/modules/invoice/use-cases/detail/dialogs/InvoicePaymentDeleteDialog.vue.d.ts +13 -0
  89. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewDataTableFilters.composable.d.ts +2 -3
  90. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.d.ts +11 -9
  91. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +2 -2
  92. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendApprovalDialog.vue.d.ts +3 -1
  93. package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.d.ts +7 -4
  94. package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.spec.d.ts +1 -0
  95. package/dist/modules/invoice/use-cases/pdf/components/BillingDocumentPdf.vue.d.ts +1 -0
  96. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfWatermark.vue.d.ts +4 -1
  97. package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfView.vue.d.ts +1 -0
  98. package/dist/modules/invoice/use-cases/pdf/views/InvoicePublicProFormaPdfViewDataProvider.vue.d.ts +3 -0
  99. package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.action.d.ts +2 -0
  100. package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.spec.d.ts +1 -0
  101. package/dist/modules/invoice-approval/models/invoiceApprovalIndex.transformer.spec.d.ts +1 -0
  102. package/dist/modules/invoice-approval/models/invoiceApprovalIndexQueryParams.transformer.spec.d.ts +1 -0
  103. package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverview.composable.d.ts +5 -6
  104. package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverviewFilters.composable.d.ts +0 -5
  105. package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +1 -0
  106. package/dist/{reminderConfig.query-snaHQmrY.js → reminderConfig.query-DSO0ekC_.js} +112 -105
  107. package/dist/routes/invoicingPublicRoutes.composable.d.ts +4 -0
  108. package/dist/style.css +1 -1
  109. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityApprovalDetails.vue.d.ts +7 -0
  110. package/package.json +3 -3
  111. package/dist/DunningCaseDetailViewDataProvider-DC-ziMoO.js +0 -409
  112. package/dist/InvoiceApprovalOverviewView-DZ14mi4L.js +0 -870
  113. package/dist/InvoiceApprovalStatusBadge-U-dW2hR4.js +0 -161
  114. package/dist/InvoiceApproveDialog-2LXneG2r.js +0 -308
  115. package/dist/InvoiceOverviewBulkSendApprovalDialog-99dfuN4i.js +0 -318
  116. package/dist/InvoiceOverviewViewDataProvider-CZIQeftL.js +0 -1620
  117. package/dist/customerUuid.model-GUFYq3O2.js +0 -5
  118. package/dist/modules/invoice-approval/actions/invoiceApprovalUnmarkAsNeedsApproval.action.d.ts +0 -1
@@ -125,9 +125,10 @@ declare const _default: {
125
125
  "wise_invoicing.invoice.overview.bulk.skip_reason.already_approved": "Deze factuur is al goedgekeurd.",
126
126
  "wise_invoicing.invoice.overview.bulk.skip_reason.not_editable": "Deze factuur kan niet meer bewerkt worden.",
127
127
  "wise_invoicing.invoice.overview.bulk.skip_reason.not_standard": "Enkel facturen kunnen ter goedkeuring verstuurd worden.",
128
+ "wise_invoicing.invoice.overview.bulk.skip_reason.no_approval_email": "Deze klant heeft geen e-mailadres voor goedkeuring om naar te versturen.",
128
129
  "wise_invoicing.invoice.overview.bulk.skip_reason.no_recipient": "Deze klant heeft geen standaardontvanger om naar te versturen.",
129
130
  "wise_invoicing.invoice.overview.bulk.skip_reason.not_found": "Deze factuur werd niet meer gevonden.",
130
- "wise_invoicing.invoice.overview.bulk.skip_reason.unknown": "Deze factuur kon niet verstuurd worden.",
131
+ "wise_invoicing.invoice.overview.bulk.skip_reason.unknown": "Deze factuur kon niet verwerkt worden.",
131
132
  "wise_invoicing.invoice.overview.bulk.selected_documents": "{count} document geselecteerd | {count} documenten geselecteerd",
132
133
  "wise_invoicing.invoice.overview.bulk.preview_error": "We konden de geselecteerde facturen niet controleren. Sluit dit venster en probeer opnieuw.",
133
134
  "wise_invoicing.invoice.overview.bulk.send.action": "Versturen",
@@ -150,6 +151,7 @@ declare const _default: {
150
151
  "wise_invoicing.invoice.overview.filters.until": "Tot",
151
152
  "wise_invoicing.invoice.overview.filters.clear": "Filters wissen",
152
153
  "wise_invoicing.invoice.overview.due_date.days_ago": "{count} dag geleden | {count} dagen geleden",
154
+ "wise_invoicing.invoice.overview.send_failed": "Verzenden mislukt",
153
155
  "wise_invoicing.invoice.overview.empty_state.title": "Nog geen facturatie",
154
156
  "wise_invoicing.invoice.overview.empty_state.description": "Maak uw eerste factuur aan om te beginnen.",
155
157
  "wise_invoicing.invoice.overview.empty_state.action": "Aanmaken",
@@ -190,18 +192,22 @@ declare const _default: {
190
192
  "wise_invoicing.invoice.detail.header.created_by": "Aangemaakt door",
191
193
  "wise_invoicing.invoice.detail.header.actions_more": "Meer acties",
192
194
  "wise_invoicing.invoice.detail.header.cancel_with_credit_note": "Annuleren met creditnota",
193
- "wise_invoicing.invoice.detail.header.send_reminder": "Herinnering sturen",
194
195
  "wise_invoicing.invoice.detail.sidebar.details": "Details",
195
196
  "wise_invoicing.invoice.detail.sidebar.general": "Algemeen",
196
197
  "wise_invoicing.invoice.detail.sidebar.totals": "Totalen",
197
198
  "wise_invoicing.invoice.detail.sidebar.updated_on": "Bijgewerkt op {date}",
198
199
  "wise_invoicing.invoice.detail.sidebar.activity_empty": "Er is nog geen activiteit geregistreerd voor deze factuur.",
199
- "wise_invoicing.invoice.detail.activity_log.action.approval_sent": "goedkeuringsaanvraag werd verstuurd",
200
- "wise_invoicing.invoice.detail.activity_log.action.approval_reminder_sent": "goedkeuringsherinnering werd verstuurd",
201
- "wise_invoicing.invoice.detail.activity_log.action.approval_approved": "werd goedgekeurd door de klant",
202
- "wise_invoicing.invoice.detail.activity_log.action.approval_rejected": "werd afgekeurd door de klant",
203
- "wise_invoicing.invoice.detail.activity_log.action.approval_cancelled": "goedkeuringsaanvraag werd ingetrokken",
204
- "wise_invoicing.invoice.detail.activity_log.action.approval_expired": "goedkeuringsaanvraag is vervallen",
200
+ "wise_invoicing.invoice.detail.activity_log.action.approval_sent": " goedkeuringsaanvraag werd verstuurd",
201
+ "wise_invoicing.invoice.detail.activity_log.action.approval_reminder_sent": " goedkeuringsherinnering werd verstuurd",
202
+ "wise_invoicing.invoice.detail.activity_log.action.approval_approved": " werd goedgekeurd door de klant",
203
+ "wise_invoicing.invoice.detail.activity_log.action.approval_rejected": " werd afgekeurd door de klant",
204
+ "wise_invoicing.invoice.detail.activity_log.action.approval_cancelled": " goedkeuringsaanvraag werd ingetrokken",
205
+ "wise_invoicing.invoice.detail.activity_log.action.approval_expired": " goedkeuringsaanvraag is vervallen",
206
+ "wise_invoicing.invoice.detail.activity_log.action.prior_approval_required": " werd gemarkeerd als goedkeuring vereist",
207
+ "wise_invoicing.invoice.detail.activity_log.action.prior_approval_removed": " vereist geen goedkeuring meer",
208
+ "wise_invoicing.invoice.detail.activity_log.action.finalization_blocked": " kon niet gefinaliseerd worden zonder goedkeuring",
209
+ "wise_invoicing.invoice.detail.activity_log.actor.external_system": "Extern systeem",
210
+ "wise_invoicing.invoice.detail.activity_log.attachment": "Bijlage",
205
211
  "wise_invoicing.invoice.detail.activity_log.actor.system": "Systeem",
206
212
  "wise_invoicing.invoice.detail.activity_log.metadata": "{time} · {actor}",
207
213
  "wise_invoicing.invoice.detail.activity_log.draft_invoice": "Conceptfactuur",
@@ -212,6 +218,10 @@ declare const _default: {
212
218
  "wise_invoicing.invoice.detail.activity_log.action.invoice_sent": " verzonden",
213
219
  "wise_invoicing.invoice.detail.activity_log.action.credit_note_created": " gecrediteerd met ",
214
220
  "wise_invoicing.invoice.detail.activity_log.action.credit_note_updated": " bijgewerkt",
221
+ "wise_invoicing.invoice.detail.activity_log.action.invoice_payment_created": " betaling van {amount} toegevoegd",
222
+ "wise_invoicing.invoice.detail.activity_log.action.invoice_payment_created_without_amount": " betaling toegevoegd",
223
+ "wise_invoicing.invoice.detail.activity_log.action.invoice_payment_deleted": " betaling van {amount} verwijderd",
224
+ "wise_invoicing.invoice.detail.activity_log.action.invoice_payment_deleted_without_amount": " betaling verwijderd",
215
225
  "wise_invoicing.invoice.detail.sidebar.attachments_upload_action": "Klik om te uploaden",
216
226
  "wise_invoicing.invoice.detail.sidebar.attachments_upload_or_drag": "of sleep bestanden hierheen",
217
227
  "wise_invoicing.invoice.detail.sidebar.attachments_upload_description": "Kies een bestand om te uploaden of sleep het hierheen.",
@@ -223,6 +233,7 @@ declare const _default: {
223
233
  "wise_invoicing.invoice.detail.sidebar.attachments_too_large": "Elke bijlage moet 25 MB of kleiner zijn.",
224
234
  "wise_invoicing.invoice.detail.sidebar.notes_empty": "Er zijn nog geen interne notities toegevoegd.",
225
235
  "wise_invoicing.invoice.detail.sidebar.attachments_empty": "Er zijn nog geen bijlagen gekoppeld aan deze factuur.",
236
+ "wise_invoicing.invoice.detail.sidebar.approval_proof": "Bewijs van goedkeuring",
226
237
  "wise_invoicing.invoice.detail.parent_invoice.title": "Bovenliggende factuur",
227
238
  "wise_invoicing.invoice.detail.parent_invoice.untitled": "Factuur",
228
239
  "wise_invoicing.invoice.detail.line_items.title": "Gedetailleerde factuur",
@@ -355,6 +366,7 @@ declare const _default: {
355
366
  "wise_invoicing.invoice.detail.global_discount.amount.label": "Bedrag",
356
367
  "wise_invoicing.invoice.detail.global_discount.amount.hint": "Dit wordt toegepast op alle factuurlijnen",
357
368
  "wise_invoicing.invoice.pdf.client": "Klant",
369
+ "wise_invoicing.invoice.pdf.pro_forma": "Proforma",
358
370
  "wise_invoicing.invoice.pdf.summary.subtotal": "Subtotaal",
359
371
  "wise_invoicing.invoice.pdf.summary.total_discount": "Totale korting",
360
372
  "wise_invoicing.invoice.pdf.summary.remarks": "Opmerkingen",
@@ -367,7 +379,7 @@ declare const _default: {
367
379
  "wise_invoicing.invoice.send.success": "Factuur is verzonden naar de klant.",
368
380
  "wise_invoicing.invoice.mark_as_ready.success": "Factuur is gemarkeerd als klaar.",
369
381
  "wise_invoicing.invoice.send_approval.success": "Goedkeuringsaanvraag voor {reference} verstuurd naar {email}.",
370
- "wise_invoicing.invoice.send_approval.missing_recipient": "Deze klant heeft geen standaardontvanger, dus er is niemand om de goedkeuringsaanvraag naar te versturen.",
382
+ "wise_invoicing.invoice.send_approval.missing_approval_email": "Deze klant heeft geen e-mailadres voor goedkeuring, dus er is niemand om de goedkeuringsaanvraag naar te versturen.",
371
383
  "wise_invoicing.invoice.send_approval.view_customer_action": "Klant openen",
372
384
  "wise_invoicing.invoice.finalize.blocked_by_approval": "Deze factuur kan niet definitief gemaakt worden zolang de goedkeuringsstatus {status} is.",
373
385
  "wise_invoicing.invoice.mark_as_needs_approval.success": "Factuur moet nu goedgekeurd worden voordat ze definitief kan worden gemaakt.",
@@ -377,10 +389,6 @@ declare const _default: {
377
389
  "wise_invoicing.invoice.mark_as_disputed.success": "Factuur is gemarkeerd als betwist.",
378
390
  "wise_invoicing.invoice.mark_as_paid.success": "Factuur is gemarkeerd als betaald.",
379
391
  "wise_invoicing.invoice.withdraw_dispute.success": "De betwisting is ingetrokken.",
380
- "wise_invoicing.invoice.reminder.success": "Herinnering is verzonden naar de klant.",
381
- "wise_invoicing.invoice.reminder.max_reached": "Alle herinneringen voor deze factuur zijn al verstuurd.",
382
- "wise_invoicing.invoice.reminder.badge": "{count} herinnering verzonden | {count} herinneringen verzonden",
383
- "wise_invoicing.invoice.reminder.tooltip_line": "Herinnering {number} — {date}",
384
392
  "wise_invoicing.invoice.download_pdf.generation_in_progress": "PDF wordt gegenereerd. Probeer het over een moment opnieuw.",
385
393
  "wise_invoicing.invoice.duplicate.success": "Factuur succesvol gedupliceerd.",
386
394
  "wise_invoicing.invoice.duplicate.view_action": "Ga naar nieuwe factuur",
@@ -391,7 +399,6 @@ declare const _default: {
391
399
  "wise_invoicing.invoice.detail.actions.archive_approval": "Archiveren",
392
400
  "wise_invoicing.invoice.detail.payments.title": "Betalingen",
393
401
  "wise_invoicing.invoice.detail.payments.add": "Betaling toevoegen",
394
- "wise_invoicing.invoice.detail.payments.empty": "Geen betalingen geregistreerd.",
395
402
  "wise_invoicing.invoice.detail.payments.columns.date": "Betalingsdatum",
396
403
  "wise_invoicing.invoice.detail.payments.columns.reference": "Betalingsreferentie",
397
404
  "wise_invoicing.invoice.detail.payments.columns.remark": "Opmerking",
@@ -405,15 +412,14 @@ declare const _default: {
405
412
  "wise_invoicing.invoice.detail.payments.create.fields.reference": "Betalingsreferentie",
406
413
  "wise_invoicing.invoice.detail.payments.create.fields.remarks": "Opmerkingen",
407
414
  "wise_invoicing.invoice.detail.payments.create.submit": "Betaling toevoegen",
408
- "wise_invoicing.invoice.detail.payments.create.success": "Betaling toegevoegd.",
415
+ "wise_invoicing.invoice.detail.payments.create.success": "Betaling van {amount} succesvol geregistreerd",
409
416
  "wise_invoicing.invoice.detail.payments.delete.title": "Betaling verwijderen",
410
- "wise_invoicing.invoice.detail.payments.delete.description": "Weet u zeker dat u deze betaling wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt.",
417
+ "wise_invoicing.invoice.detail.payments.delete.description": "Weet u zeker dat u deze betaling van {amount} wilt verwijderen? Deze actie kan niet ongedaan worden gemaakt.",
411
418
  "wise_invoicing.invoice.detail.payments.delete.submit": "Verwijderen",
412
- "wise_invoicing.invoice.detail.payments.delete.success": "Betaling verwijderd.",
419
+ "wise_invoicing.invoice.detail.payments.delete.success": "Betaling van {amount} verwijderd",
413
420
  "wise_invoicing.credit_note.create.success": "Creditnota aangemaakt",
414
421
  "wise_invoicing.credit_note.create.view_action": "Creditnota bekijken",
415
422
  "wise_invoicing.credit_note.send.success": "Creditnota is verzonden naar de klant.",
416
- "wise_invoicing.credit_note.reminder.success": "Herinnering is verzonden naar de klant.",
417
423
  "wise_invoicing.credit_note.mark_as_draft.success": "Creditnota is teruggezet naar concept.",
418
424
  "wise_invoicing.credit_note.mark_as_ready.success": "Creditnota is gemarkeerd als klaar.",
419
425
  "wise_invoicing.credit_note.finalize.success": "Creditnota is afgerond.",
@@ -451,16 +457,23 @@ declare const _default: {
451
457
  "wise_invoicing.invoice.approve.description": "Voeg optioneel een bewijs van goedkeuring toe en een notitie voor je collega's.",
452
458
  "wise_invoicing.invoice.approve.fields.note": "Notitie (optioneel)",
453
459
  "wise_invoicing.invoice.approve.fields.note_placeholder": "Voeg een notitie toe voor je collega's...",
460
+ "wise_invoicing.invoice.approve.fields.proof_description": "Kies een of meer bestanden om te uploaden of sleep ze hierheen.",
461
+ "wise_invoicing.invoice.approve.fields.proof_hint": "PDF, PNG of JPG. Maximaal 25 MB per bestand.",
454
462
  "wise_invoicing.invoice.approve.submit": "Markeren als goedgekeurd",
455
463
  "wise_invoicing.invoice.approve.success": "Goedkeuring geregistreerd.",
456
- "wise_invoicing.invoice.approve.proof_too_large": "Dit bestand is groter dan 10 MB.",
464
+ "wise_invoicing.invoice.approve.proof_invalid_type": "Gebruik een PDF-, PNG- of JPG-bestand.",
465
+ "wise_invoicing.invoice.approve.proof_too_large": "Dit bestand is groter dan 25 MB.",
466
+ "wise_invoicing.invoice.approve.proof_required": "Voeg een bewijs van goedkeuring toe om verder te gaan.",
457
467
  "wise_invoicing.invoice.reject.title": "Deze factuur afkeuren?",
458
468
  "wise_invoicing.invoice.reject.description": "Kies een reden. Een opmerking is verplicht wanneer je \"Andere\" kiest.",
459
469
  "wise_invoicing.invoice.reject.fields.reason": "Reden",
460
470
  "wise_invoicing.invoice.reject.fields.remark": "Opmerking",
461
471
  "wise_invoicing.invoice.reject.fields.remark_placeholder": "Voeg een opmerking toe...",
472
+ "wise_invoicing.invoice.reject.fields.attachment_description": "Kies een of meer bestanden om te uploaden of sleep ze hierheen.",
473
+ "wise_invoicing.invoice.reject.fields.attachment_hint": "PDF, PNG of JPG. Maximaal 10 MB per bestand.",
462
474
  "wise_invoicing.invoice.reject.submit": "Afkeuren",
463
475
  "wise_invoicing.invoice.reject.success": "Afkeuring geregistreerd.",
476
+ "wise_invoicing.invoice.reject.attachment_too_large": "Dit bestand is groter dan 10 MB.",
464
477
  "wise_invoicing.invoice.detail.actions.mark_as_approved": "Markeren als goedgekeurd",
465
478
  "wise_invoicing.invoice.detail.actions.reject_approval": "Afkeuren",
466
479
  "wise_invoicing.invoice_approval.settings.title": "Goedkeuringsherinneringen",
@@ -477,7 +490,6 @@ declare const _default: {
477
490
  "wise_invoicing.invoice_approval.overview.description": "Volg facturen op die wachten op goedkeuring, herinner de klant en registreer beslissingen.",
478
491
  "wise_invoicing.invoice_approval.overview.tabs.all": "Alle",
479
492
  "wise_invoicing.invoice_approval.overview.tabs.out_of_sync": "Wijkt af",
480
- "wise_invoicing.invoice_approval.overview.send_all": "Alle aanvragen versturen",
481
493
  "wise_invoicing.invoice_approval.overview.hide_metrics": "Statistieken verbergen",
482
494
  "wise_invoicing.invoice_approval.overview.show_metrics": "Statistieken tonen",
483
495
  "wise_invoicing.invoice_approval.overview.filters.customer": "Klant",
@@ -504,6 +516,8 @@ declare const _default: {
504
516
  "wise_invoicing.invoice_approval.overview.reminder_blocked": "Geblokkeerd",
505
517
  "wise_invoicing.invoice_approval.overview.not_sent_yet": "Nog niet verstuurd",
506
518
  "wise_invoicing.invoice_approval.overview.last_reminder": "{level} · {time}",
519
+ "wise_invoicing.invoice_approval.overview.request_sent": "Aanvraag verstuurd · {time}",
520
+ "wise_invoicing.invoice_approval.overview.send_request_success": "Goedkeuringsaanvraag voor {reference} verstuurd naar het e-mailadres voor goedkeuring van de klant.",
507
521
  "wise_invoicing.invoice.approval_banner.sent": "Goedkeuringsaanvraag verstuurd op {date}.",
508
522
  "wise_invoicing.invoice.approval_banner.out_of_sync": "Deze factuur komt niet meer overeen met de proforma die op {date} verstuurd werd.",
509
523
  "wise_invoicing.invoice.approval_banner.view_pro_forma": "Verstuurde proforma bekijken",
@@ -511,6 +525,7 @@ declare const _default: {
511
525
  "wise_invoicing.invoice.approval_banner.out_of_sync_supporting": "Verstuur een nieuwe goedkeuringsaanvraag of draai je wijzigingen terug.",
512
526
  "wise_invoicing.invoice.approval_banner.send_new_request": "Nieuwe aanvraag versturen",
513
527
  "wise_invoicing.invoice.approval_banner.rejected_reason": "Afgekeurd: {reason}",
528
+ "wise_invoicing.invoice.approval_banner.previously_rejected_reason": "Eerder afgekeurd: {reason}",
514
529
  "wise_invoicing.invoice.approval_banner.last_reminder_sent": "Laatste herinnering verstuurd {time}",
515
530
  "wise_invoicing.invoice.approval_revert.title": "Terugdraaien naar de verstuurde versie?",
516
531
  "wise_invoicing.invoice.approval_revert.description": "De factuur keert terug naar de inhoud die de klant op {date} ontving. Wijzigingen sindsdien gaan verloren.",
@@ -524,6 +539,7 @@ declare const _default: {
524
539
  "wise_invoicing.invoice.finalize_out_of_sync.acknowledge": "Ik begrijp dat dit inhoud finaliseert die de klant niet goedgekeurd heeft.",
525
540
  "wise_invoicing.invoice.finalize_out_of_sync.acknowledge_required": "Bevestig dat je dit begrijpt voor je finaliseert.",
526
541
  "wise_invoicing.invoice.approval.validation.required": "Dit veld is verplicht.",
542
+ "wise_invoicing.invoice.approval_status.no_approval_required": "Geen goedkeuring nodig",
527
543
  "wise_invoicing.invoice.approval_status.awaiting_approval": "Wacht op goedkeuring",
528
544
  "wise_invoicing.invoice.approval_status.r1": "Herinnering 1",
529
545
  "wise_invoicing.invoice.approval_status.r2": "Herinnering 2",
@@ -533,7 +549,7 @@ declare const _default: {
533
549
  "wise_invoicing.invoice.approval_status.out_of_sync": "Deze factuur komt niet meer overeen met de verstuurde proforma",
534
550
  "wise_invoicing.invoice.approval_status.last_request_sent_on": "Laatste aanvraag verstuurd op {date}",
535
551
  "wise_invoicing.invoice.approval_rejection_reason.incorrect_price": "Foutieve prijs",
536
- "wise_invoicing.invoice.approval_rejection_reason.incorrect_quantity": "Foutief aantal",
552
+ "wise_invoicing.invoice.approval_rejection_reason.incorrect_quantity": "Foutief aantal of tonnage",
537
553
  "wise_invoicing.invoice.approval_rejection_reason.incorrect_customer_or_reference_data": "Foutieve klant- of referentiegegevens",
538
554
  "wise_invoicing.invoice.approval_rejection_reason.work_not_fully_delivered": "Werk niet (volledig) geleverd",
539
555
  "wise_invoicing.invoice.approval_rejection_reason.missing_or_incorrect_attachment": "Ontbrekende of foutieve bijlage",
@@ -663,11 +679,9 @@ declare const _default: {
663
679
  "module.dunning_case.bulk_send.total": "Totaal cases",
664
680
  "module.dunning_case.common.loading": "Laden...",
665
681
  "module.dunning_case.common.never": "Nooit",
666
- "module.dunning_case.customer.closed_case": "Gesloten aanmaningscase",
667
- "module.dunning_case.customer.closed_cases": "{count} gesloten aanmaningscase | {count} gesloten aanmaningscases",
668
- "module.dunning_case.customer.open_case": "Open aanmaningscase",
682
+ "module.dunning_case.customer.open_case": "Aanmaningscase",
669
683
  "module.dunning_case.customer.outstanding": "{amount} openstaand",
670
- "module.dunning_case.customer.title": "Debiteurenbeheer",
684
+ "module.dunning_case.customer.title": "Aanmaningscase",
671
685
  "module.dunning_case.customer.view_case": "Case bekijken",
672
686
  "module.dunning_case.detail.activity": "Activiteit",
673
687
  "module.dunning_case.detail.case_closed": "Case gesloten",
@@ -705,6 +719,7 @@ declare const _default: {
705
719
  "module.dunning_case.detail.reminder_sent": "Herinnering verstuurd",
706
720
  "module.dunning_case.detail.reminder_due": "Herinnering {level} nu te versturen",
707
721
  "module.dunning_case.detail.send": "Herinnering versturen",
722
+ "module.dunning_case.detail.retry": "Herinnering opnieuw proberen",
708
723
  "module.dunning_case.detail.table.due_date": "Vervaldatum",
709
724
  "module.dunning_case.detail.table.invoice": "Factuur",
710
725
  "module.dunning_case.detail.table.level": "Niveau",
@@ -752,6 +767,7 @@ declare const _default: {
752
767
  "module.dunning_case.overview.not_scheduled": "Niet gepland",
753
768
  "module.dunning_case.overview.open_cases": "Open cases",
754
769
  "module.dunning_case.overview.send": "Versturen",
770
+ "module.dunning_case.overview.retry": "Opnieuw proberen",
755
771
  "module.dunning_case.overview.send_all": "Herinneringen versturen",
756
772
  "module.dunning_case.overview.show_metrics": "Statistieken tonen",
757
773
  "module.dunning_case.overview.status_navigation": "Status aanmaningscases",
@@ -813,8 +829,9 @@ declare const _default: {
813
829
  "module.dunning_case.send.open_customer": "Klant openen",
814
830
  "module.dunning_case.send.preview_title": "Gegroepeerde herinnering",
815
831
  "module.dunning_case.send.send_now": "Nu versturen",
816
- "module.dunning_case.send.success": "Herinnering voor {customer} verstuurd.",
832
+ "module.dunning_case.send.success": "Herinnering voor {customer} wordt verstuurd.",
817
833
  "module.dunning_case.send.title": "Herinnering {level} versturen — {customer}",
834
+ "module.dunning_case.retry.success": "Herinnering voor {customer} wordt opnieuw geprobeerd.",
818
835
  "module.dunning_case.settings.fixed_levels": "3 vaste niveaus",
819
836
  "module.dunning_case.settings.ladder.after_due_date": "Na vervaldatum factuur",
820
837
  "module.dunning_case.settings.ladder.after_previous": "Na vorige herinnering",
@@ -877,7 +894,7 @@ declare const _default: {
877
894
  "shared.actions": "Acties",
878
895
  "shared.save_changes": "Wijzigingen opslaan",
879
896
  "wise_invoicing.invoice.approval_archive.title": "Deze goedkeuringsaanvraag archiveren?",
880
- "wise_invoicing.invoice.approval_archive.description": "De openstaande goedkeuringsaanvraag wordt afgesloten en de herinneringen stoppen. De factuur zelf blijft bewaard en zichtbaar.",
897
+ "wise_invoicing.invoice.approval_archive.description": "De goedkeuringsaanvraag wordt stopgezet en er worden geen herinneringen meer verstuurd. De factuur zelf wordt niet verwijderd.",
881
898
  "wise_invoicing.invoice.approval_archive.submit": "Archiveren",
882
899
  "wise_invoicing.invoice.approval_archive.success": "Goedkeuringsaanvraag gearchiveerd."
883
900
  }
@@ -1,5 +1,5 @@
1
1
  import { Temporal } from 'temporal-polyfill';
2
- import { ActivityActorType, ActivityEntityRole, ActivityEntityType, ActivityType } from '../../../client/index.ts';
2
+ import { ActivityActorType, ActivityChange, ActivityEntityRole, ActivityEntityType, ActivityType } from '../../../client/index.ts';
3
3
  export interface BillingDocumentActivityLogActor {
4
4
  uuid: string;
5
5
  email: string | null;
@@ -12,10 +12,17 @@ export interface BillingDocumentActivityLogEntity {
12
12
  role: ActivityEntityRole;
13
13
  type: ActivityEntityType;
14
14
  }
15
+ export interface BillingDocumentActivityLogChange {
16
+ entityRole: ActivityEntityRole;
17
+ field: string;
18
+ from: boolean | number | string | null;
19
+ to: boolean | number | string | null;
20
+ }
15
21
  export interface BillingDocumentActivityLog {
16
22
  createdAt: Temporal.Instant;
17
23
  action: ActivityType;
18
24
  actor: BillingDocumentActivityLogActor | null;
19
25
  actorType: ActivityActorType;
26
+ changes: ActivityChange[];
20
27
  entities: BillingDocumentActivityLogEntity[];
21
28
  }
@@ -0,0 +1,12 @@
1
+ import { ActivityChange, InvoiceApprovalRejectionReason } from '../../../client/index.ts';
2
+ import { InvoiceApproval } from '../../../modules/invoice/models/invoice/invoiceApprovalStatus.model.ts';
3
+ export interface BillingDocumentActivityLogApprovalTransition {
4
+ isStatusChanged: boolean;
5
+ from: InvoiceApproval | null;
6
+ to: InvoiceApproval | null;
7
+ }
8
+ export declare class BillingDocumentActivityLogUtil {
9
+ static getApprovalTransition(changes: ActivityChange[]): BillingDocumentActivityLogApprovalTransition | null;
10
+ static getRejectionReason(changes: ActivityChange[]): InvoiceApprovalRejectionReason | null;
11
+ static getRemark(changes: ActivityChange[]): string | null;
12
+ }
@@ -81,10 +81,6 @@ export interface BillingDocumentLinkedDocument {
81
81
  status: InvoiceStatus;
82
82
  totalCreditedAmount: Monetary | null;
83
83
  }
84
- export interface BillingDocumentReminder {
85
- uuid: string;
86
- sentAt: Temporal.Instant;
87
- }
88
84
  export interface BillingDocumentDetail<TUuid extends string, TType extends InvoiceType> {
89
85
  uuid: TUuid;
90
86
  createdAt: Temporal.Instant;
@@ -95,6 +91,7 @@ export interface BillingDocumentDetail<TUuid extends string, TType extends Invoi
95
91
  isDisputed: boolean;
96
92
  isOverdue: boolean;
97
93
  issuer: BillingDocumentIssuer;
94
+ approvalProofs: FileReference[];
98
95
  attachments: FileReference[];
99
96
  balanceDueAmount: Monetary | null;
100
97
  creditNotes: BillingDocumentLinkedDocument[];
@@ -110,7 +107,6 @@ export interface BillingDocumentDetail<TUuid extends string, TType extends Invoi
110
107
  groups: BillingDocumentLineGroup[];
111
108
  lifecycleStatus: InvoiceLifecycleStatus;
112
109
  lines: BillingDocumentLine[];
113
- maxReminderCount: number;
114
110
  netAmount: Monetary;
115
111
  originalInvoice: BillingDocumentLinkedDocument | null;
116
112
  paidAmount: Monetary | null;
@@ -121,7 +117,7 @@ export interface BillingDocumentDetail<TUuid extends string, TType extends Invoi
121
117
  name: string;
122
118
  };
123
119
  recipient: BillingDocumentRecipient | null;
124
- reminders: BillingDocumentReminder[];
120
+ rejectionFiles: FileReference[];
125
121
  sequence: string | null;
126
122
  settlementStatus: SettlementStatus;
127
123
  status: InvoiceStatus;
@@ -0,0 +1,4 @@
1
+ import { DunningCaseReminderUuid } from '../../models/dunningCase.model.ts';
2
+ export declare function useDunningCaseReminderRetryMutation(): import('@wisemen/vue-core-api-utils').UseMutationReturnType<void, void, {
3
+ dunningCaseReminderUuid: DunningCaseReminderUuid;
4
+ }, string>;
@@ -1,7 +1,7 @@
1
1
  import { ApiResult, OffsetPaginationResult } from '@wisemen/vue-core-api-utils';
2
2
  import { BulkSendDunningCaseReminderResponse, PreviewBulkSendDunningCaseReminderResponse } from '../../../../client/index.ts';
3
3
  import { DunningCaseIndexQueryParams } from '../query-keys/dunningCase.queryKeys.ts';
4
- import { DunningCaseDetail, DunningCaseIndex, DunningCaseUuid, ReminderConfig } from '../../models/dunningCase.model.ts';
4
+ import { DunningCaseDetail, DunningCaseIndex, DunningCaseReminderUuid, DunningCaseUuid, ReminderConfig } from '../../models/dunningCase.model.ts';
5
5
  import { ReminderConfigForm } from '../../models/reminderConfigForm.model.ts';
6
6
  export declare class DunningCaseService {
7
7
  static getAll(params: DunningCaseIndexQueryParams & {
@@ -13,6 +13,7 @@ export declare class DunningCaseService {
13
13
  static getByUuid(dunningCaseUuid: DunningCaseUuid): Promise<ApiResult<DunningCaseDetail>>;
14
14
  static getReminderConfigs(): Promise<ApiResult<ReminderConfig[]>>;
15
15
  static previewBulk(queryParams: DunningCaseIndexQueryParams): Promise<ApiResult<PreviewBulkSendDunningCaseReminderResponse>>;
16
+ static retry(dunningCaseReminderUuid: DunningCaseReminderUuid): Promise<ApiResult<void>>;
16
17
  static send(dunningCaseUuid: DunningCaseUuid): Promise<ApiResult<void>>;
17
18
  static sendBulk(queryParams: DunningCaseIndexQueryParams): Promise<ApiResult<BulkSendDunningCaseReminderResponse>>;
18
19
  static updateReminderConfigs(form: ReminderConfigForm): Promise<ApiResult<void>>;
@@ -4,12 +4,15 @@ import { CustomerType, DunningCaseBlockedReason, FeeType, ReminderSchedule, Sett
4
4
  import { Monetary } from '../../../utils/monetary/monetary.model.ts';
5
5
  import { Percentage } from '../../../utils/percentage.util.ts';
6
6
  export declare const dunningCaseUuidSchema: z.core.$ZodBranded<z.ZodUUID, "DunningCaseUuid", "out">;
7
+ export declare const dunningCaseReminderUuidSchema: z.core.$ZodBranded<z.ZodUUID, "DunningCaseReminderUuid", "out">;
7
8
  export type DunningCaseUuid = z.infer<typeof dunningCaseUuidSchema>;
9
+ export type DunningCaseReminderUuid = z.infer<typeof dunningCaseReminderUuidSchema>;
8
10
  export interface DunningCaseIndexCustomer {
9
11
  uuid: string;
10
12
  name: string;
11
13
  }
12
14
  export interface DunningCaseReminder {
15
+ uuid: DunningCaseReminderUuid;
13
16
  sentAt: Temporal.Instant | null;
14
17
  hasErrors: boolean;
15
18
  }
@@ -24,6 +27,7 @@ export interface DunningCaseIndex {
24
27
  lastReminderSentAt: Temporal.Instant | null;
25
28
  nextReminderOn: Temporal.PlainDate | null;
26
29
  blockedReason: DunningCaseBlockedReason | null;
30
+ canRetryReminder: boolean;
27
31
  canSendReminder: boolean;
28
32
  customer: DunningCaseIndexCustomer;
29
33
  daysOverdue: number;
@@ -70,6 +74,7 @@ export interface DunningCaseDetail {
70
74
  nextReminderOn: Temporal.PlainDate | null;
71
75
  updatedAt: Temporal.Instant;
72
76
  blockedReason: DunningCaseBlockedReason | null;
77
+ canRetryReminder: boolean;
73
78
  canSendReminder: boolean;
74
79
  customer: {
75
80
  uuid: string;
@@ -22,10 +22,6 @@ export interface DunningCaseReminderPdfRecipient {
22
22
  name: string | null;
23
23
  email: string;
24
24
  }
25
- /**
26
- * Overdue invoices carry a reminder level, a fee and a days overdue count.
27
- * Invoices that are not due yet have none of those, and count down instead.
28
- */
29
25
  export interface DunningCaseReminderPdfInvoice {
30
26
  dueOn: PlainDate;
31
27
  issuedOn: PlainDate;
@@ -2,7 +2,6 @@ import { ViewPublicDunningCaseReminderResponse } from '../../../client/index.ts'
2
2
  import { DunningCaseReminderPdf } from './dunningCaseReminderPdf.model.ts';
3
3
  export declare class DunningCaseReminderPdfTransformer {
4
4
  private static fromInvoiceDto;
5
- /** An invoice that is not overdue yet carries no reminder level and no fee. */
6
5
  private static fromOutstandingInvoiceDto;
7
6
  static fromPublicDto(dto: ViewPublicDunningCaseReminderResponse): DunningCaseReminderPdf;
8
7
  }
@@ -11,6 +11,7 @@ export declare class DunningCaseReminderPdfInvoiceDtoBuilder {
11
11
  export declare class DunningCaseReminderPdfOutstandingInvoiceDtoBuilder {
12
12
  private value;
13
13
  build(): ViewPublicDunningCaseReminderOutstandingInvoiceResponse;
14
+ withDaysOverdue(daysOverdue: number): this;
14
15
  withOutstandingBalance(outstandingBalance: MonetaryDto): this;
15
16
  withSequence(sequence: string): this;
16
17
  }
@@ -3,9 +3,11 @@ type __VLS_Props = {
3
3
  item: DunningCaseIndex;
4
4
  };
5
5
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
+ retry: () => any;
6
7
  send: () => any;
7
8
  viewCustomer: () => any;
8
9
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onRetry?: (() => any) | undefined;
9
11
  onSend?: (() => any) | undefined;
10
12
  onViewCustomer?: (() => any) | undefined;
11
13
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -1,7 +1,7 @@
1
1
  import { ApiError } from '@wisemen/vue-core-api-utils';
2
2
  import { ComputedRef } from 'vue';
3
3
  import { CustomerUuid } from '../../../../../models/customer/customerUuid.model.ts';
4
- import { DunningCaseIndex } from '../../../models/dunningCase.model.ts';
4
+ import { DunningCaseIndex, DunningCaseUuid } from '../../../models/dunningCase.model.ts';
5
5
  interface UseDunningCaseOverviewParams {
6
6
  customerUuid: ComputedRef<CustomerUuid | undefined>;
7
7
  activeLevel: ComputedRef<number | null>;
@@ -19,6 +19,6 @@ export declare function useDunningCaseOverview(params: UseDunningCaseOverviewPar
19
19
  fetchNextPage: () => Promise<void>;
20
20
  levelCounts: ComputedRef<(number | null)[]>;
21
21
  levelCountTotal: ComputedRef<number | null>;
22
- result: ComputedRef<import('@wisemen/vue-core-api-utils').AsyncResult<import('@wisemen/vue-core-api-utils').OffsetPaginationResponse<DunningCaseIndex>, ApiError<string>>>;
22
+ trackBulkSend: () => (skippedUuids: DunningCaseUuid[]) => void;
23
23
  };
24
24
  export {};
@@ -1,6 +1,7 @@
1
1
  import { UITableColumn } from '@wisemen/vue-core-design-system';
2
2
  import { DunningCaseIndex } from '../../../models/dunningCase.model.ts';
3
3
  interface UseDunningCaseOverviewTableColumnsOptions {
4
+ onRetry: (item: DunningCaseIndex) => void;
4
5
  onSend: (item: DunningCaseIndex) => void;
5
6
  onViewCustomer: (item: DunningCaseIndex) => void;
6
7
  }
@@ -1,9 +1,5 @@
1
1
  import { DunningCaseReminderPdfInvoice } from '../../../models/dunningCaseReminderPdf.model.ts';
2
2
  type __VLS_Props = {
3
- /**
4
- * Overdue invoices carry a reminder level, a fee and a days overdue count.
5
- * Invoices that are not due yet only show how many days they have left.
6
- */
7
3
  isOverdue?: boolean;
8
4
  rows: DunningCaseReminderPdfInvoice[];
9
5
  };
@@ -1,5 +1,6 @@
1
+ import { DunningCaseUuid } from '../../../models/dunningCase.model.ts';
1
2
  type __VLS_Props = {
2
- onSent: () => void;
3
+ onSent: (skippedUuids: DunningCaseUuid[]) => void;
3
4
  };
4
5
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
6
  close: () => any;
@@ -14,14 +14,14 @@ type __VLS_Props = {
14
14
  scheduleItems: SelectItem<ReminderSchedule>[];
15
15
  };
16
16
  declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
- commitOffset: (event: FocusEvent) => any;
17
+ commitOffset: () => any;
18
+ typeOffset: (isTyping: boolean) => any;
18
19
  updateOffset: (value: number | null) => any;
19
- updateOffsetFromInput: (event: Event) => any;
20
20
  updateSchedule: (value: ReminderSchedule | null) => any;
21
21
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
- onCommitOffset?: ((event: FocusEvent) => any) | undefined;
22
+ onCommitOffset?: (() => any) | undefined;
23
+ onTypeOffset?: ((isTyping: boolean) => any) | undefined;
23
24
  onUpdateOffset?: ((value: number | null) => any) | undefined;
24
- onUpdateOffsetFromInput?: ((event: Event) => any) | undefined;
25
25
  onUpdateSchedule?: ((value: ReminderSchedule | null) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
27
  declare const _default: typeof __VLS_export;
@@ -20,15 +20,15 @@ export interface ReminderLadderMarker {
20
20
  sequence: number;
21
21
  }
22
22
  export interface ReminderLadderController {
23
- commitOffset: (index: number, event?: FocusEvent) => void;
23
+ commitOffset: (index: number) => void;
24
24
  getAbsoluteDay: (index: number) => number;
25
25
  items: Ref<ReminderLadderItem[]>;
26
26
  markers: ComputedRef<ReminderLadderMarker[]>;
27
27
  reset: () => void;
28
28
  setAbsoluteDay: (index: number, absoluteDay: number) => void;
29
+ setTypingOffset: (isTyping: boolean) => void;
29
30
  timelineDays: ComputedRef<number>;
30
31
  updateOffset: (index: number, value: number | null) => void;
31
- updateOffsetFromInput: (index: number, event: Event) => void;
32
32
  updateSchedule: (index: number, value: ReminderSchedule | null) => void;
33
33
  }
34
34
  /**
@@ -1,6 +1,14 @@
1
1
  import { InvoiceApprovalUuid } from '../../models/invoice/approval/invoiceApprovalUuid.model.ts';
2
2
  import { InvoiceUuid } from '../../models/invoiceUuid.model.ts';
3
3
  export declare function useInvoiceRejectApprovalMutation(): import('@wisemen/vue-core-api-utils').UseMutationReturnType<{
4
+ attachments: {
5
+ uuid: string;
6
+ name: string;
7
+ blurHash: string | null;
8
+ mimeType: string;
9
+ order: number;
10
+ url: string | null;
11
+ }[];
4
12
  reason: import('../../../../client').InvoiceApprovalRejectionReason | null;
5
13
  remarks: string | null;
6
14
  }, void, {
@@ -0,0 +1,2 @@
1
+ import { ComputedRef } from 'vue';
2
+ export declare function useInvoicePublicProFormaDetailQuery(token: ComputedRef<string | null>): import('@wisemen/vue-core-api-utils').UseQueryReturnType<import('../../../..').WiseInvoicingInvoicePdfDetail, string>;
@@ -54,6 +54,12 @@ export interface InvoiceQueryKeys {
54
54
  token: string | null;
55
55
  };
56
56
  };
57
+ invoicePublicProFormaDetail: {
58
+ entity: InvoicePdfDetail;
59
+ params: {
60
+ token: string | null;
61
+ };
62
+ };
57
63
  invoiceUserSearch: {
58
64
  entity: InvoicePreparer[];
59
65
  params: {
@@ -39,6 +39,7 @@ export declare class InvoiceService {
39
39
  static getByUuid(invoiceUuid: InvoiceUuid): Promise<ApiResult<InvoiceDetail>>;
40
40
  static getPayments(invoiceUuid: InvoiceUuid): Promise<ApiResult<InvoicePayment[]>>;
41
41
  static getPublicDetail(token: string): Promise<ApiResult<InvoicePdfDetail>>;
42
+ static getPublicProFormaDetail(token: string): Promise<ApiResult<InvoicePdfDetail>>;
42
43
  static markAsDraft(invoiceUuid: InvoiceUuid): Promise<ApiResult<void>>;
43
44
  static markAsPaid(invoiceUuid: InvoiceUuid): Promise<ApiResult<void>>;
44
45
  static markAsPriorApprovalRequired(invoiceUuid: InvoiceUuid): Promise<ApiResult<void>>;
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const invoiceApproveFormSchema: z.ZodObject<{
2
+ declare const invoiceApproveFormBaseSchema: z.ZodObject<{
3
3
  proofOfApproval: z.ZodArray<z.ZodObject<{
4
4
  uuid: z.ZodString;
5
5
  name: z.ZodString;
@@ -10,4 +10,6 @@ export declare const invoiceApproveFormSchema: z.ZodObject<{
10
10
  }, z.core.$strip>>;
11
11
  remarks: z.ZodNullable<z.ZodString>;
12
12
  }, z.core.$strip>;
13
- export type InvoiceApproveForm = z.infer<typeof invoiceApproveFormSchema>;
13
+ export declare function createInvoiceApproveFormSchema(isProofOfApprovalRequired: boolean): typeof invoiceApproveFormBaseSchema;
14
+ export type InvoiceApproveForm = z.infer<typeof invoiceApproveFormBaseSchema>;
15
+ export {};
@@ -1,6 +1,14 @@
1
1
  import { z } from 'zod';
2
2
  import { InvoiceApprovalRejectionReason } from '../../../../../client/index.ts';
3
3
  export declare const invoiceRejectFormSchema: z.ZodObject<{
4
+ attachments: z.ZodArray<z.ZodObject<{
5
+ uuid: z.ZodString;
6
+ name: z.ZodString;
7
+ blurHash: z.ZodNullable<z.ZodString>;
8
+ mimeType: z.ZodString;
9
+ order: z.ZodNumber;
10
+ url: z.ZodNullable<z.ZodString>;
11
+ }, z.core.$strip>>;
4
12
  reason: z.ZodNullable<z.ZodEnum<typeof InvoiceApprovalRejectionReason>>;
5
13
  remarks: z.ZodNullable<z.ZodString>;
6
14
  }, z.core.$strip>;
@@ -9,6 +9,7 @@ export interface InvoiceDetailApproval {
9
9
  hasApprovalHistory: boolean;
10
10
  hasChangesSinceApprovalSent: boolean;
11
11
  approval: InvoiceApproval | null;
12
+ approvalEmail: string | null;
12
13
  approvalProFormaFile: FileReference | null;
13
14
  rejection: InvoiceApprovalRejection | null;
14
15
  requiresPriorApproval: boolean;
@@ -1,13 +1,12 @@
1
- import { InvoiceLifecycleStatus, InvoiceStatus, SettlementStatus, ViewInvoiceIndexFilterQuery, ViewInvoiceIndexSortQueryKey } from '../../../../../client/index.ts';
1
+ import { ApprovalDisplayStatus, InvoiceLifecycleStatus, InvoiceStatus, SettlementStatus, ViewInvoiceIndexFilterQuery, ViewInvoiceIndexSortQueryKey } from '../../../../../client/index.ts';
2
2
  import { CustomerUuid } from '../../../../../models/customer/customerUuid.model.ts';
3
3
  import { InvoiceDateRange } from './invoiceDateRange.model.ts';
4
- import { InvoiceApprovalDisplayStatus } from '../invoiceApprovalStatus.model.ts';
5
4
  import { WithFilterQuery, WithSearchQuery, WithSortQuery } from '../../../../../types/query.type.ts';
6
5
  export interface InvoiceIndexQueryParams extends WithSearchQuery, WithSortQuery<ViewInvoiceIndexSortQueryKey>, WithFilterQuery<{
7
6
  hasChangesSinceApprovalSent?: boolean | null;
8
7
  isOverdue?: boolean | null;
9
8
  issuedOnRange?: InvoiceDateRange | null;
10
- approvalStatus?: InvoiceApprovalDisplayStatus | null;
9
+ approvalStatuses?: ApprovalDisplayStatus[] | null;
11
10
  customerExternalIds?: string[] | null;
12
11
  customerUuids?: CustomerUuid[] | null;
13
12
  customFields?: NonNullable<ViewInvoiceIndexFilterQuery['customFields']> | null;