@wisemen/wise-invoicing-web 0.5.0 → 0.7.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-CD0Seawd.js → ApprovalReminderSettingsViewDataProvider-Dsp3ee3c.js} +4 -4
- package/dist/{BillingDocumentDetailViewDataProvider-BgVYrLu8.js → BillingDocumentDetailViewDataProvider-TX-tovKU.js} +1708 -1576
- package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
- package/dist/{BillingDocumentPdf-LYvPMzYT.js → BillingDocumentPdf-c-7N80u4.js} +266 -205
- package/dist/{CreditNoteDetailViewDataProvider-CpSIbMM2.js → CreditNoteDetailViewDataProvider-BNT0h67Q.js} +196 -189
- package/dist/{CreditNotePdfViewDataProvider-Dtnu9gS3.js → CreditNotePdfViewDataProvider-qgOuhUf_.js} +2 -2
- package/dist/{CustomFieldValueText-DA0aPKwC.js → CustomFieldValueText-BP4bKQh7.js} +68 -38
- package/dist/{DunningCaseDetailViewDataProvider-DutSCkco.js → DunningCaseDetailViewDataProvider-BNByfQTc.js} +13 -13
- package/dist/{DunningCaseOverviewView-D8o4VMQD.js → DunningCaseOverviewView-Dvwaw597.js} +23 -23
- package/dist/{DunningCaseReminderPdfViewDataProvider-I_ZQiAuK.js → DunningCaseReminderPdfViewDataProvider-D1avIVyK.js} +1 -1
- package/dist/{DunningCaseSendDialog-DGg7bXeZ.js → DunningCaseSendDialog-DwB_jFum.js} +17 -17
- package/dist/{InvoiceApprovalOutOfSyncIndicator-AJOQe8j8.js → InvoiceApprovalOutOfSyncIndicator-B_9HLzpt.js} +2 -2
- package/dist/{InvoiceApprovalOverviewView-C4MI4IqD.js → InvoiceApprovalOverviewView-jawT-M1t.js} +213 -213
- package/dist/{InvoiceApprovalStatusBadge-BJ3Q18bf.js → InvoiceApprovalStatusBadge-D6Sr6JmN.js} +4 -4
- package/dist/{InvoiceApproveDialogDataProvider-CMZ0zDZo.js → InvoiceApproveDialogDataProvider-Bwb8bP1e.js} +16 -16
- package/dist/{InvoiceDetailViewDataProvider-k1yIeHYP.js → InvoiceDetailViewDataProvider-B8mMYTQf.js} +648 -642
- package/dist/{InvoiceOverviewViewDataProvider-BrgmweRE.js → InvoiceOverviewViewDataProvider-CLgV-Jcv.js} +501 -501
- package/dist/{InvoicePdfView-CB8gx8TE.js → InvoicePdfView-C518PlHp.js} +2 -2
- package/dist/{InvoicePdfViewDataProvider-Cs4Gqa0h.js → InvoicePdfViewDataProvider-ClfBkHUZ.js} +3 -3
- package/dist/{InvoicePublicPdfViewDataProvider-BaSvVJ8W.js → InvoicePublicPdfViewDataProvider-CoXBj3Je.js} +3 -3
- package/dist/{InvoicePublicProFormaPdfViewDataProvider-S3N9E91M.js → InvoicePublicProFormaPdfViewDataProvider-WlVD7sw1.js} +3 -3
- package/dist/{InvoicingFileUploadProvider-BLBjPKqx.js → InvoicingFileUploadProvider-Dl1LvCPm.js} +2 -2
- package/dist/{IssuerSettingsViewDataProvider-BStn0jFI.js → IssuerSettingsViewDataProvider-CXyyCvoZ.js} +51 -46
- package/dist/PeppolSettingsViewDataProvider-Cptga29B.js +276 -0
- package/dist/{ReminderSettingsViewDataProvider-BotrOSmS.js → ReminderSettingsViewDataProvider-BZgzQIxM.js} +63 -63
- package/dist/{api.util-D6m6OY3_.js → api.util-CR2xLnNj.js} +785 -670
- package/dist/{billingDocumentDetail.transformer-Da-Nt4bI.js → billingDocumentDetail.transformer-D1f6Nv-U.js} +9 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.d.ts +4 -1
- package/dist/client/types.gen.d.ts +240 -56
- package/dist/client/zod.gen.d.ts +4206 -1343
- package/dist/composables/invoicingConfig.composable.d.ts +12 -0
- package/dist/{creditNoteDetail.query-Yb8TdZNm.js → creditNoteDetail.query-DGeG9_sO.js} +15 -15
- package/dist/{dist-DCbLgB6Y.js → dist-BMzyJZTx.js} +258 -114
- package/dist/{dist-BpDuRYDT.js → dist-DALBiuub.js} +134 -134
- package/dist/{documentTitle.composable-CRJjS6p-.js → documentTitle.composable-RvqrZTBa.js} +28 -26
- package/dist/{download.util-B5Q7KUC9.js → download.util-LyRpGWKA.js} +9 -0
- package/dist/{i18n.lib-DBxdqkbJ.js → i18n.lib-MOiHLIGc.js} +58 -2
- package/dist/index.d.ts +59 -2
- package/dist/index.js +232 -212
- package/dist/{invoice.service-DWDl9XRh.js → invoice.service-Fv4F4aZq.js} +39 -38
- package/dist/{invoiceApproval.service-Fwlxgd9o.js → invoiceApproval.service-DJvXagC7.js} +7 -7
- package/dist/{invoiceApprovalStatus.util-q-zHLdFV.js → invoiceApprovalStatus.util-B98WeAf0.js} +2 -2
- package/dist/{invoiceCustomer.service-DOexR54S.js → invoiceCustomer.service-CDyrtcwH.js} +6 -6
- package/dist/{invoiceDetail.query-B5w0Vlsy.js → invoiceDetail.query-UHE0NCLh.js} +1 -1
- package/dist/{invoiceIndexCache.util-CUlp4R7R.js → invoiceIndexCache.util-CLM7FO6z.js} +3 -3
- package/dist/{invoicingConfig.composable-CaWQMTP1.js → invoicingConfig.composable-UC7tGtBj.js} +14 -10
- package/dist/{issuerSettings.query-BHuLjV9P.js → issuerSettings.query-CoiXblSm.js} +2 -2
- package/dist/libs/i18n.lib.d.ts +56 -0
- package/dist/locales/en-US.json.d.ts +29 -1
- package/dist/locales/nl-BE.json.d.ts +29 -1
- package/dist/models/billing-document/billingDocumentAdvancePayment.util.d.ts +9 -0
- package/dist/models/billing-document/billingDocumentAdvancePayment.util.spec.d.ts +1 -0
- package/dist/models/billing-document/billingDocumentDetail.model.d.ts +1 -0
- package/dist/modules/custom-field/components/CustomFieldList.vue.d.ts +0 -1
- package/dist/modules/custom-field/components/customFieldList.spec.d.ts +1 -0
- package/dist/modules/custom-field/components/customFieldTypeIcon.d.ts +16 -0
- package/dist/modules/custom-field/components/customFieldValueText.spec.d.ts +1 -0
- package/dist/modules/custom-field/composables/customFieldReferenceLinks.composable.d.ts +16 -0
- package/dist/modules/custom-field/composables/customFieldReferenceLinks.composable.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.model.d.ts +6 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.transformer.spec.d.ts +1 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.d.ts +6 -0
- package/dist/modules/custom-field/models/custom-field-definition/customFieldViewKey.model.d.ts +9 -0
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.model.d.ts +1 -1
- package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.d.ts +10 -0
- package/dist/modules/custom-field/test/builders/customFieldDefinition.builder.d.ts +3 -1
- package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.model.d.ts +1 -0
- package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailPaymentsTableColumns.composable.d.ts +1 -1
- package/dist/modules/invoice-delivery/api/mutations/peppolConnectionUpdate.mutation.d.ts +6 -0
- package/dist/modules/invoice-delivery/api/queries/peppolConnection.query.d.ts +1 -0
- package/dist/modules/invoice-delivery/api/query-keys/invoiceDelivery.queryKeys.d.ts +6 -0
- package/dist/modules/invoice-delivery/api/services/peppolConnection.service.d.ts +8 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormApiKeyField.vue.d.ts +8 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormCompanyField.vue.d.ts +11 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormEnabledField.vue.d.ts +7 -0
- package/dist/modules/invoice-delivery/components/form/PeppolConnectionFormProviderField.vue.d.ts +9 -0
- package/dist/modules/invoice-delivery/index.d.ts +1 -0
- package/dist/modules/invoice-delivery/models/deliveryReason.util.d.ts +6 -0
- package/dist/modules/invoice-delivery/models/peppolConnection.model.d.ts +18 -0
- package/dist/modules/invoice-delivery/models/peppolConnection.transformer.d.ts +9 -0
- package/dist/modules/invoice-delivery/models/peppolConnectionForm.model.d.ts +9 -0
- package/dist/modules/invoice-delivery/use-cases/settings/views/PeppolSettingsView.vue.d.ts +7 -0
- package/dist/modules/invoice-delivery/use-cases/settings/views/PeppolSettingsViewDataProvider.vue.d.ts +3 -0
- package/dist/modules/settings/routes/settings.routes.d.ts +7 -0
- package/dist/{reminderConfig.query-C4J6m4ER.js → reminderConfig.query-aRFzY6uZ.js} +22 -22
- package/dist/style.css +1 -1
- package/dist/types/queryKey.type.d.ts +2 -1
- package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +114 -0
- package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +57 -36
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.d.ts +6 -1
- package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.spec.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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.update,invoice.payment.create,invoice.payment.delete,invoice.payment.read,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.create,invoice.delete,invoice.read,invoice.send-email,invoice.update,invoice.payment.create,invoice.payment.delete,invoice.payment.read,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 Le = e.enum([
|
|
|
727
727
|
}), Be = e.object({
|
|
728
728
|
limit: e.number().gte(0).lte(100).optional(),
|
|
729
729
|
key: ze.nullish()
|
|
730
|
-
}), Ve = 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,invoice-approval.approved,invoice-approval.cancelled,invoice-approval.created,invoice-approval.expired,invoice-approval.rejected,invoice-approval.sent,invoice-approval.superseded,invoice.attachments.updated,invoice.created,invoice.deleted,invoice.discount.applied,invoice.disputed-withdrawn,invoice.duplicated,invoice.email-sent,invoice.finalization-blocked,invoice.finalized,invoice.marked-as-disputed,invoice.marked-as-draft,invoice.marked-as-overdue,invoice.marked-as-paid,invoice.marked-as-prior-approval-required,invoice.marked-as-ready,invoice.pdf.generated,invoice.restored-from-pro-forma,invoice.unmarked-as-prior-approval-required,invoice.updated,payment.created,payment.deleted,pro-forma.created,pro-forma.pdf.generated,notification.created,notification.read,notification.read.all,notification.unread,notification.types.migrated,notification.preference.preset.updated,role.created,role.deleted,role.renamed,role.permissions.updated,role.permissions.cache.cleared,test-notification.sent,user.created,user.updated,user.role-assigned,user.roles-set,user.notification.created,user.default-notification-preferences.assigned,user.assigned-as-admin,recipient.created,recipient.updated,recipient.default-set,recipient.deleted,approval-reminder-config.updated,reminder-config.updated,dunning-case.synced,dunning-case.closed,dunning-case.reminder.created,dunning-case.reminder.pdf.generated,dunning-case.reminder.retried,dunning-case.reminder.sent,tenant.created,tenant.updated,tenant.deactivated".split(",")), He = e.object({
|
|
730
|
+
}), Ve = e.enum(/* @__PURE__ */ "api-key.created,api-key.deleted,approval-reminder.sent,credit-note.created,credit-note.updated,credit-note.finalized,credit-note.invoice-lines.updated,credit-note.deleted,credit-note.email-sent,customer.created,customer.updated,customer.synced,customer.deactivated,customer.reactivated,file.created,file.uploaded,issuer.updated,issuer.created,peppol-connection.updated,invoice-approval.approved,invoice-approval.cancelled,invoice-approval.created,invoice-approval.expired,invoice-approval.rejected,invoice-approval.sent,invoice-approval.superseded,invoice.attachments.updated,invoice.created,invoice.deleted,invoice.discount.applied,invoice.disputed-withdrawn,invoice.duplicated,invoice.email-sent,invoice.finalization-blocked,invoice.finalized,invoice.marked-as-disputed,invoice.marked-as-draft,invoice.marked-as-overdue,invoice.marked-as-paid,invoice.marked-as-prior-approval-required,invoice.marked-as-ready,invoice.pdf.generated,invoice.restored-from-pro-forma,invoice.unmarked-as-prior-approval-required,invoice.updated,payment.created,payment.deleted,pro-forma.created,pro-forma.pdf.generated,notification.created,notification.read,notification.read.all,notification.unread,notification.types.migrated,notification.preference.preset.updated,role.created,role.deleted,role.renamed,role.permissions.updated,role.permissions.cache.cleared,test-notification.sent,user.created,user.updated,user.role-assigned,user.roles-set,user.notification.created,user.default-notification-preferences.assigned,user.assigned-as-admin,recipient.created,recipient.updated,recipient.default-set,recipient.deleted,approval-reminder-config.updated,reminder-config.updated,dunning-case.synced,dunning-case.closed,dunning-case.reminder.created,dunning-case.reminder.pdf.generated,dunning-case.reminder.retried,dunning-case.reminder.sent,tenant.created,tenant.updated,tenant.deactivated".split(",")), He = e.object({
|
|
731
731
|
uuid: e.uuid(),
|
|
732
732
|
createdAt: e.iso.datetime(),
|
|
733
733
|
version: e.int().gte(0),
|
|
@@ -1226,6 +1226,10 @@ var w = e.object({
|
|
|
1226
1226
|
definitionUuid: e.uuid(),
|
|
1227
1227
|
type: e.enum(["monetary"]),
|
|
1228
1228
|
value: x
|
|
1229
|
+
}), N = e.object({
|
|
1230
|
+
definitionUuid: e.uuid(),
|
|
1231
|
+
type: e.enum(["reference"]),
|
|
1232
|
+
value: e.string()
|
|
1229
1233
|
}), Ut = e.enum(["standard", "credit_note"]), Wt = e.object({
|
|
1230
1234
|
uuid: e.uuid(),
|
|
1231
1235
|
name: e.string().nullable(),
|
|
@@ -1248,21 +1252,54 @@ var w = e.object({
|
|
|
1248
1252
|
address: C.nullable(),
|
|
1249
1253
|
vatNumber: e.string().nullable(),
|
|
1250
1254
|
type: v
|
|
1251
|
-
}),
|
|
1255
|
+
}), P = e.enum([
|
|
1252
1256
|
"draft",
|
|
1253
1257
|
"ready",
|
|
1254
1258
|
"finalized"
|
|
1255
|
-
]),
|
|
1259
|
+
]), qt = e.object({
|
|
1260
|
+
locale: e.string(),
|
|
1261
|
+
value: e.string()
|
|
1262
|
+
}), F = e.object({ items: e.array(qt) }), Jt = e.enum([
|
|
1263
|
+
"text",
|
|
1264
|
+
"text_array",
|
|
1265
|
+
"number",
|
|
1266
|
+
"boolean",
|
|
1267
|
+
"timestamp",
|
|
1268
|
+
"date",
|
|
1269
|
+
"single_select",
|
|
1270
|
+
"multi_select",
|
|
1271
|
+
"monetary",
|
|
1272
|
+
"reference"
|
|
1273
|
+
]), Yt = e.object({
|
|
1274
|
+
value: e.string(),
|
|
1275
|
+
label: F,
|
|
1276
|
+
order: e.number()
|
|
1277
|
+
}), Xt = e.object({
|
|
1278
|
+
key: e.string(),
|
|
1279
|
+
order: e.number()
|
|
1280
|
+
}), Zt = e.object({
|
|
1281
|
+
uuid: e.uuid(),
|
|
1282
|
+
tenantUuid: e.uuid().nullable(),
|
|
1283
|
+
entityType: e.string(),
|
|
1284
|
+
key: e.string(),
|
|
1285
|
+
label: F,
|
|
1286
|
+
description: F.nullable(),
|
|
1287
|
+
type: Jt,
|
|
1288
|
+
isRequired: e.boolean(),
|
|
1289
|
+
choices: e.array(Yt).nullable(),
|
|
1290
|
+
rules: e.record(e.string(), e.unknown()).nullable(),
|
|
1291
|
+
views: e.array(Xt)
|
|
1292
|
+
}), I = e.enum([
|
|
1256
1293
|
"0",
|
|
1257
1294
|
"6",
|
|
1258
1295
|
"12",
|
|
1259
1296
|
"21"
|
|
1260
|
-
]),
|
|
1261
|
-
type:
|
|
1297
|
+
]), Qt = e.enum(["percentage", "amount"]), L = e.object({
|
|
1298
|
+
type: Qt,
|
|
1262
1299
|
amount: x.nullable(),
|
|
1263
1300
|
percentage: e.number().nullable(),
|
|
1264
1301
|
description: e.string().nullable()
|
|
1265
|
-
}),
|
|
1302
|
+
}), $t = e.enum([
|
|
1266
1303
|
"piece",
|
|
1267
1304
|
"hour",
|
|
1268
1305
|
"day",
|
|
@@ -1272,7 +1309,7 @@ var w = e.object({
|
|
|
1272
1309
|
"cubic_meter",
|
|
1273
1310
|
"square_meter",
|
|
1274
1311
|
"litre"
|
|
1275
|
-
]),
|
|
1312
|
+
]), en = e.object({
|
|
1276
1313
|
uuid: e.uuid(),
|
|
1277
1314
|
groupUuid: e.uuid().nullable(),
|
|
1278
1315
|
position: e.number(),
|
|
@@ -1287,18 +1324,19 @@ var w = e.object({
|
|
|
1287
1324
|
k,
|
|
1288
1325
|
A,
|
|
1289
1326
|
j,
|
|
1290
|
-
M
|
|
1327
|
+
M,
|
|
1328
|
+
N
|
|
1291
1329
|
])),
|
|
1292
1330
|
quantity: e.number(),
|
|
1293
1331
|
unitPrice: x,
|
|
1294
|
-
vatRate:
|
|
1332
|
+
vatRate: I,
|
|
1295
1333
|
vatRatePercentage: e.number(),
|
|
1296
1334
|
netAmount: x,
|
|
1297
1335
|
grossAmount: x,
|
|
1298
|
-
discount:
|
|
1299
|
-
unit:
|
|
1336
|
+
discount: L.nullable(),
|
|
1337
|
+
unit: $t,
|
|
1300
1338
|
isDiscount: e.boolean()
|
|
1301
|
-
}),
|
|
1339
|
+
}), tn = e.object({
|
|
1302
1340
|
uuid: e.uuid(),
|
|
1303
1341
|
position: e.number(),
|
|
1304
1342
|
name: e.string(),
|
|
@@ -1312,26 +1350,27 @@ var w = e.object({
|
|
|
1312
1350
|
k,
|
|
1313
1351
|
A,
|
|
1314
1352
|
j,
|
|
1315
|
-
M
|
|
1353
|
+
M,
|
|
1354
|
+
N
|
|
1316
1355
|
])),
|
|
1317
|
-
lines: e.array(
|
|
1318
|
-
groups: e.array(e.lazy(() =>
|
|
1319
|
-
}),
|
|
1320
|
-
vatRate:
|
|
1356
|
+
lines: e.array(en),
|
|
1357
|
+
groups: e.array(e.lazy(() => tn))
|
|
1358
|
+
}), nn = e.object({
|
|
1359
|
+
vatRate: I,
|
|
1321
1360
|
netAmount: x,
|
|
1322
1361
|
vatAmount: x
|
|
1323
|
-
}),
|
|
1362
|
+
}), rn = e.object({
|
|
1324
1363
|
uuid: e.uuid(),
|
|
1325
1364
|
createdAt: e.iso.datetime(),
|
|
1326
1365
|
status: y,
|
|
1327
1366
|
sequence: e.string().nullable()
|
|
1328
|
-
}),
|
|
1367
|
+
}), an = e.enum([
|
|
1329
1368
|
"unsent",
|
|
1330
1369
|
"processing",
|
|
1331
1370
|
"sent",
|
|
1332
1371
|
"viewed",
|
|
1333
1372
|
"failed"
|
|
1334
|
-
]),
|
|
1373
|
+
]), on = e.object({
|
|
1335
1374
|
uuid: e.uuid(),
|
|
1336
1375
|
sequence: e.string().nullable(),
|
|
1337
1376
|
type: Ut,
|
|
@@ -1344,7 +1383,7 @@ var w = e.object({
|
|
|
1344
1383
|
recipient: Gt.nullable(),
|
|
1345
1384
|
customer: Kt,
|
|
1346
1385
|
status: y,
|
|
1347
|
-
lifecycleStatus:
|
|
1386
|
+
lifecycleStatus: P,
|
|
1348
1387
|
paymentReference: e.string().nullable(),
|
|
1349
1388
|
subject: e.string().nullable(),
|
|
1350
1389
|
poNumber: e.string().nullable(),
|
|
@@ -1357,22 +1396,26 @@ var w = e.object({
|
|
|
1357
1396
|
k,
|
|
1358
1397
|
A,
|
|
1359
1398
|
j,
|
|
1360
|
-
M
|
|
1399
|
+
M,
|
|
1400
|
+
N
|
|
1361
1401
|
])),
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1402
|
+
customFieldDefinitions: e.array(Zt),
|
|
1403
|
+
ungroupedLines: e.array(en),
|
|
1404
|
+
groups: e.array(tn),
|
|
1405
|
+
vatSummaries: e.array(nn),
|
|
1365
1406
|
grossAmount: x,
|
|
1366
1407
|
netAmount: x,
|
|
1367
1408
|
effectiveNet: x,
|
|
1368
1409
|
vatAmount: x,
|
|
1369
1410
|
totalDiscountAmount: x.nullable(),
|
|
1370
|
-
globalDiscount:
|
|
1371
|
-
|
|
1411
|
+
globalDiscount: L.nullable(),
|
|
1412
|
+
advancePaymentAmount: x.nullable(),
|
|
1413
|
+
amountDue: x,
|
|
1414
|
+
originalInvoice: rn.nullable(),
|
|
1372
1415
|
externalRemarks: e.string().nullable(),
|
|
1373
|
-
deliveryStatus:
|
|
1416
|
+
deliveryStatus: an,
|
|
1374
1417
|
isDisputed: e.boolean()
|
|
1375
|
-
}),
|
|
1418
|
+
}), sn = e.object({ customerUuid: e.uuid() }), cn = e.object({ uuid: e.uuid() }), ln = e.object({
|
|
1376
1419
|
uuid: e.uuid(),
|
|
1377
1420
|
name: e.string().nullable(),
|
|
1378
1421
|
email: e.email().nullable(),
|
|
@@ -1382,11 +1425,11 @@ var w = e.object({
|
|
|
1382
1425
|
vatNumber: e.string().nullable(),
|
|
1383
1426
|
bankAccountNumber: e.string().nullable(),
|
|
1384
1427
|
alternativeBankAccountNumber: e.string().nullable()
|
|
1385
|
-
}),
|
|
1428
|
+
}), un = e.object({
|
|
1386
1429
|
uuid: e.uuid(),
|
|
1387
1430
|
name: e.string().nullable(),
|
|
1388
1431
|
email: e.email().nullable()
|
|
1389
|
-
}),
|
|
1432
|
+
}), dn = e.object({
|
|
1390
1433
|
uuid: e.uuid(),
|
|
1391
1434
|
name: e.string().nullable(),
|
|
1392
1435
|
email: e.email().nullable(),
|
|
@@ -1396,11 +1439,11 @@ var w = e.object({
|
|
|
1396
1439
|
vatNumber: e.string().nullable(),
|
|
1397
1440
|
type: v,
|
|
1398
1441
|
approvalEmail: e.email().nullable()
|
|
1399
|
-
}),
|
|
1442
|
+
}), fn = e.object({
|
|
1400
1443
|
uuid: e.uuid(),
|
|
1401
1444
|
quantity: e.number(),
|
|
1402
1445
|
remainingQuantity: e.number().nullable()
|
|
1403
|
-
}),
|
|
1446
|
+
}), pn = e.object({
|
|
1404
1447
|
uuid: e.uuid(),
|
|
1405
1448
|
groupUuid: e.uuid().nullable(),
|
|
1406
1449
|
position: e.number(),
|
|
@@ -1415,19 +1458,20 @@ var w = e.object({
|
|
|
1415
1458
|
k,
|
|
1416
1459
|
A,
|
|
1417
1460
|
j,
|
|
1418
|
-
M
|
|
1461
|
+
M,
|
|
1462
|
+
N
|
|
1419
1463
|
])),
|
|
1420
1464
|
quantity: e.number(),
|
|
1421
1465
|
unitPrice: x,
|
|
1422
|
-
vatRate:
|
|
1466
|
+
vatRate: I,
|
|
1423
1467
|
vatRatePercentage: e.number(),
|
|
1424
1468
|
netAmount: x,
|
|
1425
1469
|
grossAmount: x,
|
|
1426
|
-
discount:
|
|
1427
|
-
unit:
|
|
1470
|
+
discount: L.nullable(),
|
|
1471
|
+
unit: $t,
|
|
1428
1472
|
isDiscount: e.boolean(),
|
|
1429
|
-
originalLine:
|
|
1430
|
-
}),
|
|
1473
|
+
originalLine: fn.nullable()
|
|
1474
|
+
}), mn = e.object({
|
|
1431
1475
|
uuid: e.uuid(),
|
|
1432
1476
|
position: e.number(),
|
|
1433
1477
|
name: e.string(),
|
|
@@ -1441,20 +1485,21 @@ var w = e.object({
|
|
|
1441
1485
|
k,
|
|
1442
1486
|
A,
|
|
1443
1487
|
j,
|
|
1444
|
-
M
|
|
1488
|
+
M,
|
|
1489
|
+
N
|
|
1445
1490
|
])),
|
|
1446
|
-
lines: e.array(
|
|
1447
|
-
groups: e.array(e.lazy(() =>
|
|
1448
|
-
}),
|
|
1449
|
-
vatRate:
|
|
1491
|
+
lines: e.array(pn),
|
|
1492
|
+
groups: e.array(e.lazy(() => mn))
|
|
1493
|
+
}), hn = e.object({
|
|
1494
|
+
vatRate: I,
|
|
1450
1495
|
netAmount: x,
|
|
1451
1496
|
vatAmount: x
|
|
1452
|
-
}),
|
|
1497
|
+
}), gn = e.object({
|
|
1453
1498
|
uuid: e.uuid(),
|
|
1454
1499
|
name: e.string(),
|
|
1455
1500
|
mimeType: Ae,
|
|
1456
1501
|
blurHash: e.string().nullable()
|
|
1457
|
-
}),
|
|
1502
|
+
}), _n = e.object({
|
|
1458
1503
|
uuid: e.uuid(),
|
|
1459
1504
|
createdAt: e.iso.datetime(),
|
|
1460
1505
|
status: y,
|
|
@@ -1464,36 +1509,36 @@ var w = e.object({
|
|
|
1464
1509
|
paidAmount: x.nullable(),
|
|
1465
1510
|
balanceDueAmount: x.nullable(),
|
|
1466
1511
|
creditableAmount: x.nullable()
|
|
1467
|
-
}),
|
|
1512
|
+
}), vn = e.object({
|
|
1468
1513
|
uuid: e.string(),
|
|
1469
1514
|
firstName: e.string().nullable(),
|
|
1470
1515
|
lastName: e.string().nullable()
|
|
1471
|
-
}),
|
|
1516
|
+
}), yn = e.enum(["user", "service_user"]), bn = e.object({
|
|
1472
1517
|
uuid: e.uuid(),
|
|
1473
1518
|
firstName: e.string().nullable(),
|
|
1474
1519
|
lastName: e.string().nullable(),
|
|
1475
|
-
type:
|
|
1476
|
-
}),
|
|
1520
|
+
type: yn
|
|
1521
|
+
}), R = e.enum([
|
|
1477
1522
|
"unpaid",
|
|
1478
1523
|
"partially_paid",
|
|
1479
1524
|
"paid",
|
|
1480
1525
|
"overpaid",
|
|
1481
1526
|
"credited",
|
|
1482
1527
|
"settled"
|
|
1483
|
-
]),
|
|
1528
|
+
]), xn = e.object({
|
|
1484
1529
|
uuid: e.uuid(),
|
|
1485
1530
|
sentAt: e.iso.datetime()
|
|
1486
|
-
}),
|
|
1531
|
+
}), Sn = e.enum(["after_last_reminder", "after_due_date"]), Cn = e.object({
|
|
1487
1532
|
uuid: e.uuid(),
|
|
1488
1533
|
sequence: e.number(),
|
|
1489
|
-
schedule:
|
|
1534
|
+
schedule: Sn,
|
|
1490
1535
|
offsetDays: e.number()
|
|
1491
|
-
}),
|
|
1536
|
+
}), wn = e.enum([
|
|
1492
1537
|
"approved",
|
|
1493
1538
|
"rejected",
|
|
1494
1539
|
"requested",
|
|
1495
1540
|
"expired"
|
|
1496
|
-
]),
|
|
1541
|
+
]), Tn = e.enum([
|
|
1497
1542
|
"incorrect_price",
|
|
1498
1543
|
"incorrect_quantity",
|
|
1499
1544
|
"incorrect_customer_or_reference_data",
|
|
@@ -1501,20 +1546,20 @@ var w = e.object({
|
|
|
1501
1546
|
"missing_or_incorrect_attachment",
|
|
1502
1547
|
"missing_or_incorrect_po_reference",
|
|
1503
1548
|
"other"
|
|
1504
|
-
]),
|
|
1549
|
+
]), z = e.union([e.literal(1), e.literal(2)]), En = e.object({
|
|
1505
1550
|
uuid: e.uuid(),
|
|
1506
1551
|
sentAt: e.string().nullable(),
|
|
1507
|
-
status:
|
|
1552
|
+
status: wn,
|
|
1508
1553
|
answeredAt: e.string().nullable(),
|
|
1509
1554
|
customerRemark: e.string().nullable(),
|
|
1510
|
-
proFormaFile:
|
|
1511
|
-
approvalProofs: e.array(
|
|
1555
|
+
proFormaFile: gn.nullable(),
|
|
1556
|
+
approvalProofs: e.array(gn),
|
|
1512
1557
|
isActive: e.boolean(),
|
|
1513
1558
|
remarks: e.string().nullable(),
|
|
1514
|
-
rejectionReason:
|
|
1515
|
-
level:
|
|
1559
|
+
rejectionReason: Tn.nullable(),
|
|
1560
|
+
level: z.nullable(),
|
|
1516
1561
|
reminderSentAt: e.iso.datetime().nullable()
|
|
1517
|
-
}),
|
|
1562
|
+
}), Dn = e.object({
|
|
1518
1563
|
uuid: e.uuid(),
|
|
1519
1564
|
sequence: e.string().nullable(),
|
|
1520
1565
|
type: Ut,
|
|
@@ -1523,11 +1568,11 @@ var w = e.object({
|
|
|
1523
1568
|
issueOn: e.iso.date().nullable(),
|
|
1524
1569
|
dueOn: e.iso.date().nullable(),
|
|
1525
1570
|
deliveredOn: e.iso.date().nullable(),
|
|
1526
|
-
issuer:
|
|
1527
|
-
recipient:
|
|
1528
|
-
customer:
|
|
1571
|
+
issuer: ln,
|
|
1572
|
+
recipient: un.nullable(),
|
|
1573
|
+
customer: dn,
|
|
1529
1574
|
status: y,
|
|
1530
|
-
lifecycleStatus:
|
|
1575
|
+
lifecycleStatus: P,
|
|
1531
1576
|
paymentReference: e.string().nullable(),
|
|
1532
1577
|
subject: e.string().nullable(),
|
|
1533
1578
|
poNumber: e.string().nullable(),
|
|
@@ -1540,84 +1585,87 @@ var w = e.object({
|
|
|
1540
1585
|
k,
|
|
1541
1586
|
A,
|
|
1542
1587
|
j,
|
|
1543
|
-
M
|
|
1588
|
+
M,
|
|
1589
|
+
N
|
|
1544
1590
|
])),
|
|
1545
|
-
ungroupedLines: e.array(
|
|
1546
|
-
groups: e.array(
|
|
1547
|
-
vatSummaries: e.array(
|
|
1591
|
+
ungroupedLines: e.array(pn),
|
|
1592
|
+
groups: e.array(mn),
|
|
1593
|
+
vatSummaries: e.array(hn),
|
|
1548
1594
|
grossAmount: x,
|
|
1549
1595
|
netAmount: x,
|
|
1550
1596
|
effectiveNet: x,
|
|
1551
1597
|
vatAmount: x,
|
|
1552
1598
|
totalDiscountAmount: x.nullable(),
|
|
1553
|
-
globalDiscount:
|
|
1554
|
-
attachments: e.array(
|
|
1555
|
-
approvalProofs: e.array(
|
|
1556
|
-
rejectionFiles: e.array(
|
|
1557
|
-
creditNotes: e.array(
|
|
1558
|
-
originalInvoice:
|
|
1559
|
-
preparedBy:
|
|
1560
|
-
lastUpdatedBy:
|
|
1561
|
-
file:
|
|
1599
|
+
globalDiscount: L.nullable(),
|
|
1600
|
+
attachments: e.array(gn),
|
|
1601
|
+
approvalProofs: e.array(gn),
|
|
1602
|
+
rejectionFiles: e.array(gn),
|
|
1603
|
+
creditNotes: e.array(_n),
|
|
1604
|
+
originalInvoice: _n.nullable(),
|
|
1605
|
+
preparedBy: vn,
|
|
1606
|
+
lastUpdatedBy: bn.nullable(),
|
|
1607
|
+
file: gn.nullable(),
|
|
1562
1608
|
externalRemarks: e.string().nullable(),
|
|
1563
1609
|
paidAmount: x.nullable(),
|
|
1564
|
-
settlementStatus:
|
|
1610
|
+
settlementStatus: R,
|
|
1565
1611
|
balanceDueAmount: x.nullable(),
|
|
1612
|
+
advancePaymentAmount: x.nullable(),
|
|
1613
|
+
amountDue: x,
|
|
1566
1614
|
currency: b,
|
|
1567
|
-
deliveryStatus:
|
|
1615
|
+
deliveryStatus: an,
|
|
1568
1616
|
isDisputed: e.boolean(),
|
|
1569
1617
|
isOverdue: e.boolean(),
|
|
1570
|
-
reminders: e.array(
|
|
1571
|
-
reminderConfigs: e.array(
|
|
1618
|
+
reminders: e.array(xn),
|
|
1619
|
+
reminderConfigs: e.array(Cn),
|
|
1572
1620
|
requiresPriorApproval: e.boolean(),
|
|
1573
|
-
approval: e.array(
|
|
1621
|
+
approval: e.array(En),
|
|
1574
1622
|
hasChangesSinceApprovalSent: e.boolean()
|
|
1575
|
-
}),
|
|
1623
|
+
}), On = e.enum([
|
|
1576
1624
|
"created_at",
|
|
1577
1625
|
"issued_on",
|
|
1578
1626
|
"sequence",
|
|
1579
1627
|
"customer",
|
|
1580
1628
|
"netAmount"
|
|
1581
|
-
]),
|
|
1582
|
-
key:
|
|
1629
|
+
]), kn = e.object({
|
|
1630
|
+
key: On,
|
|
1583
1631
|
order: vt
|
|
1584
|
-
}),
|
|
1632
|
+
}), B = e.object({
|
|
1585
1633
|
definitionUuid: e.uuid(),
|
|
1586
1634
|
type: e.enum(["number"]),
|
|
1587
1635
|
value: e.number()
|
|
1588
|
-
}),
|
|
1636
|
+
}), V = e.object({
|
|
1589
1637
|
definitionUuid: e.uuid(),
|
|
1590
1638
|
type: e.enum(["date"]),
|
|
1591
1639
|
value: e.iso.date()
|
|
1592
|
-
}),
|
|
1640
|
+
}), H = e.object({
|
|
1593
1641
|
definitionUuid: e.uuid(),
|
|
1594
1642
|
type: e.enum(["timestamp"]),
|
|
1595
1643
|
value: e.iso.datetime()
|
|
1596
|
-
}),
|
|
1644
|
+
}), U = e.object({
|
|
1597
1645
|
definitionUuid: e.uuid(),
|
|
1598
1646
|
type: e.enum(["boolean"]),
|
|
1599
1647
|
value: e.boolean()
|
|
1600
|
-
}),
|
|
1648
|
+
}), W = e.object({
|
|
1601
1649
|
definitionUuid: e.uuid(),
|
|
1602
1650
|
type: e.enum(["monetary"]),
|
|
1603
1651
|
value: x
|
|
1604
|
-
}),
|
|
1652
|
+
}), G = e.object({
|
|
1605
1653
|
definitionUuid: e.uuid(),
|
|
1606
1654
|
type: e.enum(["multi_select"]),
|
|
1607
1655
|
value: e.array(e.string())
|
|
1608
|
-
}),
|
|
1656
|
+
}), K = e.object({
|
|
1609
1657
|
definitionUuid: e.uuid(),
|
|
1610
1658
|
type: e.enum(["single_select"]),
|
|
1611
1659
|
value: e.string()
|
|
1612
|
-
}),
|
|
1660
|
+
}), q = e.object({
|
|
1613
1661
|
definitionUuid: e.uuid(),
|
|
1614
1662
|
type: e.enum(["text_array"]),
|
|
1615
1663
|
value: e.array(e.string())
|
|
1616
|
-
}),
|
|
1664
|
+
}), J = e.object({
|
|
1617
1665
|
definitionUuid: e.uuid(),
|
|
1618
1666
|
type: e.enum(["text"]),
|
|
1619
1667
|
value: e.string()
|
|
1620
|
-
}),
|
|
1668
|
+
}), Y = e.object({
|
|
1621
1669
|
startDate: e.union([
|
|
1622
1670
|
e.iso.date(),
|
|
1623
1671
|
e.enum(["infinity"]),
|
|
@@ -1628,10 +1676,10 @@ var w = e.object({
|
|
|
1628
1676
|
e.enum(["infinity"]),
|
|
1629
1677
|
e.enum(["-infinity"])
|
|
1630
1678
|
])
|
|
1631
|
-
}),
|
|
1632
|
-
scope:
|
|
1679
|
+
}), An = e.enum(["include", "exclude"]), X = e.object({
|
|
1680
|
+
scope: An,
|
|
1633
1681
|
values: e.array(e.uuid())
|
|
1634
|
-
}),
|
|
1682
|
+
}), Z = e.enum([
|
|
1635
1683
|
"no_approval_required",
|
|
1636
1684
|
"awaiting_approval",
|
|
1637
1685
|
"reminder_1",
|
|
@@ -1639,20 +1687,19 @@ var w = e.object({
|
|
|
1639
1687
|
"approved",
|
|
1640
1688
|
"rejected",
|
|
1641
1689
|
"expired"
|
|
1642
|
-
]),
|
|
1690
|
+
]), jn = e.object({
|
|
1643
1691
|
statuses: e.array(y).optional(),
|
|
1644
|
-
lifecycleStatuses: e.array(
|
|
1692
|
+
lifecycleStatuses: e.array(P).optional(),
|
|
1645
1693
|
customerUuids: e.array(e.uuid()).optional(),
|
|
1646
|
-
dueOnRange:
|
|
1647
|
-
issuedOnRange:
|
|
1648
|
-
invoiceUuids:
|
|
1694
|
+
dueOnRange: Y.optional(),
|
|
1695
|
+
issuedOnRange: Y.optional(),
|
|
1696
|
+
invoiceUuids: X.optional(),
|
|
1649
1697
|
isDisputed: e.boolean().optional(),
|
|
1650
1698
|
isOverdue: e.boolean().optional(),
|
|
1651
|
-
settlementStatuses: e.array(
|
|
1699
|
+
settlementStatuses: e.array(R).optional(),
|
|
1652
1700
|
customerExternalIds: e.array(e.string()).optional(),
|
|
1653
1701
|
isOutstanding: e.boolean().optional(),
|
|
1654
1702
|
customFields: e.array(e.union([
|
|
1655
|
-
z,
|
|
1656
1703
|
B,
|
|
1657
1704
|
V,
|
|
1658
1705
|
H,
|
|
@@ -1660,40 +1707,41 @@ var w = e.object({
|
|
|
1660
1707
|
W,
|
|
1661
1708
|
G,
|
|
1662
1709
|
K,
|
|
1663
|
-
q
|
|
1710
|
+
q,
|
|
1711
|
+
J
|
|
1664
1712
|
])).optional(),
|
|
1665
1713
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
1666
|
-
approvalStatuses: e.array(
|
|
1714
|
+
approvalStatuses: e.array(Z).optional(),
|
|
1667
1715
|
isApprovalCancelled: e.boolean().optional()
|
|
1668
|
-
}),
|
|
1716
|
+
}), Mn = e.object({
|
|
1669
1717
|
uuid: e.uuid(),
|
|
1670
1718
|
externalId: e.string().nullable(),
|
|
1671
1719
|
name: e.string()
|
|
1672
|
-
}),
|
|
1673
|
-
status:
|
|
1674
|
-
level:
|
|
1720
|
+
}), Nn = e.object({
|
|
1721
|
+
status: wn,
|
|
1722
|
+
level: z.nullable(),
|
|
1675
1723
|
sentAt: e.iso.datetime().nullable(),
|
|
1676
1724
|
reminderSentAt: e.iso.datetime().nullable()
|
|
1677
|
-
}),
|
|
1725
|
+
}), Pn = e.object({
|
|
1678
1726
|
uuid: e.uuid(),
|
|
1679
1727
|
type: Ut,
|
|
1680
1728
|
createdAt: e.iso.datetime(),
|
|
1681
1729
|
issuedOn: e.iso.date().nullable(),
|
|
1682
1730
|
dueOn: e.iso.date().nullable(),
|
|
1683
1731
|
subject: e.string().nullable(),
|
|
1684
|
-
customer:
|
|
1732
|
+
customer: Mn,
|
|
1685
1733
|
status: y,
|
|
1686
|
-
lifecycleStatus:
|
|
1734
|
+
lifecycleStatus: P,
|
|
1687
1735
|
netAmount: x,
|
|
1688
1736
|
grossAmount: x,
|
|
1689
1737
|
sequence: e.string().nullable(),
|
|
1690
1738
|
paidAmount: x.nullable(),
|
|
1691
1739
|
totalCreditedAmount: x.nullable(),
|
|
1692
|
-
settlementStatus:
|
|
1740
|
+
settlementStatus: R,
|
|
1693
1741
|
balanceDueAmount: x.nullable(),
|
|
1694
1742
|
isDisputed: e.boolean(),
|
|
1695
1743
|
isOverdue: e.boolean(),
|
|
1696
|
-
deliveryStatus:
|
|
1744
|
+
deliveryStatus: an,
|
|
1697
1745
|
customFields: e.array(e.union([
|
|
1698
1746
|
w,
|
|
1699
1747
|
T,
|
|
@@ -1703,13 +1751,14 @@ var w = e.object({
|
|
|
1703
1751
|
k,
|
|
1704
1752
|
A,
|
|
1705
1753
|
j,
|
|
1706
|
-
M
|
|
1754
|
+
M,
|
|
1755
|
+
N
|
|
1707
1756
|
])),
|
|
1708
1757
|
requiresPriorApproval: e.boolean(),
|
|
1709
1758
|
hasChangesSinceApprovalSent: e.boolean(),
|
|
1710
|
-
approval:
|
|
1711
|
-
}),
|
|
1712
|
-
items: e.array(
|
|
1759
|
+
approval: Nn.nullable()
|
|
1760
|
+
}), Fn = e.object({
|
|
1761
|
+
items: e.array(Pn),
|
|
1713
1762
|
meta: g
|
|
1714
1763
|
});
|
|
1715
1764
|
e.object({
|
|
@@ -1725,7 +1774,7 @@ e.object({
|
|
|
1725
1774
|
status: e.enum(["409"]),
|
|
1726
1775
|
code: e.enum(["can_not_change_invoice_customer_with_approval_created"])
|
|
1727
1776
|
});
|
|
1728
|
-
var
|
|
1777
|
+
var In = e.object({
|
|
1729
1778
|
issuedOn: e.iso.date(),
|
|
1730
1779
|
deliveredOn: e.iso.date().nullable(),
|
|
1731
1780
|
dueOn: e.iso.date(),
|
|
@@ -1744,7 +1793,8 @@ var An = e.object({
|
|
|
1744
1793
|
k,
|
|
1745
1794
|
A,
|
|
1746
1795
|
j,
|
|
1747
|
-
M
|
|
1796
|
+
M,
|
|
1797
|
+
N
|
|
1748
1798
|
])).optional()
|
|
1749
1799
|
});
|
|
1750
1800
|
e.object({
|
|
@@ -1768,15 +1818,15 @@ e.object({
|
|
|
1768
1818
|
status: e.enum(["400"]),
|
|
1769
1819
|
code: e.enum(["invoice_line_group_max_depth_exceeded"])
|
|
1770
1820
|
});
|
|
1771
|
-
var
|
|
1821
|
+
var Ln = e.object({
|
|
1772
1822
|
name: e.string(),
|
|
1773
1823
|
description: e.string().nullable(),
|
|
1774
1824
|
position: e.int(),
|
|
1775
1825
|
quantity: e.number().lte(1e4),
|
|
1776
1826
|
unitPrice: x,
|
|
1777
|
-
vatRate:
|
|
1778
|
-
discount:
|
|
1779
|
-
unit:
|
|
1827
|
+
vatRate: I,
|
|
1828
|
+
discount: L.nullable(),
|
|
1829
|
+
unit: $t,
|
|
1780
1830
|
isDiscount: e.boolean(),
|
|
1781
1831
|
customFields: e.array(e.union([
|
|
1782
1832
|
w,
|
|
@@ -1787,13 +1837,14 @@ var jn = e.object({
|
|
|
1787
1837
|
k,
|
|
1788
1838
|
A,
|
|
1789
1839
|
j,
|
|
1790
|
-
M
|
|
1840
|
+
M,
|
|
1841
|
+
N
|
|
1791
1842
|
])).optional()
|
|
1792
|
-
}),
|
|
1843
|
+
}), Rn = e.object({
|
|
1793
1844
|
name: e.string(),
|
|
1794
1845
|
description: e.string().nullable(),
|
|
1795
1846
|
position: e.int(),
|
|
1796
|
-
lines: e.array(
|
|
1847
|
+
lines: e.array(Ln),
|
|
1797
1848
|
customFields: e.array(e.union([
|
|
1798
1849
|
w,
|
|
1799
1850
|
T,
|
|
@@ -1803,25 +1854,26 @@ var jn = e.object({
|
|
|
1803
1854
|
k,
|
|
1804
1855
|
A,
|
|
1805
1856
|
j,
|
|
1806
|
-
M
|
|
1857
|
+
M,
|
|
1858
|
+
N
|
|
1807
1859
|
])).optional(),
|
|
1808
|
-
groups: e.array(e.lazy(() =>
|
|
1809
|
-
}),
|
|
1810
|
-
groups: e.array(
|
|
1811
|
-
ungroupedLines: e.array(
|
|
1860
|
+
groups: e.array(e.lazy(() => Rn)).optional()
|
|
1861
|
+
}), zn = e.object({
|
|
1862
|
+
groups: e.array(Rn),
|
|
1863
|
+
ungroupedLines: e.array(Ln)
|
|
1812
1864
|
});
|
|
1813
1865
|
e.object({
|
|
1814
1866
|
detail: e.string().optional(),
|
|
1815
1867
|
status: e.enum(["409"]),
|
|
1816
1868
|
code: e.enum(["global_discount_exceeds_total_net"])
|
|
1817
|
-
}), e.object({ discount:
|
|
1818
|
-
var
|
|
1869
|
+
}), e.object({ discount: L.nullable() });
|
|
1870
|
+
var Bn = e.object({ discount: L });
|
|
1819
1871
|
e.object({
|
|
1820
1872
|
detail: e.string().optional(),
|
|
1821
1873
|
status: e.enum(["409"]),
|
|
1822
1874
|
code: e.enum(["file_unconfirmed"])
|
|
1823
1875
|
});
|
|
1824
|
-
var
|
|
1876
|
+
var Vn = e.object({ fileUuids: e.array(e.uuid()) });
|
|
1825
1877
|
e.object({
|
|
1826
1878
|
detail: e.string().optional(),
|
|
1827
1879
|
status: e.enum(["404"]),
|
|
@@ -1835,15 +1887,15 @@ e.object({
|
|
|
1835
1887
|
status: e.enum(["409"]),
|
|
1836
1888
|
code: e.enum(["invoice_already_finalized"])
|
|
1837
1889
|
});
|
|
1838
|
-
var
|
|
1839
|
-
approvalStatus:
|
|
1840
|
-
level:
|
|
1890
|
+
var Hn = e.object({
|
|
1891
|
+
approvalStatus: wn.nullable(),
|
|
1892
|
+
level: z.nullable()
|
|
1841
1893
|
});
|
|
1842
1894
|
e.object({
|
|
1843
1895
|
detail: e.string().optional(),
|
|
1844
1896
|
status: e.enum(["409"]),
|
|
1845
1897
|
code: e.enum(["invoice_finalization_requires_approval"]),
|
|
1846
|
-
meta:
|
|
1898
|
+
meta: Hn
|
|
1847
1899
|
}), e.object({
|
|
1848
1900
|
detail: e.string().optional(),
|
|
1849
1901
|
status: e.enum(["409"]),
|
|
@@ -1857,21 +1909,21 @@ e.object({
|
|
|
1857
1909
|
status: e.enum(["409"]),
|
|
1858
1910
|
code: e.enum(["credit_note_settled"])
|
|
1859
1911
|
});
|
|
1860
|
-
var
|
|
1912
|
+
var Un = e.object({ uuid: e.uuid() });
|
|
1861
1913
|
e.object({
|
|
1862
1914
|
detail: e.string().optional(),
|
|
1863
1915
|
status: e.enum(["409"]),
|
|
1864
1916
|
code: e.enum(["invoice_not_credit_note"])
|
|
1865
1917
|
});
|
|
1866
|
-
var
|
|
1918
|
+
var Wn = e.object({
|
|
1867
1919
|
name: e.string(),
|
|
1868
1920
|
description: e.string().nullable(),
|
|
1869
1921
|
position: e.int(),
|
|
1870
1922
|
quantity: e.number().lte(1e4),
|
|
1871
1923
|
unitPrice: x,
|
|
1872
|
-
vatRate:
|
|
1873
|
-
discount:
|
|
1874
|
-
unit:
|
|
1924
|
+
vatRate: I,
|
|
1925
|
+
discount: L.nullable(),
|
|
1926
|
+
unit: $t,
|
|
1875
1927
|
isDiscount: e.boolean(),
|
|
1876
1928
|
customFields: e.array(e.union([
|
|
1877
1929
|
w,
|
|
@@ -1882,13 +1934,14 @@ var Rn = e.object({
|
|
|
1882
1934
|
k,
|
|
1883
1935
|
A,
|
|
1884
1936
|
j,
|
|
1885
|
-
M
|
|
1937
|
+
M,
|
|
1938
|
+
N
|
|
1886
1939
|
])).optional()
|
|
1887
|
-
}),
|
|
1940
|
+
}), Gn = e.object({
|
|
1888
1941
|
name: e.string(),
|
|
1889
1942
|
description: e.string().nullable(),
|
|
1890
1943
|
position: e.int(),
|
|
1891
|
-
lines: e.array(
|
|
1944
|
+
lines: e.array(Wn),
|
|
1892
1945
|
customFields: e.array(e.union([
|
|
1893
1946
|
w,
|
|
1894
1947
|
T,
|
|
@@ -1898,13 +1951,14 @@ var Rn = e.object({
|
|
|
1898
1951
|
k,
|
|
1899
1952
|
A,
|
|
1900
1953
|
j,
|
|
1901
|
-
M
|
|
1954
|
+
M,
|
|
1955
|
+
N
|
|
1902
1956
|
])).optional(),
|
|
1903
|
-
groups: e.array(e.lazy(() =>
|
|
1904
|
-
}),
|
|
1905
|
-
groups: e.array(
|
|
1906
|
-
ungroupedLines: e.array(
|
|
1907
|
-
}),
|
|
1957
|
+
groups: e.array(e.lazy(() => Gn)).optional()
|
|
1958
|
+
}), Kn = e.object({
|
|
1959
|
+
groups: e.array(Gn),
|
|
1960
|
+
ungroupedLines: e.array(Wn)
|
|
1961
|
+
}), qn = e.object({
|
|
1908
1962
|
issuedOn: e.iso.date(),
|
|
1909
1963
|
poNumber: e.string().nullable(),
|
|
1910
1964
|
subject: e.string().nullable(),
|
|
@@ -1920,7 +1974,8 @@ var Rn = e.object({
|
|
|
1920
1974
|
k,
|
|
1921
1975
|
A,
|
|
1922
1976
|
j,
|
|
1923
|
-
M
|
|
1977
|
+
M,
|
|
1978
|
+
N
|
|
1924
1979
|
])).optional()
|
|
1925
1980
|
});
|
|
1926
1981
|
e.object({
|
|
@@ -1952,20 +2007,19 @@ e.object({
|
|
|
1952
2007
|
status: e.enum(["503"]),
|
|
1953
2008
|
code: e.enum(["mail_unavailable"])
|
|
1954
2009
|
});
|
|
1955
|
-
var
|
|
2010
|
+
var Jn = e.object({
|
|
1956
2011
|
statuses: e.array(y).optional(),
|
|
1957
|
-
lifecycleStatuses: e.array(
|
|
2012
|
+
lifecycleStatuses: e.array(P).optional(),
|
|
1958
2013
|
customerUuids: e.array(e.uuid()).optional(),
|
|
1959
|
-
dueOnRange:
|
|
1960
|
-
issuedOnRange:
|
|
1961
|
-
invoiceUuids:
|
|
2014
|
+
dueOnRange: Y.optional(),
|
|
2015
|
+
issuedOnRange: Y.optional(),
|
|
2016
|
+
invoiceUuids: X.optional(),
|
|
1962
2017
|
isDisputed: e.boolean().optional(),
|
|
1963
2018
|
isOverdue: e.boolean().optional(),
|
|
1964
|
-
settlementStatuses: e.array(
|
|
2019
|
+
settlementStatuses: e.array(R).optional(),
|
|
1965
2020
|
customerExternalIds: e.array(e.string()).optional(),
|
|
1966
2021
|
isOutstanding: e.boolean().optional(),
|
|
1967
2022
|
customFields: e.array(e.union([
|
|
1968
|
-
z,
|
|
1969
2023
|
B,
|
|
1970
2024
|
V,
|
|
1971
2025
|
H,
|
|
@@ -1973,46 +2027,46 @@ var Hn = e.object({
|
|
|
1973
2027
|
W,
|
|
1974
2028
|
G,
|
|
1975
2029
|
K,
|
|
1976
|
-
q
|
|
2030
|
+
q,
|
|
2031
|
+
J
|
|
1977
2032
|
])).optional(),
|
|
1978
2033
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
1979
|
-
approvalStatuses: e.array(
|
|
2034
|
+
approvalStatuses: e.array(Z).optional(),
|
|
1980
2035
|
isApprovalCancelled: e.boolean().optional()
|
|
1981
|
-
}),
|
|
2036
|
+
}), Q = e.object({
|
|
1982
2037
|
total: e.number(),
|
|
1983
2038
|
processed: e.number(),
|
|
1984
2039
|
skipped: e.number()
|
|
1985
|
-
}),
|
|
2040
|
+
}), Yn = e.object({ pointer: e.string() }), Xn = e.object({
|
|
1986
2041
|
code: e.string(),
|
|
1987
2042
|
detail: e.string().optional(),
|
|
1988
2043
|
title: e.string().optional(),
|
|
1989
2044
|
id: e.string().optional(),
|
|
1990
2045
|
status: e.string().optional(),
|
|
1991
|
-
source:
|
|
2046
|
+
source: Yn.optional(),
|
|
1992
2047
|
meta: e.record(e.string(), e.unknown()).optional()
|
|
1993
|
-
}),
|
|
2048
|
+
}), Zn = e.object({
|
|
1994
2049
|
status: e.number(),
|
|
1995
|
-
errors: e.array(
|
|
1996
|
-
}),
|
|
2050
|
+
errors: e.array(Xn)
|
|
2051
|
+
}), $ = e.object({
|
|
1997
2052
|
uuid: e.string(),
|
|
1998
|
-
errors: e.array(
|
|
1999
|
-
}),
|
|
2000
|
-
meta:
|
|
2001
|
-
skipped: e.array(
|
|
2002
|
-
}),
|
|
2053
|
+
errors: e.array(Zn)
|
|
2054
|
+
}), Qn = e.object({
|
|
2055
|
+
meta: Q,
|
|
2056
|
+
skipped: e.array($)
|
|
2057
|
+
}), $n = e.object({
|
|
2003
2058
|
statuses: e.array(y).optional(),
|
|
2004
|
-
lifecycleStatuses: e.array(
|
|
2059
|
+
lifecycleStatuses: e.array(P).optional(),
|
|
2005
2060
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2006
|
-
dueOnRange:
|
|
2007
|
-
issuedOnRange:
|
|
2008
|
-
invoiceUuids:
|
|
2061
|
+
dueOnRange: Y.optional(),
|
|
2062
|
+
issuedOnRange: Y.optional(),
|
|
2063
|
+
invoiceUuids: X.optional(),
|
|
2009
2064
|
isDisputed: e.boolean().optional(),
|
|
2010
2065
|
isOverdue: e.boolean().optional(),
|
|
2011
|
-
settlementStatuses: e.array(
|
|
2066
|
+
settlementStatuses: e.array(R).optional(),
|
|
2012
2067
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2013
2068
|
isOutstanding: e.boolean().optional(),
|
|
2014
2069
|
customFields: e.array(e.union([
|
|
2015
|
-
z,
|
|
2016
2070
|
B,
|
|
2017
2071
|
V,
|
|
2018
2072
|
H,
|
|
@@ -2020,14 +2074,15 @@ var Hn = e.object({
|
|
|
2020
2074
|
W,
|
|
2021
2075
|
G,
|
|
2022
2076
|
K,
|
|
2023
|
-
q
|
|
2077
|
+
q,
|
|
2078
|
+
J
|
|
2024
2079
|
])).optional(),
|
|
2025
2080
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2026
|
-
approvalStatuses: e.array(
|
|
2081
|
+
approvalStatuses: e.array(Z).optional(),
|
|
2027
2082
|
isApprovalCancelled: e.boolean().optional()
|
|
2028
|
-
}),
|
|
2029
|
-
meta:
|
|
2030
|
-
skipped: e.array(
|
|
2083
|
+
}), er = e.object({
|
|
2084
|
+
meta: Q,
|
|
2085
|
+
skipped: e.array($)
|
|
2031
2086
|
});
|
|
2032
2087
|
e.object({
|
|
2033
2088
|
detail: e.string().optional(),
|
|
@@ -2042,7 +2097,7 @@ e.object({
|
|
|
2042
2097
|
status: e.enum(["409"]),
|
|
2043
2098
|
code: e.enum(["delete_invoice_with_approval"])
|
|
2044
2099
|
});
|
|
2045
|
-
var
|
|
2100
|
+
var tr = e.object({ uuid: e.uuid() });
|
|
2046
2101
|
e.object({
|
|
2047
2102
|
detail: e.string().optional(),
|
|
2048
2103
|
status: e.enum(["409"]),
|
|
@@ -2056,20 +2111,19 @@ e.object({
|
|
|
2056
2111
|
status: e.enum(["409"]),
|
|
2057
2112
|
code: e.enum(["invoice_status_not_eligible_for_paid"])
|
|
2058
2113
|
});
|
|
2059
|
-
var
|
|
2114
|
+
var nr = e.object({
|
|
2060
2115
|
statuses: e.array(y).optional(),
|
|
2061
|
-
lifecycleStatuses: e.array(
|
|
2116
|
+
lifecycleStatuses: e.array(P).optional(),
|
|
2062
2117
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2063
|
-
dueOnRange:
|
|
2064
|
-
issuedOnRange:
|
|
2065
|
-
invoiceUuids:
|
|
2118
|
+
dueOnRange: Y.optional(),
|
|
2119
|
+
issuedOnRange: Y.optional(),
|
|
2120
|
+
invoiceUuids: X.optional(),
|
|
2066
2121
|
isDisputed: e.boolean().optional(),
|
|
2067
2122
|
isOverdue: e.boolean().optional(),
|
|
2068
|
-
settlementStatuses: e.array(
|
|
2123
|
+
settlementStatuses: e.array(R).optional(),
|
|
2069
2124
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2070
2125
|
isOutstanding: e.boolean().optional(),
|
|
2071
2126
|
customFields: e.array(e.union([
|
|
2072
|
-
z,
|
|
2073
2127
|
B,
|
|
2074
2128
|
V,
|
|
2075
2129
|
H,
|
|
@@ -2077,28 +2131,28 @@ var Xn = e.object({
|
|
|
2077
2131
|
W,
|
|
2078
2132
|
G,
|
|
2079
2133
|
K,
|
|
2080
|
-
q
|
|
2134
|
+
q,
|
|
2135
|
+
J
|
|
2081
2136
|
])).optional(),
|
|
2082
2137
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2083
|
-
approvalStatuses: e.array(
|
|
2138
|
+
approvalStatuses: e.array(Z).optional(),
|
|
2084
2139
|
isApprovalCancelled: e.boolean().optional()
|
|
2085
|
-
}),
|
|
2086
|
-
meta:
|
|
2087
|
-
skipped: e.array(
|
|
2088
|
-
}),
|
|
2140
|
+
}), rr = e.object({
|
|
2141
|
+
meta: Q,
|
|
2142
|
+
skipped: e.array($)
|
|
2143
|
+
}), ir = e.object({
|
|
2089
2144
|
statuses: e.array(y).optional(),
|
|
2090
|
-
lifecycleStatuses: e.array(
|
|
2145
|
+
lifecycleStatuses: e.array(P).optional(),
|
|
2091
2146
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2092
|
-
dueOnRange:
|
|
2093
|
-
issuedOnRange:
|
|
2094
|
-
invoiceUuids:
|
|
2147
|
+
dueOnRange: Y.optional(),
|
|
2148
|
+
issuedOnRange: Y.optional(),
|
|
2149
|
+
invoiceUuids: X.optional(),
|
|
2095
2150
|
isDisputed: e.boolean().optional(),
|
|
2096
2151
|
isOverdue: e.boolean().optional(),
|
|
2097
|
-
settlementStatuses: e.array(
|
|
2152
|
+
settlementStatuses: e.array(R).optional(),
|
|
2098
2153
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2099
2154
|
isOutstanding: e.boolean().optional(),
|
|
2100
2155
|
customFields: e.array(e.union([
|
|
2101
|
-
z,
|
|
2102
2156
|
B,
|
|
2103
2157
|
V,
|
|
2104
2158
|
H,
|
|
@@ -2106,34 +2160,34 @@ var Xn = e.object({
|
|
|
2106
2160
|
W,
|
|
2107
2161
|
G,
|
|
2108
2162
|
K,
|
|
2109
|
-
q
|
|
2163
|
+
q,
|
|
2164
|
+
J
|
|
2110
2165
|
])).optional(),
|
|
2111
2166
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2112
|
-
approvalStatuses: e.array(
|
|
2167
|
+
approvalStatuses: e.array(Z).optional(),
|
|
2113
2168
|
isApprovalCancelled: e.boolean().optional()
|
|
2114
|
-
}),
|
|
2115
|
-
meta:
|
|
2116
|
-
skipped: e.array(
|
|
2169
|
+
}), ar = e.object({
|
|
2170
|
+
meta: Q,
|
|
2171
|
+
skipped: e.array($)
|
|
2117
2172
|
});
|
|
2118
2173
|
e.object({
|
|
2119
2174
|
detail: e.string().optional(),
|
|
2120
2175
|
status: e.enum(["409"]),
|
|
2121
2176
|
code: e.enum(["invoice_not_disputed"])
|
|
2122
2177
|
});
|
|
2123
|
-
var
|
|
2178
|
+
var or = e.object({
|
|
2124
2179
|
statuses: e.array(y).optional(),
|
|
2125
|
-
lifecycleStatuses: e.array(
|
|
2180
|
+
lifecycleStatuses: e.array(P).optional(),
|
|
2126
2181
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2127
|
-
dueOnRange:
|
|
2128
|
-
issuedOnRange:
|
|
2129
|
-
invoiceUuids:
|
|
2182
|
+
dueOnRange: Y.optional(),
|
|
2183
|
+
issuedOnRange: Y.optional(),
|
|
2184
|
+
invoiceUuids: X.optional(),
|
|
2130
2185
|
isDisputed: e.boolean().optional(),
|
|
2131
2186
|
isOverdue: e.boolean().optional(),
|
|
2132
|
-
settlementStatuses: e.array(
|
|
2187
|
+
settlementStatuses: e.array(R).optional(),
|
|
2133
2188
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2134
2189
|
isOutstanding: e.boolean().optional(),
|
|
2135
2190
|
customFields: e.array(e.union([
|
|
2136
|
-
z,
|
|
2137
2191
|
B,
|
|
2138
2192
|
V,
|
|
2139
2193
|
H,
|
|
@@ -2141,28 +2195,28 @@ var er = e.object({
|
|
|
2141
2195
|
W,
|
|
2142
2196
|
G,
|
|
2143
2197
|
K,
|
|
2144
|
-
q
|
|
2198
|
+
q,
|
|
2199
|
+
J
|
|
2145
2200
|
])).optional(),
|
|
2146
2201
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2147
|
-
approvalStatuses: e.array(
|
|
2202
|
+
approvalStatuses: e.array(Z).optional(),
|
|
2148
2203
|
isApprovalCancelled: e.boolean().optional()
|
|
2149
|
-
}),
|
|
2150
|
-
meta:
|
|
2151
|
-
skipped: e.array(
|
|
2152
|
-
}),
|
|
2204
|
+
}), sr = e.object({
|
|
2205
|
+
meta: Q,
|
|
2206
|
+
skipped: e.array($)
|
|
2207
|
+
}), cr = e.object({
|
|
2153
2208
|
statuses: e.array(y).optional(),
|
|
2154
|
-
lifecycleStatuses: e.array(
|
|
2209
|
+
lifecycleStatuses: e.array(P).optional(),
|
|
2155
2210
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2156
|
-
dueOnRange:
|
|
2157
|
-
issuedOnRange:
|
|
2158
|
-
invoiceUuids:
|
|
2211
|
+
dueOnRange: Y.optional(),
|
|
2212
|
+
issuedOnRange: Y.optional(),
|
|
2213
|
+
invoiceUuids: X.optional(),
|
|
2159
2214
|
isDisputed: e.boolean().optional(),
|
|
2160
2215
|
isOverdue: e.boolean().optional(),
|
|
2161
|
-
settlementStatuses: e.array(
|
|
2216
|
+
settlementStatuses: e.array(R).optional(),
|
|
2162
2217
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2163
2218
|
isOutstanding: e.boolean().optional(),
|
|
2164
2219
|
customFields: e.array(e.union([
|
|
2165
|
-
z,
|
|
2166
2220
|
B,
|
|
2167
2221
|
V,
|
|
2168
2222
|
H,
|
|
@@ -2170,21 +2224,22 @@ var er = e.object({
|
|
|
2170
2224
|
W,
|
|
2171
2225
|
G,
|
|
2172
2226
|
K,
|
|
2173
|
-
q
|
|
2227
|
+
q,
|
|
2228
|
+
J
|
|
2174
2229
|
])).optional(),
|
|
2175
2230
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2176
|
-
approvalStatuses: e.array(
|
|
2231
|
+
approvalStatuses: e.array(Z).optional(),
|
|
2177
2232
|
isApprovalCancelled: e.boolean().optional()
|
|
2178
|
-
}),
|
|
2179
|
-
meta:
|
|
2180
|
-
skipped: e.array(
|
|
2233
|
+
}), lr = e.object({
|
|
2234
|
+
meta: Q,
|
|
2235
|
+
skipped: e.array($)
|
|
2181
2236
|
});
|
|
2182
2237
|
e.object({
|
|
2183
2238
|
detail: e.string().optional(),
|
|
2184
2239
|
status: e.enum(["404"]),
|
|
2185
2240
|
code: e.enum(["pro_forma_not_found"])
|
|
2186
2241
|
});
|
|
2187
|
-
var
|
|
2242
|
+
var ur = e.object({
|
|
2188
2243
|
entityUuids: e.array(e.uuid()).optional(),
|
|
2189
2244
|
entityTypes: e.array(e.enum([
|
|
2190
2245
|
"customer",
|
|
@@ -2202,13 +2257,13 @@ var ir = e.object({
|
|
|
2202
2257
|
"approval",
|
|
2203
2258
|
"attachment"
|
|
2204
2259
|
])).optional()
|
|
2205
|
-
}),
|
|
2260
|
+
}), dr = e.object({
|
|
2206
2261
|
createdAt: e.string(),
|
|
2207
2262
|
uuid: e.uuid()
|
|
2208
|
-
}),
|
|
2263
|
+
}), fr = e.object({
|
|
2209
2264
|
limit: e.number().gte(0).lte(100).optional(),
|
|
2210
|
-
key:
|
|
2211
|
-
}),
|
|
2265
|
+
key: dr.nullish()
|
|
2266
|
+
}), pr = e.enum([
|
|
2212
2267
|
"invoice-created",
|
|
2213
2268
|
"invoice-updated",
|
|
2214
2269
|
"invoice-finalized",
|
|
@@ -2232,40 +2287,40 @@ var ir = e.object({
|
|
|
2232
2287
|
"credit-note-created",
|
|
2233
2288
|
"credit-note-updated",
|
|
2234
2289
|
"customer-updated"
|
|
2235
|
-
]),
|
|
2290
|
+
]), mr = e.enum([
|
|
2236
2291
|
"create",
|
|
2237
2292
|
"update",
|
|
2238
2293
|
"delete"
|
|
2239
|
-
]),
|
|
2294
|
+
]), hr = e.enum([
|
|
2240
2295
|
"user",
|
|
2241
2296
|
"service",
|
|
2242
2297
|
"system"
|
|
2243
|
-
]),
|
|
2298
|
+
]), gr = e.object({
|
|
2244
2299
|
uuid: e.uuid(),
|
|
2245
2300
|
firstName: e.string().nullable(),
|
|
2246
2301
|
lastName: e.string().nullable(),
|
|
2247
2302
|
email: e.string().nullable()
|
|
2248
|
-
}),
|
|
2303
|
+
}), _r = e.enum([
|
|
2249
2304
|
"actor",
|
|
2250
2305
|
"customer",
|
|
2251
2306
|
"invoice",
|
|
2252
2307
|
"credit_note",
|
|
2253
2308
|
"approval",
|
|
2254
2309
|
"attachment"
|
|
2255
|
-
]),
|
|
2310
|
+
]), vr = e.enum([
|
|
2256
2311
|
"customer",
|
|
2257
2312
|
"invoice",
|
|
2258
2313
|
"credit_note",
|
|
2259
2314
|
"approval",
|
|
2260
2315
|
"api_key",
|
|
2261
2316
|
"file"
|
|
2262
|
-
]),
|
|
2263
|
-
role:
|
|
2264
|
-
type:
|
|
2317
|
+
]), yr = e.object({
|
|
2318
|
+
role: _r,
|
|
2319
|
+
type: vr,
|
|
2265
2320
|
uuid: e.uuid(),
|
|
2266
2321
|
label: e.string().nullable()
|
|
2267
|
-
}),
|
|
2268
|
-
entityRole:
|
|
2322
|
+
}), br = e.object({
|
|
2323
|
+
entityRole: _r,
|
|
2269
2324
|
field: e.string(),
|
|
2270
2325
|
from: e.union([
|
|
2271
2326
|
e.string(),
|
|
@@ -2277,29 +2332,39 @@ var ir = e.object({
|
|
|
2277
2332
|
e.number(),
|
|
2278
2333
|
e.boolean()
|
|
2279
2334
|
]).nullable()
|
|
2280
|
-
}),
|
|
2335
|
+
}), xr = e.object({
|
|
2281
2336
|
createdAt: e.iso.datetime(),
|
|
2282
|
-
action:
|
|
2283
|
-
changeType:
|
|
2284
|
-
actorType:
|
|
2285
|
-
actor:
|
|
2286
|
-
entities: e.array(
|
|
2287
|
-
changes: e.array(
|
|
2288
|
-
}),
|
|
2289
|
-
logs: e.array(
|
|
2290
|
-
nextKey:
|
|
2337
|
+
action: pr,
|
|
2338
|
+
changeType: mr,
|
|
2339
|
+
actorType: hr,
|
|
2340
|
+
actor: gr.nullable(),
|
|
2341
|
+
entities: e.array(yr),
|
|
2342
|
+
changes: e.array(br).nullable()
|
|
2343
|
+
}), Sr = e.object({
|
|
2344
|
+
logs: e.array(xr),
|
|
2345
|
+
nextKey: dr.nullable()
|
|
2291
2346
|
});
|
|
2292
2347
|
e.object({
|
|
2293
2348
|
detail: e.string().optional(),
|
|
2294
2349
|
status: e.enum(["409"]),
|
|
2295
2350
|
code: e.enum(["invoice_not_finalized_for_payment"])
|
|
2351
|
+
}), e.object({
|
|
2352
|
+
detail: e.string().optional(),
|
|
2353
|
+
status: e.enum(["409"]),
|
|
2354
|
+
code: e.enum(["invoice_not_editable_for_advance_payment"])
|
|
2355
|
+
}), e.object({
|
|
2356
|
+
detail: e.string().optional(),
|
|
2357
|
+
status: e.enum(["409"]),
|
|
2358
|
+
code: e.enum(["payment_external_id_already_exists"])
|
|
2296
2359
|
});
|
|
2297
|
-
var
|
|
2360
|
+
var Cr = e.enum(["standard", "advance"]), wr = e.object({
|
|
2298
2361
|
amount: x,
|
|
2299
2362
|
date: e.iso.date(),
|
|
2300
2363
|
paymentReference: e.string().nullish(),
|
|
2301
|
-
remarks: e.string().nullish()
|
|
2302
|
-
|
|
2364
|
+
remarks: e.string().nullish(),
|
|
2365
|
+
type: Cr.optional(),
|
|
2366
|
+
externalId: e.string().nullish()
|
|
2367
|
+
}), Tr = e.object({ uuid: e.uuid() });
|
|
2303
2368
|
e.object({
|
|
2304
2369
|
detail: e.string().optional(),
|
|
2305
2370
|
status: e.enum(["404"]),
|
|
@@ -2308,38 +2373,40 @@ e.object({
|
|
|
2308
2373
|
detail: e.string().optional(),
|
|
2309
2374
|
status: e.enum(["409"]),
|
|
2310
2375
|
code: e.enum(["payment_not_manual"])
|
|
2376
|
+
}), e.object({
|
|
2377
|
+
detail: e.string().optional(),
|
|
2378
|
+
status: e.enum(["409"]),
|
|
2379
|
+
code: e.enum(["advance_payment_locked"])
|
|
2311
2380
|
});
|
|
2312
|
-
var
|
|
2381
|
+
var Er = e.enum(["manual", "exact"]), Dr = e.object({
|
|
2313
2382
|
uuid: e.uuid(),
|
|
2314
2383
|
amount: x,
|
|
2315
2384
|
date: e.iso.date(),
|
|
2316
2385
|
createdAt: e.iso.datetime(),
|
|
2317
2386
|
paymentReference: e.string().nullable(),
|
|
2318
2387
|
remarks: e.string().nullable(),
|
|
2319
|
-
source:
|
|
2320
|
-
|
|
2388
|
+
source: Er,
|
|
2389
|
+
type: Cr
|
|
2390
|
+
}), Or = e.object({ items: e.array(Dr) }), kr = e.union([
|
|
2321
2391
|
e.literal(1),
|
|
2322
2392
|
e.literal(2),
|
|
2323
2393
|
e.literal(3)
|
|
2324
|
-
]),
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
}),
|
|
2328
|
-
|
|
2329
|
-
body: $
|
|
2330
|
-
}), Tr = e.enum(["percentage", "amount"]), Er = e.object({
|
|
2331
|
-
type: Tr,
|
|
2394
|
+
]), Ar = e.object({
|
|
2395
|
+
subject: F,
|
|
2396
|
+
body: F
|
|
2397
|
+
}), jr = e.enum(["percentage", "amount"]), Mr = e.object({
|
|
2398
|
+
type: jr,
|
|
2332
2399
|
amount: x.nullable(),
|
|
2333
2400
|
percentage: e.number().nullable()
|
|
2334
|
-
}),
|
|
2401
|
+
}), Nr = e.object({
|
|
2335
2402
|
uuid: e.uuid(),
|
|
2336
2403
|
issuerUuid: e.uuid(),
|
|
2337
|
-
sequence:
|
|
2338
|
-
schedule:
|
|
2404
|
+
sequence: kr,
|
|
2405
|
+
schedule: Sn,
|
|
2339
2406
|
offsetDays: e.number(),
|
|
2340
|
-
template:
|
|
2341
|
-
fee:
|
|
2342
|
-
}),
|
|
2407
|
+
template: Ar,
|
|
2408
|
+
fee: Mr
|
|
2409
|
+
}), Pr = e.object({ items: e.array(Nr) });
|
|
2343
2410
|
e.object({
|
|
2344
2411
|
detail: e.string().optional(),
|
|
2345
2412
|
status: e.enum(["400"]),
|
|
@@ -2353,61 +2420,36 @@ e.object({
|
|
|
2353
2420
|
status: e.enum(["400"]),
|
|
2354
2421
|
code: e.enum(["additional_reminder_config"])
|
|
2355
2422
|
});
|
|
2356
|
-
var
|
|
2357
|
-
subject:
|
|
2358
|
-
body:
|
|
2359
|
-
}),
|
|
2423
|
+
var Fr = e.object({
|
|
2424
|
+
subject: F,
|
|
2425
|
+
body: F
|
|
2426
|
+
}), Ir = e.object({
|
|
2360
2427
|
sequence: e.number(),
|
|
2361
2428
|
offsetDays: e.int().gte(1),
|
|
2362
|
-
schedule:
|
|
2363
|
-
template:
|
|
2364
|
-
fee:
|
|
2365
|
-
}),
|
|
2429
|
+
schedule: Sn,
|
|
2430
|
+
template: Fr,
|
|
2431
|
+
fee: Mr
|
|
2432
|
+
}), Lr = e.object({ reminders: e.array(Ir) }), Rr = e.enum([
|
|
2366
2433
|
"invoice",
|
|
2367
2434
|
"invoice-line",
|
|
2368
2435
|
"invoice-line-group"
|
|
2369
|
-
]),
|
|
2370
|
-
"text",
|
|
2371
|
-
"text_array",
|
|
2372
|
-
"number",
|
|
2373
|
-
"boolean",
|
|
2374
|
-
"timestamp",
|
|
2375
|
-
"date",
|
|
2376
|
-
"single_select",
|
|
2377
|
-
"multi_select",
|
|
2378
|
-
"monetary"
|
|
2379
|
-
]), Fr = e.object({
|
|
2380
|
-
value: e.string(),
|
|
2381
|
-
label: $,
|
|
2382
|
-
order: e.number()
|
|
2383
|
-
}), Ir = e.object({
|
|
2384
|
-
uuid: e.uuid(),
|
|
2385
|
-
tenantUuid: e.uuid().nullable(),
|
|
2386
|
-
entityType: e.string(),
|
|
2387
|
-
key: e.string(),
|
|
2388
|
-
label: $,
|
|
2389
|
-
description: $.nullable(),
|
|
2390
|
-
type: Pr,
|
|
2391
|
-
isRequired: e.boolean(),
|
|
2392
|
-
choices: e.array(Fr).nullable(),
|
|
2393
|
-
rules: e.record(e.string(), e.unknown()).nullable()
|
|
2394
|
-
});
|
|
2436
|
+
]), zr = e.object({ entityTypes: e.array(Rr).optional() });
|
|
2395
2437
|
e.object({
|
|
2396
2438
|
detail: e.string().optional(),
|
|
2397
2439
|
status: e.enum(["404"]),
|
|
2398
2440
|
code: e.enum(["dunning_case_not_found"])
|
|
2399
2441
|
});
|
|
2400
|
-
var
|
|
2442
|
+
var Br = e.object({
|
|
2401
2443
|
uuid: e.uuid(),
|
|
2402
2444
|
type: v,
|
|
2403
2445
|
name: e.string(),
|
|
2404
2446
|
vatNumber: e.string().nullable(),
|
|
2405
2447
|
email: e.string().nullable()
|
|
2406
|
-
}),
|
|
2448
|
+
}), Vr = e.object({
|
|
2407
2449
|
uuid: e.uuid(),
|
|
2408
2450
|
date: e.iso.date(),
|
|
2409
2451
|
amount: x
|
|
2410
|
-
}),
|
|
2452
|
+
}), Hr = e.object({
|
|
2411
2453
|
uuid: e.uuid(),
|
|
2412
2454
|
sequence: e.string(),
|
|
2413
2455
|
grossAmount: x,
|
|
@@ -2416,7 +2458,7 @@ var Lr = e.object({
|
|
|
2416
2458
|
e.enum(["infinity"]),
|
|
2417
2459
|
e.enum(["-infinity"])
|
|
2418
2460
|
])
|
|
2419
|
-
}),
|
|
2461
|
+
}), Ur = e.object({
|
|
2420
2462
|
uuid: e.uuid(),
|
|
2421
2463
|
subject: e.string().nullable(),
|
|
2422
2464
|
sequence: e.string(),
|
|
@@ -2427,10 +2469,10 @@ var Lr = e.object({
|
|
|
2427
2469
|
totalCreditedAmount: x,
|
|
2428
2470
|
paidAmount: x,
|
|
2429
2471
|
isDisputed: e.boolean(),
|
|
2430
|
-
settlementStatus:
|
|
2431
|
-
payments: e.array(
|
|
2432
|
-
creditNotes: e.array(
|
|
2433
|
-
}),
|
|
2472
|
+
settlementStatus: R,
|
|
2473
|
+
payments: e.array(Vr),
|
|
2474
|
+
creditNotes: e.array(Hr)
|
|
2475
|
+
}), Wr = e.object({
|
|
2434
2476
|
uuid: e.uuid(),
|
|
2435
2477
|
sentAt: e.union([
|
|
2436
2478
|
e.iso.datetime(),
|
|
@@ -2438,7 +2480,7 @@ var Lr = e.object({
|
|
|
2438
2480
|
e.enum(["-infinity"])
|
|
2439
2481
|
]).nullable(),
|
|
2440
2482
|
hasErrors: e.boolean()
|
|
2441
|
-
}),
|
|
2483
|
+
}), Gr = e.enum(["missing_email"]), Kr = e.object({
|
|
2442
2484
|
uuid: e.uuid(),
|
|
2443
2485
|
createdAt: e.iso.datetime(),
|
|
2444
2486
|
updatedAt: e.iso.datetime(),
|
|
@@ -2446,8 +2488,8 @@ var Lr = e.object({
|
|
|
2446
2488
|
isClosed: e.boolean(),
|
|
2447
2489
|
nextReminderOn: e.iso.date().nullable(),
|
|
2448
2490
|
level: e.number().nullable(),
|
|
2449
|
-
customer:
|
|
2450
|
-
invoices: e.array(
|
|
2491
|
+
customer: Br,
|
|
2492
|
+
invoices: e.array(Ur),
|
|
2451
2493
|
outstandingBalance: x,
|
|
2452
2494
|
totalPaid: x,
|
|
2453
2495
|
totalInvoiced: x,
|
|
@@ -2460,17 +2502,17 @@ var Lr = e.object({
|
|
|
2460
2502
|
]).nullable(),
|
|
2461
2503
|
canSendReminder: e.boolean(),
|
|
2462
2504
|
canRetryReminder: e.boolean(),
|
|
2463
|
-
latestCreatedReminder:
|
|
2464
|
-
blockedReason:
|
|
2465
|
-
}),
|
|
2505
|
+
latestCreatedReminder: Wr.nullable(),
|
|
2506
|
+
blockedReason: Gr.nullable()
|
|
2507
|
+
}), qr = e.object({
|
|
2466
2508
|
isOpen: e.boolean().optional(),
|
|
2467
2509
|
customerUuid: e.uuid().optional(),
|
|
2468
2510
|
level: e.number().optional(),
|
|
2469
|
-
dunningCaseUuids:
|
|
2470
|
-
}),
|
|
2511
|
+
dunningCaseUuids: X.optional()
|
|
2512
|
+
}), Jr = e.object({
|
|
2471
2513
|
uuid: e.uuid(),
|
|
2472
2514
|
name: e.string()
|
|
2473
|
-
}),
|
|
2515
|
+
}), Yr = e.object({
|
|
2474
2516
|
uuid: e.uuid(),
|
|
2475
2517
|
sentAt: e.union([
|
|
2476
2518
|
e.iso.datetime(),
|
|
@@ -2478,9 +2520,9 @@ var Lr = e.object({
|
|
|
2478
2520
|
e.enum(["-infinity"])
|
|
2479
2521
|
]).nullable(),
|
|
2480
2522
|
hasErrors: e.boolean()
|
|
2481
|
-
}),
|
|
2523
|
+
}), Xr = e.object({
|
|
2482
2524
|
uuid: e.uuid(),
|
|
2483
|
-
customer:
|
|
2525
|
+
customer: Jr,
|
|
2484
2526
|
level: e.number().nullable(),
|
|
2485
2527
|
daysOverdue: e.number(),
|
|
2486
2528
|
outstandingBalance: x,
|
|
@@ -2496,10 +2538,10 @@ var Lr = e.object({
|
|
|
2496
2538
|
]).nullable(),
|
|
2497
2539
|
canSendReminder: e.boolean(),
|
|
2498
2540
|
canRetryReminder: e.boolean(),
|
|
2499
|
-
latestCreatedReminder:
|
|
2500
|
-
blockedReason:
|
|
2501
|
-
}),
|
|
2502
|
-
items: e.array(
|
|
2541
|
+
latestCreatedReminder: Yr.nullable(),
|
|
2542
|
+
blockedReason: Gr.nullable()
|
|
2543
|
+
}), Zr = e.object({
|
|
2544
|
+
items: e.array(Xr),
|
|
2503
2545
|
meta: g
|
|
2504
2546
|
});
|
|
2505
2547
|
e.object({
|
|
@@ -2527,23 +2569,23 @@ e.object({
|
|
|
2527
2569
|
status: e.enum(["409"]),
|
|
2528
2570
|
code: e.enum(["dunning_case_reminder_not_retryable"])
|
|
2529
2571
|
});
|
|
2530
|
-
var
|
|
2572
|
+
var Qr = e.object({
|
|
2531
2573
|
isOpen: e.boolean().optional(),
|
|
2532
2574
|
customerUuid: e.uuid().optional(),
|
|
2533
2575
|
level: e.number().optional(),
|
|
2534
|
-
dunningCaseUuids:
|
|
2535
|
-
}),
|
|
2536
|
-
meta:
|
|
2537
|
-
skipped: e.array(
|
|
2538
|
-
}),
|
|
2576
|
+
dunningCaseUuids: X.optional()
|
|
2577
|
+
}), $r = e.object({
|
|
2578
|
+
meta: Q,
|
|
2579
|
+
skipped: e.array($)
|
|
2580
|
+
}), ei = e.object({
|
|
2539
2581
|
isOpen: e.boolean().optional(),
|
|
2540
2582
|
customerUuid: e.uuid().optional(),
|
|
2541
2583
|
level: e.number().optional(),
|
|
2542
|
-
dunningCaseUuids:
|
|
2543
|
-
}),
|
|
2544
|
-
meta:
|
|
2545
|
-
skipped: e.array(
|
|
2546
|
-
}),
|
|
2584
|
+
dunningCaseUuids: X.optional()
|
|
2585
|
+
}), ti = e.object({
|
|
2586
|
+
meta: Q,
|
|
2587
|
+
skipped: e.array($)
|
|
2588
|
+
}), ni = e.object({
|
|
2547
2589
|
name: e.string().nullable(),
|
|
2548
2590
|
email: e.email().nullable(),
|
|
2549
2591
|
phoneNumber: e.string().nullable(),
|
|
@@ -2553,7 +2595,7 @@ var Yr = e.object({
|
|
|
2553
2595
|
bankAccountNumber: e.string().nullable(),
|
|
2554
2596
|
alternativeBankAccountNumber: e.string().nullable(),
|
|
2555
2597
|
currency: b
|
|
2556
|
-
}),
|
|
2598
|
+
}), ri = e.object({
|
|
2557
2599
|
name: e.string(),
|
|
2558
2600
|
address: C.nullable(),
|
|
2559
2601
|
email: e.email().nullable(),
|
|
@@ -2563,10 +2605,10 @@ var Yr = e.object({
|
|
|
2563
2605
|
type: v,
|
|
2564
2606
|
locale: _,
|
|
2565
2607
|
currency: b
|
|
2566
|
-
}),
|
|
2608
|
+
}), ii = e.object({
|
|
2567
2609
|
name: e.string().nullable(),
|
|
2568
2610
|
email: e.email()
|
|
2569
|
-
}),
|
|
2611
|
+
}), ai = e.object({
|
|
2570
2612
|
sequence: e.string(),
|
|
2571
2613
|
issuedOn: e.iso.date(),
|
|
2572
2614
|
dueOn: e.iso.date(),
|
|
@@ -2575,21 +2617,21 @@ var Yr = e.object({
|
|
|
2575
2617
|
daysOverdue: e.number(),
|
|
2576
2618
|
fee: x,
|
|
2577
2619
|
isNew: e.boolean()
|
|
2578
|
-
}),
|
|
2620
|
+
}), oi = e.object({
|
|
2579
2621
|
sequence: e.string(),
|
|
2580
2622
|
issuedOn: e.iso.date(),
|
|
2581
2623
|
dueOn: e.iso.date(),
|
|
2582
2624
|
outstandingBalance: x,
|
|
2583
2625
|
daysOverdue: e.number()
|
|
2584
|
-
}),
|
|
2626
|
+
}), si = e.object({
|
|
2585
2627
|
createdAt: e.iso.datetime(),
|
|
2586
2628
|
sentAt: e.iso.datetime().nullable(),
|
|
2587
2629
|
level: e.number(),
|
|
2588
|
-
issuer:
|
|
2589
|
-
customer:
|
|
2590
|
-
recipient:
|
|
2591
|
-
invoices: e.array(
|
|
2592
|
-
outstandingInvoices: e.array(
|
|
2630
|
+
issuer: ni,
|
|
2631
|
+
customer: ri,
|
|
2632
|
+
recipient: ii,
|
|
2633
|
+
invoices: e.array(ai),
|
|
2634
|
+
outstandingInvoices: e.array(oi),
|
|
2593
2635
|
totalFee: x
|
|
2594
2636
|
});
|
|
2595
2637
|
e.object({
|
|
@@ -2613,20 +2655,19 @@ e.object({
|
|
|
2613
2655
|
status: e.enum(["409"]),
|
|
2614
2656
|
code: e.enum(["customer_has_no_approval_email"])
|
|
2615
2657
|
});
|
|
2616
|
-
var
|
|
2658
|
+
var ci = e.object({
|
|
2617
2659
|
statuses: e.array(y).optional(),
|
|
2618
|
-
lifecycleStatuses: e.array(
|
|
2660
|
+
lifecycleStatuses: e.array(P).optional(),
|
|
2619
2661
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2620
|
-
dueOnRange:
|
|
2621
|
-
issuedOnRange:
|
|
2622
|
-
invoiceUuids:
|
|
2662
|
+
dueOnRange: Y.optional(),
|
|
2663
|
+
issuedOnRange: Y.optional(),
|
|
2664
|
+
invoiceUuids: X.optional(),
|
|
2623
2665
|
isDisputed: e.boolean().optional(),
|
|
2624
2666
|
isOverdue: e.boolean().optional(),
|
|
2625
|
-
settlementStatuses: e.array(
|
|
2667
|
+
settlementStatuses: e.array(R).optional(),
|
|
2626
2668
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2627
2669
|
isOutstanding: e.boolean().optional(),
|
|
2628
2670
|
customFields: e.array(e.union([
|
|
2629
|
-
z,
|
|
2630
2671
|
B,
|
|
2631
2672
|
V,
|
|
2632
2673
|
H,
|
|
@@ -2634,28 +2675,28 @@ var ai = e.object({
|
|
|
2634
2675
|
W,
|
|
2635
2676
|
G,
|
|
2636
2677
|
K,
|
|
2637
|
-
q
|
|
2678
|
+
q,
|
|
2679
|
+
J
|
|
2638
2680
|
])).optional(),
|
|
2639
2681
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2640
|
-
approvalStatuses: e.array(
|
|
2682
|
+
approvalStatuses: e.array(Z).optional(),
|
|
2641
2683
|
isApprovalCancelled: e.boolean().optional()
|
|
2642
|
-
}),
|
|
2643
|
-
meta:
|
|
2644
|
-
skipped: e.array(
|
|
2645
|
-
}),
|
|
2684
|
+
}), li = e.object({
|
|
2685
|
+
meta: Q,
|
|
2686
|
+
skipped: e.array($)
|
|
2687
|
+
}), ui = e.object({
|
|
2646
2688
|
statuses: e.array(y).optional(),
|
|
2647
|
-
lifecycleStatuses: e.array(
|
|
2689
|
+
lifecycleStatuses: e.array(P).optional(),
|
|
2648
2690
|
customerUuids: e.array(e.uuid()).optional(),
|
|
2649
|
-
dueOnRange:
|
|
2650
|
-
issuedOnRange:
|
|
2651
|
-
invoiceUuids:
|
|
2691
|
+
dueOnRange: Y.optional(),
|
|
2692
|
+
issuedOnRange: Y.optional(),
|
|
2693
|
+
invoiceUuids: X.optional(),
|
|
2652
2694
|
isDisputed: e.boolean().optional(),
|
|
2653
2695
|
isOverdue: e.boolean().optional(),
|
|
2654
|
-
settlementStatuses: e.array(
|
|
2696
|
+
settlementStatuses: e.array(R).optional(),
|
|
2655
2697
|
customerExternalIds: e.array(e.string()).optional(),
|
|
2656
2698
|
isOutstanding: e.boolean().optional(),
|
|
2657
2699
|
customFields: e.array(e.union([
|
|
2658
|
-
z,
|
|
2659
2700
|
B,
|
|
2660
2701
|
V,
|
|
2661
2702
|
H,
|
|
@@ -2663,14 +2704,15 @@ var ai = e.object({
|
|
|
2663
2704
|
W,
|
|
2664
2705
|
G,
|
|
2665
2706
|
K,
|
|
2666
|
-
q
|
|
2707
|
+
q,
|
|
2708
|
+
J
|
|
2667
2709
|
])).optional(),
|
|
2668
2710
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2669
|
-
approvalStatuses: e.array(
|
|
2711
|
+
approvalStatuses: e.array(Z).optional(),
|
|
2670
2712
|
isApprovalCancelled: e.boolean().optional()
|
|
2671
|
-
}),
|
|
2672
|
-
meta:
|
|
2673
|
-
skipped: e.array(
|
|
2713
|
+
}), di = e.object({
|
|
2714
|
+
meta: Q,
|
|
2715
|
+
skipped: e.array($)
|
|
2674
2716
|
});
|
|
2675
2717
|
e.object({
|
|
2676
2718
|
detail: e.string().optional(),
|
|
@@ -2685,7 +2727,7 @@ e.object({
|
|
|
2685
2727
|
status: e.enum(["400"]),
|
|
2686
2728
|
code: e.enum(["missing_invoice_approval_file"])
|
|
2687
2729
|
});
|
|
2688
|
-
var
|
|
2730
|
+
var fi = e.object({
|
|
2689
2731
|
fileUuids: e.array(e.uuid()).optional(),
|
|
2690
2732
|
remarks: e.string().nullish()
|
|
2691
2733
|
});
|
|
@@ -2694,9 +2736,9 @@ e.object({
|
|
|
2694
2736
|
status: e.enum(["400"]),
|
|
2695
2737
|
code: e.enum(["missing_rejection_remarks"])
|
|
2696
2738
|
});
|
|
2697
|
-
var
|
|
2739
|
+
var pi = e.object({
|
|
2698
2740
|
remarks: e.string().max(500).nullish(),
|
|
2699
|
-
reason:
|
|
2741
|
+
reason: Tn,
|
|
2700
2742
|
fileUuids: e.array(e.uuid()).optional()
|
|
2701
2743
|
});
|
|
2702
2744
|
e.object({
|
|
@@ -2716,18 +2758,18 @@ e.object({
|
|
|
2716
2758
|
status: e.enum(["409"]),
|
|
2717
2759
|
code: e.enum(["approval_restart_requires_active_approval"])
|
|
2718
2760
|
});
|
|
2719
|
-
var
|
|
2720
|
-
status:
|
|
2761
|
+
var mi = e.object({
|
|
2762
|
+
status: wn.optional(),
|
|
2721
2763
|
invoiceUuid: e.uuid().optional(),
|
|
2722
2764
|
customerUuid: e.uuid().optional(),
|
|
2723
|
-
level:
|
|
2765
|
+
level: z.optional(),
|
|
2724
2766
|
hasChangesSinceApprovalSent: e.boolean().optional(),
|
|
2725
2767
|
isCancelled: e.boolean().optional()
|
|
2726
|
-
}),
|
|
2768
|
+
}), hi = e.object({
|
|
2727
2769
|
uuid: e.uuid(),
|
|
2728
2770
|
subject: e.string().nullable(),
|
|
2729
2771
|
hasChangesSinceApprovalSent: e.boolean()
|
|
2730
|
-
}),
|
|
2772
|
+
}), gi = e.object({
|
|
2731
2773
|
uuid: e.uuid(),
|
|
2732
2774
|
issuedOn: e.union([
|
|
2733
2775
|
e.iso.date(),
|
|
@@ -2737,16 +2779,16 @@ var di = e.object({
|
|
|
2737
2779
|
netAmount: x,
|
|
2738
2780
|
grossAmount: x,
|
|
2739
2781
|
balanceDueAmount: x.nullable()
|
|
2740
|
-
}),
|
|
2782
|
+
}), _i = e.object({
|
|
2741
2783
|
uuid: e.uuid(),
|
|
2742
2784
|
name: e.string().nullable()
|
|
2743
|
-
}),
|
|
2785
|
+
}), vi = e.object({
|
|
2744
2786
|
name: e.string().nullable(),
|
|
2745
2787
|
email: e.email().nullable()
|
|
2746
|
-
}),
|
|
2788
|
+
}), yi = e.object({
|
|
2747
2789
|
uuid: e.uuid(),
|
|
2748
2790
|
createdAt: e.iso.datetime(),
|
|
2749
|
-
status:
|
|
2791
|
+
status: wn,
|
|
2750
2792
|
sentAt: e.union([
|
|
2751
2793
|
e.iso.datetime(),
|
|
2752
2794
|
e.enum(["infinity"]),
|
|
@@ -2768,21 +2810,21 @@ var di = e.object({
|
|
|
2768
2810
|
e.enum(["-infinity"])
|
|
2769
2811
|
]).nullable(),
|
|
2770
2812
|
customerRemark: e.string().nullable(),
|
|
2771
|
-
rejectionReason:
|
|
2772
|
-
level:
|
|
2813
|
+
rejectionReason: Tn.nullable(),
|
|
2814
|
+
level: z.nullable(),
|
|
2773
2815
|
lastReminderSentAt: e.union([
|
|
2774
2816
|
e.iso.datetime(),
|
|
2775
2817
|
e.enum(["infinity"]),
|
|
2776
2818
|
e.enum(["-infinity"])
|
|
2777
2819
|
]).nullable(),
|
|
2778
|
-
invoice:
|
|
2779
|
-
proForma:
|
|
2780
|
-
customer:
|
|
2781
|
-
recipient:
|
|
2782
|
-
}),
|
|
2783
|
-
items: e.array(
|
|
2820
|
+
invoice: hi,
|
|
2821
|
+
proForma: gi,
|
|
2822
|
+
customer: _i,
|
|
2823
|
+
recipient: vi
|
|
2824
|
+
}), bi = e.object({
|
|
2825
|
+
items: e.array(yi),
|
|
2784
2826
|
meta: g
|
|
2785
|
-
}),
|
|
2827
|
+
}), xi = e.object({
|
|
2786
2828
|
uuid: e.uuid(),
|
|
2787
2829
|
name: e.string().nullable(),
|
|
2788
2830
|
email: e.email().nullable(),
|
|
@@ -2792,7 +2834,7 @@ var di = e.object({
|
|
|
2792
2834
|
vatNumber: e.string().nullable(),
|
|
2793
2835
|
bankAccountNumber: e.string().nullable(),
|
|
2794
2836
|
alternativeBankAccountNumber: e.string().nullable()
|
|
2795
|
-
}),
|
|
2837
|
+
}), Si = e.object({
|
|
2796
2838
|
uuid: e.uuid(),
|
|
2797
2839
|
name: e.string().nullable(),
|
|
2798
2840
|
email: e.email().nullable(),
|
|
@@ -2800,7 +2842,7 @@ var di = e.object({
|
|
|
2800
2842
|
address: C.nullable(),
|
|
2801
2843
|
vatNumber: e.string().nullable(),
|
|
2802
2844
|
type: v
|
|
2803
|
-
}),
|
|
2845
|
+
}), Ci = e.object({
|
|
2804
2846
|
uuid: e.uuid(),
|
|
2805
2847
|
groupUuid: e.uuid().nullable(),
|
|
2806
2848
|
position: e.number(),
|
|
@@ -2815,18 +2857,19 @@ var di = e.object({
|
|
|
2815
2857
|
k,
|
|
2816
2858
|
A,
|
|
2817
2859
|
j,
|
|
2818
|
-
M
|
|
2860
|
+
M,
|
|
2861
|
+
N
|
|
2819
2862
|
])),
|
|
2820
2863
|
quantity: e.number(),
|
|
2821
2864
|
unitPrice: x,
|
|
2822
|
-
vatRate:
|
|
2865
|
+
vatRate: I,
|
|
2823
2866
|
vatRatePercentage: e.number(),
|
|
2824
2867
|
netAmount: x,
|
|
2825
2868
|
grossAmount: x,
|
|
2826
|
-
discount:
|
|
2827
|
-
unit:
|
|
2869
|
+
discount: L.nullable(),
|
|
2870
|
+
unit: $t,
|
|
2828
2871
|
isDiscount: e.boolean()
|
|
2829
|
-
}),
|
|
2872
|
+
}), wi = e.object({
|
|
2830
2873
|
uuid: e.uuid(),
|
|
2831
2874
|
position: e.number(),
|
|
2832
2875
|
name: e.string(),
|
|
@@ -2840,21 +2883,22 @@ var di = e.object({
|
|
|
2840
2883
|
k,
|
|
2841
2884
|
A,
|
|
2842
2885
|
j,
|
|
2843
|
-
M
|
|
2886
|
+
M,
|
|
2887
|
+
N
|
|
2844
2888
|
])),
|
|
2845
|
-
lines: e.array(
|
|
2846
|
-
groups: e.array(e.lazy(() =>
|
|
2847
|
-
}),
|
|
2848
|
-
vatRate:
|
|
2889
|
+
lines: e.array(Ci),
|
|
2890
|
+
groups: e.array(e.lazy(() => wi))
|
|
2891
|
+
}), Ti = e.object({
|
|
2892
|
+
vatRate: I,
|
|
2849
2893
|
netAmount: x,
|
|
2850
2894
|
vatAmount: x
|
|
2851
|
-
}),
|
|
2895
|
+
}), Ei = e.object({
|
|
2852
2896
|
uuid: e.uuid(),
|
|
2853
2897
|
createdAt: e.iso.datetime(),
|
|
2854
2898
|
updatedAt: e.iso.datetime(),
|
|
2855
2899
|
issueOn: e.iso.date().nullable(),
|
|
2856
|
-
issuer:
|
|
2857
|
-
customer:
|
|
2900
|
+
issuer: xi,
|
|
2901
|
+
customer: Si,
|
|
2858
2902
|
paymentReference: e.string().nullable(),
|
|
2859
2903
|
subject: e.string().nullable(),
|
|
2860
2904
|
poNumber: e.string().nullable(),
|
|
@@ -2867,26 +2911,29 @@ var di = e.object({
|
|
|
2867
2911
|
k,
|
|
2868
2912
|
A,
|
|
2869
2913
|
j,
|
|
2870
|
-
M
|
|
2914
|
+
M,
|
|
2915
|
+
N
|
|
2871
2916
|
])),
|
|
2872
|
-
ungroupedLines: e.array(
|
|
2873
|
-
groups: e.array(
|
|
2874
|
-
vatSummaries: e.array(
|
|
2917
|
+
ungroupedLines: e.array(Ci),
|
|
2918
|
+
groups: e.array(wi),
|
|
2919
|
+
vatSummaries: e.array(Ti),
|
|
2875
2920
|
grossAmount: x,
|
|
2876
2921
|
netAmount: x,
|
|
2877
2922
|
effectiveNet: x,
|
|
2878
2923
|
vatAmount: x,
|
|
2879
2924
|
totalDiscountAmount: x.nullable(),
|
|
2880
|
-
globalDiscount:
|
|
2925
|
+
globalDiscount: L.nullable(),
|
|
2926
|
+
advancePaymentAmount: x.nullable(),
|
|
2927
|
+
amountDue: x,
|
|
2881
2928
|
externalRemarks: e.string().nullable()
|
|
2882
|
-
}),
|
|
2929
|
+
}), Di = e.enum(["after_approval_request", "after_last_reminder"]), Oi = e.object({
|
|
2883
2930
|
uuid: e.uuid(),
|
|
2884
2931
|
issuerUuid: e.uuid(),
|
|
2885
|
-
sequence:
|
|
2886
|
-
schedule:
|
|
2932
|
+
sequence: z,
|
|
2933
|
+
schedule: Di,
|
|
2887
2934
|
offsetDays: e.number(),
|
|
2888
|
-
template:
|
|
2889
|
-
}),
|
|
2935
|
+
template: Ar
|
|
2936
|
+
}), ki = e.object({ items: e.array(Oi) });
|
|
2890
2937
|
e.object({
|
|
2891
2938
|
detail: e.string().optional(),
|
|
2892
2939
|
status: e.enum(["400"]),
|
|
@@ -2900,31 +2947,65 @@ e.object({
|
|
|
2900
2947
|
status: e.enum(["400"]),
|
|
2901
2948
|
code: e.enum(["additional_approval_reminder_config"])
|
|
2902
2949
|
});
|
|
2903
|
-
var
|
|
2904
|
-
sequence:
|
|
2950
|
+
var Ai = e.object({
|
|
2951
|
+
sequence: z,
|
|
2905
2952
|
offsetDays: e.int().gte(1),
|
|
2906
|
-
schedule:
|
|
2907
|
-
template:
|
|
2908
|
-
}),
|
|
2953
|
+
schedule: Di,
|
|
2954
|
+
template: Fr
|
|
2955
|
+
}), ji = e.object({ reminders: e.array(Ai).max(2) }), Mi = e.enum(["soluz"]), Ni = e.object({
|
|
2956
|
+
provider: Mi,
|
|
2957
|
+
partyId: e.string(),
|
|
2958
|
+
enabled: e.boolean(),
|
|
2959
|
+
hasApiKey: e.boolean(),
|
|
2960
|
+
validatedAt: e.iso.datetime()
|
|
2961
|
+
}), Pi = e.object({
|
|
2962
|
+
connection: Ni.nullable(),
|
|
2963
|
+
providers: e.array(Mi)
|
|
2964
|
+
});
|
|
2965
|
+
e.object({
|
|
2966
|
+
detail: e.string().optional(),
|
|
2967
|
+
status: e.enum(["400"]),
|
|
2968
|
+
code: e.enum(["peppol_error"]),
|
|
2969
|
+
meta: e.record(e.string(), e.unknown())
|
|
2970
|
+
}), e.object({ provider: Mi });
|
|
2971
|
+
var Fi = e.object({
|
|
2972
|
+
id: e.string(),
|
|
2973
|
+
name: e.string(),
|
|
2974
|
+
vatNumber: e.string()
|
|
2975
|
+
}), Ii = e.object({ companies: e.array(Fi) });
|
|
2909
2976
|
e.object({
|
|
2977
|
+
provider: Mi,
|
|
2978
|
+
partyId: e.string(),
|
|
2979
|
+
enabled: e.boolean()
|
|
2980
|
+
}), e.object({
|
|
2910
2981
|
detail: e.string().optional(),
|
|
2911
2982
|
status: e.enum(["500"]),
|
|
2912
2983
|
code: e.enum(["internal_server_error"])
|
|
2913
|
-
})
|
|
2984
|
+
});
|
|
2985
|
+
var Li = e.object({
|
|
2986
|
+
provider: Mi,
|
|
2987
|
+
apiKey: e.string().optional()
|
|
2988
|
+
}), Ri = e.object({
|
|
2989
|
+
provider: Mi,
|
|
2990
|
+
apiKey: e.string().optional(),
|
|
2991
|
+
partyId: e.string(),
|
|
2992
|
+
enabled: e.boolean()
|
|
2993
|
+
});
|
|
2994
|
+
e.object({
|
|
2914
2995
|
search: e.string().optional(),
|
|
2915
2996
|
pagination: be.optional()
|
|
2916
2997
|
}), e.object({ uuid: e.uuid() }), e.void(), e.object({
|
|
2917
2998
|
fresh: e.boolean(),
|
|
2918
2999
|
collections: e.array(Ce).optional()
|
|
2919
3000
|
}), e.object({ collections: e.array(Ce).optional() }), e.object({ user: e.uuid() }), e.object({ uuid: e.uuid() });
|
|
2920
|
-
var
|
|
3001
|
+
var zi = e.object({
|
|
2921
3002
|
pagination: h.optional(),
|
|
2922
3003
|
search: e.string().optional()
|
|
2923
|
-
}),
|
|
3004
|
+
}), Bi = De;
|
|
2924
3005
|
e.void(), e.void(), e.object({ role: e.uuid() }), e.void(), e.object({ role: e.uuid() }), e.object({ role: e.uuid() }), e.void();
|
|
2925
|
-
var
|
|
3006
|
+
var Vi = je, Hi = Me;
|
|
2926
3007
|
e.object({ file: e.uuid() }), e.void();
|
|
2927
|
-
var
|
|
3008
|
+
var Ui = Ne, Wi = e.object({ file: e.uuid() }), Gi = e.void(), Ki = e.object({ file: e.uuid() });
|
|
2928
3009
|
e.object({ file: e.uuid() }), e.object({ token: e.string() }), e.object({
|
|
2929
3010
|
filter: Re.optional(),
|
|
2930
3011
|
pagination: Be.optional()
|
|
@@ -2943,699 +3024,733 @@ e.object({ file: e.uuid() }), e.object({ token: e.string() }), e.object({
|
|
|
2943
3024
|
pagination: h.optional(),
|
|
2944
3025
|
search: e.string().optional()
|
|
2945
3026
|
}), 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();
|
|
2946
|
-
var
|
|
3027
|
+
var qi = e.object({
|
|
2947
3028
|
pagination: h.optional(),
|
|
2948
3029
|
filter: Ft.optional(),
|
|
2949
3030
|
search: e.string().optional()
|
|
2950
|
-
}),
|
|
3031
|
+
}), Ji = Lt, Yi = e.object({ uuid: e.uuid() }), Xi = Pt;
|
|
2951
3032
|
e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.object({ uuid: e.uuid() }), e.void();
|
|
2952
|
-
var
|
|
3033
|
+
var Zi = e.object({ uuid: e.uuid() }), Qi = e.object({ pagination: h.optional() }), $i = Bt, ea = Vt, ta = Ht, na = e.void(), ra = e.object({ token: e.string() }), ia = on, aa = e.object({
|
|
2953
3034
|
pagination: h.optional(),
|
|
2954
|
-
sort: e.array(
|
|
2955
|
-
filter:
|
|
3035
|
+
sort: e.array(kn).optional(),
|
|
3036
|
+
filter: jn.optional(),
|
|
2956
3037
|
search: e.string().optional()
|
|
2957
|
-
}),
|
|
3038
|
+
}), oa = Fn, sa = sn, ca = cn, la = e.object({ uuid: e.uuid() }), ua = e.void(), da = e.object({ uuid: e.uuid() }), fa = Dn, pa = In, ma = e.object({ uuid: e.uuid() }), ha = e.void(), ga = zn, _a = e.object({ uuid: e.uuid() }), va = e.void();
|
|
2958
3039
|
e.object({ uuid: e.uuid() }), e.void();
|
|
2959
|
-
var
|
|
2960
|
-
filter:
|
|
3040
|
+
var ya = Bn, ba = e.object({ uuid: e.uuid() }), xa = e.void(), Sa = Vn, Ca = e.object({ uuid: e.uuid() }), wa = e.void(), Ta = e.object({ uuid: e.uuid() }), Ea = e.object({ uuid: e.uuid() }), Da = Un, Oa = Kn, ka = e.object({ uuid: e.uuid() }), Aa = e.void(), ja = qn, Ma = e.object({ uuid: e.uuid() }), Na = e.void(), Pa = e.object({ uuid: e.uuid() }), Fa = e.object({ uuid: e.uuid() }), Ia = e.object({
|
|
3041
|
+
filter: Jn.optional(),
|
|
2961
3042
|
search: e.string().optional()
|
|
2962
|
-
}),
|
|
2963
|
-
filter:
|
|
3043
|
+
}), La = Qn, Ra = e.object({
|
|
3044
|
+
filter: $n.optional(),
|
|
2964
3045
|
search: e.string().optional()
|
|
2965
|
-
}),
|
|
2966
|
-
filter:
|
|
3046
|
+
}), za = er, Ba = e.object({ uuid: e.uuid() }), Va = e.void(), Ha = e.object({ uuid: e.uuid() }), Ua = tr, Wa = e.object({ uuid: e.uuid() }), Ga = e.void(), Ka = e.object({ uuid: e.uuid() }), qa = e.void(), Ja = e.object({ uuid: e.uuid() }), Ya = e.void(), Xa = e.object({ uuid: e.uuid() }), Za = e.void(), Qa = e.object({ uuid: e.uuid() }), $a = e.void(), eo = e.object({
|
|
3047
|
+
filter: nr.optional(),
|
|
2967
3048
|
search: e.string().optional()
|
|
2968
|
-
}),
|
|
2969
|
-
filter:
|
|
3049
|
+
}), to = rr, no = e.object({
|
|
3050
|
+
filter: ir.optional(),
|
|
2970
3051
|
search: e.string().optional()
|
|
2971
|
-
}),
|
|
2972
|
-
filter:
|
|
3052
|
+
}), ro = ar, io = e.object({ uuid: e.uuid() }), ao = e.void(), oo = e.object({
|
|
3053
|
+
filter: or.optional(),
|
|
2973
3054
|
search: e.string().optional()
|
|
2974
|
-
}),
|
|
2975
|
-
filter:
|
|
3055
|
+
}), so = sr, co = e.object({
|
|
3056
|
+
filter: cr.optional(),
|
|
2976
3057
|
search: e.string().optional()
|
|
2977
|
-
}),
|
|
2978
|
-
filter:
|
|
2979
|
-
pagination:
|
|
2980
|
-
}),
|
|
3058
|
+
}), lo = lr, uo = e.object({ uuid: e.uuid() }), fo = e.void(), po = e.object({
|
|
3059
|
+
filter: ur.optional(),
|
|
3060
|
+
pagination: fr.optional()
|
|
3061
|
+
}), mo = Sr, ho = e.object({ uuid: e.uuid() }), go = Or, _o = wr, vo = e.object({ uuid: e.uuid() }), yo = Tr, bo = e.object({
|
|
2981
3062
|
uuid: e.uuid(),
|
|
2982
3063
|
paymentUuid: e.uuid()
|
|
2983
|
-
}),
|
|
3064
|
+
}), xo = e.void(), So = Pr, Co = Lr, wo = e.void(), To = e.object({ filter: zr.optional() }), Eo = e.array(Zt), Do = e.object({ uuid: e.uuid() }), Oo = Kr, ko = e.object({
|
|
2984
3065
|
pagination: h.optional(),
|
|
2985
|
-
filter:
|
|
2986
|
-
}),
|
|
2987
|
-
filter:
|
|
3066
|
+
filter: qr.optional()
|
|
3067
|
+
}), Ao = Zr, jo = e.object({ uuid: e.uuid() }), Mo = e.object({ uuid: e.uuid() }), No = e.object({ filter: Qr.optional() }), Po = $r, Fo = e.object({ filter: ei.optional() }), Io = ti, Lo = e.object({ token: e.string() }), Ro = si, zo = e.object({ uuid: e.uuid() }), Bo = e.object({
|
|
3068
|
+
filter: ci.optional(),
|
|
2988
3069
|
search: e.string().optional()
|
|
2989
|
-
}),
|
|
2990
|
-
filter:
|
|
3070
|
+
}), Vo = li, Ho = e.object({
|
|
3071
|
+
filter: ui.optional(),
|
|
2991
3072
|
search: e.string().optional()
|
|
2992
|
-
}),
|
|
3073
|
+
}), Uo = di, Wo = fi, Go = e.object({ uuid: e.uuid() }), Ko = e.void(), qo = pi, Jo = e.object({ uuid: e.uuid() }), Yo = e.void(), Xo = e.object({ uuid: e.uuid() }), Zo = e.void(), Qo = e.object({ uuid: e.uuid() }), $o = e.object({
|
|
2993
3074
|
pagination: h.optional(),
|
|
2994
|
-
filter:
|
|
2995
|
-
}),
|
|
3075
|
+
filter: mi.optional()
|
|
3076
|
+
}), es = bi, ts = e.object({ token: e.string() }), ns = Ei, rs = ki, is = ji, as = e.void(), os = Pi, ss = Ri, cs = Li, ls = Ii, us = (t) => (t?.client ?? p).get({
|
|
2996
3077
|
requestValidator: async (t) => await e.object({
|
|
2997
3078
|
body: e.never().optional(),
|
|
2998
3079
|
path: e.never().optional(),
|
|
2999
|
-
query:
|
|
3080
|
+
query: zi.optional()
|
|
3000
3081
|
}).parseAsync(t),
|
|
3001
|
-
responseValidator: async (e) => await
|
|
3082
|
+
responseValidator: async (e) => await Bi.parseAsync(e),
|
|
3002
3083
|
url: "/api/v1/users",
|
|
3003
3084
|
...t
|
|
3004
|
-
}),
|
|
3085
|
+
}), ds = (t) => (t.client ?? p).post({
|
|
3005
3086
|
requestValidator: async (t) => await e.object({
|
|
3006
|
-
body:
|
|
3087
|
+
body: Vi,
|
|
3007
3088
|
path: e.never().optional(),
|
|
3008
3089
|
query: e.never().optional()
|
|
3009
3090
|
}).parseAsync(t),
|
|
3010
|
-
responseValidator: async (e) => await
|
|
3091
|
+
responseValidator: async (e) => await Hi.parseAsync(e),
|
|
3011
3092
|
url: "/api/v1/files",
|
|
3012
3093
|
...t,
|
|
3013
3094
|
headers: {
|
|
3014
3095
|
"Content-Type": "application/json",
|
|
3015
3096
|
...t.headers
|
|
3016
3097
|
}
|
|
3017
|
-
}),
|
|
3098
|
+
}), fs = (t) => (t.client ?? p).post({
|
|
3018
3099
|
requestValidator: async (t) => await e.object({
|
|
3019
|
-
body:
|
|
3020
|
-
path:
|
|
3100
|
+
body: Ui,
|
|
3101
|
+
path: Wi,
|
|
3021
3102
|
query: e.never().optional()
|
|
3022
3103
|
}).parseAsync(t),
|
|
3023
|
-
responseValidator: async (e) => await
|
|
3104
|
+
responseValidator: async (e) => await Gi.parseAsync(e),
|
|
3024
3105
|
url: "/api/v2/files/{file}/confirm-upload",
|
|
3025
3106
|
...t,
|
|
3026
3107
|
headers: {
|
|
3027
3108
|
"Content-Type": "application/json",
|
|
3028
3109
|
...t.headers
|
|
3029
3110
|
}
|
|
3030
|
-
}),
|
|
3111
|
+
}), ps = (t) => (t.client ?? p).post({
|
|
3031
3112
|
requestValidator: async (t) => await e.object({
|
|
3032
3113
|
body: e.never().optional(),
|
|
3033
|
-
path:
|
|
3114
|
+
path: Ki,
|
|
3034
3115
|
query: e.never().optional()
|
|
3035
3116
|
}).parseAsync(t),
|
|
3036
3117
|
url: "/api/v1/files/{file}/download",
|
|
3037
3118
|
...t
|
|
3038
|
-
}),
|
|
3119
|
+
}), ms = (t) => (t?.client ?? p).get({
|
|
3039
3120
|
requestValidator: async (t) => await e.object({
|
|
3040
3121
|
body: e.never().optional(),
|
|
3041
3122
|
path: e.never().optional(),
|
|
3042
|
-
query:
|
|
3123
|
+
query: qi.optional()
|
|
3043
3124
|
}).parseAsync(t),
|
|
3044
|
-
responseValidator: async (e) => await
|
|
3125
|
+
responseValidator: async (e) => await Ji.parseAsync(e),
|
|
3045
3126
|
url: "/api/v1/customers",
|
|
3046
3127
|
...t
|
|
3047
|
-
}),
|
|
3128
|
+
}), hs = (t) => (t.client ?? p).get({
|
|
3048
3129
|
requestValidator: async (t) => await e.object({
|
|
3049
3130
|
body: e.never().optional(),
|
|
3050
|
-
path:
|
|
3131
|
+
path: Yi,
|
|
3051
3132
|
query: e.never().optional()
|
|
3052
3133
|
}).parseAsync(t),
|
|
3053
|
-
responseValidator: async (e) => await
|
|
3134
|
+
responseValidator: async (e) => await Xi.parseAsync(e),
|
|
3054
3135
|
url: "/api/v1/customers/{uuid}",
|
|
3055
3136
|
...t
|
|
3056
|
-
}),
|
|
3137
|
+
}), gs = (t) => (t.client ?? p).get({
|
|
3057
3138
|
requestValidator: async (t) => await e.object({
|
|
3058
3139
|
body: e.never().optional(),
|
|
3059
|
-
path:
|
|
3060
|
-
query:
|
|
3140
|
+
path: Zi,
|
|
3141
|
+
query: Qi.optional()
|
|
3061
3142
|
}).parseAsync(t),
|
|
3062
|
-
responseValidator: async (e) => await
|
|
3143
|
+
responseValidator: async (e) => await $i.parseAsync(e),
|
|
3063
3144
|
url: "/api/v1/customers/{uuid}/recipients",
|
|
3064
3145
|
...t
|
|
3065
|
-
}),
|
|
3146
|
+
}), _s = (t) => (t?.client ?? p).get({
|
|
3066
3147
|
requestValidator: async (t) => await e.object({
|
|
3067
3148
|
body: e.never().optional(),
|
|
3068
3149
|
path: e.never().optional(),
|
|
3069
3150
|
query: e.never().optional()
|
|
3070
3151
|
}).parseAsync(t),
|
|
3071
|
-
responseValidator: async (e) => await
|
|
3152
|
+
responseValidator: async (e) => await ea.parseAsync(e),
|
|
3072
3153
|
url: "/api/v1/issuers",
|
|
3073
3154
|
...t
|
|
3074
|
-
}),
|
|
3155
|
+
}), vs = (t) => (t.client ?? p).put({
|
|
3075
3156
|
requestValidator: async (t) => await e.object({
|
|
3076
|
-
body:
|
|
3157
|
+
body: ta,
|
|
3077
3158
|
path: e.never().optional(),
|
|
3078
3159
|
query: e.never().optional()
|
|
3079
3160
|
}).parseAsync(t),
|
|
3080
|
-
responseValidator: async (e) => await
|
|
3161
|
+
responseValidator: async (e) => await na.parseAsync(e),
|
|
3081
3162
|
url: "/api/v1/issuers",
|
|
3082
3163
|
...t,
|
|
3083
3164
|
headers: {
|
|
3084
3165
|
"Content-Type": "application/json",
|
|
3085
3166
|
...t.headers
|
|
3086
3167
|
}
|
|
3087
|
-
}),
|
|
3168
|
+
}), ys = (t) => (t.client ?? p).get({
|
|
3088
3169
|
requestValidator: async (t) => await e.object({
|
|
3089
3170
|
body: e.never().optional(),
|
|
3090
3171
|
path: e.never().optional(),
|
|
3091
|
-
query:
|
|
3172
|
+
query: ra
|
|
3092
3173
|
}).parseAsync(t),
|
|
3093
|
-
responseValidator: async (e) => await
|
|
3174
|
+
responseValidator: async (e) => await ia.parseAsync(e),
|
|
3094
3175
|
url: "/api/v1/public/invoices",
|
|
3095
3176
|
...t
|
|
3096
|
-
}),
|
|
3177
|
+
}), bs = (t) => (t?.client ?? p).get({
|
|
3097
3178
|
requestValidator: async (t) => await e.object({
|
|
3098
3179
|
body: e.never().optional(),
|
|
3099
3180
|
path: e.never().optional(),
|
|
3100
|
-
query:
|
|
3181
|
+
query: aa.optional()
|
|
3101
3182
|
}).parseAsync(t),
|
|
3102
|
-
responseValidator: async (e) => await
|
|
3183
|
+
responseValidator: async (e) => await oa.parseAsync(e),
|
|
3103
3184
|
url: "/api/v1/invoices",
|
|
3104
3185
|
...t
|
|
3105
|
-
}),
|
|
3186
|
+
}), xs = (t) => (t.client ?? p).post({
|
|
3106
3187
|
requestValidator: async (t) => await e.object({
|
|
3107
|
-
body:
|
|
3188
|
+
body: sa,
|
|
3108
3189
|
path: e.never().optional(),
|
|
3109
3190
|
query: e.never().optional()
|
|
3110
3191
|
}).parseAsync(t),
|
|
3111
|
-
responseValidator: async (e) => await
|
|
3192
|
+
responseValidator: async (e) => await ca.parseAsync(e),
|
|
3112
3193
|
url: "/api/v1/invoices",
|
|
3113
3194
|
...t,
|
|
3114
3195
|
headers: {
|
|
3115
3196
|
"Content-Type": "application/json",
|
|
3116
3197
|
...t.headers
|
|
3117
3198
|
}
|
|
3118
|
-
}),
|
|
3199
|
+
}), Ss = (t) => (t.client ?? p).delete({
|
|
3119
3200
|
requestValidator: async (t) => await e.object({
|
|
3120
3201
|
body: e.never().optional(),
|
|
3121
|
-
path:
|
|
3202
|
+
path: la,
|
|
3122
3203
|
query: e.never().optional()
|
|
3123
3204
|
}).parseAsync(t),
|
|
3124
|
-
responseValidator: async (e) => await
|
|
3205
|
+
responseValidator: async (e) => await ua.parseAsync(e),
|
|
3125
3206
|
url: "/api/v1/invoices/{uuid}",
|
|
3126
3207
|
...t
|
|
3127
|
-
}),
|
|
3208
|
+
}), Cs = (t) => (t.client ?? p).get({
|
|
3128
3209
|
requestValidator: async (t) => await e.object({
|
|
3129
3210
|
body: e.never().optional(),
|
|
3130
|
-
path:
|
|
3211
|
+
path: da,
|
|
3131
3212
|
query: e.never().optional()
|
|
3132
3213
|
}).parseAsync(t),
|
|
3133
|
-
responseValidator: async (e) => await
|
|
3214
|
+
responseValidator: async (e) => await fa.parseAsync(e),
|
|
3134
3215
|
url: "/api/v1/invoices/{uuid}",
|
|
3135
3216
|
...t
|
|
3136
|
-
}),
|
|
3217
|
+
}), ws = (t) => (t.client ?? p).patch({
|
|
3137
3218
|
requestValidator: async (t) => await e.object({
|
|
3138
|
-
body:
|
|
3139
|
-
path:
|
|
3219
|
+
body: pa,
|
|
3220
|
+
path: ma,
|
|
3140
3221
|
query: e.never().optional()
|
|
3141
3222
|
}).parseAsync(t),
|
|
3142
|
-
responseValidator: async (e) => await
|
|
3223
|
+
responseValidator: async (e) => await ha.parseAsync(e),
|
|
3143
3224
|
url: "/api/v1/invoices/{uuid}",
|
|
3144
3225
|
...t,
|
|
3145
3226
|
headers: {
|
|
3146
3227
|
"Content-Type": "application/json",
|
|
3147
3228
|
...t.headers
|
|
3148
3229
|
}
|
|
3149
|
-
}),
|
|
3230
|
+
}), Ts = (t) => (t.client ?? p).patch({
|
|
3150
3231
|
requestValidator: async (t) => await e.object({
|
|
3151
|
-
body:
|
|
3152
|
-
path:
|
|
3232
|
+
body: ga,
|
|
3233
|
+
path: _a,
|
|
3153
3234
|
query: e.never().optional()
|
|
3154
3235
|
}).parseAsync(t),
|
|
3155
|
-
responseValidator: async (e) => await
|
|
3236
|
+
responseValidator: async (e) => await va.parseAsync(e),
|
|
3156
3237
|
url: "/api/v1/invoices/{uuid}/lines",
|
|
3157
3238
|
...t,
|
|
3158
3239
|
headers: {
|
|
3159
3240
|
"Content-Type": "application/json",
|
|
3160
3241
|
...t.headers
|
|
3161
3242
|
}
|
|
3162
|
-
}),
|
|
3243
|
+
}), Es = (t) => (t.client ?? p).patch({
|
|
3163
3244
|
requestValidator: async (t) => await e.object({
|
|
3164
|
-
body:
|
|
3165
|
-
path:
|
|
3245
|
+
body: ya,
|
|
3246
|
+
path: ba,
|
|
3166
3247
|
query: e.never().optional()
|
|
3167
3248
|
}).parseAsync(t),
|
|
3168
|
-
responseValidator: async (e) => await
|
|
3249
|
+
responseValidator: async (e) => await xa.parseAsync(e),
|
|
3169
3250
|
url: "/api/v2/invoices/{uuid}/discount",
|
|
3170
3251
|
...t,
|
|
3171
3252
|
headers: {
|
|
3172
3253
|
"Content-Type": "application/json",
|
|
3173
3254
|
...t.headers
|
|
3174
3255
|
}
|
|
3175
|
-
}),
|
|
3256
|
+
}), Ds = (t) => (t.client ?? p).patch({
|
|
3176
3257
|
requestValidator: async (t) => await e.object({
|
|
3177
|
-
body:
|
|
3178
|
-
path:
|
|
3258
|
+
body: Sa,
|
|
3259
|
+
path: Ca,
|
|
3179
3260
|
query: e.never().optional()
|
|
3180
3261
|
}).parseAsync(t),
|
|
3181
|
-
responseValidator: async (e) => await
|
|
3262
|
+
responseValidator: async (e) => await wa.parseAsync(e),
|
|
3182
3263
|
url: "/api/v1/invoices/{uuid}/attachments",
|
|
3183
3264
|
...t,
|
|
3184
3265
|
headers: {
|
|
3185
3266
|
"Content-Type": "application/json",
|
|
3186
3267
|
...t.headers
|
|
3187
3268
|
}
|
|
3188
|
-
}),
|
|
3269
|
+
}), Os = (t) => (t.client ?? p).post({
|
|
3189
3270
|
requestValidator: async (t) => await e.object({
|
|
3190
3271
|
body: e.never().optional(),
|
|
3191
|
-
path:
|
|
3272
|
+
path: Ta,
|
|
3192
3273
|
query: e.never().optional()
|
|
3193
3274
|
}).parseAsync(t),
|
|
3194
3275
|
url: "/api/v1/invoices/{uuid}/finalize",
|
|
3195
3276
|
...t
|
|
3196
|
-
}),
|
|
3277
|
+
}), ks = (t) => (t.client ?? p).post({
|
|
3197
3278
|
requestValidator: async (t) => await e.object({
|
|
3198
3279
|
body: e.never().optional(),
|
|
3199
|
-
path:
|
|
3280
|
+
path: Ea,
|
|
3200
3281
|
query: e.never().optional()
|
|
3201
3282
|
}).parseAsync(t),
|
|
3202
|
-
responseValidator: async (e) => await
|
|
3283
|
+
responseValidator: async (e) => await Da.parseAsync(e),
|
|
3203
3284
|
url: "/api/v1/invoices/{uuid}/credit-note",
|
|
3204
3285
|
...t
|
|
3205
|
-
}),
|
|
3286
|
+
}), As = (t) => (t.client ?? p).patch({
|
|
3206
3287
|
requestValidator: async (t) => await e.object({
|
|
3207
|
-
body:
|
|
3208
|
-
path:
|
|
3288
|
+
body: Oa,
|
|
3289
|
+
path: ka,
|
|
3209
3290
|
query: e.never().optional()
|
|
3210
3291
|
}).parseAsync(t),
|
|
3211
|
-
responseValidator: async (e) => await
|
|
3292
|
+
responseValidator: async (e) => await Aa.parseAsync(e),
|
|
3212
3293
|
url: "/api/v1/credit-notes/{uuid}/lines",
|
|
3213
3294
|
...t,
|
|
3214
3295
|
headers: {
|
|
3215
3296
|
"Content-Type": "application/json",
|
|
3216
3297
|
...t.headers
|
|
3217
3298
|
}
|
|
3218
|
-
}),
|
|
3299
|
+
}), js = (t) => (t.client ?? p).patch({
|
|
3219
3300
|
requestValidator: async (t) => await e.object({
|
|
3220
|
-
body:
|
|
3221
|
-
path:
|
|
3301
|
+
body: ja,
|
|
3302
|
+
path: Ma,
|
|
3222
3303
|
query: e.never().optional()
|
|
3223
3304
|
}).parseAsync(t),
|
|
3224
|
-
responseValidator: async (e) => await
|
|
3305
|
+
responseValidator: async (e) => await Na.parseAsync(e),
|
|
3225
3306
|
url: "/api/v1/credit-notes/{uuid}",
|
|
3226
3307
|
...t,
|
|
3227
3308
|
headers: {
|
|
3228
3309
|
"Content-Type": "application/json",
|
|
3229
3310
|
...t.headers
|
|
3230
3311
|
}
|
|
3231
|
-
}),
|
|
3312
|
+
}), Ms = (t) => (t.client ?? p).post({
|
|
3232
3313
|
requestValidator: async (t) => await e.object({
|
|
3233
3314
|
body: e.never().optional(),
|
|
3234
|
-
path:
|
|
3315
|
+
path: Pa,
|
|
3235
3316
|
query: e.never().optional()
|
|
3236
3317
|
}).parseAsync(t),
|
|
3237
3318
|
url: "/api/v1/credit-notes/{uuid}/finalize",
|
|
3238
3319
|
...t
|
|
3239
|
-
}),
|
|
3320
|
+
}), Ns = (t) => (t.client ?? p).post({
|
|
3240
3321
|
requestValidator: async (t) => await e.object({
|
|
3241
3322
|
body: e.never().optional(),
|
|
3242
|
-
path:
|
|
3323
|
+
path: Fa,
|
|
3243
3324
|
query: e.never().optional()
|
|
3244
3325
|
}).parseAsync(t),
|
|
3245
3326
|
url: "/api/v1/invoices/{uuid}/send-email",
|
|
3246
3327
|
...t
|
|
3247
|
-
}),
|
|
3328
|
+
}), Ps = (t) => (t?.client ?? p).post({
|
|
3248
3329
|
requestValidator: async (t) => await e.object({
|
|
3249
3330
|
body: e.never().optional(),
|
|
3250
3331
|
path: e.never().optional(),
|
|
3251
|
-
query:
|
|
3332
|
+
query: Ia.optional()
|
|
3252
3333
|
}).parseAsync(t),
|
|
3253
|
-
responseValidator: async (e) => await
|
|
3334
|
+
responseValidator: async (e) => await La.parseAsync(e),
|
|
3254
3335
|
url: "/api/v1/invoices/send-mail",
|
|
3255
3336
|
...t
|
|
3256
|
-
}),
|
|
3337
|
+
}), Fs = (t) => (t?.client ?? p).get({
|
|
3257
3338
|
requestValidator: async (t) => await e.object({
|
|
3258
3339
|
body: e.never().optional(),
|
|
3259
3340
|
path: e.never().optional(),
|
|
3260
|
-
query:
|
|
3341
|
+
query: Ra.optional()
|
|
3261
3342
|
}).parseAsync(t),
|
|
3262
|
-
responseValidator: async (e) => await
|
|
3343
|
+
responseValidator: async (e) => await za.parseAsync(e),
|
|
3263
3344
|
url: "/api/v1/invoices/send-mail/preview",
|
|
3264
3345
|
...t
|
|
3265
|
-
}),
|
|
3346
|
+
}), Is = (t) => (t.client ?? p).post({
|
|
3266
3347
|
requestValidator: async (t) => await e.object({
|
|
3267
3348
|
body: e.never().optional(),
|
|
3268
|
-
path:
|
|
3349
|
+
path: Ba,
|
|
3269
3350
|
query: e.never().optional()
|
|
3270
3351
|
}).parseAsync(t),
|
|
3271
|
-
responseValidator: async (e) => await
|
|
3352
|
+
responseValidator: async (e) => await Va.parseAsync(e),
|
|
3272
3353
|
url: "/api/v1/invoices/{uuid}/mark-as-ready",
|
|
3273
3354
|
...t
|
|
3274
|
-
}),
|
|
3355
|
+
}), Ls = (t) => (t.client ?? p).post({
|
|
3275
3356
|
requestValidator: async (t) => await e.object({
|
|
3276
3357
|
body: e.never().optional(),
|
|
3277
|
-
path:
|
|
3358
|
+
path: Ha,
|
|
3278
3359
|
query: e.never().optional()
|
|
3279
3360
|
}).parseAsync(t),
|
|
3280
|
-
responseValidator: async (e) => await
|
|
3361
|
+
responseValidator: async (e) => await Ua.parseAsync(e),
|
|
3281
3362
|
url: "/api/v1/invoices/{uuid}/duplicate",
|
|
3282
3363
|
...t
|
|
3283
|
-
}),
|
|
3364
|
+
}), Rs = (t) => (t.client ?? p).post({
|
|
3284
3365
|
requestValidator: async (t) => await e.object({
|
|
3285
3366
|
body: e.never().optional(),
|
|
3286
|
-
path:
|
|
3367
|
+
path: Wa,
|
|
3287
3368
|
query: e.never().optional()
|
|
3288
3369
|
}).parseAsync(t),
|
|
3289
|
-
responseValidator: async (e) => await
|
|
3370
|
+
responseValidator: async (e) => await Ga.parseAsync(e),
|
|
3290
3371
|
url: "/api/v1/invoices/{uuid}/mark-as-draft",
|
|
3291
3372
|
...t
|
|
3292
|
-
}),
|
|
3373
|
+
}), zs = (t) => (t.client ?? p).post({
|
|
3293
3374
|
requestValidator: async (t) => await e.object({
|
|
3294
3375
|
body: e.never().optional(),
|
|
3295
|
-
path:
|
|
3376
|
+
path: Ka,
|
|
3296
3377
|
query: e.never().optional()
|
|
3297
3378
|
}).parseAsync(t),
|
|
3298
|
-
responseValidator: async (e) => await
|
|
3379
|
+
responseValidator: async (e) => await qa.parseAsync(e),
|
|
3299
3380
|
url: "/api/v1/invoices/{uuid}/mark-as-prior-approval-required",
|
|
3300
3381
|
...t
|
|
3301
|
-
}),
|
|
3382
|
+
}), Bs = (t) => (t.client ?? p).post({
|
|
3302
3383
|
requestValidator: async (t) => await e.object({
|
|
3303
3384
|
body: e.never().optional(),
|
|
3304
|
-
path:
|
|
3385
|
+
path: Ja,
|
|
3305
3386
|
query: e.never().optional()
|
|
3306
3387
|
}).parseAsync(t),
|
|
3307
|
-
responseValidator: async (e) => await
|
|
3388
|
+
responseValidator: async (e) => await Ya.parseAsync(e),
|
|
3308
3389
|
url: "/api/v1/invoices/{uuid}/unmark-as-prior-approval-required",
|
|
3309
3390
|
...t
|
|
3310
|
-
}),
|
|
3391
|
+
}), Vs = (t) => (t.client ?? p).post({
|
|
3311
3392
|
requestValidator: async (t) => await e.object({
|
|
3312
3393
|
body: e.never().optional(),
|
|
3313
|
-
path:
|
|
3394
|
+
path: Xa,
|
|
3314
3395
|
query: e.never().optional()
|
|
3315
3396
|
}).parseAsync(t),
|
|
3316
|
-
responseValidator: async (e) => await
|
|
3397
|
+
responseValidator: async (e) => await Za.parseAsync(e),
|
|
3317
3398
|
url: "/api/v1/invoices/{uuid}/mark-as-disputed",
|
|
3318
3399
|
...t
|
|
3319
|
-
}),
|
|
3400
|
+
}), Hs = (t) => (t.client ?? p).post({
|
|
3320
3401
|
requestValidator: async (t) => await e.object({
|
|
3321
3402
|
body: e.never().optional(),
|
|
3322
|
-
path:
|
|
3403
|
+
path: Qa,
|
|
3323
3404
|
query: e.never().optional()
|
|
3324
3405
|
}).parseAsync(t),
|
|
3325
|
-
responseValidator: async (e) => await
|
|
3406
|
+
responseValidator: async (e) => await $a.parseAsync(e),
|
|
3326
3407
|
url: "/api/v1/invoices/{uuid}/mark-as-paid",
|
|
3327
3408
|
...t
|
|
3328
|
-
}),
|
|
3409
|
+
}), Us = (t) => (t?.client ?? p).get({
|
|
3329
3410
|
requestValidator: async (t) => await e.object({
|
|
3330
3411
|
body: e.never().optional(),
|
|
3331
3412
|
path: e.never().optional(),
|
|
3332
|
-
query:
|
|
3413
|
+
query: eo.optional()
|
|
3333
3414
|
}).parseAsync(t),
|
|
3334
|
-
responseValidator: async (e) => await
|
|
3415
|
+
responseValidator: async (e) => await to.parseAsync(e),
|
|
3335
3416
|
url: "/api/v1/invoices/mark-as-ready/preview",
|
|
3336
3417
|
...t
|
|
3337
|
-
}),
|
|
3418
|
+
}), Ws = (t) => (t?.client ?? p).post({
|
|
3338
3419
|
requestValidator: async (t) => await e.object({
|
|
3339
3420
|
body: e.never().optional(),
|
|
3340
3421
|
path: e.never().optional(),
|
|
3341
|
-
query:
|
|
3422
|
+
query: no.optional()
|
|
3342
3423
|
}).parseAsync(t),
|
|
3343
|
-
responseValidator: async (e) => await
|
|
3424
|
+
responseValidator: async (e) => await ro.parseAsync(e),
|
|
3344
3425
|
url: "/api/v1/invoices/mark-as-ready",
|
|
3345
3426
|
...t
|
|
3346
|
-
}),
|
|
3427
|
+
}), Gs = (t) => (t.client ?? p).post({
|
|
3347
3428
|
requestValidator: async (t) => await e.object({
|
|
3348
3429
|
body: e.never().optional(),
|
|
3349
|
-
path:
|
|
3430
|
+
path: io,
|
|
3350
3431
|
query: e.never().optional()
|
|
3351
3432
|
}).parseAsync(t),
|
|
3352
|
-
responseValidator: async (e) => await
|
|
3433
|
+
responseValidator: async (e) => await ao.parseAsync(e),
|
|
3353
3434
|
url: "/api/v1/invoices/{uuid}/withdraw-disputed",
|
|
3354
3435
|
...t
|
|
3355
|
-
}),
|
|
3436
|
+
}), Ks = (t) => (t?.client ?? p).get({
|
|
3356
3437
|
requestValidator: async (t) => await e.object({
|
|
3357
3438
|
body: e.never().optional(),
|
|
3358
3439
|
path: e.never().optional(),
|
|
3359
|
-
query:
|
|
3440
|
+
query: oo.optional()
|
|
3360
3441
|
}).parseAsync(t),
|
|
3361
|
-
responseValidator: async (e) => await
|
|
3442
|
+
responseValidator: async (e) => await so.parseAsync(e),
|
|
3362
3443
|
url: "/api/v1/invoices/finalize/preview",
|
|
3363
3444
|
...t
|
|
3364
|
-
}),
|
|
3445
|
+
}), qs = (t) => (t?.client ?? p).post({
|
|
3365
3446
|
requestValidator: async (t) => await e.object({
|
|
3366
3447
|
body: e.never().optional(),
|
|
3367
3448
|
path: e.never().optional(),
|
|
3368
|
-
query:
|
|
3449
|
+
query: co.optional()
|
|
3369
3450
|
}).parseAsync(t),
|
|
3370
|
-
responseValidator: async (e) => await
|
|
3451
|
+
responseValidator: async (e) => await lo.parseAsync(e),
|
|
3371
3452
|
url: "/api/v1/invoices/finalize",
|
|
3372
3453
|
...t
|
|
3373
|
-
}),
|
|
3454
|
+
}), Js = (t) => (t.client ?? p).post({
|
|
3374
3455
|
requestValidator: async (t) => await e.object({
|
|
3375
3456
|
body: e.never().optional(),
|
|
3376
|
-
path:
|
|
3457
|
+
path: uo,
|
|
3377
3458
|
query: e.never().optional()
|
|
3378
3459
|
}).parseAsync(t),
|
|
3379
|
-
responseValidator: async (e) => await
|
|
3460
|
+
responseValidator: async (e) => await fo.parseAsync(e),
|
|
3380
3461
|
url: "/api/v1/invoices/{uuid}/restore-from-pro-forma",
|
|
3381
3462
|
...t
|
|
3382
|
-
}),
|
|
3463
|
+
}), Ys = (t) => (t?.client ?? p).get({
|
|
3383
3464
|
requestValidator: async (t) => await e.object({
|
|
3384
3465
|
body: e.never().optional(),
|
|
3385
3466
|
path: e.never().optional(),
|
|
3386
|
-
query:
|
|
3467
|
+
query: po.optional()
|
|
3387
3468
|
}).parseAsync(t),
|
|
3388
|
-
responseValidator: async (e) => await
|
|
3469
|
+
responseValidator: async (e) => await mo.parseAsync(e),
|
|
3389
3470
|
url: "/api/v1/activity-logs",
|
|
3390
3471
|
...t
|
|
3391
|
-
}),
|
|
3472
|
+
}), Xs = (t) => (t.client ?? p).get({
|
|
3392
3473
|
requestValidator: async (t) => await e.object({
|
|
3393
3474
|
body: e.never().optional(),
|
|
3394
|
-
path:
|
|
3475
|
+
path: ho,
|
|
3395
3476
|
query: e.never().optional()
|
|
3396
3477
|
}).parseAsync(t),
|
|
3397
|
-
responseValidator: async (e) => await
|
|
3478
|
+
responseValidator: async (e) => await go.parseAsync(e),
|
|
3398
3479
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
3399
3480
|
...t
|
|
3400
|
-
}),
|
|
3481
|
+
}), Zs = (t) => (t.client ?? p).post({
|
|
3401
3482
|
requestValidator: async (t) => await e.object({
|
|
3402
|
-
body:
|
|
3403
|
-
path:
|
|
3483
|
+
body: _o,
|
|
3484
|
+
path: vo,
|
|
3404
3485
|
query: e.never().optional()
|
|
3405
3486
|
}).parseAsync(t),
|
|
3406
|
-
responseValidator: async (e) => await
|
|
3487
|
+
responseValidator: async (e) => await yo.parseAsync(e),
|
|
3407
3488
|
url: "/api/v1/invoices/{uuid}/payments",
|
|
3408
3489
|
...t,
|
|
3409
3490
|
headers: {
|
|
3410
3491
|
"Content-Type": "application/json",
|
|
3411
3492
|
...t.headers
|
|
3412
3493
|
}
|
|
3413
|
-
}),
|
|
3494
|
+
}), Qs = (t) => (t.client ?? p).delete({
|
|
3414
3495
|
requestValidator: async (t) => await e.object({
|
|
3415
3496
|
body: e.never().optional(),
|
|
3416
|
-
path:
|
|
3497
|
+
path: bo,
|
|
3417
3498
|
query: e.never().optional()
|
|
3418
3499
|
}).parseAsync(t),
|
|
3419
|
-
responseValidator: async (e) => await
|
|
3500
|
+
responseValidator: async (e) => await xo.parseAsync(e),
|
|
3420
3501
|
url: "/api/v1/invoices/{uuid}/payments/{paymentUuid}",
|
|
3421
3502
|
...t
|
|
3422
|
-
}),
|
|
3503
|
+
}), $s = (t) => (t?.client ?? p).get({
|
|
3423
3504
|
requestValidator: async (t) => await e.object({
|
|
3424
3505
|
body: e.never().optional(),
|
|
3425
3506
|
path: e.never().optional(),
|
|
3426
3507
|
query: e.never().optional()
|
|
3427
3508
|
}).parseAsync(t),
|
|
3428
|
-
responseValidator: async (e) => await
|
|
3509
|
+
responseValidator: async (e) => await So.parseAsync(e),
|
|
3429
3510
|
url: "/api/v1/issuers/reminder-configs",
|
|
3430
3511
|
...t
|
|
3431
|
-
}),
|
|
3512
|
+
}), ec = (t) => (t.client ?? p).patch({
|
|
3432
3513
|
requestValidator: async (t) => await e.object({
|
|
3433
|
-
body:
|
|
3514
|
+
body: Co,
|
|
3434
3515
|
path: e.never().optional(),
|
|
3435
3516
|
query: e.never().optional()
|
|
3436
3517
|
}).parseAsync(t),
|
|
3437
|
-
responseValidator: async (e) => await
|
|
3518
|
+
responseValidator: async (e) => await wo.parseAsync(e),
|
|
3438
3519
|
url: "/api/v1/issuers/reminder-configs",
|
|
3439
3520
|
...t,
|
|
3440
3521
|
headers: {
|
|
3441
3522
|
"Content-Type": "application/json",
|
|
3442
3523
|
...t.headers
|
|
3443
3524
|
}
|
|
3444
|
-
}),
|
|
3525
|
+
}), tc = (t) => (t?.client ?? p).get({
|
|
3445
3526
|
requestValidator: async (t) => await e.object({
|
|
3446
3527
|
body: e.never().optional(),
|
|
3447
3528
|
path: e.never().optional(),
|
|
3448
|
-
query:
|
|
3529
|
+
query: To.optional()
|
|
3449
3530
|
}).parseAsync(t),
|
|
3450
|
-
responseValidator: async (e) => await
|
|
3531
|
+
responseValidator: async (e) => await Eo.parseAsync(e),
|
|
3451
3532
|
url: "/api/v1/custom-field-definitions",
|
|
3452
3533
|
...t
|
|
3453
|
-
}),
|
|
3534
|
+
}), nc = (t) => (t.client ?? p).get({
|
|
3454
3535
|
requestValidator: async (t) => await e.object({
|
|
3455
3536
|
body: e.never().optional(),
|
|
3456
|
-
path:
|
|
3537
|
+
path: Do,
|
|
3457
3538
|
query: e.never().optional()
|
|
3458
3539
|
}).parseAsync(t),
|
|
3459
|
-
responseValidator: async (e) => await
|
|
3540
|
+
responseValidator: async (e) => await Oo.parseAsync(e),
|
|
3460
3541
|
url: "/api/v1/dunning-cases/{uuid}",
|
|
3461
3542
|
...t
|
|
3462
|
-
}),
|
|
3543
|
+
}), rc = (t) => (t?.client ?? p).get({
|
|
3463
3544
|
requestValidator: async (t) => await e.object({
|
|
3464
3545
|
body: e.never().optional(),
|
|
3465
3546
|
path: e.never().optional(),
|
|
3466
|
-
query:
|
|
3547
|
+
query: ko.optional()
|
|
3467
3548
|
}).parseAsync(t),
|
|
3468
|
-
responseValidator: async (e) => await
|
|
3549
|
+
responseValidator: async (e) => await Ao.parseAsync(e),
|
|
3469
3550
|
url: "/api/v1/dunning-cases",
|
|
3470
3551
|
...t
|
|
3471
|
-
}),
|
|
3552
|
+
}), ic = (t) => (t.client ?? p).post({
|
|
3472
3553
|
requestValidator: async (t) => await e.object({
|
|
3473
3554
|
body: e.never().optional(),
|
|
3474
|
-
path:
|
|
3555
|
+
path: jo,
|
|
3475
3556
|
query: e.never().optional()
|
|
3476
3557
|
}).parseAsync(t),
|
|
3477
3558
|
url: "/api/v1/dunning-cases/{uuid}/send",
|
|
3478
3559
|
...t
|
|
3479
|
-
}),
|
|
3560
|
+
}), ac = (t) => (t.client ?? p).post({
|
|
3480
3561
|
requestValidator: async (t) => await e.object({
|
|
3481
3562
|
body: e.never().optional(),
|
|
3482
|
-
path:
|
|
3563
|
+
path: Mo,
|
|
3483
3564
|
query: e.never().optional()
|
|
3484
3565
|
}).parseAsync(t),
|
|
3485
3566
|
url: "/api/v1/dunning-case-reminders/{uuid}/retry",
|
|
3486
3567
|
...t
|
|
3487
|
-
}),
|
|
3568
|
+
}), oc = (t) => (t?.client ?? p).post({
|
|
3488
3569
|
requestValidator: async (t) => await e.object({
|
|
3489
3570
|
body: e.never().optional(),
|
|
3490
3571
|
path: e.never().optional(),
|
|
3491
|
-
query:
|
|
3572
|
+
query: No.optional()
|
|
3492
3573
|
}).parseAsync(t),
|
|
3493
|
-
responseValidator: async (e) => await
|
|
3574
|
+
responseValidator: async (e) => await Po.parseAsync(e),
|
|
3494
3575
|
url: "/api/v1/dunning-cases/send",
|
|
3495
3576
|
...t
|
|
3496
|
-
}),
|
|
3577
|
+
}), sc = (t) => (t?.client ?? p).get({
|
|
3497
3578
|
requestValidator: async (t) => await e.object({
|
|
3498
3579
|
body: e.never().optional(),
|
|
3499
3580
|
path: e.never().optional(),
|
|
3500
|
-
query:
|
|
3581
|
+
query: Fo.optional()
|
|
3501
3582
|
}).parseAsync(t),
|
|
3502
|
-
responseValidator: async (e) => await
|
|
3583
|
+
responseValidator: async (e) => await Io.parseAsync(e),
|
|
3503
3584
|
url: "/api/v1/dunning-cases/send/preview",
|
|
3504
3585
|
...t
|
|
3505
|
-
}),
|
|
3586
|
+
}), cc = (t) => (t.client ?? p).get({
|
|
3506
3587
|
requestValidator: async (t) => await e.object({
|
|
3507
3588
|
body: e.never().optional(),
|
|
3508
3589
|
path: e.never().optional(),
|
|
3509
|
-
query:
|
|
3590
|
+
query: Lo
|
|
3510
3591
|
}).parseAsync(t),
|
|
3511
|
-
responseValidator: async (e) => await
|
|
3592
|
+
responseValidator: async (e) => await Ro.parseAsync(e),
|
|
3512
3593
|
url: "/api/v1/public/dunning-case-reminder-invoices",
|
|
3513
3594
|
...t
|
|
3514
|
-
}),
|
|
3595
|
+
}), lc = (t) => (t.client ?? p).post({
|
|
3515
3596
|
requestValidator: async (t) => await e.object({
|
|
3516
3597
|
body: e.never().optional(),
|
|
3517
|
-
path:
|
|
3598
|
+
path: zo,
|
|
3518
3599
|
query: e.never().optional()
|
|
3519
3600
|
}).parseAsync(t),
|
|
3520
3601
|
url: "/api/v1/invoices/{uuid}/send-approval",
|
|
3521
3602
|
...t
|
|
3522
|
-
}),
|
|
3603
|
+
}), uc = (t) => (t?.client ?? p).get({
|
|
3523
3604
|
requestValidator: async (t) => await e.object({
|
|
3524
3605
|
body: e.never().optional(),
|
|
3525
3606
|
path: e.never().optional(),
|
|
3526
|
-
query:
|
|
3607
|
+
query: Bo.optional()
|
|
3527
3608
|
}).parseAsync(t),
|
|
3528
|
-
responseValidator: async (e) => await
|
|
3609
|
+
responseValidator: async (e) => await Vo.parseAsync(e),
|
|
3529
3610
|
url: "/api/v1/invoices/send-approval/preview",
|
|
3530
3611
|
...t
|
|
3531
|
-
}),
|
|
3612
|
+
}), dc = (t) => (t?.client ?? p).post({
|
|
3532
3613
|
requestValidator: async (t) => await e.object({
|
|
3533
3614
|
body: e.never().optional(),
|
|
3534
3615
|
path: e.never().optional(),
|
|
3535
|
-
query:
|
|
3616
|
+
query: Ho.optional()
|
|
3536
3617
|
}).parseAsync(t),
|
|
3537
|
-
responseValidator: async (e) => await
|
|
3618
|
+
responseValidator: async (e) => await Uo.parseAsync(e),
|
|
3538
3619
|
url: "/api/v1/invoices/send-approval",
|
|
3539
3620
|
...t
|
|
3540
|
-
}),
|
|
3621
|
+
}), fc = (t) => (t.client ?? p).post({
|
|
3541
3622
|
requestValidator: async (t) => await e.object({
|
|
3542
|
-
body:
|
|
3543
|
-
path:
|
|
3623
|
+
body: Wo,
|
|
3624
|
+
path: Go,
|
|
3544
3625
|
query: e.never().optional()
|
|
3545
3626
|
}).parseAsync(t),
|
|
3546
|
-
responseValidator: async (e) => await
|
|
3627
|
+
responseValidator: async (e) => await Ko.parseAsync(e),
|
|
3547
3628
|
url: "/api/v1/invoice-approvals/{uuid}/approve",
|
|
3548
3629
|
...t,
|
|
3549
3630
|
headers: {
|
|
3550
3631
|
"Content-Type": "application/json",
|
|
3551
3632
|
...t.headers
|
|
3552
3633
|
}
|
|
3553
|
-
}),
|
|
3634
|
+
}), pc = (t) => (t.client ?? p).post({
|
|
3554
3635
|
requestValidator: async (t) => await e.object({
|
|
3555
|
-
body:
|
|
3556
|
-
path:
|
|
3636
|
+
body: qo,
|
|
3637
|
+
path: Jo,
|
|
3557
3638
|
query: e.never().optional()
|
|
3558
3639
|
}).parseAsync(t),
|
|
3559
|
-
responseValidator: async (e) => await
|
|
3640
|
+
responseValidator: async (e) => await Yo.parseAsync(e),
|
|
3560
3641
|
url: "/api/v1/invoice-approvals/{uuid}/reject",
|
|
3561
3642
|
...t,
|
|
3562
3643
|
headers: {
|
|
3563
3644
|
"Content-Type": "application/json",
|
|
3564
3645
|
...t.headers
|
|
3565
3646
|
}
|
|
3566
|
-
}),
|
|
3647
|
+
}), mc = (t) => (t.client ?? p).post({
|
|
3567
3648
|
requestValidator: async (t) => await e.object({
|
|
3568
3649
|
body: e.never().optional(),
|
|
3569
|
-
path:
|
|
3650
|
+
path: Xo,
|
|
3570
3651
|
query: e.never().optional()
|
|
3571
3652
|
}).parseAsync(t),
|
|
3572
|
-
responseValidator: async (e) => await
|
|
3653
|
+
responseValidator: async (e) => await Zo.parseAsync(e),
|
|
3573
3654
|
url: "/api/v1/invoice-approvals/{uuid}/cancel",
|
|
3574
3655
|
...t
|
|
3575
|
-
}),
|
|
3656
|
+
}), hc = (t) => (t.client ?? p).post({
|
|
3576
3657
|
requestValidator: async (t) => await e.object({
|
|
3577
3658
|
body: e.never().optional(),
|
|
3578
|
-
path:
|
|
3659
|
+
path: Qo,
|
|
3579
3660
|
query: e.never().optional()
|
|
3580
3661
|
}).parseAsync(t),
|
|
3581
3662
|
url: "/api/v1/invoices/{uuid}/restart-approval",
|
|
3582
3663
|
...t
|
|
3583
|
-
}),
|
|
3664
|
+
}), gc = (t) => (t?.client ?? p).get({
|
|
3584
3665
|
requestValidator: async (t) => await e.object({
|
|
3585
3666
|
body: e.never().optional(),
|
|
3586
3667
|
path: e.never().optional(),
|
|
3587
|
-
query:
|
|
3668
|
+
query: $o.optional()
|
|
3588
3669
|
}).parseAsync(t),
|
|
3589
|
-
responseValidator: async (e) => await
|
|
3670
|
+
responseValidator: async (e) => await es.parseAsync(e),
|
|
3590
3671
|
url: "/api/v1/invoice-approvals",
|
|
3591
3672
|
...t
|
|
3592
|
-
}),
|
|
3673
|
+
}), _c = (t) => (t.client ?? p).get({
|
|
3593
3674
|
requestValidator: async (t) => await e.object({
|
|
3594
3675
|
body: e.never().optional(),
|
|
3595
3676
|
path: e.never().optional(),
|
|
3596
|
-
query:
|
|
3677
|
+
query: ts
|
|
3597
3678
|
}).parseAsync(t),
|
|
3598
|
-
responseValidator: async (e) => await
|
|
3679
|
+
responseValidator: async (e) => await ns.parseAsync(e),
|
|
3599
3680
|
url: "/api/v1/public/pro-formas",
|
|
3600
3681
|
...t
|
|
3601
|
-
}),
|
|
3682
|
+
}), vc = (t) => (t?.client ?? p).get({
|
|
3602
3683
|
requestValidator: async (t) => await e.object({
|
|
3603
3684
|
body: e.never().optional(),
|
|
3604
3685
|
path: e.never().optional(),
|
|
3605
3686
|
query: e.never().optional()
|
|
3606
3687
|
}).parseAsync(t),
|
|
3607
|
-
responseValidator: async (e) => await
|
|
3688
|
+
responseValidator: async (e) => await rs.parseAsync(e),
|
|
3608
3689
|
url: "/api/v1/issuers/approval-reminder-configs",
|
|
3609
3690
|
...t
|
|
3610
|
-
}),
|
|
3691
|
+
}), yc = (t) => (t.client ?? p).patch({
|
|
3611
3692
|
requestValidator: async (t) => await e.object({
|
|
3612
|
-
body:
|
|
3693
|
+
body: is,
|
|
3613
3694
|
path: e.never().optional(),
|
|
3614
3695
|
query: e.never().optional()
|
|
3615
3696
|
}).parseAsync(t),
|
|
3616
|
-
responseValidator: async (e) => await
|
|
3697
|
+
responseValidator: async (e) => await as.parseAsync(e),
|
|
3617
3698
|
url: "/api/v1/issuers/approval-reminder-configs",
|
|
3618
3699
|
...t,
|
|
3619
3700
|
headers: {
|
|
3620
3701
|
"Content-Type": "application/json",
|
|
3621
3702
|
...t.headers
|
|
3622
3703
|
}
|
|
3704
|
+
}), bc = (t) => (t?.client ?? p).get({
|
|
3705
|
+
requestValidator: async (t) => await e.object({
|
|
3706
|
+
body: e.never().optional(),
|
|
3707
|
+
path: e.never().optional(),
|
|
3708
|
+
query: e.never().optional()
|
|
3709
|
+
}).parseAsync(t),
|
|
3710
|
+
responseValidator: async (e) => await os.parseAsync(e),
|
|
3711
|
+
url: "/api/v1/issuers/peppol-connection",
|
|
3712
|
+
...t
|
|
3713
|
+
}), xc = (t) => (t.client ?? p).put({
|
|
3714
|
+
requestValidator: async (t) => await e.object({
|
|
3715
|
+
body: ss,
|
|
3716
|
+
path: e.never().optional(),
|
|
3717
|
+
query: e.never().optional()
|
|
3718
|
+
}).parseAsync(t),
|
|
3719
|
+
url: "/api/v1/issuers/peppol-connection",
|
|
3720
|
+
...t,
|
|
3721
|
+
headers: {
|
|
3722
|
+
"Content-Type": "application/json",
|
|
3723
|
+
...t.headers
|
|
3724
|
+
}
|
|
3725
|
+
}), Sc = (t) => (t.client ?? p).post({
|
|
3726
|
+
requestValidator: async (t) => await e.object({
|
|
3727
|
+
body: cs,
|
|
3728
|
+
path: e.never().optional(),
|
|
3729
|
+
query: e.never().optional()
|
|
3730
|
+
}).parseAsync(t),
|
|
3731
|
+
responseValidator: async (e) => await ls.parseAsync(e),
|
|
3732
|
+
url: "/api/v1/issuers/peppol-connection/test",
|
|
3733
|
+
...t,
|
|
3734
|
+
headers: {
|
|
3735
|
+
"Content-Type": "application/json",
|
|
3736
|
+
...t.headers
|
|
3737
|
+
}
|
|
3623
3738
|
});
|
|
3624
3739
|
//#endregion
|
|
3625
3740
|
//#region src/utils/api.util.ts
|
|
3626
|
-
function
|
|
3741
|
+
function Cc(e) {
|
|
3627
3742
|
return typeof e == "object" && !!e && Array.isArray(e.errors);
|
|
3628
3743
|
}
|
|
3629
|
-
function
|
|
3630
|
-
return
|
|
3744
|
+
function wc(e) {
|
|
3745
|
+
return Cc(e) || e instanceof Error ? e : Error(String(e));
|
|
3631
3746
|
}
|
|
3632
|
-
var
|
|
3747
|
+
var Tc = class {
|
|
3633
3748
|
static async fromPromise(e) {
|
|
3634
|
-
return await t.fromPromise(e,
|
|
3749
|
+
return await t.fromPromise(e, wc);
|
|
3635
3750
|
}
|
|
3636
3751
|
static void(e) {
|
|
3637
3752
|
return e.isErr() ? n(e.error) : r();
|
|
3638
3753
|
}
|
|
3639
3754
|
};
|
|
3640
3755
|
//#endregion
|
|
3641
|
-
export {
|
|
3756
|
+
export { ms as $, Fs as A, yc as B, Hs as C, Us as D, Ks as E, ic as F, ws as G, js as H, lc as I, ec as J, vs as K, Ns as L, hc as M, Js as N, sc as O, ac as P, hs as Q, Sc as R, Rs as S, Is as T, Ds as U, As as V, Ts as W, vc as X, Ys as Y, tc as Z, ps as _, Ws as a, bs as at, Os as b, Ps as c, bc as ct, ks as d, _c as dt, gs as et, ds as f, $s as ft, Qs as g, Ss as h, p as ht, qs as i, Cs as it, pc as j, uc as k, mc as l, cc as lt, Zs as m, Gs as mt, Es as n, rc as nt, oc as o, Xs as ot, xs as p, us as pt, xc as q, fc as r, gc as rt, dc as s, _s as st, Tc as t, nc as tt, fs as u, ys as ut, Ls as v, zs as w, Vs as x, Ms as y, Bs as z };
|