@wisemen/wise-invoicing-web 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ApprovalReminderSettingsViewDataProvider-zMiQCYJI.js → ApprovalReminderSettingsViewDataProvider-BEaLDJCs.js} +3 -3
- package/dist/{BillingDocumentDetailViewDataProvider-CvIY5PkX.js → BillingDocumentDetailViewDataProvider-DfhklAk7.js} +8 -8
- package/dist/{BillingDocumentPdf-unchUddW.js → BillingDocumentPdf-BB2SMDCB.js} +3 -3
- package/dist/{CreditNoteDetailViewDataProvider-sYgZYTGA.js → CreditNoteDetailViewDataProvider-BGzQpcnR.js} +6 -6
- package/dist/{CreditNotePdfViewDataProvider-CEog3yg4.js → CreditNotePdfViewDataProvider-XOM7NYnq.js} +3 -3
- package/dist/{CustomFieldValueText-BLqu_dSP.js → CustomFieldValueText-TbpAeFXi.js} +2 -2
- package/dist/{DunningCaseDetailViewDataProvider-RwcDBSoU.js → DunningCaseDetailViewDataProvider-BGrHh894.js} +4 -4
- package/dist/{DunningCaseOverviewView-DCoHPpsV.js → DunningCaseOverviewView-BuN1k24H.js} +3 -3
- package/dist/{DunningCaseReminderPdfViewDataProvider-D1avIVyK.js → DunningCaseReminderPdfViewDataProvider-D-CfDeC8.js} +1 -1
- package/dist/{DunningCaseSendDialog-ybWpcDSu.js → DunningCaseSendDialog-DDlAJl-8.js} +3 -3
- package/dist/{InvoiceApprovalOutOfSyncIndicator-Br7dIeVh.js → InvoiceApprovalOutOfSyncIndicator-DjdyQOVZ.js} +1 -1
- package/dist/{InvoiceApprovalOverviewView-CIRgP9Te.js → InvoiceApprovalOverviewView-C3aLyrXp.js} +6 -6
- package/dist/{InvoiceApprovalStatusBadge-D6Sr6JmN.js → InvoiceApprovalStatusBadge-C2Wj9b_Z.js} +2 -2
- package/dist/{InvoiceApproveDialogDataProvider-Cf1Ar7tH.js → InvoiceApproveDialogDataProvider-0onYBqpZ.js} +6 -6
- package/dist/{InvoiceDetailViewDataProvider-CStQkka5.js → InvoiceDetailViewDataProvider-CKfx3epN.js} +14 -14
- package/dist/{InvoiceOverviewViewDataProvider-C5OBVOfy.js → InvoiceOverviewViewDataProvider-BZiIvHeu.js} +9 -9
- package/dist/{InvoicePdfView-BR3kWz1Z.js → InvoicePdfView-DCpZ068V.js} +1 -1
- package/dist/{InvoicePdfViewDataProvider--PHFxD5U.js → InvoicePdfViewDataProvider-BvhShZGZ.js} +3 -3
- package/dist/{InvoicePublicPdfViewDataProvider-CP3zlMFC.js → InvoicePublicPdfViewDataProvider-kNEg6nrZ.js} +3 -3
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-BJJw0mZv.js → InvoicePublicProFormaPdfViewDataProvider-DwuqQWQ-.js} +3 -3
- package/dist/{InvoicingFileUploadProvider-Dl1LvCPm.js → InvoicingFileUploadProvider-BsK5eRGE.js} +1 -1
- package/dist/{IssuerSettingsViewDataProvider-CXyyCvoZ.js → IssuerSettingsViewDataProvider-Ca7GPCDE.js} +2 -2
- package/dist/{PeppolSettingsViewDataProvider-Cptga29B.js → PeppolSettingsViewDataProvider-ZdJQGqux.js} +1 -1
- package/dist/{ReminderSettingsViewDataProvider-DYUclTJG.js → ReminderSettingsViewDataProvider-onbGyWXX.js} +3 -3
- package/dist/{api.util-CR2xLnNj.js → api.util-B3JqQVJA.js} +918 -880
- package/dist/{billingDocumentDetail.transformer-D1f6Nv-U.js → billingDocumentDetail.transformer-SThiU53H.js} +1 -1
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +32 -1
- package/dist/client/types.gen.d.ts +94 -9
- package/dist/client/zod.gen.d.ts +317 -9
- package/dist/{creditNoteDetail.query-DGeG9_sO.js → creditNoteDetail.query-CJFCcuup.js} +2 -2
- package/dist/{i18n.lib-CN9MRGQ0.js → i18n.lib-Dn7eBA9l.js} +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +145 -132
- package/dist/{invoice.service-Yw5_HhZ9.js → invoice.service-CqfnsDYm.js} +2 -2
- package/dist/{invoiceApproval.service-DJvXagC7.js → invoiceApproval.service-DR9g1Dek.js} +2 -2
- package/dist/{invoiceApprovalStatus.util-B98WeAf0.js → invoiceApprovalStatus.util-Nd4E3qlZ.js} +1 -1
- package/dist/{invoiceCustomer.service-BWBjCw9i.js → invoiceCustomer.service-D55paEPq.js} +2 -2
- package/dist/{invoiceDetail.query-BTd7SVPv.js → invoiceDetail.query-CbfNqxKy.js} +1 -1
- package/dist/{invoiceIndexCache.util-DKExdA6g.js → invoiceIndexCache.util-Drx5EcfM.js} +2 -2
- package/dist/{invoicingConfig.composable-SNsMETxy.js → invoicingConfig.composable-BdQY3E3Q.js} +2 -2
- package/dist/{issuerSettings.query-CoiXblSm.js → issuerSettings.query-BOgWdNmP.js} +1 -1
- package/dist/libs/i18n.lib.d.ts +2 -0
- package/dist/locales/en-US.json.d.ts +1 -0
- package/dist/locales/nl-BE.json.d.ts +1 -0
- package/dist/{reminderConfig.query-aRFzY6uZ.js → reminderConfig.query-BIfCEIYX.js} +1 -1
- package/package.json +1 -1
|
@@ -663,11 +663,11 @@ var Ne = e.object({ blurHash: e.string().max(100).nullable() }), Pe = e.enum([
|
|
|
663
663
|
"light",
|
|
664
664
|
"dark",
|
|
665
665
|
"system"
|
|
666
|
-
]),
|
|
666
|
+
]), Fe = e.enum([
|
|
667
667
|
"en-US",
|
|
668
668
|
"nl-BE",
|
|
669
669
|
"fr-BE"
|
|
670
|
-
]),
|
|
670
|
+
]), Ie = e.enum([
|
|
671
671
|
"smaller",
|
|
672
672
|
"small",
|
|
673
673
|
"default",
|
|
@@ -676,15 +676,15 @@ var Ne = e.object({ blurHash: e.string().max(100).nullable() }), Pe = e.enum([
|
|
|
676
676
|
]);
|
|
677
677
|
e.object({
|
|
678
678
|
theme: Pe.optional(),
|
|
679
|
-
language:
|
|
680
|
-
fontSize:
|
|
679
|
+
language: Fe.optional(),
|
|
680
|
+
fontSize: Ie.optional(),
|
|
681
681
|
showShortcuts: e.boolean().optional(),
|
|
682
682
|
reduceMotion: e.boolean().optional(),
|
|
683
683
|
highContrast: e.boolean().optional()
|
|
684
684
|
}), e.object({
|
|
685
685
|
theme: Pe,
|
|
686
|
-
language:
|
|
687
|
-
fontSize:
|
|
686
|
+
language: Fe,
|
|
687
|
+
fontSize: Ie,
|
|
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 Le = 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: Le,
|
|
702
|
+
description: Le,
|
|
703
703
|
userUuids: e.array(e.uuid())
|
|
704
704
|
});
|
|
705
|
-
var
|
|
705
|
+
var Re = e.enum([
|
|
706
706
|
"api-key",
|
|
707
707
|
"approval-reminder",
|
|
708
708
|
"contact",
|
|
@@ -717,58 +717,58 @@ var Le = e.enum([
|
|
|
717
717
|
"invoice-approval",
|
|
718
718
|
"pro-forma",
|
|
719
719
|
"dunning-case"
|
|
720
|
-
]),
|
|
721
|
-
subjectType:
|
|
720
|
+
]), ze = e.object({
|
|
721
|
+
subjectType: Re.optional(),
|
|
722
722
|
subjectId: e.uuid().optional(),
|
|
723
723
|
userUuid: e.uuid().optional()
|
|
724
|
-
}),
|
|
724
|
+
}), Be = e.object({
|
|
725
725
|
createdAt: e.string(),
|
|
726
726
|
uuid: e.uuid()
|
|
727
|
-
}),
|
|
727
|
+
}), Ve = e.object({
|
|
728
728
|
limit: e.number().gte(0).lte(100).optional(),
|
|
729
|
-
key:
|
|
730
|
-
}),
|
|
729
|
+
key: Be.nullish()
|
|
730
|
+
}), He = e.enum(/* @__PURE__ */ "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,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.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,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,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(",")), Ue = e.object({
|
|
731
731
|
uuid: e.uuid(),
|
|
732
732
|
createdAt: e.iso.datetime(),
|
|
733
733
|
version: e.int().gte(0),
|
|
734
734
|
source: e.string(),
|
|
735
735
|
userUuid: e.uuid().nullable(),
|
|
736
736
|
message: e.string(),
|
|
737
|
-
type:
|
|
738
|
-
subjectType:
|
|
737
|
+
type: He,
|
|
738
|
+
subjectType: Re.nullable(),
|
|
739
739
|
subjectId: e.uuid().nullable(),
|
|
740
740
|
content: e.record(e.string(), e.unknown())
|
|
741
|
-
}),
|
|
741
|
+
}), We = e.object({ next: Be.nullable() });
|
|
742
742
|
e.object({
|
|
743
|
-
items: e.array(
|
|
744
|
-
meta:
|
|
743
|
+
items: e.array(Ue),
|
|
744
|
+
meta: We
|
|
745
745
|
});
|
|
746
|
-
var
|
|
746
|
+
var Ge = e.enum([
|
|
747
747
|
"user",
|
|
748
748
|
"customer",
|
|
749
749
|
"recipient"
|
|
750
|
-
]),
|
|
751
|
-
collections: e.array(
|
|
752
|
-
contact:
|
|
753
|
-
recipient:
|
|
754
|
-
}),
|
|
750
|
+
]), Ke = e.object({ isActive: e.boolean().optional() }), qe = e.object({ customerUuid: e.uuid().optional() }), Je = e.object({
|
|
751
|
+
collections: e.array(Ge).optional(),
|
|
752
|
+
contact: Ke.optional(),
|
|
753
|
+
recipient: qe.optional()
|
|
754
|
+
}), Ye = e.object({ offset: e.int() }), Xe = e.object({ key: Ye.optional() }), Ze = e.object({
|
|
755
755
|
uuid: e.uuid(),
|
|
756
756
|
name: e.string(),
|
|
757
757
|
email: e.record(e.string(), e.unknown()).nullable()
|
|
758
|
-
}),
|
|
758
|
+
}), _ = e.enum(["business", "individual"]), Qe = e.object({
|
|
759
759
|
uuid: e.uuid(),
|
|
760
760
|
name: e.string(),
|
|
761
|
-
type:
|
|
762
|
-
}),
|
|
761
|
+
type: _
|
|
762
|
+
}), $e = e.object({
|
|
763
763
|
uuid: e.uuid(),
|
|
764
764
|
name: e.string().nullable(),
|
|
765
765
|
email: e.string(),
|
|
766
766
|
customerUuid: e.uuid(),
|
|
767
767
|
isDefault: e.boolean()
|
|
768
|
-
}),
|
|
768
|
+
}), et = e.object({
|
|
769
769
|
uuid: e.uuid(),
|
|
770
770
|
name: e.string()
|
|
771
|
-
}),
|
|
771
|
+
}), v = e.enum([
|
|
772
772
|
"draft",
|
|
773
773
|
"ready",
|
|
774
774
|
"finalized",
|
|
@@ -778,95 +778,95 @@ var We = e.enum([
|
|
|
778
778
|
"credited",
|
|
779
779
|
"paid",
|
|
780
780
|
"overpaid"
|
|
781
|
-
]),
|
|
781
|
+
]), y = 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(".")), b = e.object({
|
|
782
782
|
amount: e.int(),
|
|
783
|
-
currency:
|
|
783
|
+
currency: y,
|
|
784
784
|
precision: e.int()
|
|
785
|
-
}),
|
|
785
|
+
}), tt = e.object({
|
|
786
786
|
uuid: e.uuid(),
|
|
787
787
|
createdAt: e.iso.datetime(),
|
|
788
788
|
issuedOn: e.iso.date().nullable(),
|
|
789
789
|
dueOn: e.iso.date().nullable(),
|
|
790
790
|
subject: e.string().nullable(),
|
|
791
|
-
customer:
|
|
792
|
-
status:
|
|
793
|
-
netAmount:
|
|
794
|
-
}),
|
|
795
|
-
collection:
|
|
791
|
+
customer: et,
|
|
792
|
+
status: v,
|
|
793
|
+
netAmount: b
|
|
794
|
+
}), nt = e.object({
|
|
795
|
+
collection: Ge,
|
|
796
796
|
entity: e.union([
|
|
797
|
-
Xe,
|
|
798
797
|
Ze,
|
|
799
798
|
Qe,
|
|
800
|
-
|
|
799
|
+
$e,
|
|
800
|
+
tt
|
|
801
801
|
]),
|
|
802
802
|
text_match: e.number()
|
|
803
|
-
}),
|
|
803
|
+
}), rt = e.object({ next: Ye.nullable() });
|
|
804
804
|
e.object({
|
|
805
|
-
items: e.array(
|
|
806
|
-
meta:
|
|
805
|
+
items: e.array(nt),
|
|
806
|
+
meta: rt
|
|
807
807
|
});
|
|
808
|
-
var
|
|
808
|
+
var it = e.enum([
|
|
809
809
|
"all",
|
|
810
810
|
"default",
|
|
811
811
|
"custom",
|
|
812
812
|
"none"
|
|
813
|
-
]),
|
|
814
|
-
email: e.array(
|
|
815
|
-
sms: e.array(
|
|
816
|
-
app: e.array(
|
|
817
|
-
push: e.array(
|
|
813
|
+
]), x = e.enum(["user.created", "system.test-notification"]), at = e.object({
|
|
814
|
+
email: e.array(x),
|
|
815
|
+
sms: e.array(x),
|
|
816
|
+
app: e.array(x),
|
|
817
|
+
push: e.array(x)
|
|
818
818
|
});
|
|
819
819
|
e.object({
|
|
820
|
-
preset:
|
|
820
|
+
preset: it,
|
|
821
821
|
emailEnabled: e.boolean(),
|
|
822
822
|
smsEnabled: e.boolean(),
|
|
823
823
|
appEnabled: e.boolean(),
|
|
824
824
|
pushEnabled: e.boolean(),
|
|
825
|
-
preferences:
|
|
825
|
+
preferences: at
|
|
826
826
|
});
|
|
827
|
-
var
|
|
827
|
+
var ot = e.enum([
|
|
828
828
|
"email",
|
|
829
829
|
"sms",
|
|
830
830
|
"app",
|
|
831
831
|
"push"
|
|
832
|
-
]),
|
|
833
|
-
channel:
|
|
832
|
+
]), st = e.object({
|
|
833
|
+
channel: ot,
|
|
834
834
|
defaultValue: e.boolean(),
|
|
835
835
|
isSupported: e.boolean()
|
|
836
|
-
}), st = e.object({
|
|
837
|
-
key: S,
|
|
838
|
-
description: e.string(),
|
|
839
|
-
channelConfigs: e.array(ot)
|
|
840
836
|
}), ct = e.object({
|
|
837
|
+
key: x,
|
|
838
|
+
description: e.string(),
|
|
839
|
+
channelConfigs: e.array(st)
|
|
840
|
+
}), lt = e.object({
|
|
841
841
|
name: e.string(),
|
|
842
842
|
description: e.string(),
|
|
843
|
-
types: e.array(
|
|
843
|
+
types: e.array(ct)
|
|
844
844
|
});
|
|
845
|
-
e.object({ groups: e.array(
|
|
846
|
-
channel:
|
|
845
|
+
e.object({ groups: e.array(lt) }), e.object({
|
|
846
|
+
channel: ot,
|
|
847
847
|
isEnabled: e.boolean()
|
|
848
848
|
}), e.object({ message: e.string() });
|
|
849
|
-
var
|
|
849
|
+
var ut = e.object({ onlyUnread: e.string().optional() }), dt = e.object({
|
|
850
850
|
createdAt: e.string(),
|
|
851
851
|
notificationUuid: e.uuid()
|
|
852
|
-
}), dt = e.object({
|
|
853
|
-
limit: e.number().gte(0).lte(100).optional(),
|
|
854
|
-
key: ut.nullish()
|
|
855
852
|
}), ft = e.object({
|
|
853
|
+
limit: e.number().gte(0).lte(100).optional(),
|
|
854
|
+
key: dt.nullish()
|
|
855
|
+
}), pt = e.object({
|
|
856
856
|
uuid: e.uuid(),
|
|
857
857
|
name: e.string()
|
|
858
|
-
}),
|
|
858
|
+
}), mt = e.object({ message: e.string() }), ht = e.object({
|
|
859
859
|
createdAt: e.iso.datetime(),
|
|
860
860
|
readAt: e.iso.datetime().nullable(),
|
|
861
861
|
notificationUuid: e.uuid(),
|
|
862
|
-
createdByUser:
|
|
862
|
+
createdByUser: pt.nullable(),
|
|
863
863
|
message: e.string(),
|
|
864
864
|
type: e.enum(["system.test-notification"]),
|
|
865
|
-
meta:
|
|
866
|
-
}),
|
|
865
|
+
meta: mt
|
|
866
|
+
}), gt = e.object({ next: dt.nullable() });
|
|
867
867
|
e.object({
|
|
868
|
-
items: e.array(
|
|
869
|
-
meta:
|
|
868
|
+
items: e.array(ht),
|
|
869
|
+
meta: gt
|
|
870
870
|
}), e.object({
|
|
871
871
|
amount: e.number().gte(0),
|
|
872
872
|
exceedsLimit: e.boolean()
|
|
@@ -875,55 +875,55 @@ e.object({
|
|
|
875
875
|
status: e.enum(["404"]),
|
|
876
876
|
code: e.enum(["user_notification_not_found"])
|
|
877
877
|
}), e.object({
|
|
878
|
-
channel:
|
|
878
|
+
channel: ot,
|
|
879
879
|
isEnabled: e.boolean(),
|
|
880
|
-
types: e.array(
|
|
881
|
-
}), e.object({ preset:
|
|
882
|
-
var
|
|
880
|
+
types: e.array(x)
|
|
881
|
+
}), e.object({ preset: it });
|
|
882
|
+
var _t = e.object({ type: e.array(x) });
|
|
883
883
|
e.object({
|
|
884
884
|
detail: e.string().optional(),
|
|
885
885
|
status: e.enum(["400"]),
|
|
886
886
|
code: e.enum(["migration_already_performed"]),
|
|
887
|
-
meta:
|
|
888
|
-
}), e.object({ types: e.array(
|
|
889
|
-
var
|
|
890
|
-
key:
|
|
891
|
-
order:
|
|
892
|
-
}),
|
|
887
|
+
meta: _t
|
|
888
|
+
}), e.object({ types: e.array(x) });
|
|
889
|
+
var vt = e.enum(["createdAt"]), yt = e.enum(["asc", "desc"]), bt = e.object({
|
|
890
|
+
key: vt,
|
|
891
|
+
order: yt
|
|
892
|
+
}), xt = e.enum(["system"]), St = e.object({ queueNames: e.array(xt).optional() }), Ct = e.object({
|
|
893
893
|
createdAt: e.iso.datetime().optional(),
|
|
894
894
|
id: e.string()
|
|
895
|
-
}),
|
|
895
|
+
}), wt = e.object({
|
|
896
896
|
limit: e.number().gte(0).lte(100).optional(),
|
|
897
|
-
key:
|
|
898
|
-
}),
|
|
897
|
+
key: Ct.nullish()
|
|
898
|
+
}), Tt = e.enum([
|
|
899
899
|
"created",
|
|
900
900
|
"active",
|
|
901
901
|
"completed",
|
|
902
902
|
"retry",
|
|
903
903
|
"failed",
|
|
904
904
|
"cancelled"
|
|
905
|
-
]),
|
|
906
|
-
queueName:
|
|
905
|
+
]), Et = e.object({
|
|
906
|
+
queueName: xt,
|
|
907
907
|
id: e.uuid(),
|
|
908
908
|
name: e.string(),
|
|
909
|
-
status:
|
|
909
|
+
status: Tt,
|
|
910
910
|
createdAt: e.iso.datetime(),
|
|
911
911
|
completedAt: e.iso.datetime().nullable()
|
|
912
|
-
}),
|
|
912
|
+
}), Dt = e.object({ next: Ct.nullable() });
|
|
913
913
|
e.object({
|
|
914
|
-
items: e.array(
|
|
915
|
-
meta:
|
|
914
|
+
items: e.array(Et),
|
|
915
|
+
meta: Dt
|
|
916
916
|
}), e.object({
|
|
917
917
|
detail: e.string().optional(),
|
|
918
918
|
status: e.enum(["404"]),
|
|
919
919
|
code: e.enum(["job_not_found"])
|
|
920
920
|
}), e.object({
|
|
921
921
|
id: e.uuid(),
|
|
922
|
-
queueName:
|
|
922
|
+
queueName: xt,
|
|
923
923
|
priority: e.number(),
|
|
924
924
|
name: e.string(),
|
|
925
925
|
data: e.record(e.string(), e.unknown()),
|
|
926
|
-
status:
|
|
926
|
+
status: Tt,
|
|
927
927
|
retryLimit: e.number(),
|
|
928
928
|
retryCount: e.number(),
|
|
929
929
|
retryDelay: e.number(),
|
|
@@ -965,7 +965,7 @@ e.object({
|
|
|
965
965
|
slug: e.string(),
|
|
966
966
|
domain: e.string().nullable()
|
|
967
967
|
});
|
|
968
|
-
var
|
|
968
|
+
var Ot = e.object({
|
|
969
969
|
uuid: e.uuid(),
|
|
970
970
|
createdAt: e.iso.datetime(),
|
|
971
971
|
updatedAt: e.iso.datetime(),
|
|
@@ -974,7 +974,7 @@ var Dt = e.object({
|
|
|
974
974
|
domain: e.string().nullable()
|
|
975
975
|
});
|
|
976
976
|
e.object({
|
|
977
|
-
items: e.array(
|
|
977
|
+
items: e.array(Ot),
|
|
978
978
|
meta: g
|
|
979
979
|
}), e.object({
|
|
980
980
|
detail: e.string().optional(),
|
|
@@ -993,10 +993,10 @@ e.object({
|
|
|
993
993
|
status: e.enum(["409"]),
|
|
994
994
|
code: e.enum(["vat_number_already_in_use"])
|
|
995
995
|
});
|
|
996
|
-
var
|
|
996
|
+
var kt = e.object({
|
|
997
997
|
longitude: e.number(),
|
|
998
998
|
latitude: e.number()
|
|
999
|
-
}),
|
|
999
|
+
}), At = e.object({
|
|
1000
1000
|
placeName: e.string().nullable(),
|
|
1001
1001
|
placeId: e.string().nullable(),
|
|
1002
1002
|
country: e.string().nullable(),
|
|
@@ -1006,16 +1006,16 @@ var Ot = e.object({
|
|
|
1006
1006
|
streetName: e.string().nullable(),
|
|
1007
1007
|
streetNumber: e.string().nullable(),
|
|
1008
1008
|
unit: e.string().nullable(),
|
|
1009
|
-
coordinates:
|
|
1009
|
+
coordinates: kt.nullable()
|
|
1010
1010
|
});
|
|
1011
1011
|
e.object({
|
|
1012
1012
|
name: e.string(),
|
|
1013
|
-
address:
|
|
1013
|
+
address: At.nullable(),
|
|
1014
1014
|
email: e.string(),
|
|
1015
1015
|
phone: e.string().nullable(),
|
|
1016
1016
|
vatNumber: e.string().nullable(),
|
|
1017
|
-
type:
|
|
1018
|
-
locale:
|
|
1017
|
+
type: _,
|
|
1018
|
+
locale: Fe,
|
|
1019
1019
|
requiresPriorApproval: e.boolean().optional().default(!1),
|
|
1020
1020
|
approvalEmail: e.email().max(255).nullable()
|
|
1021
1021
|
}), e.object({ uuid: e.uuid() }), e.object({
|
|
@@ -1023,10 +1023,10 @@ e.object({
|
|
|
1023
1023
|
status: e.enum(["404"]),
|
|
1024
1024
|
code: e.enum(["customer_not_found"])
|
|
1025
1025
|
});
|
|
1026
|
-
var
|
|
1026
|
+
var jt = e.object({
|
|
1027
1027
|
longitude: e.number(),
|
|
1028
1028
|
latitude: e.number()
|
|
1029
|
-
}),
|
|
1029
|
+
}), S = e.object({
|
|
1030
1030
|
placeName: e.string().nullable(),
|
|
1031
1031
|
placeId: e.string().nullable(),
|
|
1032
1032
|
country: e.string().nullable(),
|
|
@@ -1036,8 +1036,8 @@ var At = e.object({
|
|
|
1036
1036
|
streetName: e.string().nullable(),
|
|
1037
1037
|
streetNumber: e.string().nullable(),
|
|
1038
1038
|
unit: e.string().nullable(),
|
|
1039
|
-
coordinates:
|
|
1040
|
-
}),
|
|
1039
|
+
coordinates: jt.nullable()
|
|
1040
|
+
}), Mt = e.enum(["internal", "external"]), Nt = e.enum([
|
|
1041
1041
|
"s",
|
|
1042
1042
|
"ms",
|
|
1043
1043
|
"μs",
|
|
@@ -1045,43 +1045,54 @@ var At = e.object({
|
|
|
1045
1045
|
"m",
|
|
1046
1046
|
"h",
|
|
1047
1047
|
"days"
|
|
1048
|
-
]),
|
|
1048
|
+
]), Pt = e.object({
|
|
1049
1049
|
value: e.number(),
|
|
1050
|
-
unit:
|
|
1051
|
-
}),
|
|
1050
|
+
unit: Nt
|
|
1051
|
+
}), C = e.object({
|
|
1052
|
+
name: e.string().nullable(),
|
|
1053
|
+
email: e.email(),
|
|
1054
|
+
ccEmails: e.array(e.email()),
|
|
1055
|
+
bccEmails: e.array(e.email())
|
|
1056
|
+
}), Ft = e.object({
|
|
1057
|
+
invoice: C.nullable(),
|
|
1058
|
+
creditNote: C.nullable(),
|
|
1059
|
+
approval: C.nullable(),
|
|
1060
|
+
dunning: C.nullable()
|
|
1061
|
+
}), It = e.object({
|
|
1052
1062
|
uuid: e.uuid(),
|
|
1053
1063
|
createdAt: e.iso.datetime(),
|
|
1054
1064
|
updatedAt: e.iso.datetime(),
|
|
1055
1065
|
name: e.string(),
|
|
1056
|
-
address:
|
|
1066
|
+
address: S.nullable(),
|
|
1057
1067
|
email: e.email().nullable(),
|
|
1058
1068
|
phone: e.string().nullable(),
|
|
1059
1069
|
vatNumber: e.string().nullable(),
|
|
1060
|
-
source:
|
|
1061
|
-
type:
|
|
1062
|
-
locale:
|
|
1063
|
-
currency:
|
|
1070
|
+
source: Mt,
|
|
1071
|
+
type: _,
|
|
1072
|
+
locale: Fe,
|
|
1073
|
+
currency: y,
|
|
1064
1074
|
isDeactivated: e.boolean(),
|
|
1065
|
-
defaultPaymentTerm:
|
|
1075
|
+
defaultPaymentTerm: Pt,
|
|
1066
1076
|
requiresPriorApproval: e.boolean(),
|
|
1067
|
-
approvalEmail: e.email().nullable()
|
|
1068
|
-
|
|
1077
|
+
approvalEmail: e.email().nullable(),
|
|
1078
|
+
contacts: Ft
|
|
1079
|
+
}), Lt = e.object({
|
|
1069
1080
|
isDeactivated: e.boolean().optional(),
|
|
1070
1081
|
vatNumber: e.string().optional(),
|
|
1071
1082
|
externalId: e.string().optional(),
|
|
1072
|
-
type:
|
|
1073
|
-
}),
|
|
1083
|
+
type: _.optional()
|
|
1084
|
+
}), Rt = e.object({
|
|
1074
1085
|
uuid: e.string(),
|
|
1075
1086
|
name: e.string(),
|
|
1076
1087
|
email: e.string().nullable(),
|
|
1077
1088
|
phone: e.string().nullable(),
|
|
1078
1089
|
vatNumber: e.string().nullable(),
|
|
1079
|
-
address:
|
|
1080
|
-
source:
|
|
1081
|
-
type:
|
|
1090
|
+
address: S,
|
|
1091
|
+
source: Mt,
|
|
1092
|
+
type: _,
|
|
1082
1093
|
isDeactivated: e.boolean()
|
|
1083
|
-
}),
|
|
1084
|
-
items: e.array(
|
|
1094
|
+
}), zt = e.object({
|
|
1095
|
+
items: e.array(Rt),
|
|
1085
1096
|
meta: g
|
|
1086
1097
|
});
|
|
1087
1098
|
e.object({
|
|
@@ -1096,22 +1107,34 @@ e.object({
|
|
|
1096
1107
|
detail: e.string().optional(),
|
|
1097
1108
|
status: e.enum(["409"]),
|
|
1098
1109
|
code: e.enum(["vat_number_required"])
|
|
1099
|
-
}), e.object({
|
|
1100
|
-
detail: e.string().optional(),
|
|
1101
|
-
status: e.enum(["409"]),
|
|
1102
|
-
code: e.enum(["approval_email_required"])
|
|
1103
1110
|
}), e.object({
|
|
1104
1111
|
name: e.string(),
|
|
1105
|
-
address:
|
|
1112
|
+
address: At.nullable(),
|
|
1106
1113
|
email: e.string(),
|
|
1107
1114
|
phone: e.string().nullable(),
|
|
1108
1115
|
vatNumber: e.string().nullable(),
|
|
1109
|
-
type:
|
|
1110
|
-
locale:
|
|
1111
|
-
currency:
|
|
1112
|
-
defaultPaymentTerm:
|
|
1116
|
+
type: _,
|
|
1117
|
+
locale: Fe,
|
|
1118
|
+
currency: y,
|
|
1119
|
+
defaultPaymentTerm: Pt.optional(),
|
|
1113
1120
|
requiresPriorApproval: e.boolean().optional(),
|
|
1114
1121
|
approvalEmail: e.email().max(255).nullable()
|
|
1122
|
+
}), e.object({
|
|
1123
|
+
detail: e.string().optional(),
|
|
1124
|
+
status: e.enum(["409"]),
|
|
1125
|
+
code: e.enum(["external_customer_contacts_read_only"])
|
|
1126
|
+
});
|
|
1127
|
+
var w = e.object({
|
|
1128
|
+
name: e.string().nullable(),
|
|
1129
|
+
email: e.email().max(255),
|
|
1130
|
+
ccEmails: e.array(e.email()).max(10),
|
|
1131
|
+
bccEmails: e.array(e.email()).max(10)
|
|
1132
|
+
});
|
|
1133
|
+
e.object({
|
|
1134
|
+
invoice: w.nullish(),
|
|
1135
|
+
creditNote: w.nullish(),
|
|
1136
|
+
approval: w.nullish(),
|
|
1137
|
+
dunning: w.nullish()
|
|
1115
1138
|
}), e.object({
|
|
1116
1139
|
customerUuid: e.uuid(),
|
|
1117
1140
|
email: e.string(),
|
|
@@ -1122,7 +1145,7 @@ e.object({
|
|
|
1122
1145
|
status: e.enum(["404"]),
|
|
1123
1146
|
code: e.enum(["recipient_not_found"])
|
|
1124
1147
|
});
|
|
1125
|
-
var
|
|
1148
|
+
var Bt = e.object({
|
|
1126
1149
|
uuid: e.uuid(),
|
|
1127
1150
|
name: e.string()
|
|
1128
1151
|
});
|
|
@@ -1130,21 +1153,21 @@ e.object({
|
|
|
1130
1153
|
uuid: e.uuid(),
|
|
1131
1154
|
name: e.string().nullable(),
|
|
1132
1155
|
email: e.string(),
|
|
1133
|
-
customer:
|
|
1156
|
+
customer: Bt,
|
|
1134
1157
|
isDefault: e.boolean()
|
|
1135
1158
|
}), e.object({
|
|
1136
1159
|
email: e.string(),
|
|
1137
1160
|
name: e.string().nullish(),
|
|
1138
1161
|
isDefault: e.boolean()
|
|
1139
1162
|
});
|
|
1140
|
-
var
|
|
1163
|
+
var Vt = e.object({
|
|
1141
1164
|
uuid: e.uuid(),
|
|
1142
1165
|
name: e.string().nullable(),
|
|
1143
1166
|
email: e.email(),
|
|
1144
1167
|
customerUuid: e.uuid(),
|
|
1145
1168
|
isDefault: e.boolean()
|
|
1146
|
-
}),
|
|
1147
|
-
items: e.array(
|
|
1169
|
+
}), Ht = e.object({
|
|
1170
|
+
items: e.array(Vt),
|
|
1148
1171
|
meta: g
|
|
1149
1172
|
});
|
|
1150
1173
|
e.object({
|
|
@@ -1152,7 +1175,7 @@ e.object({
|
|
|
1152
1175
|
status: e.enum(["404"]),
|
|
1153
1176
|
code: e.enum(["issuer_not_found"])
|
|
1154
1177
|
});
|
|
1155
|
-
var
|
|
1178
|
+
var Ut = e.object({
|
|
1156
1179
|
uuid: e.uuid(),
|
|
1157
1180
|
createdAt: e.string(),
|
|
1158
1181
|
updatedAt: e.string(),
|
|
@@ -1160,49 +1183,49 @@ var Vt = e.object({
|
|
|
1160
1183
|
name: e.string().nullable(),
|
|
1161
1184
|
phoneNumber: e.string().nullable(),
|
|
1162
1185
|
website: e.string().nullable(),
|
|
1163
|
-
address:
|
|
1186
|
+
address: S.nullable(),
|
|
1164
1187
|
vatNumber: e.string().nullable(),
|
|
1165
1188
|
bic: e.string().nullable(),
|
|
1166
1189
|
bankAccountNumber: e.string().nullable(),
|
|
1167
|
-
currency:
|
|
1190
|
+
currency: y,
|
|
1168
1191
|
sequencePrefix: e.string().nullable(),
|
|
1169
|
-
defaultPaymentTerm:
|
|
1192
|
+
defaultPaymentTerm: Pt,
|
|
1170
1193
|
requiresInvoiceApprovalFile: e.boolean()
|
|
1171
|
-
}),
|
|
1194
|
+
}), Wt = e.object({
|
|
1172
1195
|
email: e.email().nullable(),
|
|
1173
1196
|
name: e.string().nullable(),
|
|
1174
1197
|
phoneNumber: e.string().nullable(),
|
|
1175
1198
|
website: e.string().nullable(),
|
|
1176
|
-
address:
|
|
1199
|
+
address: At.nullable(),
|
|
1177
1200
|
vatNumber: e.string().nullable(),
|
|
1178
1201
|
bankAccountNumber: e.string().nullable(),
|
|
1179
1202
|
bic: e.string().nullable(),
|
|
1180
|
-
currency:
|
|
1203
|
+
currency: y,
|
|
1181
1204
|
sequencePrefix: e.string().nullable(),
|
|
1182
|
-
defaultPaymentTerm:
|
|
1205
|
+
defaultPaymentTerm: Pt
|
|
1183
1206
|
});
|
|
1184
1207
|
e.object({
|
|
1185
1208
|
detail: e.string().optional(),
|
|
1186
1209
|
status: e.enum(["404"]),
|
|
1187
1210
|
code: e.enum(["invoice_not_found"])
|
|
1188
1211
|
});
|
|
1189
|
-
var
|
|
1212
|
+
var T = e.object({
|
|
1190
1213
|
definitionUuid: e.uuid(),
|
|
1191
1214
|
type: e.enum(["text"]),
|
|
1192
1215
|
value: e.string()
|
|
1193
|
-
}),
|
|
1216
|
+
}), E = e.object({
|
|
1194
1217
|
definitionUuid: e.uuid(),
|
|
1195
1218
|
type: e.enum(["text_array"]),
|
|
1196
1219
|
value: e.array(e.string())
|
|
1197
|
-
}),
|
|
1220
|
+
}), D = e.object({
|
|
1198
1221
|
definitionUuid: e.uuid(),
|
|
1199
1222
|
type: e.enum(["number"]),
|
|
1200
1223
|
value: e.number()
|
|
1201
|
-
}),
|
|
1224
|
+
}), O = e.object({
|
|
1202
1225
|
definitionUuid: e.uuid(),
|
|
1203
1226
|
type: e.enum(["boolean"]),
|
|
1204
1227
|
value: e.boolean()
|
|
1205
|
-
}),
|
|
1228
|
+
}), k = e.object({
|
|
1206
1229
|
definitionUuid: e.uuid(),
|
|
1207
1230
|
type: e.enum(["date"]),
|
|
1208
1231
|
value: e.union([
|
|
@@ -1210,56 +1233,56 @@ var w = e.object({
|
|
|
1210
1233
|
e.enum(["infinity"]),
|
|
1211
1234
|
e.enum(["-infinity"])
|
|
1212
1235
|
])
|
|
1213
|
-
}),
|
|
1236
|
+
}), A = e.object({
|
|
1214
1237
|
definitionUuid: e.uuid(),
|
|
1215
1238
|
type: e.enum(["timestamp"]),
|
|
1216
1239
|
value: e.iso.datetime()
|
|
1217
|
-
}),
|
|
1240
|
+
}), j = e.object({
|
|
1218
1241
|
definitionUuid: e.uuid(),
|
|
1219
1242
|
type: e.enum(["single_select"]),
|
|
1220
1243
|
value: e.string()
|
|
1221
|
-
}),
|
|
1244
|
+
}), M = e.object({
|
|
1222
1245
|
definitionUuid: e.uuid(),
|
|
1223
1246
|
type: e.enum(["multi_select"]),
|
|
1224
1247
|
value: e.array(e.string())
|
|
1225
|
-
}),
|
|
1248
|
+
}), N = e.object({
|
|
1226
1249
|
definitionUuid: e.uuid(),
|
|
1227
1250
|
type: e.enum(["monetary"]),
|
|
1228
|
-
value:
|
|
1229
|
-
}),
|
|
1251
|
+
value: b
|
|
1252
|
+
}), P = e.object({
|
|
1230
1253
|
definitionUuid: e.uuid(),
|
|
1231
1254
|
type: e.enum(["reference"]),
|
|
1232
1255
|
value: e.string()
|
|
1233
|
-
}),
|
|
1256
|
+
}), Gt = e.enum(["standard", "credit_note"]), Kt = e.object({
|
|
1234
1257
|
uuid: e.uuid(),
|
|
1235
1258
|
name: e.string().nullable(),
|
|
1236
1259
|
email: e.email().nullable(),
|
|
1237
1260
|
phoneNumber: e.string().nullable(),
|
|
1238
1261
|
website: e.string().nullable(),
|
|
1239
|
-
address:
|
|
1262
|
+
address: S.nullable(),
|
|
1240
1263
|
vatNumber: e.string().nullable(),
|
|
1241
1264
|
bankAccountNumber: e.string().nullable(),
|
|
1242
1265
|
alternativeBankAccountNumber: e.string().nullable()
|
|
1243
|
-
}),
|
|
1266
|
+
}), qt = e.object({
|
|
1244
1267
|
uuid: e.uuid(),
|
|
1245
1268
|
name: e.string().nullable(),
|
|
1246
1269
|
email: e.email().nullable()
|
|
1247
|
-
}),
|
|
1270
|
+
}), Jt = e.object({
|
|
1248
1271
|
uuid: e.uuid(),
|
|
1249
1272
|
name: e.string().nullable(),
|
|
1250
1273
|
email: e.email().nullable(),
|
|
1251
1274
|
phoneNumber: e.string().nullable(),
|
|
1252
|
-
address:
|
|
1275
|
+
address: S.nullable(),
|
|
1253
1276
|
vatNumber: e.string().nullable(),
|
|
1254
|
-
type:
|
|
1255
|
-
}),
|
|
1277
|
+
type: _
|
|
1278
|
+
}), F = e.enum([
|
|
1256
1279
|
"draft",
|
|
1257
1280
|
"ready",
|
|
1258
1281
|
"finalized"
|
|
1259
|
-
]),
|
|
1282
|
+
]), Yt = e.object({
|
|
1260
1283
|
locale: e.string(),
|
|
1261
1284
|
value: e.string()
|
|
1262
|
-
}),
|
|
1285
|
+
}), I = e.object({ items: e.array(Yt) }), Xt = e.enum([
|
|
1263
1286
|
"text",
|
|
1264
1287
|
"text_array",
|
|
1265
1288
|
"number",
|
|
@@ -1270,36 +1293,36 @@ var w = e.object({
|
|
|
1270
1293
|
"multi_select",
|
|
1271
1294
|
"monetary",
|
|
1272
1295
|
"reference"
|
|
1273
|
-
]),
|
|
1296
|
+
]), Zt = e.object({
|
|
1274
1297
|
value: e.string(),
|
|
1275
|
-
label:
|
|
1298
|
+
label: I,
|
|
1276
1299
|
order: e.number()
|
|
1277
|
-
}),
|
|
1300
|
+
}), Qt = e.object({
|
|
1278
1301
|
key: e.string(),
|
|
1279
1302
|
order: e.number()
|
|
1280
|
-
}),
|
|
1303
|
+
}), $t = e.object({
|
|
1281
1304
|
uuid: e.uuid(),
|
|
1282
1305
|
tenantUuid: e.uuid().nullable(),
|
|
1283
1306
|
entityType: e.string(),
|
|
1284
1307
|
key: e.string(),
|
|
1285
|
-
label:
|
|
1286
|
-
description:
|
|
1287
|
-
type:
|
|
1308
|
+
label: I,
|
|
1309
|
+
description: I.nullable(),
|
|
1310
|
+
type: Xt,
|
|
1288
1311
|
isRequired: e.boolean(),
|
|
1289
|
-
choices: e.array(
|
|
1312
|
+
choices: e.array(Zt).nullable(),
|
|
1290
1313
|
rules: e.record(e.string(), e.unknown()).nullable(),
|
|
1291
|
-
views: e.array(
|
|
1292
|
-
}),
|
|
1314
|
+
views: e.array(Qt)
|
|
1315
|
+
}), L = e.enum([
|
|
1293
1316
|
"0",
|
|
1294
1317
|
"6",
|
|
1295
1318
|
"12",
|
|
1296
1319
|
"21"
|
|
1297
|
-
]),
|
|
1298
|
-
type:
|
|
1299
|
-
amount:
|
|
1320
|
+
]), en = e.enum(["percentage", "amount"]), R = e.object({
|
|
1321
|
+
type: en,
|
|
1322
|
+
amount: b.nullable(),
|
|
1300
1323
|
percentage: e.number().nullable(),
|
|
1301
1324
|
description: e.string().nullable()
|
|
1302
|
-
}),
|
|
1325
|
+
}), tn = e.enum([
|
|
1303
1326
|
"piece",
|
|
1304
1327
|
"hour",
|
|
1305
1328
|
"day",
|
|
@@ -1309,14 +1332,13 @@ var w = e.object({
|
|
|
1309
1332
|
"cubic_meter",
|
|
1310
1333
|
"square_meter",
|
|
1311
1334
|
"litre"
|
|
1312
|
-
]),
|
|
1335
|
+
]), nn = e.object({
|
|
1313
1336
|
uuid: e.uuid(),
|
|
1314
1337
|
groupUuid: e.uuid().nullable(),
|
|
1315
1338
|
position: e.number(),
|
|
1316
1339
|
name: e.string(),
|
|
1317
1340
|
description: e.string().nullable(),
|
|
1318
1341
|
customFields: e.array(e.union([
|
|
1319
|
-
w,
|
|
1320
1342
|
T,
|
|
1321
1343
|
E,
|
|
1322
1344
|
D,
|
|
@@ -1325,24 +1347,24 @@ var w = e.object({
|
|
|
1325
1347
|
A,
|
|
1326
1348
|
j,
|
|
1327
1349
|
M,
|
|
1328
|
-
N
|
|
1350
|
+
N,
|
|
1351
|
+
P
|
|
1329
1352
|
])),
|
|
1330
1353
|
quantity: e.number(),
|
|
1331
|
-
unitPrice:
|
|
1332
|
-
vatRate:
|
|
1354
|
+
unitPrice: b,
|
|
1355
|
+
vatRate: L,
|
|
1333
1356
|
vatRatePercentage: e.number(),
|
|
1334
|
-
netAmount:
|
|
1335
|
-
grossAmount:
|
|
1336
|
-
discount:
|
|
1337
|
-
unit:
|
|
1357
|
+
netAmount: b,
|
|
1358
|
+
grossAmount: b,
|
|
1359
|
+
discount: R.nullable(),
|
|
1360
|
+
unit: tn,
|
|
1338
1361
|
isDiscount: e.boolean()
|
|
1339
|
-
}),
|
|
1362
|
+
}), rn = e.object({
|
|
1340
1363
|
uuid: e.uuid(),
|
|
1341
1364
|
position: e.number(),
|
|
1342
1365
|
name: e.string(),
|
|
1343
1366
|
description: e.string().nullable(),
|
|
1344
1367
|
customFields: e.array(e.union([
|
|
1345
|
-
w,
|
|
1346
1368
|
T,
|
|
1347
1369
|
E,
|
|
1348
1370
|
D,
|
|
@@ -1351,44 +1373,44 @@ var w = e.object({
|
|
|
1351
1373
|
A,
|
|
1352
1374
|
j,
|
|
1353
1375
|
M,
|
|
1354
|
-
N
|
|
1376
|
+
N,
|
|
1377
|
+
P
|
|
1355
1378
|
])),
|
|
1356
|
-
lines: e.array(
|
|
1357
|
-
groups: e.array(e.lazy(() =>
|
|
1358
|
-
}),
|
|
1359
|
-
vatRate:
|
|
1360
|
-
netAmount:
|
|
1361
|
-
vatAmount:
|
|
1362
|
-
}),
|
|
1379
|
+
lines: e.array(nn),
|
|
1380
|
+
groups: e.array(e.lazy(() => rn))
|
|
1381
|
+
}), an = e.object({
|
|
1382
|
+
vatRate: L,
|
|
1383
|
+
netAmount: b,
|
|
1384
|
+
vatAmount: b
|
|
1385
|
+
}), on = e.object({
|
|
1363
1386
|
uuid: e.uuid(),
|
|
1364
1387
|
createdAt: e.iso.datetime(),
|
|
1365
|
-
status:
|
|
1388
|
+
status: v,
|
|
1366
1389
|
sequence: e.string().nullable()
|
|
1367
|
-
}),
|
|
1390
|
+
}), sn = e.enum([
|
|
1368
1391
|
"unsent",
|
|
1369
1392
|
"processing",
|
|
1370
1393
|
"sent",
|
|
1371
1394
|
"viewed",
|
|
1372
1395
|
"failed"
|
|
1373
|
-
]),
|
|
1396
|
+
]), cn = e.object({
|
|
1374
1397
|
uuid: e.uuid(),
|
|
1375
1398
|
sequence: e.string().nullable(),
|
|
1376
|
-
type:
|
|
1399
|
+
type: Gt,
|
|
1377
1400
|
createdAt: e.iso.datetime(),
|
|
1378
1401
|
updatedAt: e.iso.datetime(),
|
|
1379
1402
|
issueOn: e.iso.date().nullable(),
|
|
1380
1403
|
dueOn: e.iso.date().nullable(),
|
|
1381
1404
|
deliveredOn: e.iso.date().nullable(),
|
|
1382
|
-
issuer:
|
|
1383
|
-
recipient:
|
|
1384
|
-
customer:
|
|
1385
|
-
status:
|
|
1386
|
-
lifecycleStatus:
|
|
1405
|
+
issuer: Kt,
|
|
1406
|
+
recipient: qt.nullable(),
|
|
1407
|
+
customer: Jt,
|
|
1408
|
+
status: v,
|
|
1409
|
+
lifecycleStatus: F,
|
|
1387
1410
|
paymentReference: e.string().nullable(),
|
|
1388
1411
|
subject: e.string().nullable(),
|
|
1389
1412
|
poNumber: e.string().nullable(),
|
|
1390
1413
|
customFields: e.array(e.union([
|
|
1391
|
-
w,
|
|
1392
1414
|
T,
|
|
1393
1415
|
E,
|
|
1394
1416
|
D,
|
|
@@ -1397,60 +1419,70 @@ var w = e.object({
|
|
|
1397
1419
|
A,
|
|
1398
1420
|
j,
|
|
1399
1421
|
M,
|
|
1400
|
-
N
|
|
1422
|
+
N,
|
|
1423
|
+
P
|
|
1401
1424
|
])),
|
|
1402
|
-
customFieldDefinitions: e.array(
|
|
1403
|
-
ungroupedLines: e.array(
|
|
1404
|
-
groups: e.array(
|
|
1405
|
-
vatSummaries: e.array(
|
|
1406
|
-
grossAmount:
|
|
1407
|
-
netAmount:
|
|
1408
|
-
effectiveNet:
|
|
1409
|
-
vatAmount:
|
|
1410
|
-
totalDiscountAmount:
|
|
1411
|
-
globalDiscount:
|
|
1412
|
-
advancePaymentAmount:
|
|
1413
|
-
amountDue:
|
|
1414
|
-
originalInvoice:
|
|
1425
|
+
customFieldDefinitions: e.array($t),
|
|
1426
|
+
ungroupedLines: e.array(nn),
|
|
1427
|
+
groups: e.array(rn),
|
|
1428
|
+
vatSummaries: e.array(an),
|
|
1429
|
+
grossAmount: b,
|
|
1430
|
+
netAmount: b,
|
|
1431
|
+
effectiveNet: b,
|
|
1432
|
+
vatAmount: b,
|
|
1433
|
+
totalDiscountAmount: b.nullable(),
|
|
1434
|
+
globalDiscount: R.nullable(),
|
|
1435
|
+
advancePaymentAmount: b.nullable(),
|
|
1436
|
+
amountDue: b,
|
|
1437
|
+
originalInvoice: on.nullable(),
|
|
1415
1438
|
externalRemarks: e.string().nullable(),
|
|
1416
|
-
deliveryStatus:
|
|
1439
|
+
deliveryStatus: sn,
|
|
1417
1440
|
isDisputed: e.boolean()
|
|
1418
|
-
}),
|
|
1441
|
+
}), ln = e.object({
|
|
1442
|
+
billingDocument: w.nullish(),
|
|
1443
|
+
approval: w.nullish()
|
|
1444
|
+
}), un = e.object({
|
|
1445
|
+
customerUuid: e.uuid(),
|
|
1446
|
+
requiresPriorApproval: e.boolean().optional(),
|
|
1447
|
+
contactOverride: ln.optional()
|
|
1448
|
+
}), dn = e.object({ uuid: e.uuid() }), fn = e.object({
|
|
1419
1449
|
uuid: e.uuid(),
|
|
1420
1450
|
name: e.string().nullable(),
|
|
1421
1451
|
email: e.email().nullable(),
|
|
1422
1452
|
phoneNumber: e.string().nullable(),
|
|
1423
1453
|
website: e.string().nullable(),
|
|
1424
|
-
address:
|
|
1454
|
+
address: S.nullable(),
|
|
1425
1455
|
vatNumber: e.string().nullable(),
|
|
1426
1456
|
bankAccountNumber: e.string().nullable(),
|
|
1427
1457
|
alternativeBankAccountNumber: e.string().nullable()
|
|
1428
|
-
}),
|
|
1458
|
+
}), pn = e.object({
|
|
1429
1459
|
uuid: e.uuid(),
|
|
1430
1460
|
name: e.string().nullable(),
|
|
1431
1461
|
email: e.email().nullable()
|
|
1432
|
-
}),
|
|
1462
|
+
}), mn = e.object({
|
|
1463
|
+
billingDocument: C.nullable(),
|
|
1464
|
+
approval: C.nullable()
|
|
1465
|
+
}), hn = e.object({
|
|
1433
1466
|
uuid: e.uuid(),
|
|
1434
1467
|
name: e.string().nullable(),
|
|
1435
1468
|
email: e.email().nullable(),
|
|
1436
1469
|
externalId: e.string().nullable(),
|
|
1437
1470
|
phoneNumber: e.string().nullable(),
|
|
1438
|
-
address:
|
|
1471
|
+
address: S.nullable(),
|
|
1439
1472
|
vatNumber: e.string().nullable(),
|
|
1440
|
-
type:
|
|
1473
|
+
type: _,
|
|
1441
1474
|
approvalEmail: e.email().nullable()
|
|
1442
|
-
}),
|
|
1475
|
+
}), gn = e.object({
|
|
1443
1476
|
uuid: e.uuid(),
|
|
1444
1477
|
quantity: e.number(),
|
|
1445
1478
|
remainingQuantity: e.number().nullable()
|
|
1446
|
-
}),
|
|
1479
|
+
}), _n = e.object({
|
|
1447
1480
|
uuid: e.uuid(),
|
|
1448
1481
|
groupUuid: e.uuid().nullable(),
|
|
1449
1482
|
position: e.number(),
|
|
1450
1483
|
name: e.string(),
|
|
1451
1484
|
description: e.string().nullable(),
|
|
1452
1485
|
customFields: e.array(e.union([
|
|
1453
|
-
w,
|
|
1454
1486
|
T,
|
|
1455
1487
|
E,
|
|
1456
1488
|
D,
|
|
@@ -1459,25 +1491,25 @@ var w = e.object({
|
|
|
1459
1491
|
A,
|
|
1460
1492
|
j,
|
|
1461
1493
|
M,
|
|
1462
|
-
N
|
|
1494
|
+
N,
|
|
1495
|
+
P
|
|
1463
1496
|
])),
|
|
1464
1497
|
quantity: e.number(),
|
|
1465
|
-
unitPrice:
|
|
1466
|
-
vatRate:
|
|
1498
|
+
unitPrice: b,
|
|
1499
|
+
vatRate: L,
|
|
1467
1500
|
vatRatePercentage: e.number(),
|
|
1468
|
-
netAmount:
|
|
1469
|
-
grossAmount:
|
|
1470
|
-
discount:
|
|
1471
|
-
unit:
|
|
1501
|
+
netAmount: b,
|
|
1502
|
+
grossAmount: b,
|
|
1503
|
+
discount: R.nullable(),
|
|
1504
|
+
unit: tn,
|
|
1472
1505
|
isDiscount: e.boolean(),
|
|
1473
|
-
originalLine:
|
|
1474
|
-
}),
|
|
1506
|
+
originalLine: gn.nullable()
|
|
1507
|
+
}), vn = e.object({
|
|
1475
1508
|
uuid: e.uuid(),
|
|
1476
1509
|
position: e.number(),
|
|
1477
1510
|
name: e.string(),
|
|
1478
1511
|
description: e.string().nullable(),
|
|
1479
1512
|
customFields: e.array(e.union([
|
|
1480
|
-
w,
|
|
1481
1513
|
T,
|
|
1482
1514
|
E,
|
|
1483
1515
|
D,
|
|
@@ -1486,59 +1518,60 @@ var w = e.object({
|
|
|
1486
1518
|
A,
|
|
1487
1519
|
j,
|
|
1488
1520
|
M,
|
|
1489
|
-
N
|
|
1521
|
+
N,
|
|
1522
|
+
P
|
|
1490
1523
|
])),
|
|
1491
|
-
lines: e.array(
|
|
1492
|
-
groups: e.array(e.lazy(() =>
|
|
1493
|
-
}),
|
|
1494
|
-
vatRate:
|
|
1495
|
-
netAmount:
|
|
1496
|
-
vatAmount:
|
|
1497
|
-
}),
|
|
1524
|
+
lines: e.array(_n),
|
|
1525
|
+
groups: e.array(e.lazy(() => vn))
|
|
1526
|
+
}), yn = e.object({
|
|
1527
|
+
vatRate: L,
|
|
1528
|
+
netAmount: b,
|
|
1529
|
+
vatAmount: b
|
|
1530
|
+
}), bn = e.object({
|
|
1498
1531
|
uuid: e.uuid(),
|
|
1499
1532
|
name: e.string(),
|
|
1500
1533
|
mimeType: Ae,
|
|
1501
1534
|
blurHash: e.string().nullable()
|
|
1502
|
-
}),
|
|
1535
|
+
}), xn = e.object({
|
|
1503
1536
|
uuid: e.uuid(),
|
|
1504
1537
|
createdAt: e.iso.datetime(),
|
|
1505
|
-
status:
|
|
1538
|
+
status: v,
|
|
1506
1539
|
sequence: e.string().nullable(),
|
|
1507
|
-
grossAmount:
|
|
1508
|
-
totalCreditedAmount:
|
|
1509
|
-
paidAmount:
|
|
1510
|
-
balanceDueAmount:
|
|
1511
|
-
creditableAmount:
|
|
1512
|
-
}),
|
|
1540
|
+
grossAmount: b,
|
|
1541
|
+
totalCreditedAmount: b.nullable(),
|
|
1542
|
+
paidAmount: b.nullable(),
|
|
1543
|
+
balanceDueAmount: b.nullable(),
|
|
1544
|
+
creditableAmount: b.nullable()
|
|
1545
|
+
}), Sn = e.object({
|
|
1513
1546
|
uuid: e.string(),
|
|
1514
1547
|
firstName: e.string().nullable(),
|
|
1515
1548
|
lastName: e.string().nullable()
|
|
1516
|
-
}),
|
|
1549
|
+
}), Cn = e.enum(["user", "service_user"]), wn = e.object({
|
|
1517
1550
|
uuid: e.uuid(),
|
|
1518
1551
|
firstName: e.string().nullable(),
|
|
1519
1552
|
lastName: e.string().nullable(),
|
|
1520
|
-
type:
|
|
1521
|
-
}),
|
|
1553
|
+
type: Cn
|
|
1554
|
+
}), z = e.enum([
|
|
1522
1555
|
"unpaid",
|
|
1523
1556
|
"partially_paid",
|
|
1524
1557
|
"paid",
|
|
1525
1558
|
"overpaid",
|
|
1526
1559
|
"credited",
|
|
1527
1560
|
"settled"
|
|
1528
|
-
]),
|
|
1561
|
+
]), Tn = e.object({
|
|
1529
1562
|
uuid: e.uuid(),
|
|
1530
1563
|
sentAt: e.iso.datetime()
|
|
1531
|
-
}),
|
|
1564
|
+
}), En = e.enum(["after_last_reminder", "after_due_date"]), Dn = e.object({
|
|
1532
1565
|
uuid: e.uuid(),
|
|
1533
1566
|
sequence: e.number(),
|
|
1534
|
-
schedule:
|
|
1567
|
+
schedule: En,
|
|
1535
1568
|
offsetDays: e.number()
|
|
1536
|
-
}),
|
|
1569
|
+
}), On = e.enum([
|
|
1537
1570
|
"approved",
|
|
1538
1571
|
"rejected",
|
|
1539
1572
|
"requested",
|
|
1540
1573
|
"expired"
|
|
1541
|
-
]),
|
|
1574
|
+
]), kn = e.enum([
|
|
1542
1575
|
"incorrect_price",
|
|
1543
1576
|
"incorrect_quantity",
|
|
1544
1577
|
"incorrect_customer_or_reference_data",
|
|
@@ -1546,38 +1579,40 @@ var w = e.object({
|
|
|
1546
1579
|
"missing_or_incorrect_attachment",
|
|
1547
1580
|
"missing_or_incorrect_po_reference",
|
|
1548
1581
|
"other"
|
|
1549
|
-
]),
|
|
1582
|
+
]), An = e.union([e.literal(1), e.literal(2)]), jn = e.object({
|
|
1550
1583
|
uuid: e.uuid(),
|
|
1551
1584
|
sentAt: e.string().nullable(),
|
|
1552
|
-
status:
|
|
1585
|
+
status: On,
|
|
1553
1586
|
answeredAt: e.string().nullable(),
|
|
1554
1587
|
customerRemark: e.string().nullable(),
|
|
1555
|
-
proFormaFile:
|
|
1556
|
-
approvalProofs: e.array(
|
|
1588
|
+
proFormaFile: bn.nullable(),
|
|
1589
|
+
approvalProofs: e.array(bn),
|
|
1557
1590
|
isActive: e.boolean(),
|
|
1558
1591
|
remarks: e.string().nullable(),
|
|
1559
|
-
rejectionReason:
|
|
1560
|
-
level:
|
|
1592
|
+
rejectionReason: kn.nullable(),
|
|
1593
|
+
level: An.nullable(),
|
|
1561
1594
|
reminderSentAt: e.iso.datetime().nullable()
|
|
1562
|
-
}),
|
|
1595
|
+
}), Mn = e.object({
|
|
1563
1596
|
uuid: e.uuid(),
|
|
1564
1597
|
sequence: e.string().nullable(),
|
|
1565
|
-
type:
|
|
1598
|
+
type: Gt,
|
|
1566
1599
|
createdAt: e.iso.datetime(),
|
|
1567
1600
|
updatedAt: e.iso.datetime(),
|
|
1568
1601
|
issueOn: e.iso.date().nullable(),
|
|
1569
1602
|
dueOn: e.iso.date().nullable(),
|
|
1570
1603
|
deliveredOn: e.iso.date().nullable(),
|
|
1571
|
-
issuer:
|
|
1572
|
-
recipient:
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1604
|
+
issuer: fn,
|
|
1605
|
+
recipient: pn.nullable(),
|
|
1606
|
+
billingDocumentRecipient: C.nullable(),
|
|
1607
|
+
approvalRecipient: C.nullable(),
|
|
1608
|
+
contactOverride: mn,
|
|
1609
|
+
customer: hn,
|
|
1610
|
+
status: v,
|
|
1611
|
+
lifecycleStatus: F,
|
|
1576
1612
|
paymentReference: e.string().nullable(),
|
|
1577
1613
|
subject: e.string().nullable(),
|
|
1578
1614
|
poNumber: e.string().nullable(),
|
|
1579
1615
|
customFields: e.array(e.union([
|
|
1580
|
-
w,
|
|
1581
1616
|
T,
|
|
1582
1617
|
E,
|
|
1583
1618
|
D,
|
|
@@ -1586,49 +1621,50 @@ var w = e.object({
|
|
|
1586
1621
|
A,
|
|
1587
1622
|
j,
|
|
1588
1623
|
M,
|
|
1589
|
-
N
|
|
1624
|
+
N,
|
|
1625
|
+
P
|
|
1590
1626
|
])),
|
|
1591
|
-
ungroupedLines: e.array(
|
|
1592
|
-
groups: e.array(
|
|
1593
|
-
vatSummaries: e.array(
|
|
1594
|
-
grossAmount:
|
|
1595
|
-
netAmount:
|
|
1596
|
-
effectiveNet:
|
|
1597
|
-
vatAmount:
|
|
1598
|
-
totalDiscountAmount:
|
|
1599
|
-
globalDiscount:
|
|
1600
|
-
attachments: e.array(
|
|
1601
|
-
approvalProofs: e.array(
|
|
1602
|
-
rejectionFiles: e.array(
|
|
1603
|
-
creditNotes: e.array(
|
|
1604
|
-
originalInvoice:
|
|
1605
|
-
preparedBy:
|
|
1606
|
-
lastUpdatedBy:
|
|
1607
|
-
file:
|
|
1627
|
+
ungroupedLines: e.array(_n),
|
|
1628
|
+
groups: e.array(vn),
|
|
1629
|
+
vatSummaries: e.array(yn),
|
|
1630
|
+
grossAmount: b,
|
|
1631
|
+
netAmount: b,
|
|
1632
|
+
effectiveNet: b,
|
|
1633
|
+
vatAmount: b,
|
|
1634
|
+
totalDiscountAmount: b.nullable(),
|
|
1635
|
+
globalDiscount: R.nullable(),
|
|
1636
|
+
attachments: e.array(bn),
|
|
1637
|
+
approvalProofs: e.array(bn),
|
|
1638
|
+
rejectionFiles: e.array(bn),
|
|
1639
|
+
creditNotes: e.array(xn),
|
|
1640
|
+
originalInvoice: xn.nullable(),
|
|
1641
|
+
preparedBy: Sn,
|
|
1642
|
+
lastUpdatedBy: wn.nullable(),
|
|
1643
|
+
file: bn.nullable(),
|
|
1608
1644
|
externalRemarks: e.string().nullable(),
|
|
1609
|
-
paidAmount:
|
|
1610
|
-
settlementStatus:
|
|
1611
|
-
balanceDueAmount:
|
|
1612
|
-
advancePaymentAmount:
|
|
1613
|
-
amountDue:
|
|
1614
|
-
currency:
|
|
1615
|
-
deliveryStatus:
|
|
1645
|
+
paidAmount: b.nullable(),
|
|
1646
|
+
settlementStatus: z,
|
|
1647
|
+
balanceDueAmount: b.nullable(),
|
|
1648
|
+
advancePaymentAmount: b.nullable(),
|
|
1649
|
+
amountDue: b,
|
|
1650
|
+
currency: y,
|
|
1651
|
+
deliveryStatus: sn,
|
|
1616
1652
|
isDisputed: e.boolean(),
|
|
1617
1653
|
isOverdue: e.boolean(),
|
|
1618
|
-
reminders: e.array(
|
|
1619
|
-
reminderConfigs: e.array(
|
|
1654
|
+
reminders: e.array(Tn),
|
|
1655
|
+
reminderConfigs: e.array(Dn),
|
|
1620
1656
|
requiresPriorApproval: e.boolean(),
|
|
1621
|
-
approval: e.array(
|
|
1657
|
+
approval: e.array(jn),
|
|
1622
1658
|
hasChangesSinceApprovalSent: e.boolean()
|
|
1623
|
-
}),
|
|
1659
|
+
}), Nn = e.enum([
|
|
1624
1660
|
"created_at",
|
|
1625
1661
|
"issued_on",
|
|
1626
1662
|
"sequence",
|
|
1627
1663
|
"customer",
|
|
1628
1664
|
"netAmount"
|
|
1629
|
-
]),
|
|
1630
|
-
key:
|
|
1631
|
-
order:
|
|
1665
|
+
]), Pn = e.object({
|
|
1666
|
+
key: Nn,
|
|
1667
|
+
order: yt
|
|
1632
1668
|
}), B = e.object({
|
|
1633
1669
|
definitionUuid: e.uuid(),
|
|
1634
1670
|
type: e.enum(["number"]),
|
|
@@ -1648,7 +1684,7 @@ var w = e.object({
|
|
|
1648
1684
|
}), W = e.object({
|
|
1649
1685
|
definitionUuid: e.uuid(),
|
|
1650
1686
|
type: e.enum(["monetary"]),
|
|
1651
|
-
value:
|
|
1687
|
+
value: b
|
|
1652
1688
|
}), G = e.object({
|
|
1653
1689
|
definitionUuid: e.uuid(),
|
|
1654
1690
|
type: e.enum(["multi_select"]),
|
|
@@ -1676,8 +1712,8 @@ var w = e.object({
|
|
|
1676
1712
|
e.enum(["infinity"]),
|
|
1677
1713
|
e.enum(["-infinity"])
|
|
1678
1714
|
])
|
|
1679
|
-
}),
|
|
1680
|
-
scope:
|
|
1715
|
+
}), Fn = e.enum(["include", "exclude"]), X = e.object({
|
|
1716
|
+
scope: Fn,
|
|
1681
1717
|
values: e.array(e.uuid())
|
|
1682
1718
|
}), Z = e.enum([
|
|
1683
1719
|
"no_approval_required",
|
|
@@ -1687,16 +1723,16 @@ var w = e.object({
|
|
|
1687
1723
|
"approved",
|
|
1688
1724
|
"rejected",
|
|
1689
1725
|
"expired"
|
|
1690
|
-
]),
|
|
1691
|
-
statuses: e.array(
|
|
1692
|
-
lifecycleStatuses: e.array(
|
|
1726
|
+
]), In = e.object({
|
|
1727
|
+
statuses: e.array(v).optional(),
|
|
1728
|
+
lifecycleStatuses: e.array(F).optional(),
|
|
1693
1729
|
customerUuids: e.array(e.uuid()).optional(),
|
|
1694
1730
|
dueOnRange: Y.optional(),
|
|
1695
1731
|
issuedOnRange: Y.optional(),
|
|
1696
1732
|
invoiceUuids: X.optional(),
|
|
1697
1733
|
isDisputed: e.boolean().optional(),
|
|
1698
1734
|
isOverdue: e.boolean().optional(),
|
|
1699
|
-
settlementStatuses: e.array(
|
|
1735
|
+
settlementStatuses: e.array(z).optional(),
|
|
1700
1736
|
customerExternalIds: e.array(e.string()).optional(),
|
|
1701
1737
|
isOutstanding: e.boolean().optional(),
|
|
1702
1738
|
customFields: e.array(e.union([
|
|
@@ -1713,37 +1749,36 @@ var w = e.object({
|
|
|
1713
1749
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
1714
1750
|
approvalStatuses: e.array(Z).optional(),
|
|
1715
1751
|
isApprovalCancelled: e.boolean().optional()
|
|
1716
|
-
}),
|
|
1752
|
+
}), Ln = e.object({
|
|
1717
1753
|
uuid: e.uuid(),
|
|
1718
1754
|
externalId: e.string().nullable(),
|
|
1719
1755
|
name: e.string()
|
|
1720
|
-
}),
|
|
1721
|
-
status:
|
|
1722
|
-
level:
|
|
1756
|
+
}), Rn = e.object({
|
|
1757
|
+
status: On,
|
|
1758
|
+
level: An.nullable(),
|
|
1723
1759
|
sentAt: e.iso.datetime().nullable(),
|
|
1724
1760
|
reminderSentAt: e.iso.datetime().nullable()
|
|
1725
|
-
}),
|
|
1761
|
+
}), zn = e.object({
|
|
1726
1762
|
uuid: e.uuid(),
|
|
1727
|
-
type:
|
|
1763
|
+
type: Gt,
|
|
1728
1764
|
createdAt: e.iso.datetime(),
|
|
1729
1765
|
issuedOn: e.iso.date().nullable(),
|
|
1730
1766
|
dueOn: e.iso.date().nullable(),
|
|
1731
1767
|
subject: e.string().nullable(),
|
|
1732
|
-
customer:
|
|
1733
|
-
status:
|
|
1734
|
-
lifecycleStatus:
|
|
1735
|
-
netAmount:
|
|
1736
|
-
grossAmount:
|
|
1768
|
+
customer: Ln,
|
|
1769
|
+
status: v,
|
|
1770
|
+
lifecycleStatus: F,
|
|
1771
|
+
netAmount: b,
|
|
1772
|
+
grossAmount: b,
|
|
1737
1773
|
sequence: e.string().nullable(),
|
|
1738
|
-
paidAmount:
|
|
1739
|
-
totalCreditedAmount:
|
|
1740
|
-
settlementStatus:
|
|
1741
|
-
balanceDueAmount:
|
|
1774
|
+
paidAmount: b.nullable(),
|
|
1775
|
+
totalCreditedAmount: b.nullable(),
|
|
1776
|
+
settlementStatus: z,
|
|
1777
|
+
balanceDueAmount: b.nullable(),
|
|
1742
1778
|
isDisputed: e.boolean(),
|
|
1743
1779
|
isOverdue: e.boolean(),
|
|
1744
|
-
deliveryStatus:
|
|
1780
|
+
deliveryStatus: sn,
|
|
1745
1781
|
customFields: e.array(e.union([
|
|
1746
|
-
w,
|
|
1747
1782
|
T,
|
|
1748
1783
|
E,
|
|
1749
1784
|
D,
|
|
@@ -1752,13 +1787,14 @@ var w = e.object({
|
|
|
1752
1787
|
A,
|
|
1753
1788
|
j,
|
|
1754
1789
|
M,
|
|
1755
|
-
N
|
|
1790
|
+
N,
|
|
1791
|
+
P
|
|
1756
1792
|
])),
|
|
1757
1793
|
requiresPriorApproval: e.boolean(),
|
|
1758
1794
|
hasChangesSinceApprovalSent: e.boolean(),
|
|
1759
|
-
approval:
|
|
1760
|
-
}),
|
|
1761
|
-
items: e.array(
|
|
1795
|
+
approval: Rn.nullable()
|
|
1796
|
+
}), Bn = e.object({
|
|
1797
|
+
items: e.array(zn),
|
|
1762
1798
|
meta: g
|
|
1763
1799
|
});
|
|
1764
1800
|
e.object({
|
|
@@ -1774,7 +1810,7 @@ e.object({
|
|
|
1774
1810
|
status: e.enum(["409"]),
|
|
1775
1811
|
code: e.enum(["can_not_change_invoice_customer_with_approval_created"])
|
|
1776
1812
|
});
|
|
1777
|
-
var
|
|
1813
|
+
var Vn = e.object({
|
|
1778
1814
|
issuedOn: e.iso.date(),
|
|
1779
1815
|
deliveredOn: e.iso.date().nullable(),
|
|
1780
1816
|
dueOn: e.iso.date(),
|
|
@@ -1782,10 +1818,10 @@ var In = e.object({
|
|
|
1782
1818
|
subject: e.string().nullable(),
|
|
1783
1819
|
preparedByUuid: e.uuid(),
|
|
1784
1820
|
recipientUuid: e.uuid().nullish(),
|
|
1821
|
+
contactOverride: ln.optional(),
|
|
1785
1822
|
externalRemarks: e.string().nullable(),
|
|
1786
1823
|
customerUuid: e.uuid().optional(),
|
|
1787
1824
|
customFields: e.array(e.union([
|
|
1788
|
-
w,
|
|
1789
1825
|
T,
|
|
1790
1826
|
E,
|
|
1791
1827
|
D,
|
|
@@ -1794,7 +1830,8 @@ var In = e.object({
|
|
|
1794
1830
|
A,
|
|
1795
1831
|
j,
|
|
1796
1832
|
M,
|
|
1797
|
-
N
|
|
1833
|
+
N,
|
|
1834
|
+
P
|
|
1798
1835
|
])).optional()
|
|
1799
1836
|
});
|
|
1800
1837
|
e.object({
|
|
@@ -1818,18 +1855,17 @@ e.object({
|
|
|
1818
1855
|
status: e.enum(["400"]),
|
|
1819
1856
|
code: e.enum(["invoice_line_group_max_depth_exceeded"])
|
|
1820
1857
|
});
|
|
1821
|
-
var
|
|
1858
|
+
var Hn = e.object({
|
|
1822
1859
|
name: e.string(),
|
|
1823
1860
|
description: e.string().nullable(),
|
|
1824
1861
|
position: e.int(),
|
|
1825
1862
|
quantity: e.number().lte(1e4),
|
|
1826
|
-
unitPrice:
|
|
1827
|
-
vatRate:
|
|
1828
|
-
discount:
|
|
1829
|
-
unit:
|
|
1863
|
+
unitPrice: b,
|
|
1864
|
+
vatRate: L,
|
|
1865
|
+
discount: R.nullable(),
|
|
1866
|
+
unit: tn,
|
|
1830
1867
|
isDiscount: e.boolean(),
|
|
1831
1868
|
customFields: e.array(e.union([
|
|
1832
|
-
w,
|
|
1833
1869
|
T,
|
|
1834
1870
|
E,
|
|
1835
1871
|
D,
|
|
@@ -1838,15 +1874,15 @@ var Ln = e.object({
|
|
|
1838
1874
|
A,
|
|
1839
1875
|
j,
|
|
1840
1876
|
M,
|
|
1841
|
-
N
|
|
1877
|
+
N,
|
|
1878
|
+
P
|
|
1842
1879
|
])).optional()
|
|
1843
|
-
}),
|
|
1880
|
+
}), Un = e.object({
|
|
1844
1881
|
name: e.string(),
|
|
1845
1882
|
description: e.string().nullable(),
|
|
1846
1883
|
position: e.int(),
|
|
1847
|
-
lines: e.array(
|
|
1884
|
+
lines: e.array(Hn),
|
|
1848
1885
|
customFields: e.array(e.union([
|
|
1849
|
-
w,
|
|
1850
1886
|
T,
|
|
1851
1887
|
E,
|
|
1852
1888
|
D,
|
|
@@ -1855,25 +1891,26 @@ var Ln = e.object({
|
|
|
1855
1891
|
A,
|
|
1856
1892
|
j,
|
|
1857
1893
|
M,
|
|
1858
|
-
N
|
|
1894
|
+
N,
|
|
1895
|
+
P
|
|
1859
1896
|
])).optional(),
|
|
1860
|
-
groups: e.array(e.lazy(() =>
|
|
1861
|
-
}),
|
|
1862
|
-
groups: e.array(
|
|
1863
|
-
ungroupedLines: e.array(
|
|
1897
|
+
groups: e.array(e.lazy(() => Un)).optional()
|
|
1898
|
+
}), Wn = e.object({
|
|
1899
|
+
groups: e.array(Un),
|
|
1900
|
+
ungroupedLines: e.array(Hn)
|
|
1864
1901
|
});
|
|
1865
1902
|
e.object({
|
|
1866
1903
|
detail: e.string().optional(),
|
|
1867
1904
|
status: e.enum(["409"]),
|
|
1868
1905
|
code: e.enum(["global_discount_exceeds_total_net"])
|
|
1869
|
-
}), e.object({ discount:
|
|
1870
|
-
var
|
|
1906
|
+
}), e.object({ discount: R.nullable() });
|
|
1907
|
+
var Gn = e.object({ discount: R });
|
|
1871
1908
|
e.object({
|
|
1872
1909
|
detail: e.string().optional(),
|
|
1873
1910
|
status: e.enum(["409"]),
|
|
1874
1911
|
code: e.enum(["file_unconfirmed"])
|
|
1875
1912
|
});
|
|
1876
|
-
var
|
|
1913
|
+
var Kn = e.object({ fileUuids: e.array(e.uuid()) });
|
|
1877
1914
|
e.object({
|
|
1878
1915
|
detail: e.string().optional(),
|
|
1879
1916
|
status: e.enum(["404"]),
|
|
@@ -1887,15 +1924,15 @@ e.object({
|
|
|
1887
1924
|
status: e.enum(["409"]),
|
|
1888
1925
|
code: e.enum(["invoice_already_finalized"])
|
|
1889
1926
|
});
|
|
1890
|
-
var
|
|
1891
|
-
approvalStatus:
|
|
1892
|
-
level:
|
|
1927
|
+
var qn = e.object({
|
|
1928
|
+
approvalStatus: On.nullable(),
|
|
1929
|
+
level: An.nullable()
|
|
1893
1930
|
});
|
|
1894
1931
|
e.object({
|
|
1895
1932
|
detail: e.string().optional(),
|
|
1896
1933
|
status: e.enum(["409"]),
|
|
1897
1934
|
code: e.enum(["invoice_finalization_requires_approval"]),
|
|
1898
|
-
meta:
|
|
1935
|
+
meta: qn
|
|
1899
1936
|
}), e.object({
|
|
1900
1937
|
detail: e.string().optional(),
|
|
1901
1938
|
status: e.enum(["409"]),
|
|
@@ -1909,24 +1946,23 @@ e.object({
|
|
|
1909
1946
|
status: e.enum(["409"]),
|
|
1910
1947
|
code: e.enum(["credit_note_settled"])
|
|
1911
1948
|
});
|
|
1912
|
-
var
|
|
1949
|
+
var Jn = e.object({ uuid: e.uuid() });
|
|
1913
1950
|
e.object({
|
|
1914
1951
|
detail: e.string().optional(),
|
|
1915
1952
|
status: e.enum(["409"]),
|
|
1916
1953
|
code: e.enum(["invoice_not_credit_note"])
|
|
1917
1954
|
});
|
|
1918
|
-
var
|
|
1955
|
+
var Yn = e.object({
|
|
1919
1956
|
name: e.string(),
|
|
1920
1957
|
description: e.string().nullable(),
|
|
1921
1958
|
position: e.int(),
|
|
1922
1959
|
quantity: e.number().lte(1e4),
|
|
1923
|
-
unitPrice:
|
|
1924
|
-
vatRate:
|
|
1925
|
-
discount:
|
|
1926
|
-
unit:
|
|
1960
|
+
unitPrice: b,
|
|
1961
|
+
vatRate: L,
|
|
1962
|
+
discount: R.nullable(),
|
|
1963
|
+
unit: tn,
|
|
1927
1964
|
isDiscount: e.boolean(),
|
|
1928
1965
|
customFields: e.array(e.union([
|
|
1929
|
-
w,
|
|
1930
1966
|
T,
|
|
1931
1967
|
E,
|
|
1932
1968
|
D,
|
|
@@ -1935,15 +1971,15 @@ var Wn = e.object({
|
|
|
1935
1971
|
A,
|
|
1936
1972
|
j,
|
|
1937
1973
|
M,
|
|
1938
|
-
N
|
|
1974
|
+
N,
|
|
1975
|
+
P
|
|
1939
1976
|
])).optional()
|
|
1940
|
-
}),
|
|
1977
|
+
}), Xn = e.object({
|
|
1941
1978
|
name: e.string(),
|
|
1942
1979
|
description: e.string().nullable(),
|
|
1943
1980
|
position: e.int(),
|
|
1944
|
-
lines: e.array(
|
|
1981
|
+
lines: e.array(Yn),
|
|
1945
1982
|
customFields: e.array(e.union([
|
|
1946
|
-
w,
|
|
1947
1983
|
T,
|
|
1948
1984
|
E,
|
|
1949
1985
|
D,
|
|
@@ -1952,21 +1988,22 @@ var Wn = e.object({
|
|
|
1952
1988
|
A,
|
|
1953
1989
|
j,
|
|
1954
1990
|
M,
|
|
1955
|
-
N
|
|
1991
|
+
N,
|
|
1992
|
+
P
|
|
1956
1993
|
])).optional(),
|
|
1957
|
-
groups: e.array(e.lazy(() =>
|
|
1958
|
-
}),
|
|
1959
|
-
groups: e.array(
|
|
1960
|
-
ungroupedLines: e.array(
|
|
1961
|
-
}),
|
|
1994
|
+
groups: e.array(e.lazy(() => Xn)).optional()
|
|
1995
|
+
}), Zn = e.object({
|
|
1996
|
+
groups: e.array(Xn),
|
|
1997
|
+
ungroupedLines: e.array(Yn)
|
|
1998
|
+
}), Qn = e.object({ billingDocument: w.nullish() }), $n = e.object({
|
|
1962
1999
|
issuedOn: e.iso.date(),
|
|
1963
2000
|
poNumber: e.string().nullable(),
|
|
1964
2001
|
subject: e.string().nullable(),
|
|
1965
2002
|
recipientUuid: e.uuid().nullish(),
|
|
2003
|
+
contactOverride: Qn.optional(),
|
|
1966
2004
|
externalRemarks: e.string().nullable(),
|
|
1967
2005
|
preparedByUuid: e.uuid().optional(),
|
|
1968
2006
|
customFields: e.array(e.union([
|
|
1969
|
-
w,
|
|
1970
2007
|
T,
|
|
1971
2008
|
E,
|
|
1972
2009
|
D,
|
|
@@ -1975,7 +2012,8 @@ var Wn = e.object({
|
|
|
1975
2012
|
A,
|
|
1976
2013
|
j,
|
|
1977
2014
|
M,
|
|
1978
|
-
N
|
|
2015
|
+
N,
|
|
2016
|
+
P
|
|
1979
2017
|
])).optional()
|
|
1980
2018
|
});
|
|
1981
2019
|
e.object({
|
|
@@ -2007,16 +2045,16 @@ e.object({
|
|
|
2007
2045
|
status: e.enum(["503"]),
|
|
2008
2046
|
code: e.enum(["mail_unavailable"])
|
|
2009
2047
|
});
|
|
2010
|
-
var
|
|
2011
|
-
statuses: e.array(
|
|
2012
|
-
lifecycleStatuses: e.array(
|
|
2048
|
+
var er = e.object({
|
|
2049
|
+
statuses: e.array(v).optional(),
|
|
2050
|
+
lifecycleStatuses: e.array(F).optional(),
|
|
2013
2051
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2014
2052
|
dueOnRange: Y.optional(),
|
|
2015
2053
|
issuedOnRange: Y.optional(),
|
|
2016
2054
|
invoiceUuids: X.optional(),
|
|
2017
2055
|
isDisputed: e.boolean().optional(),
|
|
2018
2056
|
isOverdue: e.boolean().optional(),
|
|
2019
|
-
settlementStatuses: e.array(
|
|
2057
|
+
settlementStatuses: e.array(z).optional(),
|
|
2020
2058
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2021
2059
|
isOutstanding: e.boolean().optional(),
|
|
2022
2060
|
customFields: e.array(e.union([
|
|
@@ -2037,33 +2075,33 @@ var Jn = e.object({
|
|
|
2037
2075
|
total: e.number(),
|
|
2038
2076
|
processed: e.number(),
|
|
2039
2077
|
skipped: e.number()
|
|
2040
|
-
}),
|
|
2078
|
+
}), tr = e.object({ pointer: e.string() }), nr = e.object({
|
|
2041
2079
|
code: e.string(),
|
|
2042
2080
|
detail: e.string().optional(),
|
|
2043
2081
|
title: e.string().optional(),
|
|
2044
2082
|
id: e.string().optional(),
|
|
2045
2083
|
status: e.string().optional(),
|
|
2046
|
-
source:
|
|
2084
|
+
source: tr.optional(),
|
|
2047
2085
|
meta: e.record(e.string(), e.unknown()).optional()
|
|
2048
|
-
}),
|
|
2086
|
+
}), rr = e.object({
|
|
2049
2087
|
status: e.number(),
|
|
2050
|
-
errors: e.array(
|
|
2088
|
+
errors: e.array(nr)
|
|
2051
2089
|
}), $ = e.object({
|
|
2052
2090
|
uuid: e.string(),
|
|
2053
|
-
errors: e.array(
|
|
2054
|
-
}),
|
|
2091
|
+
errors: e.array(rr)
|
|
2092
|
+
}), ir = e.object({
|
|
2055
2093
|
meta: Q,
|
|
2056
2094
|
skipped: e.array($)
|
|
2057
|
-
}),
|
|
2058
|
-
statuses: e.array(
|
|
2059
|
-
lifecycleStatuses: e.array(
|
|
2095
|
+
}), ar = e.object({
|
|
2096
|
+
statuses: e.array(v).optional(),
|
|
2097
|
+
lifecycleStatuses: e.array(F).optional(),
|
|
2060
2098
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2061
2099
|
dueOnRange: Y.optional(),
|
|
2062
2100
|
issuedOnRange: Y.optional(),
|
|
2063
2101
|
invoiceUuids: X.optional(),
|
|
2064
2102
|
isDisputed: e.boolean().optional(),
|
|
2065
2103
|
isOverdue: e.boolean().optional(),
|
|
2066
|
-
settlementStatuses: e.array(
|
|
2104
|
+
settlementStatuses: e.array(z).optional(),
|
|
2067
2105
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2068
2106
|
isOutstanding: e.boolean().optional(),
|
|
2069
2107
|
customFields: e.array(e.union([
|
|
@@ -2080,7 +2118,7 @@ var Jn = e.object({
|
|
|
2080
2118
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2081
2119
|
approvalStatuses: e.array(Z).optional(),
|
|
2082
2120
|
isApprovalCancelled: e.boolean().optional()
|
|
2083
|
-
}),
|
|
2121
|
+
}), or = e.object({
|
|
2084
2122
|
meta: Q,
|
|
2085
2123
|
skipped: e.array($)
|
|
2086
2124
|
});
|
|
@@ -2097,7 +2135,7 @@ e.object({
|
|
|
2097
2135
|
status: e.enum(["409"]),
|
|
2098
2136
|
code: e.enum(["delete_invoice_with_approval"])
|
|
2099
2137
|
});
|
|
2100
|
-
var
|
|
2138
|
+
var sr = e.object({ uuid: e.uuid() });
|
|
2101
2139
|
e.object({
|
|
2102
2140
|
detail: e.string().optional(),
|
|
2103
2141
|
status: e.enum(["409"]),
|
|
@@ -2111,16 +2149,16 @@ e.object({
|
|
|
2111
2149
|
status: e.enum(["409"]),
|
|
2112
2150
|
code: e.enum(["invoice_status_not_eligible_for_paid"])
|
|
2113
2151
|
});
|
|
2114
|
-
var
|
|
2115
|
-
statuses: e.array(
|
|
2116
|
-
lifecycleStatuses: e.array(
|
|
2152
|
+
var cr = e.object({
|
|
2153
|
+
statuses: e.array(v).optional(),
|
|
2154
|
+
lifecycleStatuses: e.array(F).optional(),
|
|
2117
2155
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2118
2156
|
dueOnRange: Y.optional(),
|
|
2119
2157
|
issuedOnRange: Y.optional(),
|
|
2120
2158
|
invoiceUuids: X.optional(),
|
|
2121
2159
|
isDisputed: e.boolean().optional(),
|
|
2122
2160
|
isOverdue: e.boolean().optional(),
|
|
2123
|
-
settlementStatuses: e.array(
|
|
2161
|
+
settlementStatuses: e.array(z).optional(),
|
|
2124
2162
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2125
2163
|
isOutstanding: e.boolean().optional(),
|
|
2126
2164
|
customFields: e.array(e.union([
|
|
@@ -2137,19 +2175,19 @@ var nr = e.object({
|
|
|
2137
2175
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2138
2176
|
approvalStatuses: e.array(Z).optional(),
|
|
2139
2177
|
isApprovalCancelled: e.boolean().optional()
|
|
2140
|
-
}),
|
|
2178
|
+
}), lr = e.object({
|
|
2141
2179
|
meta: Q,
|
|
2142
2180
|
skipped: e.array($)
|
|
2143
|
-
}),
|
|
2144
|
-
statuses: e.array(
|
|
2145
|
-
lifecycleStatuses: e.array(
|
|
2181
|
+
}), ur = e.object({
|
|
2182
|
+
statuses: e.array(v).optional(),
|
|
2183
|
+
lifecycleStatuses: e.array(F).optional(),
|
|
2146
2184
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2147
2185
|
dueOnRange: Y.optional(),
|
|
2148
2186
|
issuedOnRange: Y.optional(),
|
|
2149
2187
|
invoiceUuids: X.optional(),
|
|
2150
2188
|
isDisputed: e.boolean().optional(),
|
|
2151
2189
|
isOverdue: e.boolean().optional(),
|
|
2152
|
-
settlementStatuses: e.array(
|
|
2190
|
+
settlementStatuses: e.array(z).optional(),
|
|
2153
2191
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2154
2192
|
isOutstanding: e.boolean().optional(),
|
|
2155
2193
|
customFields: e.array(e.union([
|
|
@@ -2166,7 +2204,7 @@ var nr = e.object({
|
|
|
2166
2204
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2167
2205
|
approvalStatuses: e.array(Z).optional(),
|
|
2168
2206
|
isApprovalCancelled: e.boolean().optional()
|
|
2169
|
-
}),
|
|
2207
|
+
}), dr = e.object({
|
|
2170
2208
|
meta: Q,
|
|
2171
2209
|
skipped: e.array($)
|
|
2172
2210
|
});
|
|
@@ -2175,16 +2213,16 @@ e.object({
|
|
|
2175
2213
|
status: e.enum(["409"]),
|
|
2176
2214
|
code: e.enum(["invoice_not_disputed"])
|
|
2177
2215
|
});
|
|
2178
|
-
var
|
|
2179
|
-
statuses: e.array(
|
|
2180
|
-
lifecycleStatuses: e.array(
|
|
2216
|
+
var fr = e.object({
|
|
2217
|
+
statuses: e.array(v).optional(),
|
|
2218
|
+
lifecycleStatuses: e.array(F).optional(),
|
|
2181
2219
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2182
2220
|
dueOnRange: Y.optional(),
|
|
2183
2221
|
issuedOnRange: Y.optional(),
|
|
2184
2222
|
invoiceUuids: X.optional(),
|
|
2185
2223
|
isDisputed: e.boolean().optional(),
|
|
2186
2224
|
isOverdue: e.boolean().optional(),
|
|
2187
|
-
settlementStatuses: e.array(
|
|
2225
|
+
settlementStatuses: e.array(z).optional(),
|
|
2188
2226
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2189
2227
|
isOutstanding: e.boolean().optional(),
|
|
2190
2228
|
customFields: e.array(e.union([
|
|
@@ -2201,19 +2239,19 @@ var or = e.object({
|
|
|
2201
2239
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2202
2240
|
approvalStatuses: e.array(Z).optional(),
|
|
2203
2241
|
isApprovalCancelled: e.boolean().optional()
|
|
2204
|
-
}),
|
|
2242
|
+
}), pr = e.object({
|
|
2205
2243
|
meta: Q,
|
|
2206
2244
|
skipped: e.array($)
|
|
2207
|
-
}),
|
|
2208
|
-
statuses: e.array(
|
|
2209
|
-
lifecycleStatuses: e.array(
|
|
2245
|
+
}), mr = e.object({
|
|
2246
|
+
statuses: e.array(v).optional(),
|
|
2247
|
+
lifecycleStatuses: e.array(F).optional(),
|
|
2210
2248
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2211
2249
|
dueOnRange: Y.optional(),
|
|
2212
2250
|
issuedOnRange: Y.optional(),
|
|
2213
2251
|
invoiceUuids: X.optional(),
|
|
2214
2252
|
isDisputed: e.boolean().optional(),
|
|
2215
2253
|
isOverdue: e.boolean().optional(),
|
|
2216
|
-
settlementStatuses: e.array(
|
|
2254
|
+
settlementStatuses: e.array(z).optional(),
|
|
2217
2255
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2218
2256
|
isOutstanding: e.boolean().optional(),
|
|
2219
2257
|
customFields: e.array(e.union([
|
|
@@ -2230,7 +2268,7 @@ var or = e.object({
|
|
|
2230
2268
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2231
2269
|
approvalStatuses: e.array(Z).optional(),
|
|
2232
2270
|
isApprovalCancelled: e.boolean().optional()
|
|
2233
|
-
}),
|
|
2271
|
+
}), hr = e.object({
|
|
2234
2272
|
meta: Q,
|
|
2235
2273
|
skipped: e.array($)
|
|
2236
2274
|
});
|
|
@@ -2239,7 +2277,7 @@ e.object({
|
|
|
2239
2277
|
status: e.enum(["404"]),
|
|
2240
2278
|
code: e.enum(["pro_forma_not_found"])
|
|
2241
2279
|
});
|
|
2242
|
-
var
|
|
2280
|
+
var gr = e.object({
|
|
2243
2281
|
entityUuids: e.array(e.uuid()).optional(),
|
|
2244
2282
|
entityTypes: e.array(e.enum([
|
|
2245
2283
|
"customer",
|
|
@@ -2257,13 +2295,13 @@ var ur = e.object({
|
|
|
2257
2295
|
"approval",
|
|
2258
2296
|
"attachment"
|
|
2259
2297
|
])).optional()
|
|
2260
|
-
}),
|
|
2298
|
+
}), _r = e.object({
|
|
2261
2299
|
createdAt: e.string(),
|
|
2262
2300
|
uuid: e.uuid()
|
|
2263
|
-
}),
|
|
2301
|
+
}), vr = e.object({
|
|
2264
2302
|
limit: e.number().gte(0).lte(100).optional(),
|
|
2265
|
-
key:
|
|
2266
|
-
}),
|
|
2303
|
+
key: _r.nullish()
|
|
2304
|
+
}), yr = e.enum([
|
|
2267
2305
|
"invoice-created",
|
|
2268
2306
|
"invoice-updated",
|
|
2269
2307
|
"invoice-finalized",
|
|
@@ -2287,40 +2325,40 @@ var ur = e.object({
|
|
|
2287
2325
|
"credit-note-created",
|
|
2288
2326
|
"credit-note-updated",
|
|
2289
2327
|
"customer-updated"
|
|
2290
|
-
]),
|
|
2328
|
+
]), br = e.enum([
|
|
2291
2329
|
"create",
|
|
2292
2330
|
"update",
|
|
2293
2331
|
"delete"
|
|
2294
|
-
]),
|
|
2332
|
+
]), xr = e.enum([
|
|
2295
2333
|
"user",
|
|
2296
2334
|
"service",
|
|
2297
2335
|
"system"
|
|
2298
|
-
]),
|
|
2336
|
+
]), Sr = e.object({
|
|
2299
2337
|
uuid: e.uuid(),
|
|
2300
2338
|
firstName: e.string().nullable(),
|
|
2301
2339
|
lastName: e.string().nullable(),
|
|
2302
2340
|
email: e.string().nullable()
|
|
2303
|
-
}),
|
|
2341
|
+
}), Cr = e.enum([
|
|
2304
2342
|
"actor",
|
|
2305
2343
|
"customer",
|
|
2306
2344
|
"invoice",
|
|
2307
2345
|
"credit_note",
|
|
2308
2346
|
"approval",
|
|
2309
2347
|
"attachment"
|
|
2310
|
-
]),
|
|
2348
|
+
]), wr = e.enum([
|
|
2311
2349
|
"customer",
|
|
2312
2350
|
"invoice",
|
|
2313
2351
|
"credit_note",
|
|
2314
2352
|
"approval",
|
|
2315
2353
|
"api_key",
|
|
2316
2354
|
"file"
|
|
2317
|
-
]),
|
|
2318
|
-
role:
|
|
2319
|
-
type:
|
|
2355
|
+
]), Tr = e.object({
|
|
2356
|
+
role: Cr,
|
|
2357
|
+
type: wr,
|
|
2320
2358
|
uuid: e.uuid(),
|
|
2321
2359
|
label: e.string().nullable()
|
|
2322
|
-
}),
|
|
2323
|
-
entityRole:
|
|
2360
|
+
}), Er = e.object({
|
|
2361
|
+
entityRole: Cr,
|
|
2324
2362
|
field: e.string(),
|
|
2325
2363
|
from: e.union([
|
|
2326
2364
|
e.string(),
|
|
@@ -2332,17 +2370,17 @@ var ur = e.object({
|
|
|
2332
2370
|
e.number(),
|
|
2333
2371
|
e.boolean()
|
|
2334
2372
|
]).nullable()
|
|
2335
|
-
}),
|
|
2373
|
+
}), Dr = e.object({
|
|
2336
2374
|
createdAt: e.iso.datetime(),
|
|
2337
|
-
action:
|
|
2338
|
-
changeType:
|
|
2339
|
-
actorType:
|
|
2340
|
-
actor:
|
|
2341
|
-
entities: e.array(
|
|
2342
|
-
changes: e.array(
|
|
2343
|
-
}),
|
|
2344
|
-
logs: e.array(
|
|
2345
|
-
nextKey:
|
|
2375
|
+
action: yr,
|
|
2376
|
+
changeType: br,
|
|
2377
|
+
actorType: xr,
|
|
2378
|
+
actor: Sr.nullable(),
|
|
2379
|
+
entities: e.array(Tr),
|
|
2380
|
+
changes: e.array(Er).nullable()
|
|
2381
|
+
}), Or = e.object({
|
|
2382
|
+
logs: e.array(Dr),
|
|
2383
|
+
nextKey: _r.nullable()
|
|
2346
2384
|
});
|
|
2347
2385
|
e.object({
|
|
2348
2386
|
detail: e.string().optional(),
|
|
@@ -2357,14 +2395,14 @@ e.object({
|
|
|
2357
2395
|
status: e.enum(["409"]),
|
|
2358
2396
|
code: e.enum(["payment_external_id_already_exists"])
|
|
2359
2397
|
});
|
|
2360
|
-
var
|
|
2361
|
-
amount:
|
|
2398
|
+
var kr = e.enum(["standard", "advance"]), Ar = e.object({
|
|
2399
|
+
amount: b,
|
|
2362
2400
|
date: e.iso.date(),
|
|
2363
2401
|
paymentReference: e.string().nullish(),
|
|
2364
2402
|
remarks: e.string().nullish(),
|
|
2365
|
-
type:
|
|
2403
|
+
type: kr.optional(),
|
|
2366
2404
|
externalId: e.string().nullish()
|
|
2367
|
-
}),
|
|
2405
|
+
}), jr = e.object({ uuid: e.uuid() });
|
|
2368
2406
|
e.object({
|
|
2369
2407
|
detail: e.string().optional(),
|
|
2370
2408
|
status: e.enum(["404"]),
|
|
@@ -2378,35 +2416,35 @@ e.object({
|
|
|
2378
2416
|
status: e.enum(["409"]),
|
|
2379
2417
|
code: e.enum(["advance_payment_locked"])
|
|
2380
2418
|
});
|
|
2381
|
-
var
|
|
2419
|
+
var Mr = e.enum(["manual", "exact"]), Nr = e.object({
|
|
2382
2420
|
uuid: e.uuid(),
|
|
2383
|
-
amount:
|
|
2421
|
+
amount: b,
|
|
2384
2422
|
date: e.iso.date(),
|
|
2385
2423
|
createdAt: e.iso.datetime(),
|
|
2386
2424
|
paymentReference: e.string().nullable(),
|
|
2387
2425
|
remarks: e.string().nullable(),
|
|
2388
|
-
source:
|
|
2389
|
-
type:
|
|
2390
|
-
}),
|
|
2426
|
+
source: Mr,
|
|
2427
|
+
type: kr
|
|
2428
|
+
}), Pr = e.object({ items: e.array(Nr) }), Fr = e.union([
|
|
2391
2429
|
e.literal(1),
|
|
2392
2430
|
e.literal(2),
|
|
2393
2431
|
e.literal(3)
|
|
2394
|
-
]),
|
|
2395
|
-
subject:
|
|
2396
|
-
body:
|
|
2397
|
-
}),
|
|
2398
|
-
type:
|
|
2399
|
-
amount:
|
|
2432
|
+
]), Ir = e.object({
|
|
2433
|
+
subject: I,
|
|
2434
|
+
body: I
|
|
2435
|
+
}), Lr = e.enum(["percentage", "amount"]), Rr = e.object({
|
|
2436
|
+
type: Lr,
|
|
2437
|
+
amount: b.nullable(),
|
|
2400
2438
|
percentage: e.number().nullable()
|
|
2401
|
-
}),
|
|
2439
|
+
}), zr = e.object({
|
|
2402
2440
|
uuid: e.uuid(),
|
|
2403
2441
|
issuerUuid: e.uuid(),
|
|
2404
|
-
sequence:
|
|
2405
|
-
schedule:
|
|
2442
|
+
sequence: Fr,
|
|
2443
|
+
schedule: En,
|
|
2406
2444
|
offsetDays: e.number(),
|
|
2407
|
-
template:
|
|
2408
|
-
fee:
|
|
2409
|
-
}),
|
|
2445
|
+
template: Ir,
|
|
2446
|
+
fee: Rr
|
|
2447
|
+
}), Br = e.object({ items: e.array(zr) });
|
|
2410
2448
|
e.object({
|
|
2411
2449
|
detail: e.string().optional(),
|
|
2412
2450
|
status: e.enum(["400"]),
|
|
@@ -2420,59 +2458,59 @@ e.object({
|
|
|
2420
2458
|
status: e.enum(["400"]),
|
|
2421
2459
|
code: e.enum(["additional_reminder_config"])
|
|
2422
2460
|
});
|
|
2423
|
-
var
|
|
2424
|
-
subject:
|
|
2425
|
-
body:
|
|
2426
|
-
}),
|
|
2461
|
+
var Vr = e.object({
|
|
2462
|
+
subject: I,
|
|
2463
|
+
body: I
|
|
2464
|
+
}), Hr = e.object({
|
|
2427
2465
|
sequence: e.number(),
|
|
2428
2466
|
offsetDays: e.int().gte(1),
|
|
2429
|
-
schedule:
|
|
2430
|
-
template:
|
|
2431
|
-
fee:
|
|
2432
|
-
}),
|
|
2467
|
+
schedule: En,
|
|
2468
|
+
template: Vr,
|
|
2469
|
+
fee: Rr
|
|
2470
|
+
}), Ur = e.object({ reminders: e.array(Hr) }), Wr = e.enum([
|
|
2433
2471
|
"invoice",
|
|
2434
2472
|
"invoice-line",
|
|
2435
2473
|
"invoice-line-group"
|
|
2436
|
-
]),
|
|
2474
|
+
]), Gr = e.object({ entityTypes: e.array(Wr).optional() });
|
|
2437
2475
|
e.object({
|
|
2438
2476
|
detail: e.string().optional(),
|
|
2439
2477
|
status: e.enum(["404"]),
|
|
2440
2478
|
code: e.enum(["dunning_case_not_found"])
|
|
2441
2479
|
});
|
|
2442
|
-
var
|
|
2480
|
+
var Kr = e.object({
|
|
2443
2481
|
uuid: e.uuid(),
|
|
2444
|
-
type:
|
|
2482
|
+
type: _,
|
|
2445
2483
|
name: e.string(),
|
|
2446
2484
|
vatNumber: e.string().nullable(),
|
|
2447
2485
|
email: e.string().nullable()
|
|
2448
|
-
}),
|
|
2486
|
+
}), qr = e.object({
|
|
2449
2487
|
uuid: e.uuid(),
|
|
2450
2488
|
date: e.iso.date(),
|
|
2451
|
-
amount:
|
|
2452
|
-
}),
|
|
2489
|
+
amount: b
|
|
2490
|
+
}), Jr = e.object({
|
|
2453
2491
|
uuid: e.uuid(),
|
|
2454
2492
|
sequence: e.string(),
|
|
2455
|
-
grossAmount:
|
|
2493
|
+
grossAmount: b,
|
|
2456
2494
|
finalizedOn: e.union([
|
|
2457
2495
|
e.iso.date(),
|
|
2458
2496
|
e.enum(["infinity"]),
|
|
2459
2497
|
e.enum(["-infinity"])
|
|
2460
2498
|
])
|
|
2461
|
-
}),
|
|
2499
|
+
}), Yr = e.object({
|
|
2462
2500
|
uuid: e.uuid(),
|
|
2463
2501
|
subject: e.string().nullable(),
|
|
2464
2502
|
sequence: e.string(),
|
|
2465
2503
|
dueOn: e.iso.date(),
|
|
2466
2504
|
level: e.number().nullable(),
|
|
2467
|
-
grossAmount:
|
|
2468
|
-
balanceDueAmount:
|
|
2469
|
-
totalCreditedAmount:
|
|
2470
|
-
paidAmount:
|
|
2505
|
+
grossAmount: b,
|
|
2506
|
+
balanceDueAmount: b,
|
|
2507
|
+
totalCreditedAmount: b,
|
|
2508
|
+
paidAmount: b,
|
|
2471
2509
|
isDisputed: e.boolean(),
|
|
2472
|
-
settlementStatus:
|
|
2473
|
-
payments: e.array(
|
|
2474
|
-
creditNotes: e.array(
|
|
2475
|
-
}),
|
|
2510
|
+
settlementStatus: z,
|
|
2511
|
+
payments: e.array(qr),
|
|
2512
|
+
creditNotes: e.array(Jr)
|
|
2513
|
+
}), Xr = e.object({
|
|
2476
2514
|
uuid: e.uuid(),
|
|
2477
2515
|
sentAt: e.union([
|
|
2478
2516
|
e.iso.datetime(),
|
|
@@ -2480,7 +2518,7 @@ var Br = e.object({
|
|
|
2480
2518
|
e.enum(["-infinity"])
|
|
2481
2519
|
]).nullable(),
|
|
2482
2520
|
hasErrors: e.boolean()
|
|
2483
|
-
}),
|
|
2521
|
+
}), Zr = e.enum(["missing_email"]), Qr = e.object({
|
|
2484
2522
|
uuid: e.uuid(),
|
|
2485
2523
|
createdAt: e.iso.datetime(),
|
|
2486
2524
|
updatedAt: e.iso.datetime(),
|
|
@@ -2488,13 +2526,13 @@ var Br = e.object({
|
|
|
2488
2526
|
isClosed: e.boolean(),
|
|
2489
2527
|
nextReminderOn: e.iso.date().nullable(),
|
|
2490
2528
|
level: e.number().nullable(),
|
|
2491
|
-
customer:
|
|
2492
|
-
invoices: e.array(
|
|
2493
|
-
outstandingBalance:
|
|
2494
|
-
totalPaid:
|
|
2495
|
-
totalInvoiced:
|
|
2496
|
-
totalCredited:
|
|
2497
|
-
totalFee:
|
|
2529
|
+
customer: Kr,
|
|
2530
|
+
invoices: e.array(Yr),
|
|
2531
|
+
outstandingBalance: b,
|
|
2532
|
+
totalPaid: b,
|
|
2533
|
+
totalInvoiced: b,
|
|
2534
|
+
totalCredited: b,
|
|
2535
|
+
totalFee: b,
|
|
2498
2536
|
lastReminderSentAt: e.union([
|
|
2499
2537
|
e.iso.datetime(),
|
|
2500
2538
|
e.enum(["infinity"]),
|
|
@@ -2502,17 +2540,17 @@ var Br = e.object({
|
|
|
2502
2540
|
]).nullable(),
|
|
2503
2541
|
canSendReminder: e.boolean(),
|
|
2504
2542
|
canRetryReminder: e.boolean(),
|
|
2505
|
-
latestCreatedReminder:
|
|
2506
|
-
blockedReason:
|
|
2507
|
-
}),
|
|
2543
|
+
latestCreatedReminder: Xr.nullable(),
|
|
2544
|
+
blockedReason: Zr.nullable()
|
|
2545
|
+
}), $r = e.object({
|
|
2508
2546
|
isOpen: e.boolean().optional(),
|
|
2509
2547
|
customerUuid: e.uuid().optional(),
|
|
2510
2548
|
level: e.number().optional(),
|
|
2511
2549
|
dunningCaseUuids: X.optional()
|
|
2512
|
-
}),
|
|
2550
|
+
}), ei = e.object({
|
|
2513
2551
|
uuid: e.uuid(),
|
|
2514
2552
|
name: e.string()
|
|
2515
|
-
}),
|
|
2553
|
+
}), ti = e.object({
|
|
2516
2554
|
uuid: e.uuid(),
|
|
2517
2555
|
sentAt: e.union([
|
|
2518
2556
|
e.iso.datetime(),
|
|
@@ -2520,12 +2558,12 @@ var Br = e.object({
|
|
|
2520
2558
|
e.enum(["-infinity"])
|
|
2521
2559
|
]).nullable(),
|
|
2522
2560
|
hasErrors: e.boolean()
|
|
2523
|
-
}),
|
|
2561
|
+
}), ni = e.object({
|
|
2524
2562
|
uuid: e.uuid(),
|
|
2525
|
-
customer:
|
|
2563
|
+
customer: ei,
|
|
2526
2564
|
level: e.number().nullable(),
|
|
2527
2565
|
daysOverdue: e.number(),
|
|
2528
|
-
outstandingBalance:
|
|
2566
|
+
outstandingBalance: b,
|
|
2529
2567
|
nextReminderOn: e.union([
|
|
2530
2568
|
e.iso.date(),
|
|
2531
2569
|
e.enum(["infinity"]),
|
|
@@ -2538,10 +2576,10 @@ var Br = e.object({
|
|
|
2538
2576
|
]).nullable(),
|
|
2539
2577
|
canSendReminder: e.boolean(),
|
|
2540
2578
|
canRetryReminder: e.boolean(),
|
|
2541
|
-
latestCreatedReminder:
|
|
2542
|
-
blockedReason:
|
|
2543
|
-
}),
|
|
2544
|
-
items: e.array(
|
|
2579
|
+
latestCreatedReminder: ti.nullable(),
|
|
2580
|
+
blockedReason: Zr.nullable()
|
|
2581
|
+
}), ri = e.object({
|
|
2582
|
+
items: e.array(ni),
|
|
2545
2583
|
meta: g
|
|
2546
2584
|
});
|
|
2547
2585
|
e.object({
|
|
@@ -2569,70 +2607,70 @@ e.object({
|
|
|
2569
2607
|
status: e.enum(["409"]),
|
|
2570
2608
|
code: e.enum(["dunning_case_reminder_not_retryable"])
|
|
2571
2609
|
});
|
|
2572
|
-
var
|
|
2610
|
+
var ii = e.object({
|
|
2573
2611
|
isOpen: e.boolean().optional(),
|
|
2574
2612
|
customerUuid: e.uuid().optional(),
|
|
2575
2613
|
level: e.number().optional(),
|
|
2576
2614
|
dunningCaseUuids: X.optional()
|
|
2577
|
-
}),
|
|
2615
|
+
}), ai = e.object({
|
|
2578
2616
|
meta: Q,
|
|
2579
2617
|
skipped: e.array($)
|
|
2580
|
-
}),
|
|
2618
|
+
}), oi = e.object({
|
|
2581
2619
|
isOpen: e.boolean().optional(),
|
|
2582
2620
|
customerUuid: e.uuid().optional(),
|
|
2583
2621
|
level: e.number().optional(),
|
|
2584
2622
|
dunningCaseUuids: X.optional()
|
|
2585
|
-
}),
|
|
2623
|
+
}), si = e.object({
|
|
2586
2624
|
meta: Q,
|
|
2587
2625
|
skipped: e.array($)
|
|
2588
|
-
}),
|
|
2626
|
+
}), ci = e.object({
|
|
2589
2627
|
name: e.string().nullable(),
|
|
2590
2628
|
email: e.email().nullable(),
|
|
2591
2629
|
phoneNumber: e.string().nullable(),
|
|
2592
2630
|
website: e.string().nullable(),
|
|
2593
|
-
address:
|
|
2631
|
+
address: S.nullable(),
|
|
2594
2632
|
vatNumber: e.string().nullable(),
|
|
2595
2633
|
bankAccountNumber: e.string().nullable(),
|
|
2596
2634
|
alternativeBankAccountNumber: e.string().nullable(),
|
|
2597
|
-
currency:
|
|
2598
|
-
}),
|
|
2635
|
+
currency: y
|
|
2636
|
+
}), li = e.object({
|
|
2599
2637
|
name: e.string(),
|
|
2600
|
-
address:
|
|
2638
|
+
address: S.nullable(),
|
|
2601
2639
|
email: e.email().nullable(),
|
|
2602
2640
|
externalId: e.string().nullable(),
|
|
2603
2641
|
phoneNumber: e.string().nullable(),
|
|
2604
2642
|
vatNumber: e.string().nullable(),
|
|
2605
|
-
type:
|
|
2606
|
-
locale:
|
|
2607
|
-
currency:
|
|
2608
|
-
}),
|
|
2643
|
+
type: _,
|
|
2644
|
+
locale: Fe,
|
|
2645
|
+
currency: y
|
|
2646
|
+
}), ui = e.object({
|
|
2609
2647
|
name: e.string().nullable(),
|
|
2610
2648
|
email: e.email()
|
|
2611
|
-
}),
|
|
2649
|
+
}), di = e.object({
|
|
2612
2650
|
sequence: e.string(),
|
|
2613
2651
|
issuedOn: e.iso.date(),
|
|
2614
2652
|
dueOn: e.iso.date(),
|
|
2615
|
-
outstandingBalance:
|
|
2653
|
+
outstandingBalance: b,
|
|
2616
2654
|
level: e.number(),
|
|
2617
2655
|
daysOverdue: e.number(),
|
|
2618
|
-
fee:
|
|
2656
|
+
fee: b,
|
|
2619
2657
|
isNew: e.boolean()
|
|
2620
|
-
}),
|
|
2658
|
+
}), fi = e.object({
|
|
2621
2659
|
sequence: e.string(),
|
|
2622
2660
|
issuedOn: e.iso.date(),
|
|
2623
2661
|
dueOn: e.iso.date(),
|
|
2624
|
-
outstandingBalance:
|
|
2662
|
+
outstandingBalance: b,
|
|
2625
2663
|
daysOverdue: e.number()
|
|
2626
|
-
}),
|
|
2664
|
+
}), pi = e.object({
|
|
2627
2665
|
createdAt: e.iso.datetime(),
|
|
2628
2666
|
sentAt: e.iso.datetime().nullable(),
|
|
2629
2667
|
level: e.number(),
|
|
2630
|
-
issuer:
|
|
2631
|
-
customer:
|
|
2632
|
-
recipient:
|
|
2633
|
-
invoices: e.array(
|
|
2634
|
-
outstandingInvoices: e.array(
|
|
2635
|
-
totalFee:
|
|
2668
|
+
issuer: ci,
|
|
2669
|
+
customer: li,
|
|
2670
|
+
recipient: ui,
|
|
2671
|
+
invoices: e.array(di),
|
|
2672
|
+
outstandingInvoices: e.array(fi),
|
|
2673
|
+
totalFee: b
|
|
2636
2674
|
});
|
|
2637
2675
|
e.object({
|
|
2638
2676
|
detail: e.string().optional(),
|
|
@@ -2655,16 +2693,16 @@ e.object({
|
|
|
2655
2693
|
status: e.enum(["409"]),
|
|
2656
2694
|
code: e.enum(["customer_has_no_approval_email"])
|
|
2657
2695
|
});
|
|
2658
|
-
var
|
|
2659
|
-
statuses: e.array(
|
|
2660
|
-
lifecycleStatuses: e.array(
|
|
2696
|
+
var mi = e.object({
|
|
2697
|
+
statuses: e.array(v).optional(),
|
|
2698
|
+
lifecycleStatuses: e.array(F).optional(),
|
|
2661
2699
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2662
2700
|
dueOnRange: Y.optional(),
|
|
2663
2701
|
issuedOnRange: Y.optional(),
|
|
2664
2702
|
invoiceUuids: X.optional(),
|
|
2665
2703
|
isDisputed: e.boolean().optional(),
|
|
2666
2704
|
isOverdue: e.boolean().optional(),
|
|
2667
|
-
settlementStatuses: e.array(
|
|
2705
|
+
settlementStatuses: e.array(z).optional(),
|
|
2668
2706
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2669
2707
|
isOutstanding: e.boolean().optional(),
|
|
2670
2708
|
customFields: e.array(e.union([
|
|
@@ -2681,19 +2719,19 @@ var ci = e.object({
|
|
|
2681
2719
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2682
2720
|
approvalStatuses: e.array(Z).optional(),
|
|
2683
2721
|
isApprovalCancelled: e.boolean().optional()
|
|
2684
|
-
}),
|
|
2722
|
+
}), hi = e.object({
|
|
2685
2723
|
meta: Q,
|
|
2686
2724
|
skipped: e.array($)
|
|
2687
|
-
}),
|
|
2688
|
-
statuses: e.array(
|
|
2689
|
-
lifecycleStatuses: e.array(
|
|
2725
|
+
}), gi = e.object({
|
|
2726
|
+
statuses: e.array(v).optional(),
|
|
2727
|
+
lifecycleStatuses: e.array(F).optional(),
|
|
2690
2728
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2691
2729
|
dueOnRange: Y.optional(),
|
|
2692
2730
|
issuedOnRange: Y.optional(),
|
|
2693
2731
|
invoiceUuids: X.optional(),
|
|
2694
2732
|
isDisputed: e.boolean().optional(),
|
|
2695
2733
|
isOverdue: e.boolean().optional(),
|
|
2696
|
-
settlementStatuses: e.array(
|
|
2734
|
+
settlementStatuses: e.array(z).optional(),
|
|
2697
2735
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2698
2736
|
isOutstanding: e.boolean().optional(),
|
|
2699
2737
|
customFields: e.array(e.union([
|
|
@@ -2710,7 +2748,7 @@ var ci = e.object({
|
|
|
2710
2748
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2711
2749
|
approvalStatuses: e.array(Z).optional(),
|
|
2712
2750
|
isApprovalCancelled: e.boolean().optional()
|
|
2713
|
-
}),
|
|
2751
|
+
}), _i = e.object({
|
|
2714
2752
|
meta: Q,
|
|
2715
2753
|
skipped: e.array($)
|
|
2716
2754
|
});
|
|
@@ -2727,7 +2765,7 @@ e.object({
|
|
|
2727
2765
|
status: e.enum(["400"]),
|
|
2728
2766
|
code: e.enum(["missing_invoice_approval_file"])
|
|
2729
2767
|
});
|
|
2730
|
-
var
|
|
2768
|
+
var vi = e.object({
|
|
2731
2769
|
fileUuids: e.array(e.uuid()).optional(),
|
|
2732
2770
|
remarks: e.string().nullish()
|
|
2733
2771
|
});
|
|
@@ -2736,9 +2774,9 @@ e.object({
|
|
|
2736
2774
|
status: e.enum(["400"]),
|
|
2737
2775
|
code: e.enum(["missing_rejection_remarks"])
|
|
2738
2776
|
});
|
|
2739
|
-
var
|
|
2777
|
+
var yi = e.object({
|
|
2740
2778
|
remarks: e.string().max(500).nullish(),
|
|
2741
|
-
reason:
|
|
2779
|
+
reason: kn,
|
|
2742
2780
|
fileUuids: e.array(e.uuid()).optional()
|
|
2743
2781
|
});
|
|
2744
2782
|
e.object({
|
|
@@ -2758,37 +2796,37 @@ e.object({
|
|
|
2758
2796
|
status: e.enum(["409"]),
|
|
2759
2797
|
code: e.enum(["approval_restart_requires_active_approval"])
|
|
2760
2798
|
});
|
|
2761
|
-
var
|
|
2762
|
-
status:
|
|
2799
|
+
var bi = e.object({
|
|
2800
|
+
status: On.optional(),
|
|
2763
2801
|
invoiceUuid: e.uuid().optional(),
|
|
2764
2802
|
customerUuid: e.uuid().optional(),
|
|
2765
|
-
level:
|
|
2803
|
+
level: An.optional(),
|
|
2766
2804
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2767
2805
|
isCancelled: e.boolean().optional()
|
|
2768
|
-
}),
|
|
2806
|
+
}), xi = e.object({
|
|
2769
2807
|
uuid: e.uuid(),
|
|
2770
2808
|
subject: e.string().nullable(),
|
|
2771
2809
|
hasChangesSinceApprovalSent: e.boolean()
|
|
2772
|
-
}),
|
|
2810
|
+
}), Si = e.object({
|
|
2773
2811
|
uuid: e.uuid(),
|
|
2774
2812
|
issuedOn: e.union([
|
|
2775
2813
|
e.iso.date(),
|
|
2776
2814
|
e.enum(["infinity"]),
|
|
2777
2815
|
e.enum(["-infinity"])
|
|
2778
2816
|
]).nullable(),
|
|
2779
|
-
netAmount:
|
|
2780
|
-
grossAmount:
|
|
2781
|
-
balanceDueAmount:
|
|
2782
|
-
}),
|
|
2817
|
+
netAmount: b,
|
|
2818
|
+
grossAmount: b,
|
|
2819
|
+
balanceDueAmount: b.nullable()
|
|
2820
|
+
}), Ci = e.object({
|
|
2783
2821
|
uuid: e.uuid(),
|
|
2784
2822
|
name: e.string().nullable()
|
|
2785
|
-
}),
|
|
2823
|
+
}), wi = e.object({
|
|
2786
2824
|
name: e.string().nullable(),
|
|
2787
2825
|
email: e.email().nullable()
|
|
2788
|
-
}),
|
|
2826
|
+
}), Ti = e.object({
|
|
2789
2827
|
uuid: e.uuid(),
|
|
2790
2828
|
createdAt: e.iso.datetime(),
|
|
2791
|
-
status:
|
|
2829
|
+
status: On,
|
|
2792
2830
|
sentAt: e.union([
|
|
2793
2831
|
e.iso.datetime(),
|
|
2794
2832
|
e.enum(["infinity"]),
|
|
@@ -2810,46 +2848,45 @@ var mi = e.object({
|
|
|
2810
2848
|
e.enum(["-infinity"])
|
|
2811
2849
|
]).nullable(),
|
|
2812
2850
|
customerRemark: e.string().nullable(),
|
|
2813
|
-
rejectionReason:
|
|
2814
|
-
level:
|
|
2851
|
+
rejectionReason: kn.nullable(),
|
|
2852
|
+
level: An.nullable(),
|
|
2815
2853
|
lastReminderSentAt: e.union([
|
|
2816
2854
|
e.iso.datetime(),
|
|
2817
2855
|
e.enum(["infinity"]),
|
|
2818
2856
|
e.enum(["-infinity"])
|
|
2819
2857
|
]).nullable(),
|
|
2820
|
-
invoice:
|
|
2821
|
-
proForma:
|
|
2822
|
-
customer:
|
|
2823
|
-
recipient:
|
|
2824
|
-
}),
|
|
2825
|
-
items: e.array(
|
|
2858
|
+
invoice: xi,
|
|
2859
|
+
proForma: Si,
|
|
2860
|
+
customer: Ci,
|
|
2861
|
+
recipient: wi
|
|
2862
|
+
}), Ei = e.object({
|
|
2863
|
+
items: e.array(Ti),
|
|
2826
2864
|
meta: g
|
|
2827
|
-
}),
|
|
2865
|
+
}), Di = e.object({
|
|
2828
2866
|
uuid: e.uuid(),
|
|
2829
2867
|
name: e.string().nullable(),
|
|
2830
2868
|
email: e.email().nullable(),
|
|
2831
2869
|
phoneNumber: e.string().nullable(),
|
|
2832
2870
|
website: e.string().nullable(),
|
|
2833
|
-
address:
|
|
2871
|
+
address: S.nullable(),
|
|
2834
2872
|
vatNumber: e.string().nullable(),
|
|
2835
2873
|
bankAccountNumber: e.string().nullable(),
|
|
2836
2874
|
alternativeBankAccountNumber: e.string().nullable()
|
|
2837
|
-
}),
|
|
2875
|
+
}), Oi = e.object({
|
|
2838
2876
|
uuid: e.uuid(),
|
|
2839
2877
|
name: e.string().nullable(),
|
|
2840
2878
|
email: e.email().nullable(),
|
|
2841
2879
|
phoneNumber: e.string().nullable(),
|
|
2842
|
-
address:
|
|
2880
|
+
address: S.nullable(),
|
|
2843
2881
|
vatNumber: e.string().nullable(),
|
|
2844
|
-
type:
|
|
2845
|
-
}),
|
|
2882
|
+
type: _
|
|
2883
|
+
}), ki = e.object({
|
|
2846
2884
|
uuid: e.uuid(),
|
|
2847
2885
|
groupUuid: e.uuid().nullable(),
|
|
2848
2886
|
position: e.number(),
|
|
2849
2887
|
name: e.string(),
|
|
2850
2888
|
description: e.string().nullable(),
|
|
2851
2889
|
customFields: e.array(e.union([
|
|
2852
|
-
w,
|
|
2853
2890
|
T,
|
|
2854
2891
|
E,
|
|
2855
2892
|
D,
|
|
@@ -2858,24 +2895,24 @@ var mi = e.object({
|
|
|
2858
2895
|
A,
|
|
2859
2896
|
j,
|
|
2860
2897
|
M,
|
|
2861
|
-
N
|
|
2898
|
+
N,
|
|
2899
|
+
P
|
|
2862
2900
|
])),
|
|
2863
2901
|
quantity: e.number(),
|
|
2864
|
-
unitPrice:
|
|
2865
|
-
vatRate:
|
|
2902
|
+
unitPrice: b,
|
|
2903
|
+
vatRate: L,
|
|
2866
2904
|
vatRatePercentage: e.number(),
|
|
2867
|
-
netAmount:
|
|
2868
|
-
grossAmount:
|
|
2869
|
-
discount:
|
|
2870
|
-
unit:
|
|
2905
|
+
netAmount: b,
|
|
2906
|
+
grossAmount: b,
|
|
2907
|
+
discount: R.nullable(),
|
|
2908
|
+
unit: tn,
|
|
2871
2909
|
isDiscount: e.boolean()
|
|
2872
|
-
}),
|
|
2910
|
+
}), Ai = e.object({
|
|
2873
2911
|
uuid: e.uuid(),
|
|
2874
2912
|
position: e.number(),
|
|
2875
2913
|
name: e.string(),
|
|
2876
2914
|
description: e.string().nullable(),
|
|
2877
2915
|
customFields: e.array(e.union([
|
|
2878
|
-
w,
|
|
2879
2916
|
T,
|
|
2880
2917
|
E,
|
|
2881
2918
|
D,
|
|
@@ -2884,26 +2921,26 @@ var mi = e.object({
|
|
|
2884
2921
|
A,
|
|
2885
2922
|
j,
|
|
2886
2923
|
M,
|
|
2887
|
-
N
|
|
2924
|
+
N,
|
|
2925
|
+
P
|
|
2888
2926
|
])),
|
|
2889
|
-
lines: e.array(
|
|
2890
|
-
groups: e.array(e.lazy(() =>
|
|
2891
|
-
}),
|
|
2892
|
-
vatRate:
|
|
2893
|
-
netAmount:
|
|
2894
|
-
vatAmount:
|
|
2895
|
-
}),
|
|
2927
|
+
lines: e.array(ki),
|
|
2928
|
+
groups: e.array(e.lazy(() => Ai))
|
|
2929
|
+
}), ji = e.object({
|
|
2930
|
+
vatRate: L,
|
|
2931
|
+
netAmount: b,
|
|
2932
|
+
vatAmount: b
|
|
2933
|
+
}), Mi = e.object({
|
|
2896
2934
|
uuid: e.uuid(),
|
|
2897
2935
|
createdAt: e.iso.datetime(),
|
|
2898
2936
|
updatedAt: e.iso.datetime(),
|
|
2899
2937
|
issueOn: e.iso.date().nullable(),
|
|
2900
|
-
issuer:
|
|
2901
|
-
customer:
|
|
2938
|
+
issuer: Di,
|
|
2939
|
+
customer: Oi,
|
|
2902
2940
|
paymentReference: e.string().nullable(),
|
|
2903
2941
|
subject: e.string().nullable(),
|
|
2904
2942
|
poNumber: e.string().nullable(),
|
|
2905
2943
|
customFields: e.array(e.union([
|
|
2906
|
-
w,
|
|
2907
2944
|
T,
|
|
2908
2945
|
E,
|
|
2909
2946
|
D,
|
|
@@ -2912,28 +2949,29 @@ var mi = e.object({
|
|
|
2912
2949
|
A,
|
|
2913
2950
|
j,
|
|
2914
2951
|
M,
|
|
2915
|
-
N
|
|
2952
|
+
N,
|
|
2953
|
+
P
|
|
2916
2954
|
])),
|
|
2917
|
-
ungroupedLines: e.array(
|
|
2918
|
-
groups: e.array(
|
|
2919
|
-
vatSummaries: e.array(
|
|
2920
|
-
grossAmount:
|
|
2921
|
-
netAmount:
|
|
2922
|
-
effectiveNet:
|
|
2923
|
-
vatAmount:
|
|
2924
|
-
totalDiscountAmount:
|
|
2925
|
-
globalDiscount:
|
|
2926
|
-
advancePaymentAmount:
|
|
2927
|
-
amountDue:
|
|
2955
|
+
ungroupedLines: e.array(ki),
|
|
2956
|
+
groups: e.array(Ai),
|
|
2957
|
+
vatSummaries: e.array(ji),
|
|
2958
|
+
grossAmount: b,
|
|
2959
|
+
netAmount: b,
|
|
2960
|
+
effectiveNet: b,
|
|
2961
|
+
vatAmount: b,
|
|
2962
|
+
totalDiscountAmount: b.nullable(),
|
|
2963
|
+
globalDiscount: R.nullable(),
|
|
2964
|
+
advancePaymentAmount: b.nullable(),
|
|
2965
|
+
amountDue: b,
|
|
2928
2966
|
externalRemarks: e.string().nullable()
|
|
2929
|
-
}),
|
|
2967
|
+
}), Ni = e.enum(["after_approval_request", "after_last_reminder"]), Pi = e.object({
|
|
2930
2968
|
uuid: e.uuid(),
|
|
2931
2969
|
issuerUuid: e.uuid(),
|
|
2932
|
-
sequence:
|
|
2933
|
-
schedule:
|
|
2970
|
+
sequence: An,
|
|
2971
|
+
schedule: Ni,
|
|
2934
2972
|
offsetDays: e.number(),
|
|
2935
|
-
template:
|
|
2936
|
-
}),
|
|
2973
|
+
template: Ir
|
|
2974
|
+
}), Fi = e.object({ items: e.array(Pi) });
|
|
2937
2975
|
e.object({
|
|
2938
2976
|
detail: e.string().optional(),
|
|
2939
2977
|
status: e.enum(["400"]),
|
|
@@ -2947,34 +2985,34 @@ e.object({
|
|
|
2947
2985
|
status: e.enum(["400"]),
|
|
2948
2986
|
code: e.enum(["additional_approval_reminder_config"])
|
|
2949
2987
|
});
|
|
2950
|
-
var
|
|
2951
|
-
sequence:
|
|
2988
|
+
var Ii = e.object({
|
|
2989
|
+
sequence: An,
|
|
2952
2990
|
offsetDays: e.int().gte(1),
|
|
2953
|
-
schedule:
|
|
2954
|
-
template:
|
|
2955
|
-
}),
|
|
2956
|
-
provider:
|
|
2991
|
+
schedule: Ni,
|
|
2992
|
+
template: Vr
|
|
2993
|
+
}), Li = e.object({ reminders: e.array(Ii).max(2) }), Ri = e.enum(["soluz"]), zi = e.object({
|
|
2994
|
+
provider: Ri,
|
|
2957
2995
|
partyId: e.string(),
|
|
2958
2996
|
enabled: e.boolean(),
|
|
2959
2997
|
hasApiKey: e.boolean(),
|
|
2960
2998
|
validatedAt: e.iso.datetime()
|
|
2961
|
-
}),
|
|
2962
|
-
connection:
|
|
2963
|
-
providers: e.array(
|
|
2999
|
+
}), Bi = e.object({
|
|
3000
|
+
connection: zi.nullable(),
|
|
3001
|
+
providers: e.array(Ri)
|
|
2964
3002
|
});
|
|
2965
3003
|
e.object({
|
|
2966
3004
|
detail: e.string().optional(),
|
|
2967
3005
|
status: e.enum(["400"]),
|
|
2968
3006
|
code: e.enum(["peppol_error"]),
|
|
2969
3007
|
meta: e.record(e.string(), e.unknown())
|
|
2970
|
-
}), e.object({ provider:
|
|
2971
|
-
var
|
|
3008
|
+
}), e.object({ provider: Ri });
|
|
3009
|
+
var Vi = e.object({
|
|
2972
3010
|
id: e.string(),
|
|
2973
3011
|
name: e.string(),
|
|
2974
3012
|
vatNumber: e.string()
|
|
2975
|
-
}),
|
|
3013
|
+
}), Hi = e.object({ companies: e.array(Vi) });
|
|
2976
3014
|
e.object({
|
|
2977
|
-
provider:
|
|
3015
|
+
provider: Ri,
|
|
2978
3016
|
partyId: e.string(),
|
|
2979
3017
|
enabled: e.boolean()
|
|
2980
3018
|
}), e.object({
|
|
@@ -2982,11 +3020,11 @@ e.object({
|
|
|
2982
3020
|
status: e.enum(["500"]),
|
|
2983
3021
|
code: e.enum(["internal_server_error"])
|
|
2984
3022
|
});
|
|
2985
|
-
var
|
|
2986
|
-
provider:
|
|
3023
|
+
var Ui = e.object({
|
|
3024
|
+
provider: Ri,
|
|
2987
3025
|
apiKey: e.string().optional()
|
|
2988
|
-
}),
|
|
2989
|
-
provider:
|
|
3026
|
+
}), Wi = e.object({
|
|
3027
|
+
provider: Ri,
|
|
2990
3028
|
apiKey: e.string().optional(),
|
|
2991
3029
|
partyId: e.string(),
|
|
2992
3030
|
enabled: e.boolean()
|
|
@@ -2998,721 +3036,721 @@ e.object({
|
|
|
2998
3036
|
fresh: e.boolean(),
|
|
2999
3037
|
collections: e.array(Ce).optional()
|
|
3000
3038
|
}), e.object({ collections: e.array(Ce).optional() }), e.object({ user: e.uuid() }), e.object({ uuid: e.uuid() });
|
|
3001
|
-
var
|
|
3039
|
+
var Gi = e.object({
|
|
3002
3040
|
pagination: h.optional(),
|
|
3003
3041
|
search: e.string().optional()
|
|
3004
|
-
}),
|
|
3042
|
+
}), Ki = De;
|
|
3005
3043
|
e.void(), e.void(), e.object({ role: e.uuid() }), e.void(), e.object({ role: e.uuid() }), e.object({ role: e.uuid() }), e.void();
|
|
3006
|
-
var
|
|
3044
|
+
var qi = je, Ji = Me;
|
|
3007
3045
|
e.object({ file: e.uuid() }), e.void();
|
|
3008
|
-
var
|
|
3046
|
+
var Yi = Ne, Xi = e.object({ file: e.uuid() }), Zi = e.void(), Qi = e.object({ file: e.uuid() });
|
|
3009
3047
|
e.object({ file: e.uuid() }), e.object({ token: e.string() }), e.object({
|
|
3010
|
-
filter:
|
|
3011
|
-
pagination:
|
|
3048
|
+
filter: ze.optional(),
|
|
3049
|
+
pagination: Ve.optional()
|
|
3012
3050
|
}), e.object({
|
|
3013
|
-
filter:
|
|
3051
|
+
filter: Je.optional(),
|
|
3014
3052
|
search: e.string(),
|
|
3015
|
-
pagination:
|
|
3053
|
+
pagination: Xe.optional()
|
|
3016
3054
|
}), e.void(), e.void(), e.object({
|
|
3017
|
-
filter:
|
|
3018
|
-
pagination:
|
|
3055
|
+
filter: ut.optional(),
|
|
3056
|
+
pagination: ft.optional()
|
|
3019
3057
|
}), 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({
|
|
3020
|
-
sort: e.array(
|
|
3021
|
-
filter:
|
|
3022
|
-
pagination:
|
|
3058
|
+
sort: e.array(bt).optional(),
|
|
3059
|
+
filter: St.optional(),
|
|
3060
|
+
pagination: wt.optional()
|
|
3023
3061
|
}), e.object({ jobId: e.uuid() }), e.object({
|
|
3024
3062
|
pagination: h.optional(),
|
|
3025
3063
|
search: e.string().optional()
|
|
3026
3064
|
}), 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();
|
|
3027
|
-
var
|
|
3065
|
+
var $i = e.object({
|
|
3028
3066
|
pagination: h.optional(),
|
|
3029
|
-
filter:
|
|
3067
|
+
filter: Lt.optional(),
|
|
3030
3068
|
search: e.string().optional()
|
|
3031
|
-
}),
|
|
3032
|
-
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();
|
|
3033
|
-
var
|
|
3069
|
+
}), ea = zt, ta = e.object({ uuid: e.uuid() }), na = It;
|
|
3070
|
+
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();
|
|
3071
|
+
var ra = e.object({ uuid: e.uuid() }), ia = e.object({ pagination: h.optional() }), aa = Ht, oa = Ut, sa = Wt, ca = e.void(), la = e.object({ token: e.string() }), ua = cn, da = e.object({
|
|
3034
3072
|
pagination: h.optional(),
|
|
3035
|
-
sort: e.array(
|
|
3036
|
-
filter:
|
|
3073
|
+
sort: e.array(Pn).optional(),
|
|
3074
|
+
filter: In.optional(),
|
|
3037
3075
|
search: e.string().optional()
|
|
3038
|
-
}),
|
|
3076
|
+
}), fa = Bn, pa = un, ma = dn, ha = e.object({ uuid: e.uuid() }), ga = e.void(), _a = e.object({ uuid: e.uuid() }), va = Mn, ya = Vn, ba = e.object({ uuid: e.uuid() }), xa = e.void(), Sa = Wn, Ca = e.object({ uuid: e.uuid() }), wa = e.void();
|
|
3039
3077
|
e.object({ uuid: e.uuid() }), e.void();
|
|
3040
|
-
var
|
|
3041
|
-
filter:
|
|
3078
|
+
var Ta = Gn, Ea = e.object({ uuid: e.uuid() }), Da = e.void(), Oa = Kn, ka = e.object({ uuid: e.uuid() }), Aa = e.void(), ja = e.object({ uuid: e.uuid() }), Ma = e.object({ uuid: e.uuid() }), Na = Jn, Pa = Zn, Fa = e.object({ uuid: e.uuid() }), Ia = e.void(), La = $n, Ra = e.object({ uuid: e.uuid() }), za = e.void(), Ba = e.object({ uuid: e.uuid() }), Va = e.object({ uuid: e.uuid() }), Ha = e.object({
|
|
3079
|
+
filter: er.optional(),
|
|
3042
3080
|
search: e.string().optional()
|
|
3043
|
-
}),
|
|
3044
|
-
filter:
|
|
3081
|
+
}), Ua = ir, Wa = e.object({
|
|
3082
|
+
filter: ar.optional(),
|
|
3045
3083
|
search: e.string().optional()
|
|
3046
|
-
}),
|
|
3047
|
-
filter:
|
|
3084
|
+
}), Ga = or, Ka = e.object({ uuid: e.uuid() }), qa = e.void(), Ja = e.object({ uuid: e.uuid() }), Ya = sr, Xa = e.object({ uuid: e.uuid() }), Za = e.void(), Qa = e.object({ uuid: e.uuid() }), $a = e.void(), eo = e.object({ uuid: e.uuid() }), to = e.void(), no = e.object({ uuid: e.uuid() }), ro = e.void(), io = e.object({ uuid: e.uuid() }), ao = e.void(), oo = e.object({
|
|
3085
|
+
filter: cr.optional(),
|
|
3048
3086
|
search: e.string().optional()
|
|
3049
|
-
}),
|
|
3050
|
-
filter:
|
|
3087
|
+
}), so = lr, co = e.object({
|
|
3088
|
+
filter: ur.optional(),
|
|
3051
3089
|
search: e.string().optional()
|
|
3052
|
-
}),
|
|
3053
|
-
filter:
|
|
3090
|
+
}), lo = dr, uo = e.object({ uuid: e.uuid() }), fo = e.void(), po = e.object({
|
|
3091
|
+
filter: fr.optional(),
|
|
3054
3092
|
search: e.string().optional()
|
|
3055
|
-
}),
|
|
3056
|
-
filter:
|
|
3093
|
+
}), mo = pr, ho = e.object({
|
|
3094
|
+
filter: mr.optional(),
|
|
3057
3095
|
search: e.string().optional()
|
|
3058
|
-
}),
|
|
3059
|
-
filter:
|
|
3060
|
-
pagination:
|
|
3061
|
-
}),
|
|
3096
|
+
}), go = hr, _o = e.object({ uuid: e.uuid() }), vo = e.void(), yo = e.object({
|
|
3097
|
+
filter: gr.optional(),
|
|
3098
|
+
pagination: vr.optional()
|
|
3099
|
+
}), bo = Or, xo = e.object({ uuid: e.uuid() }), So = Pr, Co = Ar, wo = e.object({ uuid: e.uuid() }), To = jr, Eo = e.object({
|
|
3062
3100
|
uuid: e.uuid(),
|
|
3063
3101
|
paymentUuid: e.uuid()
|
|
3064
|
-
}),
|
|
3102
|
+
}), Do = e.void(), Oo = Br, ko = Ur, Ao = e.void(), jo = e.object({ filter: Gr.optional() }), Mo = e.array($t), No = e.object({ uuid: e.uuid() }), Po = Qr, Fo = e.object({
|
|
3065
3103
|
pagination: h.optional(),
|
|
3066
|
-
filter:
|
|
3067
|
-
}),
|
|
3068
|
-
filter:
|
|
3104
|
+
filter: $r.optional()
|
|
3105
|
+
}), Io = ri, Lo = e.object({ uuid: e.uuid() }), Ro = e.object({ uuid: e.uuid() }), zo = e.object({ filter: ii.optional() }), Bo = ai, Vo = e.object({ filter: oi.optional() }), Ho = si, Uo = e.object({ token: e.string() }), Wo = pi, Go = e.object({ uuid: e.uuid() }), Ko = e.object({
|
|
3106
|
+
filter: mi.optional(),
|
|
3069
3107
|
search: e.string().optional()
|
|
3070
|
-
}),
|
|
3071
|
-
filter:
|
|
3108
|
+
}), qo = hi, Jo = e.object({
|
|
3109
|
+
filter: gi.optional(),
|
|
3072
3110
|
search: e.string().optional()
|
|
3073
|
-
}),
|
|
3111
|
+
}), Yo = _i, Xo = vi, Zo = e.object({ uuid: e.uuid() }), Qo = e.void(), $o = yi, 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.object({
|
|
3074
3112
|
pagination: h.optional(),
|
|
3075
|
-
filter:
|
|
3076
|
-
}),
|
|
3113
|
+
filter: bi.optional()
|
|
3114
|
+
}), os = Ei, ss = e.object({ token: e.string() }), cs = Mi, ls = Fi, us = Li, ds = e.void(), fs = Bi, ps = Wi, ms = Ui, hs = Hi, gs = (t) => (t?.client ?? p).get({
|
|
3077
3115
|
requestValidator: async (t) => await e.object({
|
|
3078
3116
|
body: e.never().optional(),
|
|
3079
3117
|
path: e.never().optional(),
|
|
3080
|
-
query:
|
|
3118
|
+
query: Gi.optional()
|
|
3081
3119
|
}).parseAsync(t),
|
|
3082
|
-
responseValidator: async (e) => await
|
|
3120
|
+
responseValidator: async (e) => await Ki.parseAsync(e),
|
|
3083
3121
|
url: "/api/v1/users",
|
|
3084
3122
|
...t
|
|
3085
|
-
}),
|
|
3123
|
+
}), _s = (t) => (t.client ?? p).post({
|
|
3086
3124
|
requestValidator: async (t) => await e.object({
|
|
3087
|
-
body:
|
|
3125
|
+
body: qi,
|
|
3088
3126
|
path: e.never().optional(),
|
|
3089
3127
|
query: e.never().optional()
|
|
3090
3128
|
}).parseAsync(t),
|
|
3091
|
-
responseValidator: async (e) => await
|
|
3129
|
+
responseValidator: async (e) => await Ji.parseAsync(e),
|
|
3092
3130
|
url: "/api/v1/files",
|
|
3093
3131
|
...t,
|
|
3094
3132
|
headers: {
|
|
3095
3133
|
"Content-Type": "application/json",
|
|
3096
3134
|
...t.headers
|
|
3097
3135
|
}
|
|
3098
|
-
}),
|
|
3136
|
+
}), vs = (t) => (t.client ?? p).post({
|
|
3099
3137
|
requestValidator: async (t) => await e.object({
|
|
3100
|
-
body:
|
|
3101
|
-
path:
|
|
3138
|
+
body: Yi,
|
|
3139
|
+
path: Xi,
|
|
3102
3140
|
query: e.never().optional()
|
|
3103
3141
|
}).parseAsync(t),
|
|
3104
|
-
responseValidator: async (e) => await
|
|
3142
|
+
responseValidator: async (e) => await Zi.parseAsync(e),
|
|
3105
3143
|
url: "/api/v2/files/{file}/confirm-upload",
|
|
3106
3144
|
...t,
|
|
3107
3145
|
headers: {
|
|
3108
3146
|
"Content-Type": "application/json",
|
|
3109
3147
|
...t.headers
|
|
3110
3148
|
}
|
|
3111
|
-
}),
|
|
3149
|
+
}), ys = (t) => (t.client ?? p).post({
|
|
3112
3150
|
requestValidator: async (t) => await e.object({
|
|
3113
3151
|
body: e.never().optional(),
|
|
3114
|
-
path:
|
|
3152
|
+
path: Qi,
|
|
3115
3153
|
query: e.never().optional()
|
|
3116
3154
|
}).parseAsync(t),
|
|
3117
3155
|
url: "/api/v1/files/{file}/download",
|
|
3118
3156
|
...t
|
|
3119
|
-
}),
|
|
3157
|
+
}), bs = (t) => (t?.client ?? p).get({
|
|
3120
3158
|
requestValidator: async (t) => await e.object({
|
|
3121
3159
|
body: e.never().optional(),
|
|
3122
3160
|
path: e.never().optional(),
|
|
3123
|
-
query:
|
|
3161
|
+
query: $i.optional()
|
|
3124
3162
|
}).parseAsync(t),
|
|
3125
|
-
responseValidator: async (e) => await
|
|
3163
|
+
responseValidator: async (e) => await ea.parseAsync(e),
|
|
3126
3164
|
url: "/api/v1/customers",
|
|
3127
3165
|
...t
|
|
3128
|
-
}),
|
|
3166
|
+
}), xs = (t) => (t.client ?? p).get({
|
|
3129
3167
|
requestValidator: async (t) => await e.object({
|
|
3130
3168
|
body: e.never().optional(),
|
|
3131
|
-
path:
|
|
3169
|
+
path: ta,
|
|
3132
3170
|
query: e.never().optional()
|
|
3133
3171
|
}).parseAsync(t),
|
|
3134
|
-
responseValidator: async (e) => await
|
|
3172
|
+
responseValidator: async (e) => await na.parseAsync(e),
|
|
3135
3173
|
url: "/api/v1/customers/{uuid}",
|
|
3136
3174
|
...t
|
|
3137
|
-
}),
|
|
3175
|
+
}), Ss = (t) => (t.client ?? p).get({
|
|
3138
3176
|
requestValidator: async (t) => await e.object({
|
|
3139
3177
|
body: e.never().optional(),
|
|
3140
|
-
path:
|
|
3141
|
-
query:
|
|
3178
|
+
path: ra,
|
|
3179
|
+
query: ia.optional()
|
|
3142
3180
|
}).parseAsync(t),
|
|
3143
|
-
responseValidator: async (e) => await
|
|
3181
|
+
responseValidator: async (e) => await aa.parseAsync(e),
|
|
3144
3182
|
url: "/api/v1/customers/{uuid}/recipients",
|
|
3145
3183
|
...t
|
|
3146
|
-
}),
|
|
3184
|
+
}), Cs = (t) => (t?.client ?? p).get({
|
|
3147
3185
|
requestValidator: async (t) => await e.object({
|
|
3148
3186
|
body: e.never().optional(),
|
|
3149
3187
|
path: e.never().optional(),
|
|
3150
3188
|
query: e.never().optional()
|
|
3151
3189
|
}).parseAsync(t),
|
|
3152
|
-
responseValidator: async (e) => await
|
|
3190
|
+
responseValidator: async (e) => await oa.parseAsync(e),
|
|
3153
3191
|
url: "/api/v1/issuers",
|
|
3154
3192
|
...t
|
|
3155
|
-
}),
|
|
3193
|
+
}), ws = (t) => (t.client ?? p).put({
|
|
3156
3194
|
requestValidator: async (t) => await e.object({
|
|
3157
|
-
body:
|
|
3195
|
+
body: sa,
|
|
3158
3196
|
path: e.never().optional(),
|
|
3159
3197
|
query: e.never().optional()
|
|
3160
3198
|
}).parseAsync(t),
|
|
3161
|
-
responseValidator: async (e) => await
|
|
3199
|
+
responseValidator: async (e) => await ca.parseAsync(e),
|
|
3162
3200
|
url: "/api/v1/issuers",
|
|
3163
3201
|
...t,
|
|
3164
3202
|
headers: {
|
|
3165
3203
|
"Content-Type": "application/json",
|
|
3166
3204
|
...t.headers
|
|
3167
3205
|
}
|
|
3168
|
-
}),
|
|
3206
|
+
}), Ts = (t) => (t.client ?? p).get({
|
|
3169
3207
|
requestValidator: async (t) => await e.object({
|
|
3170
3208
|
body: e.never().optional(),
|
|
3171
3209
|
path: e.never().optional(),
|
|
3172
|
-
query:
|
|
3210
|
+
query: la
|
|
3173
3211
|
}).parseAsync(t),
|
|
3174
|
-
responseValidator: async (e) => await
|
|
3212
|
+
responseValidator: async (e) => await ua.parseAsync(e),
|
|
3175
3213
|
url: "/api/v1/public/invoices",
|
|
3176
3214
|
...t
|
|
3177
|
-
}),
|
|
3215
|
+
}), Es = (t) => (t?.client ?? p).get({
|
|
3178
3216
|
requestValidator: async (t) => await e.object({
|
|
3179
3217
|
body: e.never().optional(),
|
|
3180
3218
|
path: e.never().optional(),
|
|
3181
|
-
query:
|
|
3219
|
+
query: da.optional()
|
|
3182
3220
|
}).parseAsync(t),
|
|
3183
|
-
responseValidator: async (e) => await
|
|
3221
|
+
responseValidator: async (e) => await fa.parseAsync(e),
|
|
3184
3222
|
url: "/api/v1/invoices",
|
|
3185
3223
|
...t
|
|
3186
|
-
}),
|
|
3224
|
+
}), Ds = (t) => (t.client ?? p).post({
|
|
3187
3225
|
requestValidator: async (t) => await e.object({
|
|
3188
|
-
body:
|
|
3226
|
+
body: pa,
|
|
3189
3227
|
path: e.never().optional(),
|
|
3190
3228
|
query: e.never().optional()
|
|
3191
3229
|
}).parseAsync(t),
|
|
3192
|
-
responseValidator: async (e) => await
|
|
3230
|
+
responseValidator: async (e) => await ma.parseAsync(e),
|
|
3193
3231
|
url: "/api/v1/invoices",
|
|
3194
3232
|
...t,
|
|
3195
3233
|
headers: {
|
|
3196
3234
|
"Content-Type": "application/json",
|
|
3197
3235
|
...t.headers
|
|
3198
3236
|
}
|
|
3199
|
-
}),
|
|
3237
|
+
}), Os = (t) => (t.client ?? p).delete({
|
|
3200
3238
|
requestValidator: async (t) => await e.object({
|
|
3201
3239
|
body: e.never().optional(),
|
|
3202
|
-
path:
|
|
3240
|
+
path: ha,
|
|
3203
3241
|
query: e.never().optional()
|
|
3204
3242
|
}).parseAsync(t),
|
|
3205
|
-
responseValidator: async (e) => await
|
|
3243
|
+
responseValidator: async (e) => await ga.parseAsync(e),
|
|
3206
3244
|
url: "/api/v1/invoices/{uuid}",
|
|
3207
3245
|
...t
|
|
3208
|
-
}),
|
|
3246
|
+
}), ks = (t) => (t.client ?? p).get({
|
|
3209
3247
|
requestValidator: async (t) => await e.object({
|
|
3210
3248
|
body: e.never().optional(),
|
|
3211
|
-
path:
|
|
3249
|
+
path: _a,
|
|
3212
3250
|
query: e.never().optional()
|
|
3213
3251
|
}).parseAsync(t),
|
|
3214
|
-
responseValidator: async (e) => await
|
|
3252
|
+
responseValidator: async (e) => await va.parseAsync(e),
|
|
3215
3253
|
url: "/api/v1/invoices/{uuid}",
|
|
3216
3254
|
...t
|
|
3217
|
-
}),
|
|
3255
|
+
}), As = (t) => (t.client ?? p).patch({
|
|
3218
3256
|
requestValidator: async (t) => await e.object({
|
|
3219
|
-
body:
|
|
3220
|
-
path:
|
|
3257
|
+
body: ya,
|
|
3258
|
+
path: ba,
|
|
3221
3259
|
query: e.never().optional()
|
|
3222
3260
|
}).parseAsync(t),
|
|
3223
|
-
responseValidator: async (e) => await
|
|
3261
|
+
responseValidator: async (e) => await xa.parseAsync(e),
|
|
3224
3262
|
url: "/api/v1/invoices/{uuid}",
|
|
3225
3263
|
...t,
|
|
3226
3264
|
headers: {
|
|
3227
3265
|
"Content-Type": "application/json",
|
|
3228
3266
|
...t.headers
|
|
3229
3267
|
}
|
|
3230
|
-
}),
|
|
3268
|
+
}), js = (t) => (t.client ?? p).patch({
|
|
3231
3269
|
requestValidator: async (t) => await e.object({
|
|
3232
|
-
body:
|
|
3233
|
-
path:
|
|
3270
|
+
body: Sa,
|
|
3271
|
+
path: Ca,
|
|
3234
3272
|
query: e.never().optional()
|
|
3235
3273
|
}).parseAsync(t),
|
|
3236
|
-
responseValidator: async (e) => await
|
|
3274
|
+
responseValidator: async (e) => await wa.parseAsync(e),
|
|
3237
3275
|
url: "/api/v1/invoices/{uuid}/lines",
|
|
3238
3276
|
...t,
|
|
3239
3277
|
headers: {
|
|
3240
3278
|
"Content-Type": "application/json",
|
|
3241
3279
|
...t.headers
|
|
3242
3280
|
}
|
|
3243
|
-
}),
|
|
3281
|
+
}), Ms = (t) => (t.client ?? p).patch({
|
|
3244
3282
|
requestValidator: async (t) => await e.object({
|
|
3245
|
-
body:
|
|
3246
|
-
path:
|
|
3283
|
+
body: Ta,
|
|
3284
|
+
path: Ea,
|
|
3247
3285
|
query: e.never().optional()
|
|
3248
3286
|
}).parseAsync(t),
|
|
3249
|
-
responseValidator: async (e) => await
|
|
3287
|
+
responseValidator: async (e) => await Da.parseAsync(e),
|
|
3250
3288
|
url: "/api/v2/invoices/{uuid}/discount",
|
|
3251
3289
|
...t,
|
|
3252
3290
|
headers: {
|
|
3253
3291
|
"Content-Type": "application/json",
|
|
3254
3292
|
...t.headers
|
|
3255
3293
|
}
|
|
3256
|
-
}),
|
|
3294
|
+
}), Ns = (t) => (t.client ?? p).patch({
|
|
3257
3295
|
requestValidator: async (t) => await e.object({
|
|
3258
|
-
body:
|
|
3259
|
-
path:
|
|
3296
|
+
body: Oa,
|
|
3297
|
+
path: ka,
|
|
3260
3298
|
query: e.never().optional()
|
|
3261
3299
|
}).parseAsync(t),
|
|
3262
|
-
responseValidator: async (e) => await
|
|
3300
|
+
responseValidator: async (e) => await Aa.parseAsync(e),
|
|
3263
3301
|
url: "/api/v1/invoices/{uuid}/attachments",
|
|
3264
3302
|
...t,
|
|
3265
3303
|
headers: {
|
|
3266
3304
|
"Content-Type": "application/json",
|
|
3267
3305
|
...t.headers
|
|
3268
3306
|
}
|
|
3269
|
-
}),
|
|
3307
|
+
}), Ps = (t) => (t.client ?? p).post({
|
|
3270
3308
|
requestValidator: async (t) => await e.object({
|
|
3271
3309
|
body: e.never().optional(),
|
|
3272
|
-
path:
|
|
3310
|
+
path: ja,
|
|
3273
3311
|
query: e.never().optional()
|
|
3274
3312
|
}).parseAsync(t),
|
|
3275
3313
|
url: "/api/v1/invoices/{uuid}/finalize",
|
|
3276
3314
|
...t
|
|
3277
|
-
}),
|
|
3315
|
+
}), Fs = (t) => (t.client ?? p).post({
|
|
3278
3316
|
requestValidator: async (t) => await e.object({
|
|
3279
3317
|
body: e.never().optional(),
|
|
3280
|
-
path:
|
|
3318
|
+
path: Ma,
|
|
3281
3319
|
query: e.never().optional()
|
|
3282
3320
|
}).parseAsync(t),
|
|
3283
|
-
responseValidator: async (e) => await
|
|
3321
|
+
responseValidator: async (e) => await Na.parseAsync(e),
|
|
3284
3322
|
url: "/api/v1/invoices/{uuid}/credit-note",
|
|
3285
3323
|
...t
|
|
3286
|
-
}),
|
|
3324
|
+
}), Is = (t) => (t.client ?? p).patch({
|
|
3287
3325
|
requestValidator: async (t) => await e.object({
|
|
3288
|
-
body:
|
|
3289
|
-
path:
|
|
3326
|
+
body: Pa,
|
|
3327
|
+
path: Fa,
|
|
3290
3328
|
query: e.never().optional()
|
|
3291
3329
|
}).parseAsync(t),
|
|
3292
|
-
responseValidator: async (e) => await
|
|
3330
|
+
responseValidator: async (e) => await Ia.parseAsync(e),
|
|
3293
3331
|
url: "/api/v1/credit-notes/{uuid}/lines",
|
|
3294
3332
|
...t,
|
|
3295
3333
|
headers: {
|
|
3296
3334
|
"Content-Type": "application/json",
|
|
3297
3335
|
...t.headers
|
|
3298
3336
|
}
|
|
3299
|
-
}),
|
|
3337
|
+
}), Ls = (t) => (t.client ?? p).patch({
|
|
3300
3338
|
requestValidator: async (t) => await e.object({
|
|
3301
|
-
body:
|
|
3302
|
-
path:
|
|
3339
|
+
body: La,
|
|
3340
|
+
path: Ra,
|
|
3303
3341
|
query: e.never().optional()
|
|
3304
3342
|
}).parseAsync(t),
|
|
3305
|
-
responseValidator: async (e) => await
|
|
3343
|
+
responseValidator: async (e) => await za.parseAsync(e),
|
|
3306
3344
|
url: "/api/v1/credit-notes/{uuid}",
|
|
3307
3345
|
...t,
|
|
3308
3346
|
headers: {
|
|
3309
3347
|
"Content-Type": "application/json",
|
|
3310
3348
|
...t.headers
|
|
3311
3349
|
}
|
|
3312
|
-
}),
|
|
3350
|
+
}), Rs = (t) => (t.client ?? p).post({
|
|
3313
3351
|
requestValidator: async (t) => await e.object({
|
|
3314
3352
|
body: e.never().optional(),
|
|
3315
|
-
path:
|
|
3353
|
+
path: Ba,
|
|
3316
3354
|
query: e.never().optional()
|
|
3317
3355
|
}).parseAsync(t),
|
|
3318
3356
|
url: "/api/v1/credit-notes/{uuid}/finalize",
|
|
3319
3357
|
...t
|
|
3320
|
-
}),
|
|
3358
|
+
}), zs = (t) => (t.client ?? p).post({
|
|
3321
3359
|
requestValidator: async (t) => await e.object({
|
|
3322
3360
|
body: e.never().optional(),
|
|
3323
|
-
path:
|
|
3361
|
+
path: Va,
|
|
3324
3362
|
query: e.never().optional()
|
|
3325
3363
|
}).parseAsync(t),
|
|
3326
3364
|
url: "/api/v1/invoices/{uuid}/send-email",
|
|
3327
3365
|
...t
|
|
3328
|
-
}),
|
|
3366
|
+
}), Bs = (t) => (t?.client ?? p).post({
|
|
3329
3367
|
requestValidator: async (t) => await e.object({
|
|
3330
3368
|
body: e.never().optional(),
|
|
3331
3369
|
path: e.never().optional(),
|
|
3332
|
-
query:
|
|
3370
|
+
query: Ha.optional()
|
|
3333
3371
|
}).parseAsync(t),
|
|
3334
|
-
responseValidator: async (e) => await
|
|
3372
|
+
responseValidator: async (e) => await Ua.parseAsync(e),
|
|
3335
3373
|
url: "/api/v1/invoices/send-mail",
|
|
3336
3374
|
...t
|
|
3337
|
-
}),
|
|
3375
|
+
}), Vs = (t) => (t?.client ?? p).get({
|
|
3338
3376
|
requestValidator: async (t) => await e.object({
|
|
3339
3377
|
body: e.never().optional(),
|
|
3340
3378
|
path: e.never().optional(),
|
|
3341
|
-
query:
|
|
3379
|
+
query: Wa.optional()
|
|
3342
3380
|
}).parseAsync(t),
|
|
3343
|
-
responseValidator: async (e) => await
|
|
3381
|
+
responseValidator: async (e) => await Ga.parseAsync(e),
|
|
3344
3382
|
url: "/api/v1/invoices/send-mail/preview",
|
|
3345
3383
|
...t
|
|
3346
|
-
}),
|
|
3384
|
+
}), Hs = (t) => (t.client ?? p).post({
|
|
3347
3385
|
requestValidator: async (t) => await e.object({
|
|
3348
3386
|
body: e.never().optional(),
|
|
3349
|
-
path:
|
|
3387
|
+
path: Ka,
|
|
3350
3388
|
query: e.never().optional()
|
|
3351
3389
|
}).parseAsync(t),
|
|
3352
|
-
responseValidator: async (e) => await
|
|
3390
|
+
responseValidator: async (e) => await qa.parseAsync(e),
|
|
3353
3391
|
url: "/api/v1/invoices/{uuid}/mark-as-ready",
|
|
3354
3392
|
...t
|
|
3355
|
-
}),
|
|
3393
|
+
}), Us = (t) => (t.client ?? p).post({
|
|
3356
3394
|
requestValidator: async (t) => await e.object({
|
|
3357
3395
|
body: e.never().optional(),
|
|
3358
|
-
path:
|
|
3396
|
+
path: Ja,
|
|
3359
3397
|
query: e.never().optional()
|
|
3360
3398
|
}).parseAsync(t),
|
|
3361
|
-
responseValidator: async (e) => await
|
|
3399
|
+
responseValidator: async (e) => await Ya.parseAsync(e),
|
|
3362
3400
|
url: "/api/v1/invoices/{uuid}/duplicate",
|
|
3363
3401
|
...t
|
|
3364
|
-
}),
|
|
3402
|
+
}), Ws = (t) => (t.client ?? p).post({
|
|
3365
3403
|
requestValidator: async (t) => await e.object({
|
|
3366
3404
|
body: e.never().optional(),
|
|
3367
|
-
path:
|
|
3405
|
+
path: Xa,
|
|
3368
3406
|
query: e.never().optional()
|
|
3369
3407
|
}).parseAsync(t),
|
|
3370
|
-
responseValidator: async (e) => await
|
|
3408
|
+
responseValidator: async (e) => await Za.parseAsync(e),
|
|
3371
3409
|
url: "/api/v1/invoices/{uuid}/mark-as-draft",
|
|
3372
3410
|
...t
|
|
3373
|
-
}),
|
|
3411
|
+
}), Gs = (t) => (t.client ?? p).post({
|
|
3374
3412
|
requestValidator: async (t) => await e.object({
|
|
3375
3413
|
body: e.never().optional(),
|
|
3376
|
-
path:
|
|
3414
|
+
path: Qa,
|
|
3377
3415
|
query: e.never().optional()
|
|
3378
3416
|
}).parseAsync(t),
|
|
3379
|
-
responseValidator: async (e) => await
|
|
3417
|
+
responseValidator: async (e) => await $a.parseAsync(e),
|
|
3380
3418
|
url: "/api/v1/invoices/{uuid}/mark-as-prior-approval-required",
|
|
3381
3419
|
...t
|
|
3382
|
-
}),
|
|
3420
|
+
}), Ks = (t) => (t.client ?? p).post({
|
|
3383
3421
|
requestValidator: async (t) => await e.object({
|
|
3384
3422
|
body: e.never().optional(),
|
|
3385
|
-
path:
|
|
3423
|
+
path: eo,
|
|
3386
3424
|
query: e.never().optional()
|
|
3387
3425
|
}).parseAsync(t),
|
|
3388
|
-
responseValidator: async (e) => await
|
|
3426
|
+
responseValidator: async (e) => await to.parseAsync(e),
|
|
3389
3427
|
url: "/api/v1/invoices/{uuid}/unmark-as-prior-approval-required",
|
|
3390
3428
|
...t
|
|
3391
|
-
}),
|
|
3429
|
+
}), qs = (t) => (t.client ?? p).post({
|
|
3392
3430
|
requestValidator: async (t) => await e.object({
|
|
3393
3431
|
body: e.never().optional(),
|
|
3394
|
-
path:
|
|
3432
|
+
path: no,
|
|
3395
3433
|
query: e.never().optional()
|
|
3396
3434
|
}).parseAsync(t),
|
|
3397
|
-
responseValidator: async (e) => await
|
|
3435
|
+
responseValidator: async (e) => await ro.parseAsync(e),
|
|
3398
3436
|
url: "/api/v1/invoices/{uuid}/mark-as-disputed",
|
|
3399
3437
|
...t
|
|
3400
|
-
}),
|
|
3438
|
+
}), Js = (t) => (t.client ?? p).post({
|
|
3401
3439
|
requestValidator: async (t) => await e.object({
|
|
3402
3440
|
body: e.never().optional(),
|
|
3403
|
-
path:
|
|
3441
|
+
path: io,
|
|
3404
3442
|
query: e.never().optional()
|
|
3405
3443
|
}).parseAsync(t),
|
|
3406
|
-
responseValidator: async (e) => await
|
|
3444
|
+
responseValidator: async (e) => await ao.parseAsync(e),
|
|
3407
3445
|
url: "/api/v1/invoices/{uuid}/mark-as-paid",
|
|
3408
3446
|
...t
|
|
3409
|
-
}),
|
|
3447
|
+
}), Ys = (t) => (t?.client ?? p).get({
|
|
3410
3448
|
requestValidator: async (t) => await e.object({
|
|
3411
3449
|
body: e.never().optional(),
|
|
3412
3450
|
path: e.never().optional(),
|
|
3413
|
-
query:
|
|
3451
|
+
query: oo.optional()
|
|
3414
3452
|
}).parseAsync(t),
|
|
3415
|
-
responseValidator: async (e) => await
|
|
3453
|
+
responseValidator: async (e) => await so.parseAsync(e),
|
|
3416
3454
|
url: "/api/v1/invoices/mark-as-ready/preview",
|
|
3417
3455
|
...t
|
|
3418
|
-
}),
|
|
3456
|
+
}), Xs = (t) => (t?.client ?? p).post({
|
|
3419
3457
|
requestValidator: async (t) => await e.object({
|
|
3420
3458
|
body: e.never().optional(),
|
|
3421
3459
|
path: e.never().optional(),
|
|
3422
|
-
query:
|
|
3460
|
+
query: co.optional()
|
|
3423
3461
|
}).parseAsync(t),
|
|
3424
|
-
responseValidator: async (e) => await
|
|
3462
|
+
responseValidator: async (e) => await lo.parseAsync(e),
|
|
3425
3463
|
url: "/api/v1/invoices/mark-as-ready",
|
|
3426
3464
|
...t
|
|
3427
|
-
}),
|
|
3465
|
+
}), Zs = (t) => (t.client ?? p).post({
|
|
3428
3466
|
requestValidator: async (t) => await e.object({
|
|
3429
3467
|
body: e.never().optional(),
|
|
3430
|
-
path:
|
|
3468
|
+
path: uo,
|
|
3431
3469
|
query: e.never().optional()
|
|
3432
3470
|
}).parseAsync(t),
|
|
3433
|
-
responseValidator: async (e) => await
|
|
3471
|
+
responseValidator: async (e) => await fo.parseAsync(e),
|
|
3434
3472
|
url: "/api/v1/invoices/{uuid}/withdraw-disputed",
|
|
3435
3473
|
...t
|
|
3436
|
-
}),
|
|
3474
|
+
}), Qs = (t) => (t?.client ?? p).get({
|
|
3437
3475
|
requestValidator: async (t) => await e.object({
|
|
3438
3476
|
body: e.never().optional(),
|
|
3439
3477
|
path: e.never().optional(),
|
|
3440
|
-
query:
|
|
3478
|
+
query: po.optional()
|
|
3441
3479
|
}).parseAsync(t),
|
|
3442
|
-
responseValidator: async (e) => await
|
|
3480
|
+
responseValidator: async (e) => await mo.parseAsync(e),
|
|
3443
3481
|
url: "/api/v1/invoices/finalize/preview",
|
|
3444
3482
|
...t
|
|
3445
|
-
}),
|
|
3483
|
+
}), $s = (t) => (t?.client ?? p).post({
|
|
3446
3484
|
requestValidator: async (t) => await e.object({
|
|
3447
3485
|
body: e.never().optional(),
|
|
3448
3486
|
path: e.never().optional(),
|
|
3449
|
-
query:
|
|
3487
|
+
query: ho.optional()
|
|
3450
3488
|
}).parseAsync(t),
|
|
3451
|
-
responseValidator: async (e) => await
|
|
3489
|
+
responseValidator: async (e) => await go.parseAsync(e),
|
|
3452
3490
|
url: "/api/v1/invoices/finalize",
|
|
3453
3491
|
...t
|
|
3454
|
-
}),
|
|
3492
|
+
}), ec = (t) => (t.client ?? p).post({
|
|
3455
3493
|
requestValidator: async (t) => await e.object({
|
|
3456
3494
|
body: e.never().optional(),
|
|
3457
|
-
path:
|
|
3495
|
+
path: _o,
|
|
3458
3496
|
query: e.never().optional()
|
|
3459
3497
|
}).parseAsync(t),
|
|
3460
|
-
responseValidator: async (e) => await
|
|
3498
|
+
responseValidator: async (e) => await vo.parseAsync(e),
|
|
3461
3499
|
url: "/api/v1/invoices/{uuid}/restore-from-pro-forma",
|
|
3462
3500
|
...t
|
|
3463
|
-
}),
|
|
3501
|
+
}), tc = (t) => (t?.client ?? p).get({
|
|
3464
3502
|
requestValidator: async (t) => await e.object({
|
|
3465
3503
|
body: e.never().optional(),
|
|
3466
3504
|
path: e.never().optional(),
|
|
3467
|
-
query:
|
|
3505
|
+
query: yo.optional()
|
|
3468
3506
|
}).parseAsync(t),
|
|
3469
|
-
responseValidator: async (e) => await
|
|
3507
|
+
responseValidator: async (e) => await bo.parseAsync(e),
|
|
3470
3508
|
url: "/api/v1/activity-logs",
|
|
3471
3509
|
...t
|
|
3472
|
-
}),
|
|
3510
|
+
}), nc = (t) => (t.client ?? p).get({
|
|
3473
3511
|
requestValidator: async (t) => await e.object({
|
|
3474
3512
|
body: e.never().optional(),
|
|
3475
|
-
path:
|
|
3513
|
+
path: xo,
|
|
3476
3514
|
query: e.never().optional()
|
|
3477
3515
|
}).parseAsync(t),
|
|
3478
|
-
responseValidator: async (e) => await
|
|
3516
|
+
responseValidator: async (e) => await So.parseAsync(e),
|
|
3479
3517
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
3480
3518
|
...t
|
|
3481
|
-
}),
|
|
3519
|
+
}), rc = (t) => (t.client ?? p).post({
|
|
3482
3520
|
requestValidator: async (t) => await e.object({
|
|
3483
|
-
body:
|
|
3484
|
-
path:
|
|
3521
|
+
body: Co,
|
|
3522
|
+
path: wo,
|
|
3485
3523
|
query: e.never().optional()
|
|
3486
3524
|
}).parseAsync(t),
|
|
3487
|
-
responseValidator: async (e) => await
|
|
3525
|
+
responseValidator: async (e) => await To.parseAsync(e),
|
|
3488
3526
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
3489
3527
|
...t,
|
|
3490
3528
|
headers: {
|
|
3491
3529
|
"Content-Type": "application/json",
|
|
3492
3530
|
...t.headers
|
|
3493
3531
|
}
|
|
3494
|
-
}),
|
|
3532
|
+
}), ic = (t) => (t.client ?? p).delete({
|
|
3495
3533
|
requestValidator: async (t) => await e.object({
|
|
3496
3534
|
body: e.never().optional(),
|
|
3497
|
-
path:
|
|
3535
|
+
path: Eo,
|
|
3498
3536
|
query: e.never().optional()
|
|
3499
3537
|
}).parseAsync(t),
|
|
3500
|
-
responseValidator: async (e) => await
|
|
3538
|
+
responseValidator: async (e) => await Do.parseAsync(e),
|
|
3501
3539
|
url: "/api/v1/invoices/{uuid}/payments/{paymentUuid}",
|
|
3502
3540
|
...t
|
|
3503
|
-
}),
|
|
3541
|
+
}), ac = (t) => (t?.client ?? p).get({
|
|
3504
3542
|
requestValidator: async (t) => await e.object({
|
|
3505
3543
|
body: e.never().optional(),
|
|
3506
3544
|
path: e.never().optional(),
|
|
3507
3545
|
query: e.never().optional()
|
|
3508
3546
|
}).parseAsync(t),
|
|
3509
|
-
responseValidator: async (e) => await
|
|
3547
|
+
responseValidator: async (e) => await Oo.parseAsync(e),
|
|
3510
3548
|
url: "/api/v1/issuers/reminder-configs",
|
|
3511
3549
|
...t
|
|
3512
|
-
}),
|
|
3550
|
+
}), oc = (t) => (t.client ?? p).patch({
|
|
3513
3551
|
requestValidator: async (t) => await e.object({
|
|
3514
|
-
body:
|
|
3552
|
+
body: ko,
|
|
3515
3553
|
path: e.never().optional(),
|
|
3516
3554
|
query: e.never().optional()
|
|
3517
3555
|
}).parseAsync(t),
|
|
3518
|
-
responseValidator: async (e) => await
|
|
3556
|
+
responseValidator: async (e) => await Ao.parseAsync(e),
|
|
3519
3557
|
url: "/api/v1/issuers/reminder-configs",
|
|
3520
3558
|
...t,
|
|
3521
3559
|
headers: {
|
|
3522
3560
|
"Content-Type": "application/json",
|
|
3523
3561
|
...t.headers
|
|
3524
3562
|
}
|
|
3525
|
-
}),
|
|
3563
|
+
}), sc = (t) => (t?.client ?? p).get({
|
|
3526
3564
|
requestValidator: async (t) => await e.object({
|
|
3527
3565
|
body: e.never().optional(),
|
|
3528
3566
|
path: e.never().optional(),
|
|
3529
|
-
query:
|
|
3567
|
+
query: jo.optional()
|
|
3530
3568
|
}).parseAsync(t),
|
|
3531
|
-
responseValidator: async (e) => await
|
|
3569
|
+
responseValidator: async (e) => await Mo.parseAsync(e),
|
|
3532
3570
|
url: "/api/v1/custom-field-definitions",
|
|
3533
3571
|
...t
|
|
3534
|
-
}),
|
|
3572
|
+
}), cc = (t) => (t.client ?? p).get({
|
|
3535
3573
|
requestValidator: async (t) => await e.object({
|
|
3536
3574
|
body: e.never().optional(),
|
|
3537
|
-
path:
|
|
3575
|
+
path: No,
|
|
3538
3576
|
query: e.never().optional()
|
|
3539
3577
|
}).parseAsync(t),
|
|
3540
|
-
responseValidator: async (e) => await
|
|
3578
|
+
responseValidator: async (e) => await Po.parseAsync(e),
|
|
3541
3579
|
url: "/api/v1/dunning-cases/{uuid}",
|
|
3542
3580
|
...t
|
|
3543
|
-
}),
|
|
3581
|
+
}), lc = (t) => (t?.client ?? p).get({
|
|
3544
3582
|
requestValidator: async (t) => await e.object({
|
|
3545
3583
|
body: e.never().optional(),
|
|
3546
3584
|
path: e.never().optional(),
|
|
3547
|
-
query:
|
|
3585
|
+
query: Fo.optional()
|
|
3548
3586
|
}).parseAsync(t),
|
|
3549
|
-
responseValidator: async (e) => await
|
|
3587
|
+
responseValidator: async (e) => await Io.parseAsync(e),
|
|
3550
3588
|
url: "/api/v1/dunning-cases",
|
|
3551
3589
|
...t
|
|
3552
|
-
}),
|
|
3590
|
+
}), uc = (t) => (t.client ?? p).post({
|
|
3553
3591
|
requestValidator: async (t) => await e.object({
|
|
3554
3592
|
body: e.never().optional(),
|
|
3555
|
-
path:
|
|
3593
|
+
path: Lo,
|
|
3556
3594
|
query: e.never().optional()
|
|
3557
3595
|
}).parseAsync(t),
|
|
3558
3596
|
url: "/api/v1/dunning-cases/{uuid}/send",
|
|
3559
3597
|
...t
|
|
3560
|
-
}),
|
|
3598
|
+
}), dc = (t) => (t.client ?? p).post({
|
|
3561
3599
|
requestValidator: async (t) => await e.object({
|
|
3562
3600
|
body: e.never().optional(),
|
|
3563
|
-
path:
|
|
3601
|
+
path: Ro,
|
|
3564
3602
|
query: e.never().optional()
|
|
3565
3603
|
}).parseAsync(t),
|
|
3566
3604
|
url: "/api/v1/dunning-case-reminders/{uuid}/retry",
|
|
3567
3605
|
...t
|
|
3568
|
-
}),
|
|
3606
|
+
}), fc = (t) => (t?.client ?? p).post({
|
|
3569
3607
|
requestValidator: async (t) => await e.object({
|
|
3570
3608
|
body: e.never().optional(),
|
|
3571
3609
|
path: e.never().optional(),
|
|
3572
|
-
query:
|
|
3610
|
+
query: zo.optional()
|
|
3573
3611
|
}).parseAsync(t),
|
|
3574
|
-
responseValidator: async (e) => await
|
|
3612
|
+
responseValidator: async (e) => await Bo.parseAsync(e),
|
|
3575
3613
|
url: "/api/v1/dunning-cases/send",
|
|
3576
3614
|
...t
|
|
3577
|
-
}),
|
|
3615
|
+
}), pc = (t) => (t?.client ?? p).get({
|
|
3578
3616
|
requestValidator: async (t) => await e.object({
|
|
3579
3617
|
body: e.never().optional(),
|
|
3580
3618
|
path: e.never().optional(),
|
|
3581
|
-
query:
|
|
3619
|
+
query: Vo.optional()
|
|
3582
3620
|
}).parseAsync(t),
|
|
3583
|
-
responseValidator: async (e) => await
|
|
3621
|
+
responseValidator: async (e) => await Ho.parseAsync(e),
|
|
3584
3622
|
url: "/api/v1/dunning-cases/send/preview",
|
|
3585
3623
|
...t
|
|
3586
|
-
}),
|
|
3624
|
+
}), mc = (t) => (t.client ?? p).get({
|
|
3587
3625
|
requestValidator: async (t) => await e.object({
|
|
3588
3626
|
body: e.never().optional(),
|
|
3589
3627
|
path: e.never().optional(),
|
|
3590
|
-
query:
|
|
3628
|
+
query: Uo
|
|
3591
3629
|
}).parseAsync(t),
|
|
3592
|
-
responseValidator: async (e) => await
|
|
3630
|
+
responseValidator: async (e) => await Wo.parseAsync(e),
|
|
3593
3631
|
url: "/api/v1/public/dunning-case-reminder-invoices",
|
|
3594
3632
|
...t
|
|
3595
|
-
}),
|
|
3633
|
+
}), hc = (t) => (t.client ?? p).post({
|
|
3596
3634
|
requestValidator: async (t) => await e.object({
|
|
3597
3635
|
body: e.never().optional(),
|
|
3598
|
-
path:
|
|
3636
|
+
path: Go,
|
|
3599
3637
|
query: e.never().optional()
|
|
3600
3638
|
}).parseAsync(t),
|
|
3601
3639
|
url: "/api/v1/invoices/{uuid}/send-approval",
|
|
3602
3640
|
...t
|
|
3603
|
-
}),
|
|
3641
|
+
}), gc = (t) => (t?.client ?? p).get({
|
|
3604
3642
|
requestValidator: async (t) => await e.object({
|
|
3605
3643
|
body: e.never().optional(),
|
|
3606
3644
|
path: e.never().optional(),
|
|
3607
|
-
query:
|
|
3645
|
+
query: Ko.optional()
|
|
3608
3646
|
}).parseAsync(t),
|
|
3609
|
-
responseValidator: async (e) => await
|
|
3647
|
+
responseValidator: async (e) => await qo.parseAsync(e),
|
|
3610
3648
|
url: "/api/v1/invoices/send-approval/preview",
|
|
3611
3649
|
...t
|
|
3612
|
-
}),
|
|
3650
|
+
}), _c = (t) => (t?.client ?? p).post({
|
|
3613
3651
|
requestValidator: async (t) => await e.object({
|
|
3614
3652
|
body: e.never().optional(),
|
|
3615
3653
|
path: e.never().optional(),
|
|
3616
|
-
query:
|
|
3654
|
+
query: Jo.optional()
|
|
3617
3655
|
}).parseAsync(t),
|
|
3618
|
-
responseValidator: async (e) => await
|
|
3656
|
+
responseValidator: async (e) => await Yo.parseAsync(e),
|
|
3619
3657
|
url: "/api/v1/invoices/send-approval",
|
|
3620
3658
|
...t
|
|
3621
|
-
}),
|
|
3659
|
+
}), vc = (t) => (t.client ?? p).post({
|
|
3622
3660
|
requestValidator: async (t) => await e.object({
|
|
3623
|
-
body:
|
|
3624
|
-
path:
|
|
3661
|
+
body: Xo,
|
|
3662
|
+
path: Zo,
|
|
3625
3663
|
query: e.never().optional()
|
|
3626
3664
|
}).parseAsync(t),
|
|
3627
|
-
responseValidator: async (e) => await
|
|
3665
|
+
responseValidator: async (e) => await Qo.parseAsync(e),
|
|
3628
3666
|
url: "/api/v1/invoice-approvals/{uuid}/approve",
|
|
3629
3667
|
...t,
|
|
3630
3668
|
headers: {
|
|
3631
3669
|
"Content-Type": "application/json",
|
|
3632
3670
|
...t.headers
|
|
3633
3671
|
}
|
|
3634
|
-
}),
|
|
3672
|
+
}), yc = (t) => (t.client ?? p).post({
|
|
3635
3673
|
requestValidator: async (t) => await e.object({
|
|
3636
|
-
body:
|
|
3637
|
-
path:
|
|
3674
|
+
body: $o,
|
|
3675
|
+
path: es,
|
|
3638
3676
|
query: e.never().optional()
|
|
3639
3677
|
}).parseAsync(t),
|
|
3640
|
-
responseValidator: async (e) => await
|
|
3678
|
+
responseValidator: async (e) => await ts.parseAsync(e),
|
|
3641
3679
|
url: "/api/v1/invoice-approvals/{uuid}/reject",
|
|
3642
3680
|
...t,
|
|
3643
3681
|
headers: {
|
|
3644
3682
|
"Content-Type": "application/json",
|
|
3645
3683
|
...t.headers
|
|
3646
3684
|
}
|
|
3647
|
-
}),
|
|
3685
|
+
}), bc = (t) => (t.client ?? p).post({
|
|
3648
3686
|
requestValidator: async (t) => await e.object({
|
|
3649
3687
|
body: e.never().optional(),
|
|
3650
|
-
path:
|
|
3688
|
+
path: ns,
|
|
3651
3689
|
query: e.never().optional()
|
|
3652
3690
|
}).parseAsync(t),
|
|
3653
|
-
responseValidator: async (e) => await
|
|
3691
|
+
responseValidator: async (e) => await rs.parseAsync(e),
|
|
3654
3692
|
url: "/api/v1/invoice-approvals/{uuid}/cancel",
|
|
3655
3693
|
...t
|
|
3656
|
-
}),
|
|
3694
|
+
}), xc = (t) => (t.client ?? p).post({
|
|
3657
3695
|
requestValidator: async (t) => await e.object({
|
|
3658
3696
|
body: e.never().optional(),
|
|
3659
|
-
path:
|
|
3697
|
+
path: is,
|
|
3660
3698
|
query: e.never().optional()
|
|
3661
3699
|
}).parseAsync(t),
|
|
3662
3700
|
url: "/api/v1/invoices/{uuid}/restart-approval",
|
|
3663
3701
|
...t
|
|
3664
|
-
}),
|
|
3702
|
+
}), Sc = (t) => (t?.client ?? p).get({
|
|
3665
3703
|
requestValidator: async (t) => await e.object({
|
|
3666
3704
|
body: e.never().optional(),
|
|
3667
3705
|
path: e.never().optional(),
|
|
3668
|
-
query:
|
|
3706
|
+
query: as.optional()
|
|
3669
3707
|
}).parseAsync(t),
|
|
3670
|
-
responseValidator: async (e) => await
|
|
3708
|
+
responseValidator: async (e) => await os.parseAsync(e),
|
|
3671
3709
|
url: "/api/v1/invoice-approvals",
|
|
3672
3710
|
...t
|
|
3673
|
-
}),
|
|
3711
|
+
}), Cc = (t) => (t.client ?? p).get({
|
|
3674
3712
|
requestValidator: async (t) => await e.object({
|
|
3675
3713
|
body: e.never().optional(),
|
|
3676
3714
|
path: e.never().optional(),
|
|
3677
|
-
query:
|
|
3715
|
+
query: ss
|
|
3678
3716
|
}).parseAsync(t),
|
|
3679
|
-
responseValidator: async (e) => await
|
|
3717
|
+
responseValidator: async (e) => await cs.parseAsync(e),
|
|
3680
3718
|
url: "/api/v1/public/pro-formas",
|
|
3681
3719
|
...t
|
|
3682
|
-
}),
|
|
3720
|
+
}), wc = (t) => (t?.client ?? p).get({
|
|
3683
3721
|
requestValidator: async (t) => await e.object({
|
|
3684
3722
|
body: e.never().optional(),
|
|
3685
3723
|
path: e.never().optional(),
|
|
3686
3724
|
query: e.never().optional()
|
|
3687
3725
|
}).parseAsync(t),
|
|
3688
|
-
responseValidator: async (e) => await
|
|
3726
|
+
responseValidator: async (e) => await ls.parseAsync(e),
|
|
3689
3727
|
url: "/api/v1/issuers/approval-reminder-configs",
|
|
3690
3728
|
...t
|
|
3691
|
-
}),
|
|
3729
|
+
}), Tc = (t) => (t.client ?? p).patch({
|
|
3692
3730
|
requestValidator: async (t) => await e.object({
|
|
3693
|
-
body:
|
|
3731
|
+
body: us,
|
|
3694
3732
|
path: e.never().optional(),
|
|
3695
3733
|
query: e.never().optional()
|
|
3696
3734
|
}).parseAsync(t),
|
|
3697
|
-
responseValidator: async (e) => await
|
|
3735
|
+
responseValidator: async (e) => await ds.parseAsync(e),
|
|
3698
3736
|
url: "/api/v1/issuers/approval-reminder-configs",
|
|
3699
3737
|
...t,
|
|
3700
3738
|
headers: {
|
|
3701
3739
|
"Content-Type": "application/json",
|
|
3702
3740
|
...t.headers
|
|
3703
3741
|
}
|
|
3704
|
-
}),
|
|
3742
|
+
}), Ec = (t) => (t?.client ?? p).get({
|
|
3705
3743
|
requestValidator: async (t) => await e.object({
|
|
3706
3744
|
body: e.never().optional(),
|
|
3707
3745
|
path: e.never().optional(),
|
|
3708
3746
|
query: e.never().optional()
|
|
3709
3747
|
}).parseAsync(t),
|
|
3710
|
-
responseValidator: async (e) => await
|
|
3748
|
+
responseValidator: async (e) => await fs.parseAsync(e),
|
|
3711
3749
|
url: "/api/v1/issuers/peppol-connection",
|
|
3712
3750
|
...t
|
|
3713
|
-
}),
|
|
3751
|
+
}), Dc = (t) => (t.client ?? p).put({
|
|
3714
3752
|
requestValidator: async (t) => await e.object({
|
|
3715
|
-
body:
|
|
3753
|
+
body: ps,
|
|
3716
3754
|
path: e.never().optional(),
|
|
3717
3755
|
query: e.never().optional()
|
|
3718
3756
|
}).parseAsync(t),
|
|
@@ -3722,13 +3760,13 @@ var ya = Bn, ba = e.object({ uuid: e.uuid() }), xa = e.void(), Sa = Vn, Ca = e.o
|
|
|
3722
3760
|
"Content-Type": "application/json",
|
|
3723
3761
|
...t.headers
|
|
3724
3762
|
}
|
|
3725
|
-
}),
|
|
3763
|
+
}), Oc = (t) => (t.client ?? p).post({
|
|
3726
3764
|
requestValidator: async (t) => await e.object({
|
|
3727
|
-
body:
|
|
3765
|
+
body: ms,
|
|
3728
3766
|
path: e.never().optional(),
|
|
3729
3767
|
query: e.never().optional()
|
|
3730
3768
|
}).parseAsync(t),
|
|
3731
|
-
responseValidator: async (e) => await
|
|
3769
|
+
responseValidator: async (e) => await hs.parseAsync(e),
|
|
3732
3770
|
url: "/api/v1/issuers/peppol-connection/test",
|
|
3733
3771
|
...t,
|
|
3734
3772
|
headers: {
|
|
@@ -3738,19 +3776,19 @@ var ya = Bn, ba = e.object({ uuid: e.uuid() }), xa = e.void(), Sa = Vn, Ca = e.o
|
|
|
3738
3776
|
});
|
|
3739
3777
|
//#endregion
|
|
3740
3778
|
//#region src/utils/api.util.ts
|
|
3741
|
-
function
|
|
3779
|
+
function kc(e) {
|
|
3742
3780
|
return typeof e == "object" && !!e && Array.isArray(e.errors);
|
|
3743
3781
|
}
|
|
3744
|
-
function
|
|
3745
|
-
return
|
|
3782
|
+
function Ac(e) {
|
|
3783
|
+
return kc(e) || e instanceof Error ? e : Error(String(e));
|
|
3746
3784
|
}
|
|
3747
|
-
var
|
|
3785
|
+
var jc = class {
|
|
3748
3786
|
static async fromPromise(e) {
|
|
3749
|
-
return await t.fromPromise(e,
|
|
3787
|
+
return await t.fromPromise(e, Ac);
|
|
3750
3788
|
}
|
|
3751
3789
|
static void(e) {
|
|
3752
3790
|
return e.isErr() ? n(e.error) : r();
|
|
3753
3791
|
}
|
|
3754
3792
|
};
|
|
3755
3793
|
//#endregion
|
|
3756
|
-
export {
|
|
3794
|
+
export { bs as $, Vs as A, Tc as B, Js as C, Ys as D, Qs as E, uc as F, As as G, Ls as H, hc as I, oc as J, ws as K, zs as L, xc as M, ec as N, pc as O, dc as P, xs as Q, Oc as R, Ws as S, Hs as T, Ns as U, Is as V, js as W, wc as X, tc as Y, sc as Z, ys as _, Xs as a, Es as at, Ps as b, Bs as c, Ec as ct, Fs as d, Cc as dt, Ss as et, _s as f, ac as ft, ic as g, Os as h, p as ht, $s as i, ks as it, yc as j, gc as k, bc as l, mc as lt, rc as m, Zs as mt, Ms as n, lc as nt, fc as o, nc as ot, Ds as p, gs as pt, Dc as q, vc as r, Sc as rt, _c as s, Cs as st, jc as t, cc as tt, vs as u, Ts as ut, Us as v, Gs as w, qs as x, Rs as y, Ks as z };
|