@wisemen/wise-invoicing-web 0.20.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ApprovalReminderSettingsViewDataProvider-DyrHExKn.js +962 -0
- package/dist/{BillingDocumentDetailViewDataProvider-jpp-QwPi.js → BillingDocumentDetailViewDataProvider-kFzqhrxW.js} +1563 -1550
- package/dist/{BillingDocumentPdf-Zw3GXZVE.js → BillingDocumentPdf-Dp6HSypy.js} +5 -5
- package/dist/{DunningCaseSendDialog-CA-nzjzV.js → DunningCaseSendDialog-1S6OD9wd.js} +36 -36
- package/dist/{InvoiceApprovalOutOfSyncIndicator-Dnw03isr.js → InvoiceApprovalOutOfSyncIndicator-DaM5hQVT.js} +16 -13
- package/dist/{InvoiceApprovalOverviewView-CoJXggOy.js → InvoiceApprovalOverviewView-DM_LiO19.js} +210 -210
- package/dist/{InvoiceApprovalStatusBadge-BWx3Fhuy.js → InvoiceApprovalStatusBadge-mbYHYU3x.js} +6 -6
- package/dist/{InvoicePdfView-Bv5aMLh6.js → InvoicePdfView-YbDJpTIA.js} +2 -2
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-Ca7-AmAH.js → InvoicePublicProFormaPdfViewDataProvider-BgAhcvB6.js} +3 -3
- package/dist/InvoiceRejectDialogDataProvider-yegAlkDB.js +410 -0
- package/dist/{InvoiceStatusBadge-uXAh9ypU.js → InvoiceStatusBadge-Bo5PDjEy.js} +3 -3
- package/dist/{InvoicingFileUploadProvider-C3cyIUhL.js → InvoicingFileUploadProvider-DVh22OUB.js} +2 -2
- package/dist/{IssuerSettingsViewDataProvider-C-CRF9sK.js → IssuerSettingsViewDataProvider-BgSFemZr.js} +4 -4
- package/dist/{PeppolSettingsViewDataProvider-COQEInsh.js → PeppolSettingsViewDataProvider-_Bx0xx9e.js} +3 -3
- package/dist/ReminderTemplatesPanel-DxmfU2xK.js +103 -0
- package/dist/{api.util-DSerLsgA.js → api.util-lGbimoKL.js} +575 -446
- package/dist/{billingDocumentDetail.transformer-ClWwi8h4.js → billingDocumentDetail.transformer-C5-zjIhL.js} +13 -4
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +8 -3
- package/dist/client/types.gen.d.ts +316 -49
- package/dist/client/zod.gen.d.ts +1465 -71
- package/dist/{creditNoteDetail.query-q1b6nzu0.js → creditNoteDetail.query-CqJeWeRV.js} +23 -23
- package/dist/{customFieldDefinitionIndex.query-DQxer9Je.js → customFieldDefinitionIndex.query-Co7hoMow.js} +65 -56
- package/dist/{deliveryReason.util-BlxvUaz0.js → deliveryReason.util-ny1rA7Sm.js} +6 -6
- package/dist/{dist-47-1LAzT.js → dist-CrNFh-CR.js} +59 -59
- package/dist/{dist-B33lNwLw.js → dist-DmVrfBOT.js} +149 -79
- package/dist/{documentTitle.composable-D5uPh3uG.js → documentTitle.composable-aTEYXgaZ.js} +1 -1
- package/dist/html.util-vG4ow95N.js +52 -0
- package/dist/{i18n.lib-DB15VQsH.js → i18n.lib-B1H9r0km.js} +196 -26
- package/dist/index.d.ts +182 -12
- package/dist/index.js +1638 -1479
- package/dist/{invoice.service-BKgP2p8z.js → invoice.service-D9ubyWPb.js} +245 -203
- package/dist/invoiceApproval.service-BtDIOHIo.js +182 -0
- package/dist/{invoiceApprovalStatus.util-D17DWEh1.js → invoiceApprovalStatus.util-Bqq_bILG.js} +2 -2
- package/dist/{invoiceCustomer.service-CLYUR6vc.js → invoiceCustomer.service-D0AtVrLg.js} +6 -6
- package/dist/{invoiceDetail.query-CzyZqT82.js → invoiceDetail.query-BNL6MkvC.js} +1 -1
- package/dist/{invoicingConfig.composable-CzgTMtog.js → invoicingConfig.composable-DEF0lzNP.js} +2 -2
- package/dist/{issuerSettings.query-D8T34N7f.js → issuerSettings.query-Cu-I6OAg.js} +5 -5
- package/dist/libs/i18n.lib.d.ts +182 -12
- package/dist/locales/en-US.json.d.ts +98 -13
- package/dist/locales/nl-BE.json.d.ts +98 -13
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +2 -2
- package/dist/models/file-reference/fileReference.transformer.d.ts +3 -0
- package/dist/modules/invoice/api/mutations/invoiceApprovalUpdate.mutation.d.ts +16 -0
- package/dist/modules/invoice/api/mutations/invoiceApproveApproval.mutation.d.ts +2 -2
- package/dist/modules/invoice/api/mutations/invoiceRejectApproval.mutation.d.ts +2 -2
- package/dist/modules/invoice/api/mutations/invoiceSetApprovalMode.mutation.d.ts +7 -0
- package/dist/modules/invoice/api/services/invoice.service.d.ts +4 -2
- package/dist/modules/invoice/models/invoice/approval/invoiceApprovalMode.model.d.ts +3 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApprovalMode.transformer.d.ts +6 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApprovalModeForm.model.d.ts +7 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApprovalNote.model.d.ts +2 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApprovalUpdate.transformer.d.ts +7 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApprovalUpdateForm.model.d.ts +13 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApprove.transformer.d.ts +3 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceApproveForm.model.d.ts +2 -2
- package/dist/modules/invoice/models/invoice/approval/invoiceReject.transformer.d.ts +3 -0
- package/dist/modules/invoice/models/invoice/approval/invoiceRejectForm.model.d.ts +2 -2
- package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +5 -0
- package/dist/modules/invoice/models/invoice/invoiceStatus.util.d.ts +1 -0
- package/dist/modules/invoice/use-cases/detail/components/InvoiceApprovalBanner.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailHeaderActions.composable.d.ts +2 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApprovalModeDialog.vue.d.ts +13 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApprovalUpdateDialog.vue.d.ts +16 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApproveDialog.vue.d.ts +4 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceRejectDialog.vue.d.ts +4 -0
- package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceRejectDialogDataProvider.vue.d.ts +13 -0
- package/dist/modules/invoice-approval/api/mutations/approvalFollowUpPauseCreate.mutation.d.ts +7 -0
- package/dist/modules/invoice-approval/api/mutations/approvalFollowUpPauseDelete.mutation.d.ts +4 -0
- package/dist/modules/invoice-approval/api/mutations/approvalFollowUpPauseUpdate.mutation.d.ts +10 -0
- package/dist/modules/invoice-approval/api/mutations/approvalMailTemplateUpdate.mutation.d.ts +14 -0
- package/dist/modules/invoice-approval/api/mutations/approvalReminderConfigUpdate.mutation.d.ts +14 -1
- package/dist/modules/invoice-approval/api/queries/approvalFollowUpPauseIndex.query.d.ts +2 -0
- package/dist/modules/invoice-approval/api/queries/approvalReminderConfig.query.d.ts +1 -1
- package/dist/modules/invoice-approval/api/query-keys/invoiceApproval.queryKeys.d.ts +9 -2
- package/dist/modules/invoice-approval/api/services/invoiceApproval.service.d.ts +10 -2
- package/dist/modules/invoice-approval/models/approvalFollowUpPause.model.d.ts +11 -0
- package/dist/modules/invoice-approval/models/approvalFollowUpPause.transformer.d.ts +11 -0
- package/dist/modules/invoice-approval/models/approvalFollowUpPauseForm.model.d.ts +11 -0
- package/dist/modules/invoice-approval/models/approvalMailTemplate.transformer.d.ts +6 -0
- package/dist/modules/invoice-approval/models/approvalMailTemplate.transformer.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/models/approvalMailTemplateForm.model.d.ts +18 -0
- package/dist/modules/invoice-approval/models/approvalReminderConfigForm.model.d.ts +15 -2
- package/dist/modules/invoice-approval/models/approvalSettingsForm.model.d.ts +39 -0
- package/dist/modules/invoice-approval/models/approvalSettingsForm.spec.d.ts +1 -0
- package/dist/modules/invoice-approval/use-cases/settings/components/ApprovalFollowUpPauseList.vue.d.ts +20 -0
- package/dist/modules/invoice-approval/use-cases/settings/components/ApprovalFollowUpPauseRow.vue.d.ts +20 -0
- package/dist/modules/invoice-approval/use-cases/settings/components/ApprovalFollowUpPausesPanel.vue.d.ts +7 -0
- package/dist/modules/invoice-approval/use-cases/settings/composables/approvalFollowUpPauseDialogs.composable.d.ts +8 -0
- package/dist/modules/invoice-approval/use-cases/settings/dialogs/ApprovalFollowUpPauseDeleteDialog.vue.d.ts +11 -0
- package/dist/modules/invoice-approval/use-cases/settings/dialogs/ApprovalFollowUpPauseFormDialog.vue.d.ts +14 -0
- package/dist/modules/invoice-approval/use-cases/settings/views/ApprovalReminderSettingsView.vue.d.ts +2 -1
- package/dist/modules/invoice-approval/utils/approvalFollowUpPausePeriod.util.d.ts +41 -0
- package/dist/modules/invoice-approval/utils/approvalFollowUpPausePeriod.util.spec.d.ts +1 -0
- package/dist/{reminderConfig.query-CFmCWWlO.js → reminderConfig.query-DHMHVOeX.js} +62 -109
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/ApprovalReminderSettingsViewDataProvider-DMWLX53_.js +0 -147
- package/dist/InvoiceRejectDialog-Ca-4nz4U.js +0 -361
- package/dist/invoiceApproval.service-oT1fvhsW.js +0 -73
- package/dist/modules/invoice/api/mutations/invoiceMarkAsPriorApprovalRequired.mutation.d.ts +0 -4
- package/dist/modules/invoice/api/mutations/invoiceUnmarkAsPriorApprovalRequired.mutation.d.ts +0 -4
|
@@ -487,7 +487,7 @@ var ce = (e) => te({
|
|
|
487
487
|
})(ge({
|
|
488
488
|
baseUrl: "https://vue.project-template.development.appwi.se",
|
|
489
489
|
throwOnError: !0
|
|
490
|
-
})), m = e.enum(/* @__PURE__ */ "all_permissions,api-key.create,api-key.read,api-key.read-own,api-key.delete,api-key.delete-own,custom-field-definition.read,customer.create,customer.read,customer.update,customer.deactivate,customer.reactivate,dunning-case.read,dunning-case.send,invoice-approval.approve,invoice-approval.cancel,invoice-approval.read,invoice-approval.reject,invoice-approval.restart,invoice-approval.send,invoice.create,invoice.delete,invoice.read,invoice.send-email,invoice.send-peppol,invoice.update,invoice.payment.create,invoice.payment.delete,invoice.payment.read,invoice.externally-created.update,peppol-connection.update,issuer.read,issuer.update,recipient.read,recipient.create,recipient.update,recipient.delete,reminder-config.read,activity-log.read,event-log.read,file.read,file.create,file.delete,jobs.read.index,jobs.read.detail,notification.read.own,notification.read.config,notification.update.read,notification.update.unread,notification.preferences.update.channel,notification.preferences.update.preset,notification.preferences.update.types,notification.preferences.read.own,notification.migrate-type,notification.send-test,reminder-config.update,role.read,role.create,role.update,role.delete,role.cache.clear,send_push_notification,typesense,user.read,user.create,user.update,user.delete,tenant.create,tenant.read_index,tenant.read_detail,tenant.update,tenant.deactivate".split(",")), _e = e.object({
|
|
490
|
+
})), m = e.enum(/* @__PURE__ */ "all_permissions,api-key.create,api-key.read,api-key.read-own,api-key.delete,api-key.delete-own,custom-field-definition.read,customer.create,customer.read,customer.update,customer.deactivate,customer.reactivate,dunning-case.read,dunning-case.send,invoice-approval.approve,invoice-approval.cancel,invoice-approval.read,invoice-approval.reject,invoice-approval.restart,invoice-approval.send,invoice-approval.update,invoice.create,invoice.delete,invoice.read,invoice.send-email,invoice.send-peppol,invoice.update,invoice.payment.create,invoice.payment.delete,invoice.payment.read,invoice.externally-created.update,peppol-connection.update,issuer.read,issuer.update,recipient.read,recipient.create,recipient.update,recipient.delete,reminder-config.read,activity-log.read,event-log.read,file.read,file.create,file.delete,jobs.read.index,jobs.read.detail,notification.read.own,notification.read.config,notification.update.read,notification.update.unread,notification.preferences.update.channel,notification.preferences.update.preset,notification.preferences.update.types,notification.preferences.read.own,notification.migrate-type,notification.send-test,reminder-config.update,role.read,role.create,role.update,role.delete,role.cache.clear,send_push_notification,typesense,user.read,user.create,user.update,user.delete,tenant.create,tenant.read_index,tenant.read_detail,tenant.update,tenant.deactivate".split(",")), _e = e.object({
|
|
491
491
|
name: e.string(),
|
|
492
492
|
key: m,
|
|
493
493
|
description: e.string()
|
|
@@ -727,7 +727,7 @@ var ze = e.enum([
|
|
|
727
727
|
}), He = e.object({
|
|
728
728
|
limit: e.number().gte(0).lte(100).optional(),
|
|
729
729
|
key: Ve.nullish()
|
|
730
|
-
}), Ue = e.enum(/* @__PURE__ */ "api-key.created,api-key.deleted,approval-reminder.sent,credit-note.created,credit-note.updated,credit-note.finalized,credit-note.invoice-lines.updated,credit-note.deleted,credit-note.email-sent,customer.created,customer.updated,customer.synced,customer.deactivated,customer.reactivated,file.created,file.uploaded,issuer.updated,issuer.created,peppol-connection.updated,invoice-approval.approved,invoice-approval.cancelled,invoice-approval.created,invoice-approval.expired,invoice-approval.rejected,invoice-approval.sent,invoice-approval.superseded,invoice.attachments.updated,invoice.created,invoice.deleted,invoice.discount.applied,invoice.disputed-withdrawn,invoice.duplicated,invoice.email-sent,invoice.finalization-blocked,invoice.finalized,invoice.marked-as-disputed,invoice.marked-as-draft,invoice.marked-as-overdue,invoice.marked-as-paid,invoice.marked-as-prior-approval-required,invoice.marked-as-ready,invoice.pdf.generated,invoice.restored-from-pro-forma,invoice.unmarked-as-prior-approval-required,invoice.updated,invoice.delivery-updated,payment.created,payment.deleted,pro-forma.created,pro-forma.pdf.generated,notification.created,notification.read,notification.read.all,notification.unread,notification.types.migrated,notification.preference.preset.updated,role.created,role.deleted,role.renamed,role.permissions.updated,role.permissions.cache.cleared,test-notification.sent,user.created,user.updated,user.role-assigned,user.roles-set,user.notification.created,user.default-notification-preferences.assigned,user.assigned-as-admin,recipient.created,recipient.updated,recipient.default-set,recipient.deleted,approval-reminder-config.updated,reminder-config.updated,dunning-case.synced,dunning-case.closed,dunning-case.reminder.created,dunning-case.reminder.pdf.generated,dunning-case.reminder.retried,dunning-case.reminder.sent,tenant.created,tenant.updated,tenant.deactivated".split(",")), We = e.object({
|
|
730
|
+
}), Ue = e.enum(/* @__PURE__ */ "api-key.created,api-key.deleted,approval-reminder.sent,credit-note.created,credit-note.updated,credit-note.finalized,credit-note.invoice-lines.updated,credit-note.deleted,credit-note.email-sent,customer.created,customer.updated,customer.synced,customer.deactivated,customer.reactivated,file.created,file.uploaded,issuer.updated,issuer.created,peppol-connection.updated,invoice-approval.approved,invoice-approval.cancelled,invoice-approval.created,invoice-approval.expired,invoice-approval.rejected,invoice-approval.sent,invoice-approval.superseded,invoice-approval.updated,invoice.approval-mode-changed,invoice.attachments.updated,invoice.created,invoice.deleted,invoice.discount.applied,invoice.disputed-withdrawn,invoice.duplicated,invoice.email-sent,invoice.finalization-blocked,invoice.finalized,invoice.marked-as-disputed,invoice.marked-as-draft,invoice.marked-as-overdue,invoice.marked-as-paid,invoice.marked-as-prior-approval-required,invoice.marked-as-ready,invoice.pdf.generated,invoice.restored-from-pro-forma,invoice.unmarked-as-prior-approval-required,invoice.updated,invoice.delivery-updated,payment.created,payment.deleted,pro-forma.created,pro-forma.pdf.generated,notification.created,notification.read,notification.read.all,notification.unread,notification.types.migrated,notification.preference.preset.updated,role.created,role.deleted,role.renamed,role.permissions.updated,role.permissions.cache.cleared,test-notification.sent,user.created,user.updated,user.role-assigned,user.roles-set,user.notification.created,user.default-notification-preferences.assigned,user.assigned-as-admin,recipient.created,recipient.updated,recipient.default-set,recipient.deleted,approval-reminder-config.updated,approval-mail-template.updated,approval-follow-up-pause.created,approval-follow-up-pause.updated,approval-follow-up-pause.deleted,reminder-config.updated,dunning-case.synced,dunning-case.closed,dunning-case.reminder.created,dunning-case.reminder.pdf.generated,dunning-case.reminder.retried,dunning-case.reminder.sent,tenant.created,tenant.updated,tenant.deactivated".split(",")), We = e.object({
|
|
731
731
|
uuid: e.uuid(),
|
|
732
732
|
createdAt: e.iso.datetime(),
|
|
733
733
|
version: e.int().gte(0),
|
|
@@ -1422,7 +1422,8 @@ var w = e.object({
|
|
|
1422
1422
|
N
|
|
1423
1423
|
])),
|
|
1424
1424
|
lines: e.array(un),
|
|
1425
|
-
groups: e.array(e.lazy(() => dn))
|
|
1425
|
+
groups: e.array(e.lazy(() => dn)),
|
|
1426
|
+
grossTotal: y
|
|
1426
1427
|
}), fn = e.object({
|
|
1427
1428
|
vatRate: I,
|
|
1428
1429
|
netAmount: y,
|
|
@@ -1659,7 +1660,8 @@ var gn = e.object({
|
|
|
1659
1660
|
N
|
|
1660
1661
|
])),
|
|
1661
1662
|
lines: e.array(Dn),
|
|
1662
|
-
groups: e.array(e.lazy(() => On))
|
|
1663
|
+
groups: e.array(e.lazy(() => On)),
|
|
1664
|
+
grossTotal: y
|
|
1663
1665
|
}), kn = e.object({
|
|
1664
1666
|
vatRate: I,
|
|
1665
1667
|
netAmount: y,
|
|
@@ -1722,11 +1724,11 @@ var gn = e.object({
|
|
|
1722
1724
|
sentAt: e.string().nullable(),
|
|
1723
1725
|
status: Rn,
|
|
1724
1726
|
answeredAt: e.string().nullable(),
|
|
1725
|
-
|
|
1727
|
+
internalNote: e.string().nullable(),
|
|
1728
|
+
externalNote: e.string().nullable(),
|
|
1726
1729
|
proFormaFile: An.nullable(),
|
|
1727
|
-
|
|
1730
|
+
files: e.array(An),
|
|
1728
1731
|
isActive: e.boolean(),
|
|
1729
|
-
remarks: e.string().nullable(),
|
|
1730
1732
|
rejectionReason: zn.nullable(),
|
|
1731
1733
|
level: Bn.nullable(),
|
|
1732
1734
|
reminderSentAt: e.iso.datetime().nullable()
|
|
@@ -1772,8 +1774,7 @@ var gn = e.object({
|
|
|
1772
1774
|
totalDiscountAmount: y.nullable(),
|
|
1773
1775
|
globalDiscount: L.nullable(),
|
|
1774
1776
|
attachments: e.array(An),
|
|
1775
|
-
|
|
1776
|
-
rejectionFiles: e.array(An),
|
|
1777
|
+
approvalFiles: e.array(An),
|
|
1777
1778
|
creditNotes: e.array(jn),
|
|
1778
1779
|
originalInvoice: jn.nullable(),
|
|
1779
1780
|
preparedBy: Mn,
|
|
@@ -2165,8 +2166,10 @@ var fr = e.object({ uuid: e.uuid() }), pr = e.object({ uuid: e.uuid() });
|
|
|
2165
2166
|
e.object({
|
|
2166
2167
|
detail: e.string().optional(),
|
|
2167
2168
|
status: e.enum(["409"]),
|
|
2168
|
-
code: e.enum(["
|
|
2169
|
-
})
|
|
2169
|
+
code: e.enum(["approval_mode_change_with_active_approval"])
|
|
2170
|
+
});
|
|
2171
|
+
var mr = e.object({ approvalMode: x.nullable() });
|
|
2172
|
+
e.object({
|
|
2170
2173
|
detail: e.string().optional(),
|
|
2171
2174
|
status: e.enum(["409"]),
|
|
2172
2175
|
code: e.enum(["invoice_not_finalized"])
|
|
@@ -2175,7 +2178,7 @@ e.object({
|
|
|
2175
2178
|
status: e.enum(["409"]),
|
|
2176
2179
|
code: e.enum(["invoice_status_not_eligible_for_paid"])
|
|
2177
2180
|
});
|
|
2178
|
-
var
|
|
2181
|
+
var hr = e.object({
|
|
2179
2182
|
statuses: e.array(_).optional(),
|
|
2180
2183
|
lifecycleStatuses: e.array(P).optional(),
|
|
2181
2184
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -2207,24 +2210,24 @@ var mr = e.object({
|
|
|
2207
2210
|
total: e.number(),
|
|
2208
2211
|
processed: e.number(),
|
|
2209
2212
|
skipped: e.number()
|
|
2210
|
-
}),
|
|
2213
|
+
}), gr = e.object({ pointer: e.string() }), _r = e.object({
|
|
2211
2214
|
code: e.string(),
|
|
2212
2215
|
detail: e.string().optional(),
|
|
2213
2216
|
title: e.string().optional(),
|
|
2214
2217
|
id: e.string().optional(),
|
|
2215
2218
|
status: e.string().optional(),
|
|
2216
|
-
source:
|
|
2219
|
+
source: gr.optional(),
|
|
2217
2220
|
meta: e.record(e.string(), e.unknown()).optional()
|
|
2218
|
-
}),
|
|
2221
|
+
}), vr = e.object({
|
|
2219
2222
|
status: e.number(),
|
|
2220
|
-
errors: e.array(
|
|
2223
|
+
errors: e.array(_r)
|
|
2221
2224
|
}), Q = e.object({
|
|
2222
2225
|
uuid: e.string(),
|
|
2223
|
-
errors: e.array(
|
|
2224
|
-
}),
|
|
2226
|
+
errors: e.array(vr)
|
|
2227
|
+
}), yr = e.object({
|
|
2225
2228
|
meta: Z,
|
|
2226
2229
|
skipped: e.array(Q)
|
|
2227
|
-
}),
|
|
2230
|
+
}), br = e.object({
|
|
2228
2231
|
statuses: e.array(_).optional(),
|
|
2229
2232
|
lifecycleStatuses: e.array(P).optional(),
|
|
2230
2233
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -2252,7 +2255,7 @@ var mr = e.object({
|
|
|
2252
2255
|
isApprovalCancelled: e.boolean().optional(),
|
|
2253
2256
|
isExternallyCreated: e.boolean().optional(),
|
|
2254
2257
|
poNumber: e.string().optional()
|
|
2255
|
-
}),
|
|
2258
|
+
}), xr = e.object({
|
|
2256
2259
|
meta: Z,
|
|
2257
2260
|
skipped: e.array(Q)
|
|
2258
2261
|
});
|
|
@@ -2261,7 +2264,7 @@ e.object({
|
|
|
2261
2264
|
status: e.enum(["409"]),
|
|
2262
2265
|
code: e.enum(["invoice_not_disputed"])
|
|
2263
2266
|
});
|
|
2264
|
-
var
|
|
2267
|
+
var Sr = e.object({
|
|
2265
2268
|
statuses: e.array(_).optional(),
|
|
2266
2269
|
lifecycleStatuses: e.array(P).optional(),
|
|
2267
2270
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -2289,10 +2292,10 @@ var xr = e.object({
|
|
|
2289
2292
|
isApprovalCancelled: e.boolean().optional(),
|
|
2290
2293
|
isExternallyCreated: e.boolean().optional(),
|
|
2291
2294
|
poNumber: e.string().optional()
|
|
2292
|
-
}),
|
|
2295
|
+
}), Cr = e.object({
|
|
2293
2296
|
meta: Z,
|
|
2294
2297
|
skipped: e.array(Q)
|
|
2295
|
-
}),
|
|
2298
|
+
}), wr = e.object({ sendOnFinalization: e.boolean().optional() }), Tr = e.object({
|
|
2296
2299
|
statuses: e.array(_).optional(),
|
|
2297
2300
|
lifecycleStatuses: e.array(P).optional(),
|
|
2298
2301
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -2320,10 +2323,10 @@ var xr = e.object({
|
|
|
2320
2323
|
isApprovalCancelled: e.boolean().optional(),
|
|
2321
2324
|
isExternallyCreated: e.boolean().optional(),
|
|
2322
2325
|
poNumber: e.string().optional()
|
|
2323
|
-
}),
|
|
2326
|
+
}), Er = e.object({
|
|
2324
2327
|
meta: Z,
|
|
2325
2328
|
skipped: e.array(Q)
|
|
2326
|
-
}),
|
|
2329
|
+
}), Dr = e.object({
|
|
2327
2330
|
statuses: e.array(_).optional(),
|
|
2328
2331
|
lifecycleStatuses: e.array(P).optional(),
|
|
2329
2332
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -2351,10 +2354,10 @@ var xr = e.object({
|
|
|
2351
2354
|
isApprovalCancelled: e.boolean().optional(),
|
|
2352
2355
|
isExternallyCreated: e.boolean().optional(),
|
|
2353
2356
|
poNumber: e.string().optional()
|
|
2354
|
-
}),
|
|
2357
|
+
}), Or = e.object({
|
|
2355
2358
|
meta: Z,
|
|
2356
2359
|
skipped: e.array(Q)
|
|
2357
|
-
}),
|
|
2360
|
+
}), kr = e.object({
|
|
2358
2361
|
statuses: e.array(_).optional(),
|
|
2359
2362
|
lifecycleStatuses: e.array(P).optional(),
|
|
2360
2363
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -2382,7 +2385,7 @@ var xr = e.object({
|
|
|
2382
2385
|
isApprovalCancelled: e.boolean().optional(),
|
|
2383
2386
|
isExternallyCreated: e.boolean().optional(),
|
|
2384
2387
|
poNumber: e.string().optional()
|
|
2385
|
-
}),
|
|
2388
|
+
}), Ar = e.object({
|
|
2386
2389
|
meta: Z,
|
|
2387
2390
|
skipped: e.array(Q)
|
|
2388
2391
|
});
|
|
@@ -2391,7 +2394,7 @@ e.object({
|
|
|
2391
2394
|
status: e.enum(["404"]),
|
|
2392
2395
|
code: e.enum(["pro_forma_not_found"])
|
|
2393
2396
|
});
|
|
2394
|
-
var
|
|
2397
|
+
var jr = e.object({
|
|
2395
2398
|
entityUuids: e.array(e.uuid()).optional(),
|
|
2396
2399
|
entityTypes: e.array(e.enum([
|
|
2397
2400
|
"customer",
|
|
@@ -2409,13 +2412,13 @@ var Ar = e.object({
|
|
|
2409
2412
|
"approval",
|
|
2410
2413
|
"attachment"
|
|
2411
2414
|
])).optional()
|
|
2412
|
-
}),
|
|
2415
|
+
}), Mr = e.object({
|
|
2413
2416
|
createdAt: e.string(),
|
|
2414
2417
|
uuid: e.uuid()
|
|
2415
|
-
}),
|
|
2418
|
+
}), Nr = e.object({
|
|
2416
2419
|
limit: e.number().gte(0).lte(100).optional(),
|
|
2417
|
-
key:
|
|
2418
|
-
}),
|
|
2420
|
+
key: Mr.nullish()
|
|
2421
|
+
}), Pr = e.enum([
|
|
2419
2422
|
"invoice-created",
|
|
2420
2423
|
"invoice-updated",
|
|
2421
2424
|
"invoice-finalized",
|
|
@@ -2425,6 +2428,7 @@ var Ar = e.object({
|
|
|
2425
2428
|
"invoice-marked-as-ready",
|
|
2426
2429
|
"invoice-marked-as-prior-approval-required",
|
|
2427
2430
|
"invoice-unmarked-as-prior-approval-required",
|
|
2431
|
+
"invoice-approval-mode-changed",
|
|
2428
2432
|
"invoice-marked-as-paid",
|
|
2429
2433
|
"invoice-payment-created",
|
|
2430
2434
|
"invoice-payment-deleted",
|
|
@@ -2434,45 +2438,46 @@ var Ar = e.object({
|
|
|
2434
2438
|
"invoice-approval-cancelled",
|
|
2435
2439
|
"invoice-approval-expired",
|
|
2436
2440
|
"invoice-approval-reminder-sent",
|
|
2441
|
+
"invoice-approval-updated",
|
|
2437
2442
|
"invoice-finalization-blocked",
|
|
2438
2443
|
"dunning-case-reminder-sent",
|
|
2439
2444
|
"credit-note-created",
|
|
2440
2445
|
"credit-note-updated",
|
|
2441
2446
|
"customer-updated"
|
|
2442
|
-
]),
|
|
2447
|
+
]), Fr = e.enum([
|
|
2443
2448
|
"create",
|
|
2444
2449
|
"update",
|
|
2445
2450
|
"delete"
|
|
2446
|
-
]),
|
|
2451
|
+
]), Ir = e.enum([
|
|
2447
2452
|
"user",
|
|
2448
2453
|
"service",
|
|
2449
2454
|
"system"
|
|
2450
|
-
]),
|
|
2455
|
+
]), Lr = e.object({
|
|
2451
2456
|
uuid: e.uuid(),
|
|
2452
2457
|
firstName: e.string().nullable(),
|
|
2453
2458
|
lastName: e.string().nullable(),
|
|
2454
2459
|
email: e.string().nullable()
|
|
2455
|
-
}),
|
|
2460
|
+
}), Rr = e.enum([
|
|
2456
2461
|
"actor",
|
|
2457
2462
|
"customer",
|
|
2458
2463
|
"invoice",
|
|
2459
2464
|
"credit_note",
|
|
2460
2465
|
"approval",
|
|
2461
2466
|
"attachment"
|
|
2462
|
-
]),
|
|
2467
|
+
]), zr = e.enum([
|
|
2463
2468
|
"customer",
|
|
2464
2469
|
"invoice",
|
|
2465
2470
|
"credit_note",
|
|
2466
2471
|
"approval",
|
|
2467
2472
|
"api_key",
|
|
2468
2473
|
"file"
|
|
2469
|
-
]),
|
|
2470
|
-
role:
|
|
2471
|
-
type:
|
|
2474
|
+
]), Br = e.object({
|
|
2475
|
+
role: Rr,
|
|
2476
|
+
type: zr,
|
|
2472
2477
|
uuid: e.uuid(),
|
|
2473
2478
|
label: e.string().nullable()
|
|
2474
|
-
}),
|
|
2475
|
-
entityRole:
|
|
2479
|
+
}), Vr = e.object({
|
|
2480
|
+
entityRole: Rr,
|
|
2476
2481
|
field: e.string(),
|
|
2477
2482
|
from: e.union([
|
|
2478
2483
|
e.string(),
|
|
@@ -2484,17 +2489,17 @@ var Ar = e.object({
|
|
|
2484
2489
|
e.number(),
|
|
2485
2490
|
e.boolean()
|
|
2486
2491
|
]).nullable()
|
|
2487
|
-
}), Vr = e.object({
|
|
2488
|
-
createdAt: e.iso.datetime(),
|
|
2489
|
-
action: Nr,
|
|
2490
|
-
changeType: Pr,
|
|
2491
|
-
actorType: Fr,
|
|
2492
|
-
actor: Ir.nullable(),
|
|
2493
|
-
entities: e.array(zr),
|
|
2494
|
-
changes: e.array(Br).nullable()
|
|
2495
2492
|
}), Hr = e.object({
|
|
2496
|
-
|
|
2497
|
-
|
|
2493
|
+
createdAt: e.iso.datetime(),
|
|
2494
|
+
action: Pr,
|
|
2495
|
+
changeType: Fr,
|
|
2496
|
+
actorType: Ir,
|
|
2497
|
+
actor: Lr.nullable(),
|
|
2498
|
+
entities: e.array(Br),
|
|
2499
|
+
changes: e.array(Vr).nullable()
|
|
2500
|
+
}), Ur = e.object({
|
|
2501
|
+
logs: e.array(Hr),
|
|
2502
|
+
nextKey: Mr.nullable()
|
|
2498
2503
|
});
|
|
2499
2504
|
e.object({
|
|
2500
2505
|
detail: e.string().optional(),
|
|
@@ -2509,14 +2514,14 @@ e.object({
|
|
|
2509
2514
|
status: e.enum(["409"]),
|
|
2510
2515
|
code: e.enum(["payment_external_id_already_exists"])
|
|
2511
2516
|
});
|
|
2512
|
-
var
|
|
2517
|
+
var Wr = e.enum(["standard", "advance"]), Gr = e.object({
|
|
2513
2518
|
amount: y,
|
|
2514
2519
|
date: e.iso.date(),
|
|
2515
2520
|
paymentReference: e.string().nullish(),
|
|
2516
2521
|
remarks: e.string().nullish(),
|
|
2517
|
-
type:
|
|
2522
|
+
type: Wr.optional(),
|
|
2518
2523
|
externalId: e.string().nullish()
|
|
2519
|
-
}),
|
|
2524
|
+
}), Kr = e.object({ uuid: e.uuid() });
|
|
2520
2525
|
e.object({
|
|
2521
2526
|
detail: e.string().optional(),
|
|
2522
2527
|
status: e.enum(["404"]),
|
|
@@ -2530,35 +2535,35 @@ e.object({
|
|
|
2530
2535
|
status: e.enum(["409"]),
|
|
2531
2536
|
code: e.enum(["advance_payment_locked"])
|
|
2532
2537
|
});
|
|
2533
|
-
var
|
|
2538
|
+
var qr = e.enum(["manual", "exact"]), Jr = e.object({
|
|
2534
2539
|
uuid: e.uuid(),
|
|
2535
2540
|
amount: y,
|
|
2536
2541
|
date: e.iso.date(),
|
|
2537
2542
|
createdAt: e.iso.datetime(),
|
|
2538
2543
|
paymentReference: e.string().nullable(),
|
|
2539
2544
|
remarks: e.string().nullable(),
|
|
2540
|
-
source:
|
|
2541
|
-
type:
|
|
2542
|
-
}),
|
|
2545
|
+
source: qr,
|
|
2546
|
+
type: Wr
|
|
2547
|
+
}), Yr = e.object({ items: e.array(Jr) }), Xr = e.union([
|
|
2543
2548
|
e.literal(1),
|
|
2544
2549
|
e.literal(2),
|
|
2545
2550
|
e.literal(3)
|
|
2546
|
-
]),
|
|
2551
|
+
]), Zr = e.object({
|
|
2547
2552
|
subject: F,
|
|
2548
2553
|
body: F
|
|
2549
|
-
}),
|
|
2550
|
-
type:
|
|
2554
|
+
}), Qr = e.enum(["percentage", "amount"]), $r = e.object({
|
|
2555
|
+
type: Qr,
|
|
2551
2556
|
amount: y.nullable(),
|
|
2552
2557
|
percentage: e.number().nullable()
|
|
2553
|
-
}),
|
|
2558
|
+
}), ei = e.object({
|
|
2554
2559
|
uuid: e.uuid(),
|
|
2555
2560
|
issuerUuid: e.uuid(),
|
|
2556
|
-
sequence:
|
|
2561
|
+
sequence: Xr,
|
|
2557
2562
|
schedule: In,
|
|
2558
2563
|
offsetDays: e.number(),
|
|
2559
|
-
template:
|
|
2560
|
-
fee:
|
|
2561
|
-
}),
|
|
2564
|
+
template: Zr,
|
|
2565
|
+
fee: $r
|
|
2566
|
+
}), ti = e.object({ items: e.array(ei) });
|
|
2562
2567
|
e.object({
|
|
2563
2568
|
detail: e.string().optional(),
|
|
2564
2569
|
status: e.enum(["400"]),
|
|
@@ -2572,36 +2577,36 @@ e.object({
|
|
|
2572
2577
|
status: e.enum(["400"]),
|
|
2573
2578
|
code: e.enum(["additional_reminder_config"])
|
|
2574
2579
|
});
|
|
2575
|
-
var
|
|
2580
|
+
var ni = e.object({
|
|
2576
2581
|
subject: F,
|
|
2577
2582
|
body: F
|
|
2578
|
-
}),
|
|
2583
|
+
}), ri = e.object({
|
|
2579
2584
|
sequence: e.number(),
|
|
2580
2585
|
offsetDays: e.int().gte(1),
|
|
2581
2586
|
schedule: In,
|
|
2582
|
-
template:
|
|
2583
|
-
fee:
|
|
2584
|
-
}),
|
|
2587
|
+
template: ni,
|
|
2588
|
+
fee: $r
|
|
2589
|
+
}), ii = e.object({ reminders: e.array(ri) }), ai = e.enum([
|
|
2585
2590
|
"invoice",
|
|
2586
2591
|
"invoice-line",
|
|
2587
2592
|
"invoice-line-group"
|
|
2588
|
-
]),
|
|
2593
|
+
]), oi = e.object({ entityTypes: e.array(ai).optional() });
|
|
2589
2594
|
e.object({
|
|
2590
2595
|
detail: e.string().optional(),
|
|
2591
2596
|
status: e.enum(["404"]),
|
|
2592
2597
|
code: e.enum(["dunning_case_not_found"])
|
|
2593
2598
|
});
|
|
2594
|
-
var
|
|
2599
|
+
var si = e.object({
|
|
2595
2600
|
uuid: e.uuid(),
|
|
2596
2601
|
type: g,
|
|
2597
2602
|
name: e.string(),
|
|
2598
2603
|
vatNumber: e.string().nullable(),
|
|
2599
2604
|
email: e.string().nullable()
|
|
2600
|
-
}),
|
|
2605
|
+
}), ci = e.object({
|
|
2601
2606
|
uuid: e.uuid(),
|
|
2602
2607
|
date: e.iso.date(),
|
|
2603
2608
|
amount: y
|
|
2604
|
-
}),
|
|
2609
|
+
}), li = e.object({
|
|
2605
2610
|
uuid: e.uuid(),
|
|
2606
2611
|
sequence: e.string(),
|
|
2607
2612
|
grossAmount: y,
|
|
@@ -2610,7 +2615,7 @@ var oi = e.object({
|
|
|
2610
2615
|
e.enum(["infinity"]),
|
|
2611
2616
|
e.enum(["-infinity"])
|
|
2612
2617
|
])
|
|
2613
|
-
}),
|
|
2618
|
+
}), ui = e.object({
|
|
2614
2619
|
uuid: e.uuid(),
|
|
2615
2620
|
subject: e.string().nullable(),
|
|
2616
2621
|
sequence: e.string(),
|
|
@@ -2622,9 +2627,9 @@ var oi = e.object({
|
|
|
2622
2627
|
paidAmount: y,
|
|
2623
2628
|
isDisputed: e.boolean(),
|
|
2624
2629
|
settlementStatus: R,
|
|
2625
|
-
payments: e.array(
|
|
2626
|
-
creditNotes: e.array(
|
|
2627
|
-
}),
|
|
2630
|
+
payments: e.array(ci),
|
|
2631
|
+
creditNotes: e.array(li)
|
|
2632
|
+
}), di = e.object({
|
|
2628
2633
|
uuid: e.uuid(),
|
|
2629
2634
|
sentAt: e.union([
|
|
2630
2635
|
e.iso.datetime(),
|
|
@@ -2632,7 +2637,7 @@ var oi = e.object({
|
|
|
2632
2637
|
e.enum(["-infinity"])
|
|
2633
2638
|
]).nullable(),
|
|
2634
2639
|
hasErrors: e.boolean()
|
|
2635
|
-
}),
|
|
2640
|
+
}), fi = e.enum(["missing_email"]), pi = e.object({
|
|
2636
2641
|
uuid: e.uuid(),
|
|
2637
2642
|
createdAt: e.iso.datetime(),
|
|
2638
2643
|
updatedAt: e.iso.datetime(),
|
|
@@ -2640,8 +2645,8 @@ var oi = e.object({
|
|
|
2640
2645
|
isClosed: e.boolean(),
|
|
2641
2646
|
nextReminderOn: e.iso.date().nullable(),
|
|
2642
2647
|
level: e.number().nullable(),
|
|
2643
|
-
customer:
|
|
2644
|
-
invoices: e.array(
|
|
2648
|
+
customer: si,
|
|
2649
|
+
invoices: e.array(ui),
|
|
2645
2650
|
outstandingBalance: y,
|
|
2646
2651
|
totalPaid: y,
|
|
2647
2652
|
totalInvoiced: y,
|
|
@@ -2654,17 +2659,17 @@ var oi = e.object({
|
|
|
2654
2659
|
]).nullable(),
|
|
2655
2660
|
canSendReminder: e.boolean(),
|
|
2656
2661
|
canRetryReminder: e.boolean(),
|
|
2657
|
-
latestCreatedReminder:
|
|
2658
|
-
blockedReason:
|
|
2659
|
-
}),
|
|
2662
|
+
latestCreatedReminder: di.nullable(),
|
|
2663
|
+
blockedReason: fi.nullable()
|
|
2664
|
+
}), mi = e.object({
|
|
2660
2665
|
isOpen: e.boolean().optional(),
|
|
2661
2666
|
customerUuid: e.uuid().optional(),
|
|
2662
2667
|
level: e.number().optional(),
|
|
2663
2668
|
dunningCaseUuids: Y.optional()
|
|
2664
|
-
}),
|
|
2669
|
+
}), hi = e.object({
|
|
2665
2670
|
uuid: e.uuid(),
|
|
2666
2671
|
name: e.string()
|
|
2667
|
-
}),
|
|
2672
|
+
}), gi = e.object({
|
|
2668
2673
|
uuid: e.uuid(),
|
|
2669
2674
|
sentAt: e.union([
|
|
2670
2675
|
e.iso.datetime(),
|
|
@@ -2672,9 +2677,9 @@ var oi = e.object({
|
|
|
2672
2677
|
e.enum(["-infinity"])
|
|
2673
2678
|
]).nullable(),
|
|
2674
2679
|
hasErrors: e.boolean()
|
|
2675
|
-
}),
|
|
2680
|
+
}), _i = e.object({
|
|
2676
2681
|
uuid: e.uuid(),
|
|
2677
|
-
customer:
|
|
2682
|
+
customer: hi,
|
|
2678
2683
|
level: e.number().nullable(),
|
|
2679
2684
|
daysOverdue: e.number(),
|
|
2680
2685
|
outstandingBalance: y,
|
|
@@ -2690,10 +2695,10 @@ var oi = e.object({
|
|
|
2690
2695
|
]).nullable(),
|
|
2691
2696
|
canSendReminder: e.boolean(),
|
|
2692
2697
|
canRetryReminder: e.boolean(),
|
|
2693
|
-
latestCreatedReminder:
|
|
2694
|
-
blockedReason:
|
|
2695
|
-
}),
|
|
2696
|
-
items: e.array(
|
|
2698
|
+
latestCreatedReminder: gi.nullable(),
|
|
2699
|
+
blockedReason: fi.nullable()
|
|
2700
|
+
}), vi = e.object({
|
|
2701
|
+
items: e.array(_i),
|
|
2697
2702
|
meta: h
|
|
2698
2703
|
});
|
|
2699
2704
|
e.object({
|
|
@@ -2725,23 +2730,23 @@ e.object({
|
|
|
2725
2730
|
status: e.enum(["409"]),
|
|
2726
2731
|
code: e.enum(["dunning_case_reminder_not_retryable"])
|
|
2727
2732
|
});
|
|
2728
|
-
var
|
|
2733
|
+
var yi = e.object({
|
|
2729
2734
|
isOpen: e.boolean().optional(),
|
|
2730
2735
|
customerUuid: e.uuid().optional(),
|
|
2731
2736
|
level: e.number().optional(),
|
|
2732
2737
|
dunningCaseUuids: Y.optional()
|
|
2733
|
-
}),
|
|
2738
|
+
}), bi = e.object({
|
|
2734
2739
|
meta: Z,
|
|
2735
2740
|
skipped: e.array(Q)
|
|
2736
|
-
}),
|
|
2741
|
+
}), xi = e.object({
|
|
2737
2742
|
isOpen: e.boolean().optional(),
|
|
2738
2743
|
customerUuid: e.uuid().optional(),
|
|
2739
2744
|
level: e.number().optional(),
|
|
2740
2745
|
dunningCaseUuids: Y.optional()
|
|
2741
|
-
}),
|
|
2746
|
+
}), Si = e.object({
|
|
2742
2747
|
meta: Z,
|
|
2743
2748
|
skipped: e.array(Q)
|
|
2744
|
-
}),
|
|
2749
|
+
}), Ci = e.object({
|
|
2745
2750
|
name: e.string().nullable(),
|
|
2746
2751
|
email: e.email().nullable(),
|
|
2747
2752
|
phoneNumber: e.string().nullable(),
|
|
@@ -2751,7 +2756,7 @@ var vi = e.object({
|
|
|
2751
2756
|
bankAccountNumber: e.string().nullable(),
|
|
2752
2757
|
alternativeBankAccountNumber: e.string().nullable(),
|
|
2753
2758
|
currency: v
|
|
2754
|
-
}),
|
|
2759
|
+
}), wi = e.object({
|
|
2755
2760
|
name: e.string(),
|
|
2756
2761
|
address: S.nullable(),
|
|
2757
2762
|
email: e.email().nullable(),
|
|
@@ -2761,10 +2766,10 @@ var vi = e.object({
|
|
|
2761
2766
|
type: g,
|
|
2762
2767
|
locale: Ie,
|
|
2763
2768
|
currency: v
|
|
2764
|
-
}),
|
|
2769
|
+
}), Ti = e.object({
|
|
2765
2770
|
name: e.string().nullable(),
|
|
2766
2771
|
email: e.email()
|
|
2767
|
-
}),
|
|
2772
|
+
}), Ei = e.object({
|
|
2768
2773
|
sequence: e.string(),
|
|
2769
2774
|
issuedOn: e.iso.date(),
|
|
2770
2775
|
dueOn: e.iso.date(),
|
|
@@ -2773,21 +2778,21 @@ var vi = e.object({
|
|
|
2773
2778
|
daysOverdue: e.number(),
|
|
2774
2779
|
fee: y,
|
|
2775
2780
|
isNew: e.boolean()
|
|
2776
|
-
}),
|
|
2781
|
+
}), Di = e.object({
|
|
2777
2782
|
sequence: e.string(),
|
|
2778
2783
|
issuedOn: e.iso.date(),
|
|
2779
2784
|
dueOn: e.iso.date(),
|
|
2780
2785
|
outstandingBalance: y,
|
|
2781
2786
|
daysOverdue: e.number()
|
|
2782
|
-
}),
|
|
2787
|
+
}), Oi = e.object({
|
|
2783
2788
|
createdAt: e.iso.datetime(),
|
|
2784
2789
|
sentAt: e.iso.datetime().nullable(),
|
|
2785
2790
|
level: e.number(),
|
|
2786
|
-
issuer:
|
|
2787
|
-
customer:
|
|
2788
|
-
recipient:
|
|
2789
|
-
invoices: e.array(
|
|
2790
|
-
outstandingInvoices: e.array(
|
|
2791
|
+
issuer: Ci,
|
|
2792
|
+
customer: wi,
|
|
2793
|
+
recipient: Ti,
|
|
2794
|
+
invoices: e.array(Ei),
|
|
2795
|
+
outstandingInvoices: e.array(Di),
|
|
2791
2796
|
totalFee: y
|
|
2792
2797
|
});
|
|
2793
2798
|
e.object({
|
|
@@ -2811,7 +2816,7 @@ e.object({
|
|
|
2811
2816
|
status: e.enum(["409"]),
|
|
2812
2817
|
code: e.enum(["approval_already_sent_error"])
|
|
2813
2818
|
});
|
|
2814
|
-
var
|
|
2819
|
+
var ki = e.object({
|
|
2815
2820
|
statuses: e.array(_).optional(),
|
|
2816
2821
|
lifecycleStatuses: e.array(P).optional(),
|
|
2817
2822
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -2839,10 +2844,10 @@ var Oi = e.object({
|
|
|
2839
2844
|
isApprovalCancelled: e.boolean().optional(),
|
|
2840
2845
|
isExternallyCreated: e.boolean().optional(),
|
|
2841
2846
|
poNumber: e.string().optional()
|
|
2842
|
-
}),
|
|
2847
|
+
}), Ai = e.object({
|
|
2843
2848
|
meta: Z,
|
|
2844
2849
|
skipped: e.array(Q)
|
|
2845
|
-
}),
|
|
2850
|
+
}), ji = e.object({
|
|
2846
2851
|
statuses: e.array(_).optional(),
|
|
2847
2852
|
lifecycleStatuses: e.array(P).optional(),
|
|
2848
2853
|
customerUuids: e.array(e.uuid()).optional(),
|
|
@@ -2870,7 +2875,7 @@ var Oi = e.object({
|
|
|
2870
2875
|
isApprovalCancelled: e.boolean().optional(),
|
|
2871
2876
|
isExternallyCreated: e.boolean().optional(),
|
|
2872
2877
|
poNumber: e.string().optional()
|
|
2873
|
-
}),
|
|
2878
|
+
}), Mi = e.object({
|
|
2874
2879
|
meta: Z,
|
|
2875
2880
|
skipped: e.array(Q)
|
|
2876
2881
|
});
|
|
@@ -2887,17 +2892,17 @@ e.object({
|
|
|
2887
2892
|
status: e.enum(["400"]),
|
|
2888
2893
|
code: e.enum(["missing_invoice_approval_file"])
|
|
2889
2894
|
});
|
|
2890
|
-
var
|
|
2895
|
+
var Ni = e.object({
|
|
2891
2896
|
fileUuids: e.array(e.uuid()).optional(),
|
|
2892
|
-
|
|
2897
|
+
internalNote: e.string().max(500).nullish()
|
|
2893
2898
|
});
|
|
2894
2899
|
e.object({
|
|
2895
2900
|
detail: e.string().optional(),
|
|
2896
2901
|
status: e.enum(["400"]),
|
|
2897
2902
|
code: e.enum(["missing_rejection_remarks"])
|
|
2898
2903
|
});
|
|
2899
|
-
var
|
|
2900
|
-
|
|
2904
|
+
var Pi = e.object({
|
|
2905
|
+
internalNote: e.string().max(500).nullish(),
|
|
2901
2906
|
reason: zn,
|
|
2902
2907
|
fileUuids: e.array(e.uuid()).optional()
|
|
2903
2908
|
});
|
|
@@ -2905,6 +2910,10 @@ e.object({
|
|
|
2905
2910
|
detail: e.string().optional(),
|
|
2906
2911
|
status: e.enum(["409"]),
|
|
2907
2912
|
code: e.enum(["invoice_approval_already_cancelled"])
|
|
2913
|
+
}), e.object({
|
|
2914
|
+
detail: e.string().optional(),
|
|
2915
|
+
status: e.enum(["409"]),
|
|
2916
|
+
code: e.enum(["invoice_approval_not_active"])
|
|
2908
2917
|
}), e.object({
|
|
2909
2918
|
detail: e.string().optional(),
|
|
2910
2919
|
status: e.enum(["409"]),
|
|
@@ -2918,7 +2927,10 @@ e.object({
|
|
|
2918
2927
|
status: e.enum(["409"]),
|
|
2919
2928
|
code: e.enum(["approval_restart_requires_active_approval"])
|
|
2920
2929
|
});
|
|
2921
|
-
var
|
|
2930
|
+
var Fi = e.object({
|
|
2931
|
+
internalNote: e.string().max(500).nullable(),
|
|
2932
|
+
fileUuids: e.array(e.uuid())
|
|
2933
|
+
}), Ii = e.object({
|
|
2922
2934
|
status: Rn.optional(),
|
|
2923
2935
|
mode: x.optional(),
|
|
2924
2936
|
invoiceUuid: e.uuid().optional(),
|
|
@@ -2926,11 +2938,11 @@ var Pi = e.object({
|
|
|
2926
2938
|
level: Bn.optional(),
|
|
2927
2939
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2928
2940
|
isCancelled: e.boolean().optional()
|
|
2929
|
-
}),
|
|
2941
|
+
}), Li = e.object({
|
|
2930
2942
|
uuid: e.uuid(),
|
|
2931
2943
|
subject: e.string().nullable(),
|
|
2932
2944
|
hasChangesSinceApprovalSent: e.boolean()
|
|
2933
|
-
}),
|
|
2945
|
+
}), Ri = e.object({
|
|
2934
2946
|
uuid: e.uuid(),
|
|
2935
2947
|
issuedOn: e.union([
|
|
2936
2948
|
e.iso.date(),
|
|
@@ -2940,13 +2952,13 @@ var Pi = e.object({
|
|
|
2940
2952
|
netAmount: y,
|
|
2941
2953
|
grossAmount: y,
|
|
2942
2954
|
balanceDueAmount: y.nullable()
|
|
2943
|
-
}),
|
|
2955
|
+
}), zi = e.object({
|
|
2944
2956
|
uuid: e.uuid(),
|
|
2945
2957
|
name: e.string().nullable()
|
|
2946
|
-
}),
|
|
2958
|
+
}), Bi = e.object({
|
|
2947
2959
|
name: e.string().nullable(),
|
|
2948
2960
|
email: e.email().nullable()
|
|
2949
|
-
}),
|
|
2961
|
+
}), Vi = e.object({
|
|
2950
2962
|
uuid: e.uuid(),
|
|
2951
2963
|
createdAt: e.iso.datetime(),
|
|
2952
2964
|
mode: x,
|
|
@@ -2971,7 +2983,8 @@ var Pi = e.object({
|
|
|
2971
2983
|
e.enum(["infinity"]),
|
|
2972
2984
|
e.enum(["-infinity"])
|
|
2973
2985
|
]).nullable(),
|
|
2974
|
-
|
|
2986
|
+
internalNote: e.string().nullable(),
|
|
2987
|
+
externalNote: e.string().nullable(),
|
|
2975
2988
|
rejectionReason: zn.nullable(),
|
|
2976
2989
|
level: Bn.nullable(),
|
|
2977
2990
|
lastReminderSentAt: e.union([
|
|
@@ -2981,14 +2994,14 @@ var Pi = e.object({
|
|
|
2981
2994
|
]).nullable(),
|
|
2982
2995
|
netAmount: y,
|
|
2983
2996
|
grossAmount: y,
|
|
2984
|
-
invoice:
|
|
2985
|
-
proForma:
|
|
2986
|
-
customer:
|
|
2987
|
-
recipient:
|
|
2988
|
-
}),
|
|
2989
|
-
items: e.array(
|
|
2997
|
+
invoice: Li,
|
|
2998
|
+
proForma: Ri.nullable(),
|
|
2999
|
+
customer: zi,
|
|
3000
|
+
recipient: Bi
|
|
3001
|
+
}), Hi = e.object({
|
|
3002
|
+
items: e.array(Vi),
|
|
2990
3003
|
meta: h
|
|
2991
|
-
}),
|
|
3004
|
+
}), Ui = e.object({
|
|
2992
3005
|
uuid: e.uuid(),
|
|
2993
3006
|
name: e.string().nullable(),
|
|
2994
3007
|
email: e.email().nullable(),
|
|
@@ -2998,7 +3011,7 @@ var Pi = e.object({
|
|
|
2998
3011
|
vatNumber: e.string().nullable(),
|
|
2999
3012
|
bankAccountNumber: e.string().nullable(),
|
|
3000
3013
|
alternativeBankAccountNumber: e.string().nullable()
|
|
3001
|
-
}),
|
|
3014
|
+
}), Wi = e.object({
|
|
3002
3015
|
uuid: e.uuid(),
|
|
3003
3016
|
name: e.string().nullable(),
|
|
3004
3017
|
email: e.email().nullable(),
|
|
@@ -3006,7 +3019,7 @@ var Pi = e.object({
|
|
|
3006
3019
|
address: S.nullable(),
|
|
3007
3020
|
vatNumber: e.string().nullable(),
|
|
3008
3021
|
type: g
|
|
3009
|
-
}),
|
|
3022
|
+
}), Gi = e.object({
|
|
3010
3023
|
uuid: e.uuid(),
|
|
3011
3024
|
groupUuid: e.uuid().nullable(),
|
|
3012
3025
|
position: e.number(),
|
|
@@ -3033,7 +3046,7 @@ var Pi = e.object({
|
|
|
3033
3046
|
discount: L.nullable(),
|
|
3034
3047
|
unit: ln,
|
|
3035
3048
|
isDiscount: e.boolean()
|
|
3036
|
-
}),
|
|
3049
|
+
}), Ki = e.object({
|
|
3037
3050
|
uuid: e.uuid(),
|
|
3038
3051
|
position: e.number(),
|
|
3039
3052
|
name: e.string(),
|
|
@@ -3050,19 +3063,19 @@ var Pi = e.object({
|
|
|
3050
3063
|
M,
|
|
3051
3064
|
N
|
|
3052
3065
|
])),
|
|
3053
|
-
lines: e.array(
|
|
3054
|
-
groups: e.array(e.lazy(() =>
|
|
3055
|
-
}),
|
|
3066
|
+
lines: e.array(Gi),
|
|
3067
|
+
groups: e.array(e.lazy(() => Ki))
|
|
3068
|
+
}), qi = e.object({
|
|
3056
3069
|
vatRate: I,
|
|
3057
3070
|
netAmount: y,
|
|
3058
3071
|
vatAmount: y
|
|
3059
|
-
}),
|
|
3072
|
+
}), Ji = e.object({
|
|
3060
3073
|
uuid: e.uuid(),
|
|
3061
3074
|
createdAt: e.iso.datetime(),
|
|
3062
3075
|
updatedAt: e.iso.datetime(),
|
|
3063
3076
|
issueOn: e.iso.date().nullable(),
|
|
3064
|
-
issuer:
|
|
3065
|
-
customer:
|
|
3077
|
+
issuer: Ui,
|
|
3078
|
+
customer: Wi,
|
|
3066
3079
|
paymentReference: e.string().nullable(),
|
|
3067
3080
|
subject: e.string().nullable(),
|
|
3068
3081
|
poNumber: e.string().nullable(),
|
|
@@ -3078,9 +3091,9 @@ var Pi = e.object({
|
|
|
3078
3091
|
M,
|
|
3079
3092
|
N
|
|
3080
3093
|
])),
|
|
3081
|
-
ungroupedLines: e.array(
|
|
3082
|
-
groups: e.array(
|
|
3083
|
-
vatSummaries: e.array(
|
|
3094
|
+
ungroupedLines: e.array(Gi),
|
|
3095
|
+
groups: e.array(Ki),
|
|
3096
|
+
vatSummaries: e.array(qi),
|
|
3084
3097
|
grossAmount: y,
|
|
3085
3098
|
netAmount: y,
|
|
3086
3099
|
effectiveNet: y,
|
|
@@ -3090,14 +3103,17 @@ var Pi = e.object({
|
|
|
3090
3103
|
advancePaymentAmount: y.nullable(),
|
|
3091
3104
|
amountDue: y,
|
|
3092
3105
|
externalRemarks: e.string().nullable()
|
|
3093
|
-
}),
|
|
3106
|
+
}), Yi = e.enum(["after_approval_request", "after_last_reminder"]), Xi = e.object({
|
|
3094
3107
|
uuid: e.uuid(),
|
|
3095
3108
|
issuerUuid: e.uuid(),
|
|
3096
3109
|
sequence: Bn,
|
|
3097
|
-
schedule:
|
|
3110
|
+
schedule: Yi,
|
|
3098
3111
|
offsetDays: e.number(),
|
|
3099
|
-
template:
|
|
3100
|
-
}),
|
|
3112
|
+
template: Zr
|
|
3113
|
+
}), Zi = e.object({
|
|
3114
|
+
items: e.array(Xi),
|
|
3115
|
+
approvalMailTemplate: Zr
|
|
3116
|
+
});
|
|
3101
3117
|
e.object({
|
|
3102
3118
|
detail: e.string().optional(),
|
|
3103
3119
|
status: e.enum(["400"]),
|
|
@@ -3111,19 +3127,67 @@ e.object({
|
|
|
3111
3127
|
status: e.enum(["400"]),
|
|
3112
3128
|
code: e.enum(["additional_approval_reminder_config"])
|
|
3113
3129
|
});
|
|
3114
|
-
var
|
|
3130
|
+
var Qi = e.object({
|
|
3115
3131
|
sequence: Bn,
|
|
3116
3132
|
offsetDays: e.int().gte(1),
|
|
3117
|
-
schedule:
|
|
3118
|
-
template:
|
|
3119
|
-
}),
|
|
3133
|
+
schedule: Yi,
|
|
3134
|
+
template: ni
|
|
3135
|
+
}), $i = e.object({ reminders: e.array(Qi).max(2) }), ea = e.object({
|
|
3136
|
+
subject: F,
|
|
3137
|
+
body: F
|
|
3138
|
+
}), ta = e.object({ isPast: e.boolean().optional() }), na = e.object({
|
|
3139
|
+
startDate: e.union([
|
|
3140
|
+
e.iso.date(),
|
|
3141
|
+
e.enum(["infinity"]),
|
|
3142
|
+
e.enum(["-infinity"])
|
|
3143
|
+
]),
|
|
3144
|
+
endDate: e.union([
|
|
3145
|
+
e.iso.date(),
|
|
3146
|
+
e.enum(["infinity"]),
|
|
3147
|
+
e.enum(["-infinity"])
|
|
3148
|
+
])
|
|
3149
|
+
}), ra = e.object({
|
|
3150
|
+
uuid: e.uuid(),
|
|
3151
|
+
name: e.string(),
|
|
3152
|
+
period: na
|
|
3153
|
+
}), ia = e.object({ items: e.array(ra) });
|
|
3154
|
+
e.object({
|
|
3155
|
+
detail: e.string().optional(),
|
|
3156
|
+
status: e.enum(["409"]),
|
|
3157
|
+
code: e.enum(["approval_follow_up_pause_overlap"])
|
|
3158
|
+
}), e.object({
|
|
3159
|
+
detail: e.string().optional(),
|
|
3160
|
+
status: e.enum(["400"]),
|
|
3161
|
+
code: e.enum(["approval_follow_up_pause_period_in_past"])
|
|
3162
|
+
});
|
|
3163
|
+
var aa = e.object({
|
|
3164
|
+
name: e.string().max(100),
|
|
3165
|
+
period: J
|
|
3166
|
+
}), oa = e.object({ uuid: e.uuid() });
|
|
3167
|
+
e.object({
|
|
3168
|
+
detail: e.string().optional(),
|
|
3169
|
+
status: e.enum(["404"]),
|
|
3170
|
+
code: e.enum(["approval_follow_up_pause_not_found"])
|
|
3171
|
+
}), e.object({
|
|
3172
|
+
detail: e.string().optional(),
|
|
3173
|
+
status: e.enum(["409"]),
|
|
3174
|
+
code: e.enum(["approval_follow_up_pause_past"])
|
|
3175
|
+
}), e.object({
|
|
3176
|
+
detail: e.string().optional(),
|
|
3177
|
+
status: e.enum(["409"]),
|
|
3178
|
+
code: e.enum(["approval_follow_up_pause_started"])
|
|
3179
|
+
});
|
|
3180
|
+
var sa = e.object({
|
|
3181
|
+
name: e.string().max(100),
|
|
3182
|
+
period: J
|
|
3183
|
+
}), $ = e.enum(["soluz"]), ca = e.object({
|
|
3120
3184
|
provider: $,
|
|
3121
3185
|
partyId: e.string(),
|
|
3122
3186
|
enabled: e.boolean(),
|
|
3123
3187
|
hasApiKey: e.boolean(),
|
|
3124
3188
|
validatedAt: e.iso.datetime()
|
|
3125
|
-
}),
|
|
3126
|
-
connection:
|
|
3189
|
+
}), la = e.object({
|
|
3190
|
+
connection: ca.nullable(),
|
|
3127
3191
|
providers: e.array($)
|
|
3128
3192
|
});
|
|
3129
3193
|
e.object({
|
|
@@ -3132,11 +3196,11 @@ e.object({
|
|
|
3132
3196
|
code: e.enum(["peppol_error"]),
|
|
3133
3197
|
meta: e.record(e.string(), e.unknown())
|
|
3134
3198
|
}), e.object({ provider: $ });
|
|
3135
|
-
var
|
|
3199
|
+
var ua = e.object({
|
|
3136
3200
|
id: e.string(),
|
|
3137
3201
|
name: e.string(),
|
|
3138
3202
|
vatNumber: e.string()
|
|
3139
|
-
}),
|
|
3203
|
+
}), da = e.object({ companies: e.array(ua) });
|
|
3140
3204
|
e.object({
|
|
3141
3205
|
provider: $,
|
|
3142
3206
|
partyId: e.string(),
|
|
@@ -3155,53 +3219,53 @@ e.object({
|
|
|
3155
3219
|
code: e.enum(["invoice_delivery_rejected"]),
|
|
3156
3220
|
meta: e.record(e.string(), e.unknown())
|
|
3157
3221
|
});
|
|
3158
|
-
var
|
|
3159
|
-
channel:
|
|
3222
|
+
var fa = e.enum(["email", "peppol"]), pa = e.object({ channels: e.array(fa) }), ma = e.object({
|
|
3223
|
+
channel: fa,
|
|
3160
3224
|
ready: e.number(),
|
|
3161
3225
|
queued: e.number(),
|
|
3162
3226
|
existing: e.number(),
|
|
3163
3227
|
skipped: e.number()
|
|
3164
|
-
}),
|
|
3228
|
+
}), ha = e.enum([
|
|
3165
3229
|
"queued",
|
|
3166
3230
|
"submitting",
|
|
3167
3231
|
"submitted",
|
|
3168
3232
|
"sent",
|
|
3169
3233
|
"failed",
|
|
3170
3234
|
"uncertain"
|
|
3171
|
-
]),
|
|
3235
|
+
]), ga = e.object({
|
|
3172
3236
|
uuid: e.uuid(),
|
|
3173
3237
|
invoiceUuid: e.uuid(),
|
|
3174
|
-
channel:
|
|
3175
|
-
state:
|
|
3238
|
+
channel: fa,
|
|
3239
|
+
state: ha,
|
|
3176
3240
|
provider: $.nullable(),
|
|
3177
3241
|
providerReference: e.string().nullable(),
|
|
3178
3242
|
errorCode: e.string().nullable(),
|
|
3179
3243
|
revision: e.number()
|
|
3180
|
-
}),
|
|
3244
|
+
}), _a = e.object({
|
|
3181
3245
|
label: e.string().nullable(),
|
|
3182
3246
|
queued: e.boolean(),
|
|
3183
3247
|
invoiceUuid: e.uuid(),
|
|
3184
|
-
channel:
|
|
3248
|
+
channel: fa,
|
|
3185
3249
|
eligible: e.boolean(),
|
|
3186
3250
|
reason: e.string().nullable(),
|
|
3187
|
-
delivery:
|
|
3188
|
-
}),
|
|
3251
|
+
delivery: ga.nullable()
|
|
3252
|
+
}), va = e.object({
|
|
3189
3253
|
totalDocuments: e.number(),
|
|
3190
|
-
channels: e.array(
|
|
3191
|
-
items: e.array(
|
|
3192
|
-
}),
|
|
3193
|
-
channels: e.array(
|
|
3254
|
+
channels: e.array(ma),
|
|
3255
|
+
items: e.array(_a)
|
|
3256
|
+
}), ya = e.object({
|
|
3257
|
+
channels: e.array(fa),
|
|
3194
3258
|
invoiceUuids: e.array(e.uuid()).optional()
|
|
3195
|
-
}),
|
|
3259
|
+
}), ba = e.object({
|
|
3196
3260
|
uuid: e.uuid(),
|
|
3197
3261
|
invoiceUuid: e.uuid(),
|
|
3198
|
-
channel:
|
|
3199
|
-
state:
|
|
3262
|
+
channel: fa,
|
|
3263
|
+
state: ha,
|
|
3200
3264
|
provider: $.nullable(),
|
|
3201
3265
|
providerReference: e.string().nullable(),
|
|
3202
3266
|
errorCode: e.string().nullable(),
|
|
3203
3267
|
revision: e.number()
|
|
3204
|
-
}),
|
|
3268
|
+
}), xa = e.object({ deliveries: e.array(ba) });
|
|
3205
3269
|
e.object({
|
|
3206
3270
|
detail: e.string().optional(),
|
|
3207
3271
|
status: e.enum(["409"]),
|
|
@@ -3215,16 +3279,16 @@ e.object({
|
|
|
3215
3279
|
status: e.enum(["503"]),
|
|
3216
3280
|
code: e.enum(["mail_unavailable"])
|
|
3217
3281
|
});
|
|
3218
|
-
var
|
|
3282
|
+
var Sa = e.object({ uuid: e.uuid() });
|
|
3219
3283
|
e.object({
|
|
3220
3284
|
detail: e.string().optional(),
|
|
3221
3285
|
status: e.enum(["500"]),
|
|
3222
3286
|
code: e.enum(["internal_server_error"])
|
|
3223
3287
|
});
|
|
3224
|
-
var
|
|
3288
|
+
var Ca = e.object({
|
|
3225
3289
|
provider: $,
|
|
3226
3290
|
apiKey: e.string().optional()
|
|
3227
|
-
}),
|
|
3291
|
+
}), wa = e.object({
|
|
3228
3292
|
provider: $,
|
|
3229
3293
|
apiKey: e.string().optional(),
|
|
3230
3294
|
partyId: e.string(),
|
|
@@ -3237,14 +3301,14 @@ e.object({
|
|
|
3237
3301
|
fresh: e.boolean(),
|
|
3238
3302
|
collections: e.array(Ce).optional()
|
|
3239
3303
|
}), e.object({ collections: e.array(Ce).optional() }), e.object({ user: e.uuid() }), e.object({ uuid: e.uuid() });
|
|
3240
|
-
var
|
|
3304
|
+
var Ta = e.object({
|
|
3241
3305
|
pagination: Te.optional(),
|
|
3242
3306
|
search: e.string().optional()
|
|
3243
|
-
}),
|
|
3307
|
+
}), Ea = Oe;
|
|
3244
3308
|
e.void(), e.void(), e.object({ role: e.uuid() }), e.void(), e.object({ role: e.uuid() }), e.object({ role: e.uuid() }), e.void();
|
|
3245
|
-
var
|
|
3309
|
+
var Da = Me, Oa = Ne;
|
|
3246
3310
|
e.object({ file: e.uuid() }), e.void();
|
|
3247
|
-
var
|
|
3311
|
+
var ka = Pe, Aa = e.object({ file: e.uuid() }), ja = e.void(), Ma = e.object({ file: e.uuid() });
|
|
3248
3312
|
e.object({ file: e.uuid() }), e.object({ token: e.string() }), e.object({
|
|
3249
3313
|
filter: Be.optional(),
|
|
3250
3314
|
pagination: He.optional()
|
|
@@ -3263,258 +3327,258 @@ e.object({ file: e.uuid() }), e.object({ token: e.string() }), e.object({
|
|
|
3263
3327
|
pagination: Te.optional(),
|
|
3264
3328
|
search: e.string().optional()
|
|
3265
3329
|
}), 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();
|
|
3266
|
-
var
|
|
3330
|
+
var Na = e.object({
|
|
3267
3331
|
pagination: Te.optional(),
|
|
3268
3332
|
filter: Rt.optional(),
|
|
3269
3333
|
search: e.string().optional()
|
|
3270
|
-
}),
|
|
3334
|
+
}), Pa = Bt, Fa = e.object({ uuid: e.uuid() }), Ia = Lt;
|
|
3271
3335
|
e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.object({ uuid: e.uuid() }), e.void();
|
|
3272
|
-
var
|
|
3336
|
+
var La = e.object({ uuid: e.uuid() }), Ra = e.object({ pagination: Te.optional() }), za = Wt, Ba = Xt, Va = Zt, Ha = e.void(), Ua = e.object({ token: e.string() }), Wa = hn, Ga = e.object({
|
|
3273
3337
|
pagination: Te.optional(),
|
|
3274
3338
|
sort: e.array(Wn).optional(),
|
|
3275
3339
|
filter: Kn.optional(),
|
|
3276
3340
|
search: e.string().optional()
|
|
3277
|
-
}),
|
|
3341
|
+
}), Ka = Xn, qa = bn, Ja = xn, Ya = e.object({ uuid: e.uuid() }), Xa = e.void(), Za = e.object({ uuid: e.uuid() }), Qa = Hn, $a = Zn, eo = e.object({ uuid: e.uuid() }), to = e.void(), no = yn, ro = e.object({ uuid: e.uuid() }), io = e.void();
|
|
3278
3342
|
e.object({ uuid: e.uuid() }), e.void();
|
|
3279
|
-
var
|
|
3280
|
-
filter:
|
|
3343
|
+
var ao = Qn, oo = e.object({ uuid: e.uuid() }), so = e.void(), co = $n, lo = e.object({ uuid: e.uuid() }), uo = e.void(), fo = ar, po = e.object({ uuid: e.uuid() }), mo = e.object({ uuid: e.uuid() }), ho = or, go = lr, _o = e.object({ uuid: e.uuid() }), vo = e.void(), yo = dr, bo = e.object({ uuid: e.uuid() }), xo = e.void(), So = e.object({ uuid: e.uuid() }), Co = e.object({ uuid: e.uuid() }), wo = e.void(), To = e.object({ uuid: e.uuid() }), Eo = fr, Do = e.object({ uuid: e.uuid() }), Oo = pr, ko = e.object({ uuid: e.uuid() }), Ao = e.void(), jo = mr, Mo = e.object({ uuid: e.uuid() }), No = e.void(), Po = e.object({ uuid: e.uuid() }), Fo = e.void(), Io = e.object({ uuid: e.uuid() }), Lo = e.void(), Ro = e.object({
|
|
3344
|
+
filter: hr.optional(),
|
|
3281
3345
|
search: e.string().optional()
|
|
3282
|
-
}),
|
|
3283
|
-
filter:
|
|
3346
|
+
}), zo = yr, Bo = e.object({
|
|
3347
|
+
filter: br.optional(),
|
|
3284
3348
|
search: e.string().optional()
|
|
3285
|
-
}),
|
|
3286
|
-
filter:
|
|
3349
|
+
}), Vo = xr, Ho = e.object({ uuid: e.uuid() }), Uo = e.void(), Wo = e.object({
|
|
3350
|
+
filter: Sr.optional(),
|
|
3287
3351
|
search: e.string().optional()
|
|
3288
|
-
}),
|
|
3289
|
-
filter:
|
|
3352
|
+
}), Go = Cr, Ko = wr, qo = e.object({
|
|
3353
|
+
filter: Tr.optional(),
|
|
3290
3354
|
search: e.string().optional()
|
|
3291
|
-
}),
|
|
3292
|
-
filter:
|
|
3355
|
+
}), Jo = Er, Yo = e.object({
|
|
3356
|
+
filter: Dr.optional(),
|
|
3293
3357
|
search: e.string().optional()
|
|
3294
|
-
}),
|
|
3295
|
-
filter:
|
|
3358
|
+
}), Xo = Or, Zo = e.object({
|
|
3359
|
+
filter: kr.optional(),
|
|
3296
3360
|
search: e.string().optional()
|
|
3297
|
-
}),
|
|
3298
|
-
filter:
|
|
3299
|
-
pagination:
|
|
3300
|
-
}),
|
|
3361
|
+
}), Qo = Ar, $o = e.object({ uuid: e.uuid() }), es = e.void(), ts = e.object({
|
|
3362
|
+
filter: jr.optional(),
|
|
3363
|
+
pagination: Nr.optional()
|
|
3364
|
+
}), ns = Ur, rs = e.object({ uuid: e.uuid() }), is = Yr, as = Gr, os = e.object({ uuid: e.uuid() }), ss = Kr, cs = e.object({
|
|
3301
3365
|
uuid: e.uuid(),
|
|
3302
3366
|
paymentUuid: e.uuid()
|
|
3303
|
-
}),
|
|
3367
|
+
}), ls = e.void(), us = ti, ds = ii, fs = e.void(), ps = e.object({ filter: oi.optional() }), ms = e.array(sn), hs = e.object({ uuid: e.uuid() }), gs = pi, _s = e.object({
|
|
3304
3368
|
pagination: Te.optional(),
|
|
3305
|
-
filter:
|
|
3306
|
-
}),
|
|
3307
|
-
filter:
|
|
3369
|
+
filter: mi.optional()
|
|
3370
|
+
}), vs = vi, ys = e.object({ uuid: e.uuid() }), bs = e.object({ uuid: e.uuid() }), xs = e.object({ filter: yi.optional() }), Ss = bi, Cs = e.object({ filter: xi.optional() }), ws = Si, Ts = e.object({ token: e.string() }), Es = Oi, Ds = e.object({ uuid: e.uuid() }), Os = e.object({
|
|
3371
|
+
filter: ki.optional(),
|
|
3308
3372
|
search: e.string().optional()
|
|
3309
|
-
}),
|
|
3310
|
-
filter:
|
|
3373
|
+
}), ks = Ai, As = e.object({
|
|
3374
|
+
filter: ji.optional(),
|
|
3311
3375
|
search: e.string().optional()
|
|
3312
|
-
}),
|
|
3376
|
+
}), js = Mi, Ms = Ni, Ns = e.object({ uuid: e.uuid() }), Ps = e.void(), Fs = Pi, Is = e.object({ uuid: e.uuid() }), Ls = e.void(), Rs = e.object({ uuid: e.uuid() }), zs = e.void(), Bs = e.object({ uuid: e.uuid() }), Vs = Fi, Hs = e.object({ uuid: e.uuid() }), Us = e.void(), Ws = e.object({
|
|
3313
3377
|
pagination: Te.optional(),
|
|
3314
|
-
filter:
|
|
3315
|
-
}),
|
|
3378
|
+
filter: Ii.optional()
|
|
3379
|
+
}), Gs = Hi, Ks = e.object({ token: e.string() }), qs = Ji, Js = Zi, Ys = $i, Xs = e.void(), Zs = ea, Qs = e.void(), $s = e.object({ filter: ta.optional() }), ec = ia, tc = aa, nc = oa, rc = e.object({ uuid: e.uuid() }), ic = e.void(), ac = sa, oc = e.object({ uuid: e.uuid() }), sc = e.void(), cc = la, lc = wa, uc = Ca, dc = da, fc = pa, pc = e.object({ uuid: e.uuid() }), mc = va, hc = ya, gc = e.object({
|
|
3316
3380
|
filter: Kn.optional(),
|
|
3317
3381
|
search: e.string().optional()
|
|
3318
|
-
}),
|
|
3382
|
+
}), _c = va, vc = ya, yc = e.object({
|
|
3319
3383
|
filter: Kn.optional(),
|
|
3320
3384
|
search: e.string().optional()
|
|
3321
|
-
}),
|
|
3385
|
+
}), bc = va, xc = e.object({ uuid: e.uuid() }), Sc = xa, Cc = e.object({ uuid: e.uuid() }), wc = Sa, Tc = (t) => (t?.client ?? p).get({
|
|
3322
3386
|
requestValidator: async (t) => await e.object({
|
|
3323
3387
|
body: e.never().optional(),
|
|
3324
3388
|
path: e.never().optional(),
|
|
3325
|
-
query:
|
|
3389
|
+
query: Ta.optional()
|
|
3326
3390
|
}).parseAsync(t),
|
|
3327
|
-
responseValidator: async (e) => await
|
|
3391
|
+
responseValidator: async (e) => await Ea.parseAsync(e),
|
|
3328
3392
|
url: "/api/v1/users",
|
|
3329
3393
|
...t
|
|
3330
|
-
}),
|
|
3394
|
+
}), Ec = (t) => (t.client ?? p).post({
|
|
3331
3395
|
requestValidator: async (t) => await e.object({
|
|
3332
|
-
body:
|
|
3396
|
+
body: Da,
|
|
3333
3397
|
path: e.never().optional(),
|
|
3334
3398
|
query: e.never().optional()
|
|
3335
3399
|
}).parseAsync(t),
|
|
3336
|
-
responseValidator: async (e) => await
|
|
3400
|
+
responseValidator: async (e) => await Oa.parseAsync(e),
|
|
3337
3401
|
url: "/api/v1/files",
|
|
3338
3402
|
...t,
|
|
3339
3403
|
headers: {
|
|
3340
3404
|
"Content-Type": "application/json",
|
|
3341
3405
|
...t.headers
|
|
3342
3406
|
}
|
|
3343
|
-
}),
|
|
3407
|
+
}), Dc = (t) => (t.client ?? p).post({
|
|
3344
3408
|
requestValidator: async (t) => await e.object({
|
|
3345
|
-
body:
|
|
3346
|
-
path:
|
|
3409
|
+
body: ka,
|
|
3410
|
+
path: Aa,
|
|
3347
3411
|
query: e.never().optional()
|
|
3348
3412
|
}).parseAsync(t),
|
|
3349
|
-
responseValidator: async (e) => await
|
|
3413
|
+
responseValidator: async (e) => await ja.parseAsync(e),
|
|
3350
3414
|
url: "/api/v2/files/{file}/confirm-upload",
|
|
3351
3415
|
...t,
|
|
3352
3416
|
headers: {
|
|
3353
3417
|
"Content-Type": "application/json",
|
|
3354
3418
|
...t.headers
|
|
3355
3419
|
}
|
|
3356
|
-
}),
|
|
3420
|
+
}), Oc = (t) => (t.client ?? p).post({
|
|
3357
3421
|
requestValidator: async (t) => await e.object({
|
|
3358
3422
|
body: e.never().optional(),
|
|
3359
|
-
path:
|
|
3423
|
+
path: Ma,
|
|
3360
3424
|
query: e.never().optional()
|
|
3361
3425
|
}).parseAsync(t),
|
|
3362
3426
|
url: "/api/v1/files/{file}/download",
|
|
3363
3427
|
...t
|
|
3364
|
-
}),
|
|
3428
|
+
}), kc = (t) => (t?.client ?? p).get({
|
|
3365
3429
|
requestValidator: async (t) => await e.object({
|
|
3366
3430
|
body: e.never().optional(),
|
|
3367
3431
|
path: e.never().optional(),
|
|
3368
|
-
query:
|
|
3432
|
+
query: Na.optional()
|
|
3369
3433
|
}).parseAsync(t),
|
|
3370
|
-
responseValidator: async (e) => await
|
|
3434
|
+
responseValidator: async (e) => await Pa.parseAsync(e),
|
|
3371
3435
|
url: "/api/v1/customers",
|
|
3372
3436
|
...t
|
|
3373
|
-
}),
|
|
3437
|
+
}), Ac = (t) => (t.client ?? p).get({
|
|
3374
3438
|
requestValidator: async (t) => await e.object({
|
|
3375
3439
|
body: e.never().optional(),
|
|
3376
|
-
path:
|
|
3440
|
+
path: Fa,
|
|
3377
3441
|
query: e.never().optional()
|
|
3378
3442
|
}).parseAsync(t),
|
|
3379
|
-
responseValidator: async (e) => await
|
|
3443
|
+
responseValidator: async (e) => await Ia.parseAsync(e),
|
|
3380
3444
|
url: "/api/v1/customers/{uuid}",
|
|
3381
3445
|
...t
|
|
3382
|
-
}),
|
|
3446
|
+
}), jc = (t) => (t.client ?? p).get({
|
|
3383
3447
|
requestValidator: async (t) => await e.object({
|
|
3384
3448
|
body: e.never().optional(),
|
|
3385
|
-
path:
|
|
3386
|
-
query:
|
|
3449
|
+
path: La,
|
|
3450
|
+
query: Ra.optional()
|
|
3387
3451
|
}).parseAsync(t),
|
|
3388
|
-
responseValidator: async (e) => await
|
|
3452
|
+
responseValidator: async (e) => await za.parseAsync(e),
|
|
3389
3453
|
url: "/api/v1/customers/{uuid}/recipients",
|
|
3390
3454
|
...t
|
|
3391
|
-
}),
|
|
3455
|
+
}), Mc = (t) => (t?.client ?? p).get({
|
|
3392
3456
|
requestValidator: async (t) => await e.object({
|
|
3393
3457
|
body: e.never().optional(),
|
|
3394
3458
|
path: e.never().optional(),
|
|
3395
3459
|
query: e.never().optional()
|
|
3396
3460
|
}).parseAsync(t),
|
|
3397
|
-
responseValidator: async (e) => await
|
|
3461
|
+
responseValidator: async (e) => await Ba.parseAsync(e),
|
|
3398
3462
|
url: "/api/v1/issuers",
|
|
3399
3463
|
...t
|
|
3400
|
-
}),
|
|
3464
|
+
}), Nc = (t) => (t.client ?? p).put({
|
|
3401
3465
|
requestValidator: async (t) => await e.object({
|
|
3402
|
-
body:
|
|
3466
|
+
body: Va,
|
|
3403
3467
|
path: e.never().optional(),
|
|
3404
3468
|
query: e.never().optional()
|
|
3405
3469
|
}).parseAsync(t),
|
|
3406
|
-
responseValidator: async (e) => await
|
|
3470
|
+
responseValidator: async (e) => await Ha.parseAsync(e),
|
|
3407
3471
|
url: "/api/v1/issuers",
|
|
3408
3472
|
...t,
|
|
3409
3473
|
headers: {
|
|
3410
3474
|
"Content-Type": "application/json",
|
|
3411
3475
|
...t.headers
|
|
3412
3476
|
}
|
|
3413
|
-
}),
|
|
3477
|
+
}), Pc = (t) => (t.client ?? p).get({
|
|
3414
3478
|
requestValidator: async (t) => await e.object({
|
|
3415
3479
|
body: e.never().optional(),
|
|
3416
3480
|
path: e.never().optional(),
|
|
3417
|
-
query:
|
|
3481
|
+
query: Ua
|
|
3418
3482
|
}).parseAsync(t),
|
|
3419
|
-
responseValidator: async (e) => await
|
|
3483
|
+
responseValidator: async (e) => await Wa.parseAsync(e),
|
|
3420
3484
|
url: "/api/v1/public/invoices",
|
|
3421
3485
|
...t
|
|
3422
|
-
}),
|
|
3486
|
+
}), Fc = (t) => (t?.client ?? p).get({
|
|
3423
3487
|
requestValidator: async (t) => await e.object({
|
|
3424
3488
|
body: e.never().optional(),
|
|
3425
3489
|
path: e.never().optional(),
|
|
3426
|
-
query:
|
|
3490
|
+
query: Ga.optional()
|
|
3427
3491
|
}).parseAsync(t),
|
|
3428
|
-
responseValidator: async (e) => await
|
|
3492
|
+
responseValidator: async (e) => await Ka.parseAsync(e),
|
|
3429
3493
|
url: "/api/v1/invoices",
|
|
3430
3494
|
...t
|
|
3431
|
-
}),
|
|
3495
|
+
}), Ic = (t) => (t.client ?? p).post({
|
|
3432
3496
|
requestValidator: async (t) => await e.object({
|
|
3433
|
-
body:
|
|
3497
|
+
body: qa,
|
|
3434
3498
|
path: e.never().optional(),
|
|
3435
3499
|
query: e.never().optional()
|
|
3436
3500
|
}).parseAsync(t),
|
|
3437
|
-
responseValidator: async (e) => await
|
|
3501
|
+
responseValidator: async (e) => await Ja.parseAsync(e),
|
|
3438
3502
|
url: "/api/v1/invoices",
|
|
3439
3503
|
...t,
|
|
3440
3504
|
headers: {
|
|
3441
3505
|
"Content-Type": "application/json",
|
|
3442
3506
|
...t.headers
|
|
3443
3507
|
}
|
|
3444
|
-
}),
|
|
3508
|
+
}), Lc = (t) => (t.client ?? p).delete({
|
|
3445
3509
|
requestValidator: async (t) => await e.object({
|
|
3446
3510
|
body: e.never().optional(),
|
|
3447
|
-
path:
|
|
3511
|
+
path: Ya,
|
|
3448
3512
|
query: e.never().optional()
|
|
3449
3513
|
}).parseAsync(t),
|
|
3450
|
-
responseValidator: async (e) => await
|
|
3514
|
+
responseValidator: async (e) => await Xa.parseAsync(e),
|
|
3451
3515
|
url: "/api/v1/invoices/{uuid}",
|
|
3452
3516
|
...t
|
|
3453
|
-
}),
|
|
3517
|
+
}), Rc = (t) => (t.client ?? p).get({
|
|
3454
3518
|
requestValidator: async (t) => await e.object({
|
|
3455
3519
|
body: e.never().optional(),
|
|
3456
|
-
path:
|
|
3520
|
+
path: Za,
|
|
3457
3521
|
query: e.never().optional()
|
|
3458
3522
|
}).parseAsync(t),
|
|
3459
|
-
responseValidator: async (e) => await
|
|
3523
|
+
responseValidator: async (e) => await Qa.parseAsync(e),
|
|
3460
3524
|
url: "/api/v1/invoices/{uuid}",
|
|
3461
3525
|
...t
|
|
3462
|
-
}),
|
|
3526
|
+
}), zc = (t) => (t.client ?? p).patch({
|
|
3463
3527
|
requestValidator: async (t) => await e.object({
|
|
3464
|
-
body:
|
|
3465
|
-
path:
|
|
3528
|
+
body: $a,
|
|
3529
|
+
path: eo,
|
|
3466
3530
|
query: e.never().optional()
|
|
3467
3531
|
}).parseAsync(t),
|
|
3468
|
-
responseValidator: async (e) => await
|
|
3532
|
+
responseValidator: async (e) => await to.parseAsync(e),
|
|
3469
3533
|
url: "/api/v1/invoices/{uuid}",
|
|
3470
3534
|
...t,
|
|
3471
3535
|
headers: {
|
|
3472
3536
|
"Content-Type": "application/json",
|
|
3473
3537
|
...t.headers
|
|
3474
3538
|
}
|
|
3475
|
-
}),
|
|
3539
|
+
}), Bc = (t) => (t.client ?? p).patch({
|
|
3476
3540
|
requestValidator: async (t) => await e.object({
|
|
3477
|
-
body:
|
|
3478
|
-
path:
|
|
3541
|
+
body: no,
|
|
3542
|
+
path: ro,
|
|
3479
3543
|
query: e.never().optional()
|
|
3480
3544
|
}).parseAsync(t),
|
|
3481
|
-
responseValidator: async (e) => await
|
|
3545
|
+
responseValidator: async (e) => await io.parseAsync(e),
|
|
3482
3546
|
url: "/api/v1/invoices/{uuid}/lines",
|
|
3483
3547
|
...t,
|
|
3484
3548
|
headers: {
|
|
3485
3549
|
"Content-Type": "application/json",
|
|
3486
3550
|
...t.headers
|
|
3487
3551
|
}
|
|
3488
|
-
}),
|
|
3552
|
+
}), Vc = (t) => (t.client ?? p).patch({
|
|
3489
3553
|
requestValidator: async (t) => await e.object({
|
|
3490
|
-
body:
|
|
3491
|
-
path:
|
|
3554
|
+
body: ao,
|
|
3555
|
+
path: oo,
|
|
3492
3556
|
query: e.never().optional()
|
|
3493
3557
|
}).parseAsync(t),
|
|
3494
|
-
responseValidator: async (e) => await
|
|
3558
|
+
responseValidator: async (e) => await so.parseAsync(e),
|
|
3495
3559
|
url: "/api/v2/invoices/{uuid}/discount",
|
|
3496
3560
|
...t,
|
|
3497
3561
|
headers: {
|
|
3498
3562
|
"Content-Type": "application/json",
|
|
3499
3563
|
...t.headers
|
|
3500
3564
|
}
|
|
3501
|
-
}),
|
|
3565
|
+
}), Hc = (t) => (t.client ?? p).patch({
|
|
3502
3566
|
requestValidator: async (t) => await e.object({
|
|
3503
|
-
body:
|
|
3504
|
-
path:
|
|
3567
|
+
body: co,
|
|
3568
|
+
path: lo,
|
|
3505
3569
|
query: e.never().optional()
|
|
3506
3570
|
}).parseAsync(t),
|
|
3507
|
-
responseValidator: async (e) => await
|
|
3571
|
+
responseValidator: async (e) => await uo.parseAsync(e),
|
|
3508
3572
|
url: "/api/v1/invoices/{uuid}/attachments",
|
|
3509
3573
|
...t,
|
|
3510
3574
|
headers: {
|
|
3511
3575
|
"Content-Type": "application/json",
|
|
3512
3576
|
...t.headers
|
|
3513
3577
|
}
|
|
3514
|
-
}),
|
|
3578
|
+
}), Uc = (t) => (t.client ?? p).post({
|
|
3515
3579
|
requestValidator: async (t) => await e.object({
|
|
3516
|
-
body:
|
|
3517
|
-
path:
|
|
3580
|
+
body: fo,
|
|
3581
|
+
path: po,
|
|
3518
3582
|
query: e.never().optional()
|
|
3519
3583
|
}).parseAsync(t),
|
|
3520
3584
|
url: "/api/v1/invoices/{uuid}/finalize",
|
|
@@ -3523,450 +3587,515 @@ var Ya = Qn, Xa = e.object({ uuid: e.uuid() }), Za = e.void(), Qa = $n, $a = e.o
|
|
|
3523
3587
|
"Content-Type": "application/json",
|
|
3524
3588
|
...t.headers
|
|
3525
3589
|
}
|
|
3526
|
-
}),
|
|
3590
|
+
}), Wc = (t) => (t.client ?? p).post({
|
|
3527
3591
|
requestValidator: async (t) => await e.object({
|
|
3528
3592
|
body: e.never().optional(),
|
|
3529
|
-
path:
|
|
3593
|
+
path: mo,
|
|
3530
3594
|
query: e.never().optional()
|
|
3531
3595
|
}).parseAsync(t),
|
|
3532
|
-
responseValidator: async (e) => await
|
|
3596
|
+
responseValidator: async (e) => await ho.parseAsync(e),
|
|
3533
3597
|
url: "/api/v1/invoices/{uuid}/credit-note",
|
|
3534
3598
|
...t
|
|
3535
|
-
}),
|
|
3599
|
+
}), Gc = (t) => (t.client ?? p).patch({
|
|
3536
3600
|
requestValidator: async (t) => await e.object({
|
|
3537
|
-
body:
|
|
3538
|
-
path:
|
|
3601
|
+
body: go,
|
|
3602
|
+
path: _o,
|
|
3539
3603
|
query: e.never().optional()
|
|
3540
3604
|
}).parseAsync(t),
|
|
3541
|
-
responseValidator: async (e) => await
|
|
3605
|
+
responseValidator: async (e) => await vo.parseAsync(e),
|
|
3542
3606
|
url: "/api/v1/credit-notes/{uuid}/lines",
|
|
3543
3607
|
...t,
|
|
3544
3608
|
headers: {
|
|
3545
3609
|
"Content-Type": "application/json",
|
|
3546
3610
|
...t.headers
|
|
3547
3611
|
}
|
|
3548
|
-
}),
|
|
3612
|
+
}), Kc = (t) => (t.client ?? p).patch({
|
|
3549
3613
|
requestValidator: async (t) => await e.object({
|
|
3550
|
-
body:
|
|
3551
|
-
path:
|
|
3614
|
+
body: yo,
|
|
3615
|
+
path: bo,
|
|
3552
3616
|
query: e.never().optional()
|
|
3553
3617
|
}).parseAsync(t),
|
|
3554
|
-
responseValidator: async (e) => await
|
|
3618
|
+
responseValidator: async (e) => await xo.parseAsync(e),
|
|
3555
3619
|
url: "/api/v1/credit-notes/{uuid}",
|
|
3556
3620
|
...t,
|
|
3557
3621
|
headers: {
|
|
3558
3622
|
"Content-Type": "application/json",
|
|
3559
3623
|
...t.headers
|
|
3560
3624
|
}
|
|
3561
|
-
}),
|
|
3625
|
+
}), qc = (t) => (t.client ?? p).post({
|
|
3562
3626
|
requestValidator: async (t) => await e.object({
|
|
3563
3627
|
body: e.never().optional(),
|
|
3564
|
-
path:
|
|
3628
|
+
path: So,
|
|
3565
3629
|
query: e.never().optional()
|
|
3566
3630
|
}).parseAsync(t),
|
|
3567
3631
|
url: "/api/v1/credit-notes/{uuid}/finalize",
|
|
3568
3632
|
...t
|
|
3569
|
-
}),
|
|
3633
|
+
}), Jc = (t) => (t.client ?? p).post({
|
|
3570
3634
|
requestValidator: async (t) => await e.object({
|
|
3571
3635
|
body: e.never().optional(),
|
|
3572
|
-
path:
|
|
3636
|
+
path: Co,
|
|
3573
3637
|
query: e.never().optional()
|
|
3574
3638
|
}).parseAsync(t),
|
|
3575
|
-
responseValidator: async (e) => await
|
|
3639
|
+
responseValidator: async (e) => await wo.parseAsync(e),
|
|
3576
3640
|
url: "/api/v1/invoices/{uuid}/mark-as-ready",
|
|
3577
3641
|
...t
|
|
3578
|
-
}),
|
|
3642
|
+
}), Yc = (t) => (t.client ?? p).post({
|
|
3579
3643
|
requestValidator: async (t) => await e.object({
|
|
3580
3644
|
body: e.never().optional(),
|
|
3581
|
-
path:
|
|
3645
|
+
path: To,
|
|
3582
3646
|
query: e.never().optional()
|
|
3583
3647
|
}).parseAsync(t),
|
|
3584
|
-
responseValidator: async (e) => await
|
|
3648
|
+
responseValidator: async (e) => await Eo.parseAsync(e),
|
|
3585
3649
|
url: "/api/v1/invoices/{uuid}/duplicate",
|
|
3586
3650
|
...t
|
|
3587
|
-
}),
|
|
3651
|
+
}), Xc = (t) => (t.client ?? p).post({
|
|
3588
3652
|
requestValidator: async (t) => await e.object({
|
|
3589
3653
|
body: e.never().optional(),
|
|
3590
|
-
path:
|
|
3654
|
+
path: Do,
|
|
3591
3655
|
query: e.never().optional()
|
|
3592
3656
|
}).parseAsync(t),
|
|
3593
|
-
responseValidator: async (e) => await
|
|
3657
|
+
responseValidator: async (e) => await Oo.parseAsync(e),
|
|
3594
3658
|
url: "/api/v1/invoices/{uuid}/copy-to-invoice",
|
|
3595
3659
|
...t
|
|
3596
|
-
}),
|
|
3660
|
+
}), Zc = (t) => (t.client ?? p).post({
|
|
3597
3661
|
requestValidator: async (t) => await e.object({
|
|
3598
3662
|
body: e.never().optional(),
|
|
3599
|
-
path:
|
|
3663
|
+
path: ko,
|
|
3600
3664
|
query: e.never().optional()
|
|
3601
3665
|
}).parseAsync(t),
|
|
3602
|
-
responseValidator: async (e) => await
|
|
3666
|
+
responseValidator: async (e) => await Ao.parseAsync(e),
|
|
3603
3667
|
url: "/api/v1/invoices/{uuid}/mark-as-draft",
|
|
3604
3668
|
...t
|
|
3605
|
-
}),
|
|
3606
|
-
requestValidator: async (t) => await e.object({
|
|
3607
|
-
body: e.never().optional(),
|
|
3608
|
-
path: xo,
|
|
3609
|
-
query: e.never().optional()
|
|
3610
|
-
}).parseAsync(t),
|
|
3611
|
-
responseValidator: async (e) => await So.parseAsync(e),
|
|
3612
|
-
url: "/api/v1/invoices/{uuid}/mark-as-prior-approval-required",
|
|
3613
|
-
...t
|
|
3614
|
-
}), Ac = (t) => (t.client ?? p).post({
|
|
3669
|
+
}), Qc = (t) => (t.client ?? p).patch({
|
|
3615
3670
|
requestValidator: async (t) => await e.object({
|
|
3616
|
-
body:
|
|
3617
|
-
path:
|
|
3671
|
+
body: jo,
|
|
3672
|
+
path: Mo,
|
|
3618
3673
|
query: e.never().optional()
|
|
3619
3674
|
}).parseAsync(t),
|
|
3620
|
-
responseValidator: async (e) => await
|
|
3621
|
-
url: "/api/v1/invoices/{uuid}/
|
|
3622
|
-
...t
|
|
3623
|
-
|
|
3675
|
+
responseValidator: async (e) => await No.parseAsync(e),
|
|
3676
|
+
url: "/api/v1/invoices/{uuid}/approval-mode",
|
|
3677
|
+
...t,
|
|
3678
|
+
headers: {
|
|
3679
|
+
"Content-Type": "application/json",
|
|
3680
|
+
...t.headers
|
|
3681
|
+
}
|
|
3682
|
+
}), $c = (t) => (t.client ?? p).post({
|
|
3624
3683
|
requestValidator: async (t) => await e.object({
|
|
3625
3684
|
body: e.never().optional(),
|
|
3626
|
-
path:
|
|
3685
|
+
path: Po,
|
|
3627
3686
|
query: e.never().optional()
|
|
3628
3687
|
}).parseAsync(t),
|
|
3629
|
-
responseValidator: async (e) => await
|
|
3688
|
+
responseValidator: async (e) => await Fo.parseAsync(e),
|
|
3630
3689
|
url: "/api/v1/invoices/{uuid}/mark-as-disputed",
|
|
3631
3690
|
...t
|
|
3632
|
-
}),
|
|
3691
|
+
}), el = (t) => (t.client ?? p).post({
|
|
3633
3692
|
requestValidator: async (t) => await e.object({
|
|
3634
3693
|
body: e.never().optional(),
|
|
3635
|
-
path:
|
|
3694
|
+
path: Io,
|
|
3636
3695
|
query: e.never().optional()
|
|
3637
3696
|
}).parseAsync(t),
|
|
3638
|
-
responseValidator: async (e) => await
|
|
3697
|
+
responseValidator: async (e) => await Lo.parseAsync(e),
|
|
3639
3698
|
url: "/api/v1/invoices/{uuid}/mark-as-paid",
|
|
3640
3699
|
...t
|
|
3641
|
-
}),
|
|
3700
|
+
}), tl = (t) => (t?.client ?? p).get({
|
|
3642
3701
|
requestValidator: async (t) => await e.object({
|
|
3643
3702
|
body: e.never().optional(),
|
|
3644
3703
|
path: e.never().optional(),
|
|
3645
|
-
query:
|
|
3704
|
+
query: Ro.optional()
|
|
3646
3705
|
}).parseAsync(t),
|
|
3647
|
-
responseValidator: async (e) => await
|
|
3706
|
+
responseValidator: async (e) => await zo.parseAsync(e),
|
|
3648
3707
|
url: "/api/v1/invoices/mark-as-ready/preview",
|
|
3649
3708
|
...t
|
|
3650
|
-
}),
|
|
3709
|
+
}), nl = (t) => (t?.client ?? p).post({
|
|
3651
3710
|
requestValidator: async (t) => await e.object({
|
|
3652
3711
|
body: e.never().optional(),
|
|
3653
3712
|
path: e.never().optional(),
|
|
3654
|
-
query:
|
|
3713
|
+
query: Bo.optional()
|
|
3655
3714
|
}).parseAsync(t),
|
|
3656
|
-
responseValidator: async (e) => await
|
|
3715
|
+
responseValidator: async (e) => await Vo.parseAsync(e),
|
|
3657
3716
|
url: "/api/v1/invoices/mark-as-ready",
|
|
3658
3717
|
...t
|
|
3659
|
-
}),
|
|
3718
|
+
}), rl = (t) => (t.client ?? p).post({
|
|
3660
3719
|
requestValidator: async (t) => await e.object({
|
|
3661
3720
|
body: e.never().optional(),
|
|
3662
|
-
path:
|
|
3721
|
+
path: Ho,
|
|
3663
3722
|
query: e.never().optional()
|
|
3664
3723
|
}).parseAsync(t),
|
|
3665
|
-
responseValidator: async (e) => await
|
|
3724
|
+
responseValidator: async (e) => await Uo.parseAsync(e),
|
|
3666
3725
|
url: "/api/v1/invoices/{uuid}/withdraw-disputed",
|
|
3667
3726
|
...t
|
|
3668
|
-
}),
|
|
3727
|
+
}), il = (t) => (t?.client ?? p).get({
|
|
3669
3728
|
requestValidator: async (t) => await e.object({
|
|
3670
3729
|
body: e.never().optional(),
|
|
3671
3730
|
path: e.never().optional(),
|
|
3672
|
-
query:
|
|
3731
|
+
query: Wo.optional()
|
|
3673
3732
|
}).parseAsync(t),
|
|
3674
|
-
responseValidator: async (e) => await
|
|
3733
|
+
responseValidator: async (e) => await Go.parseAsync(e),
|
|
3675
3734
|
url: "/api/v1/invoices/finalize/preview",
|
|
3676
3735
|
...t
|
|
3677
|
-
}),
|
|
3736
|
+
}), al = (t) => (t.client ?? p).post({
|
|
3678
3737
|
requestValidator: async (t) => await e.object({
|
|
3679
|
-
body:
|
|
3738
|
+
body: Ko,
|
|
3680
3739
|
path: e.never().optional(),
|
|
3681
|
-
query:
|
|
3740
|
+
query: qo.optional()
|
|
3682
3741
|
}).parseAsync(t),
|
|
3683
|
-
responseValidator: async (e) => await
|
|
3742
|
+
responseValidator: async (e) => await Jo.parseAsync(e),
|
|
3684
3743
|
url: "/api/v1/invoices/finalize",
|
|
3685
3744
|
...t,
|
|
3686
3745
|
headers: {
|
|
3687
3746
|
"Content-Type": "application/json",
|
|
3688
3747
|
...t.headers
|
|
3689
3748
|
}
|
|
3690
|
-
}),
|
|
3749
|
+
}), ol = (t) => (t?.client ?? p).get({
|
|
3691
3750
|
requestValidator: async (t) => await e.object({
|
|
3692
3751
|
body: e.never().optional(),
|
|
3693
3752
|
path: e.never().optional(),
|
|
3694
|
-
query:
|
|
3753
|
+
query: Yo.optional()
|
|
3695
3754
|
}).parseAsync(t),
|
|
3696
|
-
responseValidator: async (e) => await
|
|
3755
|
+
responseValidator: async (e) => await Xo.parseAsync(e),
|
|
3697
3756
|
url: "/api/v1/invoices/delete/preview",
|
|
3698
3757
|
...t
|
|
3699
|
-
}),
|
|
3758
|
+
}), sl = (t) => (t?.client ?? p).post({
|
|
3700
3759
|
requestValidator: async (t) => await e.object({
|
|
3701
3760
|
body: e.never().optional(),
|
|
3702
3761
|
path: e.never().optional(),
|
|
3703
|
-
query:
|
|
3762
|
+
query: Zo.optional()
|
|
3704
3763
|
}).parseAsync(t),
|
|
3705
|
-
responseValidator: async (e) => await
|
|
3764
|
+
responseValidator: async (e) => await Qo.parseAsync(e),
|
|
3706
3765
|
url: "/api/v1/invoices/delete",
|
|
3707
3766
|
...t
|
|
3708
|
-
}),
|
|
3767
|
+
}), cl = (t) => (t.client ?? p).post({
|
|
3709
3768
|
requestValidator: async (t) => await e.object({
|
|
3710
3769
|
body: e.never().optional(),
|
|
3711
|
-
path:
|
|
3770
|
+
path: $o,
|
|
3712
3771
|
query: e.never().optional()
|
|
3713
3772
|
}).parseAsync(t),
|
|
3714
|
-
responseValidator: async (e) => await
|
|
3773
|
+
responseValidator: async (e) => await es.parseAsync(e),
|
|
3715
3774
|
url: "/api/v1/invoices/{uuid}/restore-from-pro-forma",
|
|
3716
3775
|
...t
|
|
3717
|
-
}),
|
|
3776
|
+
}), ll = (t) => (t?.client ?? p).get({
|
|
3718
3777
|
requestValidator: async (t) => await e.object({
|
|
3719
3778
|
body: e.never().optional(),
|
|
3720
3779
|
path: e.never().optional(),
|
|
3721
|
-
query:
|
|
3780
|
+
query: ts.optional()
|
|
3722
3781
|
}).parseAsync(t),
|
|
3723
|
-
responseValidator: async (e) => await
|
|
3782
|
+
responseValidator: async (e) => await ns.parseAsync(e),
|
|
3724
3783
|
url: "/api/v1/activity-logs",
|
|
3725
3784
|
...t
|
|
3726
|
-
}),
|
|
3785
|
+
}), ul = (t) => (t.client ?? p).get({
|
|
3727
3786
|
requestValidator: async (t) => await e.object({
|
|
3728
3787
|
body: e.never().optional(),
|
|
3729
|
-
path:
|
|
3788
|
+
path: rs,
|
|
3730
3789
|
query: e.never().optional()
|
|
3731
3790
|
}).parseAsync(t),
|
|
3732
|
-
responseValidator: async (e) => await
|
|
3791
|
+
responseValidator: async (e) => await is.parseAsync(e),
|
|
3733
3792
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
3734
3793
|
...t
|
|
3735
|
-
}),
|
|
3794
|
+
}), dl = (t) => (t.client ?? p).post({
|
|
3736
3795
|
requestValidator: async (t) => await e.object({
|
|
3737
|
-
body:
|
|
3738
|
-
path:
|
|
3796
|
+
body: as,
|
|
3797
|
+
path: os,
|
|
3739
3798
|
query: e.never().optional()
|
|
3740
3799
|
}).parseAsync(t),
|
|
3741
|
-
responseValidator: async (e) => await
|
|
3800
|
+
responseValidator: async (e) => await ss.parseAsync(e),
|
|
3742
3801
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
3743
3802
|
...t,
|
|
3744
3803
|
headers: {
|
|
3745
3804
|
"Content-Type": "application/json",
|
|
3746
3805
|
...t.headers
|
|
3747
3806
|
}
|
|
3748
|
-
}),
|
|
3807
|
+
}), fl = (t) => (t.client ?? p).delete({
|
|
3749
3808
|
requestValidator: async (t) => await e.object({
|
|
3750
3809
|
body: e.never().optional(),
|
|
3751
|
-
path:
|
|
3810
|
+
path: cs,
|
|
3752
3811
|
query: e.never().optional()
|
|
3753
3812
|
}).parseAsync(t),
|
|
3754
|
-
responseValidator: async (e) => await
|
|
3813
|
+
responseValidator: async (e) => await ls.parseAsync(e),
|
|
3755
3814
|
url: "/api/v1/invoices/{uuid}/payments/{paymentUuid}",
|
|
3756
3815
|
...t
|
|
3757
|
-
}),
|
|
3816
|
+
}), pl = (t) => (t?.client ?? p).get({
|
|
3758
3817
|
requestValidator: async (t) => await e.object({
|
|
3759
3818
|
body: e.never().optional(),
|
|
3760
3819
|
path: e.never().optional(),
|
|
3761
3820
|
query: e.never().optional()
|
|
3762
3821
|
}).parseAsync(t),
|
|
3763
|
-
responseValidator: async (e) => await
|
|
3822
|
+
responseValidator: async (e) => await us.parseAsync(e),
|
|
3764
3823
|
url: "/api/v1/issuers/reminder-configs",
|
|
3765
3824
|
...t
|
|
3766
|
-
}),
|
|
3825
|
+
}), ml = (t) => (t.client ?? p).patch({
|
|
3767
3826
|
requestValidator: async (t) => await e.object({
|
|
3768
|
-
body:
|
|
3827
|
+
body: ds,
|
|
3769
3828
|
path: e.never().optional(),
|
|
3770
3829
|
query: e.never().optional()
|
|
3771
3830
|
}).parseAsync(t),
|
|
3772
|
-
responseValidator: async (e) => await
|
|
3831
|
+
responseValidator: async (e) => await fs.parseAsync(e),
|
|
3773
3832
|
url: "/api/v1/issuers/reminder-configs",
|
|
3774
3833
|
...t,
|
|
3775
3834
|
headers: {
|
|
3776
3835
|
"Content-Type": "application/json",
|
|
3777
3836
|
...t.headers
|
|
3778
3837
|
}
|
|
3779
|
-
}),
|
|
3838
|
+
}), hl = (t) => (t?.client ?? p).get({
|
|
3780
3839
|
requestValidator: async (t) => await e.object({
|
|
3781
3840
|
body: e.never().optional(),
|
|
3782
3841
|
path: e.never().optional(),
|
|
3783
|
-
query:
|
|
3842
|
+
query: ps.optional()
|
|
3784
3843
|
}).parseAsync(t),
|
|
3785
|
-
responseValidator: async (e) => await
|
|
3844
|
+
responseValidator: async (e) => await ms.parseAsync(e),
|
|
3786
3845
|
url: "/api/v1/custom-field-definitions",
|
|
3787
3846
|
...t
|
|
3788
|
-
}),
|
|
3847
|
+
}), gl = (t) => (t.client ?? p).get({
|
|
3789
3848
|
requestValidator: async (t) => await e.object({
|
|
3790
3849
|
body: e.never().optional(),
|
|
3791
|
-
path:
|
|
3850
|
+
path: hs,
|
|
3792
3851
|
query: e.never().optional()
|
|
3793
3852
|
}).parseAsync(t),
|
|
3794
|
-
responseValidator: async (e) => await
|
|
3853
|
+
responseValidator: async (e) => await gs.parseAsync(e),
|
|
3795
3854
|
url: "/api/v1/dunning-cases/{uuid}",
|
|
3796
3855
|
...t
|
|
3797
|
-
}),
|
|
3856
|
+
}), _l = (t) => (t?.client ?? p).get({
|
|
3798
3857
|
requestValidator: async (t) => await e.object({
|
|
3799
3858
|
body: e.never().optional(),
|
|
3800
3859
|
path: e.never().optional(),
|
|
3801
|
-
query:
|
|
3860
|
+
query: _s.optional()
|
|
3802
3861
|
}).parseAsync(t),
|
|
3803
|
-
responseValidator: async (e) => await
|
|
3862
|
+
responseValidator: async (e) => await vs.parseAsync(e),
|
|
3804
3863
|
url: "/api/v1/dunning-cases",
|
|
3805
3864
|
...t
|
|
3806
|
-
}),
|
|
3865
|
+
}), vl = (t) => (t.client ?? p).post({
|
|
3807
3866
|
requestValidator: async (t) => await e.object({
|
|
3808
3867
|
body: e.never().optional(),
|
|
3809
|
-
path:
|
|
3868
|
+
path: ys,
|
|
3810
3869
|
query: e.never().optional()
|
|
3811
3870
|
}).parseAsync(t),
|
|
3812
3871
|
url: "/api/v1/dunning-cases/{uuid}/send",
|
|
3813
3872
|
...t
|
|
3814
|
-
}),
|
|
3873
|
+
}), yl = (t) => (t.client ?? p).post({
|
|
3815
3874
|
requestValidator: async (t) => await e.object({
|
|
3816
3875
|
body: e.never().optional(),
|
|
3817
|
-
path:
|
|
3876
|
+
path: bs,
|
|
3818
3877
|
query: e.never().optional()
|
|
3819
3878
|
}).parseAsync(t),
|
|
3820
3879
|
url: "/api/v1/dunning-case-reminders/{uuid}/retry",
|
|
3821
3880
|
...t
|
|
3822
|
-
}),
|
|
3881
|
+
}), bl = (t) => (t?.client ?? p).post({
|
|
3823
3882
|
requestValidator: async (t) => await e.object({
|
|
3824
3883
|
body: e.never().optional(),
|
|
3825
3884
|
path: e.never().optional(),
|
|
3826
|
-
query:
|
|
3885
|
+
query: xs.optional()
|
|
3827
3886
|
}).parseAsync(t),
|
|
3828
|
-
responseValidator: async (e) => await
|
|
3887
|
+
responseValidator: async (e) => await Ss.parseAsync(e),
|
|
3829
3888
|
url: "/api/v1/dunning-cases/send",
|
|
3830
3889
|
...t
|
|
3831
|
-
}),
|
|
3890
|
+
}), xl = (t) => (t?.client ?? p).get({
|
|
3832
3891
|
requestValidator: async (t) => await e.object({
|
|
3833
3892
|
body: e.never().optional(),
|
|
3834
3893
|
path: e.never().optional(),
|
|
3835
|
-
query:
|
|
3894
|
+
query: Cs.optional()
|
|
3836
3895
|
}).parseAsync(t),
|
|
3837
|
-
responseValidator: async (e) => await
|
|
3896
|
+
responseValidator: async (e) => await ws.parseAsync(e),
|
|
3838
3897
|
url: "/api/v1/dunning-cases/send/preview",
|
|
3839
3898
|
...t
|
|
3840
|
-
}),
|
|
3899
|
+
}), Sl = (t) => (t.client ?? p).get({
|
|
3841
3900
|
requestValidator: async (t) => await e.object({
|
|
3842
3901
|
body: e.never().optional(),
|
|
3843
3902
|
path: e.never().optional(),
|
|
3844
|
-
query:
|
|
3903
|
+
query: Ts
|
|
3845
3904
|
}).parseAsync(t),
|
|
3846
|
-
responseValidator: async (e) => await
|
|
3905
|
+
responseValidator: async (e) => await Es.parseAsync(e),
|
|
3847
3906
|
url: "/api/v1/public/dunning-case-reminder-invoices",
|
|
3848
3907
|
...t
|
|
3849
|
-
}),
|
|
3908
|
+
}), Cl = (t) => (t.client ?? p).post({
|
|
3850
3909
|
requestValidator: async (t) => await e.object({
|
|
3851
3910
|
body: e.never().optional(),
|
|
3852
|
-
path:
|
|
3911
|
+
path: Ds,
|
|
3853
3912
|
query: e.never().optional()
|
|
3854
3913
|
}).parseAsync(t),
|
|
3855
3914
|
url: "/api/v1/invoices/{uuid}/send-pro-forma-approval",
|
|
3856
3915
|
...t
|
|
3857
|
-
}),
|
|
3916
|
+
}), wl = (t) => (t?.client ?? p).get({
|
|
3858
3917
|
requestValidator: async (t) => await e.object({
|
|
3859
3918
|
body: e.never().optional(),
|
|
3860
3919
|
path: e.never().optional(),
|
|
3861
|
-
query:
|
|
3920
|
+
query: Os.optional()
|
|
3862
3921
|
}).parseAsync(t),
|
|
3863
|
-
responseValidator: async (e) => await
|
|
3922
|
+
responseValidator: async (e) => await ks.parseAsync(e),
|
|
3864
3923
|
url: "/api/v1/invoices/send-pro-forma-approval/preview",
|
|
3865
3924
|
...t
|
|
3866
|
-
}),
|
|
3925
|
+
}), Tl = (t) => (t?.client ?? p).post({
|
|
3867
3926
|
requestValidator: async (t) => await e.object({
|
|
3868
3927
|
body: e.never().optional(),
|
|
3869
3928
|
path: e.never().optional(),
|
|
3870
|
-
query:
|
|
3929
|
+
query: As.optional()
|
|
3871
3930
|
}).parseAsync(t),
|
|
3872
|
-
responseValidator: async (e) => await
|
|
3931
|
+
responseValidator: async (e) => await js.parseAsync(e),
|
|
3873
3932
|
url: "/api/v1/invoices/send-pro-forma-approval",
|
|
3874
3933
|
...t
|
|
3875
|
-
}),
|
|
3934
|
+
}), El = (t) => (t.client ?? p).post({
|
|
3876
3935
|
requestValidator: async (t) => await e.object({
|
|
3877
|
-
body:
|
|
3878
|
-
path:
|
|
3936
|
+
body: Ms,
|
|
3937
|
+
path: Ns,
|
|
3879
3938
|
query: e.never().optional()
|
|
3880
3939
|
}).parseAsync(t),
|
|
3881
|
-
responseValidator: async (e) => await
|
|
3940
|
+
responseValidator: async (e) => await Ps.parseAsync(e),
|
|
3882
3941
|
url: "/api/v1/invoice-approvals/{uuid}/approve",
|
|
3883
3942
|
...t,
|
|
3884
3943
|
headers: {
|
|
3885
3944
|
"Content-Type": "application/json",
|
|
3886
3945
|
...t.headers
|
|
3887
3946
|
}
|
|
3888
|
-
}),
|
|
3947
|
+
}), Dl = (t) => (t.client ?? p).post({
|
|
3889
3948
|
requestValidator: async (t) => await e.object({
|
|
3890
|
-
body:
|
|
3891
|
-
path:
|
|
3949
|
+
body: Fs,
|
|
3950
|
+
path: Is,
|
|
3892
3951
|
query: e.never().optional()
|
|
3893
3952
|
}).parseAsync(t),
|
|
3894
|
-
responseValidator: async (e) => await
|
|
3953
|
+
responseValidator: async (e) => await Ls.parseAsync(e),
|
|
3895
3954
|
url: "/api/v1/invoice-approvals/{uuid}/reject",
|
|
3896
3955
|
...t,
|
|
3897
3956
|
headers: {
|
|
3898
3957
|
"Content-Type": "application/json",
|
|
3899
3958
|
...t.headers
|
|
3900
3959
|
}
|
|
3901
|
-
}),
|
|
3960
|
+
}), Ol = (t) => (t.client ?? p).post({
|
|
3902
3961
|
requestValidator: async (t) => await e.object({
|
|
3903
3962
|
body: e.never().optional(),
|
|
3904
|
-
path:
|
|
3963
|
+
path: Rs,
|
|
3905
3964
|
query: e.never().optional()
|
|
3906
3965
|
}).parseAsync(t),
|
|
3907
|
-
responseValidator: async (e) => await
|
|
3966
|
+
responseValidator: async (e) => await zs.parseAsync(e),
|
|
3908
3967
|
url: "/api/v1/invoice-approvals/{uuid}/cancel",
|
|
3909
3968
|
...t
|
|
3910
|
-
}),
|
|
3969
|
+
}), kl = (t) => (t.client ?? p).post({
|
|
3911
3970
|
requestValidator: async (t) => await e.object({
|
|
3912
3971
|
body: e.never().optional(),
|
|
3913
|
-
path:
|
|
3972
|
+
path: Bs,
|
|
3914
3973
|
query: e.never().optional()
|
|
3915
3974
|
}).parseAsync(t),
|
|
3916
3975
|
url: "/api/v1/invoices/{uuid}/restart-pro-forma-approval",
|
|
3917
3976
|
...t
|
|
3918
|
-
}),
|
|
3977
|
+
}), Al = (t) => (t.client ?? p).patch({
|
|
3978
|
+
requestValidator: async (t) => await e.object({
|
|
3979
|
+
body: Vs,
|
|
3980
|
+
path: Hs,
|
|
3981
|
+
query: e.never().optional()
|
|
3982
|
+
}).parseAsync(t),
|
|
3983
|
+
responseValidator: async (e) => await Us.parseAsync(e),
|
|
3984
|
+
url: "/api/v1/invoice-approvals/{uuid}",
|
|
3985
|
+
...t,
|
|
3986
|
+
headers: {
|
|
3987
|
+
"Content-Type": "application/json",
|
|
3988
|
+
...t.headers
|
|
3989
|
+
}
|
|
3990
|
+
}), jl = (t) => (t?.client ?? p).get({
|
|
3919
3991
|
requestValidator: async (t) => await e.object({
|
|
3920
3992
|
body: e.never().optional(),
|
|
3921
3993
|
path: e.never().optional(),
|
|
3922
|
-
query:
|
|
3994
|
+
query: Ws.optional()
|
|
3923
3995
|
}).parseAsync(t),
|
|
3924
|
-
responseValidator: async (e) => await
|
|
3996
|
+
responseValidator: async (e) => await Gs.parseAsync(e),
|
|
3925
3997
|
url: "/api/v1/invoice-approvals",
|
|
3926
3998
|
...t
|
|
3927
|
-
}),
|
|
3999
|
+
}), Ml = (t) => (t.client ?? p).get({
|
|
3928
4000
|
requestValidator: async (t) => await e.object({
|
|
3929
4001
|
body: e.never().optional(),
|
|
3930
4002
|
path: e.never().optional(),
|
|
3931
|
-
query:
|
|
4003
|
+
query: Ks
|
|
3932
4004
|
}).parseAsync(t),
|
|
3933
|
-
responseValidator: async (e) => await
|
|
4005
|
+
responseValidator: async (e) => await qs.parseAsync(e),
|
|
3934
4006
|
url: "/api/v1/public/pro-formas",
|
|
3935
4007
|
...t
|
|
3936
|
-
}),
|
|
4008
|
+
}), Nl = (t) => (t?.client ?? p).get({
|
|
3937
4009
|
requestValidator: async (t) => await e.object({
|
|
3938
4010
|
body: e.never().optional(),
|
|
3939
4011
|
path: e.never().optional(),
|
|
3940
4012
|
query: e.never().optional()
|
|
3941
4013
|
}).parseAsync(t),
|
|
3942
|
-
responseValidator: async (e) => await
|
|
4014
|
+
responseValidator: async (e) => await Js.parseAsync(e),
|
|
3943
4015
|
url: "/api/v1/issuers/approval-reminder-configs",
|
|
3944
4016
|
...t
|
|
3945
|
-
}),
|
|
4017
|
+
}), Pl = (t) => (t.client ?? p).patch({
|
|
3946
4018
|
requestValidator: async (t) => await e.object({
|
|
3947
|
-
body:
|
|
4019
|
+
body: Ys,
|
|
3948
4020
|
path: e.never().optional(),
|
|
3949
4021
|
query: e.never().optional()
|
|
3950
4022
|
}).parseAsync(t),
|
|
3951
|
-
responseValidator: async (e) => await
|
|
4023
|
+
responseValidator: async (e) => await Xs.parseAsync(e),
|
|
3952
4024
|
url: "/api/v1/issuers/approval-reminder-configs",
|
|
3953
4025
|
...t,
|
|
3954
4026
|
headers: {
|
|
3955
4027
|
"Content-Type": "application/json",
|
|
3956
4028
|
...t.headers
|
|
3957
4029
|
}
|
|
3958
|
-
}),
|
|
4030
|
+
}), Fl = (t) => (t.client ?? p).patch({
|
|
4031
|
+
requestValidator: async (t) => await e.object({
|
|
4032
|
+
body: Zs,
|
|
4033
|
+
path: e.never().optional(),
|
|
4034
|
+
query: e.never().optional()
|
|
4035
|
+
}).parseAsync(t),
|
|
4036
|
+
responseValidator: async (e) => await Qs.parseAsync(e),
|
|
4037
|
+
url: "/api/v1/issuers/approval-mail-template",
|
|
4038
|
+
...t,
|
|
4039
|
+
headers: {
|
|
4040
|
+
"Content-Type": "application/json",
|
|
4041
|
+
...t.headers
|
|
4042
|
+
}
|
|
4043
|
+
}), Il = (t) => (t?.client ?? p).get({
|
|
3959
4044
|
requestValidator: async (t) => await e.object({
|
|
3960
4045
|
body: e.never().optional(),
|
|
3961
4046
|
path: e.never().optional(),
|
|
4047
|
+
query: $s.optional()
|
|
4048
|
+
}).parseAsync(t),
|
|
4049
|
+
responseValidator: async (e) => await ec.parseAsync(e),
|
|
4050
|
+
url: "/api/v1/issuers/approval-follow-up-pauses",
|
|
4051
|
+
...t
|
|
4052
|
+
}), Ll = (t) => (t.client ?? p).post({
|
|
4053
|
+
requestValidator: async (t) => await e.object({
|
|
4054
|
+
body: tc,
|
|
4055
|
+
path: e.never().optional(),
|
|
3962
4056
|
query: e.never().optional()
|
|
3963
4057
|
}).parseAsync(t),
|
|
3964
|
-
responseValidator: async (e) => await
|
|
4058
|
+
responseValidator: async (e) => await nc.parseAsync(e),
|
|
4059
|
+
url: "/api/v1/issuers/approval-follow-up-pauses",
|
|
4060
|
+
...t,
|
|
4061
|
+
headers: {
|
|
4062
|
+
"Content-Type": "application/json",
|
|
4063
|
+
...t.headers
|
|
4064
|
+
}
|
|
4065
|
+
}), Rl = (t) => (t.client ?? p).delete({
|
|
4066
|
+
requestValidator: async (t) => await e.object({
|
|
4067
|
+
body: e.never().optional(),
|
|
4068
|
+
path: rc,
|
|
4069
|
+
query: e.never().optional()
|
|
4070
|
+
}).parseAsync(t),
|
|
4071
|
+
responseValidator: async (e) => await ic.parseAsync(e),
|
|
4072
|
+
url: "/api/v1/issuers/approval-follow-up-pauses/{uuid}",
|
|
4073
|
+
...t
|
|
4074
|
+
}), zl = (t) => (t.client ?? p).patch({
|
|
4075
|
+
requestValidator: async (t) => await e.object({
|
|
4076
|
+
body: ac,
|
|
4077
|
+
path: oc,
|
|
4078
|
+
query: e.never().optional()
|
|
4079
|
+
}).parseAsync(t),
|
|
4080
|
+
responseValidator: async (e) => await sc.parseAsync(e),
|
|
4081
|
+
url: "/api/v1/issuers/approval-follow-up-pauses/{uuid}",
|
|
4082
|
+
...t,
|
|
4083
|
+
headers: {
|
|
4084
|
+
"Content-Type": "application/json",
|
|
4085
|
+
...t.headers
|
|
4086
|
+
}
|
|
4087
|
+
}), Bl = (t) => (t?.client ?? p).get({
|
|
4088
|
+
requestValidator: async (t) => await e.object({
|
|
4089
|
+
body: e.never().optional(),
|
|
4090
|
+
path: e.never().optional(),
|
|
4091
|
+
query: e.never().optional()
|
|
4092
|
+
}).parseAsync(t),
|
|
4093
|
+
responseValidator: async (e) => await cc.parseAsync(e),
|
|
3965
4094
|
url: "/api/v1/issuers/peppol-connection",
|
|
3966
4095
|
...t
|
|
3967
|
-
}),
|
|
4096
|
+
}), Vl = (t) => (t.client ?? p).put({
|
|
3968
4097
|
requestValidator: async (t) => await e.object({
|
|
3969
|
-
body:
|
|
4098
|
+
body: lc,
|
|
3970
4099
|
path: e.never().optional(),
|
|
3971
4100
|
query: e.never().optional()
|
|
3972
4101
|
}).parseAsync(t),
|
|
@@ -3976,92 +4105,92 @@ var Ya = Qn, Xa = e.object({ uuid: e.uuid() }), Za = e.void(), Qa = $n, $a = e.o
|
|
|
3976
4105
|
"Content-Type": "application/json",
|
|
3977
4106
|
...t.headers
|
|
3978
4107
|
}
|
|
3979
|
-
}),
|
|
4108
|
+
}), Hl = (t) => (t.client ?? p).post({
|
|
3980
4109
|
requestValidator: async (t) => await e.object({
|
|
3981
|
-
body:
|
|
4110
|
+
body: uc,
|
|
3982
4111
|
path: e.never().optional(),
|
|
3983
4112
|
query: e.never().optional()
|
|
3984
4113
|
}).parseAsync(t),
|
|
3985
|
-
responseValidator: async (e) => await
|
|
4114
|
+
responseValidator: async (e) => await dc.parseAsync(e),
|
|
3986
4115
|
url: "/api/v1/issuers/peppol-connection/test",
|
|
3987
4116
|
...t,
|
|
3988
4117
|
headers: {
|
|
3989
4118
|
"Content-Type": "application/json",
|
|
3990
4119
|
...t.headers
|
|
3991
4120
|
}
|
|
3992
|
-
}),
|
|
4121
|
+
}), Ul = (t) => (t.client ?? p).post({
|
|
3993
4122
|
requestValidator: async (t) => await e.object({
|
|
3994
|
-
body:
|
|
3995
|
-
path:
|
|
4123
|
+
body: fc,
|
|
4124
|
+
path: pc,
|
|
3996
4125
|
query: e.never().optional()
|
|
3997
4126
|
}).parseAsync(t),
|
|
3998
|
-
responseValidator: async (e) => await
|
|
4127
|
+
responseValidator: async (e) => await mc.parseAsync(e),
|
|
3999
4128
|
url: "/api/v1/invoices/{uuid}/send",
|
|
4000
4129
|
...t,
|
|
4001
4130
|
headers: {
|
|
4002
4131
|
"Content-Type": "application/json",
|
|
4003
4132
|
...t.headers
|
|
4004
4133
|
}
|
|
4005
|
-
}),
|
|
4134
|
+
}), Wl = (t) => (t.client ?? p).post({
|
|
4006
4135
|
requestValidator: async (t) => await e.object({
|
|
4007
|
-
body:
|
|
4136
|
+
body: hc,
|
|
4008
4137
|
path: e.never().optional(),
|
|
4009
|
-
query:
|
|
4138
|
+
query: gc.optional()
|
|
4010
4139
|
}).parseAsync(t),
|
|
4011
|
-
responseValidator: async (e) => await
|
|
4140
|
+
responseValidator: async (e) => await _c.parseAsync(e),
|
|
4012
4141
|
url: "/api/v1/invoices/send",
|
|
4013
4142
|
...t,
|
|
4014
4143
|
headers: {
|
|
4015
4144
|
"Content-Type": "application/json",
|
|
4016
4145
|
...t.headers
|
|
4017
4146
|
}
|
|
4018
|
-
}),
|
|
4147
|
+
}), Gl = (t) => (t.client ?? p).post({
|
|
4019
4148
|
requestValidator: async (t) => await e.object({
|
|
4020
|
-
body:
|
|
4149
|
+
body: vc,
|
|
4021
4150
|
path: e.never().optional(),
|
|
4022
|
-
query:
|
|
4151
|
+
query: yc.optional()
|
|
4023
4152
|
}).parseAsync(t),
|
|
4024
|
-
responseValidator: async (e) => await
|
|
4153
|
+
responseValidator: async (e) => await bc.parseAsync(e),
|
|
4025
4154
|
url: "/api/v1/invoices/send/preview",
|
|
4026
4155
|
...t,
|
|
4027
4156
|
headers: {
|
|
4028
4157
|
"Content-Type": "application/json",
|
|
4029
4158
|
...t.headers
|
|
4030
4159
|
}
|
|
4031
|
-
}),
|
|
4160
|
+
}), Kl = (t) => (t.client ?? p).get({
|
|
4032
4161
|
requestValidator: async (t) => await e.object({
|
|
4033
4162
|
body: e.never().optional(),
|
|
4034
|
-
path:
|
|
4163
|
+
path: xc,
|
|
4035
4164
|
query: e.never().optional()
|
|
4036
4165
|
}).parseAsync(t),
|
|
4037
|
-
responseValidator: async (e) => await
|
|
4166
|
+
responseValidator: async (e) => await Sc.parseAsync(e),
|
|
4038
4167
|
url: "/api/v1/invoices/{uuid}/deliveries",
|
|
4039
4168
|
...t
|
|
4040
|
-
}),
|
|
4169
|
+
}), ql = (t) => (t.client ?? p).post({
|
|
4041
4170
|
requestValidator: async (t) => await e.object({
|
|
4042
4171
|
body: e.never().optional(),
|
|
4043
|
-
path:
|
|
4172
|
+
path: Cc,
|
|
4044
4173
|
query: e.never().optional()
|
|
4045
4174
|
}).parseAsync(t),
|
|
4046
|
-
responseValidator: async (e) => await
|
|
4175
|
+
responseValidator: async (e) => await wc.parseAsync(e),
|
|
4047
4176
|
url: "/api/v1/invoices/{uuid}/reminders",
|
|
4048
4177
|
...t
|
|
4049
4178
|
});
|
|
4050
4179
|
//#endregion
|
|
4051
4180
|
//#region src/utils/api.util.ts
|
|
4052
|
-
function
|
|
4181
|
+
function Jl(e) {
|
|
4053
4182
|
return typeof e == "object" && !!e && Array.isArray(e.errors);
|
|
4054
4183
|
}
|
|
4055
|
-
function
|
|
4056
|
-
return
|
|
4184
|
+
function Yl(e) {
|
|
4185
|
+
return Jl(e) || e instanceof Error ? e : Error(String(e));
|
|
4057
4186
|
}
|
|
4058
|
-
var
|
|
4187
|
+
var Xl = class {
|
|
4059
4188
|
static async fromPromise(e) {
|
|
4060
|
-
return await t.fromPromise(e,
|
|
4189
|
+
return await t.fromPromise(e, Yl);
|
|
4061
4190
|
}
|
|
4062
4191
|
static void(e) {
|
|
4063
4192
|
return e.isErr() ? n(e.error) : r();
|
|
4064
4193
|
}
|
|
4065
4194
|
};
|
|
4066
4195
|
//#endregion
|
|
4067
|
-
export {
|
|
4196
|
+
export { zc as $, il as A, ql as B, qc as C, Tc as Ct, el as D, Zc as E, Dl as F, zl as G, Cl as H, kl as I, Gc as J, Fl as K, cl as L, xl as M, wl as N, Jc as O, Gl as P, Bc as Q, yl as R, Yc as S, pl as St, $c as T, p as Tt, Qc as U, Ul as V, Hl as W, Al as X, Kc as Y, Hc as Z, dl as _, Mc as _t, al as a, Nl as at, fl as b, Pc as bt, Wl as c, kc as ct, Dc as d, _l as dt, Nc as et, Xc as f, jl as ft, Ic as g, ul as gt, Ec as h, Fc as ht, sl as i, Il as it, tl as j, ol as k, Tl as l, jc as lt, Wc as m, Rc as mt, Vc as n, ml as nt, nl as o, hl as ot, Ll as p, Kl as pt, Pl as q, El as r, ll as rt, bl as s, Ac as st, Xl as t, Vl as tt, Ol as u, gl as ut, Rl as v, Bl as vt, Uc as w, rl as wt, Oc as x, Ml as xt, Lc as y, Sl as yt, vl as z };
|