@wisemen/wise-invoicing-web 0.16.0 → 0.17.0

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 (46) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-CpGYtZKw.js → ApprovalReminderSettingsViewDataProvider-CSvHKx35.js} +3 -3
  2. package/dist/{BillingDocumentDetailViewDataProvider-CA71dgRN.js → BillingDocumentDetailViewDataProvider-BSZiFFDZ.js} +9 -9
  3. package/dist/{BillingDocumentPdf-CvUxfHDH.js → BillingDocumentPdf-DQWebrh4.js} +3 -3
  4. package/dist/{CreditNoteDetailViewDataProvider-DK7hkA8d.js → CreditNoteDetailViewDataProvider-Bs8kadYX.js} +6 -6
  5. package/dist/{CreditNotePdfViewDataProvider-DcQxB1p4.js → CreditNotePdfViewDataProvider-DxojGCdS.js} +3 -3
  6. package/dist/{DunningCaseSendDialog-BWbEi9Vr.js → DunningCaseSendDialog-MJ8KSI2s.js} +3 -3
  7. package/dist/{InvoiceApprovalOutOfSyncIndicator-CptL1bbz.js → InvoiceApprovalOutOfSyncIndicator-BNlaBokg.js} +1 -1
  8. package/dist/{InvoiceApprovalOverviewView-dsTZWXyZ.js → InvoiceApprovalOverviewView-2zmnNJJM.js} +6 -6
  9. package/dist/{InvoiceApprovalStatusBadge-6cSp2XOq.js → InvoiceApprovalStatusBadge-C7-CrTtD.js} +2 -2
  10. package/dist/{InvoiceApproveDialogDataProvider-DsxA74kh.js → InvoiceApproveDialogDataProvider-CclSNBDj.js} +6 -6
  11. package/dist/{InvoiceDeliverySendDialog-byobpQe1.js → InvoiceDeliverySendDialog-BjFaLTOg.js} +3 -3
  12. package/dist/{InvoiceDetailViewDataProvider-DgNkoQNH.js → InvoiceDetailViewDataProvider-DK5Tandr.js} +14 -14
  13. package/dist/{InvoicePdfView-CA-nt_Qs.js → InvoicePdfView-DA34o3C4.js} +1 -1
  14. package/dist/{InvoicePdfViewDataProvider-CVgcgc9t.js → InvoicePdfViewDataProvider-Bl7a578G.js} +3 -3
  15. package/dist/{InvoicePublicProFormaPdfViewDataProvider-BIhn-msJ.js → InvoicePublicProFormaPdfViewDataProvider-DljBWIFb.js} +3 -3
  16. package/dist/{InvoicingFileUploadProvider-DFjM7Xcj.js → InvoicingFileUploadProvider-B3ZzLMR8.js} +1 -1
  17. package/dist/{IssuerSettingsViewDataProvider-2Gk7FgL2.js → IssuerSettingsViewDataProvider-BgpoLQZL.js} +3 -3
  18. package/dist/{PeppolSettingsViewDataProvider-CLgFRfm_.js → PeppolSettingsViewDataProvider-BD2CGw2K.js} +2 -2
  19. package/dist/{api.util-DMgdn9-w.js → api.util-BMza-ojm.js} +831 -779
  20. package/dist/{billingDocumentDetail.transformer-DFlbGUZp.js → billingDocumentDetail.transformer-D8lwLPds.js} +1 -1
  21. package/dist/client/index.d.ts +1 -1
  22. package/dist/client/sdk.gen.d.ts +1 -1
  23. package/dist/client/types.gen.d.ts +133 -70
  24. package/dist/client/zod.gen.d.ts +15350 -11665
  25. package/dist/{creditNoteDetail.query-D7J1umi4.js → creditNoteDetail.query-8g2bZ21Y.js} +2 -2
  26. package/dist/{deliveryReason.util-iMVhwjiW.js → deliveryReason.util-B9ZPSt7J.js} +1 -1
  27. package/dist/{i18n.lib-CEXUpXfo.js → i18n.lib-Bs40rct-.js} +8 -2
  28. package/dist/index.d.ts +6 -0
  29. package/dist/index.js +635 -618
  30. package/dist/{invoice.service-NBqJSMkg.js → invoice.service-Dqj-rXA5.js} +11 -5
  31. package/dist/{invoiceApproval.service-Bk--tRnu.js → invoiceApproval.service-C4ZxwGB8.js} +2 -2
  32. package/dist/{invoiceApprovalStatus.util-CYWPHuJD.js → invoiceApprovalStatus.util-B6IhZXLq.js} +1 -1
  33. package/dist/{invoiceCustomer.service-D13Cwb13.js → invoiceCustomer.service-BNekA43U.js} +2 -2
  34. package/dist/{invoiceDeliveryStatus.util-BExQWz3m.js → invoiceDeliveryStatus.util-CJGCDiFf.js} +2 -2
  35. package/dist/{invoiceDetail.query-CLvnFeZh.js → invoiceDetail.query-xl08jVB3.js} +1 -1
  36. package/dist/{invoicingConfig.composable-BebjIIAC.js → invoicingConfig.composable-B0Kj9ini.js} +2 -2
  37. package/dist/{issuerSettings.query-P_gGS0ER.js → issuerSettings.query-Cmt5oUiJ.js} +1 -1
  38. package/dist/libs/i18n.lib.d.ts +6 -0
  39. package/dist/locales/en-US.json.d.ts +4 -1
  40. package/dist/locales/nl-BE.json.d.ts +4 -1
  41. package/dist/modules/invoice/api/mutations/invoiceBulkFinalize.mutation.d.ts +1 -0
  42. package/dist/modules/invoice/api/services/invoice.service.d.ts +1 -1
  43. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +11 -1
  44. package/dist/{reminderConfig.query-s-gBYoPo.js → reminderConfig.query-DDLxE3no.js} +1 -1
  45. package/dist/types/apiError.type.d.ts +2 -2
  46. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { $ as e, A as t, C as n, D as r, E as ee, F as te, I as ne, J as i, M as a, O as o, P as s, S as c, T as l, U as u, Y as re, _ as ie, a as ae, b as oe, c as se, dt as ce, g as le, gt as ue, h as de, ht as fe, i as pe, k as me, lt as he, n as ge, o as _e, p as ve, q as ye, r as be, t as d, u as xe, ut as Se, v as Ce, w as we, yt as Te, z as Ee } from "./api.util-DMgdn9-w.js";
1
+ import { $ as e, A as t, C as n, D as r, E as ee, F as te, I as ne, J as i, M as a, O as o, P as s, S as c, T as l, U as u, Y as re, _ as ie, a as ae, b as oe, c as se, dt as ce, g as le, gt as ue, h as de, ht as fe, i as pe, k as me, lt as he, n as ge, o as _e, p as ve, q as ye, r as be, t as d, u as xe, ut as Se, v as Ce, w as we, yt as Te, z as Ee } from "./api.util-BMza-ojm.js";
2
2
  import { C as f, F as p, S as De, _ as m, m as h, r as g } from "./documentTitle.composable-QdSLs6eT.js";
3
3
  import { n as _ } from "./useCurrencyFormat.composable-MtZaqKnO.js";
4
4
  import { r as v } from "./src-Vz2dm4sM.js";
5
5
  import { t as y } from "./address.transformer-jGddczLV.js";
6
6
  import { n as b, r as x, t as S } from "./plainDate.transformer-Bhiz9jW7.js";
7
7
  import { n as C, t as w } from "./percentage.util-Bl78kSSk.js";
8
- import { a as T, i as E, n as D, o as Oe, r as ke, t as Ae } from "./billingDocumentDetail.transformer-DFlbGUZp.js";
8
+ import { a as T, i as E, n as D, o as Oe, r as ke, t as Ae } from "./billingDocumentDetail.transformer-D8lwLPds.js";
9
9
  import { t as O } from "./dist-CwkVU5yS.js";
10
10
  import k from "zod";
11
11
  import { ref as je } from "vue";
@@ -594,8 +594,11 @@ var We = class {
594
594
  static async bulkDelete(e) {
595
595
  return (await d.fromPromise(pe({ query: P.toDto(e) }))).map((e) => e.data);
596
596
  }
597
- static async bulkFinalize(e) {
598
- return (await d.fromPromise(ae({ query: P.toDto(e) }))).map((e) => e.data);
597
+ static async bulkFinalize(e, t) {
598
+ return (await d.fromPromise(ae({
599
+ body: { sendOnFinalization: t },
600
+ query: P.toDto(e)
601
+ }))).map((e) => e.data);
599
602
  }
600
603
  static async bulkMarkAsReady(e) {
601
604
  return (await d.fromPromise(_e({ query: P.toDto(e) }))).map((e) => e.data);
@@ -631,7 +634,10 @@ var We = class {
631
634
  return (await d.fromPromise(oe({ path: { uuid: e } }))).map((e) => e.data.uuid);
632
635
  }
633
636
  static async finalize(e) {
634
- let t = await d.fromPromise(c({ path: { uuid: e } }));
637
+ let t = await d.fromPromise(c({
638
+ body: {},
639
+ path: { uuid: e }
640
+ }));
635
641
  return d.void(t);
636
642
  }
637
643
  static async getActivityLogs(t, n) {
@@ -1,6 +1,6 @@
1
- import { W as e, et as t, st as n, t as r } from "./api.util-DMgdn9-w.js";
1
+ import { W as e, et as t, st as n, t as r } from "./api.util-BMza-ojm.js";
2
2
  import { n as i, r as a, t as o } from "./plainDate.transformer-Bhiz9jW7.js";
3
- import { t as s } from "./invoiceApprovalStatus.util-CYWPHuJD.js";
3
+ import { t as s } from "./invoiceApprovalStatus.util-B6IhZXLq.js";
4
4
  //#region src/modules/invoice-approval/models/approvalReminderConfig.transformer.ts
5
5
  var c = class {
6
6
  static toDto(e) {
@@ -1,4 +1,4 @@
1
- import "./api.util-DMgdn9-w.js";
1
+ import "./api.util-BMza-ojm.js";
2
2
  import { a as e, o as t, v as n, y as r } from "./documentTitle.composable-QdSLs6eT.js";
3
3
  //#region src/modules/invoice/models/invoice/invoiceApprovalStatus.util.ts
4
4
  var i = {
@@ -1,5 +1,5 @@
1
- import { nt as e, rt as t, t as n } from "./api.util-DMgdn9-w.js";
2
- import { c as r } from "./invoice.service-NBqJSMkg.js";
1
+ import { nt as e, rt as t, t as n } from "./api.util-BMza-ojm.js";
2
+ import { c as r } from "./invoice.service-Dqj-rXA5.js";
3
3
  //#region src/models/customer/customerDetail.transformer.ts
4
4
  var i = class {
5
5
  static fromDto(e) {
@@ -1,7 +1,7 @@
1
- import "./api.util-DMgdn9-w.js";
1
+ import "./api.util-BMza-ojm.js";
2
2
  import { b as e, j as t } from "./documentTitle.composable-QdSLs6eT.js";
3
3
  import { r as n } from "./useCurrencyFormat.composable-MtZaqKnO.js";
4
- import { i as r } from "./InvoiceDeliverySendDialog-byobpQe1.js";
4
+ import { i as r } from "./InvoiceDeliverySendDialog-BjFaLTOg.js";
5
5
  import { useI18n as i } from "vue-i18n";
6
6
  import { computed as a, createBlock as o, createCommentVNode as s, createVNode as c, defineComponent as l, openBlock as u, unref as d, withCtx as f } from "vue";
7
7
  import { UIBadge as p, UIColumnLayout as m, UIText as h, UITooltip as g, UITooltipContent as _ } from "@wisemen/vue-core-design-system";
@@ -1,4 +1,4 @@
1
- import { t as e } from "./invoice.service-NBqJSMkg.js";
1
+ import { t as e } from "./invoice.service-Dqj-rXA5.js";
2
2
  import { useQuery as t } from "@wisemen/vue-core-api-utils";
3
3
  //#region src/modules/invoice/api/queries/invoiceDetail.query.ts
4
4
  function n(n) {
@@ -1,5 +1,5 @@
1
- import { t as e } from "./i18n.lib-CEXUpXfo.js";
2
- import { bt as t } from "./api.util-DMgdn9-w.js";
1
+ import { t as e } from "./i18n.lib-Bs40rct-.js";
2
+ import { bt as t } from "./api.util-BMza-ojm.js";
3
3
  import { useI18n as n } from "vue-i18n";
4
4
  import { computed as r, ref as i, shallowRef as a, toValue as o, watch as s } from "vue";
5
5
  //#region src/libs/http.lib.ts
@@ -1,4 +1,4 @@
1
- import { X as e, ft as t, t as n } from "./api.util-DMgdn9-w.js";
1
+ import { X as e, ft as t, t as n } from "./api.util-BMza-ojm.js";
2
2
  import { A as r, O as i, h as a, k as o } from "./documentTitle.composable-QdSLs6eT.js";
3
3
  import { n as s, t as c } from "./address.transformer-jGddczLV.js";
4
4
  import { t as l } from "./dist-CwkVU5yS.js";
@@ -65,6 +65,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
65
65
  "wise_invoicing.api_error.invoice_has_no_lines": string;
66
66
  "wise_invoicing.api_error.invoice_line_group_max_depth_exceeded": string;
67
67
  "wise_invoicing.api_error.invoice_not_editable": string;
68
+ "wise_invoicing.api_error.invoice_not_peppol_compliant": string;
68
69
  "wise_invoicing.api_error.invoice_issued_on_before_last_issued": string;
69
70
  "wise_invoicing.api_error.invoice_issued_on_in_closed_period": string;
70
71
  "wise_invoicing.api_error.invoice_issued_on_in_future": string;
@@ -121,6 +122,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
121
122
  "wise_invoicing.invoice.overview.bulk.finalize.loading": string;
122
123
  "wise_invoicing.invoice.overview.bulk.finalize.none_processable": string;
123
124
  "wise_invoicing.invoice.overview.bulk.finalize.processable": string;
125
+ "wise_invoicing.invoice.overview.bulk.finalize.send_on_finalization.label": string;
124
126
  "wise_invoicing.invoice.overview.bulk.finalize.skipped": string;
125
127
  "wise_invoicing.invoice.overview.bulk.finalize.skipped_preview": string;
126
128
  "wise_invoicing.invoice.overview.bulk.finalize.success": string;
@@ -157,6 +159,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
157
159
  "wise_invoicing.invoice.overview.bulk.skip_reason.no_approval_email": string;
158
160
  "wise_invoicing.invoice.overview.bulk.skip_reason.no_recipient": string;
159
161
  "wise_invoicing.invoice.overview.bulk.skip_reason.not_found": string;
162
+ "wise_invoicing.invoice.overview.bulk.skip_reason.not_peppol_compliant": string;
160
163
  "wise_invoicing.invoice.overview.bulk.skip_reason.unknown": string;
161
164
  "wise_invoicing.invoice.overview.bulk.selected_documents": string;
162
165
  "wise_invoicing.invoice.overview.bulk.preview_error": string;
@@ -1117,6 +1120,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
1117
1120
  "wise_invoicing.api_error.invoice_has_no_lines": string;
1118
1121
  "wise_invoicing.api_error.invoice_line_group_max_depth_exceeded": string;
1119
1122
  "wise_invoicing.api_error.invoice_not_editable": string;
1123
+ "wise_invoicing.api_error.invoice_not_peppol_compliant": string;
1120
1124
  "wise_invoicing.api_error.invoice_issued_on_before_last_issued": string;
1121
1125
  "wise_invoicing.api_error.invoice_issued_on_in_closed_period": string;
1122
1126
  "wise_invoicing.api_error.invoice_issued_on_in_future": string;
@@ -1173,6 +1177,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
1173
1177
  "wise_invoicing.invoice.overview.bulk.finalize.loading": string;
1174
1178
  "wise_invoicing.invoice.overview.bulk.finalize.none_processable": string;
1175
1179
  "wise_invoicing.invoice.overview.bulk.finalize.processable": string;
1180
+ "wise_invoicing.invoice.overview.bulk.finalize.send_on_finalization.label": string;
1176
1181
  "wise_invoicing.invoice.overview.bulk.finalize.skipped": string;
1177
1182
  "wise_invoicing.invoice.overview.bulk.finalize.skipped_preview": string;
1178
1183
  "wise_invoicing.invoice.overview.bulk.finalize.success": string;
@@ -1209,6 +1214,7 @@ export declare const i18nPlugin: import('vue-i18n').I18n<{
1209
1214
  "wise_invoicing.invoice.overview.bulk.skip_reason.no_approval_email": string;
1210
1215
  "wise_invoicing.invoice.overview.bulk.skip_reason.no_recipient": string;
1211
1216
  "wise_invoicing.invoice.overview.bulk.skip_reason.not_found": string;
1217
+ "wise_invoicing.invoice.overview.bulk.skip_reason.not_peppol_compliant": string;
1212
1218
  "wise_invoicing.invoice.overview.bulk.skip_reason.unknown": string;
1213
1219
  "wise_invoicing.invoice.overview.bulk.selected_documents": string;
1214
1220
  "wise_invoicing.invoice.overview.bulk.preview_error": string;
@@ -58,6 +58,7 @@ declare const _default: {
58
58
  "wise_invoicing.api_error.invoice_has_no_lines": "Add at least one invoice line before finalizing the invoice.",
59
59
  "wise_invoicing.api_error.invoice_line_group_max_depth_exceeded": "Groups can be nested up to 4 levels.",
60
60
  "wise_invoicing.api_error.invoice_not_editable": "The invoice cannot be edited in its current state.",
61
+ "wise_invoicing.api_error.invoice_not_peppol_compliant": "This invoice can't be sent via Peppol. Add the missing data before finalizing.",
61
62
  "wise_invoicing.api_error.invoice_issued_on_before_last_issued": "The issue date cannot be earlier than that of the last numbered invoice.",
62
63
  "wise_invoicing.api_error.invoice_issued_on_in_closed_period": "The numbering for this issue date is already closed. Use a later issue date.",
63
64
  "wise_invoicing.api_error.invoice_issued_on_in_future": "The issue date cannot be in the future when finalizing.",
@@ -114,6 +115,7 @@ declare const _default: {
114
115
  "wise_invoicing.invoice.overview.bulk.finalize.loading": "Checking selected invoices...",
115
116
  "wise_invoicing.invoice.overview.bulk.finalize.none_processable": "None of the selected invoices can be finalized.",
116
117
  "wise_invoicing.invoice.overview.bulk.finalize.processable": "{count} invoice will be finalized. | {count} invoices will be finalized.",
118
+ "wise_invoicing.invoice.overview.bulk.finalize.send_on_finalization.label": "Send after finalizing",
117
119
  "wise_invoicing.invoice.overview.bulk.finalize.skipped": "{count} invoice could not be finalized. | {count} invoices could not be finalized.",
118
120
  "wise_invoicing.invoice.overview.bulk.finalize.skipped_preview": "{count} invoice is not ready to finalize. | {count} invoices are not ready to finalize.",
119
121
  "wise_invoicing.invoice.overview.bulk.finalize.success": "{count} invoice has been finalized. | {count} invoices have been finalized.",
@@ -150,6 +152,7 @@ declare const _default: {
150
152
  "wise_invoicing.invoice.overview.bulk.skip_reason.no_approval_email": "This customer has no approval email address to send to.",
151
153
  "wise_invoicing.invoice.overview.bulk.skip_reason.no_recipient": "This customer has no default recipient to send to.",
152
154
  "wise_invoicing.invoice.overview.bulk.skip_reason.not_found": "This invoice could no longer be found.",
155
+ "wise_invoicing.invoice.overview.bulk.skip_reason.not_peppol_compliant": "This invoice can't be sent via Peppol yet.",
153
156
  "wise_invoicing.invoice.overview.bulk.skip_reason.unknown": "This invoice could not be processed.",
154
157
  "wise_invoicing.invoice.overview.bulk.selected_documents": "{count} document selected | {count} documents selected",
155
158
  "wise_invoicing.invoice.overview.bulk.preview_error": "We could not check the selected invoices. Close this dialog and try again.",
@@ -1029,7 +1032,7 @@ declare const _default: {
1029
1032
  "wise_invoicing.delivery.errors.missing_email_recipient": "Add a default email recipient for this customer.",
1030
1033
  "wise_invoicing.delivery.errors.incomplete_address": "Complete the supplier and customer addresses.",
1031
1034
  "wise_invoicing.delivery.errors.missing_company_identity": "The supplier and customer need a name and VAT number.",
1032
- "wise_invoicing.delivery.errors.missing_purchase_order_reference": "Add a purchase order reference before finalizing.",
1035
+ "wise_invoicing.delivery.errors.missing_purchase_order_reference": "Add a reference or purchase order reference before sending.",
1033
1036
  "wise_invoicing.delivery.errors.zero_vat_requires_explicit_tax_category": "Zero VAT needs an explicit tax category, which this integration does not support yet.",
1034
1037
  "wise_invoicing.delivery.errors.recipient_unavailable": "The recipient cannot receive this document type on Peppol.",
1035
1038
  "wise_invoicing.delivery.errors.inconsistent_totals": "Document totals do not reconcile. Review the invoice.",
@@ -58,6 +58,7 @@ declare const _default: {
58
58
  "wise_invoicing.api_error.invoice_has_no_lines": "Voeg minstens één factuurlijn toe voordat u de factuur afrondt.",
59
59
  "wise_invoicing.api_error.invoice_line_group_max_depth_exceeded": "Groepen kunnen maximaal 4 niveaus diep genest worden.",
60
60
  "wise_invoicing.api_error.invoice_not_editable": "De factuur kan in de huidige status niet worden bewerkt.",
61
+ "wise_invoicing.api_error.invoice_not_peppol_compliant": "Deze factuur kan niet via Peppol verstuurd worden. Vul de ontbrekende gegevens aan voordat u de factuur afrondt.",
61
62
  "wise_invoicing.api_error.invoice_issued_on_before_last_issued": "De factuurdatum mag niet vroeger zijn dan die van de laatst genummerde factuur.",
62
63
  "wise_invoicing.api_error.invoice_issued_on_in_closed_period": "De nummering voor deze factuurdatum is al afgesloten. Kies een latere factuurdatum.",
63
64
  "wise_invoicing.api_error.invoice_issued_on_in_future": "De factuurdatum mag bij het afronden niet in de toekomst liggen.",
@@ -114,6 +115,7 @@ declare const _default: {
114
115
  "wise_invoicing.invoice.overview.bulk.finalize.loading": "Geselecteerde facturen worden gecontroleerd...",
115
116
  "wise_invoicing.invoice.overview.bulk.finalize.none_processable": "Geen van de geselecteerde facturen kan worden gefinaliseerd.",
116
117
  "wise_invoicing.invoice.overview.bulk.finalize.processable": "{count} factuur wordt gefinaliseerd. | {count} facturen worden gefinaliseerd.",
118
+ "wise_invoicing.invoice.overview.bulk.finalize.send_on_finalization.label": "Versturen na finaliseren",
117
119
  "wise_invoicing.invoice.overview.bulk.finalize.skipped": "{count} factuur kon niet worden gefinaliseerd. | {count} facturen konden niet worden gefinaliseerd.",
118
120
  "wise_invoicing.invoice.overview.bulk.finalize.skipped_preview": "{count} factuur is niet klaar om te finaliseren. | {count} facturen zijn niet klaar om te finaliseren.",
119
121
  "wise_invoicing.invoice.overview.bulk.finalize.success": "{count} factuur is gefinaliseerd. | {count} facturen zijn gefinaliseerd.",
@@ -150,6 +152,7 @@ declare const _default: {
150
152
  "wise_invoicing.invoice.overview.bulk.skip_reason.no_approval_email": "Deze klant heeft geen e-mailadres voor goedkeuring om naar te versturen.",
151
153
  "wise_invoicing.invoice.overview.bulk.skip_reason.no_recipient": "Deze klant heeft geen standaardontvanger om naar te versturen.",
152
154
  "wise_invoicing.invoice.overview.bulk.skip_reason.not_found": "Deze factuur werd niet meer gevonden.",
155
+ "wise_invoicing.invoice.overview.bulk.skip_reason.not_peppol_compliant": "Deze factuur kan nog niet via Peppol verstuurd worden.",
153
156
  "wise_invoicing.invoice.overview.bulk.skip_reason.unknown": "Deze factuur kon niet verwerkt worden.",
154
157
  "wise_invoicing.invoice.overview.bulk.selected_documents": "{count} document geselecteerd | {count} documenten geselecteerd",
155
158
  "wise_invoicing.invoice.overview.bulk.preview_error": "We konden de geselecteerde facturen niet controleren. Sluit dit venster en probeer opnieuw.",
@@ -1029,7 +1032,7 @@ declare const _default: {
1029
1032
  "wise_invoicing.delivery.errors.missing_email_recipient": "Voeg een standaard e-mailontvanger toe voor deze klant.",
1030
1033
  "wise_invoicing.delivery.errors.incomplete_address": "Vul de adressen van leverancier en klant volledig in.",
1031
1034
  "wise_invoicing.delivery.errors.missing_company_identity": "Leverancier en klant hebben een naam en btw-nummer nodig.",
1032
- "wise_invoicing.delivery.errors.missing_purchase_order_reference": "Voeg een bestelreferentie toe voordat je finaliseert.",
1035
+ "wise_invoicing.delivery.errors.missing_purchase_order_reference": "Voeg een referentie of bestelreferentie toe voordat je verzendt.",
1033
1036
  "wise_invoicing.delivery.errors.zero_vat_requires_explicit_tax_category": "Btw aan 0% vereist een expliciete belastingcategorie. Deze integratie ondersteunt dit nog niet.",
1034
1037
  "wise_invoicing.delivery.errors.recipient_unavailable": "De ontvanger kan dit documenttype niet ontvangen via Peppol.",
1035
1038
  "wise_invoicing.delivery.errors.inconsistent_totals": "De documenttotalen komen niet overeen. Controleer de factuur.",
@@ -1,5 +1,6 @@
1
1
  import { BulkFinalizeInvoiceResponse } from '../../../../client/index.ts';
2
2
  import { InvoiceBulkTarget } from '../../models/invoice/bulk/invoiceBulkTarget.model.ts';
3
3
  export declare function useInvoiceBulkFinalizeMutation(): import('@wisemen/vue-core-api-utils').UseMutationReturnType<void, BulkFinalizeInvoiceResponse, {
4
+ sendOnFinalization: boolean;
4
5
  target: InvoiceBulkTarget;
5
6
  }, string>;
@@ -25,7 +25,7 @@ export declare class InvoiceService {
25
25
  static approveApproval(approvalUuid: InvoiceApprovalUuid, form: InvoiceApproveForm): Promise<ApiResult<void>>;
26
26
  static archiveApproval(approvalUuid: InvoiceApprovalUuid): Promise<ApiResult<void>>;
27
27
  static bulkDelete(target: InvoiceBulkTarget): Promise<ApiResult<BulkDeleteInvoiceResponse>>;
28
- static bulkFinalize(target: InvoiceBulkTarget): Promise<ApiResult<BulkFinalizeInvoiceResponse>>;
28
+ static bulkFinalize(target: InvoiceBulkTarget, sendOnFinalization: boolean): Promise<ApiResult<BulkFinalizeInvoiceResponse>>;
29
29
  static bulkMarkAsReady(target: InvoiceBulkTarget): Promise<ApiResult<BulkMarkInvoiceAsReadyResponse>>;
30
30
  static bulkSendApproval(target: InvoiceBulkTarget): Promise<ApiResult<BulkSendInvoiceApprovalResponse>>;
31
31
  static create(form: InvoiceCreateForm): Promise<ApiResult<InvoiceUuid>>;
@@ -17,12 +17,22 @@ type __VLS_Props = {
17
17
  skippedPreviewLabel: string;
18
18
  skipReasons?: Record<string, string>;
19
19
  };
20
- declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
+ declare var __VLS_27: {};
21
+ type __VLS_Slots = {} & {
22
+ default?: (props: typeof __VLS_27) => any;
23
+ };
24
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
21
25
  close: () => any;
22
26
  confirm: () => any;
23
27
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
24
28
  onClose?: (() => any) | undefined;
25
29
  onConfirm?: (() => any) | undefined;
26
30
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
32
  declare const _default: typeof __VLS_export;
28
33
  export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -1,4 +1,4 @@
1
- import { L as e, Q as t, R as n, _t as r, at as i, j as a, ot as o, s, t as c } from "./api.util-DMgdn9-w.js";
1
+ import { L as e, Q as t, R as n, _t as r, at as i, j as a, ot as o, s, t as c } from "./api.util-BMza-ojm.js";
2
2
  import { D as l, _ as u, c as d, g as f } from "./documentTitle.composable-QdSLs6eT.js";
3
3
  import { n as p, t as m } from "./useCurrencyFormat.composable-MtZaqKnO.js";
4
4
  import { n as h, r as g, t as _ } from "./plainDate.transformer-Bhiz9jW7.js";
@@ -1,6 +1,6 @@
1
- import { ExternallyCreatedInvoiceNotEditableError, InvoiceHasNoLinesError, InvoiceIssuedOnBeforeLastIssuedError, InvoiceIssuedOnInClosedPeriodError, InvoiceIssuedOnInFutureError, InvoiceLineGroupMaxDepthExceededError, InvoiceNotEditableError, SequenceDateFormatIncompatibleWithResetError, SequenceSharingWouldReuseNumbersError } from '../client/index.ts';
1
+ import { ExternallyCreatedInvoiceNotEditableError, InvoiceHasNoLinesError, InvoiceIssuedOnBeforeLastIssuedError, InvoiceIssuedOnInClosedPeriodError, InvoiceIssuedOnInFutureError, InvoiceLineGroupMaxDepthExceededError, InvoiceNotEditableError, InvoiceNotPeppolCompliantError, SequenceDateFormatIncompatibleWithResetError, SequenceSharingWouldReuseNumbersError } from '../client/index.ts';
2
2
  import { I18nKey } from '../libs/i18n.lib.ts';
3
- export type ApiErrorCode = ExternallyCreatedInvoiceNotEditableError['code'] | InvoiceHasNoLinesError['code'] | InvoiceIssuedOnBeforeLastIssuedError['code'] | InvoiceIssuedOnInClosedPeriodError['code'] | InvoiceIssuedOnInFutureError['code'] | InvoiceLineGroupMaxDepthExceededError['code'] | InvoiceNotEditableError['code'] | SequenceDateFormatIncompatibleWithResetError['code'] | SequenceSharingWouldReuseNumbersError['code'];
3
+ export type ApiErrorCode = ExternallyCreatedInvoiceNotEditableError['code'] | InvoiceHasNoLinesError['code'] | InvoiceIssuedOnBeforeLastIssuedError['code'] | InvoiceIssuedOnInClosedPeriodError['code'] | InvoiceIssuedOnInFutureError['code'] | InvoiceLineGroupMaxDepthExceededError['code'] | InvoiceNotEditableError['code'] | InvoiceNotPeppolCompliantError['code'] | SequenceDateFormatIncompatibleWithResetError['code'] | SequenceSharingWouldReuseNumbersError['code'];
4
4
  export declare const API_ERROR_I18N_KEYS: Record<ApiErrorCode, I18nKey>;
5
5
  export declare function useApiError(): {
6
6
  messages: import('vue').ComputedRef<Record<string, string>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wisemen/wise-invoicing-web",
3
3
  "type": "module",
4
- "version": "0.16.0",
4
+ "version": "0.17.0",
5
5
  "private": false,
6
6
  "description": "Invoicing frontend package with Vue 3 components, composables and types",
7
7
  "author": "Wisemen",