@wisemen/wise-invoicing-web 0.0.4 → 0.0.6
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/{BillingDocumentDetailViewDataProvider-pePmiXWb.js → BillingDocumentDetailViewDataProvider-BGE-p_FL.js} +953 -863
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-Dg5JlQE1.js → BillingDocumentPdf-Ca81NkZq.js} +4 -4
- package/dist/{CreditNoteDetailViewDataProvider-C-A0jyVr.js → CreditNoteDetailViewDataProvider-b5dY_4mH.js} +181 -181
- package/dist/{CreditNotePdfViewDataProvider-DNUvFVDj.js → CreditNotePdfViewDataProvider-C2QqCdQ7.js} +3 -3
- package/dist/{CustomFieldValueText-DDQq-975.js → CustomFieldValueText-ne5yy02J.js} +2 -2
- package/dist/DataProvider-Dj34ljUX.js +75 -0
- package/dist/{DunningCaseDetailViewDataProvider-0WV-7-vg.js → DunningCaseDetailViewDataProvider-jsh-LlGx.js} +68 -59
- package/dist/DunningCaseOverviewView-WbXalMt6.js +747 -0
- package/dist/{DunningCaseReminderPdfViewDataProvider-DcM-7ECg.js → DunningCaseReminderPdfViewDataProvider-B3Y2aYFf.js} +1 -1
- package/dist/DunningCaseSendDialog-D7jAZ8yT.js +349 -0
- package/dist/{InvoiceDetailViewDataProvider-BDL9lAWe.js → InvoiceDetailViewDataProvider-BAVdcJay.js} +589 -498
- package/dist/{InvoiceOverviewViewDataProvider-B_jrcC_8.js → InvoiceOverviewViewDataProvider-BT9cuQXw.js} +546 -482
- package/dist/{InvoicePdfView-Bygb-9z6.js → InvoicePdfView-BpIaYdZX.js} +2 -2
- package/dist/{InvoicePdfViewDataProvider-nBk3XNrE.js → InvoicePdfViewDataProvider-DGCnmNE-.js} +3 -3
- package/dist/{InvoicePublicPdfViewDataProvider-DHJP_-7-.js → InvoicePublicPdfViewDataProvider-KV0_hKUI.js} +3 -3
- package/dist/{IssuerSettingsViewDataProvider-Dk_Q6w6f.js → IssuerSettingsViewDataProvider-Bs4rEES2.js} +4 -4
- package/dist/ReminderSettingsViewDataProvider-D4bRLLXx.js +711 -0
- package/dist/{api.util-Dm_TQedZ.js → api.util-BCSgCfpS.js} +528 -509
- package/dist/{billingDocumentDetail.transformer-zMTbka5p.js → billingDocumentDetail.transformer-DIKAl4_L.js} +58 -89
- package/dist/client/index.d.ts +1 -1
- package/dist/client/types.gen.d.ts +28 -5
- package/dist/client/zod.gen.d.ts +869 -623
- package/dist/{creditNoteDetail.query-BZqgZRSu.js → creditNoteDetail.query-DHP69UiB.js} +13 -13
- package/dist/{dist-DP8KNFVD.js → dist-D9lp7NDv.js} +20 -36
- package/dist/{dist-DJ8yJcb9.js → dist-PErDVE6-.js} +621 -671
- package/dist/{documentTitle.composable-CeaFddr1.js → documentTitle.composable-4ApFl9TZ.js} +10 -8
- package/dist/{i18n.lib-DUbAMBRb.js → i18n.lib-BGcQ_OBF.js} +50 -2
- package/dist/index.d.ts +51 -2
- package/dist/index.js +78 -78
- package/dist/{invoice.service-ChHEtXBA.js → invoice.service-DG5eacZC.js} +46 -46
- package/dist/{invoiceDeliveryStatus.util-BsA-MlA3.js → invoiceDeliveryStatus.util-CX-IdqAu.js} +28 -28
- package/dist/{invoiceDetail.query-O_CGvdwg.js → invoiceDetail.query-C_IMGjOX.js} +1 -1
- package/dist/{invoicingConfig.composable-c6w_aMm1.js → invoicingConfig.composable-Kad_HHx_.js} +2 -2
- package/dist/{issuerSettings.query-RqtrZFaB.js → issuerSettings.query-6wnSPphB.js} +2 -2
- package/dist/libs/i18n.lib.d.ts +50 -2
- package/dist/locales/en-US.json.d.ts +25 -1
- package/dist/locales/nl-BE.json.d.ts +25 -1
- package/dist/models/billing-document/billingDocumentLineItemGroupUpdateForm.model.d.ts +9 -3
- package/dist/modules/dunning-case/actions/dunningCase.actions.d.ts +12 -0
- package/dist/modules/dunning-case/actions/dunningCaseNavigateToCustomer.action.d.ts +1 -0
- package/dist/modules/dunning-case/actions/dunningCaseNavigateToDetail.action.d.ts +1 -0
- package/dist/modules/dunning-case/api/mutations/reminderConfigUpdate.mutation.d.ts +2 -0
- package/dist/modules/dunning-case/models/dunningCase.model.d.ts +12 -3
- package/dist/modules/dunning-case/models/reminderConfigForm.model.d.ts +3 -1
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewActionsCell.vue.d.ts +13 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewCustomerCell.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewDaysOverdueCell.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewLastReminderCell.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewLevelCell.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewMetrics.vue.d.ts +8 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewOutstandingCell.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/overview/components/DunningCaseOverviewReminderCell.vue.d.ts +7 -0
- package/dist/modules/dunning-case/use-cases/overview/components/dunningCaseOverviewActionsCell.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/components/dunningCaseOverviewLastReminderCell.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/components/dunningCaseOverviewReminderCell.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverview.composable.d.ts +24 -0
- package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewTableColumns.composable.d.ts +8 -0
- package/dist/modules/dunning-case/use-cases/send/dialogs/dunningCaseBulkSendDialog.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/settings/components/ReminderLadderRow.vue.d.ts +3 -1
- package/dist/modules/dunning-case/use-cases/settings/components/reminderLadderFeeNotice.spec.d.ts +1 -0
- package/dist/modules/dunning-case/use-cases/settings/composables/reminderLadder.composable.d.ts +3 -1
- package/dist/modules/invoice/api/invoiceIndexCache.util.d.ts +4 -4
- package/dist/modules/invoice/api/queries/invoiceUserSearch.query.d.ts +3 -0
- package/dist/modules/invoice/api/query-keys/invoice.queryKeys.d.ts +8 -0
- package/dist/modules/invoice/api/services/invoiceUser.service.d.ts +6 -0
- package/dist/modules/invoice/components/form/InvoiceFormPreparedByField.vue.d.ts +16 -0
- package/dist/modules/invoice/models/invoice/update/invoicePreparer.model.d.ts +4 -0
- package/dist/modules/invoice/models/invoice/update/invoicePreparer.transformer.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/update/invoiceUserSearchQueryParams.model.d.ts +3 -0
- package/dist/modules/invoice/models/invoice/update/invoiceUserSearchQueryParams.transformer.d.ts +6 -0
- package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +1 -0
- package/dist/{plainDate.transformer-BxvJpJOv.js → plainDate.transformer-Dfe5r84P.js} +32 -1
- package/dist/{reminderConfig.query-DzTN2AvU.js → reminderConfig.query-hmDNKreg.js} +105 -91
- package/dist/search.composable-BCtYqudV.js +52 -0
- package/dist/style.css +1 -1
- package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +6 -6
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +1 -1
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsRowMutations.composable.d.ts +2 -2
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsRowMutations.composable.spec.d.ts +1 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsTableDrag.composable.d.ts +3 -1
- package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableField.vue.d.ts +2 -0
- package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableTextField.vue.d.ts +1 -0
- package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +19 -0
- package/dist/ui/data-provider/DataProviderErrorState.vue.d.ts +7 -0
- package/dist/ui/data-provider/dataProviderErrorState.spec.d.ts +1 -0
- package/package.json +6 -1
- package/dist/DataProvider-CfHLB3rH.js +0 -48
- package/dist/DunningCaseOverviewView-CHdzfbhb.js +0 -553
- package/dist/DunningCaseSendDialog-DBtwr2ue.js +0 -350
- package/dist/ReminderSettingsViewDataProvider-CDBjfU7R.js +0 -668
|
@@ -557,16 +557,16 @@ var v = e.object({
|
|
|
557
557
|
total: e.number(),
|
|
558
558
|
offset: e.number(),
|
|
559
559
|
limit: e.number()
|
|
560
|
-
})
|
|
561
|
-
e.object({
|
|
560
|
+
}), be = e.object({
|
|
562
561
|
items: e.array(ye),
|
|
563
562
|
meta: y
|
|
564
|
-
})
|
|
563
|
+
});
|
|
564
|
+
e.object({ name: e.string() }), e.object({ uuid: e.uuid() }), e.object({ roleUuids: e.array(e.uuid()).nullish() }), e.object({
|
|
565
565
|
detail: e.string().optional(),
|
|
566
566
|
status: e.enum(["404"]),
|
|
567
567
|
code: e.enum(["role_not_found"])
|
|
568
568
|
}), e.object({ name: e.string() });
|
|
569
|
-
var
|
|
569
|
+
var xe = e.object({
|
|
570
570
|
uuid: e.uuid(),
|
|
571
571
|
createdAt: e.iso.datetime(),
|
|
572
572
|
updatedAt: e.iso.datetime(),
|
|
@@ -575,13 +575,13 @@ var be = e.object({
|
|
|
575
575
|
isDefault: e.boolean(),
|
|
576
576
|
isSystemAdmin: e.boolean()
|
|
577
577
|
});
|
|
578
|
-
e.object({ items: e.array(
|
|
579
|
-
var
|
|
578
|
+
e.object({ items: e.array(xe) });
|
|
579
|
+
var Se = e.object({
|
|
580
580
|
roleUuid: e.uuid(),
|
|
581
581
|
permissions: e.array(_)
|
|
582
582
|
});
|
|
583
|
-
e.object({ roles: e.array(
|
|
584
|
-
var
|
|
583
|
+
e.object({ roles: e.array(Se) });
|
|
584
|
+
var Ce = e.enum([
|
|
585
585
|
"application/pdf",
|
|
586
586
|
"application/msword",
|
|
587
587
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
@@ -598,14 +598,14 @@ var Se = e.enum([
|
|
|
598
598
|
"image/webp",
|
|
599
599
|
"image/gif",
|
|
600
600
|
"application/octet-stream"
|
|
601
|
-
]),
|
|
601
|
+
]), we = e.object({
|
|
602
602
|
name: e.string(),
|
|
603
|
-
mimeType:
|
|
603
|
+
mimeType: Ce,
|
|
604
604
|
isPublic: e.boolean().optional().default(!1)
|
|
605
|
-
}),
|
|
605
|
+
}), Te = e.object({
|
|
606
606
|
uuid: e.uuid(),
|
|
607
607
|
name: e.string(),
|
|
608
|
-
mimeType:
|
|
608
|
+
mimeType: Ce.nullable(),
|
|
609
609
|
uploadUrl: e.string()
|
|
610
610
|
});
|
|
611
611
|
e.object({
|
|
@@ -613,7 +613,7 @@ e.object({
|
|
|
613
613
|
status: e.enum(["404"]),
|
|
614
614
|
code: e.enum(["file_not_found"])
|
|
615
615
|
});
|
|
616
|
-
var
|
|
616
|
+
var Ee = e.object({ blurHash: e.string().max(100).nullable() }), De = e.enum([
|
|
617
617
|
"light",
|
|
618
618
|
"dark",
|
|
619
619
|
"system"
|
|
@@ -621,7 +621,7 @@ var Te = e.object({ blurHash: e.string().max(100).nullable() }), Ee = e.enum([
|
|
|
621
621
|
"en-US",
|
|
622
622
|
"nl-BE",
|
|
623
623
|
"fr-BE"
|
|
624
|
-
]),
|
|
624
|
+
]), Oe = e.enum([
|
|
625
625
|
"smaller",
|
|
626
626
|
"small",
|
|
627
627
|
"default",
|
|
@@ -629,16 +629,16 @@ var Te = e.object({ blurHash: e.string().max(100).nullable() }), Ee = e.enum([
|
|
|
629
629
|
"larger"
|
|
630
630
|
]);
|
|
631
631
|
e.object({
|
|
632
|
-
theme:
|
|
632
|
+
theme: De.optional(),
|
|
633
633
|
language: b.optional(),
|
|
634
|
-
fontSize:
|
|
634
|
+
fontSize: Oe.optional(),
|
|
635
635
|
showShortcuts: e.boolean().optional(),
|
|
636
636
|
reduceMotion: e.boolean().optional(),
|
|
637
637
|
highContrast: e.boolean().optional()
|
|
638
638
|
}), e.object({
|
|
639
|
-
theme:
|
|
639
|
+
theme: De,
|
|
640
640
|
language: b,
|
|
641
|
-
fontSize:
|
|
641
|
+
fontSize: Oe,
|
|
642
642
|
showShortcuts: e.boolean(),
|
|
643
643
|
reduceMotion: e.boolean(),
|
|
644
644
|
highContrast: e.boolean()
|
|
@@ -646,17 +646,17 @@ e.object({
|
|
|
646
646
|
token: e.string(),
|
|
647
647
|
userUuid: e.uuid()
|
|
648
648
|
});
|
|
649
|
-
var
|
|
649
|
+
var ke = e.object({
|
|
650
650
|
nl: e.string().optional(),
|
|
651
651
|
en: e.string().optional()
|
|
652
652
|
});
|
|
653
653
|
e.object({
|
|
654
654
|
name: e.string(),
|
|
655
|
-
title:
|
|
656
|
-
description:
|
|
655
|
+
title: ke,
|
|
656
|
+
description: ke,
|
|
657
657
|
userUuids: e.array(e.uuid())
|
|
658
658
|
});
|
|
659
|
-
var
|
|
659
|
+
var Ae = e.enum([
|
|
660
660
|
"contact",
|
|
661
661
|
"customer",
|
|
662
662
|
"file",
|
|
@@ -667,55 +667,55 @@ var ke = e.enum([
|
|
|
667
667
|
"issuer",
|
|
668
668
|
"invoice",
|
|
669
669
|
"dunning-case"
|
|
670
|
-
]),
|
|
671
|
-
subjectType:
|
|
670
|
+
]), je = e.object({
|
|
671
|
+
subjectType: Ae.optional(),
|
|
672
672
|
subjectId: e.uuid().optional(),
|
|
673
673
|
userUuid: e.uuid().optional()
|
|
674
|
-
}),
|
|
674
|
+
}), Me = e.object({
|
|
675
675
|
createdAt: e.string(),
|
|
676
676
|
uuid: e.uuid()
|
|
677
|
-
}),
|
|
677
|
+
}), Ne = e.object({
|
|
678
678
|
limit: e.number().gte(0).lte(100).optional(),
|
|
679
|
-
key:
|
|
680
|
-
}),
|
|
679
|
+
key: Me.nullish()
|
|
680
|
+
}), Pe = e.enum(/* @__PURE__ */ "credit-note.created,credit-note.updated,credit-note.finalized,credit-note.invoice-lines.updated,credit-note.deleted,credit-note.sent-email,customer.created,customer.updated,customer.synced,customer.deactivated,customer.reactivated,file.created,file.uploaded,issuer.updated,issuer.created,invoice.created,invoice.updated,invoice.attachments.updated,invoice.discount.applied,invoice.finalized,invoice.pdf.generated,invoice.sent-email,invoice.marked-as-ready,invoice.marked-as-draft,invoice.marked-as-overdue,invoice.deleted,invoice.duplicated,invoice.marked-as-disputed,invoice.marked-as-paid,invoice.disputed-withdrawn,payment.created,payment.deleted,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,reminder-config.updated,dunning-case.synced,dunning-case.closed,dunning-case.reminder.created,dunning-case.reminder.pdf.generated,dunning-case.reminder.sent,tenant.created,tenant.updated,tenant.deactivated".split(",")), Fe = e.object({
|
|
681
681
|
uuid: e.uuid(),
|
|
682
682
|
createdAt: e.iso.datetime(),
|
|
683
683
|
version: e.int().gte(0),
|
|
684
684
|
source: e.string(),
|
|
685
685
|
userUuid: e.uuid().nullable(),
|
|
686
686
|
message: e.string(),
|
|
687
|
-
type:
|
|
688
|
-
subjectType:
|
|
687
|
+
type: Pe,
|
|
688
|
+
subjectType: Ae.nullable(),
|
|
689
689
|
subjectId: e.uuid().nullable(),
|
|
690
690
|
content: e.record(e.string(), e.unknown())
|
|
691
|
-
}),
|
|
691
|
+
}), Ie = e.object({ next: Me.nullable() });
|
|
692
692
|
e.object({
|
|
693
|
-
items: e.array(
|
|
694
|
-
meta:
|
|
693
|
+
items: e.array(Fe),
|
|
694
|
+
meta: Ie
|
|
695
695
|
});
|
|
696
|
-
var
|
|
696
|
+
var Le = e.enum([
|
|
697
697
|
"user",
|
|
698
698
|
"customer",
|
|
699
699
|
"recipient"
|
|
700
|
-
]),
|
|
701
|
-
collections: e.array(
|
|
702
|
-
contact:
|
|
703
|
-
recipient:
|
|
704
|
-
}),
|
|
700
|
+
]), Re = e.object({ isActive: e.boolean().optional() }), ze = e.object({ customerUuid: e.uuid().optional() }), Be = e.object({
|
|
701
|
+
collections: e.array(Le).optional(),
|
|
702
|
+
contact: Re.optional(),
|
|
703
|
+
recipient: ze.optional()
|
|
704
|
+
}), Ve = e.object({ offset: e.int() }), He = e.object({ key: Ve.optional() }), Ue = e.object({
|
|
705
705
|
uuid: e.uuid(),
|
|
706
706
|
name: e.string(),
|
|
707
707
|
email: e.record(e.string(), e.unknown()).nullable()
|
|
708
|
-
}), x = e.enum(["business", "individual"]),
|
|
708
|
+
}), x = e.enum(["business", "individual"]), We = e.object({
|
|
709
709
|
uuid: e.uuid(),
|
|
710
710
|
name: e.string(),
|
|
711
711
|
type: x
|
|
712
|
-
}),
|
|
712
|
+
}), Ge = e.object({
|
|
713
713
|
uuid: e.uuid(),
|
|
714
714
|
name: e.string().nullable(),
|
|
715
715
|
email: e.string(),
|
|
716
716
|
customerUuid: e.uuid(),
|
|
717
717
|
isDefault: e.boolean()
|
|
718
|
-
}),
|
|
718
|
+
}), Ke = e.object({
|
|
719
719
|
uuid: e.uuid(),
|
|
720
720
|
name: e.string()
|
|
721
721
|
}), S = e.enum([
|
|
@@ -732,91 +732,91 @@ var Ie = e.enum([
|
|
|
732
732
|
amount: e.int(),
|
|
733
733
|
currency: C,
|
|
734
734
|
precision: e.int()
|
|
735
|
-
}),
|
|
735
|
+
}), qe = e.object({
|
|
736
736
|
uuid: e.uuid(),
|
|
737
737
|
createdAt: e.iso.datetime(),
|
|
738
738
|
issuedOn: e.iso.date().nullable(),
|
|
739
739
|
dueOn: e.iso.date().nullable(),
|
|
740
740
|
subject: e.string().nullable(),
|
|
741
|
-
customer:
|
|
741
|
+
customer: Ke,
|
|
742
742
|
status: S,
|
|
743
743
|
netAmount: w
|
|
744
|
-
}),
|
|
745
|
-
collection:
|
|
744
|
+
}), Je = e.object({
|
|
745
|
+
collection: Le,
|
|
746
746
|
entity: e.union([
|
|
747
|
-
He,
|
|
748
747
|
Ue,
|
|
749
748
|
We,
|
|
750
|
-
|
|
749
|
+
Ge,
|
|
750
|
+
qe
|
|
751
751
|
]),
|
|
752
752
|
text_match: e.number()
|
|
753
|
-
}),
|
|
753
|
+
}), Ye = e.object({ next: Ve.nullable() });
|
|
754
754
|
e.object({
|
|
755
|
-
items: e.array(
|
|
756
|
-
meta:
|
|
755
|
+
items: e.array(Je),
|
|
756
|
+
meta: Ye
|
|
757
757
|
});
|
|
758
|
-
var
|
|
758
|
+
var Xe = e.enum([
|
|
759
759
|
"all",
|
|
760
760
|
"default",
|
|
761
761
|
"custom",
|
|
762
762
|
"none"
|
|
763
|
-
]), T = e.enum(["user.created", "system.test-notification"]),
|
|
763
|
+
]), T = e.enum(["user.created", "system.test-notification"]), Ze = e.object({
|
|
764
764
|
email: e.array(T),
|
|
765
765
|
sms: e.array(T),
|
|
766
766
|
app: e.array(T),
|
|
767
767
|
push: e.array(T)
|
|
768
768
|
});
|
|
769
769
|
e.object({
|
|
770
|
-
preset:
|
|
770
|
+
preset: Xe,
|
|
771
771
|
emailEnabled: e.boolean(),
|
|
772
772
|
smsEnabled: e.boolean(),
|
|
773
773
|
appEnabled: e.boolean(),
|
|
774
774
|
pushEnabled: e.boolean(),
|
|
775
|
-
preferences:
|
|
775
|
+
preferences: Ze
|
|
776
776
|
});
|
|
777
|
-
var
|
|
777
|
+
var Qe = e.enum([
|
|
778
778
|
"email",
|
|
779
779
|
"sms",
|
|
780
780
|
"app",
|
|
781
781
|
"push"
|
|
782
|
-
]),
|
|
783
|
-
channel:
|
|
782
|
+
]), $e = e.object({
|
|
783
|
+
channel: Qe,
|
|
784
784
|
defaultValue: e.boolean(),
|
|
785
785
|
isSupported: e.boolean()
|
|
786
|
-
}),
|
|
786
|
+
}), et = e.object({
|
|
787
787
|
key: T,
|
|
788
788
|
description: e.string(),
|
|
789
|
-
channelConfigs: e.array(
|
|
790
|
-
}),
|
|
789
|
+
channelConfigs: e.array($e)
|
|
790
|
+
}), tt = e.object({
|
|
791
791
|
name: e.string(),
|
|
792
792
|
description: e.string(),
|
|
793
|
-
types: e.array(
|
|
793
|
+
types: e.array(et)
|
|
794
794
|
});
|
|
795
|
-
e.object({ groups: e.array(
|
|
796
|
-
channel:
|
|
795
|
+
e.object({ groups: e.array(tt) }), e.object({
|
|
796
|
+
channel: Qe,
|
|
797
797
|
isEnabled: e.boolean()
|
|
798
798
|
}), e.object({ message: e.string() });
|
|
799
|
-
var
|
|
799
|
+
var nt = e.object({ onlyUnread: e.string().optional() }), rt = e.object({
|
|
800
800
|
createdAt: e.string(),
|
|
801
801
|
notificationUuid: e.uuid()
|
|
802
|
-
}), rt = e.object({
|
|
803
|
-
limit: e.number().gte(0).lte(100).optional(),
|
|
804
|
-
key: nt.nullish()
|
|
805
802
|
}), it = e.object({
|
|
803
|
+
limit: e.number().gte(0).lte(100).optional(),
|
|
804
|
+
key: rt.nullish()
|
|
805
|
+
}), at = e.object({
|
|
806
806
|
uuid: e.uuid(),
|
|
807
807
|
name: e.string()
|
|
808
|
-
}),
|
|
808
|
+
}), ot = e.object({ message: e.string() }), st = e.object({
|
|
809
809
|
createdAt: e.iso.datetime(),
|
|
810
810
|
readAt: e.iso.datetime().nullable(),
|
|
811
811
|
notificationUuid: e.uuid(),
|
|
812
|
-
createdByUser:
|
|
812
|
+
createdByUser: at.nullable(),
|
|
813
813
|
message: e.string(),
|
|
814
814
|
type: e.enum(["system.test-notification"]),
|
|
815
|
-
meta:
|
|
816
|
-
}),
|
|
815
|
+
meta: ot
|
|
816
|
+
}), ct = e.object({ next: rt.nullable() });
|
|
817
817
|
e.object({
|
|
818
|
-
items: e.array(
|
|
819
|
-
meta:
|
|
818
|
+
items: e.array(st),
|
|
819
|
+
meta: ct
|
|
820
820
|
}), e.object({
|
|
821
821
|
amount: e.number().gte(0),
|
|
822
822
|
exceedsLimit: e.boolean()
|
|
@@ -825,55 +825,55 @@ e.object({
|
|
|
825
825
|
status: e.enum(["404"]),
|
|
826
826
|
code: e.enum(["user_notification_not_found"])
|
|
827
827
|
}), e.object({
|
|
828
|
-
channel:
|
|
828
|
+
channel: Qe,
|
|
829
829
|
isEnabled: e.boolean(),
|
|
830
830
|
types: e.array(T)
|
|
831
|
-
}), e.object({ preset:
|
|
832
|
-
var
|
|
831
|
+
}), e.object({ preset: Xe });
|
|
832
|
+
var lt = e.object({ type: e.array(T) });
|
|
833
833
|
e.object({
|
|
834
834
|
detail: e.string().optional(),
|
|
835
835
|
status: e.enum(["400"]),
|
|
836
836
|
code: e.enum(["migration_already_performed"]),
|
|
837
|
-
meta:
|
|
837
|
+
meta: lt
|
|
838
838
|
}), e.object({ types: e.array(T) });
|
|
839
|
-
var
|
|
840
|
-
key:
|
|
841
|
-
order:
|
|
842
|
-
}),
|
|
839
|
+
var ut = e.enum(["createdAt"]), dt = e.enum(["asc", "desc"]), ft = e.object({
|
|
840
|
+
key: ut,
|
|
841
|
+
order: dt
|
|
842
|
+
}), pt = e.enum(["system"]), mt = e.object({ queueNames: e.array(pt).optional() }), ht = e.object({
|
|
843
843
|
createdAt: e.iso.datetime().optional(),
|
|
844
844
|
id: e.string()
|
|
845
|
-
}),
|
|
845
|
+
}), gt = e.object({
|
|
846
846
|
limit: e.number().gte(0).lte(100).optional(),
|
|
847
|
-
key:
|
|
848
|
-
}),
|
|
847
|
+
key: ht.nullish()
|
|
848
|
+
}), _t = e.enum([
|
|
849
849
|
"created",
|
|
850
850
|
"active",
|
|
851
851
|
"completed",
|
|
852
852
|
"retry",
|
|
853
853
|
"failed",
|
|
854
854
|
"cancelled"
|
|
855
|
-
]),
|
|
856
|
-
queueName:
|
|
855
|
+
]), vt = e.object({
|
|
856
|
+
queueName: pt,
|
|
857
857
|
id: e.uuid(),
|
|
858
858
|
name: e.string(),
|
|
859
|
-
status:
|
|
859
|
+
status: _t,
|
|
860
860
|
createdAt: e.iso.datetime(),
|
|
861
861
|
completedAt: e.iso.datetime().nullable()
|
|
862
|
-
}),
|
|
862
|
+
}), yt = e.object({ next: ht.nullable() });
|
|
863
863
|
e.object({
|
|
864
|
-
items: e.array(
|
|
865
|
-
meta:
|
|
864
|
+
items: e.array(vt),
|
|
865
|
+
meta: yt
|
|
866
866
|
}), e.object({
|
|
867
867
|
detail: e.string().optional(),
|
|
868
868
|
status: e.enum(["404"]),
|
|
869
869
|
code: e.enum(["job_not_found"])
|
|
870
870
|
}), e.object({
|
|
871
871
|
id: e.uuid(),
|
|
872
|
-
queueName:
|
|
872
|
+
queueName: pt,
|
|
873
873
|
priority: e.number(),
|
|
874
874
|
name: e.string(),
|
|
875
875
|
data: e.record(e.string(), e.unknown()),
|
|
876
|
-
status:
|
|
876
|
+
status: _t,
|
|
877
877
|
retryLimit: e.number(),
|
|
878
878
|
retryCount: e.number(),
|
|
879
879
|
retryDelay: e.number(),
|
|
@@ -915,7 +915,7 @@ e.object({
|
|
|
915
915
|
slug: e.string(),
|
|
916
916
|
domain: e.string().nullable()
|
|
917
917
|
});
|
|
918
|
-
var
|
|
918
|
+
var bt = e.object({
|
|
919
919
|
uuid: e.uuid(),
|
|
920
920
|
createdAt: e.iso.datetime(),
|
|
921
921
|
updatedAt: e.iso.datetime(),
|
|
@@ -924,7 +924,7 @@ var yt = e.object({
|
|
|
924
924
|
domain: e.string().nullable()
|
|
925
925
|
});
|
|
926
926
|
e.object({
|
|
927
|
-
items: e.array(
|
|
927
|
+
items: e.array(bt),
|
|
928
928
|
meta: y
|
|
929
929
|
}), e.object({
|
|
930
930
|
detail: e.string().optional(),
|
|
@@ -943,10 +943,10 @@ e.object({
|
|
|
943
943
|
status: e.enum(["409"]),
|
|
944
944
|
code: e.enum(["vat_number_already_in_use"])
|
|
945
945
|
});
|
|
946
|
-
var
|
|
946
|
+
var xt = e.object({
|
|
947
947
|
longitude: e.number(),
|
|
948
948
|
latitude: e.number()
|
|
949
|
-
}),
|
|
949
|
+
}), St = e.object({
|
|
950
950
|
placeName: e.string().nullable(),
|
|
951
951
|
placeId: e.string().nullable(),
|
|
952
952
|
country: e.string().nullable(),
|
|
@@ -956,11 +956,11 @@ var bt = e.object({
|
|
|
956
956
|
streetName: e.string().nullable(),
|
|
957
957
|
streetNumber: e.string().nullable(),
|
|
958
958
|
unit: e.string().nullable(),
|
|
959
|
-
coordinates:
|
|
959
|
+
coordinates: xt.nullable()
|
|
960
960
|
});
|
|
961
961
|
e.object({
|
|
962
962
|
name: e.string(),
|
|
963
|
-
address:
|
|
963
|
+
address: St.nullable(),
|
|
964
964
|
email: e.string(),
|
|
965
965
|
phone: e.string().nullable(),
|
|
966
966
|
vatNumber: e.string().nullable(),
|
|
@@ -971,7 +971,7 @@ e.object({
|
|
|
971
971
|
status: e.enum(["404"]),
|
|
972
972
|
code: e.enum(["customer_not_found"])
|
|
973
973
|
});
|
|
974
|
-
var
|
|
974
|
+
var Ct = e.object({
|
|
975
975
|
longitude: e.number(),
|
|
976
976
|
latitude: e.number()
|
|
977
977
|
}), E = e.object({
|
|
@@ -984,8 +984,8 @@ var St = e.object({
|
|
|
984
984
|
streetName: e.string().nullable(),
|
|
985
985
|
streetNumber: e.string().nullable(),
|
|
986
986
|
unit: e.string().nullable(),
|
|
987
|
-
coordinates:
|
|
988
|
-
}),
|
|
987
|
+
coordinates: Ct.nullable()
|
|
988
|
+
}), wt = e.enum(["internal", "external"]), Tt = e.enum([
|
|
989
989
|
"s",
|
|
990
990
|
"ms",
|
|
991
991
|
"μs",
|
|
@@ -993,10 +993,10 @@ var St = e.object({
|
|
|
993
993
|
"m",
|
|
994
994
|
"h",
|
|
995
995
|
"days"
|
|
996
|
-
]),
|
|
996
|
+
]), Et = e.object({
|
|
997
997
|
value: e.number(),
|
|
998
|
-
unit:
|
|
999
|
-
}),
|
|
998
|
+
unit: Tt
|
|
999
|
+
}), Dt = e.object({
|
|
1000
1000
|
uuid: e.uuid(),
|
|
1001
1001
|
createdAt: e.iso.datetime(),
|
|
1002
1002
|
updatedAt: e.iso.datetime(),
|
|
@@ -1005,29 +1005,29 @@ var St = e.object({
|
|
|
1005
1005
|
email: e.email().nullable(),
|
|
1006
1006
|
phone: e.string().nullable(),
|
|
1007
1007
|
vatNumber: e.string().nullable(),
|
|
1008
|
-
source:
|
|
1008
|
+
source: wt,
|
|
1009
1009
|
type: x,
|
|
1010
1010
|
locale: b,
|
|
1011
1011
|
currency: C,
|
|
1012
1012
|
isDeactivated: e.boolean(),
|
|
1013
|
-
defaultPaymentTerm:
|
|
1014
|
-
}),
|
|
1013
|
+
defaultPaymentTerm: Et
|
|
1014
|
+
}), Ot = e.object({
|
|
1015
1015
|
isDeactivated: e.boolean().optional(),
|
|
1016
1016
|
vatNumber: e.string().optional(),
|
|
1017
1017
|
externalId: e.string().optional(),
|
|
1018
1018
|
type: x.optional()
|
|
1019
|
-
}),
|
|
1019
|
+
}), kt = e.object({
|
|
1020
1020
|
uuid: e.string(),
|
|
1021
1021
|
name: e.string(),
|
|
1022
1022
|
email: e.string().nullable(),
|
|
1023
1023
|
phone: e.string().nullable(),
|
|
1024
1024
|
vatNumber: e.string().nullable(),
|
|
1025
1025
|
address: E,
|
|
1026
|
-
source:
|
|
1026
|
+
source: wt,
|
|
1027
1027
|
type: x,
|
|
1028
1028
|
isDeactivated: e.boolean()
|
|
1029
|
-
}),
|
|
1030
|
-
items: e.array(
|
|
1029
|
+
}), At = e.object({
|
|
1030
|
+
items: e.array(kt),
|
|
1031
1031
|
meta: y
|
|
1032
1032
|
});
|
|
1033
1033
|
e.object({
|
|
@@ -1044,14 +1044,14 @@ e.object({
|
|
|
1044
1044
|
code: e.enum(["vat_number_required"])
|
|
1045
1045
|
}), e.object({
|
|
1046
1046
|
name: e.string(),
|
|
1047
|
-
address:
|
|
1047
|
+
address: St.nullable(),
|
|
1048
1048
|
email: e.string(),
|
|
1049
1049
|
phone: e.string().nullable(),
|
|
1050
1050
|
vatNumber: e.string().nullable(),
|
|
1051
1051
|
type: x,
|
|
1052
1052
|
locale: b,
|
|
1053
1053
|
currency: C,
|
|
1054
|
-
defaultPaymentTerm:
|
|
1054
|
+
defaultPaymentTerm: Et.optional()
|
|
1055
1055
|
}), e.object({
|
|
1056
1056
|
customerUuid: e.uuid(),
|
|
1057
1057
|
email: e.string(),
|
|
@@ -1062,7 +1062,7 @@ e.object({
|
|
|
1062
1062
|
status: e.enum(["404"]),
|
|
1063
1063
|
code: e.enum(["recipient_not_found"])
|
|
1064
1064
|
});
|
|
1065
|
-
var
|
|
1065
|
+
var jt = e.object({
|
|
1066
1066
|
uuid: e.uuid(),
|
|
1067
1067
|
name: e.string()
|
|
1068
1068
|
});
|
|
@@ -1070,21 +1070,21 @@ e.object({
|
|
|
1070
1070
|
uuid: e.uuid(),
|
|
1071
1071
|
name: e.string().nullable(),
|
|
1072
1072
|
email: e.string(),
|
|
1073
|
-
customer:
|
|
1073
|
+
customer: jt,
|
|
1074
1074
|
isDefault: e.boolean()
|
|
1075
1075
|
}), e.object({
|
|
1076
1076
|
email: e.string(),
|
|
1077
1077
|
name: e.string().nullish(),
|
|
1078
1078
|
isDefault: e.boolean()
|
|
1079
1079
|
});
|
|
1080
|
-
var
|
|
1080
|
+
var Mt = e.object({
|
|
1081
1081
|
uuid: e.uuid(),
|
|
1082
1082
|
name: e.string().nullable(),
|
|
1083
1083
|
email: e.email(),
|
|
1084
1084
|
customerUuid: e.uuid(),
|
|
1085
1085
|
isDefault: e.boolean()
|
|
1086
|
-
}),
|
|
1087
|
-
items: e.array(
|
|
1086
|
+
}), Nt = e.object({
|
|
1087
|
+
items: e.array(Mt),
|
|
1088
1088
|
meta: y
|
|
1089
1089
|
});
|
|
1090
1090
|
e.object({
|
|
@@ -1092,7 +1092,7 @@ e.object({
|
|
|
1092
1092
|
status: e.enum(["404"]),
|
|
1093
1093
|
code: e.enum(["issuer_not_found"])
|
|
1094
1094
|
});
|
|
1095
|
-
var
|
|
1095
|
+
var Pt = e.object({
|
|
1096
1096
|
uuid: e.uuid(),
|
|
1097
1097
|
createdAt: e.string(),
|
|
1098
1098
|
updatedAt: e.string(),
|
|
@@ -1106,19 +1106,19 @@ var Nt = e.object({
|
|
|
1106
1106
|
bankAccountNumber: e.string().nullable(),
|
|
1107
1107
|
currency: C,
|
|
1108
1108
|
sequencePrefix: e.string().nullable(),
|
|
1109
|
-
defaultPaymentTerm:
|
|
1110
|
-
}),
|
|
1109
|
+
defaultPaymentTerm: Et
|
|
1110
|
+
}), Ft = e.object({
|
|
1111
1111
|
email: e.email().nullable(),
|
|
1112
1112
|
name: e.string().nullable(),
|
|
1113
1113
|
phoneNumber: e.string().nullable(),
|
|
1114
1114
|
website: e.string().nullable(),
|
|
1115
|
-
address:
|
|
1115
|
+
address: St.nullable(),
|
|
1116
1116
|
vatNumber: e.string().nullable(),
|
|
1117
1117
|
bankAccountNumber: e.string().nullable(),
|
|
1118
1118
|
bic: e.string().nullable(),
|
|
1119
1119
|
currency: C,
|
|
1120
1120
|
sequencePrefix: e.string().nullable(),
|
|
1121
|
-
defaultPaymentTerm:
|
|
1121
|
+
defaultPaymentTerm: Et
|
|
1122
1122
|
});
|
|
1123
1123
|
e.object({
|
|
1124
1124
|
detail: e.string().optional(),
|
|
@@ -1165,7 +1165,7 @@ var D = e.object({
|
|
|
1165
1165
|
definitionUuid: e.uuid(),
|
|
1166
1166
|
type: e.enum(["monetary"]),
|
|
1167
1167
|
value: w
|
|
1168
|
-
}),
|
|
1168
|
+
}), It = e.enum(["standard", "credit_note"]), Lt = e.object({
|
|
1169
1169
|
uuid: e.uuid(),
|
|
1170
1170
|
name: e.string().nullable(),
|
|
1171
1171
|
email: e.email().nullable(),
|
|
@@ -1175,11 +1175,11 @@ var D = e.object({
|
|
|
1175
1175
|
vatNumber: e.string().nullable(),
|
|
1176
1176
|
bankAccountNumber: e.string().nullable(),
|
|
1177
1177
|
alternativeBankAccountNumber: e.string().nullable()
|
|
1178
|
-
}),
|
|
1178
|
+
}), Rt = e.object({
|
|
1179
1179
|
uuid: e.uuid(),
|
|
1180
1180
|
name: e.string().nullable(),
|
|
1181
1181
|
email: e.email().nullable()
|
|
1182
|
-
}),
|
|
1182
|
+
}), zt = e.object({
|
|
1183
1183
|
uuid: e.uuid(),
|
|
1184
1184
|
name: e.string().nullable(),
|
|
1185
1185
|
email: e.email().nullable(),
|
|
@@ -1196,12 +1196,12 @@ var D = e.object({
|
|
|
1196
1196
|
"6",
|
|
1197
1197
|
"12",
|
|
1198
1198
|
"21"
|
|
1199
|
-
]),
|
|
1200
|
-
type:
|
|
1199
|
+
]), Bt = e.enum(["percentage", "amount"]), R = e.object({
|
|
1200
|
+
type: Bt,
|
|
1201
1201
|
amount: w.nullable(),
|
|
1202
1202
|
percentage: e.number().nullable(),
|
|
1203
1203
|
description: e.string().nullable()
|
|
1204
|
-
}),
|
|
1204
|
+
}), Vt = e.enum([
|
|
1205
1205
|
"piece",
|
|
1206
1206
|
"hour",
|
|
1207
1207
|
"day",
|
|
@@ -1211,7 +1211,7 @@ var D = e.object({
|
|
|
1211
1211
|
"cubic_meter",
|
|
1212
1212
|
"square_meter",
|
|
1213
1213
|
"litre"
|
|
1214
|
-
]),
|
|
1214
|
+
]), Ht = e.object({
|
|
1215
1215
|
uuid: e.uuid(),
|
|
1216
1216
|
groupUuid: e.uuid().nullable(),
|
|
1217
1217
|
position: e.number(),
|
|
@@ -1235,9 +1235,9 @@ var D = e.object({
|
|
|
1235
1235
|
netAmount: w,
|
|
1236
1236
|
grossAmount: w,
|
|
1237
1237
|
discount: R.nullable(),
|
|
1238
|
-
unit:
|
|
1238
|
+
unit: Vt,
|
|
1239
1239
|
isDiscount: e.boolean()
|
|
1240
|
-
}),
|
|
1240
|
+
}), Ut = e.object({
|
|
1241
1241
|
uuid: e.uuid(),
|
|
1242
1242
|
position: e.number(),
|
|
1243
1243
|
name: e.string(),
|
|
@@ -1253,34 +1253,34 @@ var D = e.object({
|
|
|
1253
1253
|
P,
|
|
1254
1254
|
F
|
|
1255
1255
|
])),
|
|
1256
|
-
lines: e.array(
|
|
1257
|
-
}),
|
|
1256
|
+
lines: e.array(Ht)
|
|
1257
|
+
}), Wt = e.object({
|
|
1258
1258
|
vatRate: L,
|
|
1259
1259
|
netAmount: w,
|
|
1260
1260
|
vatAmount: w
|
|
1261
|
-
}),
|
|
1261
|
+
}), Gt = e.object({
|
|
1262
1262
|
uuid: e.uuid(),
|
|
1263
1263
|
createdAt: e.iso.datetime(),
|
|
1264
1264
|
status: S,
|
|
1265
1265
|
sequence: e.string().nullable()
|
|
1266
|
-
}),
|
|
1266
|
+
}), Kt = e.enum([
|
|
1267
1267
|
"unsent",
|
|
1268
1268
|
"processing",
|
|
1269
1269
|
"sent",
|
|
1270
1270
|
"viewed",
|
|
1271
1271
|
"failed"
|
|
1272
|
-
]),
|
|
1272
|
+
]), qt = e.object({
|
|
1273
1273
|
uuid: e.uuid(),
|
|
1274
1274
|
sequence: e.string().nullable(),
|
|
1275
|
-
type:
|
|
1275
|
+
type: It,
|
|
1276
1276
|
createdAt: e.iso.datetime(),
|
|
1277
1277
|
updatedAt: e.iso.datetime(),
|
|
1278
1278
|
issueOn: e.iso.date().nullable(),
|
|
1279
1279
|
dueOn: e.iso.date().nullable(),
|
|
1280
1280
|
deliveredOn: e.iso.date().nullable(),
|
|
1281
|
-
issuer:
|
|
1282
|
-
recipient:
|
|
1283
|
-
customer:
|
|
1281
|
+
issuer: Lt,
|
|
1282
|
+
recipient: Rt.nullable(),
|
|
1283
|
+
customer: zt,
|
|
1284
1284
|
status: S,
|
|
1285
1285
|
lifecycleStatus: I,
|
|
1286
1286
|
paymentReference: e.string().nullable(),
|
|
@@ -1297,20 +1297,20 @@ var D = e.object({
|
|
|
1297
1297
|
P,
|
|
1298
1298
|
F
|
|
1299
1299
|
])),
|
|
1300
|
-
ungroupedLines: e.array(
|
|
1301
|
-
groups: e.array(
|
|
1302
|
-
vatSummaries: e.array(
|
|
1300
|
+
ungroupedLines: e.array(Ht),
|
|
1301
|
+
groups: e.array(Ut),
|
|
1302
|
+
vatSummaries: e.array(Wt),
|
|
1303
1303
|
grossAmount: w,
|
|
1304
1304
|
netAmount: w,
|
|
1305
1305
|
effectiveNet: w,
|
|
1306
1306
|
vatAmount: w,
|
|
1307
1307
|
totalDiscountAmount: w.nullable(),
|
|
1308
1308
|
globalDiscount: R.nullable(),
|
|
1309
|
-
originalInvoice:
|
|
1309
|
+
originalInvoice: Gt.nullable(),
|
|
1310
1310
|
externalRemarks: e.string().nullable(),
|
|
1311
|
-
deliveryStatus:
|
|
1311
|
+
deliveryStatus: Kt,
|
|
1312
1312
|
isDisputed: e.boolean()
|
|
1313
|
-
}),
|
|
1313
|
+
}), Jt = e.object({ customerUuid: e.uuid() }), Yt = e.object({ uuid: e.uuid() }), Xt = e.object({
|
|
1314
1314
|
uuid: e.uuid(),
|
|
1315
1315
|
name: e.string().nullable(),
|
|
1316
1316
|
email: e.email().nullable(),
|
|
@@ -1320,11 +1320,11 @@ var D = e.object({
|
|
|
1320
1320
|
vatNumber: e.string().nullable(),
|
|
1321
1321
|
bankAccountNumber: e.string().nullable(),
|
|
1322
1322
|
alternativeBankAccountNumber: e.string().nullable()
|
|
1323
|
-
}),
|
|
1323
|
+
}), Zt = e.object({
|
|
1324
1324
|
uuid: e.uuid(),
|
|
1325
1325
|
name: e.string().nullable(),
|
|
1326
1326
|
email: e.email().nullable()
|
|
1327
|
-
}),
|
|
1327
|
+
}), Qt = e.object({
|
|
1328
1328
|
uuid: e.uuid(),
|
|
1329
1329
|
name: e.string().nullable(),
|
|
1330
1330
|
email: e.email().nullable(),
|
|
@@ -1333,11 +1333,11 @@ var D = e.object({
|
|
|
1333
1333
|
address: E.nullable(),
|
|
1334
1334
|
vatNumber: e.string().nullable(),
|
|
1335
1335
|
type: x
|
|
1336
|
-
}),
|
|
1336
|
+
}), $t = e.object({
|
|
1337
1337
|
uuid: e.uuid(),
|
|
1338
1338
|
quantity: e.number(),
|
|
1339
1339
|
remainingQuantity: e.number().nullable()
|
|
1340
|
-
}),
|
|
1340
|
+
}), en = e.object({
|
|
1341
1341
|
uuid: e.uuid(),
|
|
1342
1342
|
groupUuid: e.uuid().nullable(),
|
|
1343
1343
|
position: e.number(),
|
|
@@ -1361,10 +1361,10 @@ var D = e.object({
|
|
|
1361
1361
|
netAmount: w,
|
|
1362
1362
|
grossAmount: w,
|
|
1363
1363
|
discount: R.nullable(),
|
|
1364
|
-
unit:
|
|
1364
|
+
unit: Vt,
|
|
1365
1365
|
isDiscount: e.boolean(),
|
|
1366
|
-
originalLine:
|
|
1367
|
-
}),
|
|
1366
|
+
originalLine: $t.nullable()
|
|
1367
|
+
}), tn = e.object({
|
|
1368
1368
|
uuid: e.uuid(),
|
|
1369
1369
|
position: e.number(),
|
|
1370
1370
|
name: e.string(),
|
|
@@ -1380,17 +1380,17 @@ var D = e.object({
|
|
|
1380
1380
|
P,
|
|
1381
1381
|
F
|
|
1382
1382
|
])),
|
|
1383
|
-
lines: e.array(
|
|
1384
|
-
}),
|
|
1383
|
+
lines: e.array(en)
|
|
1384
|
+
}), nn = e.object({
|
|
1385
1385
|
vatRate: L,
|
|
1386
1386
|
netAmount: w,
|
|
1387
1387
|
vatAmount: w
|
|
1388
|
-
}),
|
|
1388
|
+
}), rn = e.object({
|
|
1389
1389
|
uuid: e.uuid(),
|
|
1390
1390
|
name: e.string(),
|
|
1391
|
-
mimeType:
|
|
1391
|
+
mimeType: Ce,
|
|
1392
1392
|
blurHash: e.string().nullable()
|
|
1393
|
-
}),
|
|
1393
|
+
}), an = e.object({
|
|
1394
1394
|
uuid: e.uuid(),
|
|
1395
1395
|
createdAt: e.iso.datetime(),
|
|
1396
1396
|
status: S,
|
|
@@ -1400,15 +1400,15 @@ var D = e.object({
|
|
|
1400
1400
|
paidAmount: w.nullable(),
|
|
1401
1401
|
balanceDueAmount: w.nullable(),
|
|
1402
1402
|
creditableAmount: w.nullable()
|
|
1403
|
-
}),
|
|
1403
|
+
}), on = e.object({
|
|
1404
1404
|
uuid: e.string(),
|
|
1405
1405
|
firstName: e.string().nullable(),
|
|
1406
1406
|
lastName: e.string().nullable()
|
|
1407
|
-
}),
|
|
1407
|
+
}), sn = e.enum(["user", "service_user"]), cn = e.object({
|
|
1408
1408
|
uuid: e.uuid(),
|
|
1409
1409
|
firstName: e.string().nullable(),
|
|
1410
1410
|
lastName: e.string().nullable(),
|
|
1411
|
-
type:
|
|
1411
|
+
type: sn
|
|
1412
1412
|
}), z = e.enum([
|
|
1413
1413
|
"unpaid",
|
|
1414
1414
|
"partially_paid",
|
|
@@ -1416,26 +1416,26 @@ var D = e.object({
|
|
|
1416
1416
|
"overpaid",
|
|
1417
1417
|
"credited",
|
|
1418
1418
|
"settled"
|
|
1419
|
-
]),
|
|
1419
|
+
]), ln = e.object({
|
|
1420
1420
|
uuid: e.uuid(),
|
|
1421
1421
|
sentAt: e.iso.datetime()
|
|
1422
|
-
}),
|
|
1422
|
+
}), un = e.enum(["after_last_reminder", "after_due_date"]), dn = e.object({
|
|
1423
1423
|
uuid: e.uuid(),
|
|
1424
1424
|
sequence: e.number(),
|
|
1425
|
-
schedule:
|
|
1425
|
+
schedule: un,
|
|
1426
1426
|
offsetDays: e.number()
|
|
1427
|
-
}),
|
|
1427
|
+
}), fn = e.object({
|
|
1428
1428
|
uuid: e.uuid(),
|
|
1429
1429
|
sequence: e.string().nullable(),
|
|
1430
|
-
type:
|
|
1430
|
+
type: It,
|
|
1431
1431
|
createdAt: e.iso.datetime(),
|
|
1432
1432
|
updatedAt: e.iso.datetime(),
|
|
1433
1433
|
issueOn: e.iso.date().nullable(),
|
|
1434
1434
|
dueOn: e.iso.date().nullable(),
|
|
1435
1435
|
deliveredOn: e.iso.date().nullable(),
|
|
1436
|
-
issuer:
|
|
1437
|
-
recipient:
|
|
1438
|
-
customer:
|
|
1436
|
+
issuer: Xt,
|
|
1437
|
+
recipient: Zt.nullable(),
|
|
1438
|
+
customer: Qt,
|
|
1439
1439
|
status: S,
|
|
1440
1440
|
lifecycleStatus: I,
|
|
1441
1441
|
paymentReference: e.string().nullable(),
|
|
@@ -1452,40 +1452,40 @@ var D = e.object({
|
|
|
1452
1452
|
P,
|
|
1453
1453
|
F
|
|
1454
1454
|
])),
|
|
1455
|
-
ungroupedLines: e.array(
|
|
1456
|
-
groups: e.array(
|
|
1457
|
-
vatSummaries: e.array(
|
|
1455
|
+
ungroupedLines: e.array(en),
|
|
1456
|
+
groups: e.array(tn),
|
|
1457
|
+
vatSummaries: e.array(nn),
|
|
1458
1458
|
grossAmount: w,
|
|
1459
1459
|
netAmount: w,
|
|
1460
1460
|
effectiveNet: w,
|
|
1461
1461
|
vatAmount: w,
|
|
1462
1462
|
totalDiscountAmount: w.nullable(),
|
|
1463
1463
|
globalDiscount: R.nullable(),
|
|
1464
|
-
attachments: e.array(
|
|
1465
|
-
creditNotes: e.array(
|
|
1466
|
-
originalInvoice:
|
|
1467
|
-
preparedBy:
|
|
1468
|
-
lastUpdatedBy:
|
|
1469
|
-
file:
|
|
1464
|
+
attachments: e.array(rn),
|
|
1465
|
+
creditNotes: e.array(an),
|
|
1466
|
+
originalInvoice: an.nullable(),
|
|
1467
|
+
preparedBy: on,
|
|
1468
|
+
lastUpdatedBy: cn.nullable(),
|
|
1469
|
+
file: rn.nullable(),
|
|
1470
1470
|
externalRemarks: e.string().nullable(),
|
|
1471
1471
|
paidAmount: w.nullable(),
|
|
1472
1472
|
settlementStatus: z,
|
|
1473
1473
|
balanceDueAmount: w.nullable(),
|
|
1474
1474
|
currency: C,
|
|
1475
|
-
deliveryStatus:
|
|
1475
|
+
deliveryStatus: Kt,
|
|
1476
1476
|
isDisputed: e.boolean(),
|
|
1477
1477
|
isOverdue: e.boolean(),
|
|
1478
|
-
reminders: e.array(
|
|
1479
|
-
reminderConfigs: e.array(
|
|
1480
|
-
}),
|
|
1478
|
+
reminders: e.array(ln),
|
|
1479
|
+
reminderConfigs: e.array(dn)
|
|
1480
|
+
}), pn = e.enum([
|
|
1481
1481
|
"created_at",
|
|
1482
1482
|
"issued_on",
|
|
1483
1483
|
"sequence",
|
|
1484
1484
|
"customer",
|
|
1485
1485
|
"netAmount"
|
|
1486
|
-
]),
|
|
1487
|
-
key:
|
|
1488
|
-
order:
|
|
1486
|
+
]), mn = e.object({
|
|
1487
|
+
key: pn,
|
|
1488
|
+
order: dt
|
|
1489
1489
|
}), B = e.object({
|
|
1490
1490
|
definitionUuid: e.uuid(),
|
|
1491
1491
|
type: e.enum(["number"]),
|
|
@@ -1525,10 +1525,10 @@ var D = e.object({
|
|
|
1525
1525
|
}), Y = e.object({
|
|
1526
1526
|
startDate: e.iso.date(),
|
|
1527
1527
|
endDate: e.iso.date()
|
|
1528
|
-
}),
|
|
1529
|
-
scope:
|
|
1528
|
+
}), hn = e.enum(["include", "exclude"]), X = e.object({
|
|
1529
|
+
scope: hn,
|
|
1530
1530
|
values: e.array(e.uuid())
|
|
1531
|
-
}),
|
|
1531
|
+
}), gn = e.object({
|
|
1532
1532
|
statuses: e.array(S).optional(),
|
|
1533
1533
|
lifecycleStatuses: e.array(I).optional(),
|
|
1534
1534
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -1551,18 +1551,18 @@ var D = e.object({
|
|
|
1551
1551
|
q,
|
|
1552
1552
|
J
|
|
1553
1553
|
])).optional()
|
|
1554
|
-
}),
|
|
1554
|
+
}), _n = e.object({
|
|
1555
1555
|
uuid: e.uuid(),
|
|
1556
1556
|
externalId: e.string().nullable(),
|
|
1557
1557
|
name: e.string()
|
|
1558
|
-
}),
|
|
1558
|
+
}), vn = e.object({
|
|
1559
1559
|
uuid: e.uuid(),
|
|
1560
|
-
type:
|
|
1560
|
+
type: It,
|
|
1561
1561
|
createdAt: e.iso.datetime(),
|
|
1562
1562
|
issuedOn: e.iso.date().nullable(),
|
|
1563
1563
|
dueOn: e.iso.date().nullable(),
|
|
1564
1564
|
subject: e.string().nullable(),
|
|
1565
|
-
customer:
|
|
1565
|
+
customer: _n,
|
|
1566
1566
|
status: S,
|
|
1567
1567
|
lifecycleStatus: I,
|
|
1568
1568
|
netAmount: w,
|
|
@@ -1574,7 +1574,7 @@ var D = e.object({
|
|
|
1574
1574
|
balanceDueAmount: w.nullable(),
|
|
1575
1575
|
isDisputed: e.boolean(),
|
|
1576
1576
|
isOverdue: e.boolean(),
|
|
1577
|
-
deliveryStatus:
|
|
1577
|
+
deliveryStatus: Kt,
|
|
1578
1578
|
customFields: e.array(e.union([
|
|
1579
1579
|
D,
|
|
1580
1580
|
O,
|
|
@@ -1586,8 +1586,8 @@ var D = e.object({
|
|
|
1586
1586
|
P,
|
|
1587
1587
|
F
|
|
1588
1588
|
]))
|
|
1589
|
-
}),
|
|
1590
|
-
items: e.array(
|
|
1589
|
+
}), yn = e.object({
|
|
1590
|
+
items: e.array(vn),
|
|
1591
1591
|
meta: y
|
|
1592
1592
|
});
|
|
1593
1593
|
e.object({
|
|
@@ -1599,7 +1599,7 @@ e.object({
|
|
|
1599
1599
|
status: e.enum(["400"]),
|
|
1600
1600
|
code: e.enum(["custom_field_value_validation"])
|
|
1601
1601
|
});
|
|
1602
|
-
var
|
|
1602
|
+
var bn = e.object({
|
|
1603
1603
|
issuedOn: e.iso.date(),
|
|
1604
1604
|
deliveredOn: e.iso.date().nullable(),
|
|
1605
1605
|
dueOn: e.iso.date(),
|
|
@@ -1638,7 +1638,7 @@ e.object({
|
|
|
1638
1638
|
status: e.enum(["400"]),
|
|
1639
1639
|
code: e.enum(["invoice_line_and_group_position_overlap"])
|
|
1640
1640
|
});
|
|
1641
|
-
var
|
|
1641
|
+
var xn = e.object({
|
|
1642
1642
|
name: e.string(),
|
|
1643
1643
|
description: e.string().nullable(),
|
|
1644
1644
|
position: e.int(),
|
|
@@ -1646,7 +1646,7 @@ var bn = e.object({
|
|
|
1646
1646
|
unitPrice: w,
|
|
1647
1647
|
vatRate: L,
|
|
1648
1648
|
discount: R.nullable(),
|
|
1649
|
-
unit:
|
|
1649
|
+
unit: Vt,
|
|
1650
1650
|
isDiscount: e.boolean(),
|
|
1651
1651
|
customFields: e.array(e.union([
|
|
1652
1652
|
D,
|
|
@@ -1659,11 +1659,11 @@ var bn = e.object({
|
|
|
1659
1659
|
P,
|
|
1660
1660
|
F
|
|
1661
1661
|
])).optional()
|
|
1662
|
-
}),
|
|
1662
|
+
}), Sn = e.object({
|
|
1663
1663
|
name: e.string(),
|
|
1664
1664
|
description: e.string().nullable(),
|
|
1665
1665
|
position: e.int(),
|
|
1666
|
-
lines: e.array(
|
|
1666
|
+
lines: e.array(xn),
|
|
1667
1667
|
customFields: e.array(e.union([
|
|
1668
1668
|
D,
|
|
1669
1669
|
O,
|
|
@@ -1675,22 +1675,22 @@ var bn = e.object({
|
|
|
1675
1675
|
P,
|
|
1676
1676
|
F
|
|
1677
1677
|
])).optional()
|
|
1678
|
-
}),
|
|
1679
|
-
groups: e.array(
|
|
1680
|
-
ungroupedLines: e.array(
|
|
1678
|
+
}), Cn = e.object({
|
|
1679
|
+
groups: e.array(Sn),
|
|
1680
|
+
ungroupedLines: e.array(xn)
|
|
1681
1681
|
});
|
|
1682
1682
|
e.object({
|
|
1683
1683
|
detail: e.string().optional(),
|
|
1684
1684
|
status: e.enum(["409"]),
|
|
1685
1685
|
code: e.enum(["global_discount_exceeds_total_net"])
|
|
1686
1686
|
}), e.object({ discount: R.nullable() });
|
|
1687
|
-
var
|
|
1687
|
+
var wn = e.object({ discount: R });
|
|
1688
1688
|
e.object({
|
|
1689
1689
|
detail: e.string().optional(),
|
|
1690
1690
|
status: e.enum(["409"]),
|
|
1691
1691
|
code: e.enum(["file_unconfirmed"])
|
|
1692
1692
|
});
|
|
1693
|
-
var
|
|
1693
|
+
var Tn = e.object({ fileUuids: e.array(e.uuid()) });
|
|
1694
1694
|
e.object({
|
|
1695
1695
|
detail: e.string().optional(),
|
|
1696
1696
|
status: e.enum(["404"]),
|
|
@@ -1716,13 +1716,13 @@ e.object({
|
|
|
1716
1716
|
status: e.enum(["409"]),
|
|
1717
1717
|
code: e.enum(["credit_note_settled"])
|
|
1718
1718
|
});
|
|
1719
|
-
var
|
|
1719
|
+
var En = e.object({ uuid: e.uuid() });
|
|
1720
1720
|
e.object({
|
|
1721
1721
|
detail: e.string().optional(),
|
|
1722
1722
|
status: e.enum(["409"]),
|
|
1723
1723
|
code: e.enum(["invoice_not_credit_note"])
|
|
1724
1724
|
});
|
|
1725
|
-
var
|
|
1725
|
+
var Dn = e.object({
|
|
1726
1726
|
name: e.string(),
|
|
1727
1727
|
description: e.string().nullable(),
|
|
1728
1728
|
position: e.int(),
|
|
@@ -1730,7 +1730,7 @@ var En = e.object({
|
|
|
1730
1730
|
unitPrice: w,
|
|
1731
1731
|
vatRate: L,
|
|
1732
1732
|
discount: R.nullable(),
|
|
1733
|
-
unit:
|
|
1733
|
+
unit: Vt,
|
|
1734
1734
|
isDiscount: e.boolean(),
|
|
1735
1735
|
customFields: e.array(e.union([
|
|
1736
1736
|
D,
|
|
@@ -1743,11 +1743,11 @@ var En = e.object({
|
|
|
1743
1743
|
P,
|
|
1744
1744
|
F
|
|
1745
1745
|
])).optional()
|
|
1746
|
-
}),
|
|
1746
|
+
}), On = e.object({
|
|
1747
1747
|
name: e.string(),
|
|
1748
1748
|
description: e.string().nullable(),
|
|
1749
1749
|
position: e.int(),
|
|
1750
|
-
lines: e.array(
|
|
1750
|
+
lines: e.array(Dn),
|
|
1751
1751
|
customFields: e.array(e.union([
|
|
1752
1752
|
D,
|
|
1753
1753
|
O,
|
|
@@ -1759,10 +1759,10 @@ var En = e.object({
|
|
|
1759
1759
|
P,
|
|
1760
1760
|
F
|
|
1761
1761
|
])).optional()
|
|
1762
|
-
}), On = e.object({
|
|
1763
|
-
groups: e.array(Dn),
|
|
1764
|
-
ungroupedLines: e.array(En)
|
|
1765
1762
|
}), kn = e.object({
|
|
1763
|
+
groups: e.array(On),
|
|
1764
|
+
ungroupedLines: e.array(Dn)
|
|
1765
|
+
}), An = e.object({
|
|
1766
1766
|
issuedOn: e.iso.date(),
|
|
1767
1767
|
poNumber: e.string().nullable(),
|
|
1768
1768
|
subject: e.string().nullable(),
|
|
@@ -1810,7 +1810,7 @@ e.object({
|
|
|
1810
1810
|
status: e.enum(["503"]),
|
|
1811
1811
|
code: e.enum(["mail_unavailable"])
|
|
1812
1812
|
});
|
|
1813
|
-
var
|
|
1813
|
+
var jn = e.object({
|
|
1814
1814
|
statuses: e.array(S).optional(),
|
|
1815
1815
|
lifecycleStatuses: e.array(I).optional(),
|
|
1816
1816
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -1837,24 +1837,24 @@ var An = e.object({
|
|
|
1837
1837
|
total: e.number(),
|
|
1838
1838
|
processed: e.number(),
|
|
1839
1839
|
skipped: e.number()
|
|
1840
|
-
}),
|
|
1840
|
+
}), Mn = e.object({ pointer: e.string() }), Nn = e.object({
|
|
1841
1841
|
code: e.string(),
|
|
1842
1842
|
detail: e.string().optional(),
|
|
1843
1843
|
title: e.string().optional(),
|
|
1844
1844
|
id: e.string().optional(),
|
|
1845
1845
|
status: e.string().optional(),
|
|
1846
|
-
source:
|
|
1846
|
+
source: Mn.optional(),
|
|
1847
1847
|
meta: e.record(e.string(), e.unknown()).optional()
|
|
1848
|
-
}),
|
|
1848
|
+
}), Pn = e.object({
|
|
1849
1849
|
status: e.number(),
|
|
1850
|
-
errors: e.array(
|
|
1850
|
+
errors: e.array(Nn)
|
|
1851
1851
|
}), Q = e.object({
|
|
1852
1852
|
uuid: e.string(),
|
|
1853
|
-
errors: e.array(
|
|
1854
|
-
}),
|
|
1853
|
+
errors: e.array(Pn)
|
|
1854
|
+
}), Fn = e.object({
|
|
1855
1855
|
meta: Z,
|
|
1856
1856
|
skipped: e.array(Q)
|
|
1857
|
-
}),
|
|
1857
|
+
}), In = e.object({
|
|
1858
1858
|
statuses: e.array(S).optional(),
|
|
1859
1859
|
lifecycleStatuses: e.array(I).optional(),
|
|
1860
1860
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -1877,7 +1877,7 @@ var An = e.object({
|
|
|
1877
1877
|
q,
|
|
1878
1878
|
J
|
|
1879
1879
|
])).optional()
|
|
1880
|
-
}),
|
|
1880
|
+
}), Ln = e.object({
|
|
1881
1881
|
meta: Z,
|
|
1882
1882
|
skipped: e.array(Q)
|
|
1883
1883
|
});
|
|
@@ -1890,7 +1890,7 @@ e.object({
|
|
|
1890
1890
|
status: e.enum(["409"]),
|
|
1891
1891
|
code: e.enum(["invoice_not_editable"])
|
|
1892
1892
|
});
|
|
1893
|
-
var
|
|
1893
|
+
var Rn = e.object({ uuid: e.uuid() });
|
|
1894
1894
|
e.object({
|
|
1895
1895
|
detail: e.string().optional(),
|
|
1896
1896
|
status: e.enum(["409"]),
|
|
@@ -1900,7 +1900,7 @@ e.object({
|
|
|
1900
1900
|
status: e.enum(["409"]),
|
|
1901
1901
|
code: e.enum(["invoice_status_not_eligible_for_paid"])
|
|
1902
1902
|
});
|
|
1903
|
-
var
|
|
1903
|
+
var zn = e.object({
|
|
1904
1904
|
statuses: e.array(S).optional(),
|
|
1905
1905
|
lifecycleStatuses: e.array(I).optional(),
|
|
1906
1906
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -1923,10 +1923,10 @@ var Rn = e.object({
|
|
|
1923
1923
|
q,
|
|
1924
1924
|
J
|
|
1925
1925
|
])).optional()
|
|
1926
|
-
}),
|
|
1926
|
+
}), Bn = e.object({
|
|
1927
1927
|
meta: Z,
|
|
1928
1928
|
skipped: e.array(Q)
|
|
1929
|
-
}),
|
|
1929
|
+
}), Vn = e.object({
|
|
1930
1930
|
statuses: e.array(S).optional(),
|
|
1931
1931
|
lifecycleStatuses: e.array(I).optional(),
|
|
1932
1932
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -1949,7 +1949,7 @@ var Rn = e.object({
|
|
|
1949
1949
|
q,
|
|
1950
1950
|
J
|
|
1951
1951
|
])).optional()
|
|
1952
|
-
}),
|
|
1952
|
+
}), Hn = e.object({
|
|
1953
1953
|
meta: Z,
|
|
1954
1954
|
skipped: e.array(Q)
|
|
1955
1955
|
});
|
|
@@ -1958,7 +1958,7 @@ e.object({
|
|
|
1958
1958
|
status: e.enum(["409"]),
|
|
1959
1959
|
code: e.enum(["invoice_not_disputed"])
|
|
1960
1960
|
});
|
|
1961
|
-
var
|
|
1961
|
+
var Un = e.object({
|
|
1962
1962
|
statuses: e.array(S).optional(),
|
|
1963
1963
|
lifecycleStatuses: e.array(I).optional(),
|
|
1964
1964
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -1981,10 +1981,10 @@ var Hn = e.object({
|
|
|
1981
1981
|
q,
|
|
1982
1982
|
J
|
|
1983
1983
|
])).optional()
|
|
1984
|
-
}),
|
|
1984
|
+
}), Wn = e.object({
|
|
1985
1985
|
meta: Z,
|
|
1986
1986
|
skipped: e.array(Q)
|
|
1987
|
-
}),
|
|
1987
|
+
}), Gn = e.object({
|
|
1988
1988
|
statuses: e.array(S).optional(),
|
|
1989
1989
|
lifecycleStatuses: e.array(I).optional(),
|
|
1990
1990
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -2007,10 +2007,10 @@ var Hn = e.object({
|
|
|
2007
2007
|
q,
|
|
2008
2008
|
J
|
|
2009
2009
|
])).optional()
|
|
2010
|
-
}),
|
|
2010
|
+
}), Kn = e.object({
|
|
2011
2011
|
meta: Z,
|
|
2012
2012
|
skipped: e.array(Q)
|
|
2013
|
-
}),
|
|
2013
|
+
}), qn = e.object({
|
|
2014
2014
|
entityUuids: e.array(e.uuid()).optional(),
|
|
2015
2015
|
entityTypes: e.array(e.enum([
|
|
2016
2016
|
"customer",
|
|
@@ -2023,13 +2023,13 @@ var Hn = e.object({
|
|
|
2023
2023
|
"invoice",
|
|
2024
2024
|
"credit_note"
|
|
2025
2025
|
])).optional()
|
|
2026
|
-
}),
|
|
2026
|
+
}), Jn = e.object({
|
|
2027
2027
|
createdAt: e.string(),
|
|
2028
2028
|
uuid: e.uuid()
|
|
2029
|
-
}),
|
|
2029
|
+
}), Yn = e.object({
|
|
2030
2030
|
limit: e.number().gte(0).lte(100).optional(),
|
|
2031
|
-
key:
|
|
2032
|
-
}),
|
|
2031
|
+
key: Jn.nullish()
|
|
2032
|
+
}), Xn = e.enum([
|
|
2033
2033
|
"invoice-created",
|
|
2034
2034
|
"invoice-updated",
|
|
2035
2035
|
"invoice-finalized",
|
|
@@ -2043,35 +2043,35 @@ var Hn = e.object({
|
|
|
2043
2043
|
"credit-note-created",
|
|
2044
2044
|
"credit-note-updated",
|
|
2045
2045
|
"customer-updated"
|
|
2046
|
-
]),
|
|
2046
|
+
]), Zn = e.enum([
|
|
2047
2047
|
"create",
|
|
2048
2048
|
"update",
|
|
2049
2049
|
"delete"
|
|
2050
|
-
]),
|
|
2050
|
+
]), Qn = e.enum([
|
|
2051
2051
|
"user",
|
|
2052
2052
|
"service",
|
|
2053
2053
|
"system"
|
|
2054
|
-
]),
|
|
2054
|
+
]), $n = e.object({
|
|
2055
2055
|
uuid: e.uuid(),
|
|
2056
2056
|
firstName: e.string().nullable(),
|
|
2057
2057
|
lastName: e.string().nullable(),
|
|
2058
2058
|
email: e.string().nullable()
|
|
2059
|
-
}),
|
|
2059
|
+
}), er = e.enum([
|
|
2060
2060
|
"actor",
|
|
2061
2061
|
"customer",
|
|
2062
2062
|
"invoice",
|
|
2063
2063
|
"credit_note"
|
|
2064
|
-
]),
|
|
2064
|
+
]), tr = e.enum([
|
|
2065
2065
|
"customer",
|
|
2066
2066
|
"invoice",
|
|
2067
2067
|
"credit_note"
|
|
2068
|
-
]),
|
|
2069
|
-
role:
|
|
2070
|
-
type:
|
|
2068
|
+
]), nr = e.object({
|
|
2069
|
+
role: er,
|
|
2070
|
+
type: tr,
|
|
2071
2071
|
uuid: e.uuid(),
|
|
2072
2072
|
label: e.string().nullable()
|
|
2073
|
-
}),
|
|
2074
|
-
entityRole:
|
|
2073
|
+
}), rr = e.object({
|
|
2074
|
+
entityRole: er,
|
|
2075
2075
|
field: e.string(),
|
|
2076
2076
|
from: e.union([
|
|
2077
2077
|
e.string(),
|
|
@@ -2083,29 +2083,29 @@ var Hn = e.object({
|
|
|
2083
2083
|
e.number(),
|
|
2084
2084
|
e.boolean()
|
|
2085
2085
|
]).nullable()
|
|
2086
|
-
}), rr = e.object({
|
|
2087
|
-
createdAt: e.iso.datetime(),
|
|
2088
|
-
action: Yn,
|
|
2089
|
-
changeType: Xn,
|
|
2090
|
-
actorType: Zn,
|
|
2091
|
-
actor: Qn.nullable(),
|
|
2092
|
-
entities: e.array(tr),
|
|
2093
|
-
changes: e.array(nr).nullable()
|
|
2094
2086
|
}), ir = e.object({
|
|
2095
|
-
|
|
2096
|
-
|
|
2087
|
+
createdAt: e.iso.datetime(),
|
|
2088
|
+
action: Xn,
|
|
2089
|
+
changeType: Zn,
|
|
2090
|
+
actorType: Qn,
|
|
2091
|
+
actor: $n.nullable(),
|
|
2092
|
+
entities: e.array(nr),
|
|
2093
|
+
changes: e.array(rr).nullable()
|
|
2094
|
+
}), ar = e.object({
|
|
2095
|
+
logs: e.array(ir),
|
|
2096
|
+
nextKey: Jn.nullable()
|
|
2097
2097
|
});
|
|
2098
2098
|
e.object({
|
|
2099
2099
|
detail: e.string().optional(),
|
|
2100
2100
|
status: e.enum(["409"]),
|
|
2101
2101
|
code: e.enum(["invoice_not_finalized_for_payment"])
|
|
2102
2102
|
});
|
|
2103
|
-
var
|
|
2103
|
+
var or = e.object({
|
|
2104
2104
|
amount: w,
|
|
2105
2105
|
date: e.iso.date(),
|
|
2106
2106
|
paymentReference: e.string().nullish(),
|
|
2107
2107
|
remarks: e.string().nullish()
|
|
2108
|
-
}),
|
|
2108
|
+
}), sr = e.object({ uuid: e.uuid() });
|
|
2109
2109
|
e.object({
|
|
2110
2110
|
detail: e.string().optional(),
|
|
2111
2111
|
status: e.enum(["404"]),
|
|
@@ -2115,33 +2115,37 @@ e.object({
|
|
|
2115
2115
|
status: e.enum(["409"]),
|
|
2116
2116
|
code: e.enum(["payment_not_manual"])
|
|
2117
2117
|
});
|
|
2118
|
-
var
|
|
2118
|
+
var cr = e.enum(["manual", "exact"]), lr = e.object({
|
|
2119
2119
|
uuid: e.uuid(),
|
|
2120
2120
|
amount: w,
|
|
2121
2121
|
date: e.iso.date(),
|
|
2122
2122
|
createdAt: e.iso.datetime(),
|
|
2123
2123
|
paymentReference: e.string().nullable(),
|
|
2124
2124
|
remarks: e.string().nullable(),
|
|
2125
|
-
source:
|
|
2126
|
-
}),
|
|
2125
|
+
source: cr
|
|
2126
|
+
}), ur = e.object({ items: e.array(lr) }), dr = e.union([
|
|
2127
2127
|
e.literal(1),
|
|
2128
2128
|
e.literal(2),
|
|
2129
2129
|
e.literal(3)
|
|
2130
|
-
]),
|
|
2130
|
+
]), fr = e.object({
|
|
2131
2131
|
locale: e.string(),
|
|
2132
2132
|
value: e.string()
|
|
2133
|
-
}), $ = e.object({ items: e.array(
|
|
2133
|
+
}), $ = e.object({ items: e.array(fr) }), pr = e.object({
|
|
2134
2134
|
subject: $,
|
|
2135
2135
|
body: $
|
|
2136
|
-
}),
|
|
2136
|
+
}), mr = e.enum(["percentage", "amount"]), hr = e.object({
|
|
2137
|
+
type: mr,
|
|
2138
|
+
amount: w.nullable(),
|
|
2139
|
+
percentage: e.number().nullable()
|
|
2140
|
+
}), gr = e.object({
|
|
2137
2141
|
uuid: e.uuid(),
|
|
2138
2142
|
issuerUuid: e.uuid(),
|
|
2139
|
-
sequence:
|
|
2140
|
-
schedule:
|
|
2143
|
+
sequence: dr,
|
|
2144
|
+
schedule: un,
|
|
2141
2145
|
offsetDays: e.number(),
|
|
2142
|
-
template:
|
|
2143
|
-
fee:
|
|
2144
|
-
}),
|
|
2146
|
+
template: pr,
|
|
2147
|
+
fee: hr
|
|
2148
|
+
}), _r = e.object({ items: e.array(gr) });
|
|
2145
2149
|
e.object({
|
|
2146
2150
|
detail: e.string().optional(),
|
|
2147
2151
|
status: e.enum(["400"]),
|
|
@@ -2155,20 +2159,20 @@ e.object({
|
|
|
2155
2159
|
status: e.enum(["400"]),
|
|
2156
2160
|
code: e.enum(["additional_reminder_config"])
|
|
2157
2161
|
});
|
|
2158
|
-
var
|
|
2162
|
+
var vr = e.object({
|
|
2159
2163
|
subject: $,
|
|
2160
2164
|
body: $
|
|
2161
|
-
}),
|
|
2165
|
+
}), yr = e.object({
|
|
2162
2166
|
sequence: e.number(),
|
|
2163
2167
|
offsetDays: e.int().gte(1),
|
|
2164
|
-
schedule:
|
|
2165
|
-
template:
|
|
2166
|
-
fee:
|
|
2167
|
-
}),
|
|
2168
|
+
schedule: un,
|
|
2169
|
+
template: vr,
|
|
2170
|
+
fee: hr
|
|
2171
|
+
}), br = e.object({ reminders: e.array(yr) }), xr = e.enum([
|
|
2168
2172
|
"invoice",
|
|
2169
2173
|
"invoice-line",
|
|
2170
2174
|
"invoice-line-group"
|
|
2171
|
-
]),
|
|
2175
|
+
]), Sr = e.object({ entityTypes: e.array(xr).optional() }), Cr = e.enum([
|
|
2172
2176
|
"text",
|
|
2173
2177
|
"text_array",
|
|
2174
2178
|
"number",
|
|
@@ -2178,20 +2182,20 @@ var hr = e.object({
|
|
|
2178
2182
|
"single_select",
|
|
2179
2183
|
"multi_select",
|
|
2180
2184
|
"monetary"
|
|
2181
|
-
]),
|
|
2185
|
+
]), wr = e.object({
|
|
2182
2186
|
value: e.string(),
|
|
2183
2187
|
label: $,
|
|
2184
2188
|
order: e.number()
|
|
2185
|
-
}),
|
|
2189
|
+
}), Tr = e.object({
|
|
2186
2190
|
uuid: e.uuid(),
|
|
2187
2191
|
tenantUuid: e.uuid().nullable(),
|
|
2188
2192
|
entityType: e.string(),
|
|
2189
2193
|
key: e.string(),
|
|
2190
2194
|
label: $,
|
|
2191
2195
|
description: $.nullable(),
|
|
2192
|
-
type:
|
|
2196
|
+
type: Cr,
|
|
2193
2197
|
isRequired: e.boolean(),
|
|
2194
|
-
choices: e.array(
|
|
2198
|
+
choices: e.array(wr).nullable(),
|
|
2195
2199
|
rules: e.record(e.string(), e.unknown()).nullable()
|
|
2196
2200
|
});
|
|
2197
2201
|
e.object({
|
|
@@ -2199,17 +2203,17 @@ e.object({
|
|
|
2199
2203
|
status: e.enum(["404"]),
|
|
2200
2204
|
code: e.enum(["dunning_case_not_found"])
|
|
2201
2205
|
});
|
|
2202
|
-
var
|
|
2206
|
+
var Er = e.object({
|
|
2203
2207
|
uuid: e.uuid(),
|
|
2204
2208
|
type: x,
|
|
2205
2209
|
name: e.string(),
|
|
2206
2210
|
vatNumber: e.string().nullable(),
|
|
2207
2211
|
email: e.string().nullable()
|
|
2208
|
-
}),
|
|
2212
|
+
}), Dr = e.object({
|
|
2209
2213
|
uuid: e.uuid(),
|
|
2210
2214
|
date: e.iso.date(),
|
|
2211
2215
|
amount: w
|
|
2212
|
-
}),
|
|
2216
|
+
}), Or = e.object({
|
|
2213
2217
|
uuid: e.uuid(),
|
|
2214
2218
|
sequence: e.string(),
|
|
2215
2219
|
grossAmount: w,
|
|
@@ -2218,21 +2222,21 @@ var Cr = e.object({
|
|
|
2218
2222
|
e.enum(["infinity"]),
|
|
2219
2223
|
e.enum(["-infinity"])
|
|
2220
2224
|
])
|
|
2221
|
-
}),
|
|
2225
|
+
}), kr = e.object({
|
|
2222
2226
|
uuid: e.uuid(),
|
|
2223
2227
|
subject: e.string().nullable(),
|
|
2224
2228
|
sequence: e.string(),
|
|
2225
2229
|
dueOn: e.iso.date(),
|
|
2226
|
-
level: e.number(),
|
|
2230
|
+
level: e.number().nullable(),
|
|
2227
2231
|
grossAmount: w,
|
|
2228
2232
|
balanceDueAmount: w,
|
|
2229
2233
|
totalCreditedAmount: w,
|
|
2230
2234
|
paidAmount: w,
|
|
2231
2235
|
isDisputed: e.boolean(),
|
|
2232
2236
|
settlementStatus: z,
|
|
2233
|
-
payments: e.array(
|
|
2234
|
-
creditNotes: e.array(
|
|
2235
|
-
}),
|
|
2237
|
+
payments: e.array(Dr),
|
|
2238
|
+
creditNotes: e.array(Or)
|
|
2239
|
+
}), Ar = e.object({
|
|
2236
2240
|
uuid: e.uuid(),
|
|
2237
2241
|
sentAt: e.union([
|
|
2238
2242
|
e.iso.datetime(),
|
|
@@ -2240,7 +2244,7 @@ var Cr = e.object({
|
|
|
2240
2244
|
e.enum(["-infinity"])
|
|
2241
2245
|
]).nullable(),
|
|
2242
2246
|
hasErrors: e.boolean()
|
|
2243
|
-
}),
|
|
2247
|
+
}), jr = e.enum(["missing_email"]), Mr = e.object({
|
|
2244
2248
|
uuid: e.uuid(),
|
|
2245
2249
|
createdAt: e.iso.datetime(),
|
|
2246
2250
|
updatedAt: e.iso.datetime(),
|
|
@@ -2248,8 +2252,8 @@ var Cr = e.object({
|
|
|
2248
2252
|
isClosed: e.boolean(),
|
|
2249
2253
|
nextReminderOn: e.iso.date().nullable(),
|
|
2250
2254
|
level: e.number().nullable(),
|
|
2251
|
-
customer:
|
|
2252
|
-
invoices: e.array(
|
|
2255
|
+
customer: Er,
|
|
2256
|
+
invoices: e.array(kr),
|
|
2253
2257
|
outstandingBalance: w,
|
|
2254
2258
|
totalPaid: w,
|
|
2255
2259
|
totalInvoiced: w,
|
|
@@ -2261,17 +2265,17 @@ var Cr = e.object({
|
|
|
2261
2265
|
e.enum(["-infinity"])
|
|
2262
2266
|
]).nullable(),
|
|
2263
2267
|
canSendReminder: e.boolean(),
|
|
2264
|
-
latestCreatedReminder:
|
|
2265
|
-
blockedReason:
|
|
2266
|
-
}),
|
|
2268
|
+
latestCreatedReminder: Ar.nullable(),
|
|
2269
|
+
blockedReason: jr.nullable()
|
|
2270
|
+
}), Nr = e.object({
|
|
2267
2271
|
isOpen: e.boolean().optional(),
|
|
2268
2272
|
customerUuid: e.uuid().optional(),
|
|
2269
2273
|
level: e.number().optional(),
|
|
2270
2274
|
dunningCaseUuids: X.optional()
|
|
2271
|
-
}),
|
|
2275
|
+
}), Pr = e.object({
|
|
2272
2276
|
uuid: e.uuid(),
|
|
2273
2277
|
name: e.string()
|
|
2274
|
-
}),
|
|
2278
|
+
}), Fr = e.object({
|
|
2275
2279
|
uuid: e.uuid(),
|
|
2276
2280
|
sentAt: e.union([
|
|
2277
2281
|
e.iso.datetime(),
|
|
@@ -2279,9 +2283,9 @@ var Cr = e.object({
|
|
|
2279
2283
|
e.enum(["-infinity"])
|
|
2280
2284
|
]).nullable(),
|
|
2281
2285
|
hasErrors: e.boolean()
|
|
2282
|
-
}),
|
|
2286
|
+
}), Ir = e.object({
|
|
2283
2287
|
uuid: e.uuid(),
|
|
2284
|
-
customer:
|
|
2288
|
+
customer: Pr,
|
|
2285
2289
|
level: e.number().nullable(),
|
|
2286
2290
|
daysOverdue: e.number(),
|
|
2287
2291
|
outstandingBalance: w,
|
|
@@ -2296,13 +2300,17 @@ var Cr = e.object({
|
|
|
2296
2300
|
e.enum(["-infinity"])
|
|
2297
2301
|
]).nullable(),
|
|
2298
2302
|
canSendReminder: e.boolean(),
|
|
2299
|
-
latestCreatedReminder:
|
|
2300
|
-
blockedReason:
|
|
2301
|
-
}),
|
|
2302
|
-
items: e.array(
|
|
2303
|
+
latestCreatedReminder: Fr.nullable(),
|
|
2304
|
+
blockedReason: jr.nullable()
|
|
2305
|
+
}), Lr = e.object({
|
|
2306
|
+
items: e.array(Ir),
|
|
2303
2307
|
meta: y
|
|
2304
2308
|
});
|
|
2305
2309
|
e.object({
|
|
2310
|
+
detail: e.string().optional(),
|
|
2311
|
+
status: e.enum(["409"]),
|
|
2312
|
+
code: e.enum(["dunning_case_reminder_no_active_level"])
|
|
2313
|
+
}), e.object({
|
|
2306
2314
|
detail: e.string().optional(),
|
|
2307
2315
|
status: e.enum(["409"]),
|
|
2308
2316
|
code: e.enum(["dunning_case_reminder_not_due"])
|
|
@@ -2315,23 +2323,23 @@ e.object({
|
|
|
2315
2323
|
status: e.enum(["409"]),
|
|
2316
2324
|
code: e.enum(["dunning_case_reminder_config_not_found"])
|
|
2317
2325
|
});
|
|
2318
|
-
var
|
|
2326
|
+
var Rr = e.object({
|
|
2319
2327
|
isOpen: e.boolean().optional(),
|
|
2320
2328
|
customerUuid: e.uuid().optional(),
|
|
2321
2329
|
level: e.number().optional(),
|
|
2322
2330
|
dunningCaseUuids: X.optional()
|
|
2323
|
-
}),
|
|
2331
|
+
}), zr = e.object({
|
|
2324
2332
|
meta: Z,
|
|
2325
2333
|
skipped: e.array(Q)
|
|
2326
|
-
}),
|
|
2334
|
+
}), Br = e.object({
|
|
2327
2335
|
isOpen: e.boolean().optional(),
|
|
2328
2336
|
customerUuid: e.uuid().optional(),
|
|
2329
2337
|
level: e.number().optional(),
|
|
2330
2338
|
dunningCaseUuids: X.optional()
|
|
2331
|
-
}),
|
|
2339
|
+
}), Vr = e.object({
|
|
2332
2340
|
meta: Z,
|
|
2333
2341
|
skipped: e.array(Q)
|
|
2334
|
-
}),
|
|
2342
|
+
}), Hr = e.object({
|
|
2335
2343
|
name: e.string().nullable(),
|
|
2336
2344
|
email: e.email().nullable(),
|
|
2337
2345
|
phoneNumber: e.string().nullable(),
|
|
@@ -2341,7 +2349,7 @@ var Fr = e.object({
|
|
|
2341
2349
|
bankAccountNumber: e.string().nullable(),
|
|
2342
2350
|
alternativeBankAccountNumber: e.string().nullable(),
|
|
2343
2351
|
currency: C
|
|
2344
|
-
}),
|
|
2352
|
+
}), Ur = e.object({
|
|
2345
2353
|
name: e.string(),
|
|
2346
2354
|
address: E.nullable(),
|
|
2347
2355
|
email: e.email().nullable(),
|
|
@@ -2351,10 +2359,10 @@ var Fr = e.object({
|
|
|
2351
2359
|
type: x,
|
|
2352
2360
|
locale: b,
|
|
2353
2361
|
currency: C
|
|
2354
|
-
}),
|
|
2362
|
+
}), Wr = e.object({
|
|
2355
2363
|
name: e.string().nullable(),
|
|
2356
2364
|
email: e.email()
|
|
2357
|
-
}),
|
|
2365
|
+
}), Gr = e.object({
|
|
2358
2366
|
sequence: e.string(),
|
|
2359
2367
|
issuedOn: e.iso.date(),
|
|
2360
2368
|
dueOn: e.iso.date(),
|
|
@@ -2363,21 +2371,21 @@ var Fr = e.object({
|
|
|
2363
2371
|
daysOverdue: e.number(),
|
|
2364
2372
|
fee: w,
|
|
2365
2373
|
isNew: e.boolean()
|
|
2366
|
-
}),
|
|
2374
|
+
}), Kr = e.object({
|
|
2367
2375
|
sequence: e.string(),
|
|
2368
2376
|
issuedOn: e.iso.date(),
|
|
2369
2377
|
dueOn: e.iso.date(),
|
|
2370
2378
|
outstandingBalance: w,
|
|
2371
2379
|
daysOverdue: e.number()
|
|
2372
|
-
}),
|
|
2380
|
+
}), qr = e.object({
|
|
2373
2381
|
createdAt: e.iso.datetime(),
|
|
2374
2382
|
sentAt: e.iso.datetime().nullable(),
|
|
2375
2383
|
level: e.number(),
|
|
2376
|
-
issuer:
|
|
2377
|
-
customer:
|
|
2378
|
-
recipient:
|
|
2379
|
-
invoices: e.array(
|
|
2380
|
-
outstandingInvoices: e.array(
|
|
2384
|
+
issuer: Hr,
|
|
2385
|
+
customer: Ur,
|
|
2386
|
+
recipient: Wr,
|
|
2387
|
+
invoices: e.array(Gr),
|
|
2388
|
+
outstandingInvoices: e.array(Kr),
|
|
2381
2389
|
totalFee: w
|
|
2382
2390
|
});
|
|
2383
2391
|
e.object({
|
|
@@ -2387,562 +2395,573 @@ e.object({
|
|
|
2387
2395
|
}), e.object({
|
|
2388
2396
|
fresh: e.boolean(),
|
|
2389
2397
|
collections: e.array(ge).optional()
|
|
2390
|
-
}), e.object({ collections: e.array(ge).optional() }), e.object({ user: e.uuid() }), e.object({ uuid: e.uuid() })
|
|
2398
|
+
}), e.object({ collections: e.array(ge).optional() }), e.object({ user: e.uuid() }), e.object({ uuid: e.uuid() });
|
|
2399
|
+
var Jr = e.object({
|
|
2391
2400
|
pagination: v.optional(),
|
|
2392
2401
|
search: e.string().optional()
|
|
2393
|
-
}),
|
|
2394
|
-
|
|
2402
|
+
}), Yr = be;
|
|
2403
|
+
e.void(), e.void(), e.object({ role: e.uuid() }), e.void(), e.object({ role: e.uuid() }), e.object({ role: e.uuid() }), e.void();
|
|
2404
|
+
var Xr = we, Zr = Te;
|
|
2395
2405
|
e.object({ file: e.uuid() }), e.void();
|
|
2396
|
-
var
|
|
2406
|
+
var Qr = Ee, $r = e.object({ file: e.uuid() }), ei = e.void(), ti = e.object({ file: e.uuid() });
|
|
2397
2407
|
e.object({ file: e.uuid() }), e.object({ token: e.string() }), e.object({
|
|
2398
|
-
filter:
|
|
2399
|
-
pagination:
|
|
2408
|
+
filter: je.optional(),
|
|
2409
|
+
pagination: Ne.optional()
|
|
2400
2410
|
}), e.object({
|
|
2401
|
-
filter:
|
|
2411
|
+
filter: Be.optional(),
|
|
2402
2412
|
search: e.string(),
|
|
2403
|
-
pagination:
|
|
2413
|
+
pagination: He.optional()
|
|
2404
2414
|
}), e.void(), e.void(), e.object({
|
|
2405
|
-
filter:
|
|
2406
|
-
pagination:
|
|
2415
|
+
filter: nt.optional(),
|
|
2416
|
+
pagination: it.optional()
|
|
2407
2417
|
}), 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({
|
|
2408
|
-
sort: e.array(
|
|
2409
|
-
filter:
|
|
2410
|
-
pagination:
|
|
2418
|
+
sort: e.array(ft).optional(),
|
|
2419
|
+
filter: mt.optional(),
|
|
2420
|
+
pagination: gt.optional()
|
|
2411
2421
|
}), e.object({ jobId: e.uuid() }), e.object({
|
|
2412
2422
|
pagination: v.optional(),
|
|
2413
2423
|
search: e.string().optional()
|
|
2414
2424
|
}), 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();
|
|
2415
|
-
var
|
|
2425
|
+
var ni = e.object({
|
|
2416
2426
|
pagination: v.optional(),
|
|
2417
|
-
filter:
|
|
2427
|
+
filter: Ot.optional(),
|
|
2418
2428
|
search: e.string().optional()
|
|
2419
|
-
}),
|
|
2429
|
+
}), ri = At, ii = e.object({ uuid: e.uuid() }), ai = Dt;
|
|
2420
2430
|
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();
|
|
2421
|
-
var
|
|
2431
|
+
var oi = e.object({ uuid: e.uuid() }), si = e.object({ pagination: v.optional() }), ci = Nt, li = Pt, ui = Ft, di = e.void(), fi = e.object({ token: e.string() }), pi = qt, mi = e.object({
|
|
2422
2432
|
pagination: v.optional(),
|
|
2423
|
-
sort: e.array(
|
|
2424
|
-
filter:
|
|
2433
|
+
sort: e.array(mn).optional(),
|
|
2434
|
+
filter: gn.optional(),
|
|
2425
2435
|
search: e.string().optional()
|
|
2426
|
-
}),
|
|
2436
|
+
}), hi = yn, gi = Jt, _i = Yt, vi = e.object({ uuid: e.uuid() }), yi = e.void(), bi = e.object({ uuid: e.uuid() }), xi = fn, Si = bn, Ci = e.object({ uuid: e.uuid() }), wi = e.void(), Ti = Cn, Ei = e.object({ uuid: e.uuid() }), Di = e.void();
|
|
2427
2437
|
e.object({ uuid: e.uuid() }), e.void();
|
|
2428
|
-
var
|
|
2429
|
-
filter:
|
|
2438
|
+
var Oi = wn, ki = e.object({ uuid: e.uuid() }), Ai = e.void(), ji = Tn, Mi = e.object({ uuid: e.uuid() }), Ni = e.void(), Pi = e.object({ uuid: e.uuid() }), Fi = e.object({ uuid: e.uuid() }), Ii = En, Li = kn, Ri = e.object({ uuid: e.uuid() }), zi = e.void(), Bi = An, Vi = e.object({ uuid: e.uuid() }), Hi = e.void(), Ui = e.object({ uuid: e.uuid() }), Wi = e.object({ uuid: e.uuid() }), Gi = e.object({
|
|
2439
|
+
filter: jn.optional(),
|
|
2430
2440
|
search: e.string().optional()
|
|
2431
|
-
}),
|
|
2432
|
-
filter:
|
|
2441
|
+
}), Ki = Fn, qi = e.object({
|
|
2442
|
+
filter: In.optional(),
|
|
2433
2443
|
search: e.string().optional()
|
|
2434
|
-
}),
|
|
2435
|
-
filter:
|
|
2444
|
+
}), Ji = Ln, Yi = e.object({ uuid: e.uuid() }), Xi = e.void(), Zi = e.object({ uuid: e.uuid() }), Qi = Rn, $i = e.object({ uuid: e.uuid() }), ea = e.void(), ta = e.object({ uuid: e.uuid() }), na = e.void(), ra = e.object({ uuid: e.uuid() }), ia = e.void(), aa = e.object({
|
|
2445
|
+
filter: zn.optional(),
|
|
2436
2446
|
search: e.string().optional()
|
|
2437
|
-
}),
|
|
2438
|
-
filter:
|
|
2447
|
+
}), oa = Bn, sa = e.object({
|
|
2448
|
+
filter: Vn.optional(),
|
|
2439
2449
|
search: e.string().optional()
|
|
2440
|
-
}),
|
|
2441
|
-
filter:
|
|
2450
|
+
}), ca = Hn, la = e.object({ uuid: e.uuid() }), ua = e.void(), da = e.object({
|
|
2451
|
+
filter: Un.optional(),
|
|
2442
2452
|
search: e.string().optional()
|
|
2443
|
-
}),
|
|
2444
|
-
filter:
|
|
2453
|
+
}), fa = Wn, pa = e.object({
|
|
2454
|
+
filter: Gn.optional(),
|
|
2445
2455
|
search: e.string().optional()
|
|
2446
|
-
}),
|
|
2447
|
-
filter:
|
|
2448
|
-
pagination:
|
|
2449
|
-
}),
|
|
2456
|
+
}), ma = Kn, ha = e.object({
|
|
2457
|
+
filter: qn.optional(),
|
|
2458
|
+
pagination: Yn.optional()
|
|
2459
|
+
}), ga = ar, _a = e.object({ uuid: e.uuid() }), va = ur, ya = or, ba = e.object({ uuid: e.uuid() }), xa = sr, Sa = e.object({
|
|
2450
2460
|
uuid: e.uuid(),
|
|
2451
2461
|
paymentUuid: e.uuid()
|
|
2452
|
-
}),
|
|
2462
|
+
}), Ca = e.void(), wa = _r, Ta = br, Ea = e.void(), Da = e.object({ filter: Sr.optional() }), Oa = e.array(Tr), ka = e.object({ uuid: e.uuid() }), Aa = Mr, ja = e.object({
|
|
2453
2463
|
pagination: v.optional(),
|
|
2454
|
-
filter:
|
|
2455
|
-
}),
|
|
2464
|
+
filter: Nr.optional()
|
|
2465
|
+
}), Ma = Lr, Na = e.object({ uuid: e.uuid() }), Pa = e.object({ filter: Rr.optional() }), Fa = zr, Ia = e.object({ filter: Br.optional() }), La = Vr, Ra = e.object({ token: e.string() }), za = qr, Ba = (t) => (t?.client ?? g).get({
|
|
2466
|
+
requestValidator: async (t) => await e.object({
|
|
2467
|
+
body: e.never().optional(),
|
|
2468
|
+
path: e.never().optional(),
|
|
2469
|
+
query: Jr.optional()
|
|
2470
|
+
}).parseAsync(t),
|
|
2471
|
+
responseValidator: async (e) => await Yr.parseAsync(e),
|
|
2472
|
+
url: "/api/v1/users",
|
|
2473
|
+
...t
|
|
2474
|
+
}), Va = (t) => (t.client ?? g).post({
|
|
2456
2475
|
requestValidator: async (t) => await e.object({
|
|
2457
|
-
body:
|
|
2476
|
+
body: Xr,
|
|
2458
2477
|
path: e.never().optional(),
|
|
2459
2478
|
query: e.never().optional()
|
|
2460
2479
|
}).parseAsync(t),
|
|
2461
|
-
responseValidator: async (e) => await
|
|
2480
|
+
responseValidator: async (e) => await Zr.parseAsync(e),
|
|
2462
2481
|
url: "/api/v1/files",
|
|
2463
2482
|
...t,
|
|
2464
2483
|
headers: {
|
|
2465
2484
|
"Content-Type": "application/json",
|
|
2466
2485
|
...t.headers
|
|
2467
2486
|
}
|
|
2468
|
-
}),
|
|
2487
|
+
}), Ha = (t) => (t.client ?? g).post({
|
|
2469
2488
|
requestValidator: async (t) => await e.object({
|
|
2470
|
-
body:
|
|
2471
|
-
path:
|
|
2489
|
+
body: Qr,
|
|
2490
|
+
path: $r,
|
|
2472
2491
|
query: e.never().optional()
|
|
2473
2492
|
}).parseAsync(t),
|
|
2474
|
-
responseValidator: async (e) => await
|
|
2493
|
+
responseValidator: async (e) => await ei.parseAsync(e),
|
|
2475
2494
|
url: "/api/v2/files/{file}/confirm-upload",
|
|
2476
2495
|
...t,
|
|
2477
2496
|
headers: {
|
|
2478
2497
|
"Content-Type": "application/json",
|
|
2479
2498
|
...t.headers
|
|
2480
2499
|
}
|
|
2481
|
-
}),
|
|
2500
|
+
}), Ua = (t) => (t.client ?? g).post({
|
|
2482
2501
|
requestValidator: async (t) => await e.object({
|
|
2483
2502
|
body: e.never().optional(),
|
|
2484
|
-
path:
|
|
2503
|
+
path: ti,
|
|
2485
2504
|
query: e.never().optional()
|
|
2486
2505
|
}).parseAsync(t),
|
|
2487
2506
|
url: "/api/v1/files/{file}/download",
|
|
2488
2507
|
...t
|
|
2489
|
-
}),
|
|
2508
|
+
}), Wa = (t) => (t?.client ?? g).get({
|
|
2490
2509
|
requestValidator: async (t) => await e.object({
|
|
2491
2510
|
body: e.never().optional(),
|
|
2492
2511
|
path: e.never().optional(),
|
|
2493
|
-
query:
|
|
2512
|
+
query: ni.optional()
|
|
2494
2513
|
}).parseAsync(t),
|
|
2495
|
-
responseValidator: async (e) => await
|
|
2514
|
+
responseValidator: async (e) => await ri.parseAsync(e),
|
|
2496
2515
|
url: "/api/v1/customers",
|
|
2497
2516
|
...t
|
|
2498
|
-
}),
|
|
2517
|
+
}), Ga = (t) => (t.client ?? g).get({
|
|
2499
2518
|
requestValidator: async (t) => await e.object({
|
|
2500
2519
|
body: e.never().optional(),
|
|
2501
|
-
path:
|
|
2520
|
+
path: ii,
|
|
2502
2521
|
query: e.never().optional()
|
|
2503
2522
|
}).parseAsync(t),
|
|
2504
|
-
responseValidator: async (e) => await
|
|
2523
|
+
responseValidator: async (e) => await ai.parseAsync(e),
|
|
2505
2524
|
url: "/api/v1/customers/{uuid}",
|
|
2506
2525
|
...t
|
|
2507
|
-
}),
|
|
2526
|
+
}), Ka = (t) => (t.client ?? g).get({
|
|
2508
2527
|
requestValidator: async (t) => await e.object({
|
|
2509
2528
|
body: e.never().optional(),
|
|
2510
|
-
path:
|
|
2511
|
-
query:
|
|
2529
|
+
path: oi,
|
|
2530
|
+
query: si.optional()
|
|
2512
2531
|
}).parseAsync(t),
|
|
2513
|
-
responseValidator: async (e) => await
|
|
2532
|
+
responseValidator: async (e) => await ci.parseAsync(e),
|
|
2514
2533
|
url: "/api/v1/customers/{uuid}/recipients",
|
|
2515
2534
|
...t
|
|
2516
|
-
}),
|
|
2535
|
+
}), qa = (t) => (t?.client ?? g).get({
|
|
2517
2536
|
requestValidator: async (t) => await e.object({
|
|
2518
2537
|
body: e.never().optional(),
|
|
2519
2538
|
path: e.never().optional(),
|
|
2520
2539
|
query: e.never().optional()
|
|
2521
2540
|
}).parseAsync(t),
|
|
2522
|
-
responseValidator: async (e) => await
|
|
2541
|
+
responseValidator: async (e) => await li.parseAsync(e),
|
|
2523
2542
|
url: "/api/v1/issuers",
|
|
2524
2543
|
...t
|
|
2525
|
-
}),
|
|
2544
|
+
}), Ja = (t) => (t.client ?? g).put({
|
|
2526
2545
|
requestValidator: async (t) => await e.object({
|
|
2527
|
-
body:
|
|
2546
|
+
body: ui,
|
|
2528
2547
|
path: e.never().optional(),
|
|
2529
2548
|
query: e.never().optional()
|
|
2530
2549
|
}).parseAsync(t),
|
|
2531
|
-
responseValidator: async (e) => await
|
|
2550
|
+
responseValidator: async (e) => await di.parseAsync(e),
|
|
2532
2551
|
url: "/api/v1/issuers",
|
|
2533
2552
|
...t,
|
|
2534
2553
|
headers: {
|
|
2535
2554
|
"Content-Type": "application/json",
|
|
2536
2555
|
...t.headers
|
|
2537
2556
|
}
|
|
2538
|
-
}),
|
|
2557
|
+
}), Ya = (t) => (t.client ?? g).get({
|
|
2539
2558
|
requestValidator: async (t) => await e.object({
|
|
2540
2559
|
body: e.never().optional(),
|
|
2541
2560
|
path: e.never().optional(),
|
|
2542
|
-
query:
|
|
2561
|
+
query: fi
|
|
2543
2562
|
}).parseAsync(t),
|
|
2544
|
-
responseValidator: async (e) => await
|
|
2563
|
+
responseValidator: async (e) => await pi.parseAsync(e),
|
|
2545
2564
|
url: "/api/v1/public/invoices",
|
|
2546
2565
|
...t
|
|
2547
|
-
}),
|
|
2566
|
+
}), Xa = (t) => (t?.client ?? g).get({
|
|
2548
2567
|
requestValidator: async (t) => await e.object({
|
|
2549
2568
|
body: e.never().optional(),
|
|
2550
2569
|
path: e.never().optional(),
|
|
2551
|
-
query:
|
|
2570
|
+
query: mi.optional()
|
|
2552
2571
|
}).parseAsync(t),
|
|
2553
|
-
responseValidator: async (e) => await
|
|
2572
|
+
responseValidator: async (e) => await hi.parseAsync(e),
|
|
2554
2573
|
url: "/api/v1/invoices",
|
|
2555
2574
|
...t
|
|
2556
|
-
}),
|
|
2575
|
+
}), Za = (t) => (t.client ?? g).post({
|
|
2557
2576
|
requestValidator: async (t) => await e.object({
|
|
2558
|
-
body:
|
|
2577
|
+
body: gi,
|
|
2559
2578
|
path: e.never().optional(),
|
|
2560
2579
|
query: e.never().optional()
|
|
2561
2580
|
}).parseAsync(t),
|
|
2562
|
-
responseValidator: async (e) => await
|
|
2581
|
+
responseValidator: async (e) => await _i.parseAsync(e),
|
|
2563
2582
|
url: "/api/v1/invoices",
|
|
2564
2583
|
...t,
|
|
2565
2584
|
headers: {
|
|
2566
2585
|
"Content-Type": "application/json",
|
|
2567
2586
|
...t.headers
|
|
2568
2587
|
}
|
|
2569
|
-
}),
|
|
2588
|
+
}), Qa = (t) => (t.client ?? g).delete({
|
|
2570
2589
|
requestValidator: async (t) => await e.object({
|
|
2571
2590
|
body: e.never().optional(),
|
|
2572
|
-
path:
|
|
2591
|
+
path: vi,
|
|
2573
2592
|
query: e.never().optional()
|
|
2574
2593
|
}).parseAsync(t),
|
|
2575
|
-
responseValidator: async (e) => await
|
|
2594
|
+
responseValidator: async (e) => await yi.parseAsync(e),
|
|
2576
2595
|
url: "/api/v1/invoices/{uuid}",
|
|
2577
2596
|
...t
|
|
2578
|
-
}),
|
|
2597
|
+
}), $a = (t) => (t.client ?? g).get({
|
|
2579
2598
|
requestValidator: async (t) => await e.object({
|
|
2580
2599
|
body: e.never().optional(),
|
|
2581
|
-
path:
|
|
2600
|
+
path: bi,
|
|
2582
2601
|
query: e.never().optional()
|
|
2583
2602
|
}).parseAsync(t),
|
|
2584
|
-
responseValidator: async (e) => await
|
|
2603
|
+
responseValidator: async (e) => await xi.parseAsync(e),
|
|
2585
2604
|
url: "/api/v1/invoices/{uuid}",
|
|
2586
2605
|
...t
|
|
2587
|
-
}),
|
|
2606
|
+
}), eo = (t) => (t.client ?? g).patch({
|
|
2588
2607
|
requestValidator: async (t) => await e.object({
|
|
2589
|
-
body:
|
|
2590
|
-
path:
|
|
2608
|
+
body: Si,
|
|
2609
|
+
path: Ci,
|
|
2591
2610
|
query: e.never().optional()
|
|
2592
2611
|
}).parseAsync(t),
|
|
2593
|
-
responseValidator: async (e) => await
|
|
2612
|
+
responseValidator: async (e) => await wi.parseAsync(e),
|
|
2594
2613
|
url: "/api/v1/invoices/{uuid}",
|
|
2595
2614
|
...t,
|
|
2596
2615
|
headers: {
|
|
2597
2616
|
"Content-Type": "application/json",
|
|
2598
2617
|
...t.headers
|
|
2599
2618
|
}
|
|
2600
|
-
}),
|
|
2619
|
+
}), to = (t) => (t.client ?? g).patch({
|
|
2601
2620
|
requestValidator: async (t) => await e.object({
|
|
2602
|
-
body:
|
|
2603
|
-
path:
|
|
2621
|
+
body: Ti,
|
|
2622
|
+
path: Ei,
|
|
2604
2623
|
query: e.never().optional()
|
|
2605
2624
|
}).parseAsync(t),
|
|
2606
|
-
responseValidator: async (e) => await
|
|
2625
|
+
responseValidator: async (e) => await Di.parseAsync(e),
|
|
2607
2626
|
url: "/api/v1/invoices/{uuid}/lines",
|
|
2608
2627
|
...t,
|
|
2609
2628
|
headers: {
|
|
2610
2629
|
"Content-Type": "application/json",
|
|
2611
2630
|
...t.headers
|
|
2612
2631
|
}
|
|
2613
|
-
}),
|
|
2632
|
+
}), no = (t) => (t.client ?? g).patch({
|
|
2614
2633
|
requestValidator: async (t) => await e.object({
|
|
2615
|
-
body:
|
|
2616
|
-
path:
|
|
2634
|
+
body: Oi,
|
|
2635
|
+
path: ki,
|
|
2617
2636
|
query: e.never().optional()
|
|
2618
2637
|
}).parseAsync(t),
|
|
2619
|
-
responseValidator: async (e) => await
|
|
2638
|
+
responseValidator: async (e) => await Ai.parseAsync(e),
|
|
2620
2639
|
url: "/api/v2/invoices/{uuid}/discount",
|
|
2621
2640
|
...t,
|
|
2622
2641
|
headers: {
|
|
2623
2642
|
"Content-Type": "application/json",
|
|
2624
2643
|
...t.headers
|
|
2625
2644
|
}
|
|
2626
|
-
}),
|
|
2645
|
+
}), ro = (t) => (t.client ?? g).patch({
|
|
2627
2646
|
requestValidator: async (t) => await e.object({
|
|
2628
|
-
body:
|
|
2629
|
-
path:
|
|
2647
|
+
body: ji,
|
|
2648
|
+
path: Mi,
|
|
2630
2649
|
query: e.never().optional()
|
|
2631
2650
|
}).parseAsync(t),
|
|
2632
|
-
responseValidator: async (e) => await
|
|
2651
|
+
responseValidator: async (e) => await Ni.parseAsync(e),
|
|
2633
2652
|
url: "/api/v1/invoices/{uuid}/attachments",
|
|
2634
2653
|
...t,
|
|
2635
2654
|
headers: {
|
|
2636
2655
|
"Content-Type": "application/json",
|
|
2637
2656
|
...t.headers
|
|
2638
2657
|
}
|
|
2639
|
-
}),
|
|
2658
|
+
}), io = (t) => (t.client ?? g).post({
|
|
2640
2659
|
requestValidator: async (t) => await e.object({
|
|
2641
2660
|
body: e.never().optional(),
|
|
2642
|
-
path:
|
|
2661
|
+
path: Pi,
|
|
2643
2662
|
query: e.never().optional()
|
|
2644
2663
|
}).parseAsync(t),
|
|
2645
2664
|
url: "/api/v1/invoices/{uuid}/finalize",
|
|
2646
2665
|
...t
|
|
2647
|
-
}),
|
|
2666
|
+
}), ao = (t) => (t.client ?? g).post({
|
|
2648
2667
|
requestValidator: async (t) => await e.object({
|
|
2649
2668
|
body: e.never().optional(),
|
|
2650
|
-
path:
|
|
2669
|
+
path: Fi,
|
|
2651
2670
|
query: e.never().optional()
|
|
2652
2671
|
}).parseAsync(t),
|
|
2653
|
-
responseValidator: async (e) => await
|
|
2672
|
+
responseValidator: async (e) => await Ii.parseAsync(e),
|
|
2654
2673
|
url: "/api/v1/invoices/{uuid}/credit-note",
|
|
2655
2674
|
...t
|
|
2656
|
-
}),
|
|
2675
|
+
}), oo = (t) => (t.client ?? g).patch({
|
|
2657
2676
|
requestValidator: async (t) => await e.object({
|
|
2658
|
-
body:
|
|
2659
|
-
path:
|
|
2677
|
+
body: Li,
|
|
2678
|
+
path: Ri,
|
|
2660
2679
|
query: e.never().optional()
|
|
2661
2680
|
}).parseAsync(t),
|
|
2662
|
-
responseValidator: async (e) => await
|
|
2681
|
+
responseValidator: async (e) => await zi.parseAsync(e),
|
|
2663
2682
|
url: "/api/v1/credit-notes/{uuid}/lines",
|
|
2664
2683
|
...t,
|
|
2665
2684
|
headers: {
|
|
2666
2685
|
"Content-Type": "application/json",
|
|
2667
2686
|
...t.headers
|
|
2668
2687
|
}
|
|
2669
|
-
}),
|
|
2688
|
+
}), so = (t) => (t.client ?? g).patch({
|
|
2670
2689
|
requestValidator: async (t) => await e.object({
|
|
2671
|
-
body:
|
|
2672
|
-
path:
|
|
2690
|
+
body: Bi,
|
|
2691
|
+
path: Vi,
|
|
2673
2692
|
query: e.never().optional()
|
|
2674
2693
|
}).parseAsync(t),
|
|
2675
|
-
responseValidator: async (e) => await
|
|
2694
|
+
responseValidator: async (e) => await Hi.parseAsync(e),
|
|
2676
2695
|
url: "/api/v1/credit-notes/{uuid}",
|
|
2677
2696
|
...t,
|
|
2678
2697
|
headers: {
|
|
2679
2698
|
"Content-Type": "application/json",
|
|
2680
2699
|
...t.headers
|
|
2681
2700
|
}
|
|
2682
|
-
}),
|
|
2701
|
+
}), co = (t) => (t.client ?? g).post({
|
|
2683
2702
|
requestValidator: async (t) => await e.object({
|
|
2684
2703
|
body: e.never().optional(),
|
|
2685
|
-
path:
|
|
2704
|
+
path: Ui,
|
|
2686
2705
|
query: e.never().optional()
|
|
2687
2706
|
}).parseAsync(t),
|
|
2688
2707
|
url: "/api/v1/credit-notes/{uuid}/finalize",
|
|
2689
2708
|
...t
|
|
2690
|
-
}),
|
|
2709
|
+
}), lo = (t) => (t.client ?? g).post({
|
|
2691
2710
|
requestValidator: async (t) => await e.object({
|
|
2692
2711
|
body: e.never().optional(),
|
|
2693
|
-
path:
|
|
2712
|
+
path: Wi,
|
|
2694
2713
|
query: e.never().optional()
|
|
2695
2714
|
}).parseAsync(t),
|
|
2696
2715
|
url: "/api/v1/invoices/{uuid}/send-email",
|
|
2697
2716
|
...t
|
|
2698
|
-
}),
|
|
2717
|
+
}), uo = (t) => (t?.client ?? g).post({
|
|
2699
2718
|
requestValidator: async (t) => await e.object({
|
|
2700
2719
|
body: e.never().optional(),
|
|
2701
2720
|
path: e.never().optional(),
|
|
2702
|
-
query:
|
|
2721
|
+
query: Gi.optional()
|
|
2703
2722
|
}).parseAsync(t),
|
|
2704
|
-
responseValidator: async (e) => await
|
|
2723
|
+
responseValidator: async (e) => await Ki.parseAsync(e),
|
|
2705
2724
|
url: "/api/v1/invoices/send-mail",
|
|
2706
2725
|
...t
|
|
2707
|
-
}),
|
|
2726
|
+
}), fo = (t) => (t?.client ?? g).get({
|
|
2708
2727
|
requestValidator: async (t) => await e.object({
|
|
2709
2728
|
body: e.never().optional(),
|
|
2710
2729
|
path: e.never().optional(),
|
|
2711
|
-
query:
|
|
2730
|
+
query: qi.optional()
|
|
2712
2731
|
}).parseAsync(t),
|
|
2713
|
-
responseValidator: async (e) => await
|
|
2732
|
+
responseValidator: async (e) => await Ji.parseAsync(e),
|
|
2714
2733
|
url: "/api/v1/invoices/send-mail/preview",
|
|
2715
2734
|
...t
|
|
2716
|
-
}),
|
|
2735
|
+
}), po = (t) => (t.client ?? g).post({
|
|
2717
2736
|
requestValidator: async (t) => await e.object({
|
|
2718
2737
|
body: e.never().optional(),
|
|
2719
|
-
path:
|
|
2738
|
+
path: Yi,
|
|
2720
2739
|
query: e.never().optional()
|
|
2721
2740
|
}).parseAsync(t),
|
|
2722
|
-
responseValidator: async (e) => await
|
|
2741
|
+
responseValidator: async (e) => await Xi.parseAsync(e),
|
|
2723
2742
|
url: "/api/v1/invoices/{uuid}/mark-as-ready",
|
|
2724
2743
|
...t
|
|
2725
|
-
}),
|
|
2744
|
+
}), mo = (t) => (t.client ?? g).post({
|
|
2726
2745
|
requestValidator: async (t) => await e.object({
|
|
2727
2746
|
body: e.never().optional(),
|
|
2728
|
-
path:
|
|
2747
|
+
path: Zi,
|
|
2729
2748
|
query: e.never().optional()
|
|
2730
2749
|
}).parseAsync(t),
|
|
2731
|
-
responseValidator: async (e) => await
|
|
2750
|
+
responseValidator: async (e) => await Qi.parseAsync(e),
|
|
2732
2751
|
url: "/api/v1/invoices/{uuid}/duplicate",
|
|
2733
2752
|
...t
|
|
2734
|
-
}),
|
|
2753
|
+
}), ho = (t) => (t.client ?? g).post({
|
|
2735
2754
|
requestValidator: async (t) => await e.object({
|
|
2736
2755
|
body: e.never().optional(),
|
|
2737
|
-
path:
|
|
2756
|
+
path: $i,
|
|
2738
2757
|
query: e.never().optional()
|
|
2739
2758
|
}).parseAsync(t),
|
|
2740
|
-
responseValidator: async (e) => await
|
|
2759
|
+
responseValidator: async (e) => await ea.parseAsync(e),
|
|
2741
2760
|
url: "/api/v1/invoices/{uuid}/mark-as-draft",
|
|
2742
2761
|
...t
|
|
2743
|
-
}),
|
|
2762
|
+
}), go = (t) => (t.client ?? g).post({
|
|
2744
2763
|
requestValidator: async (t) => await e.object({
|
|
2745
2764
|
body: e.never().optional(),
|
|
2746
|
-
path:
|
|
2765
|
+
path: ta,
|
|
2747
2766
|
query: e.never().optional()
|
|
2748
2767
|
}).parseAsync(t),
|
|
2749
|
-
responseValidator: async (e) => await
|
|
2768
|
+
responseValidator: async (e) => await na.parseAsync(e),
|
|
2750
2769
|
url: "/api/v1/invoices/{uuid}/mark-as-disputed",
|
|
2751
2770
|
...t
|
|
2752
|
-
}),
|
|
2771
|
+
}), _o = (t) => (t.client ?? g).post({
|
|
2753
2772
|
requestValidator: async (t) => await e.object({
|
|
2754
2773
|
body: e.never().optional(),
|
|
2755
|
-
path:
|
|
2774
|
+
path: ra,
|
|
2756
2775
|
query: e.never().optional()
|
|
2757
2776
|
}).parseAsync(t),
|
|
2758
|
-
responseValidator: async (e) => await
|
|
2777
|
+
responseValidator: async (e) => await ia.parseAsync(e),
|
|
2759
2778
|
url: "/api/v1/invoices/{uuid}/mark-as-paid",
|
|
2760
2779
|
...t
|
|
2761
|
-
}),
|
|
2780
|
+
}), vo = (t) => (t?.client ?? g).get({
|
|
2762
2781
|
requestValidator: async (t) => await e.object({
|
|
2763
2782
|
body: e.never().optional(),
|
|
2764
2783
|
path: e.never().optional(),
|
|
2765
|
-
query:
|
|
2784
|
+
query: aa.optional()
|
|
2766
2785
|
}).parseAsync(t),
|
|
2767
|
-
responseValidator: async (e) => await
|
|
2786
|
+
responseValidator: async (e) => await oa.parseAsync(e),
|
|
2768
2787
|
url: "/api/v1/invoices/mark-as-ready/preview",
|
|
2769
2788
|
...t
|
|
2770
|
-
}),
|
|
2789
|
+
}), yo = (t) => (t?.client ?? g).post({
|
|
2771
2790
|
requestValidator: async (t) => await e.object({
|
|
2772
2791
|
body: e.never().optional(),
|
|
2773
2792
|
path: e.never().optional(),
|
|
2774
|
-
query:
|
|
2793
|
+
query: sa.optional()
|
|
2775
2794
|
}).parseAsync(t),
|
|
2776
|
-
responseValidator: async (e) => await
|
|
2795
|
+
responseValidator: async (e) => await ca.parseAsync(e),
|
|
2777
2796
|
url: "/api/v1/invoices/mark-as-ready",
|
|
2778
2797
|
...t
|
|
2779
|
-
}),
|
|
2798
|
+
}), bo = (t) => (t.client ?? g).post({
|
|
2780
2799
|
requestValidator: async (t) => await e.object({
|
|
2781
2800
|
body: e.never().optional(),
|
|
2782
|
-
path:
|
|
2801
|
+
path: la,
|
|
2783
2802
|
query: e.never().optional()
|
|
2784
2803
|
}).parseAsync(t),
|
|
2785
|
-
responseValidator: async (e) => await
|
|
2804
|
+
responseValidator: async (e) => await ua.parseAsync(e),
|
|
2786
2805
|
url: "/api/v1/invoices/{uuid}/withdraw-disputed",
|
|
2787
2806
|
...t
|
|
2788
|
-
}),
|
|
2807
|
+
}), xo = (t) => (t?.client ?? g).get({
|
|
2789
2808
|
requestValidator: async (t) => await e.object({
|
|
2790
2809
|
body: e.never().optional(),
|
|
2791
2810
|
path: e.never().optional(),
|
|
2792
|
-
query:
|
|
2811
|
+
query: da.optional()
|
|
2793
2812
|
}).parseAsync(t),
|
|
2794
|
-
responseValidator: async (e) => await
|
|
2813
|
+
responseValidator: async (e) => await fa.parseAsync(e),
|
|
2795
2814
|
url: "/api/v1/invoices/finalize/preview",
|
|
2796
2815
|
...t
|
|
2797
|
-
}),
|
|
2816
|
+
}), So = (t) => (t?.client ?? g).post({
|
|
2798
2817
|
requestValidator: async (t) => await e.object({
|
|
2799
2818
|
body: e.never().optional(),
|
|
2800
2819
|
path: e.never().optional(),
|
|
2801
|
-
query:
|
|
2820
|
+
query: pa.optional()
|
|
2802
2821
|
}).parseAsync(t),
|
|
2803
|
-
responseValidator: async (e) => await
|
|
2822
|
+
responseValidator: async (e) => await ma.parseAsync(e),
|
|
2804
2823
|
url: "/api/v1/invoices/finalize",
|
|
2805
2824
|
...t
|
|
2806
|
-
}),
|
|
2825
|
+
}), Co = (t) => (t?.client ?? g).get({
|
|
2807
2826
|
requestValidator: async (t) => await e.object({
|
|
2808
2827
|
body: e.never().optional(),
|
|
2809
2828
|
path: e.never().optional(),
|
|
2810
|
-
query:
|
|
2829
|
+
query: ha.optional()
|
|
2811
2830
|
}).parseAsync(t),
|
|
2812
|
-
responseValidator: async (e) => await
|
|
2831
|
+
responseValidator: async (e) => await ga.parseAsync(e),
|
|
2813
2832
|
url: "/api/v1/activity-logs",
|
|
2814
2833
|
...t
|
|
2815
|
-
}),
|
|
2834
|
+
}), wo = (t) => (t.client ?? g).get({
|
|
2816
2835
|
requestValidator: async (t) => await e.object({
|
|
2817
2836
|
body: e.never().optional(),
|
|
2818
|
-
path:
|
|
2837
|
+
path: _a,
|
|
2819
2838
|
query: e.never().optional()
|
|
2820
2839
|
}).parseAsync(t),
|
|
2821
|
-
responseValidator: async (e) => await
|
|
2840
|
+
responseValidator: async (e) => await va.parseAsync(e),
|
|
2822
2841
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
2823
2842
|
...t
|
|
2824
|
-
}),
|
|
2843
|
+
}), To = (t) => (t.client ?? g).post({
|
|
2825
2844
|
requestValidator: async (t) => await e.object({
|
|
2826
|
-
body:
|
|
2827
|
-
path:
|
|
2845
|
+
body: ya,
|
|
2846
|
+
path: ba,
|
|
2828
2847
|
query: e.never().optional()
|
|
2829
2848
|
}).parseAsync(t),
|
|
2830
|
-
responseValidator: async (e) => await
|
|
2849
|
+
responseValidator: async (e) => await xa.parseAsync(e),
|
|
2831
2850
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
2832
2851
|
...t,
|
|
2833
2852
|
headers: {
|
|
2834
2853
|
"Content-Type": "application/json",
|
|
2835
2854
|
...t.headers
|
|
2836
2855
|
}
|
|
2837
|
-
}),
|
|
2856
|
+
}), Eo = (t) => (t.client ?? g).delete({
|
|
2838
2857
|
requestValidator: async (t) => await e.object({
|
|
2839
2858
|
body: e.never().optional(),
|
|
2840
|
-
path:
|
|
2859
|
+
path: Sa,
|
|
2841
2860
|
query: e.never().optional()
|
|
2842
2861
|
}).parseAsync(t),
|
|
2843
|
-
responseValidator: async (e) => await
|
|
2862
|
+
responseValidator: async (e) => await Ca.parseAsync(e),
|
|
2844
2863
|
url: "/api/v1/invoices/{uuid}/payments/{paymentUuid}",
|
|
2845
2864
|
...t
|
|
2846
|
-
}),
|
|
2865
|
+
}), Do = (t) => (t?.client ?? g).get({
|
|
2847
2866
|
requestValidator: async (t) => await e.object({
|
|
2848
2867
|
body: e.never().optional(),
|
|
2849
2868
|
path: e.never().optional(),
|
|
2850
2869
|
query: e.never().optional()
|
|
2851
2870
|
}).parseAsync(t),
|
|
2852
|
-
responseValidator: async (e) => await
|
|
2871
|
+
responseValidator: async (e) => await wa.parseAsync(e),
|
|
2853
2872
|
url: "/api/v1/issuers/reminder-configs",
|
|
2854
2873
|
...t
|
|
2855
|
-
}),
|
|
2874
|
+
}), Oo = (t) => (t.client ?? g).patch({
|
|
2856
2875
|
requestValidator: async (t) => await e.object({
|
|
2857
|
-
body:
|
|
2876
|
+
body: Ta,
|
|
2858
2877
|
path: e.never().optional(),
|
|
2859
2878
|
query: e.never().optional()
|
|
2860
2879
|
}).parseAsync(t),
|
|
2861
|
-
responseValidator: async (e) => await
|
|
2880
|
+
responseValidator: async (e) => await Ea.parseAsync(e),
|
|
2862
2881
|
url: "/api/v1/issuers/reminder-configs",
|
|
2863
2882
|
...t,
|
|
2864
2883
|
headers: {
|
|
2865
2884
|
"Content-Type": "application/json",
|
|
2866
2885
|
...t.headers
|
|
2867
2886
|
}
|
|
2868
|
-
}),
|
|
2887
|
+
}), ko = (t) => (t?.client ?? g).get({
|
|
2869
2888
|
requestValidator: async (t) => await e.object({
|
|
2870
2889
|
body: e.never().optional(),
|
|
2871
2890
|
path: e.never().optional(),
|
|
2872
|
-
query:
|
|
2891
|
+
query: Da.optional()
|
|
2873
2892
|
}).parseAsync(t),
|
|
2874
|
-
responseValidator: async (e) => await
|
|
2893
|
+
responseValidator: async (e) => await Oa.parseAsync(e),
|
|
2875
2894
|
url: "/api/v1/custom-field-definitions",
|
|
2876
2895
|
...t
|
|
2877
|
-
}),
|
|
2896
|
+
}), Ao = (t) => (t.client ?? g).get({
|
|
2878
2897
|
requestValidator: async (t) => await e.object({
|
|
2879
2898
|
body: e.never().optional(),
|
|
2880
|
-
path:
|
|
2899
|
+
path: ka,
|
|
2881
2900
|
query: e.never().optional()
|
|
2882
2901
|
}).parseAsync(t),
|
|
2883
|
-
responseValidator: async (e) => await
|
|
2902
|
+
responseValidator: async (e) => await Aa.parseAsync(e),
|
|
2884
2903
|
url: "/api/v1/dunning-cases/{uuid}",
|
|
2885
2904
|
...t
|
|
2886
|
-
}),
|
|
2905
|
+
}), jo = (t) => (t?.client ?? g).get({
|
|
2887
2906
|
requestValidator: async (t) => await e.object({
|
|
2888
2907
|
body: e.never().optional(),
|
|
2889
2908
|
path: e.never().optional(),
|
|
2890
|
-
query:
|
|
2909
|
+
query: ja.optional()
|
|
2891
2910
|
}).parseAsync(t),
|
|
2892
|
-
responseValidator: async (e) => await
|
|
2911
|
+
responseValidator: async (e) => await Ma.parseAsync(e),
|
|
2893
2912
|
url: "/api/v1/dunning-cases",
|
|
2894
2913
|
...t
|
|
2895
|
-
}),
|
|
2914
|
+
}), Mo = (t) => (t.client ?? g).post({
|
|
2896
2915
|
requestValidator: async (t) => await e.object({
|
|
2897
2916
|
body: e.never().optional(),
|
|
2898
|
-
path:
|
|
2917
|
+
path: Na,
|
|
2899
2918
|
query: e.never().optional()
|
|
2900
2919
|
}).parseAsync(t),
|
|
2901
2920
|
url: "/api/v1/dunning-cases/{uuid}/send",
|
|
2902
2921
|
...t
|
|
2903
|
-
}),
|
|
2922
|
+
}), No = (t) => (t?.client ?? g).post({
|
|
2904
2923
|
requestValidator: async (t) => await e.object({
|
|
2905
2924
|
body: e.never().optional(),
|
|
2906
2925
|
path: e.never().optional(),
|
|
2907
|
-
query:
|
|
2926
|
+
query: Pa.optional()
|
|
2908
2927
|
}).parseAsync(t),
|
|
2909
|
-
responseValidator: async (e) => await
|
|
2928
|
+
responseValidator: async (e) => await Fa.parseAsync(e),
|
|
2910
2929
|
url: "/api/v1/dunning-cases/send",
|
|
2911
2930
|
...t
|
|
2912
|
-
}),
|
|
2931
|
+
}), Po = (t) => (t?.client ?? g).get({
|
|
2913
2932
|
requestValidator: async (t) => await e.object({
|
|
2914
2933
|
body: e.never().optional(),
|
|
2915
2934
|
path: e.never().optional(),
|
|
2916
|
-
query:
|
|
2935
|
+
query: Ia.optional()
|
|
2917
2936
|
}).parseAsync(t),
|
|
2918
|
-
responseValidator: async (e) => await
|
|
2937
|
+
responseValidator: async (e) => await La.parseAsync(e),
|
|
2919
2938
|
url: "/api/v1/dunning-cases/send/preview",
|
|
2920
2939
|
...t
|
|
2921
|
-
}),
|
|
2940
|
+
}), Fo = (t) => (t.client ?? g).get({
|
|
2922
2941
|
requestValidator: async (t) => await e.object({
|
|
2923
2942
|
body: e.never().optional(),
|
|
2924
2943
|
path: e.never().optional(),
|
|
2925
|
-
query:
|
|
2944
|
+
query: Ra
|
|
2926
2945
|
}).parseAsync(t),
|
|
2927
|
-
responseValidator: async (e) => await
|
|
2946
|
+
responseValidator: async (e) => await za.parseAsync(e),
|
|
2928
2947
|
url: "/api/v1/public/dunning-case-reminder-invoices",
|
|
2929
2948
|
...t
|
|
2930
2949
|
});
|
|
2931
2950
|
//#endregion
|
|
2932
2951
|
//#region src/utils/api.util.ts
|
|
2933
|
-
function
|
|
2952
|
+
function Io(e) {
|
|
2934
2953
|
return typeof e == "object" && !!e && Array.isArray(e.errors);
|
|
2935
2954
|
}
|
|
2936
|
-
function
|
|
2937
|
-
return
|
|
2955
|
+
function Lo(e) {
|
|
2956
|
+
return Io(e) || e instanceof Error ? e : Error(String(e));
|
|
2938
2957
|
}
|
|
2939
|
-
var
|
|
2958
|
+
var Ro = class {
|
|
2940
2959
|
static async fromPromise(e) {
|
|
2941
|
-
return await t.fromPromise(e,
|
|
2960
|
+
return await t.fromPromise(e, Lo);
|
|
2942
2961
|
}
|
|
2943
2962
|
static void(e) {
|
|
2944
2963
|
return e.isErr() ? n(e.error) : r();
|
|
2945
2964
|
}
|
|
2946
2965
|
};
|
|
2947
2966
|
//#endregion
|
|
2948
|
-
export {
|
|
2967
|
+
export { ro as A, Ao as B, vo as C, lo as D, Mo as E, Co as F, qa as G, $a as H, ko as I, Do as J, Fo as K, Ga as L, eo as M, Ja as N, oo as O, Oo as P, Wa as R, xo as S, fo as T, Xa as U, jo as V, wo as W, bo as X, Ba as Y, g as Z, io as _, No as a, _o as b, ao as c, To as d, Qa as f, co as g, mo as h, yo as i, to as j, so as k, Va as l, Ua as m, no as n, uo as o, Eo as p, Ya as q, So as r, Ha as s, Ro as t, Za as u, go as v, Po as w, po as x, ho as y, Ka as z };
|