@wisemen/wise-invoicing-web 1.1.0 → 1.2.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/AccountingSettingsViewDataProvider-BtDPqr_P.js +981 -0
- package/dist/{ApprovalReminderSettingsViewDataProvider-DyrHExKn.js → ApprovalReminderSettingsViewDataProvider-CuFo2JF5.js} +287 -287
- package/dist/{BillingDocumentDetailViewDataProvider-BsMGrki9.js → BillingDocumentDetailViewDataProvider-qKW6LiRR.js} +1629 -1604
- package/dist/{BillingDocumentPdf-DFKxdbZX.js → BillingDocumentPdf-CgnrE4eq.js} +5 -5
- package/dist/{DataProvider-BtnD-BzI.js → DataProvider-Dj5ckiN2.js} +6 -9
- package/dist/{DunningCaseSendDialog-S1W7M38u.js → DunningCaseSendDialog-CQ1yvbUt.js} +36 -36
- package/dist/{InvoiceApprovalOutOfSyncIndicator-DaM5hQVT.js → InvoiceApprovalOutOfSyncIndicator-BeqzoD3H.js} +2 -2
- package/dist/{InvoiceApprovalOverviewView-DM_LiO19.js → InvoiceApprovalOverviewView-B0ulYsYy.js} +230 -230
- package/dist/{InvoiceApprovalStatusBadge-mbYHYU3x.js → InvoiceApprovalStatusBadge-BZuyVHKk.js} +4 -4
- package/dist/{InvoicePdfView-qHeP8BNd.js → InvoicePdfView-BBTa7EaO.js} +2 -2
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-BZVlYijT.js → InvoicePublicProFormaPdfViewDataProvider-_Tbt2pTv.js} +4 -4
- package/dist/{InvoiceRejectDialogDataProvider-yegAlkDB.js → InvoiceRejectDialogDataProvider-ma2UsSzC.js} +33 -33
- package/dist/{InvoiceStatusBadge-CRfN5LpT.js → InvoiceStatusBadge-JIR1gUDL.js} +3 -3
- package/dist/{InvoicingFileUploadProvider-DVh22OUB.js → InvoicingFileUploadProvider-B-eq6i9v.js} +14 -14
- package/dist/{IssuerSettingsViewDataProvider-BgSFemZr.js → IssuerSettingsViewDataProvider-CHyCCy9K.js} +66 -66
- package/dist/{PeppolSettingsViewDataProvider-_Bx0xx9e.js → PeppolSettingsViewDataProvider-j1btvXOf.js} +4 -4
- package/dist/{api.util-lGbimoKL.js → api.util-BkwbrwEm.js} +1026 -800
- package/dist/billingDocumentDetail.transformer-B-GSRQc0.js +324 -0
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +10 -1
- package/dist/client/types.gen.d.ts +452 -1
- package/dist/client/zod.gen.d.ts +524 -0
- package/dist/{creditNoteDetail.query-CqJeWeRV.js → creditNoteDetail.query-Tg4s5B8Q.js} +34 -34
- package/dist/{customFieldDefinitionIndex.query-BPNS8LMx.js → customFieldDefinitionIndex.query-DtMibcTn.js} +28 -28
- package/dist/{deliveryReason.util-ny1rA7Sm.js → deliveryReason.util-BuCD1Fuz.js} +6 -6
- package/dist/{dist-CrNFh-CR.js → dist-AbMUaDf-.js} +93 -93
- package/dist/{dist-DmVrfBOT.js → dist-DaJ08k0k.js} +231 -119
- package/dist/{documentTitle.composable-aTEYXgaZ.js → documentTitle.composable-Bxu0YL71.js} +27 -19
- package/dist/{i18n.lib-B1H9r0km.js → i18n.lib-C8TA6PCf.js} +162 -2
- package/dist/index.d.ts +160 -0
- package/dist/index.js +1576 -1554
- package/dist/instant.transformer-KmBsH3E9.js +18 -0
- package/dist/{invoice.service-D9ubyWPb.js → invoice.service-BtgRZKrv.js} +152 -151
- package/dist/{invoiceApproval.service-BtDIOHIo.js → invoiceApproval.service-DEvaL-MH.js} +22 -21
- package/dist/invoiceApprovalStatus.util-NpxAuQ0t.js +83 -0
- package/dist/{invoiceCustomer.service-D0AtVrLg.js → invoiceCustomer.service-Cowdna7o.js} +6 -6
- package/dist/{invoiceDetail.query-BNL6MkvC.js → invoiceDetail.query-nEhWRrdL.js} +1 -1
- package/dist/{invoicingConfig.composable-D2bnX7HW.js → invoicingConfig.composable-CW47czLa.js} +2 -2
- package/dist/{issuerSettings.query-Cu-I6OAg.js → issuerSettings.query-CIWw1Zku.js} +27 -27
- package/dist/libs/i18n.lib.d.ts +160 -0
- package/dist/locales/en-US.json.d.ts +81 -1
- package/dist/locales/nl-BE.json.d.ts +81 -1
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +7 -1
- package/dist/modules/accounting/api/mutations/accountingConnectionDisconnect.mutation.d.ts +4 -0
- package/dist/modules/accounting/api/mutations/accountingPostingProfileUpdate.mutation.d.ts +15 -0
- package/dist/modules/accounting/api/mutations/exactAccountingConnect.mutation.d.ts +6 -0
- package/dist/modules/accounting/api/queries/accountingConnection.query.d.ts +1 -0
- package/dist/modules/accounting/api/queries/exactAuthorizationConfig.query.d.ts +1 -0
- package/dist/modules/accounting/api/queries/exactGlAccounts.query.d.ts +3 -0
- package/dist/modules/accounting/api/queries/exactJournals.query.d.ts +3 -0
- package/dist/modules/accounting/api/query-keys/accounting.queryKeys.d.ts +24 -0
- package/dist/modules/accounting/api/services/accountingConnection.service.d.ts +19 -0
- package/dist/modules/accounting/components/AccountingPostingProfileFields.vue.d.ts +14 -0
- package/dist/modules/accounting/components/AccountingSyncStatusBadge.vue.d.ts +7 -0
- package/dist/modules/accounting/components/ExactGlAccountField.vue.d.ts +12 -0
- package/dist/modules/accounting/components/ExactLogo.vue.d.ts +3 -0
- package/dist/modules/accounting/composables/exactLookupError.composable.d.ts +19 -0
- package/dist/modules/accounting/models/accountingConnection.model.d.ts +34 -0
- package/dist/modules/accounting/models/accountingConnection.transformer.d.ts +23 -0
- package/dist/modules/accounting/models/accountingConnection.transformer.spec.d.ts +1 -0
- package/dist/modules/accounting/models/accountingConnectionReadiness.util.d.ts +10 -0
- package/dist/modules/accounting/models/accountingConnectionUuid.model.d.ts +3 -0
- package/dist/modules/accounting/models/accountingError.util.d.ts +13 -0
- package/dist/modules/accounting/models/accountingError.util.spec.d.ts +1 -0
- package/dist/modules/accounting/models/accountingPostingProfileForm.model.d.ts +14 -0
- package/dist/modules/accounting/models/accountingPostingProfileForm.model.spec.d.ts +1 -0
- package/dist/modules/accounting/models/accountingPostingProfileUpdateForm.model.d.ts +17 -0
- package/dist/modules/accounting/models/exactAccountingConnectForm.model.d.ts +9 -0
- package/dist/modules/accounting/models/exactAccountingConnectForm.model.spec.d.ts +1 -0
- package/dist/modules/accounting/models/exactLookupOption.model.d.ts +5 -0
- package/dist/modules/accounting/models/exactLookupOption.util.d.ts +4 -0
- package/dist/modules/accounting/models/exactRegion.util.d.ts +5 -0
- package/dist/modules/accounting/models/exactRegion.util.spec.d.ts +1 -0
- package/dist/modules/accounting/routes/accounting.routes.d.ts +9 -0
- package/dist/modules/accounting/use-cases/settings/components/AccountingConnectionDetails.vue.d.ts +7 -0
- package/dist/modules/accounting/use-cases/settings/components/AccountingConnectionNotice.vue.d.ts +11 -0
- package/dist/modules/accounting/use-cases/settings/components/AccountingPostingProfileForm.vue.d.ts +8 -0
- package/dist/modules/accounting/use-cases/settings/components/ExactAccountingConnectForm.vue.d.ts +12 -0
- package/dist/modules/accounting/use-cases/settings/composables/accountingAuthorizationResult.composable.d.ts +5 -0
- package/dist/modules/accounting/use-cases/settings/composables/exactConnect.composable.d.ts +11 -0
- package/dist/modules/accounting/use-cases/settings/dialogs/AccountingConnectionDisconnectDialog.vue.d.ts +11 -0
- package/dist/modules/accounting/use-cases/settings/views/AccountingSettingsView.vue.d.ts +9 -0
- package/dist/modules/accounting/use-cases/settings/views/AccountingSettingsViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/settings/routes/settings.routes.d.ts +7 -0
- package/dist/{plainDate.transformer-Bhiz9jW7.js → plainDate.transformer-BxvJpJOv.js} +4 -17
- package/dist/{reminderConfig.query-DHMHVOeX.js → reminderConfig.query-nb1P7ufx.js} +38 -37
- package/dist/types/queryKey.type.d.ts +3 -2
- package/dist/ui/data-provider/DataProvider.vue.d.ts +5 -1
- package/package.json +1 -1
- package/dist/billingDocumentDetail.transformer-C5-zjIhL.js +0 -319
- package/dist/invoiceApprovalStatus.util-Bqq_bILG.js +0 -83
|
@@ -599,20 +599,20 @@ var Te = e.object({
|
|
|
599
599
|
firstName: e.string().nullable(),
|
|
600
600
|
lastName: e.string().nullable(),
|
|
601
601
|
roles: e.array(Ee)
|
|
602
|
-
}),
|
|
602
|
+
}), Oe = e.object({
|
|
603
603
|
total: e.number(),
|
|
604
604
|
offset: e.number(),
|
|
605
605
|
limit: e.number()
|
|
606
|
-
}),
|
|
606
|
+
}), ke = e.object({
|
|
607
607
|
items: e.array(De),
|
|
608
|
-
meta:
|
|
608
|
+
meta: Oe
|
|
609
609
|
});
|
|
610
610
|
e.object({ name: e.string() }), e.object({ uuid: e.uuid() }), e.object({ roleUuids: e.array(e.uuid()).nullish() }), e.object({
|
|
611
611
|
detail: e.string().optional(),
|
|
612
612
|
status: e.enum(["404"]),
|
|
613
613
|
code: e.enum(["role_not_found"])
|
|
614
614
|
}), e.object({ name: e.string() });
|
|
615
|
-
var
|
|
615
|
+
var Ae = e.object({
|
|
616
616
|
uuid: e.uuid(),
|
|
617
617
|
createdAt: e.iso.datetime(),
|
|
618
618
|
updatedAt: e.iso.datetime(),
|
|
@@ -621,13 +621,13 @@ var ke = e.object({
|
|
|
621
621
|
isDefault: e.boolean(),
|
|
622
622
|
isSystemAdmin: e.boolean()
|
|
623
623
|
});
|
|
624
|
-
e.object({ items: e.array(
|
|
625
|
-
var
|
|
624
|
+
e.object({ items: e.array(Ae) });
|
|
625
|
+
var je = e.object({
|
|
626
626
|
roleUuid: e.uuid(),
|
|
627
627
|
permissions: e.array(m)
|
|
628
628
|
});
|
|
629
|
-
e.object({ roles: e.array(
|
|
630
|
-
var
|
|
629
|
+
e.object({ roles: e.array(je) });
|
|
630
|
+
var Me = e.enum([
|
|
631
631
|
"application/pdf",
|
|
632
632
|
"application/msword",
|
|
633
633
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
@@ -644,14 +644,14 @@ var je = e.enum([
|
|
|
644
644
|
"image/webp",
|
|
645
645
|
"image/gif",
|
|
646
646
|
"application/octet-stream"
|
|
647
|
-
]),
|
|
647
|
+
]), Ne = e.object({
|
|
648
648
|
name: e.string(),
|
|
649
|
-
mimeType:
|
|
649
|
+
mimeType: Me,
|
|
650
650
|
isPublic: e.boolean().optional().default(!1)
|
|
651
|
-
}),
|
|
651
|
+
}), Pe = e.object({
|
|
652
652
|
uuid: e.uuid(),
|
|
653
653
|
name: e.string(),
|
|
654
|
-
mimeType:
|
|
654
|
+
mimeType: Me.nullable(),
|
|
655
655
|
uploadUrl: e.string()
|
|
656
656
|
});
|
|
657
657
|
e.object({
|
|
@@ -659,15 +659,15 @@ e.object({
|
|
|
659
659
|
status: e.enum(["404"]),
|
|
660
660
|
code: e.enum(["file_not_found"])
|
|
661
661
|
});
|
|
662
|
-
var
|
|
662
|
+
var Fe = e.object({ blurHash: e.string().max(100).nullable() }), Ie = e.enum([
|
|
663
663
|
"light",
|
|
664
664
|
"dark",
|
|
665
665
|
"system"
|
|
666
|
-
]),
|
|
666
|
+
]), Le = e.enum([
|
|
667
667
|
"en-US",
|
|
668
668
|
"nl-BE",
|
|
669
669
|
"fr-BE"
|
|
670
|
-
]),
|
|
670
|
+
]), Re = e.enum([
|
|
671
671
|
"smaller",
|
|
672
672
|
"small",
|
|
673
673
|
"default",
|
|
@@ -675,16 +675,16 @@ var Pe = e.object({ blurHash: e.string().max(100).nullable() }), Fe = e.enum([
|
|
|
675
675
|
"larger"
|
|
676
676
|
]);
|
|
677
677
|
e.object({
|
|
678
|
-
theme:
|
|
679
|
-
language:
|
|
680
|
-
fontSize:
|
|
678
|
+
theme: Ie.optional(),
|
|
679
|
+
language: Le.optional(),
|
|
680
|
+
fontSize: Re.optional(),
|
|
681
681
|
showShortcuts: e.boolean().optional(),
|
|
682
682
|
reduceMotion: e.boolean().optional(),
|
|
683
683
|
highContrast: e.boolean().optional()
|
|
684
684
|
}), e.object({
|
|
685
|
-
theme:
|
|
686
|
-
language:
|
|
687
|
-
fontSize:
|
|
685
|
+
theme: Ie,
|
|
686
|
+
language: Le,
|
|
687
|
+
fontSize: Re,
|
|
688
688
|
showShortcuts: e.boolean(),
|
|
689
689
|
reduceMotion: e.boolean(),
|
|
690
690
|
highContrast: e.boolean()
|
|
@@ -692,17 +692,17 @@ e.object({
|
|
|
692
692
|
token: e.string(),
|
|
693
693
|
userUuid: e.uuid()
|
|
694
694
|
});
|
|
695
|
-
var
|
|
695
|
+
var ze = e.object({
|
|
696
696
|
nl: e.string().optional(),
|
|
697
697
|
en: e.string().optional()
|
|
698
698
|
});
|
|
699
699
|
e.object({
|
|
700
700
|
name: e.string(),
|
|
701
|
-
title:
|
|
702
|
-
description:
|
|
701
|
+
title: ze,
|
|
702
|
+
description: ze,
|
|
703
703
|
userUuids: e.array(e.uuid())
|
|
704
704
|
});
|
|
705
|
-
var
|
|
705
|
+
var Be = e.enum([
|
|
706
706
|
"api-key",
|
|
707
707
|
"approval-reminder",
|
|
708
708
|
"contact",
|
|
@@ -712,63 +712,65 @@ var ze = e.enum([
|
|
|
712
712
|
"user",
|
|
713
713
|
"tenant",
|
|
714
714
|
"recipient",
|
|
715
|
+
"accounting-connection",
|
|
716
|
+
"accounting-sync-outbox",
|
|
715
717
|
"issuer",
|
|
716
718
|
"invoice",
|
|
717
719
|
"invoice-approval",
|
|
718
720
|
"pro-forma",
|
|
719
721
|
"dunning-case"
|
|
720
|
-
]),
|
|
721
|
-
subjectType:
|
|
722
|
+
]), Ve = e.object({
|
|
723
|
+
subjectType: Be.optional(),
|
|
722
724
|
subjectId: e.uuid().optional(),
|
|
723
725
|
userUuid: e.uuid().optional()
|
|
724
|
-
}),
|
|
726
|
+
}), He = e.object({
|
|
725
727
|
createdAt: e.string(),
|
|
726
728
|
uuid: e.uuid()
|
|
727
|
-
}),
|
|
729
|
+
}), Ue = e.object({
|
|
728
730
|
limit: e.number().gte(0).lte(100).optional(),
|
|
729
|
-
key:
|
|
730
|
-
}),
|
|
731
|
+
key: He.nullish()
|
|
732
|
+
}), We = e.enum(/* @__PURE__ */ "accounting-connection.created,accounting-connection.updated,api-key.created,api-key.deleted,approval-reminder.sent,credit-note.created,credit-note.updated,credit-note.finalized,credit-note.invoice-lines.updated,credit-note.deleted,credit-note.email-sent,customer.created,customer.updated,customer.synced,customer.deactivated,customer.reactivated,accounting-connection.disconnected,accounting-posting-profile.updated,accounting-sync-outbox.created,exact-connection-token.created,file.created,file.uploaded,issuer.updated,issuer.created,peppol-connection.updated,invoice-approval.approved,invoice-approval.cancelled,invoice-approval.created,invoice-approval.expired,invoice-approval.rejected,invoice-approval.sent,invoice-approval.superseded,invoice-approval.updated,invoice.approval-mode-changed,invoice.attachments.updated,invoice.created,invoice.deleted,invoice.discount.applied,invoice.disputed-withdrawn,invoice.duplicated,invoice.email-sent,invoice.finalization-blocked,invoice.finalized,invoice.marked-as-disputed,invoice.marked-as-draft,invoice.marked-as-overdue,invoice.marked-as-paid,invoice.marked-as-prior-approval-required,invoice.marked-as-ready,invoice.pdf.generated,invoice.restored-from-pro-forma,invoice.unmarked-as-prior-approval-required,invoice.updated,invoice.delivery-updated,payment.created,payment.deleted,pro-forma.created,pro-forma.pdf.generated,notification.created,notification.read,notification.read.all,notification.unread,notification.types.migrated,notification.preference.preset.updated,role.created,role.deleted,role.renamed,role.permissions.updated,role.permissions.cache.cleared,test-notification.sent,user.created,user.updated,user.role-assigned,user.roles-set,user.notification.created,user.default-notification-preferences.assigned,user.assigned-as-admin,recipient.created,recipient.updated,recipient.default-set,recipient.deleted,approval-reminder-config.updated,approval-mail-template.updated,approval-follow-up-pause.created,approval-follow-up-pause.updated,approval-follow-up-pause.deleted,reminder-config.updated,dunning-case.synced,dunning-case.closed,dunning-case.reminder.created,dunning-case.reminder.pdf.generated,dunning-case.reminder.retried,dunning-case.reminder.sent,tenant.created,tenant.updated,tenant.deactivated".split(",")), Ge = e.object({
|
|
731
733
|
uuid: e.uuid(),
|
|
732
734
|
createdAt: e.iso.datetime(),
|
|
733
735
|
version: e.int().gte(0),
|
|
734
736
|
source: e.string(),
|
|
735
737
|
userUuid: e.uuid().nullable(),
|
|
736
738
|
message: e.string(),
|
|
737
|
-
type:
|
|
738
|
-
subjectType:
|
|
739
|
+
type: We,
|
|
740
|
+
subjectType: Be.nullable(),
|
|
739
741
|
subjectId: e.uuid().nullable(),
|
|
740
742
|
content: e.record(e.string(), e.unknown())
|
|
741
|
-
}),
|
|
743
|
+
}), Ke = e.object({ next: He.nullable() });
|
|
742
744
|
e.object({
|
|
743
|
-
items: e.array(
|
|
744
|
-
meta:
|
|
745
|
+
items: e.array(Ge),
|
|
746
|
+
meta: Ke
|
|
745
747
|
});
|
|
746
|
-
var
|
|
748
|
+
var qe = e.enum([
|
|
747
749
|
"user",
|
|
748
750
|
"customer",
|
|
749
751
|
"recipient"
|
|
750
|
-
]),
|
|
751
|
-
collections: e.array(
|
|
752
|
-
contact:
|
|
753
|
-
recipient:
|
|
754
|
-
}),
|
|
752
|
+
]), Je = e.object({ isActive: e.boolean().optional() }), Ye = e.object({ customerUuid: e.uuid().optional() }), Xe = e.object({
|
|
753
|
+
collections: e.array(qe).optional(),
|
|
754
|
+
contact: Je.optional(),
|
|
755
|
+
recipient: Ye.optional()
|
|
756
|
+
}), Ze = e.object({ offset: e.int() }), Qe = e.object({ key: Ze.optional() }), $e = e.object({
|
|
755
757
|
uuid: e.uuid(),
|
|
756
758
|
name: e.string(),
|
|
757
759
|
email: e.record(e.string(), e.unknown()).nullable()
|
|
758
|
-
}),
|
|
760
|
+
}), h = e.enum(["business", "individual"]), et = e.object({
|
|
759
761
|
uuid: e.uuid(),
|
|
760
762
|
name: e.string(),
|
|
761
|
-
type:
|
|
762
|
-
}),
|
|
763
|
+
type: h
|
|
764
|
+
}), tt = e.object({
|
|
763
765
|
uuid: e.uuid(),
|
|
764
766
|
name: e.string().nullable(),
|
|
765
767
|
email: e.string(),
|
|
766
768
|
customerUuid: e.uuid(),
|
|
767
769
|
isDefault: e.boolean()
|
|
768
|
-
}),
|
|
770
|
+
}), nt = e.object({
|
|
769
771
|
uuid: e.uuid(),
|
|
770
772
|
name: e.string()
|
|
771
|
-
}),
|
|
773
|
+
}), g = e.enum([
|
|
772
774
|
"draft",
|
|
773
775
|
"ready",
|
|
774
776
|
"finalized",
|
|
@@ -778,95 +780,95 @@ var Ke = e.enum([
|
|
|
778
780
|
"credited",
|
|
779
781
|
"paid",
|
|
780
782
|
"overpaid"
|
|
781
|
-
]),
|
|
783
|
+
]), _ = e.enum(/* @__PURE__ */ "AFN.EUR.ALL.DZD.USD.AOA.XCD.ARS.AMD.AWG.AUD.AZN.BSD.BHD.BDT.BBD.BYN.BZD.XOF.BMD.INR.BTN.BOB.BOV.BAM.BWP.NOK.BRL.BND.BGN.BIF.CVE.KHR.XAF.CAD.KYD.CLP.CLF.CNY.COP.COU.KMF.CDF.NZD.CRC.CUP.ANG.CZK.DKK.DJF.DOP.EGP.SVC.ERN.SZL.ETB.FKP.FJD.XPF.GMD.GEL.GHS.GIP.GTQ.GBP.GNF.GYD.HTG.HNL.HKD.HUF.ISK.IDR.XDR.IRR.IQD.ILS.JMD.JPY.JOD.KZT.KES.KPW.KRW.KWD.KGS.LAK.LBP.LSL.ZAR.LRD.LYD.CHF.MOP.MKD.MGA.MWK.MYR.MVR.MRU.MUR.XUA.MXN.MXV.MDL.MNT.MAD.MZN.MMK.NAD.NPR.NIO.NGN.OMR.PKR.PAB.PGK.PYG.PEN.PHP.PLN.QAR.RON.RUB.RWF.SHP.WST.STN.SAR.RSD.SCR.SLE.SGD.XSU.SBD.SOS.SSP.LKR.SDG.SRD.SEK.CHE.CHW.SYP.TWD.TJS.TZS.THB.TOP.TTD.TND.TRY.TMT.UGX.UAH.AED.USN.UYU.UYI.UYW.UZS.VUV.VES.VED.VND.YER.ZMW.ZWG.XBA.XBB.XBC.XBD.XTS.XXX.XAU.XPD.XPT.XAG".split(".")), v = e.object({
|
|
782
784
|
amount: e.int(),
|
|
783
|
-
currency:
|
|
785
|
+
currency: _,
|
|
784
786
|
precision: e.int()
|
|
785
|
-
}),
|
|
787
|
+
}), rt = e.object({
|
|
786
788
|
uuid: e.uuid(),
|
|
787
789
|
createdAt: e.iso.datetime(),
|
|
788
790
|
issuedOn: e.iso.date().nullable(),
|
|
789
791
|
dueOn: e.iso.date().nullable(),
|
|
790
792
|
subject: e.string().nullable(),
|
|
791
|
-
customer:
|
|
792
|
-
status:
|
|
793
|
-
netAmount:
|
|
794
|
-
}),
|
|
795
|
-
collection:
|
|
793
|
+
customer: nt,
|
|
794
|
+
status: g,
|
|
795
|
+
netAmount: v
|
|
796
|
+
}), it = e.object({
|
|
797
|
+
collection: qe,
|
|
796
798
|
entity: e.union([
|
|
797
|
-
Qe,
|
|
798
799
|
$e,
|
|
799
800
|
et,
|
|
800
|
-
|
|
801
|
+
tt,
|
|
802
|
+
rt
|
|
801
803
|
]),
|
|
802
804
|
text_match: e.number()
|
|
803
|
-
}),
|
|
805
|
+
}), at = e.object({ next: Ze.nullable() });
|
|
804
806
|
e.object({
|
|
805
|
-
items: e.array(
|
|
806
|
-
meta:
|
|
807
|
+
items: e.array(it),
|
|
808
|
+
meta: at
|
|
807
809
|
});
|
|
808
|
-
var
|
|
810
|
+
var ot = e.enum([
|
|
809
811
|
"all",
|
|
810
812
|
"default",
|
|
811
813
|
"custom",
|
|
812
814
|
"none"
|
|
813
|
-
]),
|
|
814
|
-
email: e.array(
|
|
815
|
-
sms: e.array(
|
|
816
|
-
app: e.array(
|
|
817
|
-
push: e.array(
|
|
815
|
+
]), y = e.enum(["user.created", "system.test-notification"]), st = e.object({
|
|
816
|
+
email: e.array(y),
|
|
817
|
+
sms: e.array(y),
|
|
818
|
+
app: e.array(y),
|
|
819
|
+
push: e.array(y)
|
|
818
820
|
});
|
|
819
821
|
e.object({
|
|
820
|
-
preset:
|
|
822
|
+
preset: ot,
|
|
821
823
|
emailEnabled: e.boolean(),
|
|
822
824
|
smsEnabled: e.boolean(),
|
|
823
825
|
appEnabled: e.boolean(),
|
|
824
826
|
pushEnabled: e.boolean(),
|
|
825
|
-
preferences:
|
|
827
|
+
preferences: st
|
|
826
828
|
});
|
|
827
|
-
var
|
|
829
|
+
var ct = e.enum([
|
|
828
830
|
"email",
|
|
829
831
|
"sms",
|
|
830
832
|
"app",
|
|
831
833
|
"push"
|
|
832
|
-
]),
|
|
833
|
-
channel:
|
|
834
|
+
]), lt = e.object({
|
|
835
|
+
channel: ct,
|
|
834
836
|
defaultValue: e.boolean(),
|
|
835
837
|
isSupported: e.boolean()
|
|
836
|
-
}), lt = e.object({
|
|
837
|
-
key: b,
|
|
838
|
-
description: e.string(),
|
|
839
|
-
channelConfigs: e.array(ct)
|
|
840
838
|
}), ut = e.object({
|
|
839
|
+
key: y,
|
|
840
|
+
description: e.string(),
|
|
841
|
+
channelConfigs: e.array(lt)
|
|
842
|
+
}), dt = e.object({
|
|
841
843
|
name: e.string(),
|
|
842
844
|
description: e.string(),
|
|
843
|
-
types: e.array(
|
|
845
|
+
types: e.array(ut)
|
|
844
846
|
});
|
|
845
|
-
e.object({ groups: e.array(
|
|
846
|
-
channel:
|
|
847
|
+
e.object({ groups: e.array(dt) }), e.object({
|
|
848
|
+
channel: ct,
|
|
847
849
|
isEnabled: e.boolean()
|
|
848
850
|
}), e.object({ message: e.string() });
|
|
849
|
-
var
|
|
851
|
+
var ft = e.object({ onlyUnread: e.string().optional() }), pt = e.object({
|
|
850
852
|
createdAt: e.string(),
|
|
851
853
|
notificationUuid: e.uuid()
|
|
852
|
-
}), pt = e.object({
|
|
853
|
-
limit: e.number().gte(0).lte(100).optional(),
|
|
854
|
-
key: ft.nullish()
|
|
855
854
|
}), mt = e.object({
|
|
855
|
+
limit: e.number().gte(0).lte(100).optional(),
|
|
856
|
+
key: pt.nullish()
|
|
857
|
+
}), ht = e.object({
|
|
856
858
|
uuid: e.uuid(),
|
|
857
859
|
name: e.string()
|
|
858
|
-
}),
|
|
860
|
+
}), gt = e.object({ message: e.string() }), _t = e.object({
|
|
859
861
|
createdAt: e.iso.datetime(),
|
|
860
862
|
readAt: e.iso.datetime().nullable(),
|
|
861
863
|
notificationUuid: e.uuid(),
|
|
862
|
-
createdByUser:
|
|
864
|
+
createdByUser: ht.nullable(),
|
|
863
865
|
message: e.string(),
|
|
864
866
|
type: e.enum(["system.test-notification"]),
|
|
865
|
-
meta:
|
|
866
|
-
}),
|
|
867
|
+
meta: gt
|
|
868
|
+
}), vt = e.object({ next: pt.nullable() });
|
|
867
869
|
e.object({
|
|
868
|
-
items: e.array(
|
|
869
|
-
meta:
|
|
870
|
+
items: e.array(_t),
|
|
871
|
+
meta: vt
|
|
870
872
|
}), e.object({
|
|
871
873
|
amount: e.number().gte(0),
|
|
872
874
|
exceedsLimit: e.boolean()
|
|
@@ -875,55 +877,59 @@ e.object({
|
|
|
875
877
|
status: e.enum(["404"]),
|
|
876
878
|
code: e.enum(["user_notification_not_found"])
|
|
877
879
|
}), e.object({
|
|
878
|
-
channel:
|
|
880
|
+
channel: ct,
|
|
879
881
|
isEnabled: e.boolean(),
|
|
880
|
-
types: e.array(
|
|
881
|
-
}), e.object({ preset:
|
|
882
|
-
var
|
|
882
|
+
types: e.array(y)
|
|
883
|
+
}), e.object({ preset: ot });
|
|
884
|
+
var yt = e.object({ type: e.array(y) });
|
|
883
885
|
e.object({
|
|
884
886
|
detail: e.string().optional(),
|
|
885
887
|
status: e.enum(["400"]),
|
|
886
888
|
code: e.enum(["migration_already_performed"]),
|
|
887
|
-
meta:
|
|
888
|
-
}), e.object({ types: e.array(
|
|
889
|
-
var
|
|
890
|
-
key:
|
|
891
|
-
order:
|
|
892
|
-
}),
|
|
889
|
+
meta: yt
|
|
890
|
+
}), e.object({ types: e.array(y) });
|
|
891
|
+
var bt = e.enum(["createdAt"]), xt = e.enum(["asc", "desc"]), St = e.object({
|
|
892
|
+
key: bt,
|
|
893
|
+
order: xt
|
|
894
|
+
}), Ct = e.enum([
|
|
895
|
+
"system",
|
|
896
|
+
"accounting",
|
|
897
|
+
"accounting-exact"
|
|
898
|
+
]), wt = e.object({ queueNames: e.array(Ct).optional() }), Tt = e.object({
|
|
893
899
|
createdAt: e.iso.datetime().optional(),
|
|
894
900
|
id: e.string()
|
|
895
|
-
}),
|
|
901
|
+
}), Et = e.object({
|
|
896
902
|
limit: e.number().gte(0).lte(100).optional(),
|
|
897
|
-
key:
|
|
898
|
-
}),
|
|
903
|
+
key: Tt.nullish()
|
|
904
|
+
}), Dt = e.enum([
|
|
899
905
|
"created",
|
|
900
906
|
"active",
|
|
901
907
|
"completed",
|
|
902
908
|
"retry",
|
|
903
909
|
"failed",
|
|
904
910
|
"cancelled"
|
|
905
|
-
]),
|
|
906
|
-
queueName:
|
|
911
|
+
]), Ot = e.object({
|
|
912
|
+
queueName: Ct,
|
|
907
913
|
id: e.uuid(),
|
|
908
914
|
name: e.string(),
|
|
909
|
-
status:
|
|
915
|
+
status: Dt,
|
|
910
916
|
createdAt: e.iso.datetime(),
|
|
911
917
|
completedAt: e.iso.datetime().nullable()
|
|
912
|
-
}),
|
|
918
|
+
}), kt = e.object({ next: Tt.nullable() });
|
|
913
919
|
e.object({
|
|
914
|
-
items: e.array(
|
|
915
|
-
meta:
|
|
920
|
+
items: e.array(Ot),
|
|
921
|
+
meta: kt
|
|
916
922
|
}), e.object({
|
|
917
923
|
detail: e.string().optional(),
|
|
918
924
|
status: e.enum(["404"]),
|
|
919
925
|
code: e.enum(["job_not_found"])
|
|
920
926
|
}), e.object({
|
|
921
927
|
id: e.uuid(),
|
|
922
|
-
queueName:
|
|
928
|
+
queueName: Ct,
|
|
923
929
|
priority: e.number(),
|
|
924
930
|
name: e.string(),
|
|
925
931
|
data: e.record(e.string(), e.unknown()),
|
|
926
|
-
status:
|
|
932
|
+
status: Dt,
|
|
927
933
|
retryLimit: e.number(),
|
|
928
934
|
retryCount: e.number(),
|
|
929
935
|
retryDelay: e.number(),
|
|
@@ -965,7 +971,7 @@ e.object({
|
|
|
965
971
|
slug: e.string(),
|
|
966
972
|
domain: e.string().nullable()
|
|
967
973
|
});
|
|
968
|
-
var
|
|
974
|
+
var At = e.object({
|
|
969
975
|
uuid: e.uuid(),
|
|
970
976
|
createdAt: e.iso.datetime(),
|
|
971
977
|
updatedAt: e.iso.datetime(),
|
|
@@ -974,8 +980,8 @@ var kt = e.object({
|
|
|
974
980
|
domain: e.string().nullable()
|
|
975
981
|
});
|
|
976
982
|
e.object({
|
|
977
|
-
items: e.array(
|
|
978
|
-
meta:
|
|
983
|
+
items: e.array(At),
|
|
984
|
+
meta: Oe
|
|
979
985
|
}), e.object({
|
|
980
986
|
detail: e.string().optional(),
|
|
981
987
|
status: e.enum(["409"]),
|
|
@@ -993,10 +999,10 @@ e.object({
|
|
|
993
999
|
status: e.enum(["409"]),
|
|
994
1000
|
code: e.enum(["vat_number_already_in_use"])
|
|
995
1001
|
});
|
|
996
|
-
var
|
|
1002
|
+
var jt = e.object({
|
|
997
1003
|
longitude: e.number(),
|
|
998
1004
|
latitude: e.number()
|
|
999
|
-
}),
|
|
1005
|
+
}), Mt = e.object({
|
|
1000
1006
|
placeName: e.string().nullable(),
|
|
1001
1007
|
placeId: e.string().nullable(),
|
|
1002
1008
|
country: e.string().nullable(),
|
|
@@ -1006,17 +1012,17 @@ var At = e.object({
|
|
|
1006
1012
|
streetName: e.string().nullable(),
|
|
1007
1013
|
streetNumber: e.string().nullable(),
|
|
1008
1014
|
unit: e.string().nullable(),
|
|
1009
|
-
coordinates:
|
|
1010
|
-
}),
|
|
1015
|
+
coordinates: jt.nullable()
|
|
1016
|
+
}), b = e.enum(["pro_forma", "finalized"]);
|
|
1011
1017
|
e.object({
|
|
1012
1018
|
name: e.string(),
|
|
1013
|
-
address:
|
|
1019
|
+
address: Mt.nullable(),
|
|
1014
1020
|
email: e.string(),
|
|
1015
1021
|
phone: e.string().nullable(),
|
|
1016
1022
|
vatNumber: e.string().nullable(),
|
|
1017
|
-
type:
|
|
1018
|
-
locale:
|
|
1019
|
-
approvalMode:
|
|
1023
|
+
type: h,
|
|
1024
|
+
locale: Le,
|
|
1025
|
+
approvalMode: b.nullish(),
|
|
1020
1026
|
approvalEmail: e.email().max(255).nullable(),
|
|
1021
1027
|
reference: e.string().nullish()
|
|
1022
1028
|
}), e.object({ uuid: e.uuid() }), e.object({
|
|
@@ -1024,10 +1030,10 @@ e.object({
|
|
|
1024
1030
|
status: e.enum(["404"]),
|
|
1025
1031
|
code: e.enum(["customer_not_found"])
|
|
1026
1032
|
});
|
|
1027
|
-
var
|
|
1033
|
+
var Nt = e.object({
|
|
1028
1034
|
longitude: e.number(),
|
|
1029
1035
|
latitude: e.number()
|
|
1030
|
-
}),
|
|
1036
|
+
}), x = e.object({
|
|
1031
1037
|
placeName: e.string().nullable(),
|
|
1032
1038
|
placeId: e.string().nullable(),
|
|
1033
1039
|
country: e.string().nullable(),
|
|
@@ -1037,8 +1043,8 @@ var Mt = e.object({
|
|
|
1037
1043
|
streetName: e.string().nullable(),
|
|
1038
1044
|
streetNumber: e.string().nullable(),
|
|
1039
1045
|
unit: e.string().nullable(),
|
|
1040
|
-
coordinates:
|
|
1041
|
-
}),
|
|
1046
|
+
coordinates: Nt.nullable()
|
|
1047
|
+
}), Pt = e.enum(["internal", "external"]), Ft = e.enum([
|
|
1042
1048
|
"s",
|
|
1043
1049
|
"ms",
|
|
1044
1050
|
"μs",
|
|
@@ -1046,56 +1052,56 @@ var Mt = e.object({
|
|
|
1046
1052
|
"m",
|
|
1047
1053
|
"h",
|
|
1048
1054
|
"days"
|
|
1049
|
-
]),
|
|
1055
|
+
]), It = e.object({
|
|
1050
1056
|
value: e.number(),
|
|
1051
|
-
unit:
|
|
1052
|
-
}),
|
|
1057
|
+
unit: Ft
|
|
1058
|
+
}), S = e.object({
|
|
1053
1059
|
name: e.string().nullable(),
|
|
1054
1060
|
email: e.email(),
|
|
1055
1061
|
ccEmails: e.array(e.email()),
|
|
1056
1062
|
bccEmails: e.array(e.email())
|
|
1057
|
-
}), It = e.object({
|
|
1058
|
-
invoice: C.nullable(),
|
|
1059
|
-
creditNote: C.nullable(),
|
|
1060
|
-
approval: C.nullable(),
|
|
1061
|
-
dunning: C.nullable()
|
|
1062
1063
|
}), Lt = e.object({
|
|
1064
|
+
invoice: S.nullable(),
|
|
1065
|
+
creditNote: S.nullable(),
|
|
1066
|
+
approval: S.nullable(),
|
|
1067
|
+
dunning: S.nullable()
|
|
1068
|
+
}), Rt = e.object({
|
|
1063
1069
|
uuid: e.uuid(),
|
|
1064
1070
|
createdAt: e.iso.datetime(),
|
|
1065
1071
|
updatedAt: e.iso.datetime(),
|
|
1066
1072
|
name: e.string(),
|
|
1067
|
-
address:
|
|
1073
|
+
address: x.nullable(),
|
|
1068
1074
|
email: e.email().nullable(),
|
|
1069
1075
|
phone: e.string().nullable(),
|
|
1070
1076
|
vatNumber: e.string().nullable(),
|
|
1071
|
-
source:
|
|
1072
|
-
type:
|
|
1073
|
-
locale:
|
|
1074
|
-
currency:
|
|
1077
|
+
source: Pt,
|
|
1078
|
+
type: h,
|
|
1079
|
+
locale: Le,
|
|
1080
|
+
currency: _,
|
|
1075
1081
|
isDeactivated: e.boolean(),
|
|
1076
|
-
defaultPaymentTerm:
|
|
1077
|
-
approvalMode:
|
|
1082
|
+
defaultPaymentTerm: It,
|
|
1083
|
+
approvalMode: b.nullable(),
|
|
1078
1084
|
approvalEmail: e.email().nullable(),
|
|
1079
|
-
contacts:
|
|
1085
|
+
contacts: Lt,
|
|
1080
1086
|
reference: e.string().nullable()
|
|
1081
|
-
}),
|
|
1087
|
+
}), zt = e.object({
|
|
1082
1088
|
isDeactivated: e.boolean().optional(),
|
|
1083
1089
|
vatNumber: e.string().optional(),
|
|
1084
1090
|
externalId: e.string().optional(),
|
|
1085
|
-
type:
|
|
1086
|
-
}),
|
|
1091
|
+
type: h.optional()
|
|
1092
|
+
}), Bt = e.object({
|
|
1087
1093
|
uuid: e.string(),
|
|
1088
1094
|
name: e.string(),
|
|
1089
1095
|
email: e.string().nullable(),
|
|
1090
1096
|
phone: e.string().nullable(),
|
|
1091
1097
|
vatNumber: e.string().nullable(),
|
|
1092
|
-
address:
|
|
1093
|
-
source:
|
|
1094
|
-
type:
|
|
1098
|
+
address: x,
|
|
1099
|
+
source: Pt,
|
|
1100
|
+
type: h,
|
|
1095
1101
|
isDeactivated: e.boolean()
|
|
1096
|
-
}),
|
|
1097
|
-
items: e.array(
|
|
1098
|
-
meta:
|
|
1102
|
+
}), Vt = e.object({
|
|
1103
|
+
items: e.array(Bt),
|
|
1104
|
+
meta: Oe
|
|
1099
1105
|
});
|
|
1100
1106
|
e.object({
|
|
1101
1107
|
detail: e.string().optional(),
|
|
@@ -1111,15 +1117,15 @@ e.object({
|
|
|
1111
1117
|
code: e.enum(["vat_number_required"])
|
|
1112
1118
|
}), e.object({
|
|
1113
1119
|
name: e.string(),
|
|
1114
|
-
address:
|
|
1120
|
+
address: Mt.nullable(),
|
|
1115
1121
|
email: e.string(),
|
|
1116
1122
|
phone: e.string().nullable(),
|
|
1117
1123
|
vatNumber: e.string().nullable(),
|
|
1118
|
-
type:
|
|
1119
|
-
locale:
|
|
1120
|
-
currency:
|
|
1121
|
-
defaultPaymentTerm:
|
|
1122
|
-
approvalMode:
|
|
1124
|
+
type: h,
|
|
1125
|
+
locale: Le,
|
|
1126
|
+
currency: _,
|
|
1127
|
+
defaultPaymentTerm: It.optional(),
|
|
1128
|
+
approvalMode: b.nullish(),
|
|
1123
1129
|
approvalEmail: e.email().max(255).nullable(),
|
|
1124
1130
|
reference: e.string().nullish()
|
|
1125
1131
|
}), e.object({
|
|
@@ -1127,17 +1133,17 @@ e.object({
|
|
|
1127
1133
|
status: e.enum(["409"]),
|
|
1128
1134
|
code: e.enum(["external_customer_contacts_read_only"])
|
|
1129
1135
|
});
|
|
1130
|
-
var
|
|
1136
|
+
var C = e.object({
|
|
1131
1137
|
name: e.string().nullable(),
|
|
1132
1138
|
email: e.email().max(255),
|
|
1133
1139
|
ccEmails: e.array(e.email()).max(10),
|
|
1134
1140
|
bccEmails: e.array(e.email()).max(10)
|
|
1135
1141
|
});
|
|
1136
1142
|
e.object({
|
|
1137
|
-
invoice:
|
|
1138
|
-
creditNote:
|
|
1139
|
-
approval:
|
|
1140
|
-
dunning:
|
|
1143
|
+
invoice: C.nullish(),
|
|
1144
|
+
creditNote: C.nullish(),
|
|
1145
|
+
approval: C.nullish(),
|
|
1146
|
+
dunning: C.nullish()
|
|
1141
1147
|
}), e.object({
|
|
1142
1148
|
customerUuid: e.uuid(),
|
|
1143
1149
|
email: e.string(),
|
|
@@ -1171,7 +1177,7 @@ var Ut = e.object({
|
|
|
1171
1177
|
isDefault: e.boolean()
|
|
1172
1178
|
}), Wt = e.object({
|
|
1173
1179
|
items: e.array(Ut),
|
|
1174
|
-
meta:
|
|
1180
|
+
meta: Oe
|
|
1175
1181
|
});
|
|
1176
1182
|
e.object({
|
|
1177
1183
|
detail: e.string().optional(),
|
|
@@ -1208,18 +1214,18 @@ var Gt = e.enum([
|
|
|
1208
1214
|
name: e.string().nullable(),
|
|
1209
1215
|
phoneNumber: e.string().nullable(),
|
|
1210
1216
|
website: e.string().nullable(),
|
|
1211
|
-
address:
|
|
1217
|
+
address: x.nullable(),
|
|
1212
1218
|
vatNumber: e.string().nullable(),
|
|
1213
1219
|
bic: e.string().nullable(),
|
|
1214
1220
|
bankAccountNumber: e.string().nullable(),
|
|
1215
|
-
currency:
|
|
1221
|
+
currency: _,
|
|
1216
1222
|
invoiceSequenceFormat: Jt,
|
|
1217
1223
|
creditNoteSequenceFormat: Jt,
|
|
1218
1224
|
shareCreditNoteSequence: e.boolean(),
|
|
1219
1225
|
isSequenceFormatChangeImmediate: e.boolean(),
|
|
1220
1226
|
isCreditNoteSequenceChangeImmediate: e.boolean(),
|
|
1221
1227
|
sequenceReset: Yt,
|
|
1222
|
-
defaultPaymentTerm:
|
|
1228
|
+
defaultPaymentTerm: It,
|
|
1223
1229
|
requiresInvoiceApprovalFile: e.boolean(),
|
|
1224
1230
|
allowsEditingExternallyCreatedInvoices: e.boolean()
|
|
1225
1231
|
});
|
|
@@ -1237,16 +1243,16 @@ var Zt = e.object({
|
|
|
1237
1243
|
name: e.string().nullable(),
|
|
1238
1244
|
phoneNumber: e.string().nullable(),
|
|
1239
1245
|
website: e.string().nullable(),
|
|
1240
|
-
address:
|
|
1246
|
+
address: Mt.nullable(),
|
|
1241
1247
|
vatNumber: e.string().nullable(),
|
|
1242
1248
|
bankAccountNumber: e.string().nullable(),
|
|
1243
1249
|
bic: e.string().nullable(),
|
|
1244
|
-
currency:
|
|
1250
|
+
currency: _,
|
|
1245
1251
|
invoiceSequenceFormat: Jt,
|
|
1246
1252
|
creditNoteSequenceFormat: Jt.optional(),
|
|
1247
1253
|
shareCreditNoteSequence: e.boolean().optional(),
|
|
1248
1254
|
sequenceReset: Yt,
|
|
1249
|
-
defaultPaymentTerm:
|
|
1255
|
+
defaultPaymentTerm: It
|
|
1250
1256
|
});
|
|
1251
1257
|
e.object({
|
|
1252
1258
|
detail: e.string().optional(),
|
|
@@ -1292,7 +1298,7 @@ var w = e.object({
|
|
|
1292
1298
|
}), M = e.object({
|
|
1293
1299
|
definitionUuid: e.uuid(),
|
|
1294
1300
|
type: e.enum(["monetary"]),
|
|
1295
|
-
value:
|
|
1301
|
+
value: v
|
|
1296
1302
|
}), N = e.object({
|
|
1297
1303
|
definitionUuid: e.uuid(),
|
|
1298
1304
|
type: e.enum(["reference"]),
|
|
@@ -1303,7 +1309,7 @@ var w = e.object({
|
|
|
1303
1309
|
email: e.email().nullable(),
|
|
1304
1310
|
phoneNumber: e.string().nullable(),
|
|
1305
1311
|
website: e.string().nullable(),
|
|
1306
|
-
address:
|
|
1312
|
+
address: x.nullable(),
|
|
1307
1313
|
vatNumber: e.string().nullable(),
|
|
1308
1314
|
bankAccountNumber: e.string().nullable(),
|
|
1309
1315
|
alternativeBankAccountNumber: e.string().nullable()
|
|
@@ -1316,9 +1322,9 @@ var w = e.object({
|
|
|
1316
1322
|
name: e.string().nullable(),
|
|
1317
1323
|
email: e.email().nullable(),
|
|
1318
1324
|
phoneNumber: e.string().nullable(),
|
|
1319
|
-
address:
|
|
1325
|
+
address: x.nullable(),
|
|
1320
1326
|
vatNumber: e.string().nullable(),
|
|
1321
|
-
type:
|
|
1327
|
+
type: h
|
|
1322
1328
|
}), P = e.enum([
|
|
1323
1329
|
"draft",
|
|
1324
1330
|
"ready",
|
|
@@ -1363,7 +1369,7 @@ var w = e.object({
|
|
|
1363
1369
|
"21"
|
|
1364
1370
|
]), cn = e.enum(["percentage", "amount"]), L = e.object({
|
|
1365
1371
|
type: cn,
|
|
1366
|
-
amount:
|
|
1372
|
+
amount: v.nullable(),
|
|
1367
1373
|
percentage: e.number().nullable(),
|
|
1368
1374
|
description: e.string().nullable()
|
|
1369
1375
|
}), ln = e.enum([
|
|
@@ -1396,11 +1402,11 @@ var w = e.object({
|
|
|
1396
1402
|
N
|
|
1397
1403
|
])),
|
|
1398
1404
|
quantity: e.number(),
|
|
1399
|
-
unitPrice:
|
|
1405
|
+
unitPrice: v,
|
|
1400
1406
|
vatRate: I,
|
|
1401
1407
|
vatRatePercentage: e.number(),
|
|
1402
|
-
netAmount:
|
|
1403
|
-
grossAmount:
|
|
1408
|
+
netAmount: v,
|
|
1409
|
+
grossAmount: v,
|
|
1404
1410
|
discount: L.nullable(),
|
|
1405
1411
|
unit: ln,
|
|
1406
1412
|
isDiscount: e.boolean()
|
|
@@ -1423,15 +1429,15 @@ var w = e.object({
|
|
|
1423
1429
|
])),
|
|
1424
1430
|
lines: e.array(un),
|
|
1425
1431
|
groups: e.array(e.lazy(() => dn)),
|
|
1426
|
-
grossTotal:
|
|
1432
|
+
grossTotal: v
|
|
1427
1433
|
}), fn = e.object({
|
|
1428
1434
|
vatRate: I,
|
|
1429
|
-
netAmount:
|
|
1430
|
-
vatAmount:
|
|
1435
|
+
netAmount: v,
|
|
1436
|
+
vatAmount: v
|
|
1431
1437
|
}), pn = e.object({
|
|
1432
1438
|
uuid: e.uuid(),
|
|
1433
1439
|
createdAt: e.iso.datetime(),
|
|
1434
|
-
status:
|
|
1440
|
+
status: g,
|
|
1435
1441
|
sequence: e.string().nullable()
|
|
1436
1442
|
}), mn = e.enum([
|
|
1437
1443
|
"unsent",
|
|
@@ -1451,7 +1457,7 @@ var w = e.object({
|
|
|
1451
1457
|
issuer: $t,
|
|
1452
1458
|
recipient: en.nullable(),
|
|
1453
1459
|
customer: tn,
|
|
1454
|
-
status:
|
|
1460
|
+
status: g,
|
|
1455
1461
|
lifecycleStatus: P,
|
|
1456
1462
|
paymentReference: e.string().nullable(),
|
|
1457
1463
|
subject: e.string().nullable(),
|
|
@@ -1473,14 +1479,14 @@ var w = e.object({
|
|
|
1473
1479
|
ungroupedLines: e.array(un),
|
|
1474
1480
|
groups: e.array(dn),
|
|
1475
1481
|
vatSummaries: e.array(fn),
|
|
1476
|
-
grossAmount:
|
|
1477
|
-
netAmount:
|
|
1478
|
-
effectiveNet:
|
|
1479
|
-
vatAmount:
|
|
1480
|
-
totalDiscountAmount:
|
|
1482
|
+
grossAmount: v,
|
|
1483
|
+
netAmount: v,
|
|
1484
|
+
effectiveNet: v,
|
|
1485
|
+
vatAmount: v,
|
|
1486
|
+
totalDiscountAmount: v.nullable(),
|
|
1481
1487
|
globalDiscount: L.nullable(),
|
|
1482
|
-
advancePaymentAmount:
|
|
1483
|
-
amountDue:
|
|
1488
|
+
advancePaymentAmount: v.nullable(),
|
|
1489
|
+
amountDue: v,
|
|
1484
1490
|
originalInvoice: pn.nullable(),
|
|
1485
1491
|
externalRemarks: e.string().nullable(),
|
|
1486
1492
|
deliveryStatus: mn,
|
|
@@ -1508,15 +1514,15 @@ e.object({
|
|
|
1508
1514
|
code: e.enum(["custom_field_value_validation"])
|
|
1509
1515
|
});
|
|
1510
1516
|
var gn = e.object({
|
|
1511
|
-
billingDocument:
|
|
1512
|
-
approval:
|
|
1517
|
+
billingDocument: C.nullish(),
|
|
1518
|
+
approval: C.nullish()
|
|
1513
1519
|
}), _n = e.object({
|
|
1514
1520
|
name: e.string(),
|
|
1515
1521
|
description: e.string().nullable(),
|
|
1516
1522
|
externalId: e.string().nullish(),
|
|
1517
1523
|
position: e.int(),
|
|
1518
1524
|
quantity: e.number().lte(1e4),
|
|
1519
|
-
unitPrice:
|
|
1525
|
+
unitPrice: v,
|
|
1520
1526
|
vatRate: I,
|
|
1521
1527
|
discount: L.nullable(),
|
|
1522
1528
|
unit: ln,
|
|
@@ -1557,7 +1563,7 @@ var gn = e.object({
|
|
|
1557
1563
|
ungroupedLines: e.array(_n)
|
|
1558
1564
|
}), bn = e.object({
|
|
1559
1565
|
customerUuid: e.uuid(),
|
|
1560
|
-
approvalMode:
|
|
1566
|
+
approvalMode: b.nullish(),
|
|
1561
1567
|
isExternallyCreated: e.boolean().optional(),
|
|
1562
1568
|
contactOverride: gn.optional(),
|
|
1563
1569
|
issuedOn: e.iso.date().optional(),
|
|
@@ -1587,7 +1593,7 @@ var gn = e.object({
|
|
|
1587
1593
|
email: e.email().nullable(),
|
|
1588
1594
|
phoneNumber: e.string().nullable(),
|
|
1589
1595
|
website: e.string().nullable(),
|
|
1590
|
-
address:
|
|
1596
|
+
address: x.nullable(),
|
|
1591
1597
|
vatNumber: e.string().nullable(),
|
|
1592
1598
|
bankAccountNumber: e.string().nullable(),
|
|
1593
1599
|
alternativeBankAccountNumber: e.string().nullable()
|
|
@@ -1596,17 +1602,17 @@ var gn = e.object({
|
|
|
1596
1602
|
name: e.string().nullable(),
|
|
1597
1603
|
email: e.email().nullable()
|
|
1598
1604
|
}), wn = e.object({
|
|
1599
|
-
billingDocument:
|
|
1600
|
-
approval:
|
|
1605
|
+
billingDocument: S.nullable(),
|
|
1606
|
+
approval: S.nullable()
|
|
1601
1607
|
}), Tn = e.object({
|
|
1602
1608
|
uuid: e.uuid(),
|
|
1603
1609
|
name: e.string().nullable(),
|
|
1604
1610
|
email: e.email().nullable(),
|
|
1605
1611
|
externalId: e.string().nullable(),
|
|
1606
1612
|
phoneNumber: e.string().nullable(),
|
|
1607
|
-
address:
|
|
1613
|
+
address: x.nullable(),
|
|
1608
1614
|
vatNumber: e.string().nullable(),
|
|
1609
|
-
type:
|
|
1615
|
+
type: h,
|
|
1610
1616
|
approvalEmail: e.email().nullable()
|
|
1611
1617
|
}), En = e.object({
|
|
1612
1618
|
uuid: e.uuid(),
|
|
@@ -1632,11 +1638,11 @@ var gn = e.object({
|
|
|
1632
1638
|
N
|
|
1633
1639
|
])),
|
|
1634
1640
|
quantity: e.number(),
|
|
1635
|
-
unitPrice:
|
|
1641
|
+
unitPrice: v,
|
|
1636
1642
|
vatRate: I,
|
|
1637
1643
|
vatRatePercentage: e.number(),
|
|
1638
|
-
netAmount:
|
|
1639
|
-
grossAmount:
|
|
1644
|
+
netAmount: v,
|
|
1645
|
+
grossAmount: v,
|
|
1640
1646
|
discount: L.nullable(),
|
|
1641
1647
|
unit: ln,
|
|
1642
1648
|
isDiscount: e.boolean(),
|
|
@@ -1661,26 +1667,26 @@ var gn = e.object({
|
|
|
1661
1667
|
])),
|
|
1662
1668
|
lines: e.array(Dn),
|
|
1663
1669
|
groups: e.array(e.lazy(() => On)),
|
|
1664
|
-
grossTotal:
|
|
1670
|
+
grossTotal: v
|
|
1665
1671
|
}), kn = e.object({
|
|
1666
1672
|
vatRate: I,
|
|
1667
|
-
netAmount:
|
|
1668
|
-
vatAmount:
|
|
1673
|
+
netAmount: v,
|
|
1674
|
+
vatAmount: v
|
|
1669
1675
|
}), An = e.object({
|
|
1670
1676
|
uuid: e.uuid(),
|
|
1671
1677
|
name: e.string(),
|
|
1672
|
-
mimeType:
|
|
1678
|
+
mimeType: Me,
|
|
1673
1679
|
blurHash: e.string().nullable()
|
|
1674
1680
|
}), jn = e.object({
|
|
1675
1681
|
uuid: e.uuid(),
|
|
1676
1682
|
createdAt: e.iso.datetime(),
|
|
1677
|
-
status:
|
|
1683
|
+
status: g,
|
|
1678
1684
|
sequence: e.string().nullable(),
|
|
1679
|
-
grossAmount:
|
|
1680
|
-
totalCreditedAmount:
|
|
1681
|
-
paidAmount:
|
|
1682
|
-
balanceDueAmount:
|
|
1683
|
-
creditableAmount:
|
|
1685
|
+
grossAmount: v,
|
|
1686
|
+
totalCreditedAmount: v.nullable(),
|
|
1687
|
+
paidAmount: v.nullable(),
|
|
1688
|
+
balanceDueAmount: v.nullable(),
|
|
1689
|
+
creditableAmount: v.nullable()
|
|
1684
1690
|
}), Mn = e.object({
|
|
1685
1691
|
uuid: e.string(),
|
|
1686
1692
|
firstName: e.string().nullable(),
|
|
@@ -1720,7 +1726,7 @@ var gn = e.object({
|
|
|
1720
1726
|
"other"
|
|
1721
1727
|
]), Bn = e.union([e.literal(1), e.literal(2)]), Vn = e.object({
|
|
1722
1728
|
uuid: e.uuid(),
|
|
1723
|
-
mode:
|
|
1729
|
+
mode: b,
|
|
1724
1730
|
sentAt: e.string().nullable(),
|
|
1725
1731
|
status: Rn,
|
|
1726
1732
|
answeredAt: e.string().nullable(),
|
|
@@ -1732,7 +1738,14 @@ var gn = e.object({
|
|
|
1732
1738
|
rejectionReason: zn.nullable(),
|
|
1733
1739
|
level: Bn.nullable(),
|
|
1734
1740
|
reminderSentAt: e.iso.datetime().nullable()
|
|
1735
|
-
}), Hn = e.
|
|
1741
|
+
}), Hn = e.enum(["EXACT_ONLINE"]), Un = e.enum([
|
|
1742
|
+
"synced",
|
|
1743
|
+
"pending",
|
|
1744
|
+
"failed"
|
|
1745
|
+
]), Wn = e.object({
|
|
1746
|
+
provider: Hn,
|
|
1747
|
+
status: Un
|
|
1748
|
+
}), Gn = e.object({
|
|
1736
1749
|
uuid: e.uuid(),
|
|
1737
1750
|
sequence: e.string().nullable(),
|
|
1738
1751
|
type: Qt,
|
|
@@ -1743,11 +1756,11 @@ var gn = e.object({
|
|
|
1743
1756
|
deliveredOn: e.iso.date().nullable(),
|
|
1744
1757
|
issuer: Sn,
|
|
1745
1758
|
recipient: Cn.nullable(),
|
|
1746
|
-
billingDocumentRecipient:
|
|
1747
|
-
approvalRecipient:
|
|
1759
|
+
billingDocumentRecipient: S.nullable(),
|
|
1760
|
+
approvalRecipient: S.nullable(),
|
|
1748
1761
|
contactOverride: wn,
|
|
1749
1762
|
customer: Tn,
|
|
1750
|
-
status:
|
|
1763
|
+
status: g,
|
|
1751
1764
|
lifecycleStatus: P,
|
|
1752
1765
|
paymentReference: e.string().nullable(),
|
|
1753
1766
|
subject: e.string().nullable(),
|
|
@@ -1767,11 +1780,11 @@ var gn = e.object({
|
|
|
1767
1780
|
ungroupedLines: e.array(Dn),
|
|
1768
1781
|
groups: e.array(On),
|
|
1769
1782
|
vatSummaries: e.array(kn),
|
|
1770
|
-
grossAmount:
|
|
1771
|
-
netAmount:
|
|
1772
|
-
effectiveNet:
|
|
1773
|
-
vatAmount:
|
|
1774
|
-
totalDiscountAmount:
|
|
1783
|
+
grossAmount: v,
|
|
1784
|
+
netAmount: v,
|
|
1785
|
+
effectiveNet: v,
|
|
1786
|
+
vatAmount: v,
|
|
1787
|
+
totalDiscountAmount: v.nullable(),
|
|
1775
1788
|
globalDiscount: L.nullable(),
|
|
1776
1789
|
attachments: e.array(An),
|
|
1777
1790
|
approvalFiles: e.array(An),
|
|
@@ -1781,32 +1794,33 @@ var gn = e.object({
|
|
|
1781
1794
|
lastUpdatedBy: Pn.nullable(),
|
|
1782
1795
|
file: An.nullable(),
|
|
1783
1796
|
externalRemarks: e.string().nullable(),
|
|
1784
|
-
paidAmount:
|
|
1797
|
+
paidAmount: v.nullable(),
|
|
1785
1798
|
settlementStatus: R,
|
|
1786
|
-
balanceDueAmount:
|
|
1787
|
-
advancePaymentAmount:
|
|
1788
|
-
amountDue:
|
|
1789
|
-
currency:
|
|
1799
|
+
balanceDueAmount: v.nullable(),
|
|
1800
|
+
advancePaymentAmount: v.nullable(),
|
|
1801
|
+
amountDue: v,
|
|
1802
|
+
currency: _,
|
|
1790
1803
|
deliveryStatus: mn,
|
|
1791
1804
|
isDisputed: e.boolean(),
|
|
1792
1805
|
isOverdue: e.boolean(),
|
|
1793
1806
|
reminders: e.array(Fn),
|
|
1794
1807
|
reminderConfigs: e.array(Ln),
|
|
1795
|
-
approvalMode:
|
|
1808
|
+
approvalMode: b.nullable(),
|
|
1796
1809
|
approval: e.array(Vn),
|
|
1797
1810
|
hasChangesSinceApprovalSent: e.boolean(),
|
|
1798
1811
|
isEditable: e.boolean(),
|
|
1799
1812
|
isExternallyCreated: e.boolean(),
|
|
1800
|
-
reference: e.string().nullable()
|
|
1801
|
-
|
|
1813
|
+
reference: e.string().nullable(),
|
|
1814
|
+
accountingSync: Wn.nullable()
|
|
1815
|
+
}), Kn = e.enum([
|
|
1802
1816
|
"created_at",
|
|
1803
1817
|
"issued_on",
|
|
1804
1818
|
"sequence",
|
|
1805
1819
|
"customer",
|
|
1806
1820
|
"netAmount"
|
|
1807
|
-
]),
|
|
1808
|
-
key:
|
|
1809
|
-
order:
|
|
1821
|
+
]), qn = e.object({
|
|
1822
|
+
key: Kn,
|
|
1823
|
+
order: xt
|
|
1810
1824
|
}), z = e.object({
|
|
1811
1825
|
definitionUuid: e.uuid(),
|
|
1812
1826
|
type: e.enum(["number"]),
|
|
@@ -1826,7 +1840,7 @@ var gn = e.object({
|
|
|
1826
1840
|
}), U = e.object({
|
|
1827
1841
|
definitionUuid: e.uuid(),
|
|
1828
1842
|
type: e.enum(["monetary"]),
|
|
1829
|
-
value:
|
|
1843
|
+
value: v
|
|
1830
1844
|
}), W = e.object({
|
|
1831
1845
|
definitionUuid: e.uuid(),
|
|
1832
1846
|
type: e.enum(["multi_select"]),
|
|
@@ -1854,8 +1868,8 @@ var gn = e.object({
|
|
|
1854
1868
|
e.enum(["infinity"]),
|
|
1855
1869
|
e.enum(["-infinity"])
|
|
1856
1870
|
])
|
|
1857
|
-
}),
|
|
1858
|
-
scope:
|
|
1871
|
+
}), Jn = e.enum(["include", "exclude"]), Y = e.object({
|
|
1872
|
+
scope: Jn,
|
|
1859
1873
|
values: e.array(e.uuid())
|
|
1860
1874
|
}), X = e.enum([
|
|
1861
1875
|
"no_approval_required",
|
|
@@ -1865,8 +1879,8 @@ var gn = e.object({
|
|
|
1865
1879
|
"approved",
|
|
1866
1880
|
"rejected",
|
|
1867
1881
|
"expired"
|
|
1868
|
-
]),
|
|
1869
|
-
statuses: e.array(
|
|
1882
|
+
]), Yn = e.object({
|
|
1883
|
+
statuses: e.array(g).optional(),
|
|
1870
1884
|
lifecycleStatuses: e.array(P).optional(),
|
|
1871
1885
|
customerUuids: e.array(e.uuid()).optional(),
|
|
1872
1886
|
dueOnRange: J.optional(),
|
|
@@ -1893,32 +1907,32 @@ var gn = e.object({
|
|
|
1893
1907
|
isApprovalCancelled: e.boolean().optional(),
|
|
1894
1908
|
isExternallyCreated: e.boolean().optional(),
|
|
1895
1909
|
poNumber: e.string().optional()
|
|
1896
|
-
}),
|
|
1910
|
+
}), Xn = e.object({
|
|
1897
1911
|
uuid: e.uuid(),
|
|
1898
1912
|
externalId: e.string().nullable(),
|
|
1899
1913
|
name: e.string()
|
|
1900
|
-
}),
|
|
1914
|
+
}), Zn = e.object({
|
|
1901
1915
|
status: Rn,
|
|
1902
1916
|
level: Bn.nullable(),
|
|
1903
1917
|
sentAt: e.iso.datetime().nullable(),
|
|
1904
1918
|
reminderSentAt: e.iso.datetime().nullable()
|
|
1905
|
-
}),
|
|
1919
|
+
}), Qn = e.object({
|
|
1906
1920
|
uuid: e.uuid(),
|
|
1907
1921
|
type: Qt,
|
|
1908
1922
|
createdAt: e.iso.datetime(),
|
|
1909
1923
|
issuedOn: e.iso.date().nullable(),
|
|
1910
1924
|
dueOn: e.iso.date().nullable(),
|
|
1911
1925
|
subject: e.string().nullable(),
|
|
1912
|
-
customer:
|
|
1913
|
-
status:
|
|
1926
|
+
customer: Xn,
|
|
1927
|
+
status: g,
|
|
1914
1928
|
lifecycleStatus: P,
|
|
1915
|
-
netAmount:
|
|
1916
|
-
grossAmount:
|
|
1929
|
+
netAmount: v,
|
|
1930
|
+
grossAmount: v,
|
|
1917
1931
|
sequence: e.string().nullable(),
|
|
1918
|
-
paidAmount:
|
|
1919
|
-
totalCreditedAmount:
|
|
1932
|
+
paidAmount: v.nullable(),
|
|
1933
|
+
totalCreditedAmount: v.nullable(),
|
|
1920
1934
|
settlementStatus: R,
|
|
1921
|
-
balanceDueAmount:
|
|
1935
|
+
balanceDueAmount: v.nullable(),
|
|
1922
1936
|
isDisputed: e.boolean(),
|
|
1923
1937
|
isOverdue: e.boolean(),
|
|
1924
1938
|
deliveryStatus: mn,
|
|
@@ -1934,12 +1948,12 @@ var gn = e.object({
|
|
|
1934
1948
|
M,
|
|
1935
1949
|
N
|
|
1936
1950
|
])),
|
|
1937
|
-
approvalMode:
|
|
1951
|
+
approvalMode: b.nullable(),
|
|
1938
1952
|
hasChangesSinceApprovalSent: e.boolean(),
|
|
1939
|
-
approval:
|
|
1940
|
-
}),
|
|
1941
|
-
items: e.array(
|
|
1942
|
-
meta:
|
|
1953
|
+
approval: Zn.nullable()
|
|
1954
|
+
}), $n = e.object({
|
|
1955
|
+
items: e.array(Qn),
|
|
1956
|
+
meta: Oe
|
|
1943
1957
|
});
|
|
1944
1958
|
e.object({
|
|
1945
1959
|
detail: e.string().optional(),
|
|
@@ -1954,7 +1968,7 @@ e.object({
|
|
|
1954
1968
|
status: e.enum(["403"]),
|
|
1955
1969
|
code: e.enum(["externally_created_invoice_not_editable"])
|
|
1956
1970
|
});
|
|
1957
|
-
var
|
|
1971
|
+
var er = e.object({
|
|
1958
1972
|
issuedOn: e.iso.date(),
|
|
1959
1973
|
deliveredOn: e.iso.date().nullable(),
|
|
1960
1974
|
dueOn: e.iso.date(),
|
|
@@ -1988,13 +2002,13 @@ e.object({
|
|
|
1988
2002
|
status: e.enum(["409"]),
|
|
1989
2003
|
code: e.enum(["global_discount_exceeds_total_net"])
|
|
1990
2004
|
}), e.object({ discount: L.nullable() });
|
|
1991
|
-
var
|
|
2005
|
+
var tr = e.object({ discount: L });
|
|
1992
2006
|
e.object({
|
|
1993
2007
|
detail: e.string().optional(),
|
|
1994
2008
|
status: e.enum(["409"]),
|
|
1995
2009
|
code: e.enum(["file_unconfirmed"])
|
|
1996
2010
|
});
|
|
1997
|
-
var
|
|
2011
|
+
var nr = e.object({ fileUuids: e.array(e.uuid()) });
|
|
1998
2012
|
e.object({
|
|
1999
2013
|
detail: e.string().optional(),
|
|
2000
2014
|
status: e.enum(["409"]),
|
|
@@ -2012,7 +2026,7 @@ e.object({
|
|
|
2012
2026
|
status: e.enum(["409"]),
|
|
2013
2027
|
code: e.enum(["invoice_already_finalized"])
|
|
2014
2028
|
});
|
|
2015
|
-
var
|
|
2029
|
+
var rr = e.object({
|
|
2016
2030
|
approvalStatus: Rn.nullable(),
|
|
2017
2031
|
level: Bn.nullable()
|
|
2018
2032
|
});
|
|
@@ -2020,41 +2034,41 @@ e.object({
|
|
|
2020
2034
|
detail: e.string().optional(),
|
|
2021
2035
|
status: e.enum(["409"]),
|
|
2022
2036
|
code: e.enum(["invoice_finalization_requires_approval"]),
|
|
2023
|
-
meta:
|
|
2037
|
+
meta: rr
|
|
2024
2038
|
}), e.object({
|
|
2025
2039
|
detail: e.string().optional(),
|
|
2026
2040
|
status: e.enum(["400"]),
|
|
2027
2041
|
code: e.enum(["invoice_issued_on_in_future"])
|
|
2028
2042
|
});
|
|
2029
|
-
var
|
|
2043
|
+
var ir = e.object({ lastIssuedOn: e.iso.date() });
|
|
2030
2044
|
e.object({
|
|
2031
2045
|
detail: e.string().optional(),
|
|
2032
2046
|
status: e.enum(["409"]),
|
|
2033
2047
|
code: e.enum(["invoice_issued_on_before_last_issued"]),
|
|
2034
|
-
meta:
|
|
2048
|
+
meta: ir
|
|
2035
2049
|
});
|
|
2036
|
-
var
|
|
2050
|
+
var ar = e.object({ periodEndedOn: e.iso.date() });
|
|
2037
2051
|
e.object({
|
|
2038
2052
|
detail: e.string().optional(),
|
|
2039
2053
|
status: e.enum(["409"]),
|
|
2040
2054
|
code: e.enum(["invoice_issued_on_in_closed_period"]),
|
|
2041
|
-
meta:
|
|
2055
|
+
meta: ar
|
|
2042
2056
|
});
|
|
2043
|
-
var
|
|
2057
|
+
var or = e.enum([
|
|
2044
2058
|
"missing_company_identity",
|
|
2045
2059
|
"missing_purchase_order_reference",
|
|
2046
2060
|
"invalid_invoice_lines",
|
|
2047
2061
|
"zero_vat_requires_explicit_tax_category",
|
|
2048
2062
|
"missing_payment_account",
|
|
2049
2063
|
"incomplete_address"
|
|
2050
|
-
]),
|
|
2064
|
+
]), sr = e.object({ reasons: e.array(or) });
|
|
2051
2065
|
e.object({
|
|
2052
2066
|
detail: e.string().optional(),
|
|
2053
2067
|
status: e.enum(["400"]),
|
|
2054
2068
|
code: e.enum(["invoice_not_peppol_compliant"]),
|
|
2055
|
-
meta:
|
|
2069
|
+
meta: sr
|
|
2056
2070
|
});
|
|
2057
|
-
var
|
|
2071
|
+
var cr = e.object({ sendOnFinalization: e.boolean().optional() });
|
|
2058
2072
|
e.object({
|
|
2059
2073
|
detail: e.string().optional(),
|
|
2060
2074
|
status: e.enum(["409"]),
|
|
@@ -2068,19 +2082,19 @@ e.object({
|
|
|
2068
2082
|
status: e.enum(["409"]),
|
|
2069
2083
|
code: e.enum(["invoice_fully_credited"])
|
|
2070
2084
|
});
|
|
2071
|
-
var
|
|
2085
|
+
var lr = e.object({ uuid: e.uuid() });
|
|
2072
2086
|
e.object({
|
|
2073
2087
|
detail: e.string().optional(),
|
|
2074
2088
|
status: e.enum(["409"]),
|
|
2075
2089
|
code: e.enum(["invoice_not_credit_note"])
|
|
2076
2090
|
});
|
|
2077
|
-
var
|
|
2091
|
+
var ur = e.object({
|
|
2078
2092
|
name: e.string(),
|
|
2079
2093
|
description: e.string().nullable(),
|
|
2080
2094
|
externalId: e.string().nullish(),
|
|
2081
2095
|
position: e.int(),
|
|
2082
2096
|
quantity: e.number().lte(1e4),
|
|
2083
|
-
unitPrice:
|
|
2097
|
+
unitPrice: v,
|
|
2084
2098
|
vatRate: I,
|
|
2085
2099
|
discount: L.nullable(),
|
|
2086
2100
|
unit: ln,
|
|
@@ -2097,12 +2111,12 @@ var sr = e.object({
|
|
|
2097
2111
|
M,
|
|
2098
2112
|
N
|
|
2099
2113
|
])).optional()
|
|
2100
|
-
}),
|
|
2114
|
+
}), dr = e.object({
|
|
2101
2115
|
name: e.string(),
|
|
2102
2116
|
description: e.string().nullable(),
|
|
2103
2117
|
externalId: e.string().nullish(),
|
|
2104
2118
|
position: e.int(),
|
|
2105
|
-
lines: e.array(
|
|
2119
|
+
lines: e.array(ur),
|
|
2106
2120
|
customFields: e.array(e.union([
|
|
2107
2121
|
w,
|
|
2108
2122
|
T,
|
|
@@ -2115,16 +2129,16 @@ var sr = e.object({
|
|
|
2115
2129
|
M,
|
|
2116
2130
|
N
|
|
2117
2131
|
])).optional(),
|
|
2118
|
-
groups: e.array(e.lazy(() =>
|
|
2119
|
-
}),
|
|
2120
|
-
groups: e.array(
|
|
2121
|
-
ungroupedLines: e.array(
|
|
2122
|
-
}),
|
|
2132
|
+
groups: e.array(e.lazy(() => dr)).optional()
|
|
2133
|
+
}), fr = e.object({
|
|
2134
|
+
groups: e.array(dr),
|
|
2135
|
+
ungroupedLines: e.array(ur)
|
|
2136
|
+
}), pr = e.object({ billingDocument: C.nullish() }), mr = e.object({
|
|
2123
2137
|
issuedOn: e.iso.date(),
|
|
2124
2138
|
poNumber: e.string().nullable(),
|
|
2125
2139
|
subject: e.string().nullable(),
|
|
2126
2140
|
recipientUuid: e.uuid().nullish(),
|
|
2127
|
-
contactOverride:
|
|
2141
|
+
contactOverride: pr.optional(),
|
|
2128
2142
|
externalRemarks: e.string().nullable(),
|
|
2129
2143
|
preparedByUuid: e.uuid().optional(),
|
|
2130
2144
|
customFields: e.array(e.union([
|
|
@@ -2162,13 +2176,13 @@ e.object({
|
|
|
2162
2176
|
status: e.enum(["409"]),
|
|
2163
2177
|
code: e.enum(["delete_invoice_with_approval"])
|
|
2164
2178
|
});
|
|
2165
|
-
var
|
|
2179
|
+
var hr = e.object({ uuid: e.uuid() }), gr = e.object({ uuid: e.uuid() });
|
|
2166
2180
|
e.object({
|
|
2167
2181
|
detail: e.string().optional(),
|
|
2168
2182
|
status: e.enum(["409"]),
|
|
2169
2183
|
code: e.enum(["approval_mode_change_with_active_approval"])
|
|
2170
2184
|
});
|
|
2171
|
-
var
|
|
2185
|
+
var _r = e.object({ approvalMode: b.nullable() });
|
|
2172
2186
|
e.object({
|
|
2173
2187
|
detail: e.string().optional(),
|
|
2174
2188
|
status: e.enum(["409"]),
|
|
@@ -2178,8 +2192,8 @@ e.object({
|
|
|
2178
2192
|
status: e.enum(["409"]),
|
|
2179
2193
|
code: e.enum(["invoice_status_not_eligible_for_paid"])
|
|
2180
2194
|
});
|
|
2181
|
-
var
|
|
2182
|
-
statuses: e.array(
|
|
2195
|
+
var vr = e.object({
|
|
2196
|
+
statuses: e.array(g).optional(),
|
|
2183
2197
|
lifecycleStatuses: e.array(P).optional(),
|
|
2184
2198
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2185
2199
|
dueOnRange: J.optional(),
|
|
@@ -2210,25 +2224,25 @@ var hr = e.object({
|
|
|
2210
2224
|
total: e.number(),
|
|
2211
2225
|
processed: e.number(),
|
|
2212
2226
|
skipped: e.number()
|
|
2213
|
-
}),
|
|
2227
|
+
}), yr = e.object({ pointer: e.string() }), br = e.object({
|
|
2214
2228
|
code: e.string(),
|
|
2215
2229
|
detail: e.string().optional(),
|
|
2216
2230
|
title: e.string().optional(),
|
|
2217
2231
|
id: e.string().optional(),
|
|
2218
2232
|
status: e.string().optional(),
|
|
2219
|
-
source:
|
|
2233
|
+
source: yr.optional(),
|
|
2220
2234
|
meta: e.record(e.string(), e.unknown()).optional()
|
|
2221
|
-
}),
|
|
2235
|
+
}), xr = e.object({
|
|
2222
2236
|
status: e.number(),
|
|
2223
|
-
errors: e.array(
|
|
2237
|
+
errors: e.array(br)
|
|
2224
2238
|
}), Q = e.object({
|
|
2225
2239
|
uuid: e.string(),
|
|
2226
|
-
errors: e.array(
|
|
2227
|
-
}),
|
|
2240
|
+
errors: e.array(xr)
|
|
2241
|
+
}), Sr = e.object({
|
|
2228
2242
|
meta: Z,
|
|
2229
2243
|
skipped: e.array(Q)
|
|
2230
|
-
}),
|
|
2231
|
-
statuses: e.array(
|
|
2244
|
+
}), Cr = e.object({
|
|
2245
|
+
statuses: e.array(g).optional(),
|
|
2232
2246
|
lifecycleStatuses: e.array(P).optional(),
|
|
2233
2247
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2234
2248
|
dueOnRange: J.optional(),
|
|
@@ -2255,7 +2269,7 @@ var hr = e.object({
|
|
|
2255
2269
|
isApprovalCancelled: e.boolean().optional(),
|
|
2256
2270
|
isExternallyCreated: e.boolean().optional(),
|
|
2257
2271
|
poNumber: e.string().optional()
|
|
2258
|
-
}),
|
|
2272
|
+
}), wr = e.object({
|
|
2259
2273
|
meta: Z,
|
|
2260
2274
|
skipped: e.array(Q)
|
|
2261
2275
|
});
|
|
@@ -2264,8 +2278,8 @@ e.object({
|
|
|
2264
2278
|
status: e.enum(["409"]),
|
|
2265
2279
|
code: e.enum(["invoice_not_disputed"])
|
|
2266
2280
|
});
|
|
2267
|
-
var
|
|
2268
|
-
statuses: e.array(
|
|
2281
|
+
var Tr = e.object({
|
|
2282
|
+
statuses: e.array(g).optional(),
|
|
2269
2283
|
lifecycleStatuses: e.array(P).optional(),
|
|
2270
2284
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2271
2285
|
dueOnRange: J.optional(),
|
|
@@ -2292,11 +2306,11 @@ var Sr = e.object({
|
|
|
2292
2306
|
isApprovalCancelled: e.boolean().optional(),
|
|
2293
2307
|
isExternallyCreated: e.boolean().optional(),
|
|
2294
2308
|
poNumber: e.string().optional()
|
|
2295
|
-
}),
|
|
2309
|
+
}), Er = e.object({
|
|
2296
2310
|
meta: Z,
|
|
2297
2311
|
skipped: e.array(Q)
|
|
2298
|
-
}),
|
|
2299
|
-
statuses: e.array(
|
|
2312
|
+
}), Dr = e.object({ sendOnFinalization: e.boolean().optional() }), Or = e.object({
|
|
2313
|
+
statuses: e.array(g).optional(),
|
|
2300
2314
|
lifecycleStatuses: e.array(P).optional(),
|
|
2301
2315
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2302
2316
|
dueOnRange: J.optional(),
|
|
@@ -2323,11 +2337,11 @@ var Sr = e.object({
|
|
|
2323
2337
|
isApprovalCancelled: e.boolean().optional(),
|
|
2324
2338
|
isExternallyCreated: e.boolean().optional(),
|
|
2325
2339
|
poNumber: e.string().optional()
|
|
2326
|
-
}),
|
|
2340
|
+
}), kr = e.object({
|
|
2327
2341
|
meta: Z,
|
|
2328
2342
|
skipped: e.array(Q)
|
|
2329
|
-
}),
|
|
2330
|
-
statuses: e.array(
|
|
2343
|
+
}), Ar = e.object({
|
|
2344
|
+
statuses: e.array(g).optional(),
|
|
2331
2345
|
lifecycleStatuses: e.array(P).optional(),
|
|
2332
2346
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2333
2347
|
dueOnRange: J.optional(),
|
|
@@ -2354,11 +2368,11 @@ var Sr = e.object({
|
|
|
2354
2368
|
isApprovalCancelled: e.boolean().optional(),
|
|
2355
2369
|
isExternallyCreated: e.boolean().optional(),
|
|
2356
2370
|
poNumber: e.string().optional()
|
|
2357
|
-
}),
|
|
2371
|
+
}), jr = e.object({
|
|
2358
2372
|
meta: Z,
|
|
2359
2373
|
skipped: e.array(Q)
|
|
2360
|
-
}),
|
|
2361
|
-
statuses: e.array(
|
|
2374
|
+
}), Mr = e.object({
|
|
2375
|
+
statuses: e.array(g).optional(),
|
|
2362
2376
|
lifecycleStatuses: e.array(P).optional(),
|
|
2363
2377
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2364
2378
|
dueOnRange: J.optional(),
|
|
@@ -2385,7 +2399,7 @@ var Sr = e.object({
|
|
|
2385
2399
|
isApprovalCancelled: e.boolean().optional(),
|
|
2386
2400
|
isExternallyCreated: e.boolean().optional(),
|
|
2387
2401
|
poNumber: e.string().optional()
|
|
2388
|
-
}),
|
|
2402
|
+
}), Nr = e.object({
|
|
2389
2403
|
meta: Z,
|
|
2390
2404
|
skipped: e.array(Q)
|
|
2391
2405
|
});
|
|
@@ -2394,7 +2408,7 @@ e.object({
|
|
|
2394
2408
|
status: e.enum(["404"]),
|
|
2395
2409
|
code: e.enum(["pro_forma_not_found"])
|
|
2396
2410
|
});
|
|
2397
|
-
var
|
|
2411
|
+
var Pr = e.object({
|
|
2398
2412
|
entityUuids: e.array(e.uuid()).optional(),
|
|
2399
2413
|
entityTypes: e.array(e.enum([
|
|
2400
2414
|
"customer",
|
|
@@ -2412,13 +2426,13 @@ var jr = e.object({
|
|
|
2412
2426
|
"approval",
|
|
2413
2427
|
"attachment"
|
|
2414
2428
|
])).optional()
|
|
2415
|
-
}),
|
|
2429
|
+
}), Fr = e.object({
|
|
2416
2430
|
createdAt: e.string(),
|
|
2417
2431
|
uuid: e.uuid()
|
|
2418
|
-
}),
|
|
2432
|
+
}), Ir = e.object({
|
|
2419
2433
|
limit: e.number().gte(0).lte(100).optional(),
|
|
2420
|
-
key:
|
|
2421
|
-
}),
|
|
2434
|
+
key: Fr.nullish()
|
|
2435
|
+
}), Lr = e.enum([
|
|
2422
2436
|
"invoice-created",
|
|
2423
2437
|
"invoice-updated",
|
|
2424
2438
|
"invoice-finalized",
|
|
@@ -2444,40 +2458,40 @@ var jr = e.object({
|
|
|
2444
2458
|
"credit-note-created",
|
|
2445
2459
|
"credit-note-updated",
|
|
2446
2460
|
"customer-updated"
|
|
2447
|
-
]),
|
|
2461
|
+
]), Rr = e.enum([
|
|
2448
2462
|
"create",
|
|
2449
2463
|
"update",
|
|
2450
2464
|
"delete"
|
|
2451
|
-
]),
|
|
2465
|
+
]), zr = e.enum([
|
|
2452
2466
|
"user",
|
|
2453
2467
|
"service",
|
|
2454
2468
|
"system"
|
|
2455
|
-
]),
|
|
2469
|
+
]), Br = e.object({
|
|
2456
2470
|
uuid: e.uuid(),
|
|
2457
2471
|
firstName: e.string().nullable(),
|
|
2458
2472
|
lastName: e.string().nullable(),
|
|
2459
2473
|
email: e.string().nullable()
|
|
2460
|
-
}),
|
|
2474
|
+
}), Vr = e.enum([
|
|
2461
2475
|
"actor",
|
|
2462
2476
|
"customer",
|
|
2463
2477
|
"invoice",
|
|
2464
2478
|
"credit_note",
|
|
2465
2479
|
"approval",
|
|
2466
2480
|
"attachment"
|
|
2467
|
-
]),
|
|
2481
|
+
]), Hr = e.enum([
|
|
2468
2482
|
"customer",
|
|
2469
2483
|
"invoice",
|
|
2470
2484
|
"credit_note",
|
|
2471
2485
|
"approval",
|
|
2472
2486
|
"api_key",
|
|
2473
2487
|
"file"
|
|
2474
|
-
]),
|
|
2475
|
-
role:
|
|
2476
|
-
type:
|
|
2488
|
+
]), Ur = e.object({
|
|
2489
|
+
role: Vr,
|
|
2490
|
+
type: Hr,
|
|
2477
2491
|
uuid: e.uuid(),
|
|
2478
2492
|
label: e.string().nullable()
|
|
2479
|
-
}),
|
|
2480
|
-
entityRole:
|
|
2493
|
+
}), Wr = e.object({
|
|
2494
|
+
entityRole: Vr,
|
|
2481
2495
|
field: e.string(),
|
|
2482
2496
|
from: e.union([
|
|
2483
2497
|
e.string(),
|
|
@@ -2489,17 +2503,17 @@ var jr = e.object({
|
|
|
2489
2503
|
e.number(),
|
|
2490
2504
|
e.boolean()
|
|
2491
2505
|
]).nullable()
|
|
2492
|
-
}),
|
|
2506
|
+
}), Gr = e.object({
|
|
2493
2507
|
createdAt: e.iso.datetime(),
|
|
2494
|
-
action:
|
|
2495
|
-
changeType:
|
|
2496
|
-
actorType:
|
|
2497
|
-
actor:
|
|
2498
|
-
entities: e.array(
|
|
2499
|
-
changes: e.array(
|
|
2500
|
-
}),
|
|
2501
|
-
logs: e.array(
|
|
2502
|
-
nextKey:
|
|
2508
|
+
action: Lr,
|
|
2509
|
+
changeType: Rr,
|
|
2510
|
+
actorType: zr,
|
|
2511
|
+
actor: Br.nullable(),
|
|
2512
|
+
entities: e.array(Ur),
|
|
2513
|
+
changes: e.array(Wr).nullable()
|
|
2514
|
+
}), Kr = e.object({
|
|
2515
|
+
logs: e.array(Gr),
|
|
2516
|
+
nextKey: Fr.nullable()
|
|
2503
2517
|
});
|
|
2504
2518
|
e.object({
|
|
2505
2519
|
detail: e.string().optional(),
|
|
@@ -2514,14 +2528,14 @@ e.object({
|
|
|
2514
2528
|
status: e.enum(["409"]),
|
|
2515
2529
|
code: e.enum(["payment_external_id_already_exists"])
|
|
2516
2530
|
});
|
|
2517
|
-
var
|
|
2518
|
-
amount:
|
|
2531
|
+
var qr = e.enum(["standard", "advance"]), Jr = e.object({
|
|
2532
|
+
amount: v,
|
|
2519
2533
|
date: e.iso.date(),
|
|
2520
2534
|
paymentReference: e.string().nullish(),
|
|
2521
2535
|
remarks: e.string().nullish(),
|
|
2522
|
-
type:
|
|
2536
|
+
type: qr.optional(),
|
|
2523
2537
|
externalId: e.string().nullish()
|
|
2524
|
-
}),
|
|
2538
|
+
}), Yr = e.object({ uuid: e.uuid() });
|
|
2525
2539
|
e.object({
|
|
2526
2540
|
detail: e.string().optional(),
|
|
2527
2541
|
status: e.enum(["404"]),
|
|
@@ -2535,35 +2549,35 @@ e.object({
|
|
|
2535
2549
|
status: e.enum(["409"]),
|
|
2536
2550
|
code: e.enum(["advance_payment_locked"])
|
|
2537
2551
|
});
|
|
2538
|
-
var
|
|
2552
|
+
var Xr = e.enum(["manual", "exact"]), Zr = e.object({
|
|
2539
2553
|
uuid: e.uuid(),
|
|
2540
|
-
amount:
|
|
2554
|
+
amount: v,
|
|
2541
2555
|
date: e.iso.date(),
|
|
2542
2556
|
createdAt: e.iso.datetime(),
|
|
2543
2557
|
paymentReference: e.string().nullable(),
|
|
2544
2558
|
remarks: e.string().nullable(),
|
|
2545
|
-
source:
|
|
2546
|
-
type:
|
|
2547
|
-
}),
|
|
2559
|
+
source: Xr,
|
|
2560
|
+
type: qr
|
|
2561
|
+
}), Qr = e.object({ items: e.array(Zr) }), $r = e.union([
|
|
2548
2562
|
e.literal(1),
|
|
2549
2563
|
e.literal(2),
|
|
2550
2564
|
e.literal(3)
|
|
2551
|
-
]),
|
|
2565
|
+
]), ei = e.object({
|
|
2552
2566
|
subject: F,
|
|
2553
2567
|
body: F
|
|
2554
|
-
}),
|
|
2555
|
-
type:
|
|
2556
|
-
amount:
|
|
2568
|
+
}), ti = e.enum(["percentage", "amount"]), ni = e.object({
|
|
2569
|
+
type: ti,
|
|
2570
|
+
amount: v.nullable(),
|
|
2557
2571
|
percentage: e.number().nullable()
|
|
2558
|
-
}),
|
|
2572
|
+
}), ri = e.object({
|
|
2559
2573
|
uuid: e.uuid(),
|
|
2560
2574
|
issuerUuid: e.uuid(),
|
|
2561
|
-
sequence:
|
|
2575
|
+
sequence: $r,
|
|
2562
2576
|
schedule: In,
|
|
2563
2577
|
offsetDays: e.number(),
|
|
2564
|
-
template:
|
|
2565
|
-
fee:
|
|
2566
|
-
}),
|
|
2578
|
+
template: ei,
|
|
2579
|
+
fee: ni
|
|
2580
|
+
}), ii = e.object({ items: e.array(ri) });
|
|
2567
2581
|
e.object({
|
|
2568
2582
|
detail: e.string().optional(),
|
|
2569
2583
|
status: e.enum(["400"]),
|
|
@@ -2577,59 +2591,59 @@ e.object({
|
|
|
2577
2591
|
status: e.enum(["400"]),
|
|
2578
2592
|
code: e.enum(["additional_reminder_config"])
|
|
2579
2593
|
});
|
|
2580
|
-
var
|
|
2594
|
+
var ai = e.object({
|
|
2581
2595
|
subject: F,
|
|
2582
2596
|
body: F
|
|
2583
|
-
}),
|
|
2597
|
+
}), oi = e.object({
|
|
2584
2598
|
sequence: e.number(),
|
|
2585
2599
|
offsetDays: e.int().gte(1),
|
|
2586
2600
|
schedule: In,
|
|
2587
|
-
template:
|
|
2588
|
-
fee:
|
|
2589
|
-
}),
|
|
2601
|
+
template: ai,
|
|
2602
|
+
fee: ni
|
|
2603
|
+
}), si = e.object({ reminders: e.array(oi) }), ci = e.enum([
|
|
2590
2604
|
"invoice",
|
|
2591
2605
|
"invoice-line",
|
|
2592
2606
|
"invoice-line-group"
|
|
2593
|
-
]),
|
|
2607
|
+
]), li = e.object({ entityTypes: e.array(ci).optional() });
|
|
2594
2608
|
e.object({
|
|
2595
2609
|
detail: e.string().optional(),
|
|
2596
2610
|
status: e.enum(["404"]),
|
|
2597
2611
|
code: e.enum(["dunning_case_not_found"])
|
|
2598
2612
|
});
|
|
2599
|
-
var
|
|
2613
|
+
var ui = e.object({
|
|
2600
2614
|
uuid: e.uuid(),
|
|
2601
|
-
type:
|
|
2615
|
+
type: h,
|
|
2602
2616
|
name: e.string(),
|
|
2603
2617
|
vatNumber: e.string().nullable(),
|
|
2604
2618
|
email: e.string().nullable()
|
|
2605
|
-
}),
|
|
2619
|
+
}), di = e.object({
|
|
2606
2620
|
uuid: e.uuid(),
|
|
2607
2621
|
date: e.iso.date(),
|
|
2608
|
-
amount:
|
|
2609
|
-
}),
|
|
2622
|
+
amount: v
|
|
2623
|
+
}), fi = e.object({
|
|
2610
2624
|
uuid: e.uuid(),
|
|
2611
2625
|
sequence: e.string(),
|
|
2612
|
-
grossAmount:
|
|
2626
|
+
grossAmount: v,
|
|
2613
2627
|
finalizedOn: e.union([
|
|
2614
2628
|
e.iso.date(),
|
|
2615
2629
|
e.enum(["infinity"]),
|
|
2616
2630
|
e.enum(["-infinity"])
|
|
2617
2631
|
])
|
|
2618
|
-
}),
|
|
2632
|
+
}), pi = e.object({
|
|
2619
2633
|
uuid: e.uuid(),
|
|
2620
2634
|
subject: e.string().nullable(),
|
|
2621
2635
|
sequence: e.string(),
|
|
2622
2636
|
dueOn: e.iso.date(),
|
|
2623
2637
|
level: e.number().nullable(),
|
|
2624
|
-
grossAmount:
|
|
2625
|
-
balanceDueAmount:
|
|
2626
|
-
totalCreditedAmount:
|
|
2627
|
-
paidAmount:
|
|
2638
|
+
grossAmount: v,
|
|
2639
|
+
balanceDueAmount: v,
|
|
2640
|
+
totalCreditedAmount: v,
|
|
2641
|
+
paidAmount: v,
|
|
2628
2642
|
isDisputed: e.boolean(),
|
|
2629
2643
|
settlementStatus: R,
|
|
2630
|
-
payments: e.array(
|
|
2631
|
-
creditNotes: e.array(
|
|
2632
|
-
}),
|
|
2644
|
+
payments: e.array(di),
|
|
2645
|
+
creditNotes: e.array(fi)
|
|
2646
|
+
}), mi = e.object({
|
|
2633
2647
|
uuid: e.uuid(),
|
|
2634
2648
|
sentAt: e.union([
|
|
2635
2649
|
e.iso.datetime(),
|
|
@@ -2637,7 +2651,7 @@ var si = e.object({
|
|
|
2637
2651
|
e.enum(["-infinity"])
|
|
2638
2652
|
]).nullable(),
|
|
2639
2653
|
hasErrors: e.boolean()
|
|
2640
|
-
}),
|
|
2654
|
+
}), hi = e.enum(["missing_email"]), gi = e.object({
|
|
2641
2655
|
uuid: e.uuid(),
|
|
2642
2656
|
createdAt: e.iso.datetime(),
|
|
2643
2657
|
updatedAt: e.iso.datetime(),
|
|
@@ -2645,13 +2659,13 @@ var si = e.object({
|
|
|
2645
2659
|
isClosed: e.boolean(),
|
|
2646
2660
|
nextReminderOn: e.iso.date().nullable(),
|
|
2647
2661
|
level: e.number().nullable(),
|
|
2648
|
-
customer:
|
|
2649
|
-
invoices: e.array(
|
|
2650
|
-
outstandingBalance:
|
|
2651
|
-
totalPaid:
|
|
2652
|
-
totalInvoiced:
|
|
2653
|
-
totalCredited:
|
|
2654
|
-
totalFee:
|
|
2662
|
+
customer: ui,
|
|
2663
|
+
invoices: e.array(pi),
|
|
2664
|
+
outstandingBalance: v,
|
|
2665
|
+
totalPaid: v,
|
|
2666
|
+
totalInvoiced: v,
|
|
2667
|
+
totalCredited: v,
|
|
2668
|
+
totalFee: v,
|
|
2655
2669
|
lastReminderSentAt: e.union([
|
|
2656
2670
|
e.iso.datetime(),
|
|
2657
2671
|
e.enum(["infinity"]),
|
|
@@ -2659,17 +2673,17 @@ var si = e.object({
|
|
|
2659
2673
|
]).nullable(),
|
|
2660
2674
|
canSendReminder: e.boolean(),
|
|
2661
2675
|
canRetryReminder: e.boolean(),
|
|
2662
|
-
latestCreatedReminder:
|
|
2663
|
-
blockedReason:
|
|
2664
|
-
}),
|
|
2676
|
+
latestCreatedReminder: mi.nullable(),
|
|
2677
|
+
blockedReason: hi.nullable()
|
|
2678
|
+
}), _i = e.object({
|
|
2665
2679
|
isOpen: e.boolean().optional(),
|
|
2666
2680
|
customerUuid: e.uuid().optional(),
|
|
2667
2681
|
level: e.number().optional(),
|
|
2668
2682
|
dunningCaseUuids: Y.optional()
|
|
2669
|
-
}),
|
|
2683
|
+
}), vi = e.object({
|
|
2670
2684
|
uuid: e.uuid(),
|
|
2671
2685
|
name: e.string()
|
|
2672
|
-
}),
|
|
2686
|
+
}), yi = e.object({
|
|
2673
2687
|
uuid: e.uuid(),
|
|
2674
2688
|
sentAt: e.union([
|
|
2675
2689
|
e.iso.datetime(),
|
|
@@ -2677,12 +2691,12 @@ var si = e.object({
|
|
|
2677
2691
|
e.enum(["-infinity"])
|
|
2678
2692
|
]).nullable(),
|
|
2679
2693
|
hasErrors: e.boolean()
|
|
2680
|
-
}),
|
|
2694
|
+
}), bi = e.object({
|
|
2681
2695
|
uuid: e.uuid(),
|
|
2682
|
-
customer:
|
|
2696
|
+
customer: vi,
|
|
2683
2697
|
level: e.number().nullable(),
|
|
2684
2698
|
daysOverdue: e.number(),
|
|
2685
|
-
outstandingBalance:
|
|
2699
|
+
outstandingBalance: v,
|
|
2686
2700
|
nextReminderOn: e.union([
|
|
2687
2701
|
e.iso.date(),
|
|
2688
2702
|
e.enum(["infinity"]),
|
|
@@ -2695,11 +2709,11 @@ var si = e.object({
|
|
|
2695
2709
|
]).nullable(),
|
|
2696
2710
|
canSendReminder: e.boolean(),
|
|
2697
2711
|
canRetryReminder: e.boolean(),
|
|
2698
|
-
latestCreatedReminder:
|
|
2699
|
-
blockedReason:
|
|
2700
|
-
}),
|
|
2701
|
-
items: e.array(
|
|
2702
|
-
meta:
|
|
2712
|
+
latestCreatedReminder: yi.nullable(),
|
|
2713
|
+
blockedReason: hi.nullable()
|
|
2714
|
+
}), xi = e.object({
|
|
2715
|
+
items: e.array(bi),
|
|
2716
|
+
meta: Oe
|
|
2703
2717
|
});
|
|
2704
2718
|
e.object({
|
|
2705
2719
|
detail: e.string().optional(),
|
|
@@ -2730,71 +2744,197 @@ e.object({
|
|
|
2730
2744
|
status: e.enum(["409"]),
|
|
2731
2745
|
code: e.enum(["dunning_case_reminder_not_retryable"])
|
|
2732
2746
|
});
|
|
2733
|
-
var
|
|
2747
|
+
var Si = e.object({
|
|
2734
2748
|
isOpen: e.boolean().optional(),
|
|
2735
2749
|
customerUuid: e.uuid().optional(),
|
|
2736
2750
|
level: e.number().optional(),
|
|
2737
2751
|
dunningCaseUuids: Y.optional()
|
|
2738
|
-
}),
|
|
2752
|
+
}), Ci = e.object({
|
|
2739
2753
|
meta: Z,
|
|
2740
2754
|
skipped: e.array(Q)
|
|
2741
|
-
}),
|
|
2755
|
+
}), wi = e.object({
|
|
2742
2756
|
isOpen: e.boolean().optional(),
|
|
2743
2757
|
customerUuid: e.uuid().optional(),
|
|
2744
2758
|
level: e.number().optional(),
|
|
2745
2759
|
dunningCaseUuids: Y.optional()
|
|
2746
|
-
}),
|
|
2760
|
+
}), Ti = e.object({
|
|
2747
2761
|
meta: Z,
|
|
2748
2762
|
skipped: e.array(Q)
|
|
2749
|
-
}),
|
|
2763
|
+
}), Ei = e.object({
|
|
2750
2764
|
name: e.string().nullable(),
|
|
2751
2765
|
email: e.email().nullable(),
|
|
2752
2766
|
phoneNumber: e.string().nullable(),
|
|
2753
2767
|
website: e.string().nullable(),
|
|
2754
|
-
address:
|
|
2768
|
+
address: x.nullable(),
|
|
2755
2769
|
vatNumber: e.string().nullable(),
|
|
2756
2770
|
bankAccountNumber: e.string().nullable(),
|
|
2757
2771
|
alternativeBankAccountNumber: e.string().nullable(),
|
|
2758
|
-
currency:
|
|
2759
|
-
}),
|
|
2772
|
+
currency: _
|
|
2773
|
+
}), Di = e.object({
|
|
2760
2774
|
name: e.string(),
|
|
2761
|
-
address:
|
|
2775
|
+
address: x.nullable(),
|
|
2762
2776
|
email: e.email().nullable(),
|
|
2763
2777
|
externalId: e.string().nullable(),
|
|
2764
2778
|
phoneNumber: e.string().nullable(),
|
|
2765
2779
|
vatNumber: e.string().nullable(),
|
|
2766
|
-
type:
|
|
2767
|
-
locale:
|
|
2768
|
-
currency:
|
|
2769
|
-
}),
|
|
2780
|
+
type: h,
|
|
2781
|
+
locale: Le,
|
|
2782
|
+
currency: _
|
|
2783
|
+
}), Oi = e.object({
|
|
2770
2784
|
name: e.string().nullable(),
|
|
2771
2785
|
email: e.email()
|
|
2772
|
-
}),
|
|
2786
|
+
}), ki = e.object({
|
|
2773
2787
|
sequence: e.string(),
|
|
2774
2788
|
issuedOn: e.iso.date(),
|
|
2775
2789
|
dueOn: e.iso.date(),
|
|
2776
|
-
outstandingBalance:
|
|
2790
|
+
outstandingBalance: v,
|
|
2777
2791
|
level: e.number(),
|
|
2778
2792
|
daysOverdue: e.number(),
|
|
2779
|
-
fee:
|
|
2793
|
+
fee: v,
|
|
2780
2794
|
isNew: e.boolean()
|
|
2781
|
-
}),
|
|
2795
|
+
}), Ai = e.object({
|
|
2782
2796
|
sequence: e.string(),
|
|
2783
2797
|
issuedOn: e.iso.date(),
|
|
2784
2798
|
dueOn: e.iso.date(),
|
|
2785
|
-
outstandingBalance:
|
|
2799
|
+
outstandingBalance: v,
|
|
2786
2800
|
daysOverdue: e.number()
|
|
2787
|
-
}),
|
|
2801
|
+
}), ji = e.object({
|
|
2788
2802
|
createdAt: e.iso.datetime(),
|
|
2789
2803
|
sentAt: e.iso.datetime().nullable(),
|
|
2790
2804
|
level: e.number(),
|
|
2791
|
-
issuer:
|
|
2792
|
-
customer:
|
|
2793
|
-
recipient:
|
|
2794
|
-
invoices: e.array(
|
|
2795
|
-
outstandingInvoices: e.array(
|
|
2796
|
-
totalFee:
|
|
2805
|
+
issuer: Ei,
|
|
2806
|
+
customer: Di,
|
|
2807
|
+
recipient: Oi,
|
|
2808
|
+
invoices: e.array(ki),
|
|
2809
|
+
outstandingInvoices: e.array(Ai),
|
|
2810
|
+
totalFee: v
|
|
2811
|
+
}), Mi = e.enum([
|
|
2812
|
+
"BE",
|
|
2813
|
+
"DE",
|
|
2814
|
+
"ES",
|
|
2815
|
+
"FR",
|
|
2816
|
+
"GB",
|
|
2817
|
+
"NL",
|
|
2818
|
+
"US"
|
|
2819
|
+
]), Ni = e.object({
|
|
2820
|
+
region: Mi,
|
|
2821
|
+
clientId: e.string(),
|
|
2822
|
+
clientSecret: e.string().optional()
|
|
2823
|
+
}), Pi = e.object({
|
|
2824
|
+
uuid: e.uuid(),
|
|
2825
|
+
loginUrl: e.url().nullable()
|
|
2797
2826
|
});
|
|
2827
|
+
e.object({
|
|
2828
|
+
detail: e.string().optional(),
|
|
2829
|
+
status: e.enum(["404"]),
|
|
2830
|
+
code: e.enum(["accounting_connection_not_found"])
|
|
2831
|
+
});
|
|
2832
|
+
var Fi = e.object({
|
|
2833
|
+
0: e.string(),
|
|
2834
|
+
6: e.string(),
|
|
2835
|
+
12: e.string(),
|
|
2836
|
+
21: e.string()
|
|
2837
|
+
}), Ii = e.object({
|
|
2838
|
+
salesEntryInvoiceJournal: e.string(),
|
|
2839
|
+
salesEntryCreditNoteJournal: e.string().nullish(),
|
|
2840
|
+
defaultLedgerCode: e.string(),
|
|
2841
|
+
ledgerCodeByRate: Fi.optional()
|
|
2842
|
+
}), Li = e.enum([
|
|
2843
|
+
"pending_authorization",
|
|
2844
|
+
"ready",
|
|
2845
|
+
"disconnected"
|
|
2846
|
+
]), Ri = e.enum([
|
|
2847
|
+
"pending",
|
|
2848
|
+
"resolved",
|
|
2849
|
+
"failed"
|
|
2850
|
+
]), zi = e.object({
|
|
2851
|
+
uuid: e.uuid(),
|
|
2852
|
+
name: e.string(),
|
|
2853
|
+
resolutionStatus: Ri,
|
|
2854
|
+
resolutionError: e.string().nullable(),
|
|
2855
|
+
resolvedAt: e.iso.datetime().nullable(),
|
|
2856
|
+
salesEntryInvoiceJournal: e.string(),
|
|
2857
|
+
salesEntryCreditNoteJournal: e.string().nullable(),
|
|
2858
|
+
defaultLedgerCode: e.string(),
|
|
2859
|
+
ledgerCodeByRate: e.record(e.string(), e.string()).nullable()
|
|
2860
|
+
}), Bi = e.object({
|
|
2861
|
+
uuid: e.uuid(),
|
|
2862
|
+
provider: Hn,
|
|
2863
|
+
readiness: Li,
|
|
2864
|
+
issuerUuid: e.uuid(),
|
|
2865
|
+
region: Mi,
|
|
2866
|
+
clientId: e.string(),
|
|
2867
|
+
division: e.number().nullable(),
|
|
2868
|
+
companyName: e.string().nullable(),
|
|
2869
|
+
defaultPostingProfile: zi.nullable(),
|
|
2870
|
+
createdAt: e.iso.datetime(),
|
|
2871
|
+
updatedAt: e.iso.datetime()
|
|
2872
|
+
}), Vi = e.object({
|
|
2873
|
+
uuid: e.uuid(),
|
|
2874
|
+
provider: Hn,
|
|
2875
|
+
readiness: Li,
|
|
2876
|
+
issuerUuid: e.uuid(),
|
|
2877
|
+
companyName: e.string().nullable(),
|
|
2878
|
+
createdAt: e.iso.datetime(),
|
|
2879
|
+
updatedAt: e.iso.datetime()
|
|
2880
|
+
}), Hi = e.object({ items: e.array(Vi) }), Ui = e.object({ redirectUri: e.url() });
|
|
2881
|
+
e.object({
|
|
2882
|
+
detail: e.string().optional(),
|
|
2883
|
+
status: e.enum(["404"]),
|
|
2884
|
+
code: e.enum(["exact_connection_not_found"])
|
|
2885
|
+
}), e.object({
|
|
2886
|
+
detail: e.string().optional(),
|
|
2887
|
+
status: e.enum(["409"]),
|
|
2888
|
+
code: e.enum(["exact_connection_not_ready"])
|
|
2889
|
+
}), e.object({
|
|
2890
|
+
detail: e.string().optional(),
|
|
2891
|
+
status: e.enum(["409"]),
|
|
2892
|
+
code: e.enum(["exact_connection_token_not_found"])
|
|
2893
|
+
}), e.object({
|
|
2894
|
+
detail: e.string().optional(),
|
|
2895
|
+
status: e.enum(["409"]),
|
|
2896
|
+
code: e.enum(["exact_authorization_revoked"])
|
|
2897
|
+
}), e.object({
|
|
2898
|
+
detail: e.string().optional(),
|
|
2899
|
+
status: e.enum(["503"]),
|
|
2900
|
+
code: e.enum(["exact_invalid_token_response"])
|
|
2901
|
+
});
|
|
2902
|
+
var Wi = e.object({
|
|
2903
|
+
limit: e.number().nullable(),
|
|
2904
|
+
remaining: e.number().nullable(),
|
|
2905
|
+
resetAt: e.iso.datetime().nullable()
|
|
2906
|
+
}), Gi = e.object({
|
|
2907
|
+
daily: Wi,
|
|
2908
|
+
minutely: Wi,
|
|
2909
|
+
resetAt: e.iso.datetime().nullable()
|
|
2910
|
+
});
|
|
2911
|
+
e.object({
|
|
2912
|
+
detail: e.string().optional(),
|
|
2913
|
+
status: e.enum(["429"]),
|
|
2914
|
+
code: e.enum(["exact_rate_limit"]),
|
|
2915
|
+
meta: Gi
|
|
2916
|
+
});
|
|
2917
|
+
var Ki = e.object({
|
|
2918
|
+
responseStatus: e.number(),
|
|
2919
|
+
rateLimit: Gi
|
|
2920
|
+
});
|
|
2921
|
+
e.object({
|
|
2922
|
+
detail: e.string().optional(),
|
|
2923
|
+
code: e.enum(["exact_request_failed"]),
|
|
2924
|
+
status: e.enum(["503"]),
|
|
2925
|
+
meta: Ki
|
|
2926
|
+
}), e.object({
|
|
2927
|
+
detail: e.string().optional(),
|
|
2928
|
+
status: e.enum(["503"]),
|
|
2929
|
+
code: e.enum(["exact_network_error"])
|
|
2930
|
+
});
|
|
2931
|
+
var qi = e.object({
|
|
2932
|
+
code: e.string(),
|
|
2933
|
+
description: e.string().nullable()
|
|
2934
|
+
}), Ji = e.object({ items: e.array(qi) }), Yi = e.object({
|
|
2935
|
+
code: e.string(),
|
|
2936
|
+
description: e.string().nullable()
|
|
2937
|
+
}), Xi = e.object({ items: e.array(Yi) });
|
|
2798
2938
|
e.object({
|
|
2799
2939
|
detail: e.string().optional(),
|
|
2800
2940
|
status: e.enum(["409"]),
|
|
@@ -2816,8 +2956,8 @@ e.object({
|
|
|
2816
2956
|
status: e.enum(["409"]),
|
|
2817
2957
|
code: e.enum(["approval_already_sent_error"])
|
|
2818
2958
|
});
|
|
2819
|
-
var
|
|
2820
|
-
statuses: e.array(
|
|
2959
|
+
var Zi = e.object({
|
|
2960
|
+
statuses: e.array(g).optional(),
|
|
2821
2961
|
lifecycleStatuses: e.array(P).optional(),
|
|
2822
2962
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2823
2963
|
dueOnRange: J.optional(),
|
|
@@ -2844,11 +2984,11 @@ var ki = e.object({
|
|
|
2844
2984
|
isApprovalCancelled: e.boolean().optional(),
|
|
2845
2985
|
isExternallyCreated: e.boolean().optional(),
|
|
2846
2986
|
poNumber: e.string().optional()
|
|
2847
|
-
}),
|
|
2987
|
+
}), Qi = e.object({
|
|
2848
2988
|
meta: Z,
|
|
2849
2989
|
skipped: e.array(Q)
|
|
2850
|
-
}),
|
|
2851
|
-
statuses: e.array(
|
|
2990
|
+
}), $i = e.object({
|
|
2991
|
+
statuses: e.array(g).optional(),
|
|
2852
2992
|
lifecycleStatuses: e.array(P).optional(),
|
|
2853
2993
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2854
2994
|
dueOnRange: J.optional(),
|
|
@@ -2875,7 +3015,7 @@ var ki = e.object({
|
|
|
2875
3015
|
isApprovalCancelled: e.boolean().optional(),
|
|
2876
3016
|
isExternallyCreated: e.boolean().optional(),
|
|
2877
3017
|
poNumber: e.string().optional()
|
|
2878
|
-
}),
|
|
3018
|
+
}), ea = e.object({
|
|
2879
3019
|
meta: Z,
|
|
2880
3020
|
skipped: e.array(Q)
|
|
2881
3021
|
});
|
|
@@ -2892,7 +3032,7 @@ e.object({
|
|
|
2892
3032
|
status: e.enum(["400"]),
|
|
2893
3033
|
code: e.enum(["missing_invoice_approval_file"])
|
|
2894
3034
|
});
|
|
2895
|
-
var
|
|
3035
|
+
var ta = e.object({
|
|
2896
3036
|
fileUuids: e.array(e.uuid()).optional(),
|
|
2897
3037
|
internalNote: e.string().max(500).nullish()
|
|
2898
3038
|
});
|
|
@@ -2901,7 +3041,7 @@ e.object({
|
|
|
2901
3041
|
status: e.enum(["400"]),
|
|
2902
3042
|
code: e.enum(["missing_rejection_remarks"])
|
|
2903
3043
|
});
|
|
2904
|
-
var
|
|
3044
|
+
var na = e.object({
|
|
2905
3045
|
internalNote: e.string().max(500).nullish(),
|
|
2906
3046
|
reason: zn,
|
|
2907
3047
|
fileUuids: e.array(e.uuid()).optional()
|
|
@@ -2927,41 +3067,41 @@ e.object({
|
|
|
2927
3067
|
status: e.enum(["409"]),
|
|
2928
3068
|
code: e.enum(["approval_restart_requires_active_approval"])
|
|
2929
3069
|
});
|
|
2930
|
-
var
|
|
3070
|
+
var ra = e.object({
|
|
2931
3071
|
internalNote: e.string().max(500).nullable(),
|
|
2932
3072
|
fileUuids: e.array(e.uuid())
|
|
2933
|
-
}),
|
|
3073
|
+
}), ia = e.object({
|
|
2934
3074
|
status: Rn.optional(),
|
|
2935
|
-
mode:
|
|
3075
|
+
mode: b.optional(),
|
|
2936
3076
|
invoiceUuid: e.uuid().optional(),
|
|
2937
3077
|
customerUuid: e.uuid().optional(),
|
|
2938
3078
|
level: Bn.optional(),
|
|
2939
3079
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2940
3080
|
isCancelled: e.boolean().optional()
|
|
2941
|
-
}),
|
|
3081
|
+
}), aa = e.object({
|
|
2942
3082
|
uuid: e.uuid(),
|
|
2943
3083
|
subject: e.string().nullable(),
|
|
2944
3084
|
hasChangesSinceApprovalSent: e.boolean()
|
|
2945
|
-
}),
|
|
3085
|
+
}), oa = e.object({
|
|
2946
3086
|
uuid: e.uuid(),
|
|
2947
3087
|
issuedOn: e.union([
|
|
2948
3088
|
e.iso.date(),
|
|
2949
3089
|
e.enum(["infinity"]),
|
|
2950
3090
|
e.enum(["-infinity"])
|
|
2951
3091
|
]).nullable(),
|
|
2952
|
-
netAmount:
|
|
2953
|
-
grossAmount:
|
|
2954
|
-
balanceDueAmount:
|
|
2955
|
-
}),
|
|
3092
|
+
netAmount: v,
|
|
3093
|
+
grossAmount: v,
|
|
3094
|
+
balanceDueAmount: v.nullable()
|
|
3095
|
+
}), sa = e.object({
|
|
2956
3096
|
uuid: e.uuid(),
|
|
2957
3097
|
name: e.string().nullable()
|
|
2958
|
-
}),
|
|
3098
|
+
}), ca = e.object({
|
|
2959
3099
|
name: e.string().nullable(),
|
|
2960
3100
|
email: e.email().nullable()
|
|
2961
|
-
}),
|
|
3101
|
+
}), la = e.object({
|
|
2962
3102
|
uuid: e.uuid(),
|
|
2963
3103
|
createdAt: e.iso.datetime(),
|
|
2964
|
-
mode:
|
|
3104
|
+
mode: b,
|
|
2965
3105
|
status: Rn,
|
|
2966
3106
|
sentAt: e.union([
|
|
2967
3107
|
e.iso.datetime(),
|
|
@@ -2992,34 +3132,34 @@ var Fi = e.object({
|
|
|
2992
3132
|
e.enum(["infinity"]),
|
|
2993
3133
|
e.enum(["-infinity"])
|
|
2994
3134
|
]).nullable(),
|
|
2995
|
-
netAmount:
|
|
2996
|
-
grossAmount:
|
|
2997
|
-
invoice:
|
|
2998
|
-
proForma:
|
|
2999
|
-
customer:
|
|
3000
|
-
recipient:
|
|
3001
|
-
}),
|
|
3002
|
-
items: e.array(
|
|
3003
|
-
meta:
|
|
3004
|
-
}),
|
|
3135
|
+
netAmount: v,
|
|
3136
|
+
grossAmount: v,
|
|
3137
|
+
invoice: aa,
|
|
3138
|
+
proForma: oa.nullable(),
|
|
3139
|
+
customer: sa,
|
|
3140
|
+
recipient: ca
|
|
3141
|
+
}), ua = e.object({
|
|
3142
|
+
items: e.array(la),
|
|
3143
|
+
meta: Oe
|
|
3144
|
+
}), da = e.object({
|
|
3005
3145
|
uuid: e.uuid(),
|
|
3006
3146
|
name: e.string().nullable(),
|
|
3007
3147
|
email: e.email().nullable(),
|
|
3008
3148
|
phoneNumber: e.string().nullable(),
|
|
3009
3149
|
website: e.string().nullable(),
|
|
3010
|
-
address:
|
|
3150
|
+
address: x.nullable(),
|
|
3011
3151
|
vatNumber: e.string().nullable(),
|
|
3012
3152
|
bankAccountNumber: e.string().nullable(),
|
|
3013
3153
|
alternativeBankAccountNumber: e.string().nullable()
|
|
3014
|
-
}),
|
|
3154
|
+
}), fa = e.object({
|
|
3015
3155
|
uuid: e.uuid(),
|
|
3016
3156
|
name: e.string().nullable(),
|
|
3017
3157
|
email: e.email().nullable(),
|
|
3018
3158
|
phoneNumber: e.string().nullable(),
|
|
3019
|
-
address:
|
|
3159
|
+
address: x.nullable(),
|
|
3020
3160
|
vatNumber: e.string().nullable(),
|
|
3021
|
-
type:
|
|
3022
|
-
}),
|
|
3161
|
+
type: h
|
|
3162
|
+
}), pa = e.object({
|
|
3023
3163
|
uuid: e.uuid(),
|
|
3024
3164
|
groupUuid: e.uuid().nullable(),
|
|
3025
3165
|
position: e.number(),
|
|
@@ -3038,15 +3178,15 @@ var Fi = e.object({
|
|
|
3038
3178
|
N
|
|
3039
3179
|
])),
|
|
3040
3180
|
quantity: e.number(),
|
|
3041
|
-
unitPrice:
|
|
3181
|
+
unitPrice: v,
|
|
3042
3182
|
vatRate: I,
|
|
3043
3183
|
vatRatePercentage: e.number(),
|
|
3044
|
-
netAmount:
|
|
3045
|
-
grossAmount:
|
|
3184
|
+
netAmount: v,
|
|
3185
|
+
grossAmount: v,
|
|
3046
3186
|
discount: L.nullable(),
|
|
3047
3187
|
unit: ln,
|
|
3048
3188
|
isDiscount: e.boolean()
|
|
3049
|
-
}),
|
|
3189
|
+
}), ma = e.object({
|
|
3050
3190
|
uuid: e.uuid(),
|
|
3051
3191
|
position: e.number(),
|
|
3052
3192
|
name: e.string(),
|
|
@@ -3063,19 +3203,19 @@ var Fi = e.object({
|
|
|
3063
3203
|
M,
|
|
3064
3204
|
N
|
|
3065
3205
|
])),
|
|
3066
|
-
lines: e.array(
|
|
3067
|
-
groups: e.array(e.lazy(() =>
|
|
3068
|
-
}),
|
|
3206
|
+
lines: e.array(pa),
|
|
3207
|
+
groups: e.array(e.lazy(() => ma))
|
|
3208
|
+
}), ha = e.object({
|
|
3069
3209
|
vatRate: I,
|
|
3070
|
-
netAmount:
|
|
3071
|
-
vatAmount:
|
|
3072
|
-
}),
|
|
3210
|
+
netAmount: v,
|
|
3211
|
+
vatAmount: v
|
|
3212
|
+
}), ga = e.object({
|
|
3073
3213
|
uuid: e.uuid(),
|
|
3074
3214
|
createdAt: e.iso.datetime(),
|
|
3075
3215
|
updatedAt: e.iso.datetime(),
|
|
3076
3216
|
issueOn: e.iso.date().nullable(),
|
|
3077
|
-
issuer:
|
|
3078
|
-
customer:
|
|
3217
|
+
issuer: da,
|
|
3218
|
+
customer: fa,
|
|
3079
3219
|
paymentReference: e.string().nullable(),
|
|
3080
3220
|
subject: e.string().nullable(),
|
|
3081
3221
|
poNumber: e.string().nullable(),
|
|
@@ -3091,28 +3231,28 @@ var Fi = e.object({
|
|
|
3091
3231
|
M,
|
|
3092
3232
|
N
|
|
3093
3233
|
])),
|
|
3094
|
-
ungroupedLines: e.array(
|
|
3095
|
-
groups: e.array(
|
|
3096
|
-
vatSummaries: e.array(
|
|
3097
|
-
grossAmount:
|
|
3098
|
-
netAmount:
|
|
3099
|
-
effectiveNet:
|
|
3100
|
-
vatAmount:
|
|
3101
|
-
totalDiscountAmount:
|
|
3234
|
+
ungroupedLines: e.array(pa),
|
|
3235
|
+
groups: e.array(ma),
|
|
3236
|
+
vatSummaries: e.array(ha),
|
|
3237
|
+
grossAmount: v,
|
|
3238
|
+
netAmount: v,
|
|
3239
|
+
effectiveNet: v,
|
|
3240
|
+
vatAmount: v,
|
|
3241
|
+
totalDiscountAmount: v.nullable(),
|
|
3102
3242
|
globalDiscount: L.nullable(),
|
|
3103
|
-
advancePaymentAmount:
|
|
3104
|
-
amountDue:
|
|
3243
|
+
advancePaymentAmount: v.nullable(),
|
|
3244
|
+
amountDue: v,
|
|
3105
3245
|
externalRemarks: e.string().nullable()
|
|
3106
|
-
}),
|
|
3246
|
+
}), _a = e.enum(["after_approval_request", "after_last_reminder"]), va = e.object({
|
|
3107
3247
|
uuid: e.uuid(),
|
|
3108
3248
|
issuerUuid: e.uuid(),
|
|
3109
3249
|
sequence: Bn,
|
|
3110
|
-
schedule:
|
|
3250
|
+
schedule: _a,
|
|
3111
3251
|
offsetDays: e.number(),
|
|
3112
|
-
template:
|
|
3113
|
-
}),
|
|
3114
|
-
items: e.array(
|
|
3115
|
-
approvalMailTemplate:
|
|
3252
|
+
template: ei
|
|
3253
|
+
}), ya = e.object({
|
|
3254
|
+
items: e.array(va),
|
|
3255
|
+
approvalMailTemplate: ei
|
|
3116
3256
|
});
|
|
3117
3257
|
e.object({
|
|
3118
3258
|
detail: e.string().optional(),
|
|
@@ -3127,15 +3267,15 @@ e.object({
|
|
|
3127
3267
|
status: e.enum(["400"]),
|
|
3128
3268
|
code: e.enum(["additional_approval_reminder_config"])
|
|
3129
3269
|
});
|
|
3130
|
-
var
|
|
3270
|
+
var ba = e.object({
|
|
3131
3271
|
sequence: Bn,
|
|
3132
3272
|
offsetDays: e.int().gte(1),
|
|
3133
|
-
schedule:
|
|
3134
|
-
template:
|
|
3135
|
-
}),
|
|
3273
|
+
schedule: _a,
|
|
3274
|
+
template: ai
|
|
3275
|
+
}), xa = e.object({ reminders: e.array(ba).max(2) }), Sa = e.object({
|
|
3136
3276
|
subject: F,
|
|
3137
3277
|
body: F
|
|
3138
|
-
}),
|
|
3278
|
+
}), Ca = e.object({ isPast: e.boolean().optional() }), wa = e.object({
|
|
3139
3279
|
startDate: e.union([
|
|
3140
3280
|
e.iso.date(),
|
|
3141
3281
|
e.enum(["infinity"]),
|
|
@@ -3146,11 +3286,11 @@ var Qi = e.object({
|
|
|
3146
3286
|
e.enum(["infinity"]),
|
|
3147
3287
|
e.enum(["-infinity"])
|
|
3148
3288
|
])
|
|
3149
|
-
}),
|
|
3289
|
+
}), Ta = e.object({
|
|
3150
3290
|
uuid: e.uuid(),
|
|
3151
3291
|
name: e.string(),
|
|
3152
|
-
period:
|
|
3153
|
-
}),
|
|
3292
|
+
period: wa
|
|
3293
|
+
}), Ea = e.object({ items: e.array(Ta) });
|
|
3154
3294
|
e.object({
|
|
3155
3295
|
detail: e.string().optional(),
|
|
3156
3296
|
status: e.enum(["409"]),
|
|
@@ -3160,10 +3300,10 @@ e.object({
|
|
|
3160
3300
|
status: e.enum(["400"]),
|
|
3161
3301
|
code: e.enum(["approval_follow_up_pause_period_in_past"])
|
|
3162
3302
|
});
|
|
3163
|
-
var
|
|
3303
|
+
var Da = e.object({
|
|
3164
3304
|
name: e.string().max(100),
|
|
3165
3305
|
period: J
|
|
3166
|
-
}),
|
|
3306
|
+
}), Oa = e.object({ uuid: e.uuid() });
|
|
3167
3307
|
e.object({
|
|
3168
3308
|
detail: e.string().optional(),
|
|
3169
3309
|
status: e.enum(["404"]),
|
|
@@ -3177,17 +3317,17 @@ e.object({
|
|
|
3177
3317
|
status: e.enum(["409"]),
|
|
3178
3318
|
code: e.enum(["approval_follow_up_pause_started"])
|
|
3179
3319
|
});
|
|
3180
|
-
var
|
|
3320
|
+
var ka = e.object({
|
|
3181
3321
|
name: e.string().max(100),
|
|
3182
3322
|
period: J
|
|
3183
|
-
}), $ = e.enum(["soluz"]),
|
|
3323
|
+
}), $ = e.enum(["soluz"]), Aa = e.object({
|
|
3184
3324
|
provider: $,
|
|
3185
3325
|
partyId: e.string(),
|
|
3186
3326
|
enabled: e.boolean(),
|
|
3187
3327
|
hasApiKey: e.boolean(),
|
|
3188
3328
|
validatedAt: e.iso.datetime()
|
|
3189
|
-
}),
|
|
3190
|
-
connection:
|
|
3329
|
+
}), ja = e.object({
|
|
3330
|
+
connection: Aa.nullable(),
|
|
3191
3331
|
providers: e.array($)
|
|
3192
3332
|
});
|
|
3193
3333
|
e.object({
|
|
@@ -3196,11 +3336,11 @@ e.object({
|
|
|
3196
3336
|
code: e.enum(["peppol_error"]),
|
|
3197
3337
|
meta: e.record(e.string(), e.unknown())
|
|
3198
3338
|
}), e.object({ provider: $ });
|
|
3199
|
-
var
|
|
3339
|
+
var Ma = e.object({
|
|
3200
3340
|
id: e.string(),
|
|
3201
3341
|
name: e.string(),
|
|
3202
3342
|
vatNumber: e.string()
|
|
3203
|
-
}),
|
|
3343
|
+
}), Na = e.object({ companies: e.array(Ma) });
|
|
3204
3344
|
e.object({
|
|
3205
3345
|
provider: $,
|
|
3206
3346
|
partyId: e.string(),
|
|
@@ -3219,53 +3359,53 @@ e.object({
|
|
|
3219
3359
|
code: e.enum(["invoice_delivery_rejected"]),
|
|
3220
3360
|
meta: e.record(e.string(), e.unknown())
|
|
3221
3361
|
});
|
|
3222
|
-
var
|
|
3223
|
-
channel:
|
|
3362
|
+
var Pa = e.enum(["email", "peppol"]), Fa = e.object({ channels: e.array(Pa) }), Ia = e.object({
|
|
3363
|
+
channel: Pa,
|
|
3224
3364
|
ready: e.number(),
|
|
3225
3365
|
queued: e.number(),
|
|
3226
3366
|
existing: e.number(),
|
|
3227
3367
|
skipped: e.number()
|
|
3228
|
-
}),
|
|
3368
|
+
}), La = e.enum([
|
|
3229
3369
|
"queued",
|
|
3230
3370
|
"submitting",
|
|
3231
3371
|
"submitted",
|
|
3232
3372
|
"sent",
|
|
3233
3373
|
"failed",
|
|
3234
3374
|
"uncertain"
|
|
3235
|
-
]),
|
|
3375
|
+
]), Ra = e.object({
|
|
3236
3376
|
uuid: e.uuid(),
|
|
3237
3377
|
invoiceUuid: e.uuid(),
|
|
3238
|
-
channel:
|
|
3239
|
-
state:
|
|
3378
|
+
channel: Pa,
|
|
3379
|
+
state: La,
|
|
3240
3380
|
provider: $.nullable(),
|
|
3241
3381
|
providerReference: e.string().nullable(),
|
|
3242
3382
|
errorCode: e.string().nullable(),
|
|
3243
3383
|
revision: e.number()
|
|
3244
|
-
}),
|
|
3384
|
+
}), za = e.object({
|
|
3245
3385
|
label: e.string().nullable(),
|
|
3246
3386
|
queued: e.boolean(),
|
|
3247
3387
|
invoiceUuid: e.uuid(),
|
|
3248
|
-
channel:
|
|
3388
|
+
channel: Pa,
|
|
3249
3389
|
eligible: e.boolean(),
|
|
3250
3390
|
reason: e.string().nullable(),
|
|
3251
|
-
delivery:
|
|
3252
|
-
}),
|
|
3391
|
+
delivery: Ra.nullable()
|
|
3392
|
+
}), Ba = e.object({
|
|
3253
3393
|
totalDocuments: e.number(),
|
|
3254
|
-
channels: e.array(
|
|
3255
|
-
items: e.array(
|
|
3256
|
-
}),
|
|
3257
|
-
channels: e.array(
|
|
3394
|
+
channels: e.array(Ia),
|
|
3395
|
+
items: e.array(za)
|
|
3396
|
+
}), Va = e.object({
|
|
3397
|
+
channels: e.array(Pa),
|
|
3258
3398
|
invoiceUuids: e.array(e.uuid()).optional()
|
|
3259
|
-
}),
|
|
3399
|
+
}), Ha = e.object({
|
|
3260
3400
|
uuid: e.uuid(),
|
|
3261
3401
|
invoiceUuid: e.uuid(),
|
|
3262
|
-
channel:
|
|
3263
|
-
state:
|
|
3402
|
+
channel: Pa,
|
|
3403
|
+
state: La,
|
|
3264
3404
|
provider: $.nullable(),
|
|
3265
3405
|
providerReference: e.string().nullable(),
|
|
3266
3406
|
errorCode: e.string().nullable(),
|
|
3267
3407
|
revision: e.number()
|
|
3268
|
-
}),
|
|
3408
|
+
}), Ua = e.object({ deliveries: e.array(Ha) });
|
|
3269
3409
|
e.object({
|
|
3270
3410
|
detail: e.string().optional(),
|
|
3271
3411
|
status: e.enum(["409"]),
|
|
@@ -3279,16 +3419,16 @@ e.object({
|
|
|
3279
3419
|
status: e.enum(["503"]),
|
|
3280
3420
|
code: e.enum(["mail_unavailable"])
|
|
3281
3421
|
});
|
|
3282
|
-
var
|
|
3422
|
+
var Wa = e.object({ uuid: e.uuid() });
|
|
3283
3423
|
e.object({
|
|
3284
3424
|
detail: e.string().optional(),
|
|
3285
3425
|
status: e.enum(["500"]),
|
|
3286
3426
|
code: e.enum(["internal_server_error"])
|
|
3287
3427
|
});
|
|
3288
|
-
var
|
|
3428
|
+
var Ga = e.object({
|
|
3289
3429
|
provider: $,
|
|
3290
3430
|
apiKey: e.string().optional()
|
|
3291
|
-
}),
|
|
3431
|
+
}), Ka = e.object({
|
|
3292
3432
|
provider: $,
|
|
3293
3433
|
apiKey: e.string().optional(),
|
|
3294
3434
|
partyId: e.string(),
|
|
@@ -3301,284 +3441,290 @@ e.object({
|
|
|
3301
3441
|
fresh: e.boolean(),
|
|
3302
3442
|
collections: e.array(Ce).optional()
|
|
3303
3443
|
}), e.object({ collections: e.array(Ce).optional() }), e.object({ user: e.uuid() }), e.object({ uuid: e.uuid() });
|
|
3304
|
-
var
|
|
3444
|
+
var qa = e.object({
|
|
3305
3445
|
pagination: Te.optional(),
|
|
3306
3446
|
search: e.string().optional()
|
|
3307
|
-
}),
|
|
3447
|
+
}), Ja = ke;
|
|
3308
3448
|
e.void(), e.void(), e.object({ role: e.uuid() }), e.void(), e.object({ role: e.uuid() }), e.object({ role: e.uuid() }), e.void();
|
|
3309
|
-
var
|
|
3449
|
+
var Ya = Ne, Xa = Pe;
|
|
3310
3450
|
e.object({ file: e.uuid() }), e.void();
|
|
3311
|
-
var
|
|
3451
|
+
var Za = Fe, Qa = e.object({ file: e.uuid() }), $a = e.void(), eo = e.object({ file: e.uuid() });
|
|
3312
3452
|
e.object({ file: e.uuid() }), e.object({ token: e.string() }), e.object({
|
|
3313
|
-
filter:
|
|
3314
|
-
pagination:
|
|
3453
|
+
filter: Ve.optional(),
|
|
3454
|
+
pagination: Ue.optional()
|
|
3315
3455
|
}), e.object({
|
|
3316
|
-
filter:
|
|
3456
|
+
filter: Xe.optional(),
|
|
3317
3457
|
search: e.string(),
|
|
3318
|
-
pagination:
|
|
3458
|
+
pagination: Qe.optional()
|
|
3319
3459
|
}), e.void(), e.void(), e.object({
|
|
3320
|
-
filter:
|
|
3321
|
-
pagination:
|
|
3460
|
+
filter: ft.optional(),
|
|
3461
|
+
pagination: mt.optional()
|
|
3322
3462
|
}), e.object({ notificationUuid: e.uuid() }), e.void(), e.void(), e.object({ notificationUuid: e.uuid() }), e.void(), e.object({ notificationUuid: e.uuid() }), e.void(), e.void(), e.void(), e.object({
|
|
3323
|
-
sort: e.array(
|
|
3324
|
-
filter:
|
|
3325
|
-
pagination:
|
|
3463
|
+
sort: e.array(St).optional(),
|
|
3464
|
+
filter: wt.optional(),
|
|
3465
|
+
pagination: Et.optional()
|
|
3326
3466
|
}), e.object({ jobId: e.uuid() }), e.object({
|
|
3327
3467
|
pagination: Te.optional(),
|
|
3328
3468
|
search: e.string().optional()
|
|
3329
3469
|
}), e.object({ uuid: e.uuid() }), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.object({ slug: e.string() }), e.object({ uuid: e.uuid() }), e.void();
|
|
3330
|
-
var
|
|
3470
|
+
var to = e.object({
|
|
3331
3471
|
pagination: Te.optional(),
|
|
3332
|
-
filter:
|
|
3472
|
+
filter: zt.optional(),
|
|
3333
3473
|
search: e.string().optional()
|
|
3334
|
-
}),
|
|
3474
|
+
}), no = Vt, ro = e.object({ uuid: e.uuid() }), io = Rt;
|
|
3335
3475
|
e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.object({ uuid: e.uuid() }), e.void();
|
|
3336
|
-
var
|
|
3476
|
+
var ao = e.object({ uuid: e.uuid() }), oo = e.object({ pagination: Te.optional() }), so = Wt, co = Xt, lo = Zt, uo = e.void(), fo = e.object({ token: e.string() }), po = hn, mo = e.object({
|
|
3337
3477
|
pagination: Te.optional(),
|
|
3338
|
-
sort: e.array(
|
|
3339
|
-
filter:
|
|
3478
|
+
sort: e.array(qn).optional(),
|
|
3479
|
+
filter: Yn.optional(),
|
|
3340
3480
|
search: e.string().optional()
|
|
3341
|
-
}),
|
|
3481
|
+
}), ho = $n, go = bn, _o = xn, vo = e.object({ uuid: e.uuid() }), yo = e.void(), bo = e.object({ uuid: e.uuid() }), xo = Gn, So = er, Co = e.object({ uuid: e.uuid() }), wo = e.void(), To = yn, Eo = e.object({ uuid: e.uuid() }), Do = e.void();
|
|
3342
3482
|
e.object({ uuid: e.uuid() }), e.void();
|
|
3343
|
-
var
|
|
3344
|
-
filter:
|
|
3345
|
-
search: e.string().optional()
|
|
3346
|
-
}), zo = yr, Bo = e.object({
|
|
3347
|
-
filter: br.optional(),
|
|
3483
|
+
var Oo = tr, ko = e.object({ uuid: e.uuid() }), Ao = e.void(), jo = nr, Mo = e.object({ uuid: e.uuid() }), No = e.void(), Po = cr, Fo = e.object({ uuid: e.uuid() }), Io = e.object({ uuid: e.uuid() }), Lo = lr, Ro = fr, zo = e.object({ uuid: e.uuid() }), Bo = e.void(), Vo = mr, Ho = e.object({ uuid: e.uuid() }), Uo = e.void(), Wo = e.object({ uuid: e.uuid() }), Go = e.object({ uuid: e.uuid() }), Ko = e.void(), qo = e.object({ uuid: e.uuid() }), Jo = hr, Yo = e.object({ uuid: e.uuid() }), Xo = gr, Zo = e.object({ uuid: e.uuid() }), Qo = e.void(), $o = _r, es = e.object({ uuid: e.uuid() }), ts = e.void(), ns = e.object({ uuid: e.uuid() }), rs = e.void(), is = e.object({ uuid: e.uuid() }), as = e.void(), os = e.object({
|
|
3484
|
+
filter: vr.optional(),
|
|
3348
3485
|
search: e.string().optional()
|
|
3349
|
-
}),
|
|
3350
|
-
filter:
|
|
3486
|
+
}), ss = Sr, cs = e.object({
|
|
3487
|
+
filter: Cr.optional(),
|
|
3351
3488
|
search: e.string().optional()
|
|
3352
|
-
}),
|
|
3489
|
+
}), ls = wr, us = e.object({ uuid: e.uuid() }), ds = e.void(), fs = e.object({
|
|
3353
3490
|
filter: Tr.optional(),
|
|
3354
3491
|
search: e.string().optional()
|
|
3355
|
-
}),
|
|
3356
|
-
filter:
|
|
3492
|
+
}), ps = Er, ms = Dr, hs = e.object({
|
|
3493
|
+
filter: Or.optional(),
|
|
3357
3494
|
search: e.string().optional()
|
|
3358
|
-
}),
|
|
3359
|
-
filter:
|
|
3495
|
+
}), gs = kr, _s = e.object({
|
|
3496
|
+
filter: Ar.optional(),
|
|
3360
3497
|
search: e.string().optional()
|
|
3361
|
-
}),
|
|
3362
|
-
filter:
|
|
3363
|
-
|
|
3364
|
-
}),
|
|
3498
|
+
}), vs = jr, ys = e.object({
|
|
3499
|
+
filter: Mr.optional(),
|
|
3500
|
+
search: e.string().optional()
|
|
3501
|
+
}), bs = Nr, xs = e.object({ uuid: e.uuid() }), Ss = e.void(), Cs = e.object({
|
|
3502
|
+
filter: Pr.optional(),
|
|
3503
|
+
pagination: Ir.optional()
|
|
3504
|
+
}), ws = Kr, Ts = e.object({ uuid: e.uuid() }), Es = Qr, Ds = Jr, Os = e.object({ uuid: e.uuid() }), ks = Yr, As = e.object({
|
|
3365
3505
|
uuid: e.uuid(),
|
|
3366
3506
|
paymentUuid: e.uuid()
|
|
3367
|
-
}),
|
|
3507
|
+
}), js = e.void(), Ms = ii, Ns = si, Ps = e.void(), Fs = e.object({ filter: li.optional() }), Is = e.array(sn), Ls = e.object({ uuid: e.uuid() }), Rs = gi, zs = e.object({
|
|
3368
3508
|
pagination: Te.optional(),
|
|
3369
|
-
filter:
|
|
3370
|
-
}),
|
|
3371
|
-
|
|
3509
|
+
filter: _i.optional()
|
|
3510
|
+
}), Bs = xi, Vs = e.object({ uuid: e.uuid() }), Hs = e.object({ uuid: e.uuid() }), Us = e.object({ filter: Si.optional() }), Ws = Ci, Gs = e.object({ filter: wi.optional() }), Ks = Ti, qs = e.object({ token: e.string() }), Js = ji, Ys = Ni, Xs = Pi;
|
|
3511
|
+
e.object({
|
|
3512
|
+
code: e.string().optional(),
|
|
3513
|
+
state: e.string().optional(),
|
|
3514
|
+
error: e.string().optional()
|
|
3515
|
+
});
|
|
3516
|
+
var Zs = e.object({ uuid: e.uuid() }), Qs = e.void(), $s = Ii, ec = e.object({ uuid: e.uuid() }), tc = e.void(), nc = e.object({ uuid: e.uuid() }), rc = Bi, ic = Hi, ac = Ui, oc = e.object({ uuid: e.uuid() }), sc = e.object({ search: e.string().optional() }), cc = Ji, lc = e.object({ uuid: e.uuid() }), uc = Xi, dc = e.object({ uuid: e.uuid() }), fc = e.object({
|
|
3517
|
+
filter: Zi.optional(),
|
|
3372
3518
|
search: e.string().optional()
|
|
3373
|
-
}),
|
|
3374
|
-
filter:
|
|
3519
|
+
}), pc = Qi, mc = e.object({
|
|
3520
|
+
filter: $i.optional(),
|
|
3375
3521
|
search: e.string().optional()
|
|
3376
|
-
}),
|
|
3522
|
+
}), hc = ea, gc = ta, _c = e.object({ uuid: e.uuid() }), vc = e.void(), yc = na, bc = e.object({ uuid: e.uuid() }), xc = e.void(), Sc = e.object({ uuid: e.uuid() }), Cc = e.void(), wc = e.object({ uuid: e.uuid() }), Tc = ra, Ec = e.object({ uuid: e.uuid() }), Dc = e.void(), Oc = e.object({
|
|
3377
3523
|
pagination: Te.optional(),
|
|
3378
|
-
filter:
|
|
3379
|
-
}),
|
|
3380
|
-
filter:
|
|
3524
|
+
filter: ia.optional()
|
|
3525
|
+
}), kc = ua, Ac = e.object({ token: e.string() }), jc = ga, Mc = ya, Nc = xa, Pc = e.void(), Fc = Sa, Ic = e.void(), Lc = e.object({ filter: Ca.optional() }), Rc = Ea, zc = Da, Bc = Oa, Vc = e.object({ uuid: e.uuid() }), Hc = e.void(), Uc = ka, Wc = e.object({ uuid: e.uuid() }), Gc = e.void(), Kc = ja, qc = Ka, Jc = Ga, Yc = Na, Xc = Fa, Zc = e.object({ uuid: e.uuid() }), Qc = Ba, $c = Va, el = e.object({
|
|
3526
|
+
filter: Yn.optional(),
|
|
3381
3527
|
search: e.string().optional()
|
|
3382
|
-
}),
|
|
3383
|
-
filter:
|
|
3528
|
+
}), tl = Ba, nl = Va, rl = e.object({
|
|
3529
|
+
filter: Yn.optional(),
|
|
3384
3530
|
search: e.string().optional()
|
|
3385
|
-
}),
|
|
3531
|
+
}), il = Ba, al = e.object({ uuid: e.uuid() }), ol = Ua, sl = e.object({ uuid: e.uuid() }), cl = Wa, ll = (t) => (t?.client ?? p).get({
|
|
3386
3532
|
requestValidator: async (t) => await e.object({
|
|
3387
3533
|
body: e.never().optional(),
|
|
3388
3534
|
path: e.never().optional(),
|
|
3389
|
-
query:
|
|
3535
|
+
query: qa.optional()
|
|
3390
3536
|
}).parseAsync(t),
|
|
3391
|
-
responseValidator: async (e) => await
|
|
3537
|
+
responseValidator: async (e) => await Ja.parseAsync(e),
|
|
3392
3538
|
url: "/api/v1/users",
|
|
3393
3539
|
...t
|
|
3394
|
-
}),
|
|
3540
|
+
}), ul = (t) => (t.client ?? p).post({
|
|
3395
3541
|
requestValidator: async (t) => await e.object({
|
|
3396
|
-
body:
|
|
3542
|
+
body: Ya,
|
|
3397
3543
|
path: e.never().optional(),
|
|
3398
3544
|
query: e.never().optional()
|
|
3399
3545
|
}).parseAsync(t),
|
|
3400
|
-
responseValidator: async (e) => await
|
|
3546
|
+
responseValidator: async (e) => await Xa.parseAsync(e),
|
|
3401
3547
|
url: "/api/v1/files",
|
|
3402
3548
|
...t,
|
|
3403
3549
|
headers: {
|
|
3404
3550
|
"Content-Type": "application/json",
|
|
3405
3551
|
...t.headers
|
|
3406
3552
|
}
|
|
3407
|
-
}),
|
|
3553
|
+
}), dl = (t) => (t.client ?? p).post({
|
|
3408
3554
|
requestValidator: async (t) => await e.object({
|
|
3409
|
-
body:
|
|
3410
|
-
path:
|
|
3555
|
+
body: Za,
|
|
3556
|
+
path: Qa,
|
|
3411
3557
|
query: e.never().optional()
|
|
3412
3558
|
}).parseAsync(t),
|
|
3413
|
-
responseValidator: async (e) => await
|
|
3559
|
+
responseValidator: async (e) => await $a.parseAsync(e),
|
|
3414
3560
|
url: "/api/v2/files/{file}/confirm-upload",
|
|
3415
3561
|
...t,
|
|
3416
3562
|
headers: {
|
|
3417
3563
|
"Content-Type": "application/json",
|
|
3418
3564
|
...t.headers
|
|
3419
3565
|
}
|
|
3420
|
-
}),
|
|
3566
|
+
}), fl = (t) => (t.client ?? p).post({
|
|
3421
3567
|
requestValidator: async (t) => await e.object({
|
|
3422
3568
|
body: e.never().optional(),
|
|
3423
|
-
path:
|
|
3569
|
+
path: eo,
|
|
3424
3570
|
query: e.never().optional()
|
|
3425
3571
|
}).parseAsync(t),
|
|
3426
3572
|
url: "/api/v1/files/{file}/download",
|
|
3427
3573
|
...t
|
|
3428
|
-
}),
|
|
3574
|
+
}), pl = (t) => (t?.client ?? p).get({
|
|
3429
3575
|
requestValidator: async (t) => await e.object({
|
|
3430
3576
|
body: e.never().optional(),
|
|
3431
3577
|
path: e.never().optional(),
|
|
3432
|
-
query:
|
|
3578
|
+
query: to.optional()
|
|
3433
3579
|
}).parseAsync(t),
|
|
3434
|
-
responseValidator: async (e) => await
|
|
3580
|
+
responseValidator: async (e) => await no.parseAsync(e),
|
|
3435
3581
|
url: "/api/v1/customers",
|
|
3436
3582
|
...t
|
|
3437
|
-
}),
|
|
3583
|
+
}), ml = (t) => (t.client ?? p).get({
|
|
3438
3584
|
requestValidator: async (t) => await e.object({
|
|
3439
3585
|
body: e.never().optional(),
|
|
3440
|
-
path:
|
|
3586
|
+
path: ro,
|
|
3441
3587
|
query: e.never().optional()
|
|
3442
3588
|
}).parseAsync(t),
|
|
3443
|
-
responseValidator: async (e) => await
|
|
3589
|
+
responseValidator: async (e) => await io.parseAsync(e),
|
|
3444
3590
|
url: "/api/v1/customers/{uuid}",
|
|
3445
3591
|
...t
|
|
3446
|
-
}),
|
|
3592
|
+
}), hl = (t) => (t.client ?? p).get({
|
|
3447
3593
|
requestValidator: async (t) => await e.object({
|
|
3448
3594
|
body: e.never().optional(),
|
|
3449
|
-
path:
|
|
3450
|
-
query:
|
|
3595
|
+
path: ao,
|
|
3596
|
+
query: oo.optional()
|
|
3451
3597
|
}).parseAsync(t),
|
|
3452
|
-
responseValidator: async (e) => await
|
|
3598
|
+
responseValidator: async (e) => await so.parseAsync(e),
|
|
3453
3599
|
url: "/api/v1/customers/{uuid}/recipients",
|
|
3454
3600
|
...t
|
|
3455
|
-
}),
|
|
3601
|
+
}), gl = (t) => (t?.client ?? p).get({
|
|
3456
3602
|
requestValidator: async (t) => await e.object({
|
|
3457
3603
|
body: e.never().optional(),
|
|
3458
3604
|
path: e.never().optional(),
|
|
3459
3605
|
query: e.never().optional()
|
|
3460
3606
|
}).parseAsync(t),
|
|
3461
|
-
responseValidator: async (e) => await
|
|
3607
|
+
responseValidator: async (e) => await co.parseAsync(e),
|
|
3462
3608
|
url: "/api/v1/issuers",
|
|
3463
3609
|
...t
|
|
3464
|
-
}),
|
|
3610
|
+
}), _l = (t) => (t.client ?? p).put({
|
|
3465
3611
|
requestValidator: async (t) => await e.object({
|
|
3466
|
-
body:
|
|
3612
|
+
body: lo,
|
|
3467
3613
|
path: e.never().optional(),
|
|
3468
3614
|
query: e.never().optional()
|
|
3469
3615
|
}).parseAsync(t),
|
|
3470
|
-
responseValidator: async (e) => await
|
|
3616
|
+
responseValidator: async (e) => await uo.parseAsync(e),
|
|
3471
3617
|
url: "/api/v1/issuers",
|
|
3472
3618
|
...t,
|
|
3473
3619
|
headers: {
|
|
3474
3620
|
"Content-Type": "application/json",
|
|
3475
3621
|
...t.headers
|
|
3476
3622
|
}
|
|
3477
|
-
}),
|
|
3623
|
+
}), vl = (t) => (t.client ?? p).get({
|
|
3478
3624
|
requestValidator: async (t) => await e.object({
|
|
3479
3625
|
body: e.never().optional(),
|
|
3480
3626
|
path: e.never().optional(),
|
|
3481
|
-
query:
|
|
3627
|
+
query: fo
|
|
3482
3628
|
}).parseAsync(t),
|
|
3483
|
-
responseValidator: async (e) => await
|
|
3629
|
+
responseValidator: async (e) => await po.parseAsync(e),
|
|
3484
3630
|
url: "/api/v1/public/invoices",
|
|
3485
3631
|
...t
|
|
3486
|
-
}),
|
|
3632
|
+
}), yl = (t) => (t?.client ?? p).get({
|
|
3487
3633
|
requestValidator: async (t) => await e.object({
|
|
3488
3634
|
body: e.never().optional(),
|
|
3489
3635
|
path: e.never().optional(),
|
|
3490
|
-
query:
|
|
3636
|
+
query: mo.optional()
|
|
3491
3637
|
}).parseAsync(t),
|
|
3492
|
-
responseValidator: async (e) => await
|
|
3638
|
+
responseValidator: async (e) => await ho.parseAsync(e),
|
|
3493
3639
|
url: "/api/v1/invoices",
|
|
3494
3640
|
...t
|
|
3495
|
-
}),
|
|
3641
|
+
}), bl = (t) => (t.client ?? p).post({
|
|
3496
3642
|
requestValidator: async (t) => await e.object({
|
|
3497
|
-
body:
|
|
3643
|
+
body: go,
|
|
3498
3644
|
path: e.never().optional(),
|
|
3499
3645
|
query: e.never().optional()
|
|
3500
3646
|
}).parseAsync(t),
|
|
3501
|
-
responseValidator: async (e) => await
|
|
3647
|
+
responseValidator: async (e) => await _o.parseAsync(e),
|
|
3502
3648
|
url: "/api/v1/invoices",
|
|
3503
3649
|
...t,
|
|
3504
3650
|
headers: {
|
|
3505
3651
|
"Content-Type": "application/json",
|
|
3506
3652
|
...t.headers
|
|
3507
3653
|
}
|
|
3508
|
-
}),
|
|
3654
|
+
}), xl = (t) => (t.client ?? p).delete({
|
|
3509
3655
|
requestValidator: async (t) => await e.object({
|
|
3510
3656
|
body: e.never().optional(),
|
|
3511
|
-
path:
|
|
3657
|
+
path: vo,
|
|
3512
3658
|
query: e.never().optional()
|
|
3513
3659
|
}).parseAsync(t),
|
|
3514
|
-
responseValidator: async (e) => await
|
|
3660
|
+
responseValidator: async (e) => await yo.parseAsync(e),
|
|
3515
3661
|
url: "/api/v1/invoices/{uuid}",
|
|
3516
3662
|
...t
|
|
3517
|
-
}),
|
|
3663
|
+
}), Sl = (t) => (t.client ?? p).get({
|
|
3518
3664
|
requestValidator: async (t) => await e.object({
|
|
3519
3665
|
body: e.never().optional(),
|
|
3520
|
-
path:
|
|
3666
|
+
path: bo,
|
|
3521
3667
|
query: e.never().optional()
|
|
3522
3668
|
}).parseAsync(t),
|
|
3523
|
-
responseValidator: async (e) => await
|
|
3669
|
+
responseValidator: async (e) => await xo.parseAsync(e),
|
|
3524
3670
|
url: "/api/v1/invoices/{uuid}",
|
|
3525
3671
|
...t
|
|
3526
|
-
}),
|
|
3672
|
+
}), Cl = (t) => (t.client ?? p).patch({
|
|
3527
3673
|
requestValidator: async (t) => await e.object({
|
|
3528
|
-
body:
|
|
3529
|
-
path:
|
|
3674
|
+
body: So,
|
|
3675
|
+
path: Co,
|
|
3530
3676
|
query: e.never().optional()
|
|
3531
3677
|
}).parseAsync(t),
|
|
3532
|
-
responseValidator: async (e) => await
|
|
3678
|
+
responseValidator: async (e) => await wo.parseAsync(e),
|
|
3533
3679
|
url: "/api/v1/invoices/{uuid}",
|
|
3534
3680
|
...t,
|
|
3535
3681
|
headers: {
|
|
3536
3682
|
"Content-Type": "application/json",
|
|
3537
3683
|
...t.headers
|
|
3538
3684
|
}
|
|
3539
|
-
}),
|
|
3685
|
+
}), wl = (t) => (t.client ?? p).patch({
|
|
3540
3686
|
requestValidator: async (t) => await e.object({
|
|
3541
|
-
body:
|
|
3542
|
-
path:
|
|
3687
|
+
body: To,
|
|
3688
|
+
path: Eo,
|
|
3543
3689
|
query: e.never().optional()
|
|
3544
3690
|
}).parseAsync(t),
|
|
3545
|
-
responseValidator: async (e) => await
|
|
3691
|
+
responseValidator: async (e) => await Do.parseAsync(e),
|
|
3546
3692
|
url: "/api/v1/invoices/{uuid}/lines",
|
|
3547
3693
|
...t,
|
|
3548
3694
|
headers: {
|
|
3549
3695
|
"Content-Type": "application/json",
|
|
3550
3696
|
...t.headers
|
|
3551
3697
|
}
|
|
3552
|
-
}),
|
|
3698
|
+
}), Tl = (t) => (t.client ?? p).patch({
|
|
3553
3699
|
requestValidator: async (t) => await e.object({
|
|
3554
|
-
body:
|
|
3555
|
-
path:
|
|
3700
|
+
body: Oo,
|
|
3701
|
+
path: ko,
|
|
3556
3702
|
query: e.never().optional()
|
|
3557
3703
|
}).parseAsync(t),
|
|
3558
|
-
responseValidator: async (e) => await
|
|
3704
|
+
responseValidator: async (e) => await Ao.parseAsync(e),
|
|
3559
3705
|
url: "/api/v2/invoices/{uuid}/discount",
|
|
3560
3706
|
...t,
|
|
3561
3707
|
headers: {
|
|
3562
3708
|
"Content-Type": "application/json",
|
|
3563
3709
|
...t.headers
|
|
3564
3710
|
}
|
|
3565
|
-
}),
|
|
3711
|
+
}), El = (t) => (t.client ?? p).patch({
|
|
3566
3712
|
requestValidator: async (t) => await e.object({
|
|
3567
|
-
body:
|
|
3568
|
-
path:
|
|
3713
|
+
body: jo,
|
|
3714
|
+
path: Mo,
|
|
3569
3715
|
query: e.never().optional()
|
|
3570
3716
|
}).parseAsync(t),
|
|
3571
|
-
responseValidator: async (e) => await
|
|
3717
|
+
responseValidator: async (e) => await No.parseAsync(e),
|
|
3572
3718
|
url: "/api/v1/invoices/{uuid}/attachments",
|
|
3573
3719
|
...t,
|
|
3574
3720
|
headers: {
|
|
3575
3721
|
"Content-Type": "application/json",
|
|
3576
3722
|
...t.headers
|
|
3577
3723
|
}
|
|
3578
|
-
}),
|
|
3724
|
+
}), Dl = (t) => (t.client ?? p).post({
|
|
3579
3725
|
requestValidator: async (t) => await e.object({
|
|
3580
|
-
body:
|
|
3581
|
-
path:
|
|
3726
|
+
body: Po,
|
|
3727
|
+
path: Fo,
|
|
3582
3728
|
query: e.never().optional()
|
|
3583
3729
|
}).parseAsync(t),
|
|
3584
3730
|
url: "/api/v1/invoices/{uuid}/finalize",
|
|
@@ -3587,515 +3733,595 @@ var ao = Qn, oo = e.object({ uuid: e.uuid() }), so = e.void(), co = $n, lo = e.o
|
|
|
3587
3733
|
"Content-Type": "application/json",
|
|
3588
3734
|
...t.headers
|
|
3589
3735
|
}
|
|
3590
|
-
}),
|
|
3736
|
+
}), Ol = (t) => (t.client ?? p).post({
|
|
3591
3737
|
requestValidator: async (t) => await e.object({
|
|
3592
3738
|
body: e.never().optional(),
|
|
3593
|
-
path:
|
|
3739
|
+
path: Io,
|
|
3594
3740
|
query: e.never().optional()
|
|
3595
3741
|
}).parseAsync(t),
|
|
3596
|
-
responseValidator: async (e) => await
|
|
3742
|
+
responseValidator: async (e) => await Lo.parseAsync(e),
|
|
3597
3743
|
url: "/api/v1/invoices/{uuid}/credit-note",
|
|
3598
3744
|
...t
|
|
3599
|
-
}),
|
|
3745
|
+
}), kl = (t) => (t.client ?? p).patch({
|
|
3600
3746
|
requestValidator: async (t) => await e.object({
|
|
3601
|
-
body:
|
|
3602
|
-
path:
|
|
3747
|
+
body: Ro,
|
|
3748
|
+
path: zo,
|
|
3603
3749
|
query: e.never().optional()
|
|
3604
3750
|
}).parseAsync(t),
|
|
3605
|
-
responseValidator: async (e) => await
|
|
3751
|
+
responseValidator: async (e) => await Bo.parseAsync(e),
|
|
3606
3752
|
url: "/api/v1/credit-notes/{uuid}/lines",
|
|
3607
3753
|
...t,
|
|
3608
3754
|
headers: {
|
|
3609
3755
|
"Content-Type": "application/json",
|
|
3610
3756
|
...t.headers
|
|
3611
3757
|
}
|
|
3612
|
-
}),
|
|
3758
|
+
}), Al = (t) => (t.client ?? p).patch({
|
|
3613
3759
|
requestValidator: async (t) => await e.object({
|
|
3614
|
-
body:
|
|
3615
|
-
path:
|
|
3760
|
+
body: Vo,
|
|
3761
|
+
path: Ho,
|
|
3616
3762
|
query: e.never().optional()
|
|
3617
3763
|
}).parseAsync(t),
|
|
3618
|
-
responseValidator: async (e) => await
|
|
3764
|
+
responseValidator: async (e) => await Uo.parseAsync(e),
|
|
3619
3765
|
url: "/api/v1/credit-notes/{uuid}",
|
|
3620
3766
|
...t,
|
|
3621
3767
|
headers: {
|
|
3622
3768
|
"Content-Type": "application/json",
|
|
3623
3769
|
...t.headers
|
|
3624
3770
|
}
|
|
3625
|
-
}),
|
|
3771
|
+
}), jl = (t) => (t.client ?? p).post({
|
|
3626
3772
|
requestValidator: async (t) => await e.object({
|
|
3627
3773
|
body: e.never().optional(),
|
|
3628
|
-
path:
|
|
3774
|
+
path: Wo,
|
|
3629
3775
|
query: e.never().optional()
|
|
3630
3776
|
}).parseAsync(t),
|
|
3631
3777
|
url: "/api/v1/credit-notes/{uuid}/finalize",
|
|
3632
3778
|
...t
|
|
3633
|
-
}),
|
|
3779
|
+
}), Ml = (t) => (t.client ?? p).post({
|
|
3634
3780
|
requestValidator: async (t) => await e.object({
|
|
3635
3781
|
body: e.never().optional(),
|
|
3636
|
-
path:
|
|
3782
|
+
path: Go,
|
|
3637
3783
|
query: e.never().optional()
|
|
3638
3784
|
}).parseAsync(t),
|
|
3639
|
-
responseValidator: async (e) => await
|
|
3785
|
+
responseValidator: async (e) => await Ko.parseAsync(e),
|
|
3640
3786
|
url: "/api/v1/invoices/{uuid}/mark-as-ready",
|
|
3641
3787
|
...t
|
|
3642
|
-
}),
|
|
3788
|
+
}), Nl = (t) => (t.client ?? p).post({
|
|
3643
3789
|
requestValidator: async (t) => await e.object({
|
|
3644
3790
|
body: e.never().optional(),
|
|
3645
|
-
path:
|
|
3791
|
+
path: qo,
|
|
3646
3792
|
query: e.never().optional()
|
|
3647
3793
|
}).parseAsync(t),
|
|
3648
|
-
responseValidator: async (e) => await
|
|
3794
|
+
responseValidator: async (e) => await Jo.parseAsync(e),
|
|
3649
3795
|
url: "/api/v1/invoices/{uuid}/duplicate",
|
|
3650
3796
|
...t
|
|
3651
|
-
}),
|
|
3797
|
+
}), Pl = (t) => (t.client ?? p).post({
|
|
3652
3798
|
requestValidator: async (t) => await e.object({
|
|
3653
3799
|
body: e.never().optional(),
|
|
3654
|
-
path:
|
|
3800
|
+
path: Yo,
|
|
3655
3801
|
query: e.never().optional()
|
|
3656
3802
|
}).parseAsync(t),
|
|
3657
|
-
responseValidator: async (e) => await
|
|
3803
|
+
responseValidator: async (e) => await Xo.parseAsync(e),
|
|
3658
3804
|
url: "/api/v1/invoices/{uuid}/copy-to-invoice",
|
|
3659
3805
|
...t
|
|
3660
|
-
}),
|
|
3806
|
+
}), Fl = (t) => (t.client ?? p).post({
|
|
3661
3807
|
requestValidator: async (t) => await e.object({
|
|
3662
3808
|
body: e.never().optional(),
|
|
3663
|
-
path:
|
|
3809
|
+
path: Zo,
|
|
3664
3810
|
query: e.never().optional()
|
|
3665
3811
|
}).parseAsync(t),
|
|
3666
|
-
responseValidator: async (e) => await
|
|
3812
|
+
responseValidator: async (e) => await Qo.parseAsync(e),
|
|
3667
3813
|
url: "/api/v1/invoices/{uuid}/mark-as-draft",
|
|
3668
3814
|
...t
|
|
3669
|
-
}),
|
|
3815
|
+
}), Il = (t) => (t.client ?? p).patch({
|
|
3670
3816
|
requestValidator: async (t) => await e.object({
|
|
3671
|
-
body:
|
|
3672
|
-
path:
|
|
3817
|
+
body: $o,
|
|
3818
|
+
path: es,
|
|
3673
3819
|
query: e.never().optional()
|
|
3674
3820
|
}).parseAsync(t),
|
|
3675
|
-
responseValidator: async (e) => await
|
|
3821
|
+
responseValidator: async (e) => await ts.parseAsync(e),
|
|
3676
3822
|
url: "/api/v1/invoices/{uuid}/approval-mode",
|
|
3677
3823
|
...t,
|
|
3678
3824
|
headers: {
|
|
3679
3825
|
"Content-Type": "application/json",
|
|
3680
3826
|
...t.headers
|
|
3681
3827
|
}
|
|
3682
|
-
}),
|
|
3828
|
+
}), Ll = (t) => (t.client ?? p).post({
|
|
3683
3829
|
requestValidator: async (t) => await e.object({
|
|
3684
3830
|
body: e.never().optional(),
|
|
3685
|
-
path:
|
|
3831
|
+
path: ns,
|
|
3686
3832
|
query: e.never().optional()
|
|
3687
3833
|
}).parseAsync(t),
|
|
3688
|
-
responseValidator: async (e) => await
|
|
3834
|
+
responseValidator: async (e) => await rs.parseAsync(e),
|
|
3689
3835
|
url: "/api/v1/invoices/{uuid}/mark-as-disputed",
|
|
3690
3836
|
...t
|
|
3691
|
-
}),
|
|
3837
|
+
}), Rl = (t) => (t.client ?? p).post({
|
|
3692
3838
|
requestValidator: async (t) => await e.object({
|
|
3693
3839
|
body: e.never().optional(),
|
|
3694
|
-
path:
|
|
3840
|
+
path: is,
|
|
3695
3841
|
query: e.never().optional()
|
|
3696
3842
|
}).parseAsync(t),
|
|
3697
|
-
responseValidator: async (e) => await
|
|
3843
|
+
responseValidator: async (e) => await as.parseAsync(e),
|
|
3698
3844
|
url: "/api/v1/invoices/{uuid}/mark-as-paid",
|
|
3699
3845
|
...t
|
|
3700
|
-
}),
|
|
3846
|
+
}), zl = (t) => (t?.client ?? p).get({
|
|
3701
3847
|
requestValidator: async (t) => await e.object({
|
|
3702
3848
|
body: e.never().optional(),
|
|
3703
3849
|
path: e.never().optional(),
|
|
3704
|
-
query:
|
|
3850
|
+
query: os.optional()
|
|
3705
3851
|
}).parseAsync(t),
|
|
3706
|
-
responseValidator: async (e) => await
|
|
3852
|
+
responseValidator: async (e) => await ss.parseAsync(e),
|
|
3707
3853
|
url: "/api/v1/invoices/mark-as-ready/preview",
|
|
3708
3854
|
...t
|
|
3709
|
-
}),
|
|
3855
|
+
}), Bl = (t) => (t?.client ?? p).post({
|
|
3710
3856
|
requestValidator: async (t) => await e.object({
|
|
3711
3857
|
body: e.never().optional(),
|
|
3712
3858
|
path: e.never().optional(),
|
|
3713
|
-
query:
|
|
3859
|
+
query: cs.optional()
|
|
3714
3860
|
}).parseAsync(t),
|
|
3715
|
-
responseValidator: async (e) => await
|
|
3861
|
+
responseValidator: async (e) => await ls.parseAsync(e),
|
|
3716
3862
|
url: "/api/v1/invoices/mark-as-ready",
|
|
3717
3863
|
...t
|
|
3718
|
-
}),
|
|
3864
|
+
}), Vl = (t) => (t.client ?? p).post({
|
|
3719
3865
|
requestValidator: async (t) => await e.object({
|
|
3720
3866
|
body: e.never().optional(),
|
|
3721
|
-
path:
|
|
3867
|
+
path: us,
|
|
3722
3868
|
query: e.never().optional()
|
|
3723
3869
|
}).parseAsync(t),
|
|
3724
|
-
responseValidator: async (e) => await
|
|
3870
|
+
responseValidator: async (e) => await ds.parseAsync(e),
|
|
3725
3871
|
url: "/api/v1/invoices/{uuid}/withdraw-disputed",
|
|
3726
3872
|
...t
|
|
3727
|
-
}),
|
|
3873
|
+
}), Hl = (t) => (t?.client ?? p).get({
|
|
3728
3874
|
requestValidator: async (t) => await e.object({
|
|
3729
3875
|
body: e.never().optional(),
|
|
3730
3876
|
path: e.never().optional(),
|
|
3731
|
-
query:
|
|
3877
|
+
query: fs.optional()
|
|
3732
3878
|
}).parseAsync(t),
|
|
3733
|
-
responseValidator: async (e) => await
|
|
3879
|
+
responseValidator: async (e) => await ps.parseAsync(e),
|
|
3734
3880
|
url: "/api/v1/invoices/finalize/preview",
|
|
3735
3881
|
...t
|
|
3736
|
-
}),
|
|
3882
|
+
}), Ul = (t) => (t.client ?? p).post({
|
|
3737
3883
|
requestValidator: async (t) => await e.object({
|
|
3738
|
-
body:
|
|
3884
|
+
body: ms,
|
|
3739
3885
|
path: e.never().optional(),
|
|
3740
|
-
query:
|
|
3886
|
+
query: hs.optional()
|
|
3741
3887
|
}).parseAsync(t),
|
|
3742
|
-
responseValidator: async (e) => await
|
|
3888
|
+
responseValidator: async (e) => await gs.parseAsync(e),
|
|
3743
3889
|
url: "/api/v1/invoices/finalize",
|
|
3744
3890
|
...t,
|
|
3745
3891
|
headers: {
|
|
3746
3892
|
"Content-Type": "application/json",
|
|
3747
3893
|
...t.headers
|
|
3748
3894
|
}
|
|
3749
|
-
}),
|
|
3895
|
+
}), Wl = (t) => (t?.client ?? p).get({
|
|
3750
3896
|
requestValidator: async (t) => await e.object({
|
|
3751
3897
|
body: e.never().optional(),
|
|
3752
3898
|
path: e.never().optional(),
|
|
3753
|
-
query:
|
|
3899
|
+
query: _s.optional()
|
|
3754
3900
|
}).parseAsync(t),
|
|
3755
|
-
responseValidator: async (e) => await
|
|
3901
|
+
responseValidator: async (e) => await vs.parseAsync(e),
|
|
3756
3902
|
url: "/api/v1/invoices/delete/preview",
|
|
3757
3903
|
...t
|
|
3758
|
-
}),
|
|
3904
|
+
}), Gl = (t) => (t?.client ?? p).post({
|
|
3759
3905
|
requestValidator: async (t) => await e.object({
|
|
3760
3906
|
body: e.never().optional(),
|
|
3761
3907
|
path: e.never().optional(),
|
|
3762
|
-
query:
|
|
3908
|
+
query: ys.optional()
|
|
3763
3909
|
}).parseAsync(t),
|
|
3764
|
-
responseValidator: async (e) => await
|
|
3910
|
+
responseValidator: async (e) => await bs.parseAsync(e),
|
|
3765
3911
|
url: "/api/v1/invoices/delete",
|
|
3766
3912
|
...t
|
|
3767
|
-
}),
|
|
3913
|
+
}), Kl = (t) => (t.client ?? p).post({
|
|
3768
3914
|
requestValidator: async (t) => await e.object({
|
|
3769
3915
|
body: e.never().optional(),
|
|
3770
|
-
path:
|
|
3916
|
+
path: xs,
|
|
3771
3917
|
query: e.never().optional()
|
|
3772
3918
|
}).parseAsync(t),
|
|
3773
|
-
responseValidator: async (e) => await
|
|
3919
|
+
responseValidator: async (e) => await Ss.parseAsync(e),
|
|
3774
3920
|
url: "/api/v1/invoices/{uuid}/restore-from-pro-forma",
|
|
3775
3921
|
...t
|
|
3776
|
-
}),
|
|
3922
|
+
}), ql = (t) => (t?.client ?? p).get({
|
|
3777
3923
|
requestValidator: async (t) => await e.object({
|
|
3778
3924
|
body: e.never().optional(),
|
|
3779
3925
|
path: e.never().optional(),
|
|
3780
|
-
query:
|
|
3926
|
+
query: Cs.optional()
|
|
3781
3927
|
}).parseAsync(t),
|
|
3782
|
-
responseValidator: async (e) => await
|
|
3928
|
+
responseValidator: async (e) => await ws.parseAsync(e),
|
|
3783
3929
|
url: "/api/v1/activity-logs",
|
|
3784
3930
|
...t
|
|
3785
|
-
}),
|
|
3931
|
+
}), Jl = (t) => (t.client ?? p).get({
|
|
3786
3932
|
requestValidator: async (t) => await e.object({
|
|
3787
3933
|
body: e.never().optional(),
|
|
3788
|
-
path:
|
|
3934
|
+
path: Ts,
|
|
3789
3935
|
query: e.never().optional()
|
|
3790
3936
|
}).parseAsync(t),
|
|
3791
|
-
responseValidator: async (e) => await
|
|
3937
|
+
responseValidator: async (e) => await Es.parseAsync(e),
|
|
3792
3938
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
3793
3939
|
...t
|
|
3794
|
-
}),
|
|
3940
|
+
}), Yl = (t) => (t.client ?? p).post({
|
|
3795
3941
|
requestValidator: async (t) => await e.object({
|
|
3796
|
-
body:
|
|
3797
|
-
path:
|
|
3942
|
+
body: Ds,
|
|
3943
|
+
path: Os,
|
|
3798
3944
|
query: e.never().optional()
|
|
3799
3945
|
}).parseAsync(t),
|
|
3800
|
-
responseValidator: async (e) => await
|
|
3946
|
+
responseValidator: async (e) => await ks.parseAsync(e),
|
|
3801
3947
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
3802
3948
|
...t,
|
|
3803
3949
|
headers: {
|
|
3804
3950
|
"Content-Type": "application/json",
|
|
3805
3951
|
...t.headers
|
|
3806
3952
|
}
|
|
3807
|
-
}),
|
|
3953
|
+
}), Xl = (t) => (t.client ?? p).delete({
|
|
3808
3954
|
requestValidator: async (t) => await e.object({
|
|
3809
3955
|
body: e.never().optional(),
|
|
3810
|
-
path:
|
|
3956
|
+
path: As,
|
|
3811
3957
|
query: e.never().optional()
|
|
3812
3958
|
}).parseAsync(t),
|
|
3813
|
-
responseValidator: async (e) => await
|
|
3959
|
+
responseValidator: async (e) => await js.parseAsync(e),
|
|
3814
3960
|
url: "/api/v1/invoices/{uuid}/payments/{paymentUuid}",
|
|
3815
3961
|
...t
|
|
3816
|
-
}),
|
|
3962
|
+
}), Zl = (t) => (t?.client ?? p).get({
|
|
3817
3963
|
requestValidator: async (t) => await e.object({
|
|
3818
3964
|
body: e.never().optional(),
|
|
3819
3965
|
path: e.never().optional(),
|
|
3820
3966
|
query: e.never().optional()
|
|
3821
3967
|
}).parseAsync(t),
|
|
3822
|
-
responseValidator: async (e) => await
|
|
3968
|
+
responseValidator: async (e) => await Ms.parseAsync(e),
|
|
3823
3969
|
url: "/api/v1/issuers/reminder-configs",
|
|
3824
3970
|
...t
|
|
3825
|
-
}),
|
|
3971
|
+
}), Ql = (t) => (t.client ?? p).patch({
|
|
3826
3972
|
requestValidator: async (t) => await e.object({
|
|
3827
|
-
body:
|
|
3973
|
+
body: Ns,
|
|
3828
3974
|
path: e.never().optional(),
|
|
3829
3975
|
query: e.never().optional()
|
|
3830
3976
|
}).parseAsync(t),
|
|
3831
|
-
responseValidator: async (e) => await
|
|
3977
|
+
responseValidator: async (e) => await Ps.parseAsync(e),
|
|
3832
3978
|
url: "/api/v1/issuers/reminder-configs",
|
|
3833
3979
|
...t,
|
|
3834
3980
|
headers: {
|
|
3835
3981
|
"Content-Type": "application/json",
|
|
3836
3982
|
...t.headers
|
|
3837
3983
|
}
|
|
3838
|
-
}),
|
|
3984
|
+
}), $l = (t) => (t?.client ?? p).get({
|
|
3839
3985
|
requestValidator: async (t) => await e.object({
|
|
3840
3986
|
body: e.never().optional(),
|
|
3841
3987
|
path: e.never().optional(),
|
|
3842
|
-
query:
|
|
3988
|
+
query: Fs.optional()
|
|
3843
3989
|
}).parseAsync(t),
|
|
3844
|
-
responseValidator: async (e) => await
|
|
3990
|
+
responseValidator: async (e) => await Is.parseAsync(e),
|
|
3845
3991
|
url: "/api/v1/custom-field-definitions",
|
|
3846
3992
|
...t
|
|
3847
|
-
}),
|
|
3993
|
+
}), eu = (t) => (t.client ?? p).get({
|
|
3848
3994
|
requestValidator: async (t) => await e.object({
|
|
3849
3995
|
body: e.never().optional(),
|
|
3850
|
-
path:
|
|
3996
|
+
path: Ls,
|
|
3851
3997
|
query: e.never().optional()
|
|
3852
3998
|
}).parseAsync(t),
|
|
3853
|
-
responseValidator: async (e) => await
|
|
3999
|
+
responseValidator: async (e) => await Rs.parseAsync(e),
|
|
3854
4000
|
url: "/api/v1/dunning-cases/{uuid}",
|
|
3855
4001
|
...t
|
|
3856
|
-
}),
|
|
4002
|
+
}), tu = (t) => (t?.client ?? p).get({
|
|
3857
4003
|
requestValidator: async (t) => await e.object({
|
|
3858
4004
|
body: e.never().optional(),
|
|
3859
4005
|
path: e.never().optional(),
|
|
3860
|
-
query:
|
|
4006
|
+
query: zs.optional()
|
|
3861
4007
|
}).parseAsync(t),
|
|
3862
|
-
responseValidator: async (e) => await
|
|
4008
|
+
responseValidator: async (e) => await Bs.parseAsync(e),
|
|
3863
4009
|
url: "/api/v1/dunning-cases",
|
|
3864
4010
|
...t
|
|
3865
|
-
}),
|
|
4011
|
+
}), nu = (t) => (t.client ?? p).post({
|
|
3866
4012
|
requestValidator: async (t) => await e.object({
|
|
3867
4013
|
body: e.never().optional(),
|
|
3868
|
-
path:
|
|
4014
|
+
path: Vs,
|
|
3869
4015
|
query: e.never().optional()
|
|
3870
4016
|
}).parseAsync(t),
|
|
3871
4017
|
url: "/api/v1/dunning-cases/{uuid}/send",
|
|
3872
4018
|
...t
|
|
3873
|
-
}),
|
|
4019
|
+
}), ru = (t) => (t.client ?? p).post({
|
|
3874
4020
|
requestValidator: async (t) => await e.object({
|
|
3875
4021
|
body: e.never().optional(),
|
|
3876
|
-
path:
|
|
4022
|
+
path: Hs,
|
|
3877
4023
|
query: e.never().optional()
|
|
3878
4024
|
}).parseAsync(t),
|
|
3879
4025
|
url: "/api/v1/dunning-case-reminders/{uuid}/retry",
|
|
3880
4026
|
...t
|
|
3881
|
-
}),
|
|
4027
|
+
}), iu = (t) => (t?.client ?? p).post({
|
|
3882
4028
|
requestValidator: async (t) => await e.object({
|
|
3883
4029
|
body: e.never().optional(),
|
|
3884
4030
|
path: e.never().optional(),
|
|
3885
|
-
query:
|
|
4031
|
+
query: Us.optional()
|
|
3886
4032
|
}).parseAsync(t),
|
|
3887
|
-
responseValidator: async (e) => await
|
|
4033
|
+
responseValidator: async (e) => await Ws.parseAsync(e),
|
|
3888
4034
|
url: "/api/v1/dunning-cases/send",
|
|
3889
4035
|
...t
|
|
3890
|
-
}),
|
|
4036
|
+
}), au = (t) => (t?.client ?? p).get({
|
|
3891
4037
|
requestValidator: async (t) => await e.object({
|
|
3892
4038
|
body: e.never().optional(),
|
|
3893
4039
|
path: e.never().optional(),
|
|
3894
|
-
query:
|
|
4040
|
+
query: Gs.optional()
|
|
3895
4041
|
}).parseAsync(t),
|
|
3896
|
-
responseValidator: async (e) => await
|
|
4042
|
+
responseValidator: async (e) => await Ks.parseAsync(e),
|
|
3897
4043
|
url: "/api/v1/dunning-cases/send/preview",
|
|
3898
4044
|
...t
|
|
3899
|
-
}),
|
|
4045
|
+
}), ou = (t) => (t.client ?? p).get({
|
|
3900
4046
|
requestValidator: async (t) => await e.object({
|
|
3901
4047
|
body: e.never().optional(),
|
|
3902
4048
|
path: e.never().optional(),
|
|
3903
|
-
query:
|
|
4049
|
+
query: qs
|
|
3904
4050
|
}).parseAsync(t),
|
|
3905
|
-
responseValidator: async (e) => await
|
|
4051
|
+
responseValidator: async (e) => await Js.parseAsync(e),
|
|
3906
4052
|
url: "/api/v1/public/dunning-case-reminder-invoices",
|
|
3907
4053
|
...t
|
|
3908
|
-
}),
|
|
4054
|
+
}), su = (t) => (t.client ?? p).post({
|
|
4055
|
+
requestValidator: async (t) => await e.object({
|
|
4056
|
+
body: Ys,
|
|
4057
|
+
path: e.never().optional(),
|
|
4058
|
+
query: e.never().optional()
|
|
4059
|
+
}).parseAsync(t),
|
|
4060
|
+
responseValidator: async (e) => await Xs.parseAsync(e),
|
|
4061
|
+
url: "/api/v1/accounting/exact/connect",
|
|
4062
|
+
...t,
|
|
4063
|
+
headers: {
|
|
4064
|
+
"Content-Type": "application/json",
|
|
4065
|
+
...t.headers
|
|
4066
|
+
}
|
|
4067
|
+
}), cu = (t) => (t.client ?? p).post({
|
|
3909
4068
|
requestValidator: async (t) => await e.object({
|
|
3910
4069
|
body: e.never().optional(),
|
|
3911
|
-
path:
|
|
4070
|
+
path: Zs,
|
|
4071
|
+
query: e.never().optional()
|
|
4072
|
+
}).parseAsync(t),
|
|
4073
|
+
responseValidator: async (e) => await Qs.parseAsync(e),
|
|
4074
|
+
url: "/api/v1/accounting/connections/{uuid}/disconnect",
|
|
4075
|
+
...t
|
|
4076
|
+
}), lu = (t) => (t.client ?? p).patch({
|
|
4077
|
+
requestValidator: async (t) => await e.object({
|
|
4078
|
+
body: $s,
|
|
4079
|
+
path: ec,
|
|
4080
|
+
query: e.never().optional()
|
|
4081
|
+
}).parseAsync(t),
|
|
4082
|
+
responseValidator: async (e) => await tc.parseAsync(e),
|
|
4083
|
+
url: "/api/v1/accounting/connections/{uuid}/posting-profile",
|
|
4084
|
+
...t,
|
|
4085
|
+
headers: {
|
|
4086
|
+
"Content-Type": "application/json",
|
|
4087
|
+
...t.headers
|
|
4088
|
+
}
|
|
4089
|
+
}), uu = (t) => (t.client ?? p).get({
|
|
4090
|
+
requestValidator: async (t) => await e.object({
|
|
4091
|
+
body: e.never().optional(),
|
|
4092
|
+
path: nc,
|
|
4093
|
+
query: e.never().optional()
|
|
4094
|
+
}).parseAsync(t),
|
|
4095
|
+
responseValidator: async (e) => await rc.parseAsync(e),
|
|
4096
|
+
url: "/api/v1/accounting/connections/{uuid}",
|
|
4097
|
+
...t
|
|
4098
|
+
}), du = (t) => (t?.client ?? p).get({
|
|
4099
|
+
requestValidator: async (t) => await e.object({
|
|
4100
|
+
body: e.never().optional(),
|
|
4101
|
+
path: e.never().optional(),
|
|
4102
|
+
query: e.never().optional()
|
|
4103
|
+
}).parseAsync(t),
|
|
4104
|
+
responseValidator: async (e) => await ic.parseAsync(e),
|
|
4105
|
+
url: "/api/v1/accounting/connections",
|
|
4106
|
+
...t
|
|
4107
|
+
}), fu = (t) => (t?.client ?? p).get({
|
|
4108
|
+
requestValidator: async (t) => await e.object({
|
|
4109
|
+
body: e.never().optional(),
|
|
4110
|
+
path: e.never().optional(),
|
|
4111
|
+
query: e.never().optional()
|
|
4112
|
+
}).parseAsync(t),
|
|
4113
|
+
responseValidator: async (e) => await ac.parseAsync(e),
|
|
4114
|
+
url: "/api/v1/exact/authorization-config",
|
|
4115
|
+
...t
|
|
4116
|
+
}), pu = (t) => (t.client ?? p).get({
|
|
4117
|
+
requestValidator: async (t) => await e.object({
|
|
4118
|
+
body: e.never().optional(),
|
|
4119
|
+
path: oc,
|
|
4120
|
+
query: sc.optional()
|
|
4121
|
+
}).parseAsync(t),
|
|
4122
|
+
responseValidator: async (e) => await cc.parseAsync(e),
|
|
4123
|
+
url: "/api/v1/exact/connections/{uuid}/gl-accounts",
|
|
4124
|
+
...t
|
|
4125
|
+
}), mu = (t) => (t.client ?? p).get({
|
|
4126
|
+
requestValidator: async (t) => await e.object({
|
|
4127
|
+
body: e.never().optional(),
|
|
4128
|
+
path: lc,
|
|
4129
|
+
query: e.never().optional()
|
|
4130
|
+
}).parseAsync(t),
|
|
4131
|
+
responseValidator: async (e) => await uc.parseAsync(e),
|
|
4132
|
+
url: "/api/v1/exact/connections/{uuid}/journals",
|
|
4133
|
+
...t
|
|
4134
|
+
}), hu = (t) => (t.client ?? p).post({
|
|
4135
|
+
requestValidator: async (t) => await e.object({
|
|
4136
|
+
body: e.never().optional(),
|
|
4137
|
+
path: dc,
|
|
3912
4138
|
query: e.never().optional()
|
|
3913
4139
|
}).parseAsync(t),
|
|
3914
4140
|
url: "/api/v1/invoices/{uuid}/send-pro-forma-approval",
|
|
3915
4141
|
...t
|
|
3916
|
-
}),
|
|
4142
|
+
}), gu = (t) => (t?.client ?? p).get({
|
|
3917
4143
|
requestValidator: async (t) => await e.object({
|
|
3918
4144
|
body: e.never().optional(),
|
|
3919
4145
|
path: e.never().optional(),
|
|
3920
|
-
query:
|
|
4146
|
+
query: fc.optional()
|
|
3921
4147
|
}).parseAsync(t),
|
|
3922
|
-
responseValidator: async (e) => await
|
|
4148
|
+
responseValidator: async (e) => await pc.parseAsync(e),
|
|
3923
4149
|
url: "/api/v1/invoices/send-pro-forma-approval/preview",
|
|
3924
4150
|
...t
|
|
3925
|
-
}),
|
|
4151
|
+
}), _u = (t) => (t?.client ?? p).post({
|
|
3926
4152
|
requestValidator: async (t) => await e.object({
|
|
3927
4153
|
body: e.never().optional(),
|
|
3928
4154
|
path: e.never().optional(),
|
|
3929
|
-
query:
|
|
4155
|
+
query: mc.optional()
|
|
3930
4156
|
}).parseAsync(t),
|
|
3931
|
-
responseValidator: async (e) => await
|
|
4157
|
+
responseValidator: async (e) => await hc.parseAsync(e),
|
|
3932
4158
|
url: "/api/v1/invoices/send-pro-forma-approval",
|
|
3933
4159
|
...t
|
|
3934
|
-
}),
|
|
4160
|
+
}), vu = (t) => (t.client ?? p).post({
|
|
3935
4161
|
requestValidator: async (t) => await e.object({
|
|
3936
|
-
body:
|
|
3937
|
-
path:
|
|
4162
|
+
body: gc,
|
|
4163
|
+
path: _c,
|
|
3938
4164
|
query: e.never().optional()
|
|
3939
4165
|
}).parseAsync(t),
|
|
3940
|
-
responseValidator: async (e) => await
|
|
4166
|
+
responseValidator: async (e) => await vc.parseAsync(e),
|
|
3941
4167
|
url: "/api/v1/invoice-approvals/{uuid}/approve",
|
|
3942
4168
|
...t,
|
|
3943
4169
|
headers: {
|
|
3944
4170
|
"Content-Type": "application/json",
|
|
3945
4171
|
...t.headers
|
|
3946
4172
|
}
|
|
3947
|
-
}),
|
|
4173
|
+
}), yu = (t) => (t.client ?? p).post({
|
|
3948
4174
|
requestValidator: async (t) => await e.object({
|
|
3949
|
-
body:
|
|
3950
|
-
path:
|
|
4175
|
+
body: yc,
|
|
4176
|
+
path: bc,
|
|
3951
4177
|
query: e.never().optional()
|
|
3952
4178
|
}).parseAsync(t),
|
|
3953
|
-
responseValidator: async (e) => await
|
|
4179
|
+
responseValidator: async (e) => await xc.parseAsync(e),
|
|
3954
4180
|
url: "/api/v1/invoice-approvals/{uuid}/reject",
|
|
3955
4181
|
...t,
|
|
3956
4182
|
headers: {
|
|
3957
4183
|
"Content-Type": "application/json",
|
|
3958
4184
|
...t.headers
|
|
3959
4185
|
}
|
|
3960
|
-
}),
|
|
4186
|
+
}), bu = (t) => (t.client ?? p).post({
|
|
3961
4187
|
requestValidator: async (t) => await e.object({
|
|
3962
4188
|
body: e.never().optional(),
|
|
3963
|
-
path:
|
|
4189
|
+
path: Sc,
|
|
3964
4190
|
query: e.never().optional()
|
|
3965
4191
|
}).parseAsync(t),
|
|
3966
|
-
responseValidator: async (e) => await
|
|
4192
|
+
responseValidator: async (e) => await Cc.parseAsync(e),
|
|
3967
4193
|
url: "/api/v1/invoice-approvals/{uuid}/cancel",
|
|
3968
4194
|
...t
|
|
3969
|
-
}),
|
|
4195
|
+
}), xu = (t) => (t.client ?? p).post({
|
|
3970
4196
|
requestValidator: async (t) => await e.object({
|
|
3971
4197
|
body: e.never().optional(),
|
|
3972
|
-
path:
|
|
4198
|
+
path: wc,
|
|
3973
4199
|
query: e.never().optional()
|
|
3974
4200
|
}).parseAsync(t),
|
|
3975
4201
|
url: "/api/v1/invoices/{uuid}/restart-pro-forma-approval",
|
|
3976
4202
|
...t
|
|
3977
|
-
}),
|
|
4203
|
+
}), Su = (t) => (t.client ?? p).patch({
|
|
3978
4204
|
requestValidator: async (t) => await e.object({
|
|
3979
|
-
body:
|
|
3980
|
-
path:
|
|
4205
|
+
body: Tc,
|
|
4206
|
+
path: Ec,
|
|
3981
4207
|
query: e.never().optional()
|
|
3982
4208
|
}).parseAsync(t),
|
|
3983
|
-
responseValidator: async (e) => await
|
|
4209
|
+
responseValidator: async (e) => await Dc.parseAsync(e),
|
|
3984
4210
|
url: "/api/v1/invoice-approvals/{uuid}",
|
|
3985
4211
|
...t,
|
|
3986
4212
|
headers: {
|
|
3987
4213
|
"Content-Type": "application/json",
|
|
3988
4214
|
...t.headers
|
|
3989
4215
|
}
|
|
3990
|
-
}),
|
|
4216
|
+
}), Cu = (t) => (t?.client ?? p).get({
|
|
3991
4217
|
requestValidator: async (t) => await e.object({
|
|
3992
4218
|
body: e.never().optional(),
|
|
3993
4219
|
path: e.never().optional(),
|
|
3994
|
-
query:
|
|
4220
|
+
query: Oc.optional()
|
|
3995
4221
|
}).parseAsync(t),
|
|
3996
|
-
responseValidator: async (e) => await
|
|
4222
|
+
responseValidator: async (e) => await kc.parseAsync(e),
|
|
3997
4223
|
url: "/api/v1/invoice-approvals",
|
|
3998
4224
|
...t
|
|
3999
|
-
}),
|
|
4225
|
+
}), wu = (t) => (t.client ?? p).get({
|
|
4000
4226
|
requestValidator: async (t) => await e.object({
|
|
4001
4227
|
body: e.never().optional(),
|
|
4002
4228
|
path: e.never().optional(),
|
|
4003
|
-
query:
|
|
4229
|
+
query: Ac
|
|
4004
4230
|
}).parseAsync(t),
|
|
4005
|
-
responseValidator: async (e) => await
|
|
4231
|
+
responseValidator: async (e) => await jc.parseAsync(e),
|
|
4006
4232
|
url: "/api/v1/public/pro-formas",
|
|
4007
4233
|
...t
|
|
4008
|
-
}),
|
|
4234
|
+
}), Tu = (t) => (t?.client ?? p).get({
|
|
4009
4235
|
requestValidator: async (t) => await e.object({
|
|
4010
4236
|
body: e.never().optional(),
|
|
4011
4237
|
path: e.never().optional(),
|
|
4012
4238
|
query: e.never().optional()
|
|
4013
4239
|
}).parseAsync(t),
|
|
4014
|
-
responseValidator: async (e) => await
|
|
4240
|
+
responseValidator: async (e) => await Mc.parseAsync(e),
|
|
4015
4241
|
url: "/api/v1/issuers/approval-reminder-configs",
|
|
4016
4242
|
...t
|
|
4017
|
-
}),
|
|
4243
|
+
}), Eu = (t) => (t.client ?? p).patch({
|
|
4018
4244
|
requestValidator: async (t) => await e.object({
|
|
4019
|
-
body:
|
|
4245
|
+
body: Nc,
|
|
4020
4246
|
path: e.never().optional(),
|
|
4021
4247
|
query: e.never().optional()
|
|
4022
4248
|
}).parseAsync(t),
|
|
4023
|
-
responseValidator: async (e) => await
|
|
4249
|
+
responseValidator: async (e) => await Pc.parseAsync(e),
|
|
4024
4250
|
url: "/api/v1/issuers/approval-reminder-configs",
|
|
4025
4251
|
...t,
|
|
4026
4252
|
headers: {
|
|
4027
4253
|
"Content-Type": "application/json",
|
|
4028
4254
|
...t.headers
|
|
4029
4255
|
}
|
|
4030
|
-
}),
|
|
4256
|
+
}), Du = (t) => (t.client ?? p).patch({
|
|
4031
4257
|
requestValidator: async (t) => await e.object({
|
|
4032
|
-
body:
|
|
4258
|
+
body: Fc,
|
|
4033
4259
|
path: e.never().optional(),
|
|
4034
4260
|
query: e.never().optional()
|
|
4035
4261
|
}).parseAsync(t),
|
|
4036
|
-
responseValidator: async (e) => await
|
|
4262
|
+
responseValidator: async (e) => await Ic.parseAsync(e),
|
|
4037
4263
|
url: "/api/v1/issuers/approval-mail-template",
|
|
4038
4264
|
...t,
|
|
4039
4265
|
headers: {
|
|
4040
4266
|
"Content-Type": "application/json",
|
|
4041
4267
|
...t.headers
|
|
4042
4268
|
}
|
|
4043
|
-
}),
|
|
4269
|
+
}), Ou = (t) => (t?.client ?? p).get({
|
|
4044
4270
|
requestValidator: async (t) => await e.object({
|
|
4045
4271
|
body: e.never().optional(),
|
|
4046
4272
|
path: e.never().optional(),
|
|
4047
|
-
query:
|
|
4273
|
+
query: Lc.optional()
|
|
4048
4274
|
}).parseAsync(t),
|
|
4049
|
-
responseValidator: async (e) => await
|
|
4275
|
+
responseValidator: async (e) => await Rc.parseAsync(e),
|
|
4050
4276
|
url: "/api/v1/issuers/approval-follow-up-pauses",
|
|
4051
4277
|
...t
|
|
4052
|
-
}),
|
|
4278
|
+
}), ku = (t) => (t.client ?? p).post({
|
|
4053
4279
|
requestValidator: async (t) => await e.object({
|
|
4054
|
-
body:
|
|
4280
|
+
body: zc,
|
|
4055
4281
|
path: e.never().optional(),
|
|
4056
4282
|
query: e.never().optional()
|
|
4057
4283
|
}).parseAsync(t),
|
|
4058
|
-
responseValidator: async (e) => await
|
|
4284
|
+
responseValidator: async (e) => await Bc.parseAsync(e),
|
|
4059
4285
|
url: "/api/v1/issuers/approval-follow-up-pauses",
|
|
4060
4286
|
...t,
|
|
4061
4287
|
headers: {
|
|
4062
4288
|
"Content-Type": "application/json",
|
|
4063
4289
|
...t.headers
|
|
4064
4290
|
}
|
|
4065
|
-
}),
|
|
4291
|
+
}), Au = (t) => (t.client ?? p).delete({
|
|
4066
4292
|
requestValidator: async (t) => await e.object({
|
|
4067
4293
|
body: e.never().optional(),
|
|
4068
|
-
path:
|
|
4294
|
+
path: Vc,
|
|
4069
4295
|
query: e.never().optional()
|
|
4070
4296
|
}).parseAsync(t),
|
|
4071
|
-
responseValidator: async (e) => await
|
|
4297
|
+
responseValidator: async (e) => await Hc.parseAsync(e),
|
|
4072
4298
|
url: "/api/v1/issuers/approval-follow-up-pauses/{uuid}",
|
|
4073
4299
|
...t
|
|
4074
|
-
}),
|
|
4300
|
+
}), ju = (t) => (t.client ?? p).patch({
|
|
4075
4301
|
requestValidator: async (t) => await e.object({
|
|
4076
|
-
body:
|
|
4077
|
-
path:
|
|
4302
|
+
body: Uc,
|
|
4303
|
+
path: Wc,
|
|
4078
4304
|
query: e.never().optional()
|
|
4079
4305
|
}).parseAsync(t),
|
|
4080
|
-
responseValidator: async (e) => await
|
|
4306
|
+
responseValidator: async (e) => await Gc.parseAsync(e),
|
|
4081
4307
|
url: "/api/v1/issuers/approval-follow-up-pauses/{uuid}",
|
|
4082
4308
|
...t,
|
|
4083
4309
|
headers: {
|
|
4084
4310
|
"Content-Type": "application/json",
|
|
4085
4311
|
...t.headers
|
|
4086
4312
|
}
|
|
4087
|
-
}),
|
|
4313
|
+
}), Mu = (t) => (t?.client ?? p).get({
|
|
4088
4314
|
requestValidator: async (t) => await e.object({
|
|
4089
4315
|
body: e.never().optional(),
|
|
4090
4316
|
path: e.never().optional(),
|
|
4091
4317
|
query: e.never().optional()
|
|
4092
4318
|
}).parseAsync(t),
|
|
4093
|
-
responseValidator: async (e) => await
|
|
4319
|
+
responseValidator: async (e) => await Kc.parseAsync(e),
|
|
4094
4320
|
url: "/api/v1/issuers/peppol-connection",
|
|
4095
4321
|
...t
|
|
4096
|
-
}),
|
|
4322
|
+
}), Nu = (t) => (t.client ?? p).put({
|
|
4097
4323
|
requestValidator: async (t) => await e.object({
|
|
4098
|
-
body:
|
|
4324
|
+
body: qc,
|
|
4099
4325
|
path: e.never().optional(),
|
|
4100
4326
|
query: e.never().optional()
|
|
4101
4327
|
}).parseAsync(t),
|
|
@@ -4105,92 +4331,92 @@ var ao = Qn, oo = e.object({ uuid: e.uuid() }), so = e.void(), co = $n, lo = e.o
|
|
|
4105
4331
|
"Content-Type": "application/json",
|
|
4106
4332
|
...t.headers
|
|
4107
4333
|
}
|
|
4108
|
-
}),
|
|
4334
|
+
}), Pu = (t) => (t.client ?? p).post({
|
|
4109
4335
|
requestValidator: async (t) => await e.object({
|
|
4110
|
-
body:
|
|
4336
|
+
body: Jc,
|
|
4111
4337
|
path: e.never().optional(),
|
|
4112
4338
|
query: e.never().optional()
|
|
4113
4339
|
}).parseAsync(t),
|
|
4114
|
-
responseValidator: async (e) => await
|
|
4340
|
+
responseValidator: async (e) => await Yc.parseAsync(e),
|
|
4115
4341
|
url: "/api/v1/issuers/peppol-connection/test",
|
|
4116
4342
|
...t,
|
|
4117
4343
|
headers: {
|
|
4118
4344
|
"Content-Type": "application/json",
|
|
4119
4345
|
...t.headers
|
|
4120
4346
|
}
|
|
4121
|
-
}),
|
|
4347
|
+
}), Fu = (t) => (t.client ?? p).post({
|
|
4122
4348
|
requestValidator: async (t) => await e.object({
|
|
4123
|
-
body:
|
|
4124
|
-
path:
|
|
4349
|
+
body: Xc,
|
|
4350
|
+
path: Zc,
|
|
4125
4351
|
query: e.never().optional()
|
|
4126
4352
|
}).parseAsync(t),
|
|
4127
|
-
responseValidator: async (e) => await
|
|
4353
|
+
responseValidator: async (e) => await Qc.parseAsync(e),
|
|
4128
4354
|
url: "/api/v1/invoices/{uuid}/send",
|
|
4129
4355
|
...t,
|
|
4130
4356
|
headers: {
|
|
4131
4357
|
"Content-Type": "application/json",
|
|
4132
4358
|
...t.headers
|
|
4133
4359
|
}
|
|
4134
|
-
}),
|
|
4360
|
+
}), Iu = (t) => (t.client ?? p).post({
|
|
4135
4361
|
requestValidator: async (t) => await e.object({
|
|
4136
|
-
body:
|
|
4362
|
+
body: $c,
|
|
4137
4363
|
path: e.never().optional(),
|
|
4138
|
-
query:
|
|
4364
|
+
query: el.optional()
|
|
4139
4365
|
}).parseAsync(t),
|
|
4140
|
-
responseValidator: async (e) => await
|
|
4366
|
+
responseValidator: async (e) => await tl.parseAsync(e),
|
|
4141
4367
|
url: "/api/v1/invoices/send",
|
|
4142
4368
|
...t,
|
|
4143
4369
|
headers: {
|
|
4144
4370
|
"Content-Type": "application/json",
|
|
4145
4371
|
...t.headers
|
|
4146
4372
|
}
|
|
4147
|
-
}),
|
|
4373
|
+
}), Lu = (t) => (t.client ?? p).post({
|
|
4148
4374
|
requestValidator: async (t) => await e.object({
|
|
4149
|
-
body:
|
|
4375
|
+
body: nl,
|
|
4150
4376
|
path: e.never().optional(),
|
|
4151
|
-
query:
|
|
4377
|
+
query: rl.optional()
|
|
4152
4378
|
}).parseAsync(t),
|
|
4153
|
-
responseValidator: async (e) => await
|
|
4379
|
+
responseValidator: async (e) => await il.parseAsync(e),
|
|
4154
4380
|
url: "/api/v1/invoices/send/preview",
|
|
4155
4381
|
...t,
|
|
4156
4382
|
headers: {
|
|
4157
4383
|
"Content-Type": "application/json",
|
|
4158
4384
|
...t.headers
|
|
4159
4385
|
}
|
|
4160
|
-
}),
|
|
4386
|
+
}), Ru = (t) => (t.client ?? p).get({
|
|
4161
4387
|
requestValidator: async (t) => await e.object({
|
|
4162
4388
|
body: e.never().optional(),
|
|
4163
|
-
path:
|
|
4389
|
+
path: al,
|
|
4164
4390
|
query: e.never().optional()
|
|
4165
4391
|
}).parseAsync(t),
|
|
4166
|
-
responseValidator: async (e) => await
|
|
4392
|
+
responseValidator: async (e) => await ol.parseAsync(e),
|
|
4167
4393
|
url: "/api/v1/invoices/{uuid}/deliveries",
|
|
4168
4394
|
...t
|
|
4169
|
-
}),
|
|
4395
|
+
}), zu = (t) => (t.client ?? p).post({
|
|
4170
4396
|
requestValidator: async (t) => await e.object({
|
|
4171
4397
|
body: e.never().optional(),
|
|
4172
|
-
path:
|
|
4398
|
+
path: sl,
|
|
4173
4399
|
query: e.never().optional()
|
|
4174
4400
|
}).parseAsync(t),
|
|
4175
|
-
responseValidator: async (e) => await
|
|
4401
|
+
responseValidator: async (e) => await cl.parseAsync(e),
|
|
4176
4402
|
url: "/api/v1/invoices/{uuid}/reminders",
|
|
4177
4403
|
...t
|
|
4178
4404
|
});
|
|
4179
4405
|
//#endregion
|
|
4180
4406
|
//#region src/utils/api.util.ts
|
|
4181
|
-
function
|
|
4407
|
+
function Bu(e) {
|
|
4182
4408
|
return typeof e == "object" && !!e && Array.isArray(e.errors);
|
|
4183
4409
|
}
|
|
4184
|
-
function
|
|
4185
|
-
return
|
|
4410
|
+
function Vu(e) {
|
|
4411
|
+
return Bu(e) || e instanceof Error ? e : Error(String(e));
|
|
4186
4412
|
}
|
|
4187
|
-
var
|
|
4413
|
+
var Hu = class {
|
|
4188
4414
|
static async fromPromise(e) {
|
|
4189
|
-
return await t.fromPromise(e,
|
|
4415
|
+
return await t.fromPromise(e, Vu);
|
|
4190
4416
|
}
|
|
4191
4417
|
static void(e) {
|
|
4192
4418
|
return e.isErr() ? n(e.error) : r();
|
|
4193
4419
|
}
|
|
4194
4420
|
};
|
|
4195
4421
|
//#endregion
|
|
4196
|
-
export {
|
|
4422
|
+
export { Su as $, Ml as A, Zl as At, ru as B, fl as C, yl as Ct, Ll as D, ou as Dt, Dl as E, Mu as Et, gu as F, Il as G, zu as H, Lu as I, ju as J, Pu as K, yu as L, Hl as M, Vl as Mt, zl as N, p as Nt, Fl as O, vl as Ot, au as P, Al as Q, xu as R, cu as S, Sl as St, jl as T, gl as Tt, Fu as U, nu as V, hu as W, Eu as X, Du as Y, kl as Z, bl as _, fu as _t, Ul as a, Ql as at, xl as b, Cu as bt, Iu as c, ql as ct, dl as d, $l as dt, El as et, su as f, ml as ft, ul as g, tu as gt, Ol as h, eu as ht, Gl as i, Nu as it, Wl as j, ll as jt, Rl as k, wu as kt, _u as l, Ou as lt, ku as m, hl as mt, Tl as n, Cl as nt, Bl as o, uu as ot, Pl as p, pl as pt, lu as q, vu as r, _l as rt, iu as s, du as st, Hu as t, wl as tt, bu as u, Tu as ut, Yl as v, pu as vt, Nl as w, Jl as wt, Xl as x, Ru as xt, Au as y, mu as yt, Kl as z };
|