@wisemen/wise-invoicing-web 0.2.0 → 0.3.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.
- package/dist/{ApprovalReminderSettingsViewDataProvider-D-qXZrPT.js → ApprovalReminderSettingsViewDataProvider-DwtfyQpx.js} +4 -4
- package/dist/{BillingDocumentDetailViewDataProvider-DDdtlW-2.js → BillingDocumentDetailViewDataProvider-TJUwMhtn.js} +1373 -1217
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-ehdFB6mr.js → BillingDocumentPdf-PU9Ldfhs.js} +20 -13
- package/dist/{CreditNoteDetailViewDataProvider-11a-JO3H.js → CreditNoteDetailViewDataProvider-DOPmal5D.js} +89 -89
- package/dist/{CreditNotePdfViewDataProvider-bfeaya3P.js → CreditNotePdfViewDataProvider-BH7MaReQ.js} +2 -2
- package/dist/{CustomFieldValueText-CZQXGE5F.js → CustomFieldValueText-BjRVovZL.js} +25 -25
- package/dist/DunningCaseDetailViewDataProvider-CW8ijY3H.js +439 -0
- package/dist/{DunningCaseOverviewView-y_bCmi5j.js → DunningCaseOverviewView-Cfo-4VIw.js} +255 -203
- package/dist/{DunningCaseReminderPdfViewDataProvider-DNODfED_.js → DunningCaseReminderPdfViewDataProvider-Dr-CS_VQ.js} +4 -3
- package/dist/{DunningCaseSendDialog-BPXcqit5.js → DunningCaseSendDialog-BYFXJYMM.js} +83 -72
- package/dist/InvoiceApprovalOutOfSyncIndicator-CP2GLaeh.js +45 -0
- package/dist/InvoiceApprovalOverviewView-Cjdu9iZC.js +814 -0
- package/dist/InvoiceApprovalStatusBadge-CcX8agTF.js +127 -0
- package/dist/InvoiceApproveDialogDataProvider-4wNAetBn.js +377 -0
- package/dist/{InvoiceDetailViewDataProvider-BYeaaQzL.js → InvoiceDetailViewDataProvider-C9O3hXGo.js} +750 -692
- package/dist/InvoiceOverviewViewDataProvider-DBdw7FvZ.js +1892 -0
- package/dist/{InvoicePdfView-BJRTg_TH.js → InvoicePdfView-CvU9bRVd.js} +10 -4
- package/dist/{InvoicePdfViewDataProvider-CwI_uGm3.js → InvoicePdfViewDataProvider-CFjHQ58K.js} +3 -3
- package/dist/{InvoicePublicPdfViewDataProvider-uZUfsr5K.js → InvoicePublicPdfViewDataProvider-DDv-LdBU.js} +3 -3
- package/dist/InvoicePublicProFormaPdfViewDataProvider-BTjJnELb.js +47 -0
- package/dist/{InvoicingFileUploadProvider-D9Xk4rQM.js → InvoicingFileUploadProvider-Kcq7kSSt.js} +2 -2
- package/dist/{IssuerSettingsViewDataProvider-CGRa8F-2.js → IssuerSettingsViewDataProvider-BuSIVnIl.js} +3 -3
- package/dist/{ReminderSettingsViewDataProvider-1ucp3z2T.js → ReminderSettingsViewDataProvider-CH7gSXnj.js} +100 -102
- package/dist/{api.util-C_kMGlJN.js → api.util-CkIRZS3h.js} +985 -930
- package/dist/{billingDocumentDetail.transformer-Da6_-Hv9.js → billingDocumentDetail.transformer-Bfd8geNo.js} +5 -7
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +2 -1
- package/dist/client/types.gen.d.ts +114 -31
- package/dist/client/zod.gen.d.ts +343 -78
- package/dist/composables/sending-refetch/sendingRefetch.composable.d.ts +7 -0
- package/dist/composables/sending-refetch/sendingRefetch.composable.spec.d.ts +1 -0
- package/dist/{creditNoteDetail.query-DLR7L0Ep.js → creditNoteDetail.query-tLnfqsEB.js} +27 -27
- package/dist/customerUuid.model-ClN4Vi9n.js +18 -0
- package/dist/{dist-Cxdm09Lp.js → dist-BD7Allff.js} +143 -95
- package/dist/{dist-CoztMdYH.js → dist-D5agTXFI.js} +61 -61
- package/dist/{documentTitle.composable-DsBbzhXN.js → documentTitle.composable-CRJjS6p-.js} +19 -17
- package/dist/{i18n.lib-Cvr8pcDw.js → i18n.lib--mzprLMR.js} +88 -54
- package/dist/index.d.ts +56 -22
- package/dist/index.js +193 -201
- package/dist/{invoice.service-DEEA9mal.js → invoice.service-B1w16_Md.js} +184 -172
- package/dist/{invoiceApproval.service-DvL3LliM.js → invoiceApproval.service-BHAJmFkU.js} +8 -8
- package/dist/{invoiceApprovalStatus.util-3Zh10Pj8.js → invoiceApprovalStatus.util-DohOKR4q.js} +42 -38
- package/dist/invoiceCustomer.service-DpVfpQUD.js +39 -0
- package/dist/{invoiceDetail.query-CRoH_SgM.js → invoiceDetail.query-CfyNSXLS.js} +1 -1
- package/dist/{invoiceDeliveryStatus.util-nCsqDypY.js → invoiceIndexCache.util-jHsrFwcA.js} +128 -51
- package/dist/{invoicingConfig.composable-rxjGK882.js → invoicingConfig.composable-COn1rKRf.js} +2 -2
- package/dist/{issuerSettings.query-Dc5gsaEm.js → issuerSettings.query-CDFk2GiP.js} +3 -2
- package/dist/libs/i18n.lib.d.ts +56 -22
- package/dist/locales/en-US.json.d.ts +44 -27
- package/dist/locales/nl-BE.json.d.ts +44 -27
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.model.d.ts +8 -1
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.d.ts +12 -0
- package/dist/models/billing-document/activity-log/billingDocumentActivityLog.util.spec.d.ts +1 -0
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +2 -6
- package/dist/modules/dunning-case/api/mutations/dunningCaseReminderRetry.mutation.d.ts +4 -0
- package/dist/modules/dunning-case/api/services/dunningCase.service.d.ts +2 -1
- package/dist/modules/dunning-case/models/dunningCase.model.d.ts +5 -0
- package/dist/modules/dunning-case/models/dunningCaseReminderPdf.model.d.ts +0 -4
- package/dist/modules/dunning-case/models/dunningCaseReminderPdf.transformer.d.ts +0 -1
- package/dist/modules/dunning-case/test/builders/dunningCaseReminderPdfDto.builder.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewActionsCell.vue.d.ts +2 -0
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.d.ts +2 -2
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewTableColumns.composable.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTable.vue.d.ts +0 -4
- package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseBulkSendDialog.vue.d.ts +2 -1
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderRow.vue.d.ts +4 -4
- package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.d.ts +2 -2
- package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.spec.d.ts +1 -0
- package/dist/modules/invoice/api/mutations/invoiceRejectApproval.mutation.d.ts +8 -0
- package/dist/modules/invoice/api/queries/invoicePublicProFormaDetail.query.d.ts +2 -0
- package/dist/modules/invoice/api/query-keys/invoice.queryKeys.d.ts +6 -0
- package/dist/modules/invoice/api/services/invoice.service.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.d.ts +4 -2
- package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceRejectForm.model.d.ts +8 -0
- package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +2 -3
- package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.model.d.ts +2 -9
- package/dist/modules/invoice/models/invoice/invoiceApprovalStatus.util.d.ts +4 -2
- package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreate.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.transformer.d.ts +2 -1
- package/dist/modules/invoice/routes/invoice.routes.d.ts +4 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialog.vue.d.ts +1 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialogDataProvider.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoicePaymentDeleteDialog.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewDataTableFilters.composable.d.ts +2 -3
- package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.d.ts +11 -9
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +2 -2
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendApprovalDialog.vue.d.ts +3 -1
- package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.d.ts +7 -4
- package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.spec.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/components/BillingDocumentPdf.vue.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfWatermark.vue.d.ts +4 -1
- package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfView.vue.d.ts +1 -0
- package/dist/modules/invoice/use-cases/pdf/views/InvoicePublicProFormaPdfViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.action.d.ts +2 -0
- package/dist/modules/invoice-approval/actions/invoiceApprovalSendRequest.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndex.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/models/invoiceApprovalIndexQueryParams.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverview.composable.d.ts +5 -6
- package/dist/modules/invoice-approval/use-cases/overview/composables/invoiceApprovalOverviewFilters.composable.d.ts +0 -5
- package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +1 -0
- package/dist/{reminderConfig.query-snaHQmrY.js → reminderConfig.query-DSO0ekC_.js} +112 -105
- package/dist/routes/invoicingPublicRoutes.composable.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityApprovalDetails.vue.d.ts +7 -0
- package/package.json +2 -2
- package/dist/DunningCaseDetailViewDataProvider-DC-ziMoO.js +0 -409
- package/dist/InvoiceApprovalOverviewView-DZ14mi4L.js +0 -870
- package/dist/InvoiceApprovalStatusBadge-U-dW2hR4.js +0 -161
- package/dist/InvoiceApproveDialog-2LXneG2r.js +0 -308
- package/dist/InvoiceOverviewBulkSendApprovalDialog-99dfuN4i.js +0 -318
- package/dist/InvoiceOverviewViewDataProvider-CZIQeftL.js +0 -1620
- package/dist/customerUuid.model-GUFYq3O2.js +0 -5
- package/dist/modules/invoice-approval/actions/invoiceApprovalUnmarkAsNeedsApproval.action.d.ts +0 -1
package/dist/client/zod.gen.d.ts
CHANGED
|
@@ -1560,6 +1560,7 @@ export declare const zDomainEventType: z.ZodEnum<{
|
|
|
1560
1560
|
"invoice.disputed-withdrawn": "invoice.disputed-withdrawn";
|
|
1561
1561
|
"invoice.duplicated": "invoice.duplicated";
|
|
1562
1562
|
"invoice.email-sent": "invoice.email-sent";
|
|
1563
|
+
"invoice.finalization-blocked": "invoice.finalization-blocked";
|
|
1563
1564
|
"invoice.finalized": "invoice.finalized";
|
|
1564
1565
|
"invoice.marked-as-disputed": "invoice.marked-as-disputed";
|
|
1565
1566
|
"invoice.marked-as-draft": "invoice.marked-as-draft";
|
|
@@ -1604,6 +1605,7 @@ export declare const zDomainEventType: z.ZodEnum<{
|
|
|
1604
1605
|
"dunning-case.closed": "dunning-case.closed";
|
|
1605
1606
|
"dunning-case.reminder.created": "dunning-case.reminder.created";
|
|
1606
1607
|
"dunning-case.reminder.pdf.generated": "dunning-case.reminder.pdf.generated";
|
|
1608
|
+
"dunning-case.reminder.retried": "dunning-case.reminder.retried";
|
|
1607
1609
|
"dunning-case.reminder.sent": "dunning-case.reminder.sent";
|
|
1608
1610
|
"tenant.created": "tenant.created";
|
|
1609
1611
|
"tenant.updated": "tenant.updated";
|
|
@@ -1648,6 +1650,7 @@ export declare const zViewDomainEventLogIndexItemResponse: z.ZodObject<{
|
|
|
1648
1650
|
"invoice.disputed-withdrawn": "invoice.disputed-withdrawn";
|
|
1649
1651
|
"invoice.duplicated": "invoice.duplicated";
|
|
1650
1652
|
"invoice.email-sent": "invoice.email-sent";
|
|
1653
|
+
"invoice.finalization-blocked": "invoice.finalization-blocked";
|
|
1651
1654
|
"invoice.finalized": "invoice.finalized";
|
|
1652
1655
|
"invoice.marked-as-disputed": "invoice.marked-as-disputed";
|
|
1653
1656
|
"invoice.marked-as-draft": "invoice.marked-as-draft";
|
|
@@ -1692,6 +1695,7 @@ export declare const zViewDomainEventLogIndexItemResponse: z.ZodObject<{
|
|
|
1692
1695
|
"dunning-case.closed": "dunning-case.closed";
|
|
1693
1696
|
"dunning-case.reminder.created": "dunning-case.reminder.created";
|
|
1694
1697
|
"dunning-case.reminder.pdf.generated": "dunning-case.reminder.pdf.generated";
|
|
1698
|
+
"dunning-case.reminder.retried": "dunning-case.reminder.retried";
|
|
1695
1699
|
"dunning-case.reminder.sent": "dunning-case.reminder.sent";
|
|
1696
1700
|
"tenant.created": "tenant.created";
|
|
1697
1701
|
"tenant.updated": "tenant.updated";
|
|
@@ -1762,6 +1766,7 @@ export declare const zViewDomainEventLogIndexResponse: z.ZodObject<{
|
|
|
1762
1766
|
"invoice.disputed-withdrawn": "invoice.disputed-withdrawn";
|
|
1763
1767
|
"invoice.duplicated": "invoice.duplicated";
|
|
1764
1768
|
"invoice.email-sent": "invoice.email-sent";
|
|
1769
|
+
"invoice.finalization-blocked": "invoice.finalization-blocked";
|
|
1765
1770
|
"invoice.finalized": "invoice.finalized";
|
|
1766
1771
|
"invoice.marked-as-disputed": "invoice.marked-as-disputed";
|
|
1767
1772
|
"invoice.marked-as-draft": "invoice.marked-as-draft";
|
|
@@ -1806,6 +1811,7 @@ export declare const zViewDomainEventLogIndexResponse: z.ZodObject<{
|
|
|
1806
1811
|
"dunning-case.closed": "dunning-case.closed";
|
|
1807
1812
|
"dunning-case.reminder.created": "dunning-case.reminder.created";
|
|
1808
1813
|
"dunning-case.reminder.pdf.generated": "dunning-case.reminder.pdf.generated";
|
|
1814
|
+
"dunning-case.reminder.retried": "dunning-case.reminder.retried";
|
|
1809
1815
|
"dunning-case.reminder.sent": "dunning-case.reminder.sent";
|
|
1810
1816
|
"tenant.created": "tenant.created";
|
|
1811
1817
|
"tenant.updated": "tenant.updated";
|
|
@@ -3498,6 +3504,7 @@ export declare const zCreateCustomerCommand: z.ZodObject<{
|
|
|
3498
3504
|
"fr-BE": "fr-BE";
|
|
3499
3505
|
}>;
|
|
3500
3506
|
requiresPriorApproval: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
3507
|
+
approvalEmail: z.ZodNullable<z.ZodEmail>;
|
|
3501
3508
|
}, z.core.$strip>;
|
|
3502
3509
|
export declare const zCreateCustomerResponse: z.ZodObject<{
|
|
3503
3510
|
uuid: z.ZodUUID;
|
|
@@ -3785,6 +3792,7 @@ export declare const zViewCustomerDetailResponse: z.ZodObject<{
|
|
|
3785
3792
|
}>;
|
|
3786
3793
|
}, z.core.$strip>;
|
|
3787
3794
|
requiresPriorApproval: z.ZodBoolean;
|
|
3795
|
+
approvalEmail: z.ZodNullable<z.ZodEmail>;
|
|
3788
3796
|
}, z.core.$strip>;
|
|
3789
3797
|
export declare const zViewCustomerIndexFilterQuery: z.ZodObject<{
|
|
3790
3798
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3891,6 +3899,15 @@ export declare const zVatNumberRequiredError: z.ZodObject<{
|
|
|
3891
3899
|
vat_number_required: "vat_number_required";
|
|
3892
3900
|
}>;
|
|
3893
3901
|
}, z.core.$strip>;
|
|
3902
|
+
export declare const zApprovalEmailRequiredError: z.ZodObject<{
|
|
3903
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
3904
|
+
status: z.ZodEnum<{
|
|
3905
|
+
409: "409";
|
|
3906
|
+
}>;
|
|
3907
|
+
code: z.ZodEnum<{
|
|
3908
|
+
approval_email_required: "approval_email_required";
|
|
3909
|
+
}>;
|
|
3910
|
+
}, z.core.$strip>;
|
|
3894
3911
|
export declare const zUpdateCustomerCommand: z.ZodObject<{
|
|
3895
3912
|
name: z.ZodString;
|
|
3896
3913
|
address: z.ZodNullable<z.ZodObject<{
|
|
@@ -4113,6 +4130,7 @@ export declare const zUpdateCustomerCommand: z.ZodObject<{
|
|
|
4113
4130
|
}>;
|
|
4114
4131
|
}, z.core.$strip>>;
|
|
4115
4132
|
requiresPriorApproval: z.ZodOptional<z.ZodBoolean>;
|
|
4133
|
+
approvalEmail: z.ZodNullable<z.ZodEmail>;
|
|
4116
4134
|
}, z.core.$strip>;
|
|
4117
4135
|
export declare const zCreateRecipientCommand: z.ZodObject<{
|
|
4118
4136
|
customerUuid: z.ZodUUID;
|
|
@@ -12008,6 +12026,7 @@ export declare const zViewInvoiceDetailCustomerResponse: z.ZodObject<{
|
|
|
12008
12026
|
business: "business";
|
|
12009
12027
|
individual: "individual";
|
|
12010
12028
|
}>;
|
|
12029
|
+
approvalEmail: z.ZodNullable<z.ZodEmail>;
|
|
12011
12030
|
}, z.core.$strip>;
|
|
12012
12031
|
export declare const zViewInvoiceDetailOriginalLineResponse: z.ZodObject<{
|
|
12013
12032
|
uuid: z.ZodUUID;
|
|
@@ -15691,6 +15710,7 @@ export declare const zInvoiceApprovalRejectionReason: z.ZodEnum<{
|
|
|
15691
15710
|
missing_or_incorrect_po_reference: "missing_or_incorrect_po_reference";
|
|
15692
15711
|
other: "other";
|
|
15693
15712
|
}>;
|
|
15713
|
+
export declare const zApprovalReminderLevel: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
|
|
15694
15714
|
export declare const zViewInvoiceDetailApprovalResponse: z.ZodObject<{
|
|
15695
15715
|
uuid: z.ZodUUID;
|
|
15696
15716
|
sentAt: z.ZodNullable<z.ZodString>;
|
|
@@ -15725,7 +15745,7 @@ export declare const zViewInvoiceDetailApprovalResponse: z.ZodObject<{
|
|
|
15725
15745
|
}>;
|
|
15726
15746
|
blurHash: z.ZodNullable<z.ZodString>;
|
|
15727
15747
|
}, z.core.$strip>>;
|
|
15728
|
-
|
|
15748
|
+
approvalProofs: z.ZodArray<z.ZodObject<{
|
|
15729
15749
|
uuid: z.ZodUUID;
|
|
15730
15750
|
name: z.ZodString;
|
|
15731
15751
|
mimeType: z.ZodEnum<{
|
|
@@ -15759,6 +15779,8 @@ export declare const zViewInvoiceDetailApprovalResponse: z.ZodObject<{
|
|
|
15759
15779
|
missing_or_incorrect_po_reference: "missing_or_incorrect_po_reference";
|
|
15760
15780
|
other: "other";
|
|
15761
15781
|
}>>;
|
|
15782
|
+
level: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
15783
|
+
reminderSentAt: z.ZodNullable<z.ZodISODateTime>;
|
|
15762
15784
|
}, z.core.$strip>;
|
|
15763
15785
|
export declare const zViewInvoiceDetailResponse: z.ZodObject<{
|
|
15764
15786
|
uuid: z.ZodUUID;
|
|
@@ -15828,6 +15850,7 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
|
|
|
15828
15850
|
business: "business";
|
|
15829
15851
|
individual: "individual";
|
|
15830
15852
|
}>;
|
|
15853
|
+
approvalEmail: z.ZodNullable<z.ZodEmail>;
|
|
15831
15854
|
}, z.core.$strip>;
|
|
15832
15855
|
status: z.ZodEnum<{
|
|
15833
15856
|
draft: "draft";
|
|
@@ -19885,6 +19908,52 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
|
|
|
19885
19908
|
}>;
|
|
19886
19909
|
blurHash: z.ZodNullable<z.ZodString>;
|
|
19887
19910
|
}, z.core.$strip>>;
|
|
19911
|
+
approvalProofs: z.ZodArray<z.ZodObject<{
|
|
19912
|
+
uuid: z.ZodUUID;
|
|
19913
|
+
name: z.ZodString;
|
|
19914
|
+
mimeType: z.ZodEnum<{
|
|
19915
|
+
"application/pdf": "application/pdf";
|
|
19916
|
+
"application/msword": "application/msword";
|
|
19917
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
19918
|
+
"application/vnd.ms-powerpoint": "application/vnd.ms-powerpoint";
|
|
19919
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
19920
|
+
"text/plain": "text/plain";
|
|
19921
|
+
"text/html": "text/html";
|
|
19922
|
+
"text/csv": "text/csv";
|
|
19923
|
+
"image/jpeg": "image/jpeg";
|
|
19924
|
+
"image/png": "image/png";
|
|
19925
|
+
"image/tiff": "image/tiff";
|
|
19926
|
+
"image/bmp": "image/bmp";
|
|
19927
|
+
"image/heic": "image/heic";
|
|
19928
|
+
"image/webp": "image/webp";
|
|
19929
|
+
"image/gif": "image/gif";
|
|
19930
|
+
"application/octet-stream": "application/octet-stream";
|
|
19931
|
+
}>;
|
|
19932
|
+
blurHash: z.ZodNullable<z.ZodString>;
|
|
19933
|
+
}, z.core.$strip>>;
|
|
19934
|
+
rejectionFiles: z.ZodArray<z.ZodObject<{
|
|
19935
|
+
uuid: z.ZodUUID;
|
|
19936
|
+
name: z.ZodString;
|
|
19937
|
+
mimeType: z.ZodEnum<{
|
|
19938
|
+
"application/pdf": "application/pdf";
|
|
19939
|
+
"application/msword": "application/msword";
|
|
19940
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
19941
|
+
"application/vnd.ms-powerpoint": "application/vnd.ms-powerpoint";
|
|
19942
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
19943
|
+
"text/plain": "text/plain";
|
|
19944
|
+
"text/html": "text/html";
|
|
19945
|
+
"text/csv": "text/csv";
|
|
19946
|
+
"image/jpeg": "image/jpeg";
|
|
19947
|
+
"image/png": "image/png";
|
|
19948
|
+
"image/tiff": "image/tiff";
|
|
19949
|
+
"image/bmp": "image/bmp";
|
|
19950
|
+
"image/heic": "image/heic";
|
|
19951
|
+
"image/webp": "image/webp";
|
|
19952
|
+
"image/gif": "image/gif";
|
|
19953
|
+
"application/octet-stream": "application/octet-stream";
|
|
19954
|
+
}>;
|
|
19955
|
+
blurHash: z.ZodNullable<z.ZodString>;
|
|
19956
|
+
}, z.core.$strip>>;
|
|
19888
19957
|
creditNotes: z.ZodArray<z.ZodObject<{
|
|
19889
19958
|
uuid: z.ZodUUID;
|
|
19890
19959
|
createdAt: z.ZodISODateTime;
|
|
@@ -22408,7 +22477,7 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
|
|
|
22408
22477
|
}>;
|
|
22409
22478
|
blurHash: z.ZodNullable<z.ZodString>;
|
|
22410
22479
|
}, z.core.$strip>>;
|
|
22411
|
-
|
|
22480
|
+
approvalProofs: z.ZodArray<z.ZodObject<{
|
|
22412
22481
|
uuid: z.ZodUUID;
|
|
22413
22482
|
name: z.ZodString;
|
|
22414
22483
|
mimeType: z.ZodEnum<{
|
|
@@ -22442,6 +22511,8 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
|
|
|
22442
22511
|
missing_or_incorrect_po_reference: "missing_or_incorrect_po_reference";
|
|
22443
22512
|
other: "other";
|
|
22444
22513
|
}>>;
|
|
22514
|
+
level: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
22515
|
+
reminderSentAt: z.ZodNullable<z.ZodISODateTime>;
|
|
22445
22516
|
}, z.core.$strip>>;
|
|
22446
22517
|
hasChangesSinceApprovalSent: z.ZodBoolean;
|
|
22447
22518
|
}, z.core.$strip>;
|
|
@@ -22734,7 +22805,15 @@ export declare const zScopedUuidFilter: z.ZodObject<{
|
|
|
22734
22805
|
}>;
|
|
22735
22806
|
values: z.ZodArray<z.ZodUUID>;
|
|
22736
22807
|
}, z.core.$strip>;
|
|
22737
|
-
export declare const
|
|
22808
|
+
export declare const zApprovalDisplayStatus: z.ZodEnum<{
|
|
22809
|
+
approved: "approved";
|
|
22810
|
+
rejected: "rejected";
|
|
22811
|
+
expired: "expired";
|
|
22812
|
+
no_approval_required: "no_approval_required";
|
|
22813
|
+
awaiting_approval: "awaiting_approval";
|
|
22814
|
+
reminder_1: "reminder_1";
|
|
22815
|
+
reminder_2: "reminder_2";
|
|
22816
|
+
}>;
|
|
22738
22817
|
export declare const zViewInvoiceIndexFilterQuery: z.ZodObject<{
|
|
22739
22818
|
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
22740
22819
|
draft: "draft";
|
|
@@ -23035,13 +23114,15 @@ export declare const zViewInvoiceIndexFilterQuery: z.ZodObject<{
|
|
|
23035
23114
|
value: z.ZodString;
|
|
23036
23115
|
}, z.core.$strip>]>>>;
|
|
23037
23116
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
23038
|
-
|
|
23117
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
23039
23118
|
approved: "approved";
|
|
23040
23119
|
rejected: "rejected";
|
|
23041
|
-
requested: "requested";
|
|
23042
23120
|
expired: "expired";
|
|
23043
|
-
|
|
23044
|
-
|
|
23121
|
+
no_approval_required: "no_approval_required";
|
|
23122
|
+
awaiting_approval: "awaiting_approval";
|
|
23123
|
+
reminder_1: "reminder_1";
|
|
23124
|
+
reminder_2: "reminder_2";
|
|
23125
|
+
}>>>;
|
|
23045
23126
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
23046
23127
|
}, z.core.$strip>;
|
|
23047
23128
|
export declare const zInvoiceIndexCustomerResponse: z.ZodObject<{
|
|
@@ -29333,6 +29414,15 @@ export declare const zInvoiceAlreadyFinalizedError: z.ZodObject<{
|
|
|
29333
29414
|
invoice_already_finalized: "invoice_already_finalized";
|
|
29334
29415
|
}>;
|
|
29335
29416
|
}, z.core.$strip>;
|
|
29417
|
+
export declare const zInvoiceFinalizationRequiresApprovalErrorMeta: z.ZodObject<{
|
|
29418
|
+
approvalStatus: z.ZodNullable<z.ZodEnum<{
|
|
29419
|
+
approved: "approved";
|
|
29420
|
+
rejected: "rejected";
|
|
29421
|
+
requested: "requested";
|
|
29422
|
+
expired: "expired";
|
|
29423
|
+
}>>;
|
|
29424
|
+
level: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
29425
|
+
}, z.core.$strip>;
|
|
29336
29426
|
export declare const zInvoiceFinalizationRequiresApprovalError: z.ZodObject<{
|
|
29337
29427
|
detail: z.ZodOptional<z.ZodString>;
|
|
29338
29428
|
status: z.ZodEnum<{
|
|
@@ -29341,6 +29431,15 @@ export declare const zInvoiceFinalizationRequiresApprovalError: z.ZodObject<{
|
|
|
29341
29431
|
code: z.ZodEnum<{
|
|
29342
29432
|
invoice_finalization_requires_approval: "invoice_finalization_requires_approval";
|
|
29343
29433
|
}>;
|
|
29434
|
+
meta: z.ZodObject<{
|
|
29435
|
+
approvalStatus: z.ZodNullable<z.ZodEnum<{
|
|
29436
|
+
approved: "approved";
|
|
29437
|
+
rejected: "rejected";
|
|
29438
|
+
requested: "requested";
|
|
29439
|
+
expired: "expired";
|
|
29440
|
+
}>>;
|
|
29441
|
+
level: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
29442
|
+
}, z.core.$strip>;
|
|
29344
29443
|
}, z.core.$strip>;
|
|
29345
29444
|
export declare const zCreditNoteFromDraftInvoiceError: z.ZodObject<{
|
|
29346
29445
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -33058,13 +33157,15 @@ export declare const zBulkSendInvoiceFilterQuery: z.ZodObject<{
|
|
|
33058
33157
|
value: z.ZodString;
|
|
33059
33158
|
}, z.core.$strip>]>>>;
|
|
33060
33159
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
33061
|
-
|
|
33160
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
33062
33161
|
approved: "approved";
|
|
33063
33162
|
rejected: "rejected";
|
|
33064
|
-
requested: "requested";
|
|
33065
33163
|
expired: "expired";
|
|
33066
|
-
|
|
33067
|
-
|
|
33164
|
+
no_approval_required: "no_approval_required";
|
|
33165
|
+
awaiting_approval: "awaiting_approval";
|
|
33166
|
+
reminder_1: "reminder_1";
|
|
33167
|
+
reminder_2: "reminder_2";
|
|
33168
|
+
}>>>;
|
|
33068
33169
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
33069
33170
|
}, z.core.$strip>;
|
|
33070
33171
|
export declare const zBulkActionMeta: z.ZodObject<{
|
|
@@ -33441,13 +33542,15 @@ export declare const zPreviewBulkSendInvoiceFilterQuery: z.ZodObject<{
|
|
|
33441
33542
|
value: z.ZodString;
|
|
33442
33543
|
}, z.core.$strip>]>>>;
|
|
33443
33544
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
33444
|
-
|
|
33545
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
33445
33546
|
approved: "approved";
|
|
33446
33547
|
rejected: "rejected";
|
|
33447
|
-
requested: "requested";
|
|
33448
33548
|
expired: "expired";
|
|
33449
|
-
|
|
33450
|
-
|
|
33549
|
+
no_approval_required: "no_approval_required";
|
|
33550
|
+
awaiting_approval: "awaiting_approval";
|
|
33551
|
+
reminder_1: "reminder_1";
|
|
33552
|
+
reminder_2: "reminder_2";
|
|
33553
|
+
}>>>;
|
|
33451
33554
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
33452
33555
|
}, z.core.$strip>;
|
|
33453
33556
|
export declare const zPreviewBulkSendInvoiceResponse: z.ZodObject<{
|
|
@@ -33831,13 +33934,15 @@ export declare const zPreviewBulkMarkInvoiceAsReadyFilterQuery: z.ZodObject<{
|
|
|
33831
33934
|
value: z.ZodString;
|
|
33832
33935
|
}, z.core.$strip>]>>>;
|
|
33833
33936
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
33834
|
-
|
|
33937
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
33835
33938
|
approved: "approved";
|
|
33836
33939
|
rejected: "rejected";
|
|
33837
|
-
requested: "requested";
|
|
33838
33940
|
expired: "expired";
|
|
33839
|
-
|
|
33840
|
-
|
|
33941
|
+
no_approval_required: "no_approval_required";
|
|
33942
|
+
awaiting_approval: "awaiting_approval";
|
|
33943
|
+
reminder_1: "reminder_1";
|
|
33944
|
+
reminder_2: "reminder_2";
|
|
33945
|
+
}>>>;
|
|
33841
33946
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
33842
33947
|
}, z.core.$strip>;
|
|
33843
33948
|
export declare const zPreviewBulkMarkInvoiceAsReadyResponse: z.ZodObject<{
|
|
@@ -34164,13 +34269,15 @@ export declare const zBulkMarkInvoiceAsReadyFilterQuery: z.ZodObject<{
|
|
|
34164
34269
|
value: z.ZodString;
|
|
34165
34270
|
}, z.core.$strip>]>>>;
|
|
34166
34271
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
34167
|
-
|
|
34272
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
34168
34273
|
approved: "approved";
|
|
34169
34274
|
rejected: "rejected";
|
|
34170
|
-
requested: "requested";
|
|
34171
34275
|
expired: "expired";
|
|
34172
|
-
|
|
34173
|
-
|
|
34276
|
+
no_approval_required: "no_approval_required";
|
|
34277
|
+
awaiting_approval: "awaiting_approval";
|
|
34278
|
+
reminder_1: "reminder_1";
|
|
34279
|
+
reminder_2: "reminder_2";
|
|
34280
|
+
}>>>;
|
|
34174
34281
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
34175
34282
|
}, z.core.$strip>;
|
|
34176
34283
|
export declare const zBulkMarkInvoiceAsReadyResponse: z.ZodObject<{
|
|
@@ -34506,13 +34613,15 @@ export declare const zPreviewBulkFinalizeInvoiceFilterQuery: z.ZodObject<{
|
|
|
34506
34613
|
value: z.ZodString;
|
|
34507
34614
|
}, z.core.$strip>]>>>;
|
|
34508
34615
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
34509
|
-
|
|
34616
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
34510
34617
|
approved: "approved";
|
|
34511
34618
|
rejected: "rejected";
|
|
34512
|
-
requested: "requested";
|
|
34513
34619
|
expired: "expired";
|
|
34514
|
-
|
|
34515
|
-
|
|
34620
|
+
no_approval_required: "no_approval_required";
|
|
34621
|
+
awaiting_approval: "awaiting_approval";
|
|
34622
|
+
reminder_1: "reminder_1";
|
|
34623
|
+
reminder_2: "reminder_2";
|
|
34624
|
+
}>>>;
|
|
34516
34625
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
34517
34626
|
}, z.core.$strip>;
|
|
34518
34627
|
export declare const zPreviewBulkFinalizeInvoiceResponse: z.ZodObject<{
|
|
@@ -34839,13 +34948,15 @@ export declare const zBulkFinalizeInvoiceFilterQuery: z.ZodObject<{
|
|
|
34839
34948
|
value: z.ZodString;
|
|
34840
34949
|
}, z.core.$strip>]>>>;
|
|
34841
34950
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
34842
|
-
|
|
34951
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
34843
34952
|
approved: "approved";
|
|
34844
34953
|
rejected: "rejected";
|
|
34845
|
-
requested: "requested";
|
|
34846
34954
|
expired: "expired";
|
|
34847
|
-
|
|
34848
|
-
|
|
34955
|
+
no_approval_required: "no_approval_required";
|
|
34956
|
+
awaiting_approval: "awaiting_approval";
|
|
34957
|
+
reminder_1: "reminder_1";
|
|
34958
|
+
reminder_2: "reminder_2";
|
|
34959
|
+
}>>>;
|
|
34849
34960
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
34850
34961
|
}, z.core.$strip>;
|
|
34851
34962
|
export declare const zBulkFinalizeInvoiceResponse: z.ZodObject<{
|
|
@@ -34886,8 +34997,10 @@ export declare const zViewActivityLogIndexFilterQuery: z.ZodObject<{
|
|
|
34886
34997
|
entityTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
34887
34998
|
customer: "customer";
|
|
34888
34999
|
invoice: "invoice";
|
|
35000
|
+
file: "file";
|
|
34889
35001
|
credit_note: "credit_note";
|
|
34890
35002
|
approval: "approval";
|
|
35003
|
+
api_key: "api_key";
|
|
34891
35004
|
}>>>;
|
|
34892
35005
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
34893
35006
|
customer: "customer";
|
|
@@ -34895,6 +35008,7 @@ export declare const zViewActivityLogIndexFilterQuery: z.ZodObject<{
|
|
|
34895
35008
|
credit_note: "credit_note";
|
|
34896
35009
|
approval: "approval";
|
|
34897
35010
|
actor: "actor";
|
|
35011
|
+
attachment: "attachment";
|
|
34898
35012
|
}>>>;
|
|
34899
35013
|
}, z.core.$strip>;
|
|
34900
35014
|
export declare const zViewActivityLogIndexQueryKey: z.ZodObject<{
|
|
@@ -34916,6 +35030,8 @@ export declare const zActivityType: z.ZodEnum<{
|
|
|
34916
35030
|
"invoice-reminder-sent": "invoice-reminder-sent";
|
|
34917
35031
|
"invoice-duplicated": "invoice-duplicated";
|
|
34918
35032
|
"invoice-marked-as-ready": "invoice-marked-as-ready";
|
|
35033
|
+
"invoice-marked-as-prior-approval-required": "invoice-marked-as-prior-approval-required";
|
|
35034
|
+
"invoice-unmarked-as-prior-approval-required": "invoice-unmarked-as-prior-approval-required";
|
|
34919
35035
|
"invoice-marked-as-paid": "invoice-marked-as-paid";
|
|
34920
35036
|
"invoice-payment-created": "invoice-payment-created";
|
|
34921
35037
|
"invoice-payment-deleted": "invoice-payment-deleted";
|
|
@@ -34925,6 +35041,8 @@ export declare const zActivityType: z.ZodEnum<{
|
|
|
34925
35041
|
"invoice-approval-cancelled": "invoice-approval-cancelled";
|
|
34926
35042
|
"invoice-approval-expired": "invoice-approval-expired";
|
|
34927
35043
|
"invoice-approval-reminder-sent": "invoice-approval-reminder-sent";
|
|
35044
|
+
"invoice-finalization-blocked": "invoice-finalization-blocked";
|
|
35045
|
+
"dunning-case-reminder-sent": "dunning-case-reminder-sent";
|
|
34928
35046
|
"credit-note-created": "credit-note-created";
|
|
34929
35047
|
"credit-note-updated": "credit-note-updated";
|
|
34930
35048
|
"customer-updated": "customer-updated";
|
|
@@ -34951,12 +35069,15 @@ export declare const zActivityEntityRole: z.ZodEnum<{
|
|
|
34951
35069
|
credit_note: "credit_note";
|
|
34952
35070
|
approval: "approval";
|
|
34953
35071
|
actor: "actor";
|
|
35072
|
+
attachment: "attachment";
|
|
34954
35073
|
}>;
|
|
34955
35074
|
export declare const zActivityEntityType: z.ZodEnum<{
|
|
34956
35075
|
customer: "customer";
|
|
34957
35076
|
invoice: "invoice";
|
|
35077
|
+
file: "file";
|
|
34958
35078
|
credit_note: "credit_note";
|
|
34959
35079
|
approval: "approval";
|
|
35080
|
+
api_key: "api_key";
|
|
34960
35081
|
}>;
|
|
34961
35082
|
export declare const zActivityEntityResponse: z.ZodObject<{
|
|
34962
35083
|
role: z.ZodEnum<{
|
|
@@ -34965,12 +35086,15 @@ export declare const zActivityEntityResponse: z.ZodObject<{
|
|
|
34965
35086
|
credit_note: "credit_note";
|
|
34966
35087
|
approval: "approval";
|
|
34967
35088
|
actor: "actor";
|
|
35089
|
+
attachment: "attachment";
|
|
34968
35090
|
}>;
|
|
34969
35091
|
type: z.ZodEnum<{
|
|
34970
35092
|
customer: "customer";
|
|
34971
35093
|
invoice: "invoice";
|
|
35094
|
+
file: "file";
|
|
34972
35095
|
credit_note: "credit_note";
|
|
34973
35096
|
approval: "approval";
|
|
35097
|
+
api_key: "api_key";
|
|
34974
35098
|
}>;
|
|
34975
35099
|
uuid: z.ZodUUID;
|
|
34976
35100
|
label: z.ZodNullable<z.ZodString>;
|
|
@@ -34982,6 +35106,7 @@ export declare const zActivityChange: z.ZodObject<{
|
|
|
34982
35106
|
credit_note: "credit_note";
|
|
34983
35107
|
approval: "approval";
|
|
34984
35108
|
actor: "actor";
|
|
35109
|
+
attachment: "attachment";
|
|
34985
35110
|
}>;
|
|
34986
35111
|
field: z.ZodString;
|
|
34987
35112
|
from: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -34997,6 +35122,8 @@ export declare const zActivityLogItemResponse: z.ZodObject<{
|
|
|
34997
35122
|
"invoice-reminder-sent": "invoice-reminder-sent";
|
|
34998
35123
|
"invoice-duplicated": "invoice-duplicated";
|
|
34999
35124
|
"invoice-marked-as-ready": "invoice-marked-as-ready";
|
|
35125
|
+
"invoice-marked-as-prior-approval-required": "invoice-marked-as-prior-approval-required";
|
|
35126
|
+
"invoice-unmarked-as-prior-approval-required": "invoice-unmarked-as-prior-approval-required";
|
|
35000
35127
|
"invoice-marked-as-paid": "invoice-marked-as-paid";
|
|
35001
35128
|
"invoice-payment-created": "invoice-payment-created";
|
|
35002
35129
|
"invoice-payment-deleted": "invoice-payment-deleted";
|
|
@@ -35006,6 +35133,8 @@ export declare const zActivityLogItemResponse: z.ZodObject<{
|
|
|
35006
35133
|
"invoice-approval-cancelled": "invoice-approval-cancelled";
|
|
35007
35134
|
"invoice-approval-expired": "invoice-approval-expired";
|
|
35008
35135
|
"invoice-approval-reminder-sent": "invoice-approval-reminder-sent";
|
|
35136
|
+
"invoice-finalization-blocked": "invoice-finalization-blocked";
|
|
35137
|
+
"dunning-case-reminder-sent": "dunning-case-reminder-sent";
|
|
35009
35138
|
"credit-note-created": "credit-note-created";
|
|
35010
35139
|
"credit-note-updated": "credit-note-updated";
|
|
35011
35140
|
"customer-updated": "customer-updated";
|
|
@@ -35033,12 +35162,15 @@ export declare const zActivityLogItemResponse: z.ZodObject<{
|
|
|
35033
35162
|
credit_note: "credit_note";
|
|
35034
35163
|
approval: "approval";
|
|
35035
35164
|
actor: "actor";
|
|
35165
|
+
attachment: "attachment";
|
|
35036
35166
|
}>;
|
|
35037
35167
|
type: z.ZodEnum<{
|
|
35038
35168
|
customer: "customer";
|
|
35039
35169
|
invoice: "invoice";
|
|
35170
|
+
file: "file";
|
|
35040
35171
|
credit_note: "credit_note";
|
|
35041
35172
|
approval: "approval";
|
|
35173
|
+
api_key: "api_key";
|
|
35042
35174
|
}>;
|
|
35043
35175
|
uuid: z.ZodUUID;
|
|
35044
35176
|
label: z.ZodNullable<z.ZodString>;
|
|
@@ -35050,6 +35182,7 @@ export declare const zActivityLogItemResponse: z.ZodObject<{
|
|
|
35050
35182
|
credit_note: "credit_note";
|
|
35051
35183
|
approval: "approval";
|
|
35052
35184
|
actor: "actor";
|
|
35185
|
+
attachment: "attachment";
|
|
35053
35186
|
}>;
|
|
35054
35187
|
field: z.ZodString;
|
|
35055
35188
|
from: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -35067,6 +35200,8 @@ export declare const zViewActivityLogIndexResponse: z.ZodObject<{
|
|
|
35067
35200
|
"invoice-reminder-sent": "invoice-reminder-sent";
|
|
35068
35201
|
"invoice-duplicated": "invoice-duplicated";
|
|
35069
35202
|
"invoice-marked-as-ready": "invoice-marked-as-ready";
|
|
35203
|
+
"invoice-marked-as-prior-approval-required": "invoice-marked-as-prior-approval-required";
|
|
35204
|
+
"invoice-unmarked-as-prior-approval-required": "invoice-unmarked-as-prior-approval-required";
|
|
35070
35205
|
"invoice-marked-as-paid": "invoice-marked-as-paid";
|
|
35071
35206
|
"invoice-payment-created": "invoice-payment-created";
|
|
35072
35207
|
"invoice-payment-deleted": "invoice-payment-deleted";
|
|
@@ -35076,6 +35211,8 @@ export declare const zViewActivityLogIndexResponse: z.ZodObject<{
|
|
|
35076
35211
|
"invoice-approval-cancelled": "invoice-approval-cancelled";
|
|
35077
35212
|
"invoice-approval-expired": "invoice-approval-expired";
|
|
35078
35213
|
"invoice-approval-reminder-sent": "invoice-approval-reminder-sent";
|
|
35214
|
+
"invoice-finalization-blocked": "invoice-finalization-blocked";
|
|
35215
|
+
"dunning-case-reminder-sent": "dunning-case-reminder-sent";
|
|
35079
35216
|
"credit-note-created": "credit-note-created";
|
|
35080
35217
|
"credit-note-updated": "credit-note-updated";
|
|
35081
35218
|
"customer-updated": "customer-updated";
|
|
@@ -35103,12 +35240,15 @@ export declare const zViewActivityLogIndexResponse: z.ZodObject<{
|
|
|
35103
35240
|
credit_note: "credit_note";
|
|
35104
35241
|
approval: "approval";
|
|
35105
35242
|
actor: "actor";
|
|
35243
|
+
attachment: "attachment";
|
|
35106
35244
|
}>;
|
|
35107
35245
|
type: z.ZodEnum<{
|
|
35108
35246
|
customer: "customer";
|
|
35109
35247
|
invoice: "invoice";
|
|
35248
|
+
file: "file";
|
|
35110
35249
|
credit_note: "credit_note";
|
|
35111
35250
|
approval: "approval";
|
|
35251
|
+
api_key: "api_key";
|
|
35112
35252
|
}>;
|
|
35113
35253
|
uuid: z.ZodUUID;
|
|
35114
35254
|
label: z.ZodNullable<z.ZodString>;
|
|
@@ -35120,6 +35260,7 @@ export declare const zViewActivityLogIndexResponse: z.ZodObject<{
|
|
|
35120
35260
|
credit_note: "credit_note";
|
|
35121
35261
|
approval: "approval";
|
|
35122
35262
|
actor: "actor";
|
|
35263
|
+
attachment: "attachment";
|
|
35123
35264
|
}>;
|
|
35124
35265
|
field: z.ZodString;
|
|
35125
35266
|
from: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -40563,6 +40704,7 @@ export declare const zViewDunningCaseDetailResponse: z.ZodObject<{
|
|
|
40563
40704
|
"-infinity": "-infinity";
|
|
40564
40705
|
}>]>>;
|
|
40565
40706
|
canSendReminder: z.ZodBoolean;
|
|
40707
|
+
canRetryReminder: z.ZodBoolean;
|
|
40566
40708
|
latestCreatedReminder: z.ZodNullable<z.ZodObject<{
|
|
40567
40709
|
uuid: z.ZodUUID;
|
|
40568
40710
|
sentAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodEnum<{
|
|
@@ -40804,6 +40946,7 @@ export declare const zDunningCaseIndexResponse: z.ZodObject<{
|
|
|
40804
40946
|
"-infinity": "-infinity";
|
|
40805
40947
|
}>]>>;
|
|
40806
40948
|
canSendReminder: z.ZodBoolean;
|
|
40949
|
+
canRetryReminder: z.ZodBoolean;
|
|
40807
40950
|
latestCreatedReminder: z.ZodNullable<z.ZodObject<{
|
|
40808
40951
|
uuid: z.ZodUUID;
|
|
40809
40952
|
sentAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodEnum<{
|
|
@@ -41021,6 +41164,7 @@ export declare const zViewDunningCaseIndexResponse: z.ZodObject<{
|
|
|
41021
41164
|
"-infinity": "-infinity";
|
|
41022
41165
|
}>]>>;
|
|
41023
41166
|
canSendReminder: z.ZodBoolean;
|
|
41167
|
+
canRetryReminder: z.ZodBoolean;
|
|
41024
41168
|
latestCreatedReminder: z.ZodNullable<z.ZodObject<{
|
|
41025
41169
|
uuid: z.ZodUUID;
|
|
41026
41170
|
sentAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodEnum<{
|
|
@@ -41076,6 +41220,24 @@ export declare const zDunningCaseReminderConfigNotFoundError: z.ZodObject<{
|
|
|
41076
41220
|
dunning_case_reminder_config_not_found: "dunning_case_reminder_config_not_found";
|
|
41077
41221
|
}>;
|
|
41078
41222
|
}, z.core.$strip>;
|
|
41223
|
+
export declare const zDunningCaseReminderNotFoundError: z.ZodObject<{
|
|
41224
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
41225
|
+
status: z.ZodEnum<{
|
|
41226
|
+
404: "404";
|
|
41227
|
+
}>;
|
|
41228
|
+
code: z.ZodEnum<{
|
|
41229
|
+
dunning_case_reminder_not_found: "dunning_case_reminder_not_found";
|
|
41230
|
+
}>;
|
|
41231
|
+
}, z.core.$strip>;
|
|
41232
|
+
export declare const zDunningCaseReminderNotRetryableError: z.ZodObject<{
|
|
41233
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
41234
|
+
status: z.ZodEnum<{
|
|
41235
|
+
409: "409";
|
|
41236
|
+
}>;
|
|
41237
|
+
code: z.ZodEnum<{
|
|
41238
|
+
dunning_case_reminder_not_retryable: "dunning_case_reminder_not_retryable";
|
|
41239
|
+
}>;
|
|
41240
|
+
}, z.core.$strip>;
|
|
41079
41241
|
export declare const zBulkSendDunningCaseReminderFilterQuery: z.ZodObject<{
|
|
41080
41242
|
isOpen: z.ZodOptional<z.ZodBoolean>;
|
|
41081
41243
|
customerUuid: z.ZodOptional<z.ZodUUID>;
|
|
@@ -43343,6 +43505,15 @@ export declare const zApprovalAlreadySentError: z.ZodObject<{
|
|
|
43343
43505
|
approval_already_sent_error: "approval_already_sent_error";
|
|
43344
43506
|
}>;
|
|
43345
43507
|
}, z.core.$strip>;
|
|
43508
|
+
export declare const zCustomerHasNoApprovalEmailError: z.ZodObject<{
|
|
43509
|
+
detail: z.ZodOptional<z.ZodString>;
|
|
43510
|
+
status: z.ZodEnum<{
|
|
43511
|
+
409: "409";
|
|
43512
|
+
}>;
|
|
43513
|
+
code: z.ZodEnum<{
|
|
43514
|
+
customer_has_no_approval_email: "customer_has_no_approval_email";
|
|
43515
|
+
}>;
|
|
43516
|
+
}, z.core.$strip>;
|
|
43346
43517
|
export declare const zPreviewBulkSendInvoiceApprovalFilterQuery: z.ZodObject<{
|
|
43347
43518
|
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
43348
43519
|
draft: "draft";
|
|
@@ -43643,13 +43814,15 @@ export declare const zPreviewBulkSendInvoiceApprovalFilterQuery: z.ZodObject<{
|
|
|
43643
43814
|
value: z.ZodString;
|
|
43644
43815
|
}, z.core.$strip>]>>>;
|
|
43645
43816
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
43646
|
-
|
|
43817
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
43647
43818
|
approved: "approved";
|
|
43648
43819
|
rejected: "rejected";
|
|
43649
|
-
requested: "requested";
|
|
43650
43820
|
expired: "expired";
|
|
43651
|
-
|
|
43652
|
-
|
|
43821
|
+
no_approval_required: "no_approval_required";
|
|
43822
|
+
awaiting_approval: "awaiting_approval";
|
|
43823
|
+
reminder_1: "reminder_1";
|
|
43824
|
+
reminder_2: "reminder_2";
|
|
43825
|
+
}>>>;
|
|
43653
43826
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
43654
43827
|
}, z.core.$strip>;
|
|
43655
43828
|
export declare const zPreviewBulkSendInvoiceApprovalResponse: z.ZodObject<{
|
|
@@ -43976,13 +44149,15 @@ export declare const zBulkSendInvoiceApprovalFilterQuery: z.ZodObject<{
|
|
|
43976
44149
|
value: z.ZodString;
|
|
43977
44150
|
}, z.core.$strip>]>>>;
|
|
43978
44151
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
43979
|
-
|
|
44152
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
43980
44153
|
approved: "approved";
|
|
43981
44154
|
rejected: "rejected";
|
|
43982
|
-
requested: "requested";
|
|
43983
44155
|
expired: "expired";
|
|
43984
|
-
|
|
43985
|
-
|
|
44156
|
+
no_approval_required: "no_approval_required";
|
|
44157
|
+
awaiting_approval: "awaiting_approval";
|
|
44158
|
+
reminder_1: "reminder_1";
|
|
44159
|
+
reminder_2: "reminder_2";
|
|
44160
|
+
}>>>;
|
|
43986
44161
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
43987
44162
|
}, z.core.$strip>;
|
|
43988
44163
|
export declare const zBulkSendInvoiceApprovalResponse: z.ZodObject<{
|
|
@@ -44037,7 +44212,7 @@ export declare const zMissingInvoiceApprovalFileError: z.ZodObject<{
|
|
|
44037
44212
|
}>;
|
|
44038
44213
|
}, z.core.$strip>;
|
|
44039
44214
|
export declare const zApproveInvoiceApprovalCommand: z.ZodObject<{
|
|
44040
|
-
|
|
44215
|
+
fileUuids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
44041
44216
|
remarks: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44042
44217
|
}, z.core.$strip>;
|
|
44043
44218
|
export declare const zMissingRejectionRemarksError: z.ZodObject<{
|
|
@@ -44060,6 +44235,7 @@ export declare const zRejectInvoiceApprovalCommand: z.ZodObject<{
|
|
|
44060
44235
|
missing_or_incorrect_po_reference: "missing_or_incorrect_po_reference";
|
|
44061
44236
|
other: "other";
|
|
44062
44237
|
}>;
|
|
44238
|
+
fileUuids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
44063
44239
|
}, z.core.$strip>;
|
|
44064
44240
|
export declare const zInvoiceApprovalAlreadyCancelledError: z.ZodObject<{
|
|
44065
44241
|
detail: z.ZodOptional<z.ZodString>;
|
|
@@ -53874,6 +54050,7 @@ export declare const zViewDomainEventLogIndexV1Response: z.ZodObject<{
|
|
|
53874
54050
|
"invoice.disputed-withdrawn": "invoice.disputed-withdrawn";
|
|
53875
54051
|
"invoice.duplicated": "invoice.duplicated";
|
|
53876
54052
|
"invoice.email-sent": "invoice.email-sent";
|
|
54053
|
+
"invoice.finalization-blocked": "invoice.finalization-blocked";
|
|
53877
54054
|
"invoice.finalized": "invoice.finalized";
|
|
53878
54055
|
"invoice.marked-as-disputed": "invoice.marked-as-disputed";
|
|
53879
54056
|
"invoice.marked-as-draft": "invoice.marked-as-draft";
|
|
@@ -53918,6 +54095,7 @@ export declare const zViewDomainEventLogIndexV1Response: z.ZodObject<{
|
|
|
53918
54095
|
"dunning-case.closed": "dunning-case.closed";
|
|
53919
54096
|
"dunning-case.reminder.created": "dunning-case.reminder.created";
|
|
53920
54097
|
"dunning-case.reminder.pdf.generated": "dunning-case.reminder.pdf.generated";
|
|
54098
|
+
"dunning-case.reminder.retried": "dunning-case.reminder.retried";
|
|
53921
54099
|
"dunning-case.reminder.sent": "dunning-case.reminder.sent";
|
|
53922
54100
|
"tenant.created": "tenant.created";
|
|
53923
54101
|
"tenant.updated": "tenant.updated";
|
|
@@ -54616,6 +54794,7 @@ export declare const zCreateCustomerV1Body: z.ZodObject<{
|
|
|
54616
54794
|
"fr-BE": "fr-BE";
|
|
54617
54795
|
}>;
|
|
54618
54796
|
requiresPriorApproval: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
54797
|
+
approvalEmail: z.ZodNullable<z.ZodEmail>;
|
|
54619
54798
|
}, z.core.$strip>;
|
|
54620
54799
|
export declare const zCreateCustomerV1Response: z.ZodObject<{
|
|
54621
54800
|
uuid: z.ZodUUID;
|
|
@@ -54853,6 +55032,7 @@ export declare const zViewCustomerDetailV1Response: z.ZodObject<{
|
|
|
54853
55032
|
}>;
|
|
54854
55033
|
}, z.core.$strip>;
|
|
54855
55034
|
requiresPriorApproval: z.ZodBoolean;
|
|
55035
|
+
approvalEmail: z.ZodNullable<z.ZodEmail>;
|
|
54856
55036
|
}, z.core.$strip>;
|
|
54857
55037
|
export declare const zUpdateCustomerV1Body: z.ZodObject<{
|
|
54858
55038
|
name: z.ZodString;
|
|
@@ -55076,6 +55256,7 @@ export declare const zUpdateCustomerV1Body: z.ZodObject<{
|
|
|
55076
55256
|
}>;
|
|
55077
55257
|
}, z.core.$strip>>;
|
|
55078
55258
|
requiresPriorApproval: z.ZodOptional<z.ZodBoolean>;
|
|
55259
|
+
approvalEmail: z.ZodNullable<z.ZodEmail>;
|
|
55079
55260
|
}, z.core.$strip>;
|
|
55080
55261
|
export declare const zUpdateCustomerV1Path: z.ZodObject<{
|
|
55081
55262
|
uuid: z.ZodUUID;
|
|
@@ -60028,13 +60209,15 @@ export declare const zViewInvoiceIndexV1Query: z.ZodObject<{
|
|
|
60028
60209
|
value: z.ZodString;
|
|
60029
60210
|
}, z.core.$strip>]>>>;
|
|
60030
60211
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
60031
|
-
|
|
60212
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
60032
60213
|
approved: "approved";
|
|
60033
60214
|
rejected: "rejected";
|
|
60034
|
-
requested: "requested";
|
|
60035
60215
|
expired: "expired";
|
|
60036
|
-
|
|
60037
|
-
|
|
60216
|
+
no_approval_required: "no_approval_required";
|
|
60217
|
+
awaiting_approval: "awaiting_approval";
|
|
60218
|
+
reminder_1: "reminder_1";
|
|
60219
|
+
reminder_2: "reminder_2";
|
|
60220
|
+
}>>>;
|
|
60038
60221
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
60039
60222
|
}, z.core.$strip>>;
|
|
60040
60223
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -61352,6 +61535,7 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
|
|
|
61352
61535
|
business: "business";
|
|
61353
61536
|
individual: "individual";
|
|
61354
61537
|
}>;
|
|
61538
|
+
approvalEmail: z.ZodNullable<z.ZodEmail>;
|
|
61355
61539
|
}, z.core.$strip>;
|
|
61356
61540
|
status: z.ZodEnum<{
|
|
61357
61541
|
draft: "draft";
|
|
@@ -65409,6 +65593,52 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
|
|
|
65409
65593
|
}>;
|
|
65410
65594
|
blurHash: z.ZodNullable<z.ZodString>;
|
|
65411
65595
|
}, z.core.$strip>>;
|
|
65596
|
+
approvalProofs: z.ZodArray<z.ZodObject<{
|
|
65597
|
+
uuid: z.ZodUUID;
|
|
65598
|
+
name: z.ZodString;
|
|
65599
|
+
mimeType: z.ZodEnum<{
|
|
65600
|
+
"application/pdf": "application/pdf";
|
|
65601
|
+
"application/msword": "application/msword";
|
|
65602
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
65603
|
+
"application/vnd.ms-powerpoint": "application/vnd.ms-powerpoint";
|
|
65604
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
65605
|
+
"text/plain": "text/plain";
|
|
65606
|
+
"text/html": "text/html";
|
|
65607
|
+
"text/csv": "text/csv";
|
|
65608
|
+
"image/jpeg": "image/jpeg";
|
|
65609
|
+
"image/png": "image/png";
|
|
65610
|
+
"image/tiff": "image/tiff";
|
|
65611
|
+
"image/bmp": "image/bmp";
|
|
65612
|
+
"image/heic": "image/heic";
|
|
65613
|
+
"image/webp": "image/webp";
|
|
65614
|
+
"image/gif": "image/gif";
|
|
65615
|
+
"application/octet-stream": "application/octet-stream";
|
|
65616
|
+
}>;
|
|
65617
|
+
blurHash: z.ZodNullable<z.ZodString>;
|
|
65618
|
+
}, z.core.$strip>>;
|
|
65619
|
+
rejectionFiles: z.ZodArray<z.ZodObject<{
|
|
65620
|
+
uuid: z.ZodUUID;
|
|
65621
|
+
name: z.ZodString;
|
|
65622
|
+
mimeType: z.ZodEnum<{
|
|
65623
|
+
"application/pdf": "application/pdf";
|
|
65624
|
+
"application/msword": "application/msword";
|
|
65625
|
+
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
65626
|
+
"application/vnd.ms-powerpoint": "application/vnd.ms-powerpoint";
|
|
65627
|
+
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
|
65628
|
+
"text/plain": "text/plain";
|
|
65629
|
+
"text/html": "text/html";
|
|
65630
|
+
"text/csv": "text/csv";
|
|
65631
|
+
"image/jpeg": "image/jpeg";
|
|
65632
|
+
"image/png": "image/png";
|
|
65633
|
+
"image/tiff": "image/tiff";
|
|
65634
|
+
"image/bmp": "image/bmp";
|
|
65635
|
+
"image/heic": "image/heic";
|
|
65636
|
+
"image/webp": "image/webp";
|
|
65637
|
+
"image/gif": "image/gif";
|
|
65638
|
+
"application/octet-stream": "application/octet-stream";
|
|
65639
|
+
}>;
|
|
65640
|
+
blurHash: z.ZodNullable<z.ZodString>;
|
|
65641
|
+
}, z.core.$strip>>;
|
|
65412
65642
|
creditNotes: z.ZodArray<z.ZodObject<{
|
|
65413
65643
|
uuid: z.ZodUUID;
|
|
65414
65644
|
createdAt: z.ZodISODateTime;
|
|
@@ -67932,7 +68162,7 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
|
|
|
67932
68162
|
}>;
|
|
67933
68163
|
blurHash: z.ZodNullable<z.ZodString>;
|
|
67934
68164
|
}, z.core.$strip>>;
|
|
67935
|
-
|
|
68165
|
+
approvalProofs: z.ZodArray<z.ZodObject<{
|
|
67936
68166
|
uuid: z.ZodUUID;
|
|
67937
68167
|
name: z.ZodString;
|
|
67938
68168
|
mimeType: z.ZodEnum<{
|
|
@@ -67966,6 +68196,8 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
|
|
|
67966
68196
|
missing_or_incorrect_po_reference: "missing_or_incorrect_po_reference";
|
|
67967
68197
|
other: "other";
|
|
67968
68198
|
}>>;
|
|
68199
|
+
level: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
|
|
68200
|
+
reminderSentAt: z.ZodNullable<z.ZodISODateTime>;
|
|
67969
68201
|
}, z.core.$strip>>;
|
|
67970
68202
|
hasChangesSinceApprovalSent: z.ZodBoolean;
|
|
67971
68203
|
}, z.core.$strip>;
|
|
@@ -72273,13 +72505,15 @@ export declare const zBulkSendInvoiceV1Query: z.ZodObject<{
|
|
|
72273
72505
|
value: z.ZodString;
|
|
72274
72506
|
}, z.core.$strip>]>>>;
|
|
72275
72507
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
72276
|
-
|
|
72508
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
72277
72509
|
approved: "approved";
|
|
72278
72510
|
rejected: "rejected";
|
|
72279
|
-
requested: "requested";
|
|
72280
72511
|
expired: "expired";
|
|
72281
|
-
|
|
72282
|
-
|
|
72512
|
+
no_approval_required: "no_approval_required";
|
|
72513
|
+
awaiting_approval: "awaiting_approval";
|
|
72514
|
+
reminder_1: "reminder_1";
|
|
72515
|
+
reminder_2: "reminder_2";
|
|
72516
|
+
}>>>;
|
|
72283
72517
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
72284
72518
|
}, z.core.$strip>>;
|
|
72285
72519
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -72609,13 +72843,15 @@ export declare const zPreviewBulkSendInvoiceV1Query: z.ZodObject<{
|
|
|
72609
72843
|
value: z.ZodString;
|
|
72610
72844
|
}, z.core.$strip>]>>>;
|
|
72611
72845
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
72612
|
-
|
|
72846
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
72613
72847
|
approved: "approved";
|
|
72614
72848
|
rejected: "rejected";
|
|
72615
|
-
requested: "requested";
|
|
72616
72849
|
expired: "expired";
|
|
72617
|
-
|
|
72618
|
-
|
|
72850
|
+
no_approval_required: "no_approval_required";
|
|
72851
|
+
awaiting_approval: "awaiting_approval";
|
|
72852
|
+
reminder_1: "reminder_1";
|
|
72853
|
+
reminder_2: "reminder_2";
|
|
72854
|
+
}>>>;
|
|
72619
72855
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
72620
72856
|
}, z.core.$strip>>;
|
|
72621
72857
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -72975,13 +73211,15 @@ export declare const zPreviewBulkMarkInvoiceAsReadyV1Query: z.ZodObject<{
|
|
|
72975
73211
|
value: z.ZodString;
|
|
72976
73212
|
}, z.core.$strip>]>>>;
|
|
72977
73213
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
72978
|
-
|
|
73214
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
72979
73215
|
approved: "approved";
|
|
72980
73216
|
rejected: "rejected";
|
|
72981
|
-
requested: "requested";
|
|
72982
73217
|
expired: "expired";
|
|
72983
|
-
|
|
72984
|
-
|
|
73218
|
+
no_approval_required: "no_approval_required";
|
|
73219
|
+
awaiting_approval: "awaiting_approval";
|
|
73220
|
+
reminder_1: "reminder_1";
|
|
73221
|
+
reminder_2: "reminder_2";
|
|
73222
|
+
}>>>;
|
|
72985
73223
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
72986
73224
|
}, z.core.$strip>>;
|
|
72987
73225
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -73311,13 +73549,15 @@ export declare const zBulkMarkInvoiceAsReadyV1Query: z.ZodObject<{
|
|
|
73311
73549
|
value: z.ZodString;
|
|
73312
73550
|
}, z.core.$strip>]>>>;
|
|
73313
73551
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
73314
|
-
|
|
73552
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
73315
73553
|
approved: "approved";
|
|
73316
73554
|
rejected: "rejected";
|
|
73317
|
-
requested: "requested";
|
|
73318
73555
|
expired: "expired";
|
|
73319
|
-
|
|
73320
|
-
|
|
73556
|
+
no_approval_required: "no_approval_required";
|
|
73557
|
+
awaiting_approval: "awaiting_approval";
|
|
73558
|
+
reminder_1: "reminder_1";
|
|
73559
|
+
reminder_2: "reminder_2";
|
|
73560
|
+
}>>>;
|
|
73321
73561
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
73322
73562
|
}, z.core.$strip>>;
|
|
73323
73563
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -73651,13 +73891,15 @@ export declare const zPreviewBulkFinalizeInvoiceV1Query: z.ZodObject<{
|
|
|
73651
73891
|
value: z.ZodString;
|
|
73652
73892
|
}, z.core.$strip>]>>>;
|
|
73653
73893
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
73654
|
-
|
|
73894
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
73655
73895
|
approved: "approved";
|
|
73656
73896
|
rejected: "rejected";
|
|
73657
|
-
requested: "requested";
|
|
73658
73897
|
expired: "expired";
|
|
73659
|
-
|
|
73660
|
-
|
|
73898
|
+
no_approval_required: "no_approval_required";
|
|
73899
|
+
awaiting_approval: "awaiting_approval";
|
|
73900
|
+
reminder_1: "reminder_1";
|
|
73901
|
+
reminder_2: "reminder_2";
|
|
73902
|
+
}>>>;
|
|
73661
73903
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
73662
73904
|
}, z.core.$strip>>;
|
|
73663
73905
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -73987,13 +74229,15 @@ export declare const zBulkFinalizeInvoiceV1Query: z.ZodObject<{
|
|
|
73987
74229
|
value: z.ZodString;
|
|
73988
74230
|
}, z.core.$strip>]>>>;
|
|
73989
74231
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
73990
|
-
|
|
74232
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
73991
74233
|
approved: "approved";
|
|
73992
74234
|
rejected: "rejected";
|
|
73993
|
-
requested: "requested";
|
|
73994
74235
|
expired: "expired";
|
|
73995
|
-
|
|
73996
|
-
|
|
74236
|
+
no_approval_required: "no_approval_required";
|
|
74237
|
+
awaiting_approval: "awaiting_approval";
|
|
74238
|
+
reminder_1: "reminder_1";
|
|
74239
|
+
reminder_2: "reminder_2";
|
|
74240
|
+
}>>>;
|
|
73997
74241
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
73998
74242
|
}, z.core.$strip>>;
|
|
73999
74243
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -74032,8 +74276,10 @@ export declare const zViewActivityLogIndexV1Query: z.ZodObject<{
|
|
|
74032
74276
|
entityTypes: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
74033
74277
|
customer: "customer";
|
|
74034
74278
|
invoice: "invoice";
|
|
74279
|
+
file: "file";
|
|
74035
74280
|
credit_note: "credit_note";
|
|
74036
74281
|
approval: "approval";
|
|
74282
|
+
api_key: "api_key";
|
|
74037
74283
|
}>>>;
|
|
74038
74284
|
roles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
74039
74285
|
customer: "customer";
|
|
@@ -74041,6 +74287,7 @@ export declare const zViewActivityLogIndexV1Query: z.ZodObject<{
|
|
|
74041
74287
|
credit_note: "credit_note";
|
|
74042
74288
|
approval: "approval";
|
|
74043
74289
|
actor: "actor";
|
|
74290
|
+
attachment: "attachment";
|
|
74044
74291
|
}>>>;
|
|
74045
74292
|
}, z.core.$strip>>;
|
|
74046
74293
|
pagination: z.ZodOptional<z.ZodObject<{
|
|
@@ -74062,6 +74309,8 @@ export declare const zViewActivityLogIndexV1Response: z.ZodObject<{
|
|
|
74062
74309
|
"invoice-reminder-sent": "invoice-reminder-sent";
|
|
74063
74310
|
"invoice-duplicated": "invoice-duplicated";
|
|
74064
74311
|
"invoice-marked-as-ready": "invoice-marked-as-ready";
|
|
74312
|
+
"invoice-marked-as-prior-approval-required": "invoice-marked-as-prior-approval-required";
|
|
74313
|
+
"invoice-unmarked-as-prior-approval-required": "invoice-unmarked-as-prior-approval-required";
|
|
74065
74314
|
"invoice-marked-as-paid": "invoice-marked-as-paid";
|
|
74066
74315
|
"invoice-payment-created": "invoice-payment-created";
|
|
74067
74316
|
"invoice-payment-deleted": "invoice-payment-deleted";
|
|
@@ -74071,6 +74320,8 @@ export declare const zViewActivityLogIndexV1Response: z.ZodObject<{
|
|
|
74071
74320
|
"invoice-approval-cancelled": "invoice-approval-cancelled";
|
|
74072
74321
|
"invoice-approval-expired": "invoice-approval-expired";
|
|
74073
74322
|
"invoice-approval-reminder-sent": "invoice-approval-reminder-sent";
|
|
74323
|
+
"invoice-finalization-blocked": "invoice-finalization-blocked";
|
|
74324
|
+
"dunning-case-reminder-sent": "dunning-case-reminder-sent";
|
|
74074
74325
|
"credit-note-created": "credit-note-created";
|
|
74075
74326
|
"credit-note-updated": "credit-note-updated";
|
|
74076
74327
|
"customer-updated": "customer-updated";
|
|
@@ -74098,12 +74349,15 @@ export declare const zViewActivityLogIndexV1Response: z.ZodObject<{
|
|
|
74098
74349
|
credit_note: "credit_note";
|
|
74099
74350
|
approval: "approval";
|
|
74100
74351
|
actor: "actor";
|
|
74352
|
+
attachment: "attachment";
|
|
74101
74353
|
}>;
|
|
74102
74354
|
type: z.ZodEnum<{
|
|
74103
74355
|
customer: "customer";
|
|
74104
74356
|
invoice: "invoice";
|
|
74357
|
+
file: "file";
|
|
74105
74358
|
credit_note: "credit_note";
|
|
74106
74359
|
approval: "approval";
|
|
74360
|
+
api_key: "api_key";
|
|
74107
74361
|
}>;
|
|
74108
74362
|
uuid: z.ZodUUID;
|
|
74109
74363
|
label: z.ZodNullable<z.ZodString>;
|
|
@@ -74115,6 +74369,7 @@ export declare const zViewActivityLogIndexV1Response: z.ZodObject<{
|
|
|
74115
74369
|
credit_note: "credit_note";
|
|
74116
74370
|
approval: "approval";
|
|
74117
74371
|
actor: "actor";
|
|
74372
|
+
attachment: "attachment";
|
|
74118
74373
|
}>;
|
|
74119
74374
|
field: z.ZodString;
|
|
74120
74375
|
from: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
@@ -77089,6 +77344,7 @@ export declare const zViewDunningCaseDetailV1Response: z.ZodObject<{
|
|
|
77089
77344
|
"-infinity": "-infinity";
|
|
77090
77345
|
}>]>>;
|
|
77091
77346
|
canSendReminder: z.ZodBoolean;
|
|
77347
|
+
canRetryReminder: z.ZodBoolean;
|
|
77092
77348
|
latestCreatedReminder: z.ZodNullable<z.ZodObject<{
|
|
77093
77349
|
uuid: z.ZodUUID;
|
|
77094
77350
|
sentAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodEnum<{
|
|
@@ -77324,6 +77580,7 @@ export declare const zViewDunningCaseIndexV1Response: z.ZodObject<{
|
|
|
77324
77580
|
"-infinity": "-infinity";
|
|
77325
77581
|
}>]>>;
|
|
77326
77582
|
canSendReminder: z.ZodBoolean;
|
|
77583
|
+
canRetryReminder: z.ZodBoolean;
|
|
77327
77584
|
latestCreatedReminder: z.ZodNullable<z.ZodObject<{
|
|
77328
77585
|
uuid: z.ZodUUID;
|
|
77329
77586
|
sentAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodISODateTime, z.ZodEnum<{
|
|
@@ -77346,6 +77603,9 @@ export declare const zViewDunningCaseIndexV1Response: z.ZodObject<{
|
|
|
77346
77603
|
export declare const zSendDunningCaseReminderV1Path: z.ZodObject<{
|
|
77347
77604
|
uuid: z.ZodUUID;
|
|
77348
77605
|
}, z.core.$strip>;
|
|
77606
|
+
export declare const zRetryDunningCaseReminderV1Path: z.ZodObject<{
|
|
77607
|
+
uuid: z.ZodUUID;
|
|
77608
|
+
}, z.core.$strip>;
|
|
77349
77609
|
export declare const zBulkSendDunningCaseReminderV1Query: z.ZodObject<{
|
|
77350
77610
|
filter: z.ZodOptional<z.ZodObject<{
|
|
77351
77611
|
isOpen: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -78903,13 +79163,15 @@ export declare const zPreviewBulkSendInvoiceApprovalV1Query: z.ZodObject<{
|
|
|
78903
79163
|
value: z.ZodString;
|
|
78904
79164
|
}, z.core.$strip>]>>>;
|
|
78905
79165
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
78906
|
-
|
|
79166
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
78907
79167
|
approved: "approved";
|
|
78908
79168
|
rejected: "rejected";
|
|
78909
|
-
requested: "requested";
|
|
78910
79169
|
expired: "expired";
|
|
78911
|
-
|
|
78912
|
-
|
|
79170
|
+
no_approval_required: "no_approval_required";
|
|
79171
|
+
awaiting_approval: "awaiting_approval";
|
|
79172
|
+
reminder_1: "reminder_1";
|
|
79173
|
+
reminder_2: "reminder_2";
|
|
79174
|
+
}>>>;
|
|
78913
79175
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
78914
79176
|
}, z.core.$strip>>;
|
|
78915
79177
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -79239,13 +79501,15 @@ export declare const zBulkSendInvoiceApprovalV1Query: z.ZodObject<{
|
|
|
79239
79501
|
value: z.ZodString;
|
|
79240
79502
|
}, z.core.$strip>]>>>;
|
|
79241
79503
|
hasChangesSinceApprovalSent: z.ZodOptional<z.ZodBoolean>;
|
|
79242
|
-
|
|
79504
|
+
approvalStatuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
79243
79505
|
approved: "approved";
|
|
79244
79506
|
rejected: "rejected";
|
|
79245
|
-
requested: "requested";
|
|
79246
79507
|
expired: "expired";
|
|
79247
|
-
|
|
79248
|
-
|
|
79508
|
+
no_approval_required: "no_approval_required";
|
|
79509
|
+
awaiting_approval: "awaiting_approval";
|
|
79510
|
+
reminder_1: "reminder_1";
|
|
79511
|
+
reminder_2: "reminder_2";
|
|
79512
|
+
}>>>;
|
|
79249
79513
|
isApprovalCancelled: z.ZodOptional<z.ZodBoolean>;
|
|
79250
79514
|
}, z.core.$strip>>;
|
|
79251
79515
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -79275,7 +79539,7 @@ export declare const zBulkSendInvoiceApprovalV1Response: z.ZodObject<{
|
|
|
79275
79539
|
}, z.core.$strip>>;
|
|
79276
79540
|
}, z.core.$strip>;
|
|
79277
79541
|
export declare const zApproveInvoiceApprovalV1Body: z.ZodObject<{
|
|
79278
|
-
|
|
79542
|
+
fileUuids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
79279
79543
|
remarks: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79280
79544
|
}, z.core.$strip>;
|
|
79281
79545
|
export declare const zApproveInvoiceApprovalV1Path: z.ZodObject<{
|
|
@@ -79293,6 +79557,7 @@ export declare const zRejectInvoiceApprovalV1Body: z.ZodObject<{
|
|
|
79293
79557
|
missing_or_incorrect_po_reference: "missing_or_incorrect_po_reference";
|
|
79294
79558
|
other: "other";
|
|
79295
79559
|
}>;
|
|
79560
|
+
fileUuids: z.ZodOptional<z.ZodArray<z.ZodUUID>>;
|
|
79296
79561
|
}, z.core.$strip>;
|
|
79297
79562
|
export declare const zRejectInvoiceApprovalV1Path: z.ZodObject<{
|
|
79298
79563
|
uuid: z.ZodUUID;
|