@wisemen/wise-invoicing-web 0.13.0 → 0.14.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.
Files changed (44) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-HANaeRzK.js → ApprovalReminderSettingsViewDataProvider-DlsyA-ZR.js} +3 -3
  2. package/dist/{BillingDocumentDetailViewDataProvider-BVrmLEP5.js → BillingDocumentDetailViewDataProvider-D3-X20WR.js} +8 -8
  3. package/dist/{BillingDocumentPdf-BLlJw5Wp.js → BillingDocumentPdf-CcmP3N34.js} +3 -3
  4. package/dist/{CreditNoteDetailViewDataProvider-CnmNQyXq.js → CreditNoteDetailViewDataProvider-X-m10Sqr.js} +232 -196
  5. package/dist/{CreditNotePdfViewDataProvider-Bu8lNWSx.js → CreditNotePdfViewDataProvider-jWh6REbj.js} +3 -3
  6. package/dist/{CustomFieldValueText-DX_7bMFM.js → CustomFieldValueText-C9yV_CrJ.js} +2 -2
  7. package/dist/{DunningCaseSendDialog-D5_uNt0g.js → DunningCaseSendDialog-DUyOH14Q.js} +12 -12
  8. package/dist/{InvoiceApprovalOutOfSyncIndicator-CX7hLBIC.js → InvoiceApprovalOutOfSyncIndicator-DzY8gqnD.js} +1 -1
  9. package/dist/{InvoiceApprovalOverviewView-1pLrgcIU.js → InvoiceApprovalOverviewView-CoIGxCMN.js} +6 -6
  10. package/dist/{InvoiceApprovalStatusBadge-DqsSuo4M.js → InvoiceApprovalStatusBadge-C9O_mb1l.js} +2 -2
  11. package/dist/{InvoiceApproveDialogDataProvider-D22o3mIC.js → InvoiceApproveDialogDataProvider-hVuyszuo.js} +6 -6
  12. package/dist/{InvoiceDetailViewDataProvider-DoqOGDZb.js → InvoiceDetailViewDataProvider-DBlmJs3o.js} +14 -14
  13. package/dist/{InvoicePdfView-Df9masUV.js → InvoicePdfView-DBVwRo3q.js} +1 -1
  14. package/dist/{InvoicePdfViewDataProvider-CKCp0TJ7.js → InvoicePdfViewDataProvider-CHLE3XdC.js} +3 -3
  15. package/dist/{InvoicePublicProFormaPdfViewDataProvider-CqAP9Ckj.js → InvoicePublicProFormaPdfViewDataProvider-DECBZhaP.js} +3 -3
  16. package/dist/{InvoicingFileUploadProvider-Da_JGESE.js → InvoicingFileUploadProvider-BZRLmEsv.js} +1 -1
  17. package/dist/{IssuerSettingsViewDataProvider-xXQEED2s.js → IssuerSettingsViewDataProvider-DrXmGKtc.js} +3 -3
  18. package/dist/{PeppolSettingsViewDataProvider-B4Hu1RQk.js → PeppolSettingsViewDataProvider-BesduXML.js} +4 -4
  19. package/dist/{api.util-DpWaDY5y.js → api.util-BxDrxtn6.js} +400 -391
  20. package/dist/{billingDocumentDetail.transformer-BJQFbO87.js → billingDocumentDetail.transformer-I1L4zrOM.js} +1 -1
  21. package/dist/client/index.d.ts +2 -2
  22. package/dist/client/sdk.gen.d.ts +2 -1
  23. package/dist/client/types.gen.d.ts +33 -0
  24. package/dist/client/zod.gen.d.ts +9 -0
  25. package/dist/{creditNoteDetail.query-BVXYLSMf.js → creditNoteDetail.query-BurujY-Y.js} +50 -47
  26. package/dist/{i18n.lib-Be2_Gg1d.js → i18n.lib-7EI865En.js} +6 -0
  27. package/dist/index.d.ts +6 -0
  28. package/dist/index.js +94 -81
  29. package/dist/{invoice.service-Dugf3vP3.js → invoice.service-DfMS-JGk.js} +44 -44
  30. package/dist/{invoiceApproval.service-TTtH_nbV.js → invoiceApproval.service-CvvAZxJH.js} +5 -5
  31. package/dist/{invoiceApprovalStatus.util-BebJpPKg.js → invoiceApprovalStatus.util-QhwQpmWI.js} +1 -1
  32. package/dist/{invoiceCustomer.service-BgaMvr34.js → invoiceCustomer.service-DSAI1dGB.js} +6 -6
  33. package/dist/{invoiceDetail.query-DaY-Dwp4.js → invoiceDetail.query-qPz6hTNU.js} +1 -1
  34. package/dist/{invoiceIndexCache.util-8JQCyWbl.js → invoiceIndexCache.util-DduYusET.js} +2 -2
  35. package/dist/{invoicingConfig.composable-DQTYsGa7.js → invoicingConfig.composable-DT17tqnm.js} +2 -2
  36. package/dist/{issuerSettings.query-mMH2f5g6.js → issuerSettings.query-DYmr_dfw.js} +5 -5
  37. package/dist/libs/i18n.lib.d.ts +6 -0
  38. package/dist/locales/en-US.json.d.ts +3 -0
  39. package/dist/locales/nl-BE.json.d.ts +3 -0
  40. package/dist/modules/credit-note/api/mutations/creditNoteCopyToInvoice.mutation.d.ts +4 -0
  41. package/dist/modules/credit-note/api/services/creditNote.service.d.ts +2 -0
  42. package/dist/{reminderConfig.query-Dn0_h7xY.js → reminderConfig.query-BoNWAhZP.js} +11 -11
  43. package/dist/ui/customer-invoice-list/CustomerInvoiceTable.vue.d.ts +2 -0
  44. package/package.json +1 -1
@@ -2210,7 +2210,7 @@ e.object({
2210
2210
  status: e.enum(["409"]),
2211
2211
  code: e.enum(["delete_invoice_with_approval"])
2212
2212
  });
2213
- var mr = e.object({ uuid: e.uuid() });
2213
+ var mr = e.object({ uuid: e.uuid() }), hr = e.object({ uuid: e.uuid() });
2214
2214
  e.object({
2215
2215
  detail: e.string().optional(),
2216
2216
  status: e.enum(["409"]),
@@ -2224,7 +2224,7 @@ e.object({
2224
2224
  status: e.enum(["409"]),
2225
2225
  code: e.enum(["invoice_status_not_eligible_for_paid"])
2226
2226
  });
2227
- var hr = e.object({
2227
+ var gr = e.object({
2228
2228
  statuses: e.array(v).optional(),
2229
2229
  lifecycleStatuses: e.array(P).optional(),
2230
2230
  customerUuids: e.array(e.uuid()).optional(),
@@ -2251,10 +2251,10 @@ var hr = e.object({
2251
2251
  approvalStatuses: e.array(Z).optional(),
2252
2252
  isApprovalCancelled: e.boolean().optional(),
2253
2253
  isExternallyCreated: e.boolean().optional()
2254
- }), gr = e.object({
2254
+ }), _r = e.object({
2255
2255
  meta: Q,
2256
2256
  skipped: e.array($)
2257
- }), _r = e.object({
2257
+ }), vr = e.object({
2258
2258
  statuses: e.array(v).optional(),
2259
2259
  lifecycleStatuses: e.array(P).optional(),
2260
2260
  customerUuids: e.array(e.uuid()).optional(),
@@ -2281,7 +2281,7 @@ var hr = e.object({
2281
2281
  approvalStatuses: e.array(Z).optional(),
2282
2282
  isApprovalCancelled: e.boolean().optional(),
2283
2283
  isExternallyCreated: e.boolean().optional()
2284
- }), vr = e.object({
2284
+ }), yr = e.object({
2285
2285
  meta: Q,
2286
2286
  skipped: e.array($)
2287
2287
  });
@@ -2290,7 +2290,7 @@ e.object({
2290
2290
  status: e.enum(["409"]),
2291
2291
  code: e.enum(["invoice_not_disputed"])
2292
2292
  });
2293
- var yr = e.object({
2293
+ var br = e.object({
2294
2294
  statuses: e.array(v).optional(),
2295
2295
  lifecycleStatuses: e.array(P).optional(),
2296
2296
  customerUuids: e.array(e.uuid()).optional(),
@@ -2317,10 +2317,10 @@ var yr = e.object({
2317
2317
  approvalStatuses: e.array(Z).optional(),
2318
2318
  isApprovalCancelled: e.boolean().optional(),
2319
2319
  isExternallyCreated: e.boolean().optional()
2320
- }), br = e.object({
2320
+ }), xr = e.object({
2321
2321
  meta: Q,
2322
2322
  skipped: e.array($)
2323
- }), xr = e.object({
2323
+ }), Sr = e.object({
2324
2324
  statuses: e.array(v).optional(),
2325
2325
  lifecycleStatuses: e.array(P).optional(),
2326
2326
  customerUuids: e.array(e.uuid()).optional(),
@@ -2347,10 +2347,10 @@ var yr = e.object({
2347
2347
  approvalStatuses: e.array(Z).optional(),
2348
2348
  isApprovalCancelled: e.boolean().optional(),
2349
2349
  isExternallyCreated: e.boolean().optional()
2350
- }), Sr = e.object({
2350
+ }), Cr = e.object({
2351
2351
  meta: Q,
2352
2352
  skipped: e.array($)
2353
- }), Cr = e.object({
2353
+ }), wr = e.object({
2354
2354
  statuses: e.array(v).optional(),
2355
2355
  lifecycleStatuses: e.array(P).optional(),
2356
2356
  customerUuids: e.array(e.uuid()).optional(),
@@ -2377,10 +2377,10 @@ var yr = e.object({
2377
2377
  approvalStatuses: e.array(Z).optional(),
2378
2378
  isApprovalCancelled: e.boolean().optional(),
2379
2379
  isExternallyCreated: e.boolean().optional()
2380
- }), wr = e.object({
2380
+ }), Tr = e.object({
2381
2381
  meta: Q,
2382
2382
  skipped: e.array($)
2383
- }), Tr = e.object({
2383
+ }), Er = e.object({
2384
2384
  statuses: e.array(v).optional(),
2385
2385
  lifecycleStatuses: e.array(P).optional(),
2386
2386
  customerUuids: e.array(e.uuid()).optional(),
@@ -2407,7 +2407,7 @@ var yr = e.object({
2407
2407
  approvalStatuses: e.array(Z).optional(),
2408
2408
  isApprovalCancelled: e.boolean().optional(),
2409
2409
  isExternallyCreated: e.boolean().optional()
2410
- }), Er = e.object({
2410
+ }), Dr = e.object({
2411
2411
  meta: Q,
2412
2412
  skipped: e.array($)
2413
2413
  });
@@ -2416,7 +2416,7 @@ e.object({
2416
2416
  status: e.enum(["404"]),
2417
2417
  code: e.enum(["pro_forma_not_found"])
2418
2418
  });
2419
- var Dr = e.object({
2419
+ var Or = e.object({
2420
2420
  entityUuids: e.array(e.uuid()).optional(),
2421
2421
  entityTypes: e.array(e.enum([
2422
2422
  "customer",
@@ -2434,13 +2434,13 @@ var Dr = e.object({
2434
2434
  "approval",
2435
2435
  "attachment"
2436
2436
  ])).optional()
2437
- }), Or = e.object({
2437
+ }), kr = e.object({
2438
2438
  createdAt: e.string(),
2439
2439
  uuid: e.uuid()
2440
- }), kr = e.object({
2440
+ }), Ar = e.object({
2441
2441
  limit: e.number().gte(0).lte(100).optional(),
2442
- key: Or.nullish()
2443
- }), Ar = e.enum([
2442
+ key: kr.nullish()
2443
+ }), jr = e.enum([
2444
2444
  "invoice-created",
2445
2445
  "invoice-updated",
2446
2446
  "invoice-finalized",
@@ -2464,40 +2464,40 @@ var Dr = e.object({
2464
2464
  "credit-note-created",
2465
2465
  "credit-note-updated",
2466
2466
  "customer-updated"
2467
- ]), jr = e.enum([
2467
+ ]), Mr = e.enum([
2468
2468
  "create",
2469
2469
  "update",
2470
2470
  "delete"
2471
- ]), Mr = e.enum([
2471
+ ]), Nr = e.enum([
2472
2472
  "user",
2473
2473
  "service",
2474
2474
  "system"
2475
- ]), Nr = e.object({
2475
+ ]), Pr = e.object({
2476
2476
  uuid: e.uuid(),
2477
2477
  firstName: e.string().nullable(),
2478
2478
  lastName: e.string().nullable(),
2479
2479
  email: e.string().nullable()
2480
- }), Pr = e.enum([
2480
+ }), Fr = e.enum([
2481
2481
  "actor",
2482
2482
  "customer",
2483
2483
  "invoice",
2484
2484
  "credit_note",
2485
2485
  "approval",
2486
2486
  "attachment"
2487
- ]), Fr = e.enum([
2487
+ ]), Ir = e.enum([
2488
2488
  "customer",
2489
2489
  "invoice",
2490
2490
  "credit_note",
2491
2491
  "approval",
2492
2492
  "api_key",
2493
2493
  "file"
2494
- ]), Ir = e.object({
2495
- role: Pr,
2496
- type: Fr,
2494
+ ]), Lr = e.object({
2495
+ role: Fr,
2496
+ type: Ir,
2497
2497
  uuid: e.uuid(),
2498
2498
  label: e.string().nullable()
2499
- }), Lr = e.object({
2500
- entityRole: Pr,
2499
+ }), Rr = e.object({
2500
+ entityRole: Fr,
2501
2501
  field: e.string(),
2502
2502
  from: e.union([
2503
2503
  e.string(),
@@ -2509,17 +2509,17 @@ var Dr = e.object({
2509
2509
  e.number(),
2510
2510
  e.boolean()
2511
2511
  ]).nullable()
2512
- }), Rr = e.object({
2513
- createdAt: e.iso.datetime(),
2514
- action: Ar,
2515
- changeType: jr,
2516
- actorType: Mr,
2517
- actor: Nr.nullable(),
2518
- entities: e.array(Ir),
2519
- changes: e.array(Lr).nullable()
2520
2512
  }), zr = e.object({
2521
- logs: e.array(Rr),
2522
- nextKey: Or.nullable()
2513
+ createdAt: e.iso.datetime(),
2514
+ action: jr,
2515
+ changeType: Mr,
2516
+ actorType: Nr,
2517
+ actor: Pr.nullable(),
2518
+ entities: e.array(Lr),
2519
+ changes: e.array(Rr).nullable()
2520
+ }), Br = e.object({
2521
+ logs: e.array(zr),
2522
+ nextKey: kr.nullable()
2523
2523
  });
2524
2524
  e.object({
2525
2525
  detail: e.string().optional(),
@@ -2534,14 +2534,14 @@ e.object({
2534
2534
  status: e.enum(["409"]),
2535
2535
  code: e.enum(["payment_external_id_already_exists"])
2536
2536
  });
2537
- var Br = e.enum(["standard", "advance"]), Vr = e.object({
2537
+ var Vr = e.enum(["standard", "advance"]), Hr = e.object({
2538
2538
  amount: b,
2539
2539
  date: e.iso.date(),
2540
2540
  paymentReference: e.string().nullish(),
2541
2541
  remarks: e.string().nullish(),
2542
- type: Br.optional(),
2542
+ type: Vr.optional(),
2543
2543
  externalId: e.string().nullish()
2544
- }), Hr = e.object({ uuid: e.uuid() });
2544
+ }), Ur = e.object({ uuid: e.uuid() });
2545
2545
  e.object({
2546
2546
  detail: e.string().optional(),
2547
2547
  status: e.enum(["404"]),
@@ -2555,35 +2555,35 @@ e.object({
2555
2555
  status: e.enum(["409"]),
2556
2556
  code: e.enum(["advance_payment_locked"])
2557
2557
  });
2558
- var Ur = e.enum(["manual", "exact"]), Wr = e.object({
2558
+ var Wr = e.enum(["manual", "exact"]), Gr = e.object({
2559
2559
  uuid: e.uuid(),
2560
2560
  amount: b,
2561
2561
  date: e.iso.date(),
2562
2562
  createdAt: e.iso.datetime(),
2563
2563
  paymentReference: e.string().nullable(),
2564
2564
  remarks: e.string().nullable(),
2565
- source: Ur,
2566
- type: Br
2567
- }), Gr = e.object({ items: e.array(Wr) }), Kr = e.union([
2565
+ source: Wr,
2566
+ type: Vr
2567
+ }), Kr = e.object({ items: e.array(Gr) }), qr = e.union([
2568
2568
  e.literal(1),
2569
2569
  e.literal(2),
2570
2570
  e.literal(3)
2571
- ]), qr = e.object({
2571
+ ]), Jr = e.object({
2572
2572
  subject: F,
2573
2573
  body: F
2574
- }), Jr = e.enum(["percentage", "amount"]), Yr = e.object({
2575
- type: Jr,
2574
+ }), Yr = e.enum(["percentage", "amount"]), Xr = e.object({
2575
+ type: Yr,
2576
2576
  amount: b.nullable(),
2577
2577
  percentage: e.number().nullable()
2578
- }), Xr = e.object({
2578
+ }), Zr = e.object({
2579
2579
  uuid: e.uuid(),
2580
2580
  issuerUuid: e.uuid(),
2581
- sequence: Kr,
2581
+ sequence: qr,
2582
2582
  schedule: Mn,
2583
2583
  offsetDays: e.number(),
2584
- template: qr,
2585
- fee: Yr
2586
- }), Zr = e.object({ items: e.array(Xr) });
2584
+ template: Jr,
2585
+ fee: Xr
2586
+ }), Qr = e.object({ items: e.array(Zr) });
2587
2587
  e.object({
2588
2588
  detail: e.string().optional(),
2589
2589
  status: e.enum(["400"]),
@@ -2597,36 +2597,36 @@ e.object({
2597
2597
  status: e.enum(["400"]),
2598
2598
  code: e.enum(["additional_reminder_config"])
2599
2599
  });
2600
- var Qr = e.object({
2600
+ var $r = e.object({
2601
2601
  subject: F,
2602
2602
  body: F
2603
- }), $r = e.object({
2603
+ }), ei = e.object({
2604
2604
  sequence: e.number(),
2605
2605
  offsetDays: e.int().gte(1),
2606
2606
  schedule: Mn,
2607
- template: Qr,
2608
- fee: Yr
2609
- }), ei = e.object({ reminders: e.array($r) }), ti = e.enum([
2607
+ template: $r,
2608
+ fee: Xr
2609
+ }), ti = e.object({ reminders: e.array(ei) }), ni = e.enum([
2610
2610
  "invoice",
2611
2611
  "invoice-line",
2612
2612
  "invoice-line-group"
2613
- ]), ni = e.object({ entityTypes: e.array(ti).optional() });
2613
+ ]), ri = e.object({ entityTypes: e.array(ni).optional() });
2614
2614
  e.object({
2615
2615
  detail: e.string().optional(),
2616
2616
  status: e.enum(["404"]),
2617
2617
  code: e.enum(["dunning_case_not_found"])
2618
2618
  });
2619
- var ri = e.object({
2619
+ var ii = e.object({
2620
2620
  uuid: e.uuid(),
2621
2621
  type: _,
2622
2622
  name: e.string(),
2623
2623
  vatNumber: e.string().nullable(),
2624
2624
  email: e.string().nullable()
2625
- }), ii = e.object({
2625
+ }), ai = e.object({
2626
2626
  uuid: e.uuid(),
2627
2627
  date: e.iso.date(),
2628
2628
  amount: b
2629
- }), ai = e.object({
2629
+ }), oi = e.object({
2630
2630
  uuid: e.uuid(),
2631
2631
  sequence: e.string(),
2632
2632
  grossAmount: b,
@@ -2635,7 +2635,7 @@ var ri = e.object({
2635
2635
  e.enum(["infinity"]),
2636
2636
  e.enum(["-infinity"])
2637
2637
  ])
2638
- }), oi = e.object({
2638
+ }), si = e.object({
2639
2639
  uuid: e.uuid(),
2640
2640
  subject: e.string().nullable(),
2641
2641
  sequence: e.string(),
@@ -2647,9 +2647,9 @@ var ri = e.object({
2647
2647
  paidAmount: b,
2648
2648
  isDisputed: e.boolean(),
2649
2649
  settlementStatus: R,
2650
- payments: e.array(ii),
2651
- creditNotes: e.array(ai)
2652
- }), si = e.object({
2650
+ payments: e.array(ai),
2651
+ creditNotes: e.array(oi)
2652
+ }), ci = e.object({
2653
2653
  uuid: e.uuid(),
2654
2654
  sentAt: e.union([
2655
2655
  e.iso.datetime(),
@@ -2657,7 +2657,7 @@ var ri = e.object({
2657
2657
  e.enum(["-infinity"])
2658
2658
  ]).nullable(),
2659
2659
  hasErrors: e.boolean()
2660
- }), ci = e.enum(["missing_email"]), li = e.object({
2660
+ }), li = e.enum(["missing_email"]), ui = e.object({
2661
2661
  uuid: e.uuid(),
2662
2662
  createdAt: e.iso.datetime(),
2663
2663
  updatedAt: e.iso.datetime(),
@@ -2665,8 +2665,8 @@ var ri = e.object({
2665
2665
  isClosed: e.boolean(),
2666
2666
  nextReminderOn: e.iso.date().nullable(),
2667
2667
  level: e.number().nullable(),
2668
- customer: ri,
2669
- invoices: e.array(oi),
2668
+ customer: ii,
2669
+ invoices: e.array(si),
2670
2670
  outstandingBalance: b,
2671
2671
  totalPaid: b,
2672
2672
  totalInvoiced: b,
@@ -2679,17 +2679,17 @@ var ri = e.object({
2679
2679
  ]).nullable(),
2680
2680
  canSendReminder: e.boolean(),
2681
2681
  canRetryReminder: e.boolean(),
2682
- latestCreatedReminder: si.nullable(),
2683
- blockedReason: ci.nullable()
2684
- }), ui = e.object({
2682
+ latestCreatedReminder: ci.nullable(),
2683
+ blockedReason: li.nullable()
2684
+ }), di = e.object({
2685
2685
  isOpen: e.boolean().optional(),
2686
2686
  customerUuid: e.uuid().optional(),
2687
2687
  level: e.number().optional(),
2688
2688
  dunningCaseUuids: X.optional()
2689
- }), di = e.object({
2689
+ }), fi = e.object({
2690
2690
  uuid: e.uuid(),
2691
2691
  name: e.string()
2692
- }), fi = e.object({
2692
+ }), pi = e.object({
2693
2693
  uuid: e.uuid(),
2694
2694
  sentAt: e.union([
2695
2695
  e.iso.datetime(),
@@ -2697,9 +2697,9 @@ var ri = e.object({
2697
2697
  e.enum(["-infinity"])
2698
2698
  ]).nullable(),
2699
2699
  hasErrors: e.boolean()
2700
- }), pi = e.object({
2700
+ }), mi = e.object({
2701
2701
  uuid: e.uuid(),
2702
- customer: di,
2702
+ customer: fi,
2703
2703
  level: e.number().nullable(),
2704
2704
  daysOverdue: e.number(),
2705
2705
  outstandingBalance: b,
@@ -2715,10 +2715,10 @@ var ri = e.object({
2715
2715
  ]).nullable(),
2716
2716
  canSendReminder: e.boolean(),
2717
2717
  canRetryReminder: e.boolean(),
2718
- latestCreatedReminder: fi.nullable(),
2719
- blockedReason: ci.nullable()
2720
- }), mi = e.object({
2721
- items: e.array(pi),
2718
+ latestCreatedReminder: pi.nullable(),
2719
+ blockedReason: li.nullable()
2720
+ }), hi = e.object({
2721
+ items: e.array(mi),
2722
2722
  meta: g
2723
2723
  });
2724
2724
  e.object({
@@ -2746,23 +2746,23 @@ e.object({
2746
2746
  status: e.enum(["409"]),
2747
2747
  code: e.enum(["dunning_case_reminder_not_retryable"])
2748
2748
  });
2749
- var hi = e.object({
2749
+ var gi = e.object({
2750
2750
  isOpen: e.boolean().optional(),
2751
2751
  customerUuid: e.uuid().optional(),
2752
2752
  level: e.number().optional(),
2753
2753
  dunningCaseUuids: X.optional()
2754
- }), gi = e.object({
2754
+ }), _i = e.object({
2755
2755
  meta: Q,
2756
2756
  skipped: e.array($)
2757
- }), _i = e.object({
2757
+ }), vi = e.object({
2758
2758
  isOpen: e.boolean().optional(),
2759
2759
  customerUuid: e.uuid().optional(),
2760
2760
  level: e.number().optional(),
2761
2761
  dunningCaseUuids: X.optional()
2762
- }), vi = e.object({
2762
+ }), yi = e.object({
2763
2763
  meta: Q,
2764
2764
  skipped: e.array($)
2765
- }), yi = e.object({
2765
+ }), bi = e.object({
2766
2766
  name: e.string().nullable(),
2767
2767
  email: e.email().nullable(),
2768
2768
  phoneNumber: e.string().nullable(),
@@ -2772,7 +2772,7 @@ var hi = e.object({
2772
2772
  bankAccountNumber: e.string().nullable(),
2773
2773
  alternativeBankAccountNumber: e.string().nullable(),
2774
2774
  currency: y
2775
- }), bi = e.object({
2775
+ }), xi = e.object({
2776
2776
  name: e.string(),
2777
2777
  address: S.nullable(),
2778
2778
  email: e.email().nullable(),
@@ -2782,10 +2782,10 @@ var hi = e.object({
2782
2782
  type: _,
2783
2783
  locale: Fe,
2784
2784
  currency: y
2785
- }), xi = e.object({
2785
+ }), Si = e.object({
2786
2786
  name: e.string().nullable(),
2787
2787
  email: e.email()
2788
- }), Si = e.object({
2788
+ }), Ci = e.object({
2789
2789
  sequence: e.string(),
2790
2790
  issuedOn: e.iso.date(),
2791
2791
  dueOn: e.iso.date(),
@@ -2794,21 +2794,21 @@ var hi = e.object({
2794
2794
  daysOverdue: e.number(),
2795
2795
  fee: b,
2796
2796
  isNew: e.boolean()
2797
- }), Ci = e.object({
2797
+ }), wi = e.object({
2798
2798
  sequence: e.string(),
2799
2799
  issuedOn: e.iso.date(),
2800
2800
  dueOn: e.iso.date(),
2801
2801
  outstandingBalance: b,
2802
2802
  daysOverdue: e.number()
2803
- }), wi = e.object({
2803
+ }), Ti = e.object({
2804
2804
  createdAt: e.iso.datetime(),
2805
2805
  sentAt: e.iso.datetime().nullable(),
2806
2806
  level: e.number(),
2807
- issuer: yi,
2808
- customer: bi,
2809
- recipient: xi,
2810
- invoices: e.array(Si),
2811
- outstandingInvoices: e.array(Ci),
2807
+ issuer: bi,
2808
+ customer: xi,
2809
+ recipient: Si,
2810
+ invoices: e.array(Ci),
2811
+ outstandingInvoices: e.array(wi),
2812
2812
  totalFee: b
2813
2813
  });
2814
2814
  e.object({
@@ -2832,7 +2832,7 @@ e.object({
2832
2832
  status: e.enum(["409"]),
2833
2833
  code: e.enum(["customer_has_no_approval_email"])
2834
2834
  });
2835
- var Ti = e.object({
2835
+ var Ei = e.object({
2836
2836
  statuses: e.array(v).optional(),
2837
2837
  lifecycleStatuses: e.array(P).optional(),
2838
2838
  customerUuids: e.array(e.uuid()).optional(),
@@ -2859,10 +2859,10 @@ var Ti = e.object({
2859
2859
  approvalStatuses: e.array(Z).optional(),
2860
2860
  isApprovalCancelled: e.boolean().optional(),
2861
2861
  isExternallyCreated: e.boolean().optional()
2862
- }), Ei = e.object({
2862
+ }), Di = e.object({
2863
2863
  meta: Q,
2864
2864
  skipped: e.array($)
2865
- }), Di = e.object({
2865
+ }), Oi = e.object({
2866
2866
  statuses: e.array(v).optional(),
2867
2867
  lifecycleStatuses: e.array(P).optional(),
2868
2868
  customerUuids: e.array(e.uuid()).optional(),
@@ -2889,7 +2889,7 @@ var Ti = e.object({
2889
2889
  approvalStatuses: e.array(Z).optional(),
2890
2890
  isApprovalCancelled: e.boolean().optional(),
2891
2891
  isExternallyCreated: e.boolean().optional()
2892
- }), Oi = e.object({
2892
+ }), ki = e.object({
2893
2893
  meta: Q,
2894
2894
  skipped: e.array($)
2895
2895
  });
@@ -2906,7 +2906,7 @@ e.object({
2906
2906
  status: e.enum(["400"]),
2907
2907
  code: e.enum(["missing_invoice_approval_file"])
2908
2908
  });
2909
- var ki = e.object({
2909
+ var Ai = e.object({
2910
2910
  fileUuids: e.array(e.uuid()).optional(),
2911
2911
  remarks: e.string().nullish()
2912
2912
  });
@@ -2915,7 +2915,7 @@ e.object({
2915
2915
  status: e.enum(["400"]),
2916
2916
  code: e.enum(["missing_rejection_remarks"])
2917
2917
  });
2918
- var Ai = e.object({
2918
+ var ji = e.object({
2919
2919
  remarks: e.string().max(500).nullish(),
2920
2920
  reason: Fn,
2921
2921
  fileUuids: e.array(e.uuid()).optional()
@@ -2937,18 +2937,18 @@ e.object({
2937
2937
  status: e.enum(["409"]),
2938
2938
  code: e.enum(["approval_restart_requires_active_approval"])
2939
2939
  });
2940
- var ji = e.object({
2940
+ var Mi = e.object({
2941
2941
  status: Pn.optional(),
2942
2942
  invoiceUuid: e.uuid().optional(),
2943
2943
  customerUuid: e.uuid().optional(),
2944
2944
  level: z.optional(),
2945
2945
  hasChangesSinceApprovalSent: e.boolean().optional(),
2946
2946
  isCancelled: e.boolean().optional()
2947
- }), Mi = e.object({
2947
+ }), Ni = e.object({
2948
2948
  uuid: e.uuid(),
2949
2949
  subject: e.string().nullable(),
2950
2950
  hasChangesSinceApprovalSent: e.boolean()
2951
- }), Ni = e.object({
2951
+ }), Pi = e.object({
2952
2952
  uuid: e.uuid(),
2953
2953
  issuedOn: e.union([
2954
2954
  e.iso.date(),
@@ -2958,13 +2958,13 @@ var ji = e.object({
2958
2958
  netAmount: b,
2959
2959
  grossAmount: b,
2960
2960
  balanceDueAmount: b.nullable()
2961
- }), Pi = e.object({
2961
+ }), Fi = e.object({
2962
2962
  uuid: e.uuid(),
2963
2963
  name: e.string().nullable()
2964
- }), Fi = e.object({
2964
+ }), Ii = e.object({
2965
2965
  name: e.string().nullable(),
2966
2966
  email: e.email().nullable()
2967
- }), Ii = e.object({
2967
+ }), Li = e.object({
2968
2968
  uuid: e.uuid(),
2969
2969
  createdAt: e.iso.datetime(),
2970
2970
  status: Pn,
@@ -2996,14 +2996,14 @@ var ji = e.object({
2996
2996
  e.enum(["infinity"]),
2997
2997
  e.enum(["-infinity"])
2998
2998
  ]).nullable(),
2999
- invoice: Mi,
3000
- proForma: Ni,
3001
- customer: Pi,
3002
- recipient: Fi
3003
- }), Li = e.object({
3004
- items: e.array(Ii),
3005
- meta: g
2999
+ invoice: Ni,
3000
+ proForma: Pi,
3001
+ customer: Fi,
3002
+ recipient: Ii
3006
3003
  }), Ri = e.object({
3004
+ items: e.array(Li),
3005
+ meta: g
3006
+ }), zi = e.object({
3007
3007
  uuid: e.uuid(),
3008
3008
  name: e.string().nullable(),
3009
3009
  email: e.email().nullable(),
@@ -3013,7 +3013,7 @@ var ji = e.object({
3013
3013
  vatNumber: e.string().nullable(),
3014
3014
  bankAccountNumber: e.string().nullable(),
3015
3015
  alternativeBankAccountNumber: e.string().nullable()
3016
- }), zi = e.object({
3016
+ }), Bi = e.object({
3017
3017
  uuid: e.uuid(),
3018
3018
  name: e.string().nullable(),
3019
3019
  email: e.email().nullable(),
@@ -3021,7 +3021,7 @@ var ji = e.object({
3021
3021
  address: S.nullable(),
3022
3022
  vatNumber: e.string().nullable(),
3023
3023
  type: _
3024
- }), Bi = e.object({
3024
+ }), Vi = e.object({
3025
3025
  uuid: e.uuid(),
3026
3026
  groupUuid: e.uuid().nullable(),
3027
3027
  position: e.number(),
@@ -3048,7 +3048,7 @@ var ji = e.object({
3048
3048
  discount: L.nullable(),
3049
3049
  unit: cn,
3050
3050
  isDiscount: e.boolean()
3051
- }), Vi = e.object({
3051
+ }), Hi = e.object({
3052
3052
  uuid: e.uuid(),
3053
3053
  position: e.number(),
3054
3054
  name: e.string(),
@@ -3065,19 +3065,19 @@ var ji = e.object({
3065
3065
  M,
3066
3066
  N
3067
3067
  ])),
3068
- lines: e.array(Bi),
3069
- groups: e.array(e.lazy(() => Vi))
3070
- }), Hi = e.object({
3068
+ lines: e.array(Vi),
3069
+ groups: e.array(e.lazy(() => Hi))
3070
+ }), Ui = e.object({
3071
3071
  vatRate: I,
3072
3072
  netAmount: b,
3073
3073
  vatAmount: b
3074
- }), Ui = e.object({
3074
+ }), Wi = e.object({
3075
3075
  uuid: e.uuid(),
3076
3076
  createdAt: e.iso.datetime(),
3077
3077
  updatedAt: e.iso.datetime(),
3078
3078
  issueOn: e.iso.date().nullable(),
3079
- issuer: Ri,
3080
- customer: zi,
3079
+ issuer: zi,
3080
+ customer: Bi,
3081
3081
  paymentReference: e.string().nullable(),
3082
3082
  subject: e.string().nullable(),
3083
3083
  poNumber: e.string().nullable(),
@@ -3093,9 +3093,9 @@ var ji = e.object({
3093
3093
  M,
3094
3094
  N
3095
3095
  ])),
3096
- ungroupedLines: e.array(Bi),
3097
- groups: e.array(Vi),
3098
- vatSummaries: e.array(Hi),
3096
+ ungroupedLines: e.array(Vi),
3097
+ groups: e.array(Hi),
3098
+ vatSummaries: e.array(Ui),
3099
3099
  grossAmount: b,
3100
3100
  netAmount: b,
3101
3101
  effectiveNet: b,
@@ -3105,14 +3105,14 @@ var ji = e.object({
3105
3105
  advancePaymentAmount: b.nullable(),
3106
3106
  amountDue: b,
3107
3107
  externalRemarks: e.string().nullable()
3108
- }), Wi = e.enum(["after_approval_request", "after_last_reminder"]), Gi = e.object({
3108
+ }), Gi = e.enum(["after_approval_request", "after_last_reminder"]), Ki = e.object({
3109
3109
  uuid: e.uuid(),
3110
3110
  issuerUuid: e.uuid(),
3111
3111
  sequence: z,
3112
- schedule: Wi,
3112
+ schedule: Gi,
3113
3113
  offsetDays: e.number(),
3114
- template: qr
3115
- }), Ki = e.object({ items: e.array(Gi) });
3114
+ template: Jr
3115
+ }), qi = e.object({ items: e.array(Ki) });
3116
3116
  e.object({
3117
3117
  detail: e.string().optional(),
3118
3118
  status: e.enum(["400"]),
@@ -3126,34 +3126,34 @@ e.object({
3126
3126
  status: e.enum(["400"]),
3127
3127
  code: e.enum(["additional_approval_reminder_config"])
3128
3128
  });
3129
- var qi = e.object({
3129
+ var Ji = e.object({
3130
3130
  sequence: z,
3131
3131
  offsetDays: e.int().gte(1),
3132
- schedule: Wi,
3133
- template: Qr
3134
- }), Ji = e.object({ reminders: e.array(qi).max(2) }), Yi = e.enum(["soluz"]), Xi = e.object({
3135
- provider: Yi,
3132
+ schedule: Gi,
3133
+ template: $r
3134
+ }), Yi = e.object({ reminders: e.array(Ji).max(2) }), Xi = e.enum(["soluz"]), Zi = e.object({
3135
+ provider: Xi,
3136
3136
  partyId: e.string(),
3137
3137
  enabled: e.boolean(),
3138
3138
  hasApiKey: e.boolean(),
3139
3139
  validatedAt: e.iso.datetime()
3140
- }), Zi = e.object({
3141
- connection: Xi.nullable(),
3142
- providers: e.array(Yi)
3140
+ }), Qi = e.object({
3141
+ connection: Zi.nullable(),
3142
+ providers: e.array(Xi)
3143
3143
  });
3144
3144
  e.object({
3145
3145
  detail: e.string().optional(),
3146
3146
  status: e.enum(["400"]),
3147
3147
  code: e.enum(["peppol_error"]),
3148
3148
  meta: e.record(e.string(), e.unknown())
3149
- }), e.object({ provider: Yi });
3150
- var Qi = e.object({
3149
+ }), e.object({ provider: Xi });
3150
+ var $i = e.object({
3151
3151
  id: e.string(),
3152
3152
  name: e.string(),
3153
3153
  vatNumber: e.string()
3154
- }), $i = e.object({ companies: e.array(Qi) });
3154
+ }), ea = e.object({ companies: e.array($i) });
3155
3155
  e.object({
3156
- provider: Yi,
3156
+ provider: Xi,
3157
3157
  partyId: e.string(),
3158
3158
  enabled: e.boolean()
3159
3159
  }), e.object({
@@ -3161,11 +3161,11 @@ e.object({
3161
3161
  status: e.enum(["500"]),
3162
3162
  code: e.enum(["internal_server_error"])
3163
3163
  });
3164
- var ea = e.object({
3165
- provider: Yi,
3164
+ var ta = e.object({
3165
+ provider: Xi,
3166
3166
  apiKey: e.string().optional()
3167
- }), ta = e.object({
3168
- provider: Yi,
3167
+ }), na = e.object({
3168
+ provider: Xi,
3169
3169
  apiKey: e.string().optional(),
3170
3170
  partyId: e.string(),
3171
3171
  enabled: e.boolean()
@@ -3177,14 +3177,14 @@ e.object({
3177
3177
  fresh: e.boolean(),
3178
3178
  collections: e.array(Ce).optional()
3179
3179
  }), e.object({ collections: e.array(Ce).optional() }), e.object({ user: e.uuid() }), e.object({ uuid: e.uuid() });
3180
- var na = e.object({
3180
+ var ra = e.object({
3181
3181
  pagination: h.optional(),
3182
3182
  search: e.string().optional()
3183
- }), ra = De;
3183
+ }), ia = De;
3184
3184
  e.void(), e.void(), e.object({ role: e.uuid() }), e.void(), e.object({ role: e.uuid() }), e.object({ role: e.uuid() }), e.void();
3185
- var ia = je, aa = Me;
3185
+ var aa = je, oa = Me;
3186
3186
  e.object({ file: e.uuid() }), e.void();
3187
- var oa = Ne, sa = e.object({ file: e.uuid() }), ca = e.void(), la = e.object({ file: e.uuid() });
3187
+ var sa = Ne, ca = e.object({ file: e.uuid() }), la = e.void(), ua = e.object({ file: e.uuid() });
3188
3188
  e.object({ file: e.uuid() }), e.object({ token: e.string() }), e.object({
3189
3189
  filter: ze.optional(),
3190
3190
  pagination: Ve.optional()
@@ -3203,719 +3203,728 @@ e.object({ file: e.uuid() }), e.object({ token: e.string() }), e.object({
3203
3203
  pagination: h.optional(),
3204
3204
  search: e.string().optional()
3205
3205
  }), 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();
3206
- var ua = e.object({
3206
+ var da = e.object({
3207
3207
  pagination: h.optional(),
3208
3208
  filter: Lt.optional(),
3209
3209
  search: e.string().optional()
3210
- }), da = zt, fa = e.object({ uuid: e.uuid() }), pa = It;
3210
+ }), fa = zt, pa = e.object({ uuid: e.uuid() }), ma = It;
3211
3211
  e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.void(), e.object({ uuid: e.uuid() }), e.object({ uuid: e.uuid() }), e.void();
3212
- var ma = e.object({ uuid: e.uuid() }), ha = e.object({ pagination: h.optional() }), ga = Ut, _a = Yt, va = Xt, ya = e.void(), ba = e.object({ token: e.string() }), xa = mn, Sa = e.object({
3212
+ var ha = e.object({ uuid: e.uuid() }), ga = e.object({ pagination: h.optional() }), _a = Ut, va = Yt, ya = Xt, ba = e.void(), xa = e.object({ token: e.string() }), Sa = mn, Ca = e.object({
3213
3213
  pagination: h.optional(),
3214
3214
  sort: e.array(zn).optional(),
3215
3215
  filter: Vn.optional(),
3216
3216
  search: e.string().optional()
3217
- }), Ca = Gn, wa = gn, Ta = _n, Ea = e.object({ uuid: e.uuid() }), Da = e.void(), Oa = e.object({ uuid: e.uuid() }), ka = Ln, Aa = Kn, ja = e.object({ uuid: e.uuid() }), Ma = e.void(), Na = Yn, Pa = e.object({ uuid: e.uuid() }), Fa = e.void();
3217
+ }), wa = Gn, Ta = gn, Ea = _n, Da = e.object({ uuid: e.uuid() }), Oa = e.void(), ka = e.object({ uuid: e.uuid() }), Aa = Ln, ja = Kn, Ma = e.object({ uuid: e.uuid() }), Na = e.void(), Pa = Yn, Fa = e.object({ uuid: e.uuid() }), Ia = e.void();
3218
3218
  e.object({ uuid: e.uuid() }), e.void();
3219
- var Ia = Xn, La = e.object({ uuid: e.uuid() }), Ra = e.void(), za = Zn, Ba = e.object({ uuid: e.uuid() }), Va = e.void(), Ha = e.object({ uuid: e.uuid() }), Ua = e.object({ uuid: e.uuid() }), Wa = tr, Ga = ir, Ka = e.object({ uuid: e.uuid() }), qa = e.void(), Ja = or, Ya = e.object({ uuid: e.uuid() }), Xa = e.void(), Za = e.object({ uuid: e.uuid() }), Qa = e.object({ uuid: e.uuid() }), $a = e.object({
3219
+ var La = Xn, Ra = e.object({ uuid: e.uuid() }), za = e.void(), Ba = Zn, Va = e.object({ uuid: e.uuid() }), Ha = e.void(), Ua = e.object({ uuid: e.uuid() }), Wa = e.object({ uuid: e.uuid() }), Ga = tr, Ka = ir, qa = e.object({ uuid: e.uuid() }), Ja = e.void(), Ya = or, Xa = e.object({ uuid: e.uuid() }), Za = e.void(), Qa = e.object({ uuid: e.uuid() }), $a = e.object({ uuid: e.uuid() }), eo = e.object({
3220
3220
  filter: sr.optional(),
3221
3221
  search: e.string().optional()
3222
- }), eo = dr, to = e.object({
3222
+ }), to = dr, no = e.object({
3223
3223
  filter: fr.optional(),
3224
3224
  search: e.string().optional()
3225
- }), no = pr, ro = e.object({ uuid: e.uuid() }), io = e.void(), ao = e.object({ uuid: e.uuid() }), oo = mr, so = e.object({ uuid: e.uuid() }), co = e.void(), lo = e.object({ uuid: e.uuid() }), uo = e.void(), fo = e.object({ uuid: e.uuid() }), po = e.void(), mo = e.object({ uuid: e.uuid() }), ho = e.void(), go = e.object({ uuid: e.uuid() }), _o = e.void(), vo = e.object({
3226
- filter: hr.optional(),
3225
+ }), ro = pr, io = e.object({ uuid: e.uuid() }), ao = e.void(), oo = e.object({ uuid: e.uuid() }), so = mr, co = e.object({ uuid: e.uuid() }), lo = hr, uo = e.object({ uuid: e.uuid() }), fo = e.void(), po = e.object({ uuid: e.uuid() }), mo = e.void(), ho = e.object({ uuid: e.uuid() }), go = e.void(), _o = e.object({ uuid: e.uuid() }), vo = e.void(), yo = e.object({ uuid: e.uuid() }), bo = e.void(), xo = e.object({
3226
+ filter: gr.optional(),
3227
3227
  search: e.string().optional()
3228
- }), yo = gr, bo = e.object({
3229
- filter: _r.optional(),
3228
+ }), So = _r, Co = e.object({
3229
+ filter: vr.optional(),
3230
3230
  search: e.string().optional()
3231
- }), xo = vr, So = e.object({ uuid: e.uuid() }), Co = e.void(), wo = e.object({
3232
- filter: yr.optional(),
3231
+ }), wo = yr, To = e.object({ uuid: e.uuid() }), Eo = e.void(), Do = e.object({
3232
+ filter: br.optional(),
3233
3233
  search: e.string().optional()
3234
- }), To = br, Eo = e.object({
3235
- filter: xr.optional(),
3234
+ }), Oo = xr, ko = e.object({
3235
+ filter: Sr.optional(),
3236
3236
  search: e.string().optional()
3237
- }), Do = Sr, Oo = e.object({
3238
- filter: Cr.optional(),
3237
+ }), Ao = Cr, jo = e.object({
3238
+ filter: wr.optional(),
3239
3239
  search: e.string().optional()
3240
- }), ko = wr, Ao = e.object({
3241
- filter: Tr.optional(),
3240
+ }), Mo = Tr, No = e.object({
3241
+ filter: Er.optional(),
3242
3242
  search: e.string().optional()
3243
- }), jo = Er, Mo = e.object({ uuid: e.uuid() }), No = e.void(), Po = e.object({
3244
- filter: Dr.optional(),
3245
- pagination: kr.optional()
3246
- }), Fo = zr, Io = e.object({ uuid: e.uuid() }), Lo = Gr, Ro = Vr, zo = e.object({ uuid: e.uuid() }), Bo = Hr, Vo = e.object({
3243
+ }), Po = Dr, Fo = e.object({ uuid: e.uuid() }), Io = e.void(), Lo = e.object({
3244
+ filter: Or.optional(),
3245
+ pagination: Ar.optional()
3246
+ }), Ro = Br, zo = e.object({ uuid: e.uuid() }), Bo = Kr, Vo = Hr, Ho = e.object({ uuid: e.uuid() }), Uo = Ur, Wo = e.object({
3247
3247
  uuid: e.uuid(),
3248
3248
  paymentUuid: e.uuid()
3249
- }), Ho = e.void(), Uo = Zr, Wo = ei, Go = e.void(), Ko = e.object({ filter: ni.optional() }), qo = e.array(on), Jo = e.object({ uuid: e.uuid() }), Yo = li, Xo = e.object({
3249
+ }), Go = e.void(), Ko = Qr, qo = ti, Jo = e.void(), Yo = e.object({ filter: ri.optional() }), Xo = e.array(on), Zo = e.object({ uuid: e.uuid() }), Qo = ui, $o = e.object({
3250
3250
  pagination: h.optional(),
3251
- filter: ui.optional()
3252
- }), Zo = mi, Qo = e.object({ uuid: e.uuid() }), $o = e.object({ uuid: e.uuid() }), es = e.object({ filter: hi.optional() }), ts = gi, ns = e.object({ filter: _i.optional() }), rs = vi, is = e.object({ token: e.string() }), as = wi, os = e.object({ uuid: e.uuid() }), ss = e.object({
3253
- filter: Ti.optional(),
3251
+ filter: di.optional()
3252
+ }), es = hi, ts = e.object({ uuid: e.uuid() }), ns = e.object({ uuid: e.uuid() }), rs = e.object({ filter: gi.optional() }), is = _i, as = e.object({ filter: vi.optional() }), os = yi, ss = e.object({ token: e.string() }), cs = Ti, ls = e.object({ uuid: e.uuid() }), us = e.object({
3253
+ filter: Ei.optional(),
3254
3254
  search: e.string().optional()
3255
- }), cs = Ei, ls = e.object({
3256
- filter: Di.optional(),
3255
+ }), ds = Di, fs = e.object({
3256
+ filter: Oi.optional(),
3257
3257
  search: e.string().optional()
3258
- }), us = Oi, ds = ki, fs = e.object({ uuid: e.uuid() }), ps = e.void(), ms = Ai, hs = e.object({ uuid: e.uuid() }), gs = e.void(), _s = e.object({ uuid: e.uuid() }), vs = e.void(), ys = e.object({ uuid: e.uuid() }), bs = e.object({
3258
+ }), ps = ki, ms = Ai, hs = e.object({ uuid: e.uuid() }), gs = e.void(), _s = ji, vs = e.object({ uuid: e.uuid() }), ys = e.void(), bs = e.object({ uuid: e.uuid() }), xs = e.void(), Ss = e.object({ uuid: e.uuid() }), Cs = e.object({
3259
3259
  pagination: h.optional(),
3260
- filter: ji.optional()
3261
- }), xs = Li, Ss = e.object({ token: e.string() }), Cs = Ui, ws = Ki, Ts = Ji, Es = e.void(), Ds = Zi, Os = ta, ks = ea, As = $i, js = (t) => (t?.client ?? p).get({
3260
+ filter: Mi.optional()
3261
+ }), ws = Ri, Ts = e.object({ token: e.string() }), Es = Wi, Ds = qi, Os = Yi, ks = e.void(), As = Qi, js = na, Ms = ta, Ns = ea, Ps = (t) => (t?.client ?? p).get({
3262
3262
  requestValidator: async (t) => await e.object({
3263
3263
  body: e.never().optional(),
3264
3264
  path: e.never().optional(),
3265
- query: na.optional()
3265
+ query: ra.optional()
3266
3266
  }).parseAsync(t),
3267
- responseValidator: async (e) => await ra.parseAsync(e),
3267
+ responseValidator: async (e) => await ia.parseAsync(e),
3268
3268
  url: "/api/v1/users",
3269
3269
  ...t
3270
- }), Ms = (t) => (t.client ?? p).post({
3270
+ }), Fs = (t) => (t.client ?? p).post({
3271
3271
  requestValidator: async (t) => await e.object({
3272
- body: ia,
3272
+ body: aa,
3273
3273
  path: e.never().optional(),
3274
3274
  query: e.never().optional()
3275
3275
  }).parseAsync(t),
3276
- responseValidator: async (e) => await aa.parseAsync(e),
3276
+ responseValidator: async (e) => await oa.parseAsync(e),
3277
3277
  url: "/api/v1/files",
3278
3278
  ...t,
3279
3279
  headers: {
3280
3280
  "Content-Type": "application/json",
3281
3281
  ...t.headers
3282
3282
  }
3283
- }), Ns = (t) => (t.client ?? p).post({
3283
+ }), Is = (t) => (t.client ?? p).post({
3284
3284
  requestValidator: async (t) => await e.object({
3285
- body: oa,
3286
- path: sa,
3285
+ body: sa,
3286
+ path: ca,
3287
3287
  query: e.never().optional()
3288
3288
  }).parseAsync(t),
3289
- responseValidator: async (e) => await ca.parseAsync(e),
3289
+ responseValidator: async (e) => await la.parseAsync(e),
3290
3290
  url: "/api/v2/files/{file}/confirm-upload",
3291
3291
  ...t,
3292
3292
  headers: {
3293
3293
  "Content-Type": "application/json",
3294
3294
  ...t.headers
3295
3295
  }
3296
- }), Ps = (t) => (t.client ?? p).post({
3296
+ }), Ls = (t) => (t.client ?? p).post({
3297
3297
  requestValidator: async (t) => await e.object({
3298
3298
  body: e.never().optional(),
3299
- path: la,
3299
+ path: ua,
3300
3300
  query: e.never().optional()
3301
3301
  }).parseAsync(t),
3302
3302
  url: "/api/v1/files/{file}/download",
3303
3303
  ...t
3304
- }), Fs = (t) => (t?.client ?? p).get({
3304
+ }), Rs = (t) => (t?.client ?? p).get({
3305
3305
  requestValidator: async (t) => await e.object({
3306
3306
  body: e.never().optional(),
3307
3307
  path: e.never().optional(),
3308
- query: ua.optional()
3308
+ query: da.optional()
3309
3309
  }).parseAsync(t),
3310
- responseValidator: async (e) => await da.parseAsync(e),
3310
+ responseValidator: async (e) => await fa.parseAsync(e),
3311
3311
  url: "/api/v1/customers",
3312
3312
  ...t
3313
- }), Is = (t) => (t.client ?? p).get({
3313
+ }), zs = (t) => (t.client ?? p).get({
3314
3314
  requestValidator: async (t) => await e.object({
3315
3315
  body: e.never().optional(),
3316
- path: fa,
3316
+ path: pa,
3317
3317
  query: e.never().optional()
3318
3318
  }).parseAsync(t),
3319
- responseValidator: async (e) => await pa.parseAsync(e),
3319
+ responseValidator: async (e) => await ma.parseAsync(e),
3320
3320
  url: "/api/v1/customers/{uuid}",
3321
3321
  ...t
3322
- }), Ls = (t) => (t.client ?? p).get({
3322
+ }), Bs = (t) => (t.client ?? p).get({
3323
3323
  requestValidator: async (t) => await e.object({
3324
3324
  body: e.never().optional(),
3325
- path: ma,
3326
- query: ha.optional()
3325
+ path: ha,
3326
+ query: ga.optional()
3327
3327
  }).parseAsync(t),
3328
- responseValidator: async (e) => await ga.parseAsync(e),
3328
+ responseValidator: async (e) => await _a.parseAsync(e),
3329
3329
  url: "/api/v1/customers/{uuid}/recipients",
3330
3330
  ...t
3331
- }), Rs = (t) => (t?.client ?? p).get({
3331
+ }), Vs = (t) => (t?.client ?? p).get({
3332
3332
  requestValidator: async (t) => await e.object({
3333
3333
  body: e.never().optional(),
3334
3334
  path: e.never().optional(),
3335
3335
  query: e.never().optional()
3336
3336
  }).parseAsync(t),
3337
- responseValidator: async (e) => await _a.parseAsync(e),
3337
+ responseValidator: async (e) => await va.parseAsync(e),
3338
3338
  url: "/api/v1/issuers",
3339
3339
  ...t
3340
- }), zs = (t) => (t.client ?? p).put({
3340
+ }), Hs = (t) => (t.client ?? p).put({
3341
3341
  requestValidator: async (t) => await e.object({
3342
- body: va,
3342
+ body: ya,
3343
3343
  path: e.never().optional(),
3344
3344
  query: e.never().optional()
3345
3345
  }).parseAsync(t),
3346
- responseValidator: async (e) => await ya.parseAsync(e),
3346
+ responseValidator: async (e) => await ba.parseAsync(e),
3347
3347
  url: "/api/v1/issuers",
3348
3348
  ...t,
3349
3349
  headers: {
3350
3350
  "Content-Type": "application/json",
3351
3351
  ...t.headers
3352
3352
  }
3353
- }), Bs = (t) => (t.client ?? p).get({
3353
+ }), Us = (t) => (t.client ?? p).get({
3354
3354
  requestValidator: async (t) => await e.object({
3355
3355
  body: e.never().optional(),
3356
3356
  path: e.never().optional(),
3357
- query: ba
3357
+ query: xa
3358
3358
  }).parseAsync(t),
3359
- responseValidator: async (e) => await xa.parseAsync(e),
3359
+ responseValidator: async (e) => await Sa.parseAsync(e),
3360
3360
  url: "/api/v1/public/invoices",
3361
3361
  ...t
3362
- }), Vs = (t) => (t?.client ?? p).get({
3362
+ }), Ws = (t) => (t?.client ?? p).get({
3363
3363
  requestValidator: async (t) => await e.object({
3364
3364
  body: e.never().optional(),
3365
3365
  path: e.never().optional(),
3366
- query: Sa.optional()
3366
+ query: Ca.optional()
3367
3367
  }).parseAsync(t),
3368
- responseValidator: async (e) => await Ca.parseAsync(e),
3368
+ responseValidator: async (e) => await wa.parseAsync(e),
3369
3369
  url: "/api/v1/invoices",
3370
3370
  ...t
3371
- }), Hs = (t) => (t.client ?? p).post({
3371
+ }), Gs = (t) => (t.client ?? p).post({
3372
3372
  requestValidator: async (t) => await e.object({
3373
- body: wa,
3373
+ body: Ta,
3374
3374
  path: e.never().optional(),
3375
3375
  query: e.never().optional()
3376
3376
  }).parseAsync(t),
3377
- responseValidator: async (e) => await Ta.parseAsync(e),
3377
+ responseValidator: async (e) => await Ea.parseAsync(e),
3378
3378
  url: "/api/v1/invoices",
3379
3379
  ...t,
3380
3380
  headers: {
3381
3381
  "Content-Type": "application/json",
3382
3382
  ...t.headers
3383
3383
  }
3384
- }), Us = (t) => (t.client ?? p).delete({
3384
+ }), Ks = (t) => (t.client ?? p).delete({
3385
3385
  requestValidator: async (t) => await e.object({
3386
3386
  body: e.never().optional(),
3387
- path: Ea,
3387
+ path: Da,
3388
3388
  query: e.never().optional()
3389
3389
  }).parseAsync(t),
3390
- responseValidator: async (e) => await Da.parseAsync(e),
3390
+ responseValidator: async (e) => await Oa.parseAsync(e),
3391
3391
  url: "/api/v1/invoices/{uuid}",
3392
3392
  ...t
3393
- }), Ws = (t) => (t.client ?? p).get({
3393
+ }), qs = (t) => (t.client ?? p).get({
3394
3394
  requestValidator: async (t) => await e.object({
3395
3395
  body: e.never().optional(),
3396
- path: Oa,
3396
+ path: ka,
3397
3397
  query: e.never().optional()
3398
3398
  }).parseAsync(t),
3399
- responseValidator: async (e) => await ka.parseAsync(e),
3399
+ responseValidator: async (e) => await Aa.parseAsync(e),
3400
3400
  url: "/api/v1/invoices/{uuid}",
3401
3401
  ...t
3402
- }), Gs = (t) => (t.client ?? p).patch({
3402
+ }), Js = (t) => (t.client ?? p).patch({
3403
3403
  requestValidator: async (t) => await e.object({
3404
- body: Aa,
3405
- path: ja,
3404
+ body: ja,
3405
+ path: Ma,
3406
3406
  query: e.never().optional()
3407
3407
  }).parseAsync(t),
3408
- responseValidator: async (e) => await Ma.parseAsync(e),
3408
+ responseValidator: async (e) => await Na.parseAsync(e),
3409
3409
  url: "/api/v1/invoices/{uuid}",
3410
3410
  ...t,
3411
3411
  headers: {
3412
3412
  "Content-Type": "application/json",
3413
3413
  ...t.headers
3414
3414
  }
3415
- }), Ks = (t) => (t.client ?? p).patch({
3415
+ }), Ys = (t) => (t.client ?? p).patch({
3416
3416
  requestValidator: async (t) => await e.object({
3417
- body: Na,
3418
- path: Pa,
3417
+ body: Pa,
3418
+ path: Fa,
3419
3419
  query: e.never().optional()
3420
3420
  }).parseAsync(t),
3421
- responseValidator: async (e) => await Fa.parseAsync(e),
3421
+ responseValidator: async (e) => await Ia.parseAsync(e),
3422
3422
  url: "/api/v1/invoices/{uuid}/lines",
3423
3423
  ...t,
3424
3424
  headers: {
3425
3425
  "Content-Type": "application/json",
3426
3426
  ...t.headers
3427
3427
  }
3428
- }), qs = (t) => (t.client ?? p).patch({
3428
+ }), Xs = (t) => (t.client ?? p).patch({
3429
3429
  requestValidator: async (t) => await e.object({
3430
- body: Ia,
3431
- path: La,
3430
+ body: La,
3431
+ path: Ra,
3432
3432
  query: e.never().optional()
3433
3433
  }).parseAsync(t),
3434
- responseValidator: async (e) => await Ra.parseAsync(e),
3434
+ responseValidator: async (e) => await za.parseAsync(e),
3435
3435
  url: "/api/v2/invoices/{uuid}/discount",
3436
3436
  ...t,
3437
3437
  headers: {
3438
3438
  "Content-Type": "application/json",
3439
3439
  ...t.headers
3440
3440
  }
3441
- }), Js = (t) => (t.client ?? p).patch({
3441
+ }), Zs = (t) => (t.client ?? p).patch({
3442
3442
  requestValidator: async (t) => await e.object({
3443
- body: za,
3444
- path: Ba,
3443
+ body: Ba,
3444
+ path: Va,
3445
3445
  query: e.never().optional()
3446
3446
  }).parseAsync(t),
3447
- responseValidator: async (e) => await Va.parseAsync(e),
3447
+ responseValidator: async (e) => await Ha.parseAsync(e),
3448
3448
  url: "/api/v1/invoices/{uuid}/attachments",
3449
3449
  ...t,
3450
3450
  headers: {
3451
3451
  "Content-Type": "application/json",
3452
3452
  ...t.headers
3453
3453
  }
3454
- }), Ys = (t) => (t.client ?? p).post({
3454
+ }), Qs = (t) => (t.client ?? p).post({
3455
3455
  requestValidator: async (t) => await e.object({
3456
3456
  body: e.never().optional(),
3457
- path: Ha,
3457
+ path: Ua,
3458
3458
  query: e.never().optional()
3459
3459
  }).parseAsync(t),
3460
3460
  url: "/api/v1/invoices/{uuid}/finalize",
3461
3461
  ...t
3462
- }), Xs = (t) => (t.client ?? p).post({
3462
+ }), $s = (t) => (t.client ?? p).post({
3463
3463
  requestValidator: async (t) => await e.object({
3464
3464
  body: e.never().optional(),
3465
- path: Ua,
3465
+ path: Wa,
3466
3466
  query: e.never().optional()
3467
3467
  }).parseAsync(t),
3468
- responseValidator: async (e) => await Wa.parseAsync(e),
3468
+ responseValidator: async (e) => await Ga.parseAsync(e),
3469
3469
  url: "/api/v1/invoices/{uuid}/credit-note",
3470
3470
  ...t
3471
- }), Zs = (t) => (t.client ?? p).patch({
3471
+ }), ec = (t) => (t.client ?? p).patch({
3472
3472
  requestValidator: async (t) => await e.object({
3473
- body: Ga,
3474
- path: Ka,
3473
+ body: Ka,
3474
+ path: qa,
3475
3475
  query: e.never().optional()
3476
3476
  }).parseAsync(t),
3477
- responseValidator: async (e) => await qa.parseAsync(e),
3477
+ responseValidator: async (e) => await Ja.parseAsync(e),
3478
3478
  url: "/api/v1/credit-notes/{uuid}/lines",
3479
3479
  ...t,
3480
3480
  headers: {
3481
3481
  "Content-Type": "application/json",
3482
3482
  ...t.headers
3483
3483
  }
3484
- }), Qs = (t) => (t.client ?? p).patch({
3484
+ }), tc = (t) => (t.client ?? p).patch({
3485
3485
  requestValidator: async (t) => await e.object({
3486
- body: Ja,
3487
- path: Ya,
3486
+ body: Ya,
3487
+ path: Xa,
3488
3488
  query: e.never().optional()
3489
3489
  }).parseAsync(t),
3490
- responseValidator: async (e) => await Xa.parseAsync(e),
3490
+ responseValidator: async (e) => await Za.parseAsync(e),
3491
3491
  url: "/api/v1/credit-notes/{uuid}",
3492
3492
  ...t,
3493
3493
  headers: {
3494
3494
  "Content-Type": "application/json",
3495
3495
  ...t.headers
3496
3496
  }
3497
- }), $s = (t) => (t.client ?? p).post({
3497
+ }), nc = (t) => (t.client ?? p).post({
3498
3498
  requestValidator: async (t) => await e.object({
3499
3499
  body: e.never().optional(),
3500
- path: Za,
3500
+ path: Qa,
3501
3501
  query: e.never().optional()
3502
3502
  }).parseAsync(t),
3503
3503
  url: "/api/v1/credit-notes/{uuid}/finalize",
3504
3504
  ...t
3505
- }), ec = (t) => (t.client ?? p).post({
3505
+ }), rc = (t) => (t.client ?? p).post({
3506
3506
  requestValidator: async (t) => await e.object({
3507
3507
  body: e.never().optional(),
3508
- path: Qa,
3508
+ path: $a,
3509
3509
  query: e.never().optional()
3510
3510
  }).parseAsync(t),
3511
3511
  url: "/api/v1/invoices/{uuid}/send-email",
3512
3512
  ...t
3513
- }), tc = (t) => (t?.client ?? p).post({
3513
+ }), ic = (t) => (t?.client ?? p).post({
3514
3514
  requestValidator: async (t) => await e.object({
3515
3515
  body: e.never().optional(),
3516
3516
  path: e.never().optional(),
3517
- query: $a.optional()
3517
+ query: eo.optional()
3518
3518
  }).parseAsync(t),
3519
- responseValidator: async (e) => await eo.parseAsync(e),
3519
+ responseValidator: async (e) => await to.parseAsync(e),
3520
3520
  url: "/api/v1/invoices/send-mail",
3521
3521
  ...t
3522
- }), nc = (t) => (t?.client ?? p).get({
3522
+ }), ac = (t) => (t?.client ?? p).get({
3523
3523
  requestValidator: async (t) => await e.object({
3524
3524
  body: e.never().optional(),
3525
3525
  path: e.never().optional(),
3526
- query: to.optional()
3526
+ query: no.optional()
3527
3527
  }).parseAsync(t),
3528
- responseValidator: async (e) => await no.parseAsync(e),
3528
+ responseValidator: async (e) => await ro.parseAsync(e),
3529
3529
  url: "/api/v1/invoices/send-mail/preview",
3530
3530
  ...t
3531
- }), rc = (t) => (t.client ?? p).post({
3531
+ }), oc = (t) => (t.client ?? p).post({
3532
3532
  requestValidator: async (t) => await e.object({
3533
3533
  body: e.never().optional(),
3534
- path: ro,
3534
+ path: io,
3535
3535
  query: e.never().optional()
3536
3536
  }).parseAsync(t),
3537
- responseValidator: async (e) => await io.parseAsync(e),
3537
+ responseValidator: async (e) => await ao.parseAsync(e),
3538
3538
  url: "/api/v1/invoices/{uuid}/mark-as-ready",
3539
3539
  ...t
3540
- }), ic = (t) => (t.client ?? p).post({
3540
+ }), sc = (t) => (t.client ?? p).post({
3541
3541
  requestValidator: async (t) => await e.object({
3542
3542
  body: e.never().optional(),
3543
- path: ao,
3543
+ path: oo,
3544
3544
  query: e.never().optional()
3545
3545
  }).parseAsync(t),
3546
- responseValidator: async (e) => await oo.parseAsync(e),
3546
+ responseValidator: async (e) => await so.parseAsync(e),
3547
3547
  url: "/api/v1/invoices/{uuid}/duplicate",
3548
3548
  ...t
3549
- }), ac = (t) => (t.client ?? p).post({
3549
+ }), cc = (t) => (t.client ?? p).post({
3550
+ requestValidator: async (t) => await e.object({
3551
+ body: e.never().optional(),
3552
+ path: co,
3553
+ query: e.never().optional()
3554
+ }).parseAsync(t),
3555
+ responseValidator: async (e) => await lo.parseAsync(e),
3556
+ url: "/api/v1/invoices/{uuid}/copy-to-invoice",
3557
+ ...t
3558
+ }), lc = (t) => (t.client ?? p).post({
3550
3559
  requestValidator: async (t) => await e.object({
3551
3560
  body: e.never().optional(),
3552
- path: so,
3561
+ path: uo,
3553
3562
  query: e.never().optional()
3554
3563
  }).parseAsync(t),
3555
- responseValidator: async (e) => await co.parseAsync(e),
3564
+ responseValidator: async (e) => await fo.parseAsync(e),
3556
3565
  url: "/api/v1/invoices/{uuid}/mark-as-draft",
3557
3566
  ...t
3558
- }), oc = (t) => (t.client ?? p).post({
3567
+ }), uc = (t) => (t.client ?? p).post({
3559
3568
  requestValidator: async (t) => await e.object({
3560
3569
  body: e.never().optional(),
3561
- path: lo,
3570
+ path: po,
3562
3571
  query: e.never().optional()
3563
3572
  }).parseAsync(t),
3564
- responseValidator: async (e) => await uo.parseAsync(e),
3573
+ responseValidator: async (e) => await mo.parseAsync(e),
3565
3574
  url: "/api/v1/invoices/{uuid}/mark-as-prior-approval-required",
3566
3575
  ...t
3567
- }), sc = (t) => (t.client ?? p).post({
3576
+ }), dc = (t) => (t.client ?? p).post({
3568
3577
  requestValidator: async (t) => await e.object({
3569
3578
  body: e.never().optional(),
3570
- path: fo,
3579
+ path: ho,
3571
3580
  query: e.never().optional()
3572
3581
  }).parseAsync(t),
3573
- responseValidator: async (e) => await po.parseAsync(e),
3582
+ responseValidator: async (e) => await go.parseAsync(e),
3574
3583
  url: "/api/v1/invoices/{uuid}/unmark-as-prior-approval-required",
3575
3584
  ...t
3576
- }), cc = (t) => (t.client ?? p).post({
3585
+ }), fc = (t) => (t.client ?? p).post({
3577
3586
  requestValidator: async (t) => await e.object({
3578
3587
  body: e.never().optional(),
3579
- path: mo,
3588
+ path: _o,
3580
3589
  query: e.never().optional()
3581
3590
  }).parseAsync(t),
3582
- responseValidator: async (e) => await ho.parseAsync(e),
3591
+ responseValidator: async (e) => await vo.parseAsync(e),
3583
3592
  url: "/api/v1/invoices/{uuid}/mark-as-disputed",
3584
3593
  ...t
3585
- }), lc = (t) => (t.client ?? p).post({
3594
+ }), pc = (t) => (t.client ?? p).post({
3586
3595
  requestValidator: async (t) => await e.object({
3587
3596
  body: e.never().optional(),
3588
- path: go,
3597
+ path: yo,
3589
3598
  query: e.never().optional()
3590
3599
  }).parseAsync(t),
3591
- responseValidator: async (e) => await _o.parseAsync(e),
3600
+ responseValidator: async (e) => await bo.parseAsync(e),
3592
3601
  url: "/api/v1/invoices/{uuid}/mark-as-paid",
3593
3602
  ...t
3594
- }), uc = (t) => (t?.client ?? p).get({
3603
+ }), mc = (t) => (t?.client ?? p).get({
3595
3604
  requestValidator: async (t) => await e.object({
3596
3605
  body: e.never().optional(),
3597
3606
  path: e.never().optional(),
3598
- query: vo.optional()
3607
+ query: xo.optional()
3599
3608
  }).parseAsync(t),
3600
- responseValidator: async (e) => await yo.parseAsync(e),
3609
+ responseValidator: async (e) => await So.parseAsync(e),
3601
3610
  url: "/api/v1/invoices/mark-as-ready/preview",
3602
3611
  ...t
3603
- }), dc = (t) => (t?.client ?? p).post({
3612
+ }), hc = (t) => (t?.client ?? p).post({
3604
3613
  requestValidator: async (t) => await e.object({
3605
3614
  body: e.never().optional(),
3606
3615
  path: e.never().optional(),
3607
- query: bo.optional()
3616
+ query: Co.optional()
3608
3617
  }).parseAsync(t),
3609
- responseValidator: async (e) => await xo.parseAsync(e),
3618
+ responseValidator: async (e) => await wo.parseAsync(e),
3610
3619
  url: "/api/v1/invoices/mark-as-ready",
3611
3620
  ...t
3612
- }), fc = (t) => (t.client ?? p).post({
3621
+ }), gc = (t) => (t.client ?? p).post({
3613
3622
  requestValidator: async (t) => await e.object({
3614
3623
  body: e.never().optional(),
3615
- path: So,
3624
+ path: To,
3616
3625
  query: e.never().optional()
3617
3626
  }).parseAsync(t),
3618
- responseValidator: async (e) => await Co.parseAsync(e),
3627
+ responseValidator: async (e) => await Eo.parseAsync(e),
3619
3628
  url: "/api/v1/invoices/{uuid}/withdraw-disputed",
3620
3629
  ...t
3621
- }), pc = (t) => (t?.client ?? p).get({
3630
+ }), _c = (t) => (t?.client ?? p).get({
3622
3631
  requestValidator: async (t) => await e.object({
3623
3632
  body: e.never().optional(),
3624
3633
  path: e.never().optional(),
3625
- query: wo.optional()
3634
+ query: Do.optional()
3626
3635
  }).parseAsync(t),
3627
- responseValidator: async (e) => await To.parseAsync(e),
3636
+ responseValidator: async (e) => await Oo.parseAsync(e),
3628
3637
  url: "/api/v1/invoices/finalize/preview",
3629
3638
  ...t
3630
- }), mc = (t) => (t?.client ?? p).post({
3639
+ }), vc = (t) => (t?.client ?? p).post({
3631
3640
  requestValidator: async (t) => await e.object({
3632
3641
  body: e.never().optional(),
3633
3642
  path: e.never().optional(),
3634
- query: Eo.optional()
3643
+ query: ko.optional()
3635
3644
  }).parseAsync(t),
3636
- responseValidator: async (e) => await Do.parseAsync(e),
3645
+ responseValidator: async (e) => await Ao.parseAsync(e),
3637
3646
  url: "/api/v1/invoices/finalize",
3638
3647
  ...t
3639
- }), hc = (t) => (t?.client ?? p).get({
3648
+ }), yc = (t) => (t?.client ?? p).get({
3640
3649
  requestValidator: async (t) => await e.object({
3641
3650
  body: e.never().optional(),
3642
3651
  path: e.never().optional(),
3643
- query: Oo.optional()
3652
+ query: jo.optional()
3644
3653
  }).parseAsync(t),
3645
- responseValidator: async (e) => await ko.parseAsync(e),
3654
+ responseValidator: async (e) => await Mo.parseAsync(e),
3646
3655
  url: "/api/v1/invoices/delete/preview",
3647
3656
  ...t
3648
- }), gc = (t) => (t?.client ?? p).post({
3657
+ }), bc = (t) => (t?.client ?? p).post({
3649
3658
  requestValidator: async (t) => await e.object({
3650
3659
  body: e.never().optional(),
3651
3660
  path: e.never().optional(),
3652
- query: Ao.optional()
3661
+ query: No.optional()
3653
3662
  }).parseAsync(t),
3654
- responseValidator: async (e) => await jo.parseAsync(e),
3663
+ responseValidator: async (e) => await Po.parseAsync(e),
3655
3664
  url: "/api/v1/invoices/delete",
3656
3665
  ...t
3657
- }), _c = (t) => (t.client ?? p).post({
3666
+ }), xc = (t) => (t.client ?? p).post({
3658
3667
  requestValidator: async (t) => await e.object({
3659
3668
  body: e.never().optional(),
3660
- path: Mo,
3669
+ path: Fo,
3661
3670
  query: e.never().optional()
3662
3671
  }).parseAsync(t),
3663
- responseValidator: async (e) => await No.parseAsync(e),
3672
+ responseValidator: async (e) => await Io.parseAsync(e),
3664
3673
  url: "/api/v1/invoices/{uuid}/restore-from-pro-forma",
3665
3674
  ...t
3666
- }), vc = (t) => (t?.client ?? p).get({
3675
+ }), Sc = (t) => (t?.client ?? p).get({
3667
3676
  requestValidator: async (t) => await e.object({
3668
3677
  body: e.never().optional(),
3669
3678
  path: e.never().optional(),
3670
- query: Po.optional()
3679
+ query: Lo.optional()
3671
3680
  }).parseAsync(t),
3672
- responseValidator: async (e) => await Fo.parseAsync(e),
3681
+ responseValidator: async (e) => await Ro.parseAsync(e),
3673
3682
  url: "/api/v1/activity-logs",
3674
3683
  ...t
3675
- }), yc = (t) => (t.client ?? p).get({
3684
+ }), Cc = (t) => (t.client ?? p).get({
3676
3685
  requestValidator: async (t) => await e.object({
3677
3686
  body: e.never().optional(),
3678
- path: Io,
3687
+ path: zo,
3679
3688
  query: e.never().optional()
3680
3689
  }).parseAsync(t),
3681
- responseValidator: async (e) => await Lo.parseAsync(e),
3690
+ responseValidator: async (e) => await Bo.parseAsync(e),
3682
3691
  url: "/api/v1/invoices/{uuid}/payments",
3683
3692
  ...t
3684
- }), bc = (t) => (t.client ?? p).post({
3693
+ }), wc = (t) => (t.client ?? p).post({
3685
3694
  requestValidator: async (t) => await e.object({
3686
- body: Ro,
3687
- path: zo,
3695
+ body: Vo,
3696
+ path: Ho,
3688
3697
  query: e.never().optional()
3689
3698
  }).parseAsync(t),
3690
- responseValidator: async (e) => await Bo.parseAsync(e),
3699
+ responseValidator: async (e) => await Uo.parseAsync(e),
3691
3700
  url: "/api/v1/invoices/{uuid}/payments",
3692
3701
  ...t,
3693
3702
  headers: {
3694
3703
  "Content-Type": "application/json",
3695
3704
  ...t.headers
3696
3705
  }
3697
- }), xc = (t) => (t.client ?? p).delete({
3706
+ }), Tc = (t) => (t.client ?? p).delete({
3698
3707
  requestValidator: async (t) => await e.object({
3699
3708
  body: e.never().optional(),
3700
- path: Vo,
3709
+ path: Wo,
3701
3710
  query: e.never().optional()
3702
3711
  }).parseAsync(t),
3703
- responseValidator: async (e) => await Ho.parseAsync(e),
3712
+ responseValidator: async (e) => await Go.parseAsync(e),
3704
3713
  url: "/api/v1/invoices/{uuid}/payments/{paymentUuid}",
3705
3714
  ...t
3706
- }), Sc = (t) => (t?.client ?? p).get({
3715
+ }), Ec = (t) => (t?.client ?? p).get({
3707
3716
  requestValidator: async (t) => await e.object({
3708
3717
  body: e.never().optional(),
3709
3718
  path: e.never().optional(),
3710
3719
  query: e.never().optional()
3711
3720
  }).parseAsync(t),
3712
- responseValidator: async (e) => await Uo.parseAsync(e),
3721
+ responseValidator: async (e) => await Ko.parseAsync(e),
3713
3722
  url: "/api/v1/issuers/reminder-configs",
3714
3723
  ...t
3715
- }), Cc = (t) => (t.client ?? p).patch({
3724
+ }), Dc = (t) => (t.client ?? p).patch({
3716
3725
  requestValidator: async (t) => await e.object({
3717
- body: Wo,
3726
+ body: qo,
3718
3727
  path: e.never().optional(),
3719
3728
  query: e.never().optional()
3720
3729
  }).parseAsync(t),
3721
- responseValidator: async (e) => await Go.parseAsync(e),
3730
+ responseValidator: async (e) => await Jo.parseAsync(e),
3722
3731
  url: "/api/v1/issuers/reminder-configs",
3723
3732
  ...t,
3724
3733
  headers: {
3725
3734
  "Content-Type": "application/json",
3726
3735
  ...t.headers
3727
3736
  }
3728
- }), wc = (t) => (t?.client ?? p).get({
3737
+ }), Oc = (t) => (t?.client ?? p).get({
3729
3738
  requestValidator: async (t) => await e.object({
3730
3739
  body: e.never().optional(),
3731
3740
  path: e.never().optional(),
3732
- query: Ko.optional()
3741
+ query: Yo.optional()
3733
3742
  }).parseAsync(t),
3734
- responseValidator: async (e) => await qo.parseAsync(e),
3743
+ responseValidator: async (e) => await Xo.parseAsync(e),
3735
3744
  url: "/api/v1/custom-field-definitions",
3736
3745
  ...t
3737
- }), Tc = (t) => (t.client ?? p).get({
3746
+ }), kc = (t) => (t.client ?? p).get({
3738
3747
  requestValidator: async (t) => await e.object({
3739
3748
  body: e.never().optional(),
3740
- path: Jo,
3749
+ path: Zo,
3741
3750
  query: e.never().optional()
3742
3751
  }).parseAsync(t),
3743
- responseValidator: async (e) => await Yo.parseAsync(e),
3752
+ responseValidator: async (e) => await Qo.parseAsync(e),
3744
3753
  url: "/api/v1/dunning-cases/{uuid}",
3745
3754
  ...t
3746
- }), Ec = (t) => (t?.client ?? p).get({
3755
+ }), Ac = (t) => (t?.client ?? p).get({
3747
3756
  requestValidator: async (t) => await e.object({
3748
3757
  body: e.never().optional(),
3749
3758
  path: e.never().optional(),
3750
- query: Xo.optional()
3759
+ query: $o.optional()
3751
3760
  }).parseAsync(t),
3752
- responseValidator: async (e) => await Zo.parseAsync(e),
3761
+ responseValidator: async (e) => await es.parseAsync(e),
3753
3762
  url: "/api/v1/dunning-cases",
3754
3763
  ...t
3755
- }), Dc = (t) => (t.client ?? p).post({
3764
+ }), jc = (t) => (t.client ?? p).post({
3756
3765
  requestValidator: async (t) => await e.object({
3757
3766
  body: e.never().optional(),
3758
- path: Qo,
3767
+ path: ts,
3759
3768
  query: e.never().optional()
3760
3769
  }).parseAsync(t),
3761
3770
  url: "/api/v1/dunning-cases/{uuid}/send",
3762
3771
  ...t
3763
- }), Oc = (t) => (t.client ?? p).post({
3772
+ }), Mc = (t) => (t.client ?? p).post({
3764
3773
  requestValidator: async (t) => await e.object({
3765
3774
  body: e.never().optional(),
3766
- path: $o,
3775
+ path: ns,
3767
3776
  query: e.never().optional()
3768
3777
  }).parseAsync(t),
3769
3778
  url: "/api/v1/dunning-case-reminders/{uuid}/retry",
3770
3779
  ...t
3771
- }), kc = (t) => (t?.client ?? p).post({
3780
+ }), Nc = (t) => (t?.client ?? p).post({
3772
3781
  requestValidator: async (t) => await e.object({
3773
3782
  body: e.never().optional(),
3774
3783
  path: e.never().optional(),
3775
- query: es.optional()
3784
+ query: rs.optional()
3776
3785
  }).parseAsync(t),
3777
- responseValidator: async (e) => await ts.parseAsync(e),
3786
+ responseValidator: async (e) => await is.parseAsync(e),
3778
3787
  url: "/api/v1/dunning-cases/send",
3779
3788
  ...t
3780
- }), Ac = (t) => (t?.client ?? p).get({
3789
+ }), Pc = (t) => (t?.client ?? p).get({
3781
3790
  requestValidator: async (t) => await e.object({
3782
3791
  body: e.never().optional(),
3783
3792
  path: e.never().optional(),
3784
- query: ns.optional()
3793
+ query: as.optional()
3785
3794
  }).parseAsync(t),
3786
- responseValidator: async (e) => await rs.parseAsync(e),
3795
+ responseValidator: async (e) => await os.parseAsync(e),
3787
3796
  url: "/api/v1/dunning-cases/send/preview",
3788
3797
  ...t
3789
- }), jc = (t) => (t.client ?? p).get({
3798
+ }), Fc = (t) => (t.client ?? p).get({
3790
3799
  requestValidator: async (t) => await e.object({
3791
3800
  body: e.never().optional(),
3792
3801
  path: e.never().optional(),
3793
- query: is
3802
+ query: ss
3794
3803
  }).parseAsync(t),
3795
- responseValidator: async (e) => await as.parseAsync(e),
3804
+ responseValidator: async (e) => await cs.parseAsync(e),
3796
3805
  url: "/api/v1/public/dunning-case-reminder-invoices",
3797
3806
  ...t
3798
- }), Mc = (t) => (t.client ?? p).post({
3807
+ }), Ic = (t) => (t.client ?? p).post({
3799
3808
  requestValidator: async (t) => await e.object({
3800
3809
  body: e.never().optional(),
3801
- path: os,
3810
+ path: ls,
3802
3811
  query: e.never().optional()
3803
3812
  }).parseAsync(t),
3804
3813
  url: "/api/v1/invoices/{uuid}/send-approval",
3805
3814
  ...t
3806
- }), Nc = (t) => (t?.client ?? p).get({
3815
+ }), Lc = (t) => (t?.client ?? p).get({
3807
3816
  requestValidator: async (t) => await e.object({
3808
3817
  body: e.never().optional(),
3809
3818
  path: e.never().optional(),
3810
- query: ss.optional()
3819
+ query: us.optional()
3811
3820
  }).parseAsync(t),
3812
- responseValidator: async (e) => await cs.parseAsync(e),
3821
+ responseValidator: async (e) => await ds.parseAsync(e),
3813
3822
  url: "/api/v1/invoices/send-approval/preview",
3814
3823
  ...t
3815
- }), Pc = (t) => (t?.client ?? p).post({
3824
+ }), Rc = (t) => (t?.client ?? p).post({
3816
3825
  requestValidator: async (t) => await e.object({
3817
3826
  body: e.never().optional(),
3818
3827
  path: e.never().optional(),
3819
- query: ls.optional()
3828
+ query: fs.optional()
3820
3829
  }).parseAsync(t),
3821
- responseValidator: async (e) => await us.parseAsync(e),
3830
+ responseValidator: async (e) => await ps.parseAsync(e),
3822
3831
  url: "/api/v1/invoices/send-approval",
3823
3832
  ...t
3824
- }), Fc = (t) => (t.client ?? p).post({
3833
+ }), zc = (t) => (t.client ?? p).post({
3825
3834
  requestValidator: async (t) => await e.object({
3826
- body: ds,
3827
- path: fs,
3835
+ body: ms,
3836
+ path: hs,
3828
3837
  query: e.never().optional()
3829
3838
  }).parseAsync(t),
3830
- responseValidator: async (e) => await ps.parseAsync(e),
3839
+ responseValidator: async (e) => await gs.parseAsync(e),
3831
3840
  url: "/api/v1/invoice-approvals/{uuid}/approve",
3832
3841
  ...t,
3833
3842
  headers: {
3834
3843
  "Content-Type": "application/json",
3835
3844
  ...t.headers
3836
3845
  }
3837
- }), Ic = (t) => (t.client ?? p).post({
3846
+ }), Bc = (t) => (t.client ?? p).post({
3838
3847
  requestValidator: async (t) => await e.object({
3839
- body: ms,
3840
- path: hs,
3848
+ body: _s,
3849
+ path: vs,
3841
3850
  query: e.never().optional()
3842
3851
  }).parseAsync(t),
3843
- responseValidator: async (e) => await gs.parseAsync(e),
3852
+ responseValidator: async (e) => await ys.parseAsync(e),
3844
3853
  url: "/api/v1/invoice-approvals/{uuid}/reject",
3845
3854
  ...t,
3846
3855
  headers: {
3847
3856
  "Content-Type": "application/json",
3848
3857
  ...t.headers
3849
3858
  }
3850
- }), Lc = (t) => (t.client ?? p).post({
3859
+ }), Vc = (t) => (t.client ?? p).post({
3851
3860
  requestValidator: async (t) => await e.object({
3852
3861
  body: e.never().optional(),
3853
- path: _s,
3862
+ path: bs,
3854
3863
  query: e.never().optional()
3855
3864
  }).parseAsync(t),
3856
- responseValidator: async (e) => await vs.parseAsync(e),
3865
+ responseValidator: async (e) => await xs.parseAsync(e),
3857
3866
  url: "/api/v1/invoice-approvals/{uuid}/cancel",
3858
3867
  ...t
3859
- }), Rc = (t) => (t.client ?? p).post({
3868
+ }), Hc = (t) => (t.client ?? p).post({
3860
3869
  requestValidator: async (t) => await e.object({
3861
3870
  body: e.never().optional(),
3862
- path: ys,
3871
+ path: Ss,
3863
3872
  query: e.never().optional()
3864
3873
  }).parseAsync(t),
3865
3874
  url: "/api/v1/invoices/{uuid}/restart-approval",
3866
3875
  ...t
3867
- }), zc = (t) => (t?.client ?? p).get({
3876
+ }), Uc = (t) => (t?.client ?? p).get({
3868
3877
  requestValidator: async (t) => await e.object({
3869
3878
  body: e.never().optional(),
3870
3879
  path: e.never().optional(),
3871
- query: bs.optional()
3880
+ query: Cs.optional()
3872
3881
  }).parseAsync(t),
3873
- responseValidator: async (e) => await xs.parseAsync(e),
3882
+ responseValidator: async (e) => await ws.parseAsync(e),
3874
3883
  url: "/api/v1/invoice-approvals",
3875
3884
  ...t
3876
- }), Bc = (t) => (t.client ?? p).get({
3885
+ }), Wc = (t) => (t.client ?? p).get({
3877
3886
  requestValidator: async (t) => await e.object({
3878
3887
  body: e.never().optional(),
3879
3888
  path: e.never().optional(),
3880
- query: Ss
3889
+ query: Ts
3881
3890
  }).parseAsync(t),
3882
- responseValidator: async (e) => await Cs.parseAsync(e),
3891
+ responseValidator: async (e) => await Es.parseAsync(e),
3883
3892
  url: "/api/v1/public/pro-formas",
3884
3893
  ...t
3885
- }), Vc = (t) => (t?.client ?? p).get({
3894
+ }), Gc = (t) => (t?.client ?? p).get({
3886
3895
  requestValidator: async (t) => await e.object({
3887
3896
  body: e.never().optional(),
3888
3897
  path: e.never().optional(),
3889
3898
  query: e.never().optional()
3890
3899
  }).parseAsync(t),
3891
- responseValidator: async (e) => await ws.parseAsync(e),
3900
+ responseValidator: async (e) => await Ds.parseAsync(e),
3892
3901
  url: "/api/v1/issuers/approval-reminder-configs",
3893
3902
  ...t
3894
- }), Hc = (t) => (t.client ?? p).patch({
3903
+ }), Kc = (t) => (t.client ?? p).patch({
3895
3904
  requestValidator: async (t) => await e.object({
3896
- body: Ts,
3905
+ body: Os,
3897
3906
  path: e.never().optional(),
3898
3907
  query: e.never().optional()
3899
3908
  }).parseAsync(t),
3900
- responseValidator: async (e) => await Es.parseAsync(e),
3909
+ responseValidator: async (e) => await ks.parseAsync(e),
3901
3910
  url: "/api/v1/issuers/approval-reminder-configs",
3902
3911
  ...t,
3903
3912
  headers: {
3904
3913
  "Content-Type": "application/json",
3905
3914
  ...t.headers
3906
3915
  }
3907
- }), Uc = (t) => (t?.client ?? p).get({
3916
+ }), qc = (t) => (t?.client ?? p).get({
3908
3917
  requestValidator: async (t) => await e.object({
3909
3918
  body: e.never().optional(),
3910
3919
  path: e.never().optional(),
3911
3920
  query: e.never().optional()
3912
3921
  }).parseAsync(t),
3913
- responseValidator: async (e) => await Ds.parseAsync(e),
3922
+ responseValidator: async (e) => await As.parseAsync(e),
3914
3923
  url: "/api/v1/issuers/peppol-connection",
3915
3924
  ...t
3916
- }), Wc = (t) => (t.client ?? p).put({
3925
+ }), Jc = (t) => (t.client ?? p).put({
3917
3926
  requestValidator: async (t) => await e.object({
3918
- body: Os,
3927
+ body: js,
3919
3928
  path: e.never().optional(),
3920
3929
  query: e.never().optional()
3921
3930
  }).parseAsync(t),
@@ -3925,13 +3934,13 @@ var Ia = Xn, La = e.object({ uuid: e.uuid() }), Ra = e.void(), za = Zn, Ba = e.o
3925
3934
  "Content-Type": "application/json",
3926
3935
  ...t.headers
3927
3936
  }
3928
- }), Gc = (t) => (t.client ?? p).post({
3937
+ }), Yc = (t) => (t.client ?? p).post({
3929
3938
  requestValidator: async (t) => await e.object({
3930
- body: ks,
3939
+ body: Ms,
3931
3940
  path: e.never().optional(),
3932
3941
  query: e.never().optional()
3933
3942
  }).parseAsync(t),
3934
- responseValidator: async (e) => await As.parseAsync(e),
3943
+ responseValidator: async (e) => await Ns.parseAsync(e),
3935
3944
  url: "/api/v1/issuers/peppol-connection/test",
3936
3945
  ...t,
3937
3946
  headers: {
@@ -3941,19 +3950,19 @@ var Ia = Xn, La = e.object({ uuid: e.uuid() }), Ra = e.void(), za = Zn, Ba = e.o
3941
3950
  });
3942
3951
  //#endregion
3943
3952
  //#region src/utils/api.util.ts
3944
- function Kc(e) {
3953
+ function Xc(e) {
3945
3954
  return typeof e == "object" && !!e && Array.isArray(e.errors);
3946
3955
  }
3947
- function qc(e) {
3948
- return Kc(e) || e instanceof Error ? e : Error(String(e));
3956
+ function Zc(e) {
3957
+ return Xc(e) || e instanceof Error ? e : Error(String(e));
3949
3958
  }
3950
- var Jc = class {
3959
+ var Qc = class {
3951
3960
  static async fromPromise(e) {
3952
- return await t.fromPromise(e, qc);
3961
+ return await t.fromPromise(e, Zc);
3953
3962
  }
3954
3963
  static void(e) {
3955
3964
  return e.isErr() ? n(e.error) : r();
3956
3965
  }
3957
3966
  };
3958
3967
  //#endregion
3959
- export { wc as $, Ac as A, Gc as B, ac as C, hc as D, rc as E, _c as F, Js as G, Hc as H, Oc as I, zs as J, Ks as K, Dc as L, nc as M, Ic as N, pc as O, Rc as P, Vc as Q, Mc as R, cc as S, oc as T, Zs as U, sc as V, Qs as W, Cc as X, Wc as Y, vc as Z, xc as _, p as _t, mc as a, zc as at, $s as b, Pc as c, yc as ct, Ns as d, jc as dt, Is as et, Xs as f, Bs as ft, Us as g, fc as gt, bc as h, js as ht, gc as i, Ec as it, Nc as j, uc as k, tc as l, Rs as lt, Hs as m, Sc as mt, qs as n, Ls as nt, dc as o, Ws as ot, Ms as p, Bc as pt, Gs as q, Fc as r, Tc as rt, kc as s, Vs as st, Jc as t, Fs as tt, Lc as u, Uc as ut, Ps as v, lc as w, Ys as x, ic as y, ec as z };
3968
+ export { Gc as $, mc as A, rc as B, fc as C, oc as D, uc as E, Hc as F, tc as G, dc as H, xc as I, Js as J, Zs as K, Mc as L, Lc as M, ac as N, yc as O, Bc as P, Sc as Q, jc as R, Qs as S, pc as T, Kc as U, Yc as V, ec as W, Jc as X, Hs as Y, Dc as Z, Ks as _, gc as _t, vc as a, Ac as at, sc as b, Rc as c, Ws as ct, Is as d, qc as dt, Oc as et, cc as f, Fc as ft, wc as g, Ps as gt, Gs as h, Ec as ht, bc as i, kc as it, Pc as j, _c as k, ic as l, Cc as lt, Fs as m, Wc as mt, Xs as n, Rs as nt, hc as o, Uc as ot, $s as p, Us as pt, Ys as q, zc as r, Bs as rt, Nc as s, qs as st, Qc as t, zs as tt, Vc as u, Vs as ut, Tc as v, p as vt, lc as w, nc as x, Ls as y, Ic as z };