@wisemen/wise-invoicing-web 0.9.0 → 0.10.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 (73) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-Dsp3ee3c.js → ApprovalReminderSettingsViewDataProvider-BS2YoGgl.js} +3 -3
  2. package/dist/{BillingDocumentDetailViewDataProvider-LDF8-wk8.js → BillingDocumentDetailViewDataProvider-SiA3wKE3.js} +59 -55
  3. package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
  4. package/dist/{BillingDocumentPdf-BYn3lUyl.js → BillingDocumentPdf-TtgJo1fO.js} +70 -64
  5. package/dist/{CreditNoteDetailViewDataProvider-rfc8cExF.js → CreditNoteDetailViewDataProvider-DM1LLE4c.js} +6 -6
  6. package/dist/{CreditNotePdfViewDataProvider-Co4R7QJx.js → CreditNotePdfViewDataProvider-PFBp22fM.js} +3 -3
  7. package/dist/{CustomFieldValueText-BP4bKQh7.js → CustomFieldValueText-WtQNcTYC.js} +2 -2
  8. package/dist/{DunningCaseDetailViewDataProvider-BNByfQTc.js → DunningCaseDetailViewDataProvider-CErdX-pv.js} +4 -4
  9. package/dist/{DunningCaseOverviewView-Dvwaw597.js → DunningCaseOverviewView-WwD9JXjB.js} +3 -3
  10. package/dist/{DunningCaseReminderPdfViewDataProvider-D1avIVyK.js → DunningCaseReminderPdfViewDataProvider-D-CfDeC8.js} +1 -1
  11. package/dist/{DunningCaseSendDialog-DwB_jFum.js → DunningCaseSendDialog-BVO1RRnK.js} +3 -3
  12. package/dist/{InvoiceApprovalOutOfSyncIndicator-B_9HLzpt.js → InvoiceApprovalOutOfSyncIndicator-DjdyQOVZ.js} +1 -1
  13. package/dist/{InvoiceApprovalOverviewView-jawT-M1t.js → InvoiceApprovalOverviewView-DIaEGjCD.js} +6 -6
  14. package/dist/{InvoiceApprovalStatusBadge-D6Sr6JmN.js → InvoiceApprovalStatusBadge-C2Wj9b_Z.js} +2 -2
  15. package/dist/{InvoiceApproveDialogDataProvider-Bwb8bP1e.js → InvoiceApproveDialogDataProvider-C2gzD-Qi.js} +6 -6
  16. package/dist/{InvoiceDetailViewDataProvider-BYYhc2v7.js → InvoiceDetailViewDataProvider-Cgr1UV3A.js} +14 -14
  17. package/dist/{InvoiceOverviewViewDataProvider-CLgV-Jcv.js → InvoiceOverviewViewDataProvider-iGeaSZr2.js} +650 -613
  18. package/dist/{InvoicePdfView-BIDvRCr4.js → InvoicePdfView-HE5xfefh.js} +1 -1
  19. package/dist/{InvoicePdfViewDataProvider-Ct1HBqqa.js → InvoicePdfViewDataProvider-D_nfLvjE.js} +3 -3
  20. package/dist/{InvoicePublicPdfViewDataProvider-DS0Q-BEX.js → InvoicePublicPdfViewDataProvider-BfH3d4Yp.js} +3 -3
  21. package/dist/{InvoicePublicProFormaPdfViewDataProvider-DqWKGeAm.js → InvoicePublicProFormaPdfViewDataProvider-DuULDBXH.js} +3 -3
  22. package/dist/{InvoicingFileUploadProvider-Dl1LvCPm.js → InvoicingFileUploadProvider-BsK5eRGE.js} +1 -1
  23. package/dist/{IssuerSettingsViewDataProvider-CXyyCvoZ.js → IssuerSettingsViewDataProvider-Ca7GPCDE.js} +2 -2
  24. package/dist/{PeppolSettingsViewDataProvider-Cptga29B.js → PeppolSettingsViewDataProvider-ZdJQGqux.js} +1 -1
  25. package/dist/{ReminderSettingsViewDataProvider-BZgzQIxM.js → ReminderSettingsViewDataProvider-DKn_gUae.js} +3 -3
  26. package/dist/{api.util-CR2xLnNj.js → api.util-B3JqQVJA.js} +918 -880
  27. package/dist/{billingDocumentDetail.transformer-D1f6Nv-U.js → billingDocumentDetail.transformer-SThiU53H.js} +1 -1
  28. package/dist/client/index.d.ts +2 -2
  29. package/dist/client/sdk.gen.d.ts +32 -1
  30. package/dist/client/types.gen.d.ts +94 -9
  31. package/dist/client/zod.gen.d.ts +317 -9
  32. package/dist/composables/invoicingConfig.composable.d.ts +2 -0
  33. package/dist/{creditNoteDetail.query-DGeG9_sO.js → creditNoteDetail.query-CJFCcuup.js} +2 -2
  34. package/dist/{i18n.lib-MOiHLIGc.js → i18n.lib-CN9MRGQ0.js} +2 -6
  35. package/dist/index.d.ts +2 -6
  36. package/dist/index.js +27 -27
  37. package/dist/{invoice.service-Fv4F4aZq.js → invoice.service-CqfnsDYm.js} +221 -227
  38. package/dist/{invoiceApproval.service-DJvXagC7.js → invoiceApproval.service-DR9g1Dek.js} +2 -2
  39. package/dist/{invoiceApprovalStatus.util-B98WeAf0.js → invoiceApprovalStatus.util-Nd4E3qlZ.js} +1 -1
  40. package/dist/{invoiceCustomer.service-CDyrtcwH.js → invoiceCustomer.service-D55paEPq.js} +2 -2
  41. package/dist/{invoiceDetail.query-UHE0NCLh.js → invoiceDetail.query-CbfNqxKy.js} +1 -1
  42. package/dist/{invoiceIndexCache.util-CLM7FO6z.js → invoiceIndexCache.util-DrAs1VPN.js} +2 -2
  43. package/dist/{invoicingConfig.composable-UC7tGtBj.js → invoicingConfig.composable-DnGwITQJ.js} +15 -14
  44. package/dist/{issuerSettings.query-CoiXblSm.js → issuerSettings.query-BOgWdNmP.js} +1 -1
  45. package/dist/libs/i18n.lib.d.ts +2 -6
  46. package/dist/locales/en-US.json.d.ts +1 -3
  47. package/dist/locales/nl-BE.json.d.ts +1 -3
  48. package/dist/modules/invoice/api/mutations/invoiceBulkFinalize.mutation.d.ts +2 -2
  49. package/dist/modules/invoice/api/mutations/invoiceBulkMarkAsReady.mutation.d.ts +2 -2
  50. package/dist/modules/invoice/api/mutations/invoiceBulkSend.mutation.d.ts +2 -2
  51. package/dist/modules/invoice/api/mutations/invoiceBulkSendApproval.mutation.d.ts +2 -2
  52. package/dist/modules/invoice/api/services/invoice.service.d.ts +9 -8
  53. package/dist/modules/invoice/models/invoice/bulk/invoiceBulkTarget.model.d.ts +15 -0
  54. package/dist/modules/invoice/models/invoice/bulk/invoiceBulkTarget.transformer.d.ts +10 -0
  55. package/dist/modules/invoice/models/invoice/bulk/invoiceBulkTarget.transformer.spec.d.ts +1 -0
  56. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.transformer.d.ts +7 -1
  57. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewBulkActionBar.vue.d.ts +0 -3
  58. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewBulkActionPlan.composable.d.ts +36 -0
  59. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewBulkActionPlan.composable.spec.d.ts +1 -0
  60. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewBulkSendEligibility.composable.d.ts +4 -1
  61. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewFilters.composable.d.ts +1 -1
  62. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.d.ts +28 -15
  63. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.spec.d.ts +1 -0
  64. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewTableColumns.composable.d.ts +0 -4
  65. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkFinalizeDialog.vue.d.ts +2 -0
  66. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkMarkAsReadyDialog.vue.d.ts +2 -0
  67. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendApprovalDialog.vue.d.ts +2 -0
  68. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendDialog.vue.d.ts +2 -0
  69. package/dist/modules/invoice/use-cases/overview/views/InvoiceOverviewView.vue.d.ts +2 -2
  70. package/dist/{reminderConfig.query-aRFzY6uZ.js → reminderConfig.query-BIfCEIYX.js} +1 -1
  71. package/dist/style.css +1 -1
  72. package/package.json +1 -1
  73. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSelectionCell.vue.d.ts +0 -10
@@ -3583,6 +3583,38 @@ export declare const zDurationDto: z.ZodObject<{
3583
3583
  days: "days";
3584
3584
  }>;
3585
3585
  }, z.core.$strip>;
3586
+ export declare const zContactSetResponse: z.ZodObject<{
3587
+ name: z.ZodNullable<z.ZodString>;
3588
+ email: z.ZodEmail;
3589
+ ccEmails: z.ZodArray<z.ZodEmail>;
3590
+ bccEmails: z.ZodArray<z.ZodEmail>;
3591
+ }, z.core.$strip>;
3592
+ export declare const zCustomerContactsResponse: z.ZodObject<{
3593
+ invoice: z.ZodNullable<z.ZodObject<{
3594
+ name: z.ZodNullable<z.ZodString>;
3595
+ email: z.ZodEmail;
3596
+ ccEmails: z.ZodArray<z.ZodEmail>;
3597
+ bccEmails: z.ZodArray<z.ZodEmail>;
3598
+ }, z.core.$strip>>;
3599
+ creditNote: z.ZodNullable<z.ZodObject<{
3600
+ name: z.ZodNullable<z.ZodString>;
3601
+ email: z.ZodEmail;
3602
+ ccEmails: z.ZodArray<z.ZodEmail>;
3603
+ bccEmails: z.ZodArray<z.ZodEmail>;
3604
+ }, z.core.$strip>>;
3605
+ approval: z.ZodNullable<z.ZodObject<{
3606
+ name: z.ZodNullable<z.ZodString>;
3607
+ email: z.ZodEmail;
3608
+ ccEmails: z.ZodArray<z.ZodEmail>;
3609
+ bccEmails: z.ZodArray<z.ZodEmail>;
3610
+ }, z.core.$strip>>;
3611
+ dunning: z.ZodNullable<z.ZodObject<{
3612
+ name: z.ZodNullable<z.ZodString>;
3613
+ email: z.ZodEmail;
3614
+ ccEmails: z.ZodArray<z.ZodEmail>;
3615
+ bccEmails: z.ZodArray<z.ZodEmail>;
3616
+ }, z.core.$strip>>;
3617
+ }, z.core.$strip>;
3586
3618
  export declare const zViewCustomerDetailResponse: z.ZodObject<{
3587
3619
  uuid: z.ZodUUID;
3588
3620
  createdAt: z.ZodISODateTime;
@@ -3814,6 +3846,32 @@ export declare const zViewCustomerDetailResponse: z.ZodObject<{
3814
3846
  }, z.core.$strip>;
3815
3847
  requiresPriorApproval: z.ZodBoolean;
3816
3848
  approvalEmail: z.ZodNullable<z.ZodEmail>;
3849
+ contacts: z.ZodObject<{
3850
+ invoice: z.ZodNullable<z.ZodObject<{
3851
+ name: z.ZodNullable<z.ZodString>;
3852
+ email: z.ZodEmail;
3853
+ ccEmails: z.ZodArray<z.ZodEmail>;
3854
+ bccEmails: z.ZodArray<z.ZodEmail>;
3855
+ }, z.core.$strip>>;
3856
+ creditNote: z.ZodNullable<z.ZodObject<{
3857
+ name: z.ZodNullable<z.ZodString>;
3858
+ email: z.ZodEmail;
3859
+ ccEmails: z.ZodArray<z.ZodEmail>;
3860
+ bccEmails: z.ZodArray<z.ZodEmail>;
3861
+ }, z.core.$strip>>;
3862
+ approval: z.ZodNullable<z.ZodObject<{
3863
+ name: z.ZodNullable<z.ZodString>;
3864
+ email: z.ZodEmail;
3865
+ ccEmails: z.ZodArray<z.ZodEmail>;
3866
+ bccEmails: z.ZodArray<z.ZodEmail>;
3867
+ }, z.core.$strip>>;
3868
+ dunning: z.ZodNullable<z.ZodObject<{
3869
+ name: z.ZodNullable<z.ZodString>;
3870
+ email: z.ZodEmail;
3871
+ ccEmails: z.ZodArray<z.ZodEmail>;
3872
+ bccEmails: z.ZodArray<z.ZodEmail>;
3873
+ }, z.core.$strip>>;
3874
+ }, z.core.$strip>;
3817
3875
  }, z.core.$strip>;
3818
3876
  export declare const zViewCustomerIndexFilterQuery: z.ZodObject<{
3819
3877
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
@@ -3920,15 +3978,6 @@ export declare const zVatNumberRequiredError: z.ZodObject<{
3920
3978
  vat_number_required: "vat_number_required";
3921
3979
  }>;
3922
3980
  }, z.core.$strip>;
3923
- export declare const zApprovalEmailRequiredError: z.ZodObject<{
3924
- detail: z.ZodOptional<z.ZodString>;
3925
- status: z.ZodEnum<{
3926
- 409: "409";
3927
- }>;
3928
- code: z.ZodEnum<{
3929
- approval_email_required: "approval_email_required";
3930
- }>;
3931
- }, z.core.$strip>;
3932
3981
  export declare const zUpdateCustomerCommand: z.ZodObject<{
3933
3982
  name: z.ZodString;
3934
3983
  address: z.ZodNullable<z.ZodObject<{
@@ -4153,6 +4202,47 @@ export declare const zUpdateCustomerCommand: z.ZodObject<{
4153
4202
  requiresPriorApproval: z.ZodOptional<z.ZodBoolean>;
4154
4203
  approvalEmail: z.ZodNullable<z.ZodEmail>;
4155
4204
  }, z.core.$strip>;
4205
+ export declare const zExternalCustomerContactsReadOnlyError: z.ZodObject<{
4206
+ detail: z.ZodOptional<z.ZodString>;
4207
+ status: z.ZodEnum<{
4208
+ 409: "409";
4209
+ }>;
4210
+ code: z.ZodEnum<{
4211
+ external_customer_contacts_read_only: "external_customer_contacts_read_only";
4212
+ }>;
4213
+ }, z.core.$strip>;
4214
+ export declare const zContactSetCommand: z.ZodObject<{
4215
+ name: z.ZodNullable<z.ZodString>;
4216
+ email: z.ZodEmail;
4217
+ ccEmails: z.ZodArray<z.ZodEmail>;
4218
+ bccEmails: z.ZodArray<z.ZodEmail>;
4219
+ }, z.core.$strip>;
4220
+ export declare const zUpdateCustomerContactsCommand: z.ZodObject<{
4221
+ invoice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4222
+ name: z.ZodNullable<z.ZodString>;
4223
+ email: z.ZodEmail;
4224
+ ccEmails: z.ZodArray<z.ZodEmail>;
4225
+ bccEmails: z.ZodArray<z.ZodEmail>;
4226
+ }, z.core.$strip>>>;
4227
+ creditNote: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4228
+ name: z.ZodNullable<z.ZodString>;
4229
+ email: z.ZodEmail;
4230
+ ccEmails: z.ZodArray<z.ZodEmail>;
4231
+ bccEmails: z.ZodArray<z.ZodEmail>;
4232
+ }, z.core.$strip>>>;
4233
+ approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4234
+ name: z.ZodNullable<z.ZodString>;
4235
+ email: z.ZodEmail;
4236
+ ccEmails: z.ZodArray<z.ZodEmail>;
4237
+ bccEmails: z.ZodArray<z.ZodEmail>;
4238
+ }, z.core.$strip>>>;
4239
+ dunning: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4240
+ name: z.ZodNullable<z.ZodString>;
4241
+ email: z.ZodEmail;
4242
+ ccEmails: z.ZodArray<z.ZodEmail>;
4243
+ bccEmails: z.ZodArray<z.ZodEmail>;
4244
+ }, z.core.$strip>>>;
4245
+ }, z.core.$strip>;
4156
4246
  export declare const zCreateRecipientCommand: z.ZodObject<{
4157
4247
  customerUuid: z.ZodUUID;
4158
4248
  email: z.ZodString;
@@ -12532,8 +12622,37 @@ export declare const zViewPublicInvoiceDetailResponse: z.ZodObject<{
12532
12622
  }>;
12533
12623
  isDisputed: z.ZodBoolean;
12534
12624
  }, z.core.$strip>;
12625
+ export declare const zInvoiceContactOverrideCommand: z.ZodObject<{
12626
+ billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12627
+ name: z.ZodNullable<z.ZodString>;
12628
+ email: z.ZodEmail;
12629
+ ccEmails: z.ZodArray<z.ZodEmail>;
12630
+ bccEmails: z.ZodArray<z.ZodEmail>;
12631
+ }, z.core.$strip>>>;
12632
+ approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12633
+ name: z.ZodNullable<z.ZodString>;
12634
+ email: z.ZodEmail;
12635
+ ccEmails: z.ZodArray<z.ZodEmail>;
12636
+ bccEmails: z.ZodArray<z.ZodEmail>;
12637
+ }, z.core.$strip>>>;
12638
+ }, z.core.$strip>;
12535
12639
  export declare const zCreateInvoiceCommand: z.ZodObject<{
12536
12640
  customerUuid: z.ZodUUID;
12641
+ requiresPriorApproval: z.ZodOptional<z.ZodBoolean>;
12642
+ contactOverride: z.ZodOptional<z.ZodObject<{
12643
+ billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12644
+ name: z.ZodNullable<z.ZodString>;
12645
+ email: z.ZodEmail;
12646
+ ccEmails: z.ZodArray<z.ZodEmail>;
12647
+ bccEmails: z.ZodArray<z.ZodEmail>;
12648
+ }, z.core.$strip>>>;
12649
+ approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12650
+ name: z.ZodNullable<z.ZodString>;
12651
+ email: z.ZodEmail;
12652
+ ccEmails: z.ZodArray<z.ZodEmail>;
12653
+ bccEmails: z.ZodArray<z.ZodEmail>;
12654
+ }, z.core.$strip>>>;
12655
+ }, z.core.$strip>>;
12537
12656
  }, z.core.$strip>;
12538
12657
  export declare const zCreateInvoiceResponse: z.ZodObject<{
12539
12658
  uuid: z.ZodUUID;
@@ -12568,6 +12687,20 @@ export declare const zViewInvoiceDetailRecipientResponse: z.ZodObject<{
12568
12687
  name: z.ZodNullable<z.ZodString>;
12569
12688
  email: z.ZodNullable<z.ZodEmail>;
12570
12689
  }, z.core.$strip>;
12690
+ export declare const zViewInvoiceDetailContactOverrideResponse: z.ZodObject<{
12691
+ billingDocument: z.ZodNullable<z.ZodObject<{
12692
+ name: z.ZodNullable<z.ZodString>;
12693
+ email: z.ZodEmail;
12694
+ ccEmails: z.ZodArray<z.ZodEmail>;
12695
+ bccEmails: z.ZodArray<z.ZodEmail>;
12696
+ }, z.core.$strip>>;
12697
+ approval: z.ZodNullable<z.ZodObject<{
12698
+ name: z.ZodNullable<z.ZodString>;
12699
+ email: z.ZodEmail;
12700
+ ccEmails: z.ZodArray<z.ZodEmail>;
12701
+ bccEmails: z.ZodArray<z.ZodEmail>;
12702
+ }, z.core.$strip>>;
12703
+ }, z.core.$strip>;
12571
12704
  export declare const zViewInvoiceDetailCustomerResponse: z.ZodObject<{
12572
12705
  uuid: z.ZodUUID;
12573
12706
  name: z.ZodNullable<z.ZodString>;
@@ -16411,6 +16544,32 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
16411
16544
  name: z.ZodNullable<z.ZodString>;
16412
16545
  email: z.ZodNullable<z.ZodEmail>;
16413
16546
  }, z.core.$strip>>;
16547
+ billingDocumentRecipient: z.ZodNullable<z.ZodObject<{
16548
+ name: z.ZodNullable<z.ZodString>;
16549
+ email: z.ZodEmail;
16550
+ ccEmails: z.ZodArray<z.ZodEmail>;
16551
+ bccEmails: z.ZodArray<z.ZodEmail>;
16552
+ }, z.core.$strip>>;
16553
+ approvalRecipient: z.ZodNullable<z.ZodObject<{
16554
+ name: z.ZodNullable<z.ZodString>;
16555
+ email: z.ZodEmail;
16556
+ ccEmails: z.ZodArray<z.ZodEmail>;
16557
+ bccEmails: z.ZodArray<z.ZodEmail>;
16558
+ }, z.core.$strip>>;
16559
+ contactOverride: z.ZodObject<{
16560
+ billingDocument: z.ZodNullable<z.ZodObject<{
16561
+ name: z.ZodNullable<z.ZodString>;
16562
+ email: z.ZodEmail;
16563
+ ccEmails: z.ZodArray<z.ZodEmail>;
16564
+ bccEmails: z.ZodArray<z.ZodEmail>;
16565
+ }, z.core.$strip>>;
16566
+ approval: z.ZodNullable<z.ZodObject<{
16567
+ name: z.ZodNullable<z.ZodString>;
16568
+ email: z.ZodEmail;
16569
+ ccEmails: z.ZodArray<z.ZodEmail>;
16570
+ bccEmails: z.ZodArray<z.ZodEmail>;
16571
+ }, z.core.$strip>>;
16572
+ }, z.core.$strip>;
16414
16573
  customer: z.ZodObject<{
16415
16574
  uuid: z.ZodUUID;
16416
16575
  name: z.ZodNullable<z.ZodString>;
@@ -26625,6 +26784,20 @@ export declare const zUpdateInvoiceCommand: z.ZodObject<{
26625
26784
  subject: z.ZodNullable<z.ZodString>;
26626
26785
  preparedByUuid: z.ZodUUID;
26627
26786
  recipientUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
26787
+ contactOverride: z.ZodOptional<z.ZodObject<{
26788
+ billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26789
+ name: z.ZodNullable<z.ZodString>;
26790
+ email: z.ZodEmail;
26791
+ ccEmails: z.ZodArray<z.ZodEmail>;
26792
+ bccEmails: z.ZodArray<z.ZodEmail>;
26793
+ }, z.core.$strip>>>;
26794
+ approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26795
+ name: z.ZodNullable<z.ZodString>;
26796
+ email: z.ZodEmail;
26797
+ ccEmails: z.ZodArray<z.ZodEmail>;
26798
+ bccEmails: z.ZodArray<z.ZodEmail>;
26799
+ }, z.core.$strip>>>;
26800
+ }, z.core.$strip>>;
26628
26801
  externalRemarks: z.ZodNullable<z.ZodString>;
26629
26802
  customerUuid: z.ZodOptional<z.ZodUUID>;
26630
26803
  customFields: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -33627,11 +33800,27 @@ export declare const zUpdateCreditNoteInvoiceLinesCommand: z.ZodObject<{
33627
33800
  }, z.core.$strip>]>>>;
33628
33801
  }, z.core.$strip>>;
33629
33802
  }, z.core.$strip>;
33803
+ export declare const zCreditNoteContactOverrideCommand: z.ZodObject<{
33804
+ billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33805
+ name: z.ZodNullable<z.ZodString>;
33806
+ email: z.ZodEmail;
33807
+ ccEmails: z.ZodArray<z.ZodEmail>;
33808
+ bccEmails: z.ZodArray<z.ZodEmail>;
33809
+ }, z.core.$strip>>>;
33810
+ }, z.core.$strip>;
33630
33811
  export declare const zUpdateCreditNoteCommand: z.ZodObject<{
33631
33812
  issuedOn: z.ZodISODate;
33632
33813
  poNumber: z.ZodNullable<z.ZodString>;
33633
33814
  subject: z.ZodNullable<z.ZodString>;
33634
33815
  recipientUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
33816
+ contactOverride: z.ZodOptional<z.ZodObject<{
33817
+ billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
33818
+ name: z.ZodNullable<z.ZodString>;
33819
+ email: z.ZodEmail;
33820
+ ccEmails: z.ZodArray<z.ZodEmail>;
33821
+ bccEmails: z.ZodArray<z.ZodEmail>;
33822
+ }, z.core.$strip>>>;
33823
+ }, z.core.$strip>>;
33635
33824
  externalRemarks: z.ZodNullable<z.ZodString>;
33636
33825
  preparedByUuid: z.ZodOptional<z.ZodUUID>;
33637
33826
  customFields: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -56594,6 +56783,32 @@ export declare const zViewCustomerDetailV1Response: z.ZodObject<{
56594
56783
  }, z.core.$strip>;
56595
56784
  requiresPriorApproval: z.ZodBoolean;
56596
56785
  approvalEmail: z.ZodNullable<z.ZodEmail>;
56786
+ contacts: z.ZodObject<{
56787
+ invoice: z.ZodNullable<z.ZodObject<{
56788
+ name: z.ZodNullable<z.ZodString>;
56789
+ email: z.ZodEmail;
56790
+ ccEmails: z.ZodArray<z.ZodEmail>;
56791
+ bccEmails: z.ZodArray<z.ZodEmail>;
56792
+ }, z.core.$strip>>;
56793
+ creditNote: z.ZodNullable<z.ZodObject<{
56794
+ name: z.ZodNullable<z.ZodString>;
56795
+ email: z.ZodEmail;
56796
+ ccEmails: z.ZodArray<z.ZodEmail>;
56797
+ bccEmails: z.ZodArray<z.ZodEmail>;
56798
+ }, z.core.$strip>>;
56799
+ approval: z.ZodNullable<z.ZodObject<{
56800
+ name: z.ZodNullable<z.ZodString>;
56801
+ email: z.ZodEmail;
56802
+ ccEmails: z.ZodArray<z.ZodEmail>;
56803
+ bccEmails: z.ZodArray<z.ZodEmail>;
56804
+ }, z.core.$strip>>;
56805
+ dunning: z.ZodNullable<z.ZodObject<{
56806
+ name: z.ZodNullable<z.ZodString>;
56807
+ email: z.ZodEmail;
56808
+ ccEmails: z.ZodArray<z.ZodEmail>;
56809
+ bccEmails: z.ZodArray<z.ZodEmail>;
56810
+ }, z.core.$strip>>;
56811
+ }, z.core.$strip>;
56597
56812
  }, z.core.$strip>;
56598
56813
  export declare const zUpdateCustomerV1Body: z.ZodObject<{
56599
56814
  name: z.ZodString;
@@ -56823,6 +57038,36 @@ export declare const zUpdateCustomerV1Path: z.ZodObject<{
56823
57038
  uuid: z.ZodUUID;
56824
57039
  }, z.core.$strip>;
56825
57040
  export declare const zUpdateCustomerV1Response: z.ZodVoid;
57041
+ export declare const zUpdateCustomerContactsV1Body: z.ZodObject<{
57042
+ invoice: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57043
+ name: z.ZodNullable<z.ZodString>;
57044
+ email: z.ZodEmail;
57045
+ ccEmails: z.ZodArray<z.ZodEmail>;
57046
+ bccEmails: z.ZodArray<z.ZodEmail>;
57047
+ }, z.core.$strip>>>;
57048
+ creditNote: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57049
+ name: z.ZodNullable<z.ZodString>;
57050
+ email: z.ZodEmail;
57051
+ ccEmails: z.ZodArray<z.ZodEmail>;
57052
+ bccEmails: z.ZodArray<z.ZodEmail>;
57053
+ }, z.core.$strip>>>;
57054
+ approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57055
+ name: z.ZodNullable<z.ZodString>;
57056
+ email: z.ZodEmail;
57057
+ ccEmails: z.ZodArray<z.ZodEmail>;
57058
+ bccEmails: z.ZodArray<z.ZodEmail>;
57059
+ }, z.core.$strip>>>;
57060
+ dunning: z.ZodOptional<z.ZodNullable<z.ZodObject<{
57061
+ name: z.ZodNullable<z.ZodString>;
57062
+ email: z.ZodEmail;
57063
+ ccEmails: z.ZodArray<z.ZodEmail>;
57064
+ bccEmails: z.ZodArray<z.ZodEmail>;
57065
+ }, z.core.$strip>>>;
57066
+ }, z.core.$strip>;
57067
+ export declare const zUpdateCustomerContactsV1Path: z.ZodObject<{
57068
+ uuid: z.ZodUUID;
57069
+ }, z.core.$strip>;
57070
+ export declare const zUpdateCustomerContactsV1Response: z.ZodVoid;
56826
57071
  export declare const zDeactivateCustomerV1Path: z.ZodObject<{
56827
57072
  uuid: z.ZodUUID;
56828
57073
  }, z.core.$strip>;
@@ -63462,6 +63707,21 @@ export declare const zViewInvoiceIndexV1Response: z.ZodObject<{
63462
63707
  }, z.core.$strip>;
63463
63708
  export declare const zCreateInvoiceV1Body: z.ZodObject<{
63464
63709
  customerUuid: z.ZodUUID;
63710
+ requiresPriorApproval: z.ZodOptional<z.ZodBoolean>;
63711
+ contactOverride: z.ZodOptional<z.ZodObject<{
63712
+ billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63713
+ name: z.ZodNullable<z.ZodString>;
63714
+ email: z.ZodEmail;
63715
+ ccEmails: z.ZodArray<z.ZodEmail>;
63716
+ bccEmails: z.ZodArray<z.ZodEmail>;
63717
+ }, z.core.$strip>>>;
63718
+ approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
63719
+ name: z.ZodNullable<z.ZodString>;
63720
+ email: z.ZodEmail;
63721
+ ccEmails: z.ZodArray<z.ZodEmail>;
63722
+ bccEmails: z.ZodArray<z.ZodEmail>;
63723
+ }, z.core.$strip>>>;
63724
+ }, z.core.$strip>>;
63465
63725
  }, z.core.$strip>;
63466
63726
  export declare const zCreateInvoiceV1Response: z.ZodObject<{
63467
63727
  uuid: z.ZodUUID;
@@ -63515,6 +63775,32 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
63515
63775
  name: z.ZodNullable<z.ZodString>;
63516
63776
  email: z.ZodNullable<z.ZodEmail>;
63517
63777
  }, z.core.$strip>>;
63778
+ billingDocumentRecipient: z.ZodNullable<z.ZodObject<{
63779
+ name: z.ZodNullable<z.ZodString>;
63780
+ email: z.ZodEmail;
63781
+ ccEmails: z.ZodArray<z.ZodEmail>;
63782
+ bccEmails: z.ZodArray<z.ZodEmail>;
63783
+ }, z.core.$strip>>;
63784
+ approvalRecipient: z.ZodNullable<z.ZodObject<{
63785
+ name: z.ZodNullable<z.ZodString>;
63786
+ email: z.ZodEmail;
63787
+ ccEmails: z.ZodArray<z.ZodEmail>;
63788
+ bccEmails: z.ZodArray<z.ZodEmail>;
63789
+ }, z.core.$strip>>;
63790
+ contactOverride: z.ZodObject<{
63791
+ billingDocument: z.ZodNullable<z.ZodObject<{
63792
+ name: z.ZodNullable<z.ZodString>;
63793
+ email: z.ZodEmail;
63794
+ ccEmails: z.ZodArray<z.ZodEmail>;
63795
+ bccEmails: z.ZodArray<z.ZodEmail>;
63796
+ }, z.core.$strip>>;
63797
+ approval: z.ZodNullable<z.ZodObject<{
63798
+ name: z.ZodNullable<z.ZodString>;
63799
+ email: z.ZodEmail;
63800
+ ccEmails: z.ZodArray<z.ZodEmail>;
63801
+ bccEmails: z.ZodArray<z.ZodEmail>;
63802
+ }, z.core.$strip>>;
63803
+ }, z.core.$strip>;
63518
63804
  customer: z.ZodObject<{
63519
63805
  uuid: z.ZodUUID;
63520
63806
  name: z.ZodNullable<z.ZodString>;
@@ -70608,6 +70894,20 @@ export declare const zUpdateInvoiceV1Body: z.ZodObject<{
70608
70894
  subject: z.ZodNullable<z.ZodString>;
70609
70895
  preparedByUuid: z.ZodUUID;
70610
70896
  recipientUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
70897
+ contactOverride: z.ZodOptional<z.ZodObject<{
70898
+ billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
70899
+ name: z.ZodNullable<z.ZodString>;
70900
+ email: z.ZodEmail;
70901
+ ccEmails: z.ZodArray<z.ZodEmail>;
70902
+ bccEmails: z.ZodArray<z.ZodEmail>;
70903
+ }, z.core.$strip>>>;
70904
+ approval: z.ZodOptional<z.ZodNullable<z.ZodObject<{
70905
+ name: z.ZodNullable<z.ZodString>;
70906
+ email: z.ZodEmail;
70907
+ ccEmails: z.ZodArray<z.ZodEmail>;
70908
+ bccEmails: z.ZodArray<z.ZodEmail>;
70909
+ }, z.core.$strip>>>;
70910
+ }, z.core.$strip>>;
70611
70911
  externalRemarks: z.ZodNullable<z.ZodString>;
70612
70912
  customerUuid: z.ZodOptional<z.ZodUUID>;
70613
70913
  customFields: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -74392,6 +74692,14 @@ export declare const zUpdateCreditNoteV1Body: z.ZodObject<{
74392
74692
  poNumber: z.ZodNullable<z.ZodString>;
74393
74693
  subject: z.ZodNullable<z.ZodString>;
74394
74694
  recipientUuid: z.ZodOptional<z.ZodNullable<z.ZodUUID>>;
74695
+ contactOverride: z.ZodOptional<z.ZodObject<{
74696
+ billingDocument: z.ZodOptional<z.ZodNullable<z.ZodObject<{
74697
+ name: z.ZodNullable<z.ZodString>;
74698
+ email: z.ZodEmail;
74699
+ ccEmails: z.ZodArray<z.ZodEmail>;
74700
+ bccEmails: z.ZodArray<z.ZodEmail>;
74701
+ }, z.core.$strip>>>;
74702
+ }, z.core.$strip>>;
74395
74703
  externalRemarks: z.ZodNullable<z.ZodString>;
74396
74704
  preparedByUuid: z.ZodOptional<z.ZodUUID>;
74397
74705
  customFields: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
@@ -14,6 +14,7 @@ export interface InvoicingConfig {
14
14
  isDeliveryDateVisible?: boolean;
15
15
  isGlobalDiscountEnabled?: boolean;
16
16
  isLineDiscountEnabled?: boolean;
17
+ isUnitVisible?: boolean;
17
18
  }
18
19
  export interface InvoicingInitProps {
19
20
  apiInvoicingBaseUrl: string;
@@ -37,6 +38,7 @@ export declare function useInvoicingConfig(): {
37
38
  isGlobalDiscountEnabled: import('vue').ComputedRef<boolean>;
38
39
  isInitialized: import('vue').ComputedRef<boolean>;
39
40
  isLineDiscountEnabled: import('vue').ComputedRef<boolean>;
41
+ isUnitVisible: import('vue').ComputedRef<boolean>;
40
42
  getCustomerDetailRoute: (customerUuid: string) => RouteLocationRaw | null;
41
43
  getCustomFieldReferenceRoute: (reference: CustomFieldReference) => RouteLocationRaw | null;
42
44
  init: (props: InvoicingInitProps) => Promise<void>;
@@ -1,7 +1,7 @@
1
- import { H as e, L as t, S as n, T as r, V as i, Y as a, h as o, it as s, t as c, y as l } from "./api.util-CR2xLnNj.js";
1
+ import { H as e, L as t, S as n, T as r, V as i, Y as a, h as o, it as s, t as c, y as l } from "./api.util-B3JqQVJA.js";
2
2
  import { r as u, x as d } from "./documentTitle.composable-RvqrZTBa.js";
3
3
  import { n as f, t as p } from "./plainDate.transformer-Bhiz9jW7.js";
4
- import { a as m, n as h, o as g, t as _ } from "./billingDocumentDetail.transformer-D1f6Nv-U.js";
4
+ import { a as m, n as h, o as g, t as _ } from "./billingDocumentDetail.transformer-SThiU53H.js";
5
5
  import { t as v } from "./dist-BFx8U4Su.js";
6
6
  import { useQuery as y } from "@wisemen/vue-core-api-utils";
7
7
  //#region src/modules/credit-note/models/detail/creditNoteDetail.transformer.ts
@@ -75,7 +75,7 @@ var t = {
75
75
  "wise_invoicing.invoice.overview.tabs.overpaid": "Overpaid",
76
76
  "wise_invoicing.invoice.overview.tabs.expired": "Expired",
77
77
  "wise_invoicing.invoice.overview.tabs.protested": "Protested",
78
- "wise_invoicing.invoice.overview.tabs.settled": "Settled",
78
+ "wise_invoicing.invoice.overview.tabs.approvals": "Approvals",
79
79
  "wise_invoicing.invoice.overview.columns.name": "Name",
80
80
  "wise_invoicing.invoice.overview.columns.invoice_number": "Invoice number",
81
81
  "wise_invoicing.invoice.overview.columns.date_created": "Date created",
@@ -112,8 +112,6 @@ var t = {
112
112
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.skipped_preview": "{count} invoice is not ready to mark as ready. | {count} invoices are not ready to mark as ready.",
113
113
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.success": "{count} invoice has been marked as ready. | {count} invoices have been marked as ready.",
114
114
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.title": "Mark {count} invoice as ready? | Mark {count} invoices as ready?",
115
- "wise_invoicing.invoice.overview.bulk.select_all": "Select all",
116
- "wise_invoicing.invoice.overview.bulk.select_document": "Select document",
117
115
  "wise_invoicing.invoice.overview.bulk.send_approval.action": "Send approval requests",
118
116
  "wise_invoicing.invoice.overview.bulk.send_approval.confirm": "Send requests",
119
117
  "wise_invoicing.invoice.overview.bulk.send_approval.description": "Each customer receives the proforma of their invoice to approve.",
@@ -1017,7 +1015,7 @@ var t = {
1017
1015
  "wise_invoicing.invoice.overview.tabs.overpaid": "Overbetaald",
1018
1016
  "wise_invoicing.invoice.overview.tabs.expired": "Vervallen",
1019
1017
  "wise_invoicing.invoice.overview.tabs.protested": "Geprotesteerd",
1020
- "wise_invoicing.invoice.overview.tabs.settled": "Vereffend",
1018
+ "wise_invoicing.invoice.overview.tabs.approvals": "Goedkeuringen",
1021
1019
  "wise_invoicing.invoice.overview.columns.name": "Naam",
1022
1020
  "wise_invoicing.invoice.overview.columns.invoice_number": "Factuurnummer",
1023
1021
  "wise_invoicing.invoice.overview.columns.date_created": "Aanmaakdatum",
@@ -1054,8 +1052,6 @@ var t = {
1054
1052
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.skipped_preview": "{count} factuur is niet klaar om als klaar te markeren. | {count} facturen zijn niet klaar om als klaar te markeren.",
1055
1053
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.success": "{count} factuur is als klaar gemarkeerd. | {count} facturen zijn als klaar gemarkeerd.",
1056
1054
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.title": "Markeer {count} factuur als klaar? | Markeer {count} facturen als klaar?",
1057
- "wise_invoicing.invoice.overview.bulk.select_all": "Alles selecteren",
1058
- "wise_invoicing.invoice.overview.bulk.select_document": "Document selecteren",
1059
1055
  "wise_invoicing.invoice.overview.bulk.send_approval.action": "Goedkeuringsaanvragen versturen",
1060
1056
  "wise_invoicing.invoice.overview.bulk.send_approval.confirm": "Aanvragen versturen",
1061
1057
  "wise_invoicing.invoice.overview.bulk.send_approval.description": "Elke klant ontvangt de proforma van zijn factuur ter goedkeuring.",
package/dist/index.d.ts CHANGED
@@ -197,7 +197,7 @@ export declare const wiseInvoicingLocales: {
197
197
  "wise_invoicing.invoice.overview.tabs.overpaid": string;
198
198
  "wise_invoicing.invoice.overview.tabs.expired": string;
199
199
  "wise_invoicing.invoice.overview.tabs.protested": string;
200
- "wise_invoicing.invoice.overview.tabs.settled": string;
200
+ "wise_invoicing.invoice.overview.tabs.approvals": string;
201
201
  "wise_invoicing.invoice.overview.columns.name": string;
202
202
  "wise_invoicing.invoice.overview.columns.invoice_number": string;
203
203
  "wise_invoicing.invoice.overview.columns.date_created": string;
@@ -234,8 +234,6 @@ export declare const wiseInvoicingLocales: {
234
234
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.skipped_preview": string;
235
235
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.success": string;
236
236
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.title": string;
237
- "wise_invoicing.invoice.overview.bulk.select_all": string;
238
- "wise_invoicing.invoice.overview.bulk.select_document": string;
239
237
  "wise_invoicing.invoice.overview.bulk.send_approval.action": string;
240
238
  "wise_invoicing.invoice.overview.bulk.send_approval.confirm": string;
241
239
  "wise_invoicing.invoice.overview.bulk.send_approval.description": string;
@@ -1199,7 +1197,7 @@ export declare const wiseInvoicingLocales: {
1199
1197
  "wise_invoicing.invoice.overview.tabs.overpaid": string;
1200
1198
  "wise_invoicing.invoice.overview.tabs.expired": string;
1201
1199
  "wise_invoicing.invoice.overview.tabs.protested": string;
1202
- "wise_invoicing.invoice.overview.tabs.settled": string;
1200
+ "wise_invoicing.invoice.overview.tabs.approvals": string;
1203
1201
  "wise_invoicing.invoice.overview.columns.name": string;
1204
1202
  "wise_invoicing.invoice.overview.columns.invoice_number": string;
1205
1203
  "wise_invoicing.invoice.overview.columns.date_created": string;
@@ -1236,8 +1234,6 @@ export declare const wiseInvoicingLocales: {
1236
1234
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.skipped_preview": string;
1237
1235
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.success": string;
1238
1236
  "wise_invoicing.invoice.overview.bulk.mark_as_ready.title": string;
1239
- "wise_invoicing.invoice.overview.bulk.select_all": string;
1240
- "wise_invoicing.invoice.overview.bulk.select_document": string;
1241
1237
  "wise_invoicing.invoice.overview.bulk.send_approval.action": string;
1242
1238
  "wise_invoicing.invoice.overview.bulk.send_approval.confirm": string;
1243
1239
  "wise_invoicing.invoice.overview.bulk.send_approval.description": string;