@wisemen/wise-invoicing-web 0.0.2 → 0.0.3

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 (592) hide show
  1. package/dist/AddOpenBoundaryIcon-9SqBHfoz.js +25 -0
  2. package/dist/AirlineIcon-Z6sH_StM.js +26 -0
  3. package/dist/AirplaneIcon-C-nSkD1w.js +19 -0
  4. package/dist/AirportIcon-m4itDKCV.js +16 -0
  5. package/dist/AlertTriangleIcon-DtYLCC-Y.js +23 -0
  6. package/dist/AllocationsIcon-hcg93Sll.js +16 -0
  7. package/dist/ArrowNarrowRightIcon-2-Sml68f.js +23 -0
  8. package/dist/AssetIcon-qOYs6Wna.js +16 -0
  9. package/dist/BarChartIcon-DDyzpV_3.js +22 -0
  10. package/dist/BellIcon-DF1OBFta.js +21 -0
  11. package/dist/BillingDocumentDetailViewDataProvider-CwonTh2r.js +5248 -0
  12. package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
  13. package/dist/BillingDocumentPdf-GWCCjE6F.js +726 -0
  14. package/dist/BuildingIcon-CC5PMNeP.js +22 -0
  15. package/dist/ChargerIcon-aM_endLr.js +16 -0
  16. package/dist/ChevronDownIcon-4QiK-Z6-.js +23 -0
  17. package/dist/ChevronUpIcon-qBsjZ5Dz.js +23 -0
  18. package/dist/ClockIcon-BNiPCaiB.js +23 -0
  19. package/dist/ClockSnoozeIcon-BxGfwJB6.js +23 -0
  20. package/dist/CopyIcon-DH5ly0dZ.js +19 -0
  21. package/dist/CreditNoteDetailViewDataProvider-CaucKK9o.js +751 -0
  22. package/dist/CreditNotePdfViewDataProvider-CDkvm-3m.js +21 -0
  23. package/dist/CustomFieldValueText-CC9spLWf.js +189 -0
  24. package/dist/DataProvider-CfHLB3rH.js +48 -0
  25. package/dist/DownloadCloudIcon-Cf8ftklG.js +22 -0
  26. package/dist/DunningCaseDetailViewDataProvider-1Ui9yqUb.js +403 -0
  27. package/dist/DunningCaseOverviewView-Bvwaj4_y.js +507 -0
  28. package/dist/DunningCaseReminderPdfViewDataProvider-CVnr9ge6.js +236 -0
  29. package/dist/EditIcon-Dr7OHBBR.js +21 -0
  30. package/dist/EraserIcon-B1VJSvdI.js +23 -0
  31. package/dist/FileIcon-ssmQI5Yl.js +23 -0
  32. package/dist/FilterLinesIcon-C7YdyPBk.js +23 -0
  33. package/dist/GlobeIcon-BfRM6Ike.js +22 -0
  34. package/dist/HelpIcon-BrJ49P5y.js +22 -0
  35. package/dist/HourGlassIcon-D9rfU1Is.js +22 -0
  36. package/dist/InfoCircleIcon-Ee0SyiMc.js +23 -0
  37. package/dist/InvoiceDetailViewDataProvider-DfRDFCEb.js +1578 -0
  38. package/dist/InvoiceOverviewViewDataProvider-CNK7H5r2.js +1613 -0
  39. package/dist/InvoicePdfView-CrWU8Xa-.js +17 -0
  40. package/dist/InvoicePdfViewDataProvider-nHZoeRxn.js +21 -0
  41. package/dist/InvoicePublicPdfViewDataProvider-CXWSg2pq.js +44 -0
  42. package/dist/IssuerSettingsViewDataProvider-DcA6rgOJ.js +188 -0
  43. package/dist/KeyboardIcon-T3o_g-1c.js +22 -0
  44. package/dist/LinkExternalIcon-BkHS4fCx.js +22 -0
  45. package/dist/LinkIcon-DuPwae98.js +22 -0
  46. package/dist/MarkerIcon-B1Jqenjb.js +28 -0
  47. package/dist/MobileBatteryIcon-GZ1SMRDV.js +16 -0
  48. package/dist/MonitorIcon-pbK22reU.js +22 -0
  49. package/dist/NotificationIcon-Ctv8vyWt.js +19 -0
  50. package/dist/ParkingIcon-DnUPW3pB.js +24 -0
  51. package/dist/PermissionGuard-DDw-lDGL.js +301 -0
  52. package/dist/PlanningIcon-CXvrskgj.js +16 -0
  53. package/dist/PreferenceIcon-BHS8uDyi.js +22 -0
  54. package/dist/ReceiptCheckIcon-QTestqCJ.js +23 -0
  55. package/dist/RefreshIcon-DShY-aoS.js +22 -0
  56. package/dist/ReminderSettingsViewDataProvider-C4qz2Rli.js +502 -0
  57. package/dist/RemoveOpenBoundaryIcon-CN8YWs6o.js +28 -0
  58. package/dist/RewindIcon-GWg2AQax.js +22 -0
  59. package/dist/SettingsIcon-CBLJ6B5u.js +25 -0
  60. package/dist/ShieldIcon-CVnrOcxl.js +19 -0
  61. package/dist/ShieldOffIcon-B9l0dDVb.js +23 -0
  62. package/dist/SignOutIcon-CmDkjJ5F.js +21 -0
  63. package/dist/SlashCircleIcon-jY5FBko5.js +22 -0
  64. package/dist/StandIcon-CoYnBLMn.js +23 -0
  65. package/dist/StarsIcon-D7ZlqOW7.js +22 -0
  66. package/dist/StopwatchIcon-BK0vh1lg.js +22 -0
  67. package/dist/TargetIcon-HMWj77-Q.js +22 -0
  68. package/dist/ThreeDotsIcon-BtFruOKz.js +32 -0
  69. package/dist/ToolIcon-DRfDb7fE.js +22 -0
  70. package/dist/TrashIcon-BwxBjHv5.js +19 -0
  71. package/dist/TurnaroundIcon-b1X61TwZ.js +27 -0
  72. package/dist/UploadCloudIcon-BF0equKg.js +22 -0
  73. package/dist/UserIcon-B0rCC6KE.js +22 -0
  74. package/dist/UsersIcon-cK5l_zKG.js +22 -0
  75. package/dist/VerifiedIcon-CELYlqcv.js +22 -0
  76. package/dist/WifiIcon--JPvMNEF.js +23 -0
  77. package/dist/WifiOffIcon-BS2KftcP.js +23 -0
  78. package/dist/ZapIcon-BHwcIQc0.js +23 -0
  79. package/dist/ZoomInIcon-Cu6r915V.js +23 -0
  80. package/dist/ZoomOutIcon-DwB4FRj-.js +23 -0
  81. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  82. package/dist/address.transformer-B8C0pwT1.js +167 -0
  83. package/dist/addressForm.model-C853zEtX.js +20 -0
  84. package/dist/api.util-Dm_TQedZ.js +2948 -0
  85. package/dist/billingDocumentDetail.transformer-tmy9Tf_b.js +334 -0
  86. package/dist/client/client/client.gen.d.ts +2 -0
  87. package/dist/client/client/index.d.ts +10 -0
  88. package/dist/client/client/types.gen.d.ts +120 -0
  89. package/dist/client/client/utils.gen.d.ts +37 -0
  90. package/dist/client/client.gen.d.ts +12 -0
  91. package/dist/client/core/auth.gen.d.ts +25 -0
  92. package/dist/client/core/bodySerializer.gen.d.ts +25 -0
  93. package/dist/client/core/params.gen.d.ts +43 -0
  94. package/dist/client/core/pathSerializer.gen.d.ts +33 -0
  95. package/dist/client/core/queryKeySerializer.gen.d.ts +18 -0
  96. package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
  97. package/dist/client/core/types.gen.d.ts +83 -0
  98. package/dist/client/core/utils.gen.d.ts +19 -0
  99. package/dist/client/index.d.ts +2 -0
  100. package/dist/client/sdk.gen.d.ts +123 -0
  101. package/dist/client/types.gen.d.ts +4894 -0
  102. package/dist/client/zod.gen.d.ts +67202 -0
  103. package/dist/composables/created.composable.d.ts +1 -0
  104. package/dist/composables/currency-format/useCurrencyFormat.composable.d.ts +12 -0
  105. package/dist/composables/document-title/documentTitle.composable.d.ts +8 -0
  106. package/dist/composables/form-auto-save/formAutoSave.composable.d.ts +14 -0
  107. package/dist/composables/invoicingConfig.composable.d.ts +26 -0
  108. package/dist/composables/invoicingQueryInvalidation.composable.d.ts +9 -0
  109. package/dist/composables/invoicingQueryInvalidation.composable.spec.d.ts +1 -0
  110. package/dist/composables/is-selector-visible/isSelectorVisible.composable.d.ts +1 -0
  111. package/dist/composables/paginated-cache/paginatedCache.composable.d.ts +8 -0
  112. package/dist/composables/permission-guard/permissionGuard.composable.d.ts +4 -0
  113. package/dist/composables/routeQueryState.composable.d.ts +12 -0
  114. package/dist/composables/search/search.composable.d.ts +12 -0
  115. package/dist/composables/sort.composable.d.ts +3 -0
  116. package/dist/composables/virtual-scrolling/virtualScrolling.composable.d.ts +31 -0
  117. package/dist/creditNoteDetail.query-BM2saU0n.js +122 -0
  118. package/dist/customerUuid.model-GUFYq3O2.js +5 -0
  119. package/dist/dashboard-BaWGNEek.js +5 -0
  120. package/dist/dist-DJ8yJcb9.js +2499 -0
  121. package/dist/dist-DP8KNFVD.js +927 -0
  122. package/dist/dist-YTXTCfo1.js +333 -0
  123. package/dist/documentTitle.composable-D7XA-8iJ.js +70 -0
  124. package/dist/download.util-PjaUQR6r.js +9 -0
  125. package/dist/formango.util-D5c2ql--.js +12 -0
  126. package/dist/index.d.ts +1603 -2873
  127. package/dist/index.js +750 -42
  128. package/dist/invoice.service-PsmVGGTR.js +629 -0
  129. package/dist/invoiceDeliveryStatus.util-CL8K78pD.js +331 -0
  130. package/dist/invoiceDetail.query-D2eFdE0j.js +11 -0
  131. package/dist/invoicingConfig.composable-AjojW4qE.js +1498 -0
  132. package/dist/issuerSettings.query-d5i7Wd7j.js +116 -0
  133. package/dist/libs/http.lib.d.ts +5 -0
  134. package/dist/libs/i18n.lib.d.ts +1439 -0
  135. package/dist/locales/en-US.json.d.ts +718 -0
  136. package/dist/locales/nl-BE.json.d.ts +718 -0
  137. package/dist/locales/ui-en-US.json.d.ts +66 -0
  138. package/dist/locales/ui-nl-BE.json.d.ts +66 -0
  139. package/dist/models/address/address.model.d.ts +15 -0
  140. package/dist/models/address/address.transformer.d.ts +11 -0
  141. package/dist/models/address/address.util.d.ts +11 -0
  142. package/dist/models/address/addressForm.model.d.ts +15 -0
  143. package/dist/models/address/addressForm.transformer.d.ts +8 -0
  144. package/dist/models/address/addressForm.transformer.spec.d.ts +1 -0
  145. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.model.d.ts +21 -0
  146. package/dist/models/billing-document/activity-log/billingDocumentActivityLog.transformer.d.ts +5 -0
  147. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +136 -0
  148. package/dist/models/billing-document/billingDocumentDetail.transformer.d.ts +5 -0
  149. package/dist/models/billing-document/billingDocumentDiscount.model.d.ts +9 -0
  150. package/dist/models/billing-document/billingDocumentDiscount.transformer.d.ts +6 -0
  151. package/dist/models/billing-document/billingDocumentDisplay.util.d.ts +7 -0
  152. package/dist/models/billing-document/billingDocumentLineItemGroupUpdateForm.model.d.ts +6 -0
  153. package/dist/models/billing-document/billingDocumentLineItemUpdateForm.model.d.ts +21 -0
  154. package/dist/models/billing-document/billingDocumentStatusEnum.model.d.ts +12 -0
  155. package/dist/models/billing-document/billingDocumentUpdateLines.model.d.ts +27 -0
  156. package/dist/models/billing-document/billingDocumentVatSummary.util.d.ts +4 -0
  157. package/dist/models/billing-document/billingDocumentVatSummary.util.spec.d.ts +1 -0
  158. package/dist/models/customer/customerDetail.model.d.ts +6 -0
  159. package/dist/models/customer/customerDetail.transformer.d.ts +5 -0
  160. package/dist/models/customer/customerUuid.model.d.ts +3 -0
  161. package/dist/models/file-reference/fileReference.dto.d.ts +13 -0
  162. package/dist/models/file-reference/fileReference.model.d.ts +13 -0
  163. package/dist/models/file-reference/fileReference.transformer.d.ts +9 -0
  164. package/dist/models/file-reference/fileReferenceForm.model.d.ts +10 -0
  165. package/dist/modules/credit-note/api/mutations/creditNoteDelete.mutation.d.ts +4 -0
  166. package/dist/modules/credit-note/api/mutations/creditNoteFinalize.mutation.d.ts +6 -0
  167. package/dist/modules/credit-note/api/mutations/creditNoteMarkAsDraft.mutation.d.ts +6 -0
  168. package/dist/modules/credit-note/api/mutations/creditNoteMarkAsReady.mutation.d.ts +6 -0
  169. package/dist/modules/credit-note/api/mutations/creditNoteSend.mutation.d.ts +4 -0
  170. package/dist/modules/credit-note/api/mutations/creditNoteUpdate.mutation.d.ts +9 -0
  171. package/dist/modules/credit-note/api/mutations/creditNoteUpdateLines.mutation.d.ts +4 -0
  172. package/dist/modules/credit-note/api/queries/creditNoteActivityLogIndex.query.d.ts +3 -0
  173. package/dist/modules/credit-note/api/queries/creditNoteDetail.query.d.ts +3 -0
  174. package/dist/modules/credit-note/api/query-keys/creditNote.queryKeys.d.ts +17 -0
  175. package/dist/modules/credit-note/api/services/creditNote.service.d.ts +18 -0
  176. package/dist/modules/credit-note/models/creditNoteUuid.model.d.ts +3 -0
  177. package/dist/modules/credit-note/models/detail/creditNoteDetail.model.d.ts +4 -0
  178. package/dist/modules/credit-note/models/detail/creditNoteDetail.transformer.d.ts +5 -0
  179. package/dist/modules/credit-note/models/update/creditNoteUpdate.transformer.d.ts +7 -0
  180. package/dist/modules/credit-note/models/update/creditNoteUpdateForm.model.d.ts +11 -0
  181. package/dist/modules/credit-note/models/update/creditNoteUpdateLines.model.d.ts +2 -0
  182. package/dist/modules/credit-note/models/update/creditNoteUpdateLines.transformer.d.ts +5 -0
  183. package/dist/modules/credit-note/routes/creditNote.routes.d.ts +26 -0
  184. package/dist/modules/credit-note/use-cases/detail/components/CreditNoteDetailHeaderSection.vue.d.ts +12 -0
  185. package/dist/modules/credit-note/use-cases/detail/components/CreditNoteDetailRemarksSection.vue.d.ts +7 -0
  186. package/dist/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebar.vue.d.ts +9 -0
  187. package/dist/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebarActivityTab.vue.d.ts +7 -0
  188. package/dist/modules/credit-note/use-cases/detail/components/sidebar/CreditNoteDetailSidebarInfoTab.vue.d.ts +9 -0
  189. package/dist/modules/credit-note/use-cases/detail/components/table/CreditNoteLineItemsTableSection.vue.d.ts +9 -0
  190. package/dist/modules/credit-note/use-cases/detail/composables/creditNoteDetailHeaderActions.composable.d.ts +8 -0
  191. package/dist/modules/credit-note/use-cases/detail/dialogs/CreditNoteDeleteDialog.vue.d.ts +13 -0
  192. package/dist/modules/credit-note/use-cases/detail/views/CreditNoteDetailView.vue.d.ts +9 -0
  193. package/dist/modules/credit-note/use-cases/detail/views/CreditNoteDetailViewDataProvider.vue.d.ts +7 -0
  194. package/dist/modules/credit-note/use-cases/pdf/views/CreditNotePdfViewDataProvider.vue.d.ts +7 -0
  195. package/dist/modules/custom-field/api/queries/customFieldDefinitionIndex.query.d.ts +3 -0
  196. package/dist/modules/custom-field/api/query-keys/customFieldDefinition.queryKeys.d.ts +10 -0
  197. package/dist/modules/custom-field/api/services/customFieldDefinition.service.d.ts +6 -0
  198. package/dist/modules/custom-field/components/CustomFieldFieldset.vue.d.ts +21 -0
  199. package/dist/modules/custom-field/components/CustomFieldList.vue.d.ts +10 -0
  200. package/dist/modules/custom-field/components/CustomFieldValueInput.vue.d.ts +23 -0
  201. package/dist/modules/custom-field/components/CustomFieldValueText.vue.d.ts +10 -0
  202. package/dist/modules/custom-field/components/customFieldFieldset.spec.d.ts +1 -0
  203. package/dist/modules/custom-field/components/customFieldValueInput.spec.d.ts +1 -0
  204. package/dist/modules/custom-field/composables/customFieldValueModel.composable.d.ts +28 -0
  205. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.model.d.ts +24 -0
  206. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.transformer.d.ts +5 -0
  207. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.d.ts +8 -0
  208. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinition.util.spec.d.ts +1 -0
  209. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinitionIndexQueryParams.model.d.ts +4 -0
  210. package/dist/modules/custom-field/models/custom-field-definition/customFieldDefinitionUuid.model.d.ts +3 -0
  211. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.model.d.ts +12 -0
  212. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.transformer.d.ts +8 -0
  213. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.transformer.spec.d.ts +1 -0
  214. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.d.ts +10 -0
  215. package/dist/modules/custom-field/models/custom-field-value/customFieldValue.util.spec.d.ts +1 -0
  216. package/dist/modules/custom-field/test/builders/customFieldDefinition.builder.d.ts +13 -0
  217. package/dist/modules/dunning-case/api/mutations/dunningCaseBulkSend.mutation.d.ts +5 -0
  218. package/dist/modules/dunning-case/api/mutations/dunningCaseSend.mutation.d.ts +4 -0
  219. package/dist/modules/dunning-case/api/mutations/reminderConfigUpdate.mutation.d.ts +24 -0
  220. package/dist/modules/dunning-case/api/queries/dunningCaseCustomerByExternalId.query.d.ts +2 -0
  221. package/dist/modules/dunning-case/api/queries/dunningCaseCustomerIndex.query.d.ts +6 -0
  222. package/dist/modules/dunning-case/api/queries/dunningCaseDetail.query.d.ts +3 -0
  223. package/dist/modules/dunning-case/api/queries/dunningCaseIndex.query.d.ts +9 -0
  224. package/dist/modules/dunning-case/api/queries/dunningCaseIndex.query.spec.d.ts +1 -0
  225. package/dist/modules/dunning-case/api/queries/reminderConfig.query.d.ts +1 -0
  226. package/dist/modules/dunning-case/api/query-keys/dunningCase.queryKeys.d.ts +55 -0
  227. package/dist/modules/dunning-case/api/services/dunningCase.service.d.ts +19 -0
  228. package/dist/modules/dunning-case/api/services/dunningCaseCustomer.service.d.ts +11 -0
  229. package/dist/modules/dunning-case/components/DunningCaseReminderLevelIndicator.vue.d.ts +9 -0
  230. package/dist/modules/dunning-case/components/DunningCaseReminderStatusIndicator.vue.d.ts +9 -0
  231. package/dist/modules/dunning-case/components/dunningCaseReminderLevelIndicator.spec.d.ts +1 -0
  232. package/dist/modules/dunning-case/components/dunningCaseReminderStatusIndicator.spec.d.ts +1 -0
  233. package/dist/modules/dunning-case/index.d.ts +4 -0
  234. package/dist/modules/dunning-case/models/dunningCase.model.d.ts +107 -0
  235. package/dist/modules/dunning-case/models/dunningCase.model.spec.d.ts +1 -0
  236. package/dist/modules/dunning-case/models/dunningCase.transformer.d.ts +13 -0
  237. package/dist/modules/dunning-case/models/dunningCase.transformer.spec.d.ts +1 -0
  238. package/dist/modules/dunning-case/models/dunningCaseCustomer.model.d.ts +9 -0
  239. package/dist/modules/dunning-case/models/reminderConfigForm.model.d.ts +31 -0
  240. package/dist/modules/dunning-case/models/reminderConfigForm.model.spec.d.ts +1 -0
  241. package/dist/modules/dunning-case/models/reminderTimeline.util.d.ts +9 -0
  242. package/dist/modules/dunning-case/models/reminderTimeline.util.spec.d.ts +1 -0
  243. package/dist/modules/dunning-case/routes/dunningCase.routes.d.ts +37 -0
  244. package/dist/modules/dunning-case/use-cases/customer/components/CustomerDunningCasesSection.vue.d.ts +7 -0
  245. package/dist/modules/dunning-case/use-cases/detail/views/DunningCaseDetailView.vue.d.ts +7 -0
  246. package/dist/modules/dunning-case/use-cases/detail/views/DunningCaseDetailViewDataProvider.vue.d.ts +7 -0
  247. package/dist/modules/dunning-case/use-cases/detail/views/dunningCaseDetailView.spec.d.ts +1 -0
  248. package/dist/modules/dunning-case/use-cases/overview/composables/dunningCaseOverviewFilters.composable.d.ts +5 -0
  249. package/dist/modules/dunning-case/use-cases/overview/views/DunningCaseOverviewView.vue.d.ts +3 -0
  250. package/dist/modules/dunning-case/use-cases/overview/views/dunningCaseOverviewView.spec.d.ts +1 -0
  251. package/dist/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.query.d.ts +2 -0
  252. package/dist/modules/dunning-case/use-cases/pdf/api/dunningCaseReminderPdf.service.d.ts +5 -0
  253. package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfFooter.vue.d.ts +7 -0
  254. package/dist/modules/dunning-case/use-cases/pdf/components/DunningCaseReminderPdfTable.vue.d.ts +20 -0
  255. package/dist/modules/dunning-case/use-cases/pdf/utils/dunningCaseReminderPdf.util.d.ts +8 -0
  256. package/dist/modules/dunning-case/use-cases/pdf/utils/dunningCaseReminderPdf.util.spec.d.ts +1 -0
  257. package/dist/modules/dunning-case/use-cases/pdf/views/DunningCaseReminderPdfView.vue.d.ts +7 -0
  258. package/dist/modules/dunning-case/use-cases/pdf/views/DunningCaseReminderPdfViewDataProvider.vue.d.ts +3 -0
  259. package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseBulkSendDialog.vue.d.ts +10 -0
  260. package/dist/modules/dunning-case/use-cases/send/dialogs/DunningCaseSendDialog.vue.d.ts +12 -0
  261. package/dist/modules/dunning-case/use-cases/send/utils/dunningCaseSend.util.d.ts +3 -0
  262. package/dist/modules/dunning-case/use-cases/send/utils/dunningCaseSend.util.spec.d.ts +1 -0
  263. package/dist/modules/dunning-case/use-cases/settings/views/ReminderSettingsView.vue.d.ts +7 -0
  264. package/dist/modules/dunning-case/use-cases/settings/views/ReminderSettingsViewDataProvider.vue.d.ts +3 -0
  265. package/dist/modules/invoice/actions/invoice.actions.d.ts +5 -0
  266. package/dist/modules/invoice/actions/invoiceNavigateToDetail.action.d.ts +1 -0
  267. package/dist/modules/invoice/api/invoiceIndexCache.util.d.ts +11 -0
  268. package/dist/modules/invoice/api/invoiceIndexCache.util.spec.d.ts +1 -0
  269. package/dist/modules/invoice/api/mutations/invoiceApplyDiscount.mutation.d.ts +9 -0
  270. package/dist/modules/invoice/api/mutations/invoiceBulkFinalize.mutation.d.ts +5 -0
  271. package/dist/modules/invoice/api/mutations/invoiceBulkMarkAsReady.mutation.d.ts +5 -0
  272. package/dist/modules/invoice/api/mutations/invoiceBulkSend.mutation.d.ts +5 -0
  273. package/dist/modules/invoice/api/mutations/invoiceCreate.mutation.d.ts +7 -0
  274. package/dist/modules/invoice/api/mutations/invoiceCreateCreditNote.mutation.d.ts +4 -0
  275. package/dist/modules/invoice/api/mutations/invoiceDelete.mutation.d.ts +4 -0
  276. package/dist/modules/invoice/api/mutations/invoiceDuplicate.mutation.d.ts +4 -0
  277. package/dist/modules/invoice/api/mutations/invoiceFinalize.mutation.d.ts +4 -0
  278. package/dist/modules/invoice/api/mutations/invoiceMarkAsDraft.mutation.d.ts +4 -0
  279. package/dist/modules/invoice/api/mutations/invoiceMarkAsPaid.mutation.d.ts +4 -0
  280. package/dist/modules/invoice/api/mutations/invoiceMarkAsProtested.mutation.d.ts +4 -0
  281. package/dist/modules/invoice/api/mutations/invoiceMarkAsReady.mutation.d.ts +4 -0
  282. package/dist/modules/invoice/api/mutations/invoicePaymentCreate.mutation.d.ts +11 -0
  283. package/dist/modules/invoice/api/mutations/invoicePaymentDelete.mutation.d.ts +6 -0
  284. package/dist/modules/invoice/api/mutations/invoiceSend.mutation.d.ts +4 -0
  285. package/dist/modules/invoice/api/mutations/invoiceUpdate.mutation.d.ts +16 -0
  286. package/dist/modules/invoice/api/mutations/invoiceUpdateAttachments.mutation.d.ts +13 -0
  287. package/dist/modules/invoice/api/mutations/invoiceUpdateLines.mutation.d.ts +4 -0
  288. package/dist/modules/invoice/api/mutations/invoiceWithdrawProtest.mutation.d.ts +4 -0
  289. package/dist/modules/invoice/api/queries/invoiceActivityLogIndex.query.d.ts +3 -0
  290. package/dist/modules/invoice/api/queries/invoiceCustomerDetail.query.d.ts +6 -0
  291. package/dist/modules/invoice/api/queries/invoiceCustomerSearch.query.d.ts +7 -0
  292. package/dist/modules/invoice/api/queries/invoiceDetail.query.d.ts +3 -0
  293. package/dist/modules/invoice/api/queries/invoiceIndex.query.d.ts +3 -0
  294. package/dist/modules/invoice/api/queries/invoicePaymentIndex.query.d.ts +3 -0
  295. package/dist/modules/invoice/api/queries/invoicePublicDetail.query.d.ts +2 -0
  296. package/dist/modules/invoice/api/query-keys/invoice.queryKeys.d.ts +55 -0
  297. package/dist/modules/invoice/api/services/fileUpload.service.d.ts +9 -0
  298. package/dist/modules/invoice/api/services/fileUpload.service.spec.d.ts +1 -0
  299. package/dist/modules/invoice/api/services/invoice.service.d.ts +48 -0
  300. package/dist/modules/invoice/api/services/invoiceCustomer.service.d.ts +9 -0
  301. package/dist/modules/invoice/components/InvoiceDeliveryStatusBadge.vue.d.ts +10 -0
  302. package/dist/modules/invoice/components/InvoiceDisputedBadge.vue.d.ts +8 -0
  303. package/dist/modules/invoice/components/InvoiceOverdueBadge.vue.d.ts +8 -0
  304. package/dist/modules/invoice/components/InvoiceSettlementStatusBadge.vue.d.ts +18 -0
  305. package/dist/modules/invoice/components/InvoiceStatusBadge.vue.d.ts +10 -0
  306. package/dist/modules/invoice/components/form/InvoiceFormCustomerField.vue.d.ts +16 -0
  307. package/dist/modules/invoice/models/invoice/create/invoiceCreate.transformer.d.ts +5 -0
  308. package/dist/modules/invoice/models/invoice/create/invoiceCreateCustomer.model.d.ts +9 -0
  309. package/dist/modules/invoice/models/invoice/create/invoiceCreateCustomer.transformer.d.ts +5 -0
  310. package/dist/modules/invoice/models/invoice/create/invoiceCreateForm.model.d.ts +9 -0
  311. package/dist/modules/invoice/models/invoice/create/invoiceCustomerSearchQueryParams.model.d.ts +3 -0
  312. package/dist/modules/invoice/models/invoice/create/invoiceCustomerSearchQueryParams.transformer.d.ts +6 -0
  313. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.model.d.ts +4 -0
  314. package/dist/modules/invoice/models/invoice/detail/invoiceDetail.transformer.d.ts +5 -0
  315. package/dist/modules/invoice/models/invoice/index/invoiceDateRange.model.d.ts +5 -0
  316. package/dist/modules/invoice/models/invoice/index/invoiceIndex.model.d.ts +27 -0
  317. package/dist/modules/invoice/models/invoice/index/invoiceIndex.transformer.d.ts +5 -0
  318. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.model.d.ts +16 -0
  319. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.transformer.d.ts +7 -0
  320. package/dist/modules/invoice/models/invoice/index/invoiceIndexQueryParams.transformer.spec.d.ts +1 -0
  321. package/dist/modules/invoice/models/invoice/invoiceDeliveryStatus.model.d.ts +6 -0
  322. package/dist/modules/invoice/models/invoice/invoiceDeliveryStatus.util.d.ts +6 -0
  323. package/dist/modules/invoice/models/invoice/invoiceDeliveryStatus.util.spec.d.ts +1 -0
  324. package/dist/modules/invoice/models/invoice/invoiceSettlementStatus.model.d.ts +20 -0
  325. package/dist/modules/invoice/models/invoice/invoiceSettlementStatus.util.d.ts +11 -0
  326. package/dist/modules/invoice/models/invoice/invoiceSettlementStatus.util.spec.d.ts +1 -0
  327. package/dist/modules/invoice/models/invoice/invoiceStatus.model.d.ts +11 -0
  328. package/dist/modules/invoice/models/invoice/invoiceStatus.util.d.ts +7 -0
  329. package/dist/modules/invoice/models/invoice/payment/invoicePayment.model.d.ts +13 -0
  330. package/dist/modules/invoice/models/invoice/payment/invoicePayment.transformer.d.ts +5 -0
  331. package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreate.transformer.d.ts +5 -0
  332. package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreateForm.model.d.ts +11 -0
  333. package/dist/modules/invoice/models/invoice/payment/paymentUuid.model.d.ts +3 -0
  334. package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.model.d.ts +56 -0
  335. package/dist/modules/invoice/models/invoice/pdf/invoicePdfDetail.transformer.d.ts +5 -0
  336. package/dist/modules/invoice/models/invoice/update/invoiceApplyDiscount.transformer.d.ts +5 -0
  337. package/dist/modules/invoice/models/invoice/update/invoiceApplyDiscountForm.model.d.ts +9 -0
  338. package/dist/modules/invoice/models/invoice/update/invoiceAttachmentsUpdate.transformer.d.ts +7 -0
  339. package/dist/modules/invoice/models/invoice/update/invoiceAttachmentsUpdateForm.model.d.ts +12 -0
  340. package/dist/modules/invoice/models/invoice/update/invoiceLineItemUpdateForm.model.d.ts +11 -0
  341. package/dist/modules/invoice/models/invoice/update/invoiceSubjectUpdateForm.model.d.ts +6 -0
  342. package/dist/modules/invoice/models/invoice/update/invoiceUpdate.transformer.d.ts +7 -0
  343. package/dist/modules/invoice/models/invoice/update/invoiceUpdateForm.model.d.ts +16 -0
  344. package/dist/modules/invoice/models/invoice/update/invoiceUpdateLines.model.d.ts +2 -0
  345. package/dist/modules/invoice/models/invoice/update/invoiceUpdateLines.transformer.d.ts +5 -0
  346. package/dist/modules/invoice/models/invoiceUuid.model.d.ts +3 -0
  347. package/dist/modules/invoice/routes/invoice.routes.d.ts +38 -0
  348. package/dist/modules/invoice/use-cases/create/dialogs/InvoiceCreateDialog.vue.d.ts +7 -0
  349. package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailHeaderSection.vue.d.ts +12 -0
  350. package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailLinkedCreditNotesSection.vue.d.ts +7 -0
  351. package/dist/modules/invoice/use-cases/detail/components/InvoiceDetailRemarksSection.vue.d.ts +7 -0
  352. package/dist/modules/invoice/use-cases/detail/components/sidebar/InvoiceDetailSidebar.vue.d.ts +9 -0
  353. package/dist/modules/invoice/use-cases/detail/components/sidebar/InvoiceDetailSidebarActivityTab.vue.d.ts +7 -0
  354. package/dist/modules/invoice/use-cases/detail/components/sidebar/InvoiceDetailSidebarInfoTab.vue.d.ts +9 -0
  355. package/dist/modules/invoice/use-cases/detail/components/sidebar/invoiceDetailSidebarInfoTab.spec.d.ts +1 -0
  356. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentActionsCell.vue.d.ts +8 -0
  357. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentManualCell.vue.d.ts +7 -0
  358. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentsSection.vue.d.ts +7 -0
  359. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceDetailPaymentsTableTextCell.vue.d.ts +6 -0
  360. package/dist/modules/invoice/use-cases/detail/components/table/InvoiceLineItemsTableSection.vue.d.ts +9 -0
  361. package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailHeaderActions.composable.d.ts +9 -0
  362. package/dist/modules/invoice/use-cases/detail/composables/invoiceDetailPaymentsTableColumns.composable.d.ts +6 -0
  363. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceApplyDiscountDialog.vue.d.ts +11 -0
  364. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceDeleteDialog.vue.d.ts +13 -0
  365. package/dist/modules/invoice/use-cases/detail/dialogs/InvoicePaymentCreateDialog.vue.d.ts +11 -0
  366. package/dist/modules/invoice/use-cases/detail/dialogs/InvoiceUpdateDialog.vue.d.ts +13 -0
  367. package/dist/modules/invoice/use-cases/detail/views/InvoiceDetailView.vue.d.ts +9 -0
  368. package/dist/modules/invoice/use-cases/detail/views/InvoiceDetailViewDataProvider.vue.d.ts +7 -0
  369. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewBulkActionBar.vue.d.ts +22 -0
  370. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableAmountCell.vue.d.ts +7 -0
  371. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableCustomFieldCell.vue.d.ts +9 -0
  372. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableDueDateCell.vue.d.ts +8 -0
  373. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableIssuedDateCell.vue.d.ts +7 -0
  374. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableLifecycleCell.vue.d.ts +8 -0
  375. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableNameCell.vue.d.ts +9 -0
  376. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSelectionCell.vue.d.ts +10 -0
  377. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSentCell.vue.d.ts +7 -0
  378. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableSequenceCell.vue.d.ts +6 -0
  379. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewTableStatusCell.vue.d.ts +7 -0
  380. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewBulkSendEligibility.composable.d.ts +15 -0
  381. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewBulkSendEligibility.composable.spec.d.ts +1 -0
  382. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewCustomFieldFilter.util.d.ts +11 -0
  383. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewCustomFieldFilter.util.spec.d.ts +1 -0
  384. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewDataTableFilters.composable.d.ts +16 -0
  385. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewFilters.composable.d.ts +12 -0
  386. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewSelection.composable.d.ts +18 -0
  387. package/dist/modules/invoice/use-cases/overview/composables/invoiceOverviewTableColumns.composable.d.ts +14 -0
  388. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkActionDialog.vue.d.ts +25 -0
  389. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkFinalizeDialog.vue.d.ts +12 -0
  390. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkMarkAsReadyDialog.vue.d.ts +12 -0
  391. package/dist/modules/invoice/use-cases/overview/dialogs/InvoiceOverviewBulkSendDialog.vue.d.ts +12 -0
  392. package/dist/modules/invoice/use-cases/overview/utils/invoiceOverviewBulkActionFeedback.util.d.ts +29 -0
  393. package/dist/modules/invoice/use-cases/overview/views/InvoiceOverviewView.vue.d.ts +25 -0
  394. package/dist/modules/invoice/use-cases/overview/views/InvoiceOverviewViewDataProvider.vue.d.ts +16 -0
  395. package/dist/modules/invoice/use-cases/pdf/components/BillingDocumentPdf.vue.d.ts +7 -0
  396. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfFooterSection.vue.d.ts +7 -0
  397. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfHeaderSection.vue.d.ts +8 -0
  398. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfLinesTable.vue.d.ts +8 -0
  399. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfSummarySection.vue.d.ts +8 -0
  400. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfTableCell.vue.d.ts +16 -0
  401. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfTableHeaderCell.vue.d.ts +6 -0
  402. package/dist/modules/invoice/use-cases/pdf/components/InvoicePdfWatermark.vue.d.ts +3 -0
  403. package/dist/modules/invoice/use-cases/pdf/components/invoicePdf.types.d.ts +30 -0
  404. package/dist/modules/invoice/use-cases/pdf/components/invoicePdfLinesTable.spec.d.ts +1 -0
  405. package/dist/modules/invoice/use-cases/pdf/utils/invoicePdf.util.d.ts +42 -0
  406. package/dist/modules/invoice/use-cases/pdf/utils/invoicePdf.util.spec.d.ts +1 -0
  407. package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfView.vue.d.ts +7 -0
  408. package/dist/modules/invoice/use-cases/pdf/views/InvoicePdfViewDataProvider.vue.d.ts +7 -0
  409. package/dist/modules/invoice/use-cases/pdf/views/InvoicePublicPdfViewDataProvider.vue.d.ts +3 -0
  410. package/dist/modules/settings/api/mutations/issuerSettingsUpdate.mutation.d.ts +25 -0
  411. package/dist/modules/settings/api/queries/issuerSettings.query.d.ts +1 -0
  412. package/dist/modules/settings/api/query-keys/issuerSettings.queryKeys.d.ts +6 -0
  413. package/dist/modules/settings/api/services/issuerSettings.service.d.ts +7 -0
  414. package/dist/modules/settings/models/issuer-settings/issuerSettings.model.d.ts +15 -0
  415. package/dist/modules/settings/models/issuer-settings/issuerSettings.transformer.d.ts +8 -0
  416. package/dist/modules/settings/models/issuer-settings/issuerSettings.transformer.spec.d.ts +1 -0
  417. package/dist/modules/settings/models/issuer-settings/issuerSettingsForm.model.d.ts +28 -0
  418. package/dist/modules/settings/routes/settings.routes.d.ts +23 -0
  419. package/dist/modules/settings/use-cases/overview/components/IssuerSettingsForm.vue.d.ts +7 -0
  420. package/dist/modules/settings/use-cases/overview/views/IssuerSettingsView.vue.d.ts +7 -0
  421. package/dist/modules/settings/use-cases/overview/views/IssuerSettingsViewDataProvider.vue.d.ts +3 -0
  422. package/dist/plainDate.transformer-BxvJpJOv.js +39 -0
  423. package/dist/reminderConfig.query-C7I3M2pu.js +329 -0
  424. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  425. package/dist/routes/invoicingPublicRoutes.composable.d.ts +9 -0
  426. package/dist/routes/invoicingRoutes.composable.d.ts +73 -0
  427. package/dist/routes/invoicingRoutes.composable.spec.d.ts +1 -0
  428. package/dist/routes/invoicingStandaloneRoutes.composable.d.ts +17 -0
  429. package/dist/src-BFgnUugN.js +123 -0
  430. package/dist/style.css +2 -1
  431. package/dist/types/apiError.type.d.ts +7 -0
  432. package/dist/types/query.type.d.ts +20 -0
  433. package/dist/types/queryKey.type.d.ts +8 -0
  434. package/dist/ui/DateRangeFilterButton.vue.d.ts +15 -0
  435. package/dist/ui/DisplayState.vue.d.ts +16 -0
  436. package/dist/ui/billing-document/BillingDocumentDetailHeaderSection.vue.d.ts +28 -0
  437. package/dist/ui/billing-document/BillingDocumentDetailLayout.vue.d.ts +22 -0
  438. package/dist/ui/billing-document/BillingDocumentDetailPage.vue.d.ts +24 -0
  439. package/dist/ui/billing-document/BillingDocumentDetailRemarksSection.vue.d.ts +10 -0
  440. package/dist/ui/billing-document/BillingDocumentDetailViewDataProvider.vue.d.ts +31 -0
  441. package/dist/ui/billing-document/BillingDocumentFinalizeDialog.vue.d.ts +11 -0
  442. package/dist/ui/billing-document/BillingDocumentHeaderActions.vue.d.ts +13 -0
  443. package/dist/ui/billing-document/BillingDocumentPdfViewer.vue.d.ts +7 -0
  444. package/dist/ui/billing-document/billingDocumentHeaderActions.types.d.ts +24 -0
  445. package/dist/ui/billing-document/billingDocumentPdfPreviewRoute.util.d.ts +14 -0
  446. package/dist/ui/billing-document/billingDocumentPdfPreviewRoute.util.spec.d.ts +1 -0
  447. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebar.vue.d.ts +20 -0
  448. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityContent.vue.d.ts +20 -0
  449. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarActivityTab.vue.d.ts +3 -0
  450. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarAttachmentsTab.vue.d.ts +7 -0
  451. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarHeader.vue.d.ts +14 -0
  452. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarInfoItem.vue.d.ts +21 -0
  453. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarLayout.vue.d.ts +16 -0
  454. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarOriginalInvoiceSection.vue.d.ts +7 -0
  455. package/dist/ui/billing-document/sidebar/BillingDocumentDetailSidebarPartySection.vue.d.ts +12 -0
  456. package/dist/ui/billing-document/table/BillingDocumentLineItemDeleteDialog.vue.d.ts +16 -0
  457. package/dist/ui/billing-document/table/BillingDocumentLineItemsBulkActionBar.vue.d.ts +3 -0
  458. package/dist/ui/billing-document/table/BillingDocumentLineItemsDragHandle.vue.d.ts +3 -0
  459. package/dist/ui/billing-document/table/BillingDocumentLineItemsInsertIndicator.vue.d.ts +16 -0
  460. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableGrid.vue.d.ts +3 -0
  461. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableGroupRow.vue.d.ts +14 -0
  462. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableHeader.vue.d.ts +12 -0
  463. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableRow.vue.d.ts +10 -0
  464. package/dist/ui/billing-document/table/BillingDocumentLineItemsTableSection.vue.d.ts +13 -0
  465. package/dist/ui/billing-document/table/BillingDocumentLineItemsTotals.vue.d.ts +7 -0
  466. package/dist/ui/billing-document/table/billingDocumentLineItemsTable.context.d.ts +2773 -0
  467. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsAutoSave.composable.d.ts +22 -0
  468. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsAutoSave.composable.spec.d.ts +1 -0
  469. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsEditor.composable.d.ts +484 -0
  470. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsKeyboardNav.composable.d.ts +41 -0
  471. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsKeyboardNav.composable.spec.d.ts +1 -0
  472. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsRowMutations.composable.d.ts +41 -0
  473. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsSelection.composable.d.ts +16 -0
  474. package/dist/ui/billing-document/table/composables/useBillingDocumentLineItemsTableDrag.composable.d.ts +13 -0
  475. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableCustomField.vue.d.ts +21 -0
  476. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableField.vue.d.ts +35 -0
  477. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableNumberField.vue.d.ts +26 -0
  478. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableSelectField.vue.d.ts +35 -0
  479. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableTextField.vue.d.ts +23 -0
  480. package/dist/ui/billing-document/table/field/billingDocumentLineItemsTableNumberField.spec.d.ts +1 -0
  481. package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.d.ts +90 -0
  482. package/dist/ui/billing-document/table/utils/billingDocumentLineItemsEditor.util.spec.d.ts +1 -0
  483. package/dist/ui/billing-document/useBillingDocumentFinalizePreference.composable.d.ts +4 -0
  484. package/dist/ui/customer-invoice-list/CustomerInvoiceList.vue.d.ts +16 -0
  485. package/dist/ui/customer-invoice-list/CustomerInvoiceTable.vue.d.ts +6 -0
  486. package/dist/ui/customer-invoice-list/components/CustomerInvoiceTableBadgeCell.vue.d.ts +8 -0
  487. package/dist/ui/customer-invoice-list/components/CustomerInvoiceTableInvoiceNumberCell.vue.d.ts +6 -0
  488. package/dist/ui/customer-invoice-list/components/CustomerInvoiceTableTextCell.vue.d.ts +6 -0
  489. package/dist/ui/customer-invoice-list/composables/customerInvoiceTableColumns.composable.d.ts +3 -0
  490. package/dist/ui/customer-invoice-list/composables/customerInvoiceTableFilters.composable.d.ts +9 -0
  491. package/dist/ui/customer-invoice-list/utils/customerInvoiceTable.util.d.ts +8 -0
  492. package/dist/ui/customer-invoice-list/utils/customerInvoiceTable.util.spec.d.ts +1 -0
  493. package/dist/ui/dashboard/index.d.ts +7 -0
  494. package/dist/ui/data-provider/DataProvider.vue.d.ts +27 -0
  495. package/dist/ui/file-upload/InvoicingFileUploadProvider.vue.d.ts +13 -0
  496. package/dist/ui/file-upload/invoicingFileUpload.adapter.d.ts +2 -0
  497. package/dist/ui/permission-guard/PermissionGuard.vue.d.ts +22 -0
  498. package/dist/useCurrencyFormat.composable-MtZaqKnO.js +38 -0
  499. package/dist/utils/api.util.d.ts +5 -0
  500. package/dist/utils/context.util.d.ts +1 -0
  501. package/dist/utils/createComponent.d.ts +4 -0
  502. package/dist/utils/download.util.d.ts +3 -0
  503. package/dist/utils/formango.util.d.ts +8 -0
  504. package/dist/utils/image.util.d.ts +3 -0
  505. package/dist/utils/instant.transformer.d.ts +7 -0
  506. package/dist/utils/map.util.d.ts +2 -0
  507. package/dist/utils/monetary/currency.model.d.ts +180 -0
  508. package/dist/utils/monetary/monetary.model.d.ts +6 -0
  509. package/dist/utils/monetary/monetary.util.d.ts +8 -0
  510. package/dist/utils/monetary/monetaryDto.model.d.ts +9 -0
  511. package/dist/utils/number.util.d.ts +4 -0
  512. package/dist/utils/percentage.util.d.ts +13 -0
  513. package/dist/utils/plainDate.transformer.d.ts +7 -0
  514. package/dist/utils/search.util.d.ts +3 -0
  515. package/package.json +26 -25
  516. package/dist/AddOpenBoundaryIcon-LcnpqCb7.js +0 -28
  517. package/dist/AirlineIcon-29r8leGB.js +0 -31
  518. package/dist/AirplaneIcon-B9jZP9r0.js +0 -21
  519. package/dist/AirportIcon-C4PxDtDr.js +0 -18
  520. package/dist/AlertTriangleIcon-BD58hKRP.js +0 -24
  521. package/dist/AllocationsIcon-BQan6NWO.js +0 -18
  522. package/dist/ArrowNarrowRightIcon-BA1c_QRh.js +0 -24
  523. package/dist/AssetIcon-DnK5wAyN.js +0 -18
  524. package/dist/BarChartIcon-CKrBCh6x.js +0 -24
  525. package/dist/BellIcon-BT2cGatU.js +0 -23
  526. package/dist/BillingDocumentDetailViewDataProvider.vue_vue_type_script_setup_true_lang-C5j9jPsk.js +0 -5374
  527. package/dist/BuildingIcon-CUOTWDHc.js +0 -24
  528. package/dist/ChargerIcon-BhrjeyKv.js +0 -18
  529. package/dist/ChevronDownIcon-DljNUnFk.js +0 -24
  530. package/dist/ChevronUpIcon-CoxFAIp_.js +0 -24
  531. package/dist/ClockIcon-CTnAGb9i.js +0 -24
  532. package/dist/ClockSnoozeIcon-BRoTw_Vn.js +0 -24
  533. package/dist/CopyIcon-JiNI8Dfg.js +0 -21
  534. package/dist/CreditNoteDetailViewDataProvider-Cy1j_m3I.js +0 -871
  535. package/dist/CreditNotePdfViewDataProvider-B7-HFIKD.js +0 -36
  536. package/dist/DownloadCloudIcon-DKHwnpvk.js +0 -24
  537. package/dist/EditIcon-DtGrCf8G.js +0 -23
  538. package/dist/EraserIcon-Cb0Ep_Yq.js +0 -24
  539. package/dist/FileIcon-C4wGvJpt.js +0 -26
  540. package/dist/FilterLinesIcon-B7wPXDy1.js +0 -24
  541. package/dist/GlobeIcon-B-Idmck1.js +0 -24
  542. package/dist/HelpIcon-CdKWaEaB.js +0 -26
  543. package/dist/HourGlassIcon-CQLPiXVW.js +0 -24
  544. package/dist/InfoCircleIcon-5gjQoNog.js +0 -24
  545. package/dist/InvoiceDetailViewDataProvider-4lGG7Wtq.js +0 -1918
  546. package/dist/InvoiceOverviewView-Boqvwabl.js +0 -4
  547. package/dist/InvoicePdfViewDataProvider-CJ3fL71W.js +0 -36
  548. package/dist/InvoicePublicPdfViewDataProvider-CzgGk_V5.js +0 -4
  549. package/dist/IssuerSettingsViewDataProvider-TM-bmC55.js +0 -249
  550. package/dist/KeyboardIcon-DlAp0VUG.js +0 -24
  551. package/dist/LinkExternalIcon-BPO_c7Ke.js +0 -24
  552. package/dist/LinkIcon-9M0uzW4a.js +0 -24
  553. package/dist/MarkerIcon-pId64QTW.js +0 -31
  554. package/dist/MobileBatteryIcon-Dq6Vh0d5.js +0 -18
  555. package/dist/MonitorIcon-PsvDF5LA.js +0 -24
  556. package/dist/NotificationIcon-C-mhyH5v.js +0 -21
  557. package/dist/ParkingIcon-BD0RoGv5.js +0 -29
  558. package/dist/PlanningIcon-BBIuwW2I.js +0 -18
  559. package/dist/PreferenceIcon-zR5mjygu.js +0 -24
  560. package/dist/ReceiptCheckIcon-CHEEnJEK.js +0 -24
  561. package/dist/RefreshIcon-CfjOS7Vw.js +0 -24
  562. package/dist/RemoveOpenBoundaryIcon-CEbBT9CX.js +0 -31
  563. package/dist/RewindIcon-9PFea9gA.js +0 -24
  564. package/dist/SettingsIcon-CSIbrANE.js +0 -28
  565. package/dist/ShieldIcon-CU4mxKxP.js +0 -21
  566. package/dist/ShieldOffIcon-D6_I1MKn.js +0 -24
  567. package/dist/SignOutIcon-ClrPsj39.js +0 -23
  568. package/dist/SlashCircleIcon-DBy7XjBm.js +0 -24
  569. package/dist/StandIcon-vV8J4-3H.js +0 -24
  570. package/dist/StarsIcon-RO6wNbsC.js +0 -26
  571. package/dist/StopwatchIcon-DubYBmeN.js +0 -24
  572. package/dist/TargetIcon-BwVw7rVC.js +0 -24
  573. package/dist/ThreeDotsIcon-BvRfi-Lm.js +0 -32
  574. package/dist/ToolIcon-Dw-vgiL1.js +0 -24
  575. package/dist/TrashIcon-Dh6ASxXd.js +0 -21
  576. package/dist/TurnaroundIcon-Hn5nPhvb.js +0 -30
  577. package/dist/UploadCloudIcon-BV7b8ygQ.js +0 -24
  578. package/dist/UserIcon-BRrPmqkm.js +0 -24
  579. package/dist/UsersIcon-fORcf4YV.js +0 -24
  580. package/dist/VerifiedIcon-BtqxtP6h.js +0 -26
  581. package/dist/WifiIcon-Bd9TvVVJ.js +0 -24
  582. package/dist/WifiOffIcon-CpATjY4j.js +0 -24
  583. package/dist/ZapIcon-BG6cVpfC.js +0 -24
  584. package/dist/ZoomInIcon-CQ_R4Ydf.js +0 -24
  585. package/dist/ZoomOutIcon-DlcCdCda.js +0 -24
  586. package/dist/creditNoteDetail.query-Dj6oKRTO.js +0 -159
  587. package/dist/index-CYV9qUlg.js +0 -23375
  588. package/dist/index-DCE3vzbe.js +0 -7
  589. package/dist/invoiceDetail.query-Wtw3VSKd.js +0 -13
  590. package/dist/issuerSettings.query-H5-5e_KF.js +0 -130
  591. package/dist/style.d.ts +0 -1
  592. /package/dist/{index.css → DunningCaseReminderPdfViewDataProvider.css} +0 -0
@@ -0,0 +1,4894 @@
1
+ export type ClientOptions = {
2
+ baseUrl: 'https://vue.project-template.development.appwi.se' | 'https://vue.project-template.test.appwi.se' | 'https://vue.project-template.staging.appwi.se' | 'https://vue.project-template.production.appwi.se' | 'http://localhost:3000' | (string & {});
3
+ };
4
+ export declare enum Permission {
5
+ ALL_PERMISSIONS = "all_permissions",
6
+ CUSTOM_FIELD_DEFINITION_READ = "custom-field-definition.read",
7
+ CUSTOMER_CREATE = "customer.create",
8
+ CUSTOMER_READ = "customer.read",
9
+ CUSTOMER_UPDATE = "customer.update",
10
+ CUSTOMER_DEACTIVATE = "customer.deactivate",
11
+ CUSTOMER_REACTIVATE = "customer.reactivate",
12
+ DUNNING_CASE_READ = "dunning-case.read",
13
+ DUNNING_CASE_SEND = "dunning-case.send",
14
+ INVOICE_CREATE = "invoice.create",
15
+ INVOICE_DELETE = "invoice.delete",
16
+ INVOICE_READ = "invoice.read",
17
+ INVOICE_SEND_EMAIL = "invoice.send-email",
18
+ INVOICE_UPDATE = "invoice.update",
19
+ INVOICE_PAYMENT_CREATE = "invoice.payment.create",
20
+ INVOICE_PAYMENT_DELETE = "invoice.payment.delete",
21
+ INVOICE_PAYMENT_READ = "invoice.payment.read",
22
+ ISSUER_READ = "issuer.read",
23
+ ISSUER_UPDATE = "issuer.update",
24
+ RECIPIENT_READ = "recipient.read",
25
+ RECIPIENT_CREATE = "recipient.create",
26
+ RECIPIENT_UPDATE = "recipient.update",
27
+ RECIPIENT_DELETE = "recipient.delete",
28
+ REMINDER_CONFIG_READ = "reminder-config.read",
29
+ ACTIVITY_LOG_READ = "activity-log.read",
30
+ EVENT_LOG_READ = "event-log.read",
31
+ FILE_READ = "file.read",
32
+ FILE_CREATE = "file.create",
33
+ FILE_DELETE = "file.delete",
34
+ JOBS_READ_INDEX = "jobs.read.index",
35
+ JOBS_READ_DETAIL = "jobs.read.detail",
36
+ NOTIFICATION_READ_OWN = "notification.read.own",
37
+ NOTIFICATION_READ_CONFIG = "notification.read.config",
38
+ NOTIFICATION_UPDATE_READ = "notification.update.read",
39
+ NOTIFICATION_UPDATE_UNREAD = "notification.update.unread",
40
+ NOTIFICATION_PREFERENCES_UPDATE_CHANNEL = "notification.preferences.update.channel",
41
+ NOTIFICATION_PREFERENCES_UPDATE_PRESET = "notification.preferences.update.preset",
42
+ NOTIFICATION_PREFERENCES_UPDATE_TYPES = "notification.preferences.update.types",
43
+ NOTIFICATION_PREFERENCES_READ_OWN = "notification.preferences.read.own",
44
+ NOTIFICATION_MIGRATE_TYPE = "notification.migrate-type",
45
+ NOTIFICATION_SEND_TEST = "notification.send-test",
46
+ REMINDER_CONFIG_UPDATE = "reminder-config.update",
47
+ ROLE_READ = "role.read",
48
+ ROLE_CREATE = "role.create",
49
+ ROLE_UPDATE = "role.update",
50
+ ROLE_DELETE = "role.delete",
51
+ ROLE_CACHE_CLEAR = "role.cache.clear",
52
+ SEND_PUSH_NOTIFICATION = "send_push_notification",
53
+ TYPESENSE = "typesense",
54
+ USER_READ = "user.read",
55
+ USER_CREATE = "user.create",
56
+ USER_UPDATE = "user.update",
57
+ USER_DELETE = "user.delete",
58
+ TENANT_CREATE = "tenant.create",
59
+ TENANT_READ_INDEX = "tenant.read_index",
60
+ TENANT_READ_DETAIL = "tenant.read_detail",
61
+ TENANT_UPDATE = "tenant.update",
62
+ TENANT_DEACTIVATE = "tenant.deactivate"
63
+ }
64
+ export type ViewPermissionIndexPermissionResponse = {
65
+ name: string;
66
+ key: Permission;
67
+ description: string;
68
+ };
69
+ export type ViewPermissionIndexGroupResponse = {
70
+ name: string;
71
+ permissions: Array<ViewPermissionIndexPermissionResponse>;
72
+ };
73
+ export type ViewPermissionIndexResponse = {
74
+ groups: Array<ViewPermissionIndexGroupResponse>;
75
+ };
76
+ export type GetApiInfoResponse = {
77
+ environment: string;
78
+ /**
79
+ * Commit SHA of the current build
80
+ */
81
+ commit: string;
82
+ /**
83
+ * Version of the current build
84
+ */
85
+ version: string;
86
+ /**
87
+ * Timestamp of the current build
88
+ */
89
+ timestamp: string;
90
+ };
91
+ export declare enum TypesenseCollectionName {
92
+ USER = "user",
93
+ CUSTOMER = "customer",
94
+ RECIPIENT = "recipient",
95
+ INVOICE = "invoice"
96
+ }
97
+ export type ViewCollectionIndexResponse = {
98
+ collections: Array<'user' | 'customer' | 'recipient' | 'invoice'>;
99
+ };
100
+ export type UserNotFoundError = {
101
+ /**
102
+ * a human-readable explanation specific to this occurrence of the problem
103
+ */
104
+ detail?: string;
105
+ status: '404';
106
+ code: 'user_not_found';
107
+ };
108
+ export type SetUserRolesCommand = {
109
+ roleUuids: Array<string>;
110
+ };
111
+ export type ViewRoleDetailResponse = {
112
+ uuid: string;
113
+ createdAt: string;
114
+ updatedAt: string;
115
+ name: string;
116
+ permissions: Array<Permission>;
117
+ isDefault: boolean;
118
+ isSystemAdmin: boolean;
119
+ };
120
+ export type ViewMeResponse = {
121
+ uuid: string;
122
+ email: string | null;
123
+ firstName: string | null;
124
+ lastName: string | null;
125
+ tenantUuid: string | null;
126
+ roles: Array<ViewRoleDetailResponse>;
127
+ };
128
+ export type ViewUserDetailResponse = {
129
+ uuid: string;
130
+ email: string | null;
131
+ firstName: string | null;
132
+ lastName: string | null;
133
+ tenantUuid: string | null;
134
+ roles: Array<ViewRoleDetailResponse>;
135
+ };
136
+ export type PaginatedOffsetQuery = {
137
+ limit: number;
138
+ offset: number;
139
+ };
140
+ export type UserIndexRoleView = {
141
+ uuid: string;
142
+ name: string;
143
+ };
144
+ export type UserIndexView = {
145
+ uuid: string;
146
+ email: string | null;
147
+ firstName: string | null;
148
+ lastName: string | null;
149
+ roles: Array<UserIndexRoleView>;
150
+ };
151
+ export type PaginatedOffsetResponseMeta = {
152
+ /**
153
+ * the total amount of items that exist
154
+ */
155
+ total: number;
156
+ /**
157
+ * the amount of items skipped
158
+ */
159
+ offset: number;
160
+ /**
161
+ * the amount of items per response
162
+ */
163
+ limit: number;
164
+ };
165
+ export type ViewUserIndexResponse = {
166
+ /**
167
+ * The items for the current page
168
+ */
169
+ items: Array<UserIndexView>;
170
+ meta: PaginatedOffsetResponseMeta;
171
+ };
172
+ export type CreateRoleCommand = {
173
+ /**
174
+ * The name of the role
175
+ */
176
+ name: string;
177
+ };
178
+ export type CreateRoleResponse = {
179
+ uuid: string;
180
+ };
181
+ export type ClearRolePermissionsCacheCommand = {
182
+ /**
183
+ * clears the cache for all roles when omitted or null
184
+ */
185
+ roleUuids?: Array<string> | null;
186
+ };
187
+ export type RoleNotFoundError = {
188
+ /**
189
+ * a human-readable explanation specific to this occurrence of the problem
190
+ */
191
+ detail?: string;
192
+ status: '404';
193
+ code: 'role_not_found';
194
+ };
195
+ export type UpdateRoleCommand = {
196
+ /**
197
+ * The name of the role
198
+ */
199
+ name: string;
200
+ };
201
+ export type RoleResponse = {
202
+ uuid: string;
203
+ createdAt: string;
204
+ updatedAt: string;
205
+ name: string;
206
+ permissions: Array<Permission>;
207
+ isDefault: boolean;
208
+ isSystemAdmin: boolean;
209
+ };
210
+ export type ViewRoleIndexResponse = {
211
+ items: Array<RoleResponse>;
212
+ };
213
+ export type UpdateRolesPermissionsCommandItem = {
214
+ roleUuid: string;
215
+ permissions: Array<Permission>;
216
+ };
217
+ export type UpdateRolesPermissionsCommand = {
218
+ roles: Array<UpdateRolesPermissionsCommandItem>;
219
+ };
220
+ export declare enum MimeType {
221
+ APPLICATION_PDF = "application/pdf",
222
+ APPLICATION_MSWORD = "application/msword",
223
+ APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_WORDPROCESSINGML_DOCUMENT = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
224
+ APPLICATION_VND_MS_POWERPOINT = "application/vnd.ms-powerpoint",
225
+ APPLICATION_VND_OPENXMLFORMATS_OFFICEDOCUMENT_PRESENTATIONML_PRESENTATION = "application/vnd.openxmlformats-officedocument.presentationml.presentation",
226
+ TEXT_PLAIN = "text/plain",
227
+ TEXT_HTML = "text/html",
228
+ TEXT_CSV = "text/csv",
229
+ IMAGE_JPEG = "image/jpeg",
230
+ IMAGE_PNG = "image/png",
231
+ IMAGE_TIFF = "image/tiff",
232
+ IMAGE_BMP = "image/bmp",
233
+ IMAGE_HEIC = "image/heic",
234
+ IMAGE_WEBP = "image/webp",
235
+ IMAGE_GIF = "image/gif",
236
+ APPLICATION_OCTET_STREAM = "application/octet-stream"
237
+ }
238
+ export type CreateFileCommand = {
239
+ name: string;
240
+ mimeType: MimeType;
241
+ isPublic?: boolean;
242
+ };
243
+ export type CreateFileResponse = {
244
+ uuid: string;
245
+ name: string;
246
+ mimeType: MimeType | null;
247
+ uploadUrl: string;
248
+ };
249
+ export type FileNotFoundError = {
250
+ /**
251
+ * a human-readable explanation specific to this occurrence of the problem
252
+ */
253
+ detail?: string;
254
+ status: '404';
255
+ code: 'file_not_found';
256
+ };
257
+ export type ConfirmFileUploadCommand = {
258
+ blurHash: string | null;
259
+ };
260
+ export declare enum UiTheme {
261
+ LIGHT = "light",
262
+ DARK = "dark",
263
+ SYSTEM = "system"
264
+ }
265
+ export declare enum Locale {
266
+ EN_US = "en-US",
267
+ NL_BE = "nl-BE",
268
+ FR_BE = "fr-BE"
269
+ }
270
+ export declare enum FontSize {
271
+ SMALLER = "smaller",
272
+ SMALL = "small",
273
+ DEFAULT = "default",
274
+ LARGE = "large",
275
+ LARGER = "larger"
276
+ }
277
+ export type UpdateUiPreferencesCommand = {
278
+ theme?: UiTheme;
279
+ language?: Locale;
280
+ fontSize?: FontSize;
281
+ showShortcuts?: boolean;
282
+ reduceMotion?: boolean;
283
+ highContrast?: boolean;
284
+ };
285
+ export type ViewUiPreferencesResponse = {
286
+ theme: UiTheme;
287
+ language: Locale;
288
+ fontSize: FontSize;
289
+ showShortcuts: boolean;
290
+ reduceMotion: boolean;
291
+ highContrast: boolean;
292
+ };
293
+ export type CreateOneSignalTokenResponse = {
294
+ token: string;
295
+ userUuid: string;
296
+ };
297
+ export type Translations = {
298
+ nl?: string;
299
+ en?: string;
300
+ };
301
+ export type SendPushNotificationCommand = {
302
+ name: string;
303
+ title: Translations;
304
+ description: Translations;
305
+ userUuids: Array<string>;
306
+ };
307
+ export declare enum SubjectType {
308
+ CONTACT = "contact",
309
+ CUSTOMER = "customer",
310
+ FILE = "file",
311
+ ROLE = "role",
312
+ USER = "user",
313
+ TENANT = "tenant",
314
+ RECIPIENT = "recipient",
315
+ ISSUER = "issuer",
316
+ INVOICE = "invoice",
317
+ DUNNING_CASE = "dunning-case"
318
+ }
319
+ export type ViewDomainEventLogIndexFilterQuery = {
320
+ subjectType?: SubjectType;
321
+ subjectId?: string;
322
+ userUuid?: string;
323
+ };
324
+ export type ViewDomainEventLogIndexQueryKey = {
325
+ createdAt: string;
326
+ uuid: string;
327
+ };
328
+ export type ViewDomainEventLogIndexPaginationQuery = {
329
+ limit?: number;
330
+ key?: ViewDomainEventLogIndexQueryKey | null;
331
+ };
332
+ export declare enum DomainEventType {
333
+ CREDIT_NOTE_CREATED = "credit-note.created",
334
+ CREDIT_NOTE_UPDATED = "credit-note.updated",
335
+ CREDIT_NOTE_FINALIZED = "credit-note.finalized",
336
+ CREDIT_NOTE_INVOICE_LINES_UPDATED = "credit-note.invoice-lines.updated",
337
+ CREDIT_NOTE_DELETED = "credit-note.deleted",
338
+ CREDIT_NOTE_SENT_EMAIL = "credit-note.sent-email",
339
+ CUSTOMER_CREATED = "customer.created",
340
+ CUSTOMER_UPDATED = "customer.updated",
341
+ CUSTOMER_SYNCED = "customer.synced",
342
+ CUSTOMER_DEACTIVATED = "customer.deactivated",
343
+ CUSTOMER_REACTIVATED = "customer.reactivated",
344
+ FILE_CREATED = "file.created",
345
+ FILE_UPLOADED = "file.uploaded",
346
+ ISSUER_UPDATED = "issuer.updated",
347
+ ISSUER_CREATED = "issuer.created",
348
+ INVOICE_CREATED = "invoice.created",
349
+ INVOICE_UPDATED = "invoice.updated",
350
+ INVOICE_ATTACHMENTS_UPDATED = "invoice.attachments.updated",
351
+ INVOICE_DISCOUNT_APPLIED = "invoice.discount.applied",
352
+ INVOICE_FINALIZED = "invoice.finalized",
353
+ INVOICE_PDF_GENERATED = "invoice.pdf.generated",
354
+ INVOICE_SENT_EMAIL = "invoice.sent-email",
355
+ INVOICE_MARKED_AS_READY = "invoice.marked-as-ready",
356
+ INVOICE_MARKED_AS_DRAFT = "invoice.marked-as-draft",
357
+ INVOICE_MARKED_AS_OVERDUE = "invoice.marked-as-overdue",
358
+ INVOICE_DELETED = "invoice.deleted",
359
+ INVOICE_DUPLICATED = "invoice.duplicated",
360
+ INVOICE_MARKED_AS_DISPUTED = "invoice.marked-as-disputed",
361
+ INVOICE_MARKED_AS_PAID = "invoice.marked-as-paid",
362
+ INVOICE_DISPUTED_WITHDRAWN = "invoice.disputed-withdrawn",
363
+ PAYMENT_CREATED = "payment.created",
364
+ PAYMENT_DELETED = "payment.deleted",
365
+ NOTIFICATION_CREATED = "notification.created",
366
+ NOTIFICATION_READ = "notification.read",
367
+ NOTIFICATION_READ_ALL = "notification.read.all",
368
+ NOTIFICATION_UNREAD = "notification.unread",
369
+ NOTIFICATION_TYPES_MIGRATED = "notification.types.migrated",
370
+ NOTIFICATION_PREFERENCE_PRESET_UPDATED = "notification.preference.preset.updated",
371
+ ROLE_CREATED = "role.created",
372
+ ROLE_DELETED = "role.deleted",
373
+ ROLE_RENAMED = "role.renamed",
374
+ ROLE_PERMISSIONS_UPDATED = "role.permissions.updated",
375
+ ROLE_PERMISSIONS_CACHE_CLEARED = "role.permissions.cache.cleared",
376
+ TEST_NOTIFICATION_SENT = "test-notification.sent",
377
+ USER_CREATED = "user.created",
378
+ USER_UPDATED = "user.updated",
379
+ USER_ROLE_ASSIGNED = "user.role-assigned",
380
+ USER_ROLES_SET = "user.roles-set",
381
+ USER_NOTIFICATION_CREATED = "user.notification.created",
382
+ USER_DEFAULT_NOTIFICATION_PREFERENCES_ASSIGNED = "user.default-notification-preferences.assigned",
383
+ USER_ASSIGNED_AS_ADMIN = "user.assigned-as-admin",
384
+ RECIPIENT_CREATED = "recipient.created",
385
+ RECIPIENT_UPDATED = "recipient.updated",
386
+ RECIPIENT_DEFAULT_SET = "recipient.default-set",
387
+ RECIPIENT_DELETED = "recipient.deleted",
388
+ REMINDER_CONFIG_UPDATED = "reminder-config.updated",
389
+ DUNNING_CASE_UPDATED = "dunning-case.updated",
390
+ DUNNING_CASE_CLOSED = "dunning-case.closed",
391
+ DUNNING_CASE_REMINDER_CREATED = "dunning-case.reminder.created",
392
+ DUNNING_CASE_REMINDER_PDF_GENERATED = "dunning-case.reminder.pdf.generated",
393
+ DUNNING_CASE_REMINDER_SENT = "dunning-case.reminder.sent",
394
+ TENANT_CREATED = "tenant.created",
395
+ TENANT_UPDATED = "tenant.updated",
396
+ TENANT_DEACTIVATED = "tenant.deactivated"
397
+ }
398
+ export type ViewDomainEventLogIndexItemResponse = {
399
+ uuid: string;
400
+ createdAt: string;
401
+ version: number;
402
+ source: string;
403
+ userUuid: string | null;
404
+ message: string;
405
+ type: DomainEventType;
406
+ subjectType: SubjectType | null;
407
+ subjectId: string | null;
408
+ content: {
409
+ [key: string]: unknown;
410
+ };
411
+ };
412
+ export type ViewDomainEventLogIndexResponseMeta = {
413
+ next: ViewDomainEventLogIndexQueryKey | null;
414
+ };
415
+ export type ViewDomainEventLogIndexResponse = {
416
+ items: Array<ViewDomainEventLogIndexItemResponse>;
417
+ meta: ViewDomainEventLogIndexResponseMeta;
418
+ };
419
+ export declare enum GlobalSearchCollectionName {
420
+ USER = "user",
421
+ CUSTOMER = "customer",
422
+ RECIPIENT = "recipient"
423
+ }
424
+ export type SearchCollectionsFilterContactQuery = {
425
+ isActive?: boolean;
426
+ };
427
+ export type SearchCollectionsFilterRecipientQuery = {
428
+ customerUuid?: string;
429
+ };
430
+ export type SearchCollectionsFilterQuery = {
431
+ collections?: Array<GlobalSearchCollectionName>;
432
+ contact?: SearchCollectionsFilterContactQuery;
433
+ recipient?: SearchCollectionsFilterRecipientQuery;
434
+ };
435
+ export type SearchCollectionsQueryKey = {
436
+ offset: number;
437
+ };
438
+ export type SearchCollectionPaginationQuery = {
439
+ key?: SearchCollectionsQueryKey;
440
+ };
441
+ export type SearchCollectionUserResponse = {
442
+ uuid: string;
443
+ name: string;
444
+ email: {
445
+ [key: string]: unknown;
446
+ } | null;
447
+ };
448
+ export declare enum CustomerType {
449
+ BUSINESS = "business",
450
+ INDIVIDUAL = "individual"
451
+ }
452
+ export type SearchCollectionCustomerResponse = {
453
+ uuid: string;
454
+ name: string;
455
+ type: CustomerType;
456
+ };
457
+ export type SearchCollectionRecipientResponse = {
458
+ uuid: string;
459
+ name: string | null;
460
+ email: string;
461
+ customerUuid: string;
462
+ isDefault: boolean;
463
+ };
464
+ export type SearchCollectionInvoiceCustomerResponse = {
465
+ uuid: string;
466
+ name: string;
467
+ };
468
+ export declare enum InvoiceStatus {
469
+ DRAFT = "draft",
470
+ READY = "ready",
471
+ FINALIZED = "finalized",
472
+ SENT = "sent",
473
+ OVERDUE = "overdue",
474
+ PROTESTED = "protested",
475
+ CREDITED = "credited",
476
+ PAID = "paid",
477
+ OVERPAID = "overpaid"
478
+ }
479
+ /**
480
+ * a ISO 4217 currency code
481
+ */
482
+ export declare enum Currency {
483
+ AFN = "AFN",
484
+ EUR = "EUR",
485
+ ALL = "ALL",
486
+ DZD = "DZD",
487
+ USD = "USD",
488
+ AOA = "AOA",
489
+ XCD = "XCD",
490
+ ARS = "ARS",
491
+ AMD = "AMD",
492
+ AWG = "AWG",
493
+ AUD = "AUD",
494
+ AZN = "AZN",
495
+ BSD = "BSD",
496
+ BHD = "BHD",
497
+ BDT = "BDT",
498
+ BBD = "BBD",
499
+ BYN = "BYN",
500
+ BZD = "BZD",
501
+ XOF = "XOF",
502
+ BMD = "BMD",
503
+ INR = "INR",
504
+ BTN = "BTN",
505
+ BOB = "BOB",
506
+ BOV = "BOV",
507
+ BAM = "BAM",
508
+ BWP = "BWP",
509
+ NOK = "NOK",
510
+ BRL = "BRL",
511
+ BND = "BND",
512
+ BGN = "BGN",
513
+ BIF = "BIF",
514
+ CVE = "CVE",
515
+ KHR = "KHR",
516
+ XAF = "XAF",
517
+ CAD = "CAD",
518
+ KYD = "KYD",
519
+ CLP = "CLP",
520
+ CLF = "CLF",
521
+ CNY = "CNY",
522
+ COP = "COP",
523
+ COU = "COU",
524
+ KMF = "KMF",
525
+ CDF = "CDF",
526
+ NZD = "NZD",
527
+ CRC = "CRC",
528
+ CUP = "CUP",
529
+ ANG = "ANG",
530
+ CZK = "CZK",
531
+ DKK = "DKK",
532
+ DJF = "DJF",
533
+ DOP = "DOP",
534
+ EGP = "EGP",
535
+ SVC = "SVC",
536
+ ERN = "ERN",
537
+ SZL = "SZL",
538
+ ETB = "ETB",
539
+ FKP = "FKP",
540
+ FJD = "FJD",
541
+ XPF = "XPF",
542
+ GMD = "GMD",
543
+ GEL = "GEL",
544
+ GHS = "GHS",
545
+ GIP = "GIP",
546
+ GTQ = "GTQ",
547
+ GBP = "GBP",
548
+ GNF = "GNF",
549
+ GYD = "GYD",
550
+ HTG = "HTG",
551
+ HNL = "HNL",
552
+ HKD = "HKD",
553
+ HUF = "HUF",
554
+ ISK = "ISK",
555
+ IDR = "IDR",
556
+ XDR = "XDR",
557
+ IRR = "IRR",
558
+ IQD = "IQD",
559
+ ILS = "ILS",
560
+ JMD = "JMD",
561
+ JPY = "JPY",
562
+ JOD = "JOD",
563
+ KZT = "KZT",
564
+ KES = "KES",
565
+ KPW = "KPW",
566
+ KRW = "KRW",
567
+ KWD = "KWD",
568
+ KGS = "KGS",
569
+ LAK = "LAK",
570
+ LBP = "LBP",
571
+ LSL = "LSL",
572
+ ZAR = "ZAR",
573
+ LRD = "LRD",
574
+ LYD = "LYD",
575
+ CHF = "CHF",
576
+ MOP = "MOP",
577
+ MKD = "MKD",
578
+ MGA = "MGA",
579
+ MWK = "MWK",
580
+ MYR = "MYR",
581
+ MVR = "MVR",
582
+ MRU = "MRU",
583
+ MUR = "MUR",
584
+ XUA = "XUA",
585
+ MXN = "MXN",
586
+ MXV = "MXV",
587
+ MDL = "MDL",
588
+ MNT = "MNT",
589
+ MAD = "MAD",
590
+ MZN = "MZN",
591
+ MMK = "MMK",
592
+ NAD = "NAD",
593
+ NPR = "NPR",
594
+ NIO = "NIO",
595
+ NGN = "NGN",
596
+ OMR = "OMR",
597
+ PKR = "PKR",
598
+ PAB = "PAB",
599
+ PGK = "PGK",
600
+ PYG = "PYG",
601
+ PEN = "PEN",
602
+ PHP = "PHP",
603
+ PLN = "PLN",
604
+ QAR = "QAR",
605
+ RON = "RON",
606
+ RUB = "RUB",
607
+ RWF = "RWF",
608
+ SHP = "SHP",
609
+ WST = "WST",
610
+ STN = "STN",
611
+ SAR = "SAR",
612
+ RSD = "RSD",
613
+ SCR = "SCR",
614
+ SLE = "SLE",
615
+ SGD = "SGD",
616
+ XSU = "XSU",
617
+ SBD = "SBD",
618
+ SOS = "SOS",
619
+ SSP = "SSP",
620
+ LKR = "LKR",
621
+ SDG = "SDG",
622
+ SRD = "SRD",
623
+ SEK = "SEK",
624
+ CHE = "CHE",
625
+ CHW = "CHW",
626
+ SYP = "SYP",
627
+ TWD = "TWD",
628
+ TJS = "TJS",
629
+ TZS = "TZS",
630
+ THB = "THB",
631
+ TOP = "TOP",
632
+ TTD = "TTD",
633
+ TND = "TND",
634
+ TRY = "TRY",
635
+ TMT = "TMT",
636
+ UGX = "UGX",
637
+ UAH = "UAH",
638
+ AED = "AED",
639
+ USN = "USN",
640
+ UYU = "UYU",
641
+ UYI = "UYI",
642
+ UYW = "UYW",
643
+ UZS = "UZS",
644
+ VUV = "VUV",
645
+ VES = "VES",
646
+ VED = "VED",
647
+ VND = "VND",
648
+ YER = "YER",
649
+ ZMW = "ZMW",
650
+ ZWG = "ZWG",
651
+ XBA = "XBA",
652
+ XBB = "XBB",
653
+ XBC = "XBC",
654
+ XBD = "XBD",
655
+ XTS = "XTS",
656
+ XXX = "XXX",
657
+ XAU = "XAU",
658
+ XPD = "XPD",
659
+ XPT = "XPT",
660
+ XAG = "XAG"
661
+ }
662
+ export type MonetaryDto = {
663
+ amount: number;
664
+ /**
665
+ * a ISO 4217 currency code
666
+ */
667
+ currency: Currency;
668
+ precision: number;
669
+ };
670
+ export type SearchCollectionInvoiceResponse = {
671
+ uuid: string;
672
+ createdAt: string;
673
+ issuedOn: string | null;
674
+ dueOn: string | null;
675
+ subject: string | null;
676
+ customer: SearchCollectionInvoiceCustomerResponse;
677
+ status: InvoiceStatus;
678
+ netAmount: MonetaryDto;
679
+ };
680
+ export type SearchCollectionsResponseItem = {
681
+ collection: GlobalSearchCollectionName;
682
+ entity: SearchCollectionUserResponse | SearchCollectionCustomerResponse | SearchCollectionRecipientResponse | SearchCollectionInvoiceResponse;
683
+ text_match: number;
684
+ };
685
+ export type SearchCollectionsMetaResponse = {
686
+ next: SearchCollectionsQueryKey | null;
687
+ };
688
+ export type SearchCollectionsResponse = {
689
+ items: Array<SearchCollectionsResponseItem>;
690
+ meta: SearchCollectionsMetaResponse;
691
+ };
692
+ export declare enum NotificationPreset {
693
+ ALL = "all",
694
+ DEFAULT = "default",
695
+ CUSTOM = "custom",
696
+ NONE = "none"
697
+ }
698
+ export declare enum NotificationType {
699
+ USER_CREATED = "user.created",
700
+ SYSTEM_TEST_NOTIFICATION = "system.test-notification"
701
+ }
702
+ export type PreferenceTypes = {
703
+ email: Array<NotificationType>;
704
+ sms: Array<NotificationType>;
705
+ app: Array<NotificationType>;
706
+ push: Array<NotificationType>;
707
+ };
708
+ export type GetMyNotificationPreferencesResponse = {
709
+ preset: NotificationPreset;
710
+ emailEnabled: boolean;
711
+ smsEnabled: boolean;
712
+ appEnabled: boolean;
713
+ pushEnabled: boolean;
714
+ preferences: PreferenceTypes;
715
+ };
716
+ export declare enum NotificationChannel {
717
+ EMAIL = "email",
718
+ SMS = "sms",
719
+ APP = "app",
720
+ PUSH = "push"
721
+ }
722
+ export type NotificationTypeChannelConfig = {
723
+ channel: NotificationChannel;
724
+ defaultValue: boolean;
725
+ isSupported: boolean;
726
+ };
727
+ export type ViewNotificationTypeConfigTypeResponse = {
728
+ key: NotificationType;
729
+ description: string;
730
+ channelConfigs: Array<NotificationTypeChannelConfig>;
731
+ };
732
+ export type ViewNotificationTypesConfigGroupResponse = {
733
+ name: string;
734
+ description: string;
735
+ types: Array<ViewNotificationTypeConfigTypeResponse>;
736
+ };
737
+ export type GetNotificationTypesConfigResponse = {
738
+ groups: Array<ViewNotificationTypesConfigGroupResponse>;
739
+ };
740
+ export type UpdateMyChannelNotificationPreferenceCommand = {
741
+ channel: NotificationChannel;
742
+ isEnabled: boolean;
743
+ };
744
+ export type SendTestNotificationCommand = {
745
+ message: string;
746
+ };
747
+ export type GetMyNotificationsFilterQuery = {
748
+ onlyUnread?: string;
749
+ };
750
+ export type GetMyNotificationsQueryKey = {
751
+ createdAt: string;
752
+ notificationUuid: string;
753
+ };
754
+ export type GetMyNotificationsPaginationQuery = {
755
+ limit?: number;
756
+ key?: GetMyNotificationsQueryKey | null;
757
+ };
758
+ export type CreatedByUserResponse = {
759
+ uuid: string;
760
+ name: string;
761
+ };
762
+ export type TestNotificationContent = {
763
+ message: string;
764
+ };
765
+ export type SystemTestNotificationNotification = {
766
+ createdAt: string;
767
+ readAt: string | null;
768
+ notificationUuid: string;
769
+ createdByUser: CreatedByUserResponse | null;
770
+ message: string;
771
+ type: 'system.test-notification';
772
+ meta: TestNotificationContent;
773
+ };
774
+ export type GetMyNotificationsResponseMeta = {
775
+ next: GetMyNotificationsQueryKey | null;
776
+ };
777
+ export type GetMyNotificationsResponse = {
778
+ items: Array<SystemTestNotificationNotification>;
779
+ meta: GetMyNotificationsResponseMeta;
780
+ };
781
+ export type ViewUnreadNotificationsCountResponse = {
782
+ amount: number;
783
+ exceedsLimit: boolean;
784
+ };
785
+ export type UserNotificationNotFoundError = {
786
+ /**
787
+ * a human-readable explanation specific to this occurrence of the problem
788
+ */
789
+ detail?: string;
790
+ status: '404';
791
+ code: 'user_notification_not_found';
792
+ };
793
+ export type UpdateMyNotificationTypePreferenceCommand = {
794
+ channel: NotificationChannel;
795
+ isEnabled: boolean;
796
+ types: Array<NotificationType>;
797
+ };
798
+ export type UpdateMyNotificationPreferencePresetCommand = {
799
+ preset: NotificationPreset;
800
+ };
801
+ export type MigrationAlreadyPerformedErrorMeta = {
802
+ type: Array<NotificationType>;
803
+ };
804
+ export type MigrationAlreadyPerformedError = {
805
+ /**
806
+ * a human-readable explanation specific to this occurrence of the problem
807
+ */
808
+ detail?: string;
809
+ status: '400';
810
+ code: 'migration_already_performed';
811
+ /**
812
+ * a meta object containing non-standard meta-information about the error
813
+ */
814
+ meta: MigrationAlreadyPerformedErrorMeta;
815
+ };
816
+ export type MigrateNotificationTypesCommand = {
817
+ types: Array<NotificationType>;
818
+ };
819
+ export declare enum ViewJobsIndexSortQueryKey {
820
+ CREATED_AT = "createdAt"
821
+ }
822
+ export declare enum SortDirection {
823
+ ASC = "asc",
824
+ DESC = "desc"
825
+ }
826
+ export type ViewJobsIndexSortQuery = {
827
+ key: ViewJobsIndexSortQueryKey;
828
+ order: SortDirection;
829
+ };
830
+ export declare enum QueueName {
831
+ SYSTEM = "system"
832
+ }
833
+ export type ViewJobsIndexFilterQuery = {
834
+ queueNames?: Array<QueueName>;
835
+ };
836
+ export type ViewJobsIndexQueryKey = {
837
+ createdAt?: string;
838
+ id: string;
839
+ };
840
+ export type ViewJobsIndexPaginationQuery = {
841
+ limit?: number;
842
+ key?: ViewJobsIndexQueryKey | null;
843
+ };
844
+ export declare enum JobStatus {
845
+ CREATED = "created",
846
+ ACTIVE = "active",
847
+ COMPLETED = "completed",
848
+ RETRY = "retry",
849
+ FAILED = "failed",
850
+ CANCELLED = "cancelled"
851
+ }
852
+ export type ViewJobsIndexItemResponse = {
853
+ queueName: QueueName;
854
+ id: string;
855
+ name: string;
856
+ status: JobStatus;
857
+ createdAt: string;
858
+ completedAt: string | null;
859
+ };
860
+ export type ViewJobsIndexResponseMeta = {
861
+ next: ViewJobsIndexQueryKey | null;
862
+ };
863
+ export type ViewJobsIndexResponse = {
864
+ items: Array<ViewJobsIndexItemResponse>;
865
+ meta: ViewJobsIndexResponseMeta;
866
+ };
867
+ export type JobNotFoundError = {
868
+ /**
869
+ * a human-readable explanation specific to this occurrence of the problem
870
+ */
871
+ detail?: string;
872
+ status: '404';
873
+ code: 'job_not_found';
874
+ };
875
+ export type ViewJobDetailResponse = {
876
+ id: string;
877
+ queueName: QueueName;
878
+ priority: number;
879
+ name: string;
880
+ data: {
881
+ [key: string]: unknown;
882
+ };
883
+ status: JobStatus;
884
+ retryLimit: number;
885
+ retryCount: number;
886
+ retryDelay: number;
887
+ retryBackoff: boolean;
888
+ startAfter: string;
889
+ startedAt: string | null;
890
+ singletonKey: string | null;
891
+ singletonOn: string | null;
892
+ expireIn: {
893
+ [key: string]: unknown;
894
+ };
895
+ createdAt: string;
896
+ completedAt: string | null;
897
+ keepUntil: string;
898
+ output: {
899
+ [key: string]: unknown;
900
+ } | null;
901
+ deadLetter: string | null;
902
+ policy: string | null;
903
+ };
904
+ export type CreateTenantCommand = {
905
+ name: string;
906
+ slug: string;
907
+ domain: string;
908
+ oidcIssuer: string;
909
+ oidcAudience: string;
910
+ };
911
+ export type CreateTenantResponse = {
912
+ uuid: string;
913
+ name: string;
914
+ slug: string;
915
+ oidcIssuer: string;
916
+ oidcAudience: string;
917
+ };
918
+ export type UpdateTenantCommand = {
919
+ name: string;
920
+ slug: string;
921
+ domain: string | null;
922
+ oidcIssuer?: string;
923
+ oidcAudience?: string;
924
+ };
925
+ export type ViewTenantDetailResponse = {
926
+ uuid: string;
927
+ createdAt: string;
928
+ updatedAt: string;
929
+ name: string;
930
+ slug: string;
931
+ domain: string | null;
932
+ };
933
+ export type TenantResponse = {
934
+ uuid: string;
935
+ createdAt: string;
936
+ updatedAt: string;
937
+ name: string;
938
+ slug: string;
939
+ domain: string | null;
940
+ };
941
+ export type ViewTenantIndexResponse = {
942
+ /**
943
+ * The items for the current page
944
+ */
945
+ items: Array<TenantResponse>;
946
+ meta: PaginatedOffsetResponseMeta;
947
+ };
948
+ export type UserConnectedToOtherTenantError = {
949
+ /**
950
+ * a human-readable explanation specific to this occurrence of the problem
951
+ */
952
+ detail?: string;
953
+ status: '409';
954
+ code: 'user_connected_to_other_tenant';
955
+ };
956
+ export type AssignUserAsAdminCommand = {
957
+ /**
958
+ * Zitadel user identifier
959
+ */
960
+ userId: string;
961
+ };
962
+ export type TenantSlugNotFoundError = {
963
+ /**
964
+ * a human-readable explanation specific to this occurrence of the problem
965
+ */
966
+ detail?: string;
967
+ status: '404';
968
+ code: 'tenant_slug_not_found';
969
+ };
970
+ export type ViewTenantLoginConfigResponse = {
971
+ /**
972
+ * The base URL for login
973
+ */
974
+ baseUrl: string;
975
+ /**
976
+ * The client ID for the application
977
+ */
978
+ clientId: string;
979
+ /**
980
+ * The organization ID associated with the login
981
+ */
982
+ organizationID: string;
983
+ };
984
+ export type VatNumberAlreadyInUseError = {
985
+ /**
986
+ * a human-readable explanation specific to this occurrence of the problem
987
+ */
988
+ detail?: string;
989
+ status: '409';
990
+ code: 'vat_number_already_in_use';
991
+ };
992
+ export type CoordinatesCommand = {
993
+ longitude: number;
994
+ latitude: number;
995
+ };
996
+ export type AddressCommand = {
997
+ placeName: string | null;
998
+ placeId: string | null;
999
+ country: string | null;
1000
+ /**
1001
+ * The ISO 3166-1 alpha-2 country code
1002
+ */
1003
+ countryCode?: string | null;
1004
+ city: string | null;
1005
+ postalCode: string | null;
1006
+ streetName: string | null;
1007
+ streetNumber: string | null;
1008
+ unit: string | null;
1009
+ coordinates: CoordinatesCommand | null;
1010
+ };
1011
+ export type CreateCustomerCommand = {
1012
+ name: string;
1013
+ address: AddressCommand | null;
1014
+ email: string;
1015
+ phone: string | null;
1016
+ vatNumber: string | null;
1017
+ type: CustomerType;
1018
+ locale: Locale;
1019
+ };
1020
+ export type CreateCustomerResponse = {
1021
+ uuid: string;
1022
+ };
1023
+ export type CustomerNotFoundError = {
1024
+ /**
1025
+ * a human-readable explanation specific to this occurrence of the problem
1026
+ */
1027
+ detail?: string;
1028
+ status: '404';
1029
+ code: 'customer_not_found';
1030
+ };
1031
+ export type CoordinatesResponse = {
1032
+ longitude: number;
1033
+ latitude: number;
1034
+ };
1035
+ export type AddressResponse = {
1036
+ placeName: string | null;
1037
+ placeId: string | null;
1038
+ country: string | null;
1039
+ countryCode: string | null;
1040
+ city: string | null;
1041
+ postalCode: string | null;
1042
+ streetName: string | null;
1043
+ streetNumber: string | null;
1044
+ unit: string | null;
1045
+ coordinates: CoordinatesResponse | null;
1046
+ };
1047
+ export declare enum CustomerSource {
1048
+ INTERNAL = "internal",
1049
+ EXTERNAL = "external"
1050
+ }
1051
+ export declare enum DurationUnit {
1052
+ S = "s",
1053
+ MS = "ms",
1054
+ ΜS = "\u03BCs",
1055
+ NS = "ns",
1056
+ M = "m",
1057
+ H = "h",
1058
+ DAYS = "days"
1059
+ }
1060
+ export type DurationDto = {
1061
+ value: number;
1062
+ unit: DurationUnit;
1063
+ };
1064
+ export type ViewCustomerDetailResponse = {
1065
+ uuid: string;
1066
+ createdAt: string;
1067
+ updatedAt: string;
1068
+ name: string;
1069
+ address: AddressResponse | null;
1070
+ email: string | null;
1071
+ phone: string | null;
1072
+ vatNumber: string | null;
1073
+ source: CustomerSource;
1074
+ type: CustomerType;
1075
+ locale: Locale;
1076
+ /**
1077
+ * a ISO 4217 currency code
1078
+ */
1079
+ currency: Currency;
1080
+ isDeactivated: boolean;
1081
+ defaultPaymentTerm: DurationDto;
1082
+ };
1083
+ export type ViewCustomerIndexFilterQuery = {
1084
+ isDeactivated?: boolean;
1085
+ vatNumber?: string;
1086
+ externalId?: string;
1087
+ type?: CustomerType;
1088
+ };
1089
+ export type CustomerIndexResponse = {
1090
+ uuid: string;
1091
+ name: string;
1092
+ email: string | null;
1093
+ phone: string | null;
1094
+ vatNumber: string | null;
1095
+ address: AddressResponse;
1096
+ source: CustomerSource;
1097
+ type: CustomerType;
1098
+ isDeactivated: boolean;
1099
+ };
1100
+ export type ViewCustomerIndexResponse = {
1101
+ /**
1102
+ * The items for the current page
1103
+ */
1104
+ items: Array<CustomerIndexResponse>;
1105
+ meta: PaginatedOffsetResponseMeta;
1106
+ };
1107
+ export type UpdateExternalCustomerError = {
1108
+ /**
1109
+ * a human-readable explanation specific to this occurrence of the problem
1110
+ */
1111
+ detail?: string;
1112
+ status: '409';
1113
+ code: 'update_external_customer';
1114
+ };
1115
+ export type VatNumberNotAllowedError = {
1116
+ /**
1117
+ * a human-readable explanation specific to this occurrence of the problem
1118
+ */
1119
+ detail?: string;
1120
+ status: '400';
1121
+ code: 'vat_number_not_allowed';
1122
+ };
1123
+ export type VatNumberRequiredError = {
1124
+ /**
1125
+ * a human-readable explanation specific to this occurrence of the problem
1126
+ */
1127
+ detail?: string;
1128
+ status: '409';
1129
+ code: 'vat_number_required';
1130
+ };
1131
+ export type UpdateCustomerCommand = {
1132
+ name: string;
1133
+ address: AddressCommand | null;
1134
+ email: string;
1135
+ phone: string | null;
1136
+ vatNumber: string | null;
1137
+ type: CustomerType;
1138
+ locale: Locale;
1139
+ /**
1140
+ * a ISO 4217 currency code
1141
+ */
1142
+ currency: Currency;
1143
+ defaultPaymentTerm?: DurationDto;
1144
+ };
1145
+ export type CreateRecipientCommand = {
1146
+ customerUuid: string;
1147
+ email: string;
1148
+ name?: string | null;
1149
+ isDefault: boolean;
1150
+ };
1151
+ export type CreateRecipientResponse = {
1152
+ uuid: string;
1153
+ };
1154
+ export type RecipientNotFoundError = {
1155
+ /**
1156
+ * a human-readable explanation specific to this occurrence of the problem
1157
+ */
1158
+ detail?: string;
1159
+ status: '404';
1160
+ code: 'recipient_not_found';
1161
+ };
1162
+ export type ViewRecipientDetailCustomerResponse = {
1163
+ uuid: string;
1164
+ name: string;
1165
+ };
1166
+ export type ViewRecipientDetailResponse = {
1167
+ uuid: string;
1168
+ name: string | null;
1169
+ email: string;
1170
+ customer: ViewRecipientDetailCustomerResponse;
1171
+ isDefault: boolean;
1172
+ };
1173
+ export type UpdateRecipientCommand = {
1174
+ email: string;
1175
+ name?: string | null;
1176
+ isDefault: boolean;
1177
+ };
1178
+ export type ViewCustomerRecipientIndexItemResponse = {
1179
+ uuid: string;
1180
+ name: string | null;
1181
+ email: string;
1182
+ customerUuid: string;
1183
+ isDefault: boolean;
1184
+ };
1185
+ export type ViewCustomerRecipientIndexResponse = {
1186
+ /**
1187
+ * The items for the current page
1188
+ */
1189
+ items: Array<ViewCustomerRecipientIndexItemResponse>;
1190
+ meta: PaginatedOffsetResponseMeta;
1191
+ };
1192
+ export type IssuerNotFoundError = {
1193
+ /**
1194
+ * a human-readable explanation specific to this occurrence of the problem
1195
+ */
1196
+ detail?: string;
1197
+ status: '404';
1198
+ code: 'issuer_not_found';
1199
+ };
1200
+ export type ViewMyIssuerResponse = {
1201
+ uuid: string;
1202
+ createdAt: string;
1203
+ updatedAt: string;
1204
+ email: string | null;
1205
+ name: string | null;
1206
+ phoneNumber: string | null;
1207
+ website: string | null;
1208
+ address: AddressResponse | null;
1209
+ vatNumber: string | null;
1210
+ bic: string | null;
1211
+ bankAccountNumber: string | null;
1212
+ /**
1213
+ * a ISO 4217 currency code
1214
+ */
1215
+ currency: Currency;
1216
+ sequencePrefix: string | null;
1217
+ defaultPaymentTerm: DurationDto;
1218
+ };
1219
+ export type UpdateMyIssuerCommand = {
1220
+ email: string | null;
1221
+ name: string | null;
1222
+ phoneNumber: string | null;
1223
+ website: string | null;
1224
+ address: AddressCommand | null;
1225
+ vatNumber: string | null;
1226
+ bankAccountNumber: string | null;
1227
+ bic: string | null;
1228
+ /**
1229
+ * a ISO 4217 currency code
1230
+ */
1231
+ currency: Currency;
1232
+ sequencePrefix: string | null;
1233
+ defaultPaymentTerm: DurationDto;
1234
+ };
1235
+ export type InvoiceNotFoundError = {
1236
+ /**
1237
+ * a human-readable explanation specific to this occurrence of the problem
1238
+ */
1239
+ detail?: string;
1240
+ status: '404';
1241
+ code: 'invoice_not_found';
1242
+ };
1243
+ export type TextCustomFieldValueDto = {
1244
+ definitionUuid: string;
1245
+ type: 'text';
1246
+ value: string;
1247
+ };
1248
+ export type TextArrayCustomFieldValueDto = {
1249
+ definitionUuid: string;
1250
+ type: 'text_array';
1251
+ value: Array<string>;
1252
+ };
1253
+ export type NumberCustomFieldValueDto = {
1254
+ definitionUuid: string;
1255
+ type: 'number';
1256
+ value: number;
1257
+ };
1258
+ export type BooleanCustomFieldValueDto = {
1259
+ definitionUuid: string;
1260
+ type: 'boolean';
1261
+ value: boolean;
1262
+ };
1263
+ export type DateCustomFieldValueDto = {
1264
+ definitionUuid: string;
1265
+ type: 'date';
1266
+ value: string | 'infinity' | '-infinity';
1267
+ };
1268
+ export type TimestampCustomFieldValueDto = {
1269
+ definitionUuid: string;
1270
+ type: 'timestamp';
1271
+ value: string;
1272
+ };
1273
+ export type SingleSelectCustomFieldValueDto = {
1274
+ definitionUuid: string;
1275
+ type: 'single_select';
1276
+ value: string;
1277
+ };
1278
+ export type MultiSelectCustomFieldValueDto = {
1279
+ definitionUuid: string;
1280
+ type: 'multi_select';
1281
+ value: Array<string>;
1282
+ };
1283
+ export type MonetaryCustomFieldValueDto = {
1284
+ definitionUuid: string;
1285
+ type: 'monetary';
1286
+ value: MonetaryDto;
1287
+ };
1288
+ export declare enum InvoiceType {
1289
+ STANDARD = "standard",
1290
+ CREDIT_NOTE = "credit_note"
1291
+ }
1292
+ export type ViewPublicInvoiceDetailIssuerResponse = {
1293
+ uuid: string;
1294
+ name: string | null;
1295
+ email: string | null;
1296
+ phoneNumber: string | null;
1297
+ website: string | null;
1298
+ address: AddressResponse | null;
1299
+ vatNumber: string | null;
1300
+ bankAccountNumber: string | null;
1301
+ alternativeBankAccountNumber: string | null;
1302
+ };
1303
+ export type ViewPublicInvoiceDetailRecipientResponse = {
1304
+ uuid: string;
1305
+ name: string | null;
1306
+ email: string | null;
1307
+ };
1308
+ export type ViewPublicInvoiceDetailCustomerResponse = {
1309
+ uuid: string;
1310
+ name: string | null;
1311
+ email: string | null;
1312
+ phoneNumber: string | null;
1313
+ address: AddressResponse | null;
1314
+ vatNumber: string | null;
1315
+ type: CustomerType;
1316
+ };
1317
+ export declare enum InvoiceLifecycleStatus {
1318
+ DRAFT = "draft",
1319
+ READY = "ready",
1320
+ FINALIZED = "finalized"
1321
+ }
1322
+ export declare enum VatRate {
1323
+ _0 = "0",
1324
+ _6 = "6",
1325
+ _12 = "12",
1326
+ _21 = "21"
1327
+ }
1328
+ export declare enum DiscountType {
1329
+ PERCENTAGE = "percentage",
1330
+ AMOUNT = "amount"
1331
+ }
1332
+ export type DiscountDto = {
1333
+ type: DiscountType;
1334
+ amount: MonetaryDto | null;
1335
+ percentage: number | null;
1336
+ description: string | null;
1337
+ };
1338
+ export declare enum UnitOfMeasurement {
1339
+ PIECE = "piece",
1340
+ HOUR = "hour",
1341
+ DAY = "day",
1342
+ KILOMETER = "kilometer",
1343
+ KILOGRAM = "kilogram",
1344
+ METER = "meter",
1345
+ CUBIC_METER = "cubic_meter",
1346
+ SQUARE_METER = "square_meter",
1347
+ LITRE = "litre"
1348
+ }
1349
+ export type ViewPublicInvoiceDetailLineResponse = {
1350
+ uuid: string;
1351
+ groupUuid: string | null;
1352
+ position: number;
1353
+ name: string;
1354
+ description: string | null;
1355
+ customFields: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1356
+ quantity: number;
1357
+ unitPrice: MonetaryDto;
1358
+ vatRate: VatRate;
1359
+ vatRatePercentage: number;
1360
+ netAmount: MonetaryDto;
1361
+ grossAmount: MonetaryDto;
1362
+ discount: DiscountDto | null;
1363
+ unit: UnitOfMeasurement;
1364
+ isDiscount: boolean;
1365
+ };
1366
+ export type ViewPublicInvoiceDetailGroupResponse = {
1367
+ uuid: string;
1368
+ position: number;
1369
+ name: string;
1370
+ description: string | null;
1371
+ customFields: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1372
+ lines: Array<ViewPublicInvoiceDetailLineResponse>;
1373
+ };
1374
+ export type ViewPublicInvoiceDetailVatSummaryResponse = {
1375
+ vatRate: VatRate;
1376
+ netAmount: MonetaryDto;
1377
+ vatAmount: MonetaryDto;
1378
+ };
1379
+ export type ViewPublicInvoiceDetailRelatedInvoiceResponse = {
1380
+ uuid: string;
1381
+ createdAt: string;
1382
+ status: InvoiceStatus;
1383
+ sequence: string | null;
1384
+ };
1385
+ export declare enum InvoiceDeliveryStatus {
1386
+ UNSENT = "unsent",
1387
+ PROCESSING = "processing",
1388
+ SENT = "sent",
1389
+ VIEWED = "viewed",
1390
+ FAILED = "failed"
1391
+ }
1392
+ export type ViewPublicInvoiceDetailResponse = {
1393
+ uuid: string;
1394
+ sequence: string | null;
1395
+ type: InvoiceType;
1396
+ createdAt: string;
1397
+ updatedAt: string;
1398
+ issueOn: string | null;
1399
+ dueOn: string | null;
1400
+ deliveredOn: string | null;
1401
+ issuer: ViewPublicInvoiceDetailIssuerResponse;
1402
+ recipient: ViewPublicInvoiceDetailRecipientResponse | null;
1403
+ customer: ViewPublicInvoiceDetailCustomerResponse;
1404
+ status: InvoiceStatus;
1405
+ lifecycleStatus: InvoiceLifecycleStatus;
1406
+ paymentReference: string | null;
1407
+ subject: string | null;
1408
+ poNumber: string | null;
1409
+ customFields: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1410
+ ungroupedLines: Array<ViewPublicInvoiceDetailLineResponse>;
1411
+ groups: Array<ViewPublicInvoiceDetailGroupResponse>;
1412
+ vatSummaries: Array<ViewPublicInvoiceDetailVatSummaryResponse>;
1413
+ grossAmount: MonetaryDto;
1414
+ /**
1415
+ * Net amount of all lines before discount
1416
+ */
1417
+ netAmount: MonetaryDto;
1418
+ /**
1419
+ * Net amount of all lines after discount
1420
+ */
1421
+ effectiveNet: MonetaryDto;
1422
+ vatAmount: MonetaryDto;
1423
+ totalDiscountAmount: MonetaryDto | null;
1424
+ globalDiscount: DiscountDto | null;
1425
+ originalInvoice: ViewPublicInvoiceDetailRelatedInvoiceResponse | null;
1426
+ externalRemarks: string | null;
1427
+ deliveryStatus: InvoiceDeliveryStatus;
1428
+ isDisputed: boolean;
1429
+ };
1430
+ export type CreateInvoiceCommand = {
1431
+ customerUuid: string;
1432
+ };
1433
+ export type CreateInvoiceResponse = {
1434
+ uuid: string;
1435
+ };
1436
+ export type ViewInvoiceDetailIssuerResponse = {
1437
+ uuid: string;
1438
+ name: string | null;
1439
+ email: string | null;
1440
+ phoneNumber: string | null;
1441
+ website: string | null;
1442
+ address: AddressResponse | null;
1443
+ vatNumber: string | null;
1444
+ bankAccountNumber: string | null;
1445
+ alternativeBankAccountNumber: string | null;
1446
+ };
1447
+ export type ViewInvoiceDetailRecipientResponse = {
1448
+ uuid: string;
1449
+ name: string | null;
1450
+ email: string | null;
1451
+ };
1452
+ export type ViewInvoiceDetailCustomerResponse = {
1453
+ uuid: string;
1454
+ name: string | null;
1455
+ email: string | null;
1456
+ externalId: string | null;
1457
+ phoneNumber: string | null;
1458
+ address: AddressResponse | null;
1459
+ vatNumber: string | null;
1460
+ type: CustomerType;
1461
+ };
1462
+ export type ViewInvoiceDetailOriginalLineResponse = {
1463
+ uuid: string;
1464
+ quantity: number;
1465
+ remainingQuantity: number | null;
1466
+ };
1467
+ export type ViewInvoiceDetailLineResponse = {
1468
+ uuid: string;
1469
+ groupUuid: string | null;
1470
+ position: number;
1471
+ name: string;
1472
+ description: string | null;
1473
+ customFields: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1474
+ quantity: number;
1475
+ unitPrice: MonetaryDto;
1476
+ vatRate: VatRate;
1477
+ vatRatePercentage: number;
1478
+ netAmount: MonetaryDto;
1479
+ grossAmount: MonetaryDto;
1480
+ discount: DiscountDto | null;
1481
+ unit: UnitOfMeasurement;
1482
+ isDiscount: boolean;
1483
+ originalLine: ViewInvoiceDetailOriginalLineResponse | null;
1484
+ };
1485
+ export type ViewInvoiceDetailGroupResponse = {
1486
+ uuid: string;
1487
+ position: number;
1488
+ name: string;
1489
+ description: string | null;
1490
+ customFields: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1491
+ lines: Array<ViewInvoiceDetailLineResponse>;
1492
+ };
1493
+ export type ViewInvoiceDetailVatSummaryResponse = {
1494
+ vatRate: VatRate;
1495
+ netAmount: MonetaryDto;
1496
+ vatAmount: MonetaryDto;
1497
+ };
1498
+ export type FileResponse = {
1499
+ uuid: string;
1500
+ name: string;
1501
+ mimeType: MimeType;
1502
+ blurHash: string | null;
1503
+ };
1504
+ export type ViewInvoiceDetailRelatedInvoiceResponse = {
1505
+ uuid: string;
1506
+ createdAt: string;
1507
+ status: InvoiceStatus;
1508
+ sequence: string | null;
1509
+ grossAmount: MonetaryDto;
1510
+ totalCreditedAmount: MonetaryDto | null;
1511
+ paidAmount: MonetaryDto | null;
1512
+ balanceDueAmount: MonetaryDto | null;
1513
+ creditableAmount: MonetaryDto | null;
1514
+ };
1515
+ export type ViewInvoiceDetailPreparerResponse = {
1516
+ uuid: string;
1517
+ firstName: string | null;
1518
+ lastName: string | null;
1519
+ };
1520
+ export declare enum UserType {
1521
+ USER = "user",
1522
+ SERVICE_USER = "service_user"
1523
+ }
1524
+ export type ViewInvoiceDetailLastUpdatedByResponse = {
1525
+ uuid: string;
1526
+ firstName: string | null;
1527
+ lastName: string | null;
1528
+ type: UserType;
1529
+ };
1530
+ export declare enum SettlementStatus {
1531
+ UNPAID = "unpaid",
1532
+ PARTIALLY_PAID = "partially_paid",
1533
+ PAID = "paid",
1534
+ OVERPAID = "overpaid",
1535
+ CREDITED = "credited",
1536
+ SETTLED = "settled"
1537
+ }
1538
+ export type ViewInvoiceDetailReminderResponse = {
1539
+ uuid: string;
1540
+ sentAt: string;
1541
+ };
1542
+ export declare enum ReminderSchedule {
1543
+ AFTER_LAST_REMINDER = "after_last_reminder",
1544
+ AFTER_DUE_DATE = "after_due_date"
1545
+ }
1546
+ export type ViewInvoiceDetailReminderConfigResponse = {
1547
+ uuid: string;
1548
+ sequence: number;
1549
+ schedule: ReminderSchedule;
1550
+ offsetDays: number;
1551
+ };
1552
+ export type ViewInvoiceDetailResponse = {
1553
+ uuid: string;
1554
+ sequence: string | null;
1555
+ type: InvoiceType;
1556
+ createdAt: string;
1557
+ updatedAt: string;
1558
+ issueOn: string | null;
1559
+ dueOn: string | null;
1560
+ deliveredOn: string | null;
1561
+ issuer: ViewInvoiceDetailIssuerResponse;
1562
+ recipient: ViewInvoiceDetailRecipientResponse | null;
1563
+ customer: ViewInvoiceDetailCustomerResponse;
1564
+ status: InvoiceStatus;
1565
+ lifecycleStatus: InvoiceLifecycleStatus;
1566
+ paymentReference: string | null;
1567
+ subject: string | null;
1568
+ poNumber: string | null;
1569
+ customFields: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1570
+ ungroupedLines: Array<ViewInvoiceDetailLineResponse>;
1571
+ groups: Array<ViewInvoiceDetailGroupResponse>;
1572
+ vatSummaries: Array<ViewInvoiceDetailVatSummaryResponse>;
1573
+ grossAmount: MonetaryDto;
1574
+ /**
1575
+ * Net amount of all lines before discount
1576
+ */
1577
+ netAmount: MonetaryDto;
1578
+ /**
1579
+ * Net amount of all lines after discount
1580
+ */
1581
+ effectiveNet: MonetaryDto;
1582
+ vatAmount: MonetaryDto;
1583
+ totalDiscountAmount: MonetaryDto | null;
1584
+ globalDiscount: DiscountDto | null;
1585
+ attachments: Array<FileResponse>;
1586
+ creditNotes: Array<ViewInvoiceDetailRelatedInvoiceResponse>;
1587
+ originalInvoice: ViewInvoiceDetailRelatedInvoiceResponse | null;
1588
+ preparedBy: ViewInvoiceDetailPreparerResponse;
1589
+ lastUpdatedBy: ViewInvoiceDetailLastUpdatedByResponse | null;
1590
+ file: FileResponse | null;
1591
+ externalRemarks: string | null;
1592
+ paidAmount: MonetaryDto | null;
1593
+ settlementStatus: SettlementStatus;
1594
+ balanceDueAmount: MonetaryDto | null;
1595
+ /**
1596
+ * a ISO 4217 currency code
1597
+ */
1598
+ currency: Currency;
1599
+ deliveryStatus: InvoiceDeliveryStatus;
1600
+ isDisputed: boolean;
1601
+ isOverdue: boolean;
1602
+ reminders: Array<ViewInvoiceDetailReminderResponse>;
1603
+ reminderConfigs: Array<ViewInvoiceDetailReminderConfigResponse>;
1604
+ };
1605
+ export declare enum ViewInvoiceIndexSortQueryKey {
1606
+ CREATED_AT = "created_at",
1607
+ ISSUED_ON = "issued_on",
1608
+ SEQUENCE = "sequence",
1609
+ CUSTOMER = "customer",
1610
+ NET_AMOUNT = "netAmount"
1611
+ }
1612
+ export type ViewInvoiceIndexSortQuery = {
1613
+ key: ViewInvoiceIndexSortQueryKey;
1614
+ order: SortDirection;
1615
+ };
1616
+ export type NumberCustomFieldFilter = {
1617
+ definitionUuid: string;
1618
+ type: 'number';
1619
+ value: number;
1620
+ };
1621
+ export type DateCustomFieldFilter = {
1622
+ definitionUuid: string;
1623
+ type: 'date';
1624
+ value: string;
1625
+ };
1626
+ export type TimestampCustomFieldFilter = {
1627
+ definitionUuid: string;
1628
+ type: 'timestamp';
1629
+ value: string;
1630
+ };
1631
+ export type BooleanCustomFieldFilter = {
1632
+ definitionUuid: string;
1633
+ type: 'boolean';
1634
+ value: boolean;
1635
+ };
1636
+ export type MonetaryCustomFieldFilter = {
1637
+ definitionUuid: string;
1638
+ type: 'monetary';
1639
+ value: MonetaryDto;
1640
+ };
1641
+ export type MultiSelectCustomFieldFilter = {
1642
+ definitionUuid: string;
1643
+ type: 'multi_select';
1644
+ value: Array<string>;
1645
+ };
1646
+ export type SingleSelectCustomFieldFilter = {
1647
+ definitionUuid: string;
1648
+ type: 'single_select';
1649
+ value: string;
1650
+ };
1651
+ export type TextArrayCustomFieldFilter = {
1652
+ definitionUuid: string;
1653
+ type: 'text_array';
1654
+ value: Array<string>;
1655
+ };
1656
+ export type TextCustomFieldFilter = {
1657
+ definitionUuid: string;
1658
+ type: 'text';
1659
+ value: string;
1660
+ };
1661
+ export type DateRangeDto = {
1662
+ startDate: string;
1663
+ endDate: string;
1664
+ };
1665
+ export declare enum FilterScopeApiProperty {
1666
+ INCLUDE = "include",
1667
+ EXCLUDE = "exclude"
1668
+ }
1669
+ export type ScopedUuidFilter = {
1670
+ scope: FilterScopeApiProperty;
1671
+ values: Array<string>;
1672
+ };
1673
+ export type ViewInvoiceIndexFilterQuery = {
1674
+ statuses?: Array<InvoiceStatus>;
1675
+ lifecycleStatuses?: Array<InvoiceLifecycleStatus>;
1676
+ customerUuids?: Array<string>;
1677
+ dueOnRange?: DateRangeDto;
1678
+ issuedOnRange?: DateRangeDto;
1679
+ invoiceUuids?: ScopedUuidFilter;
1680
+ isDisputed?: boolean;
1681
+ isOverdue?: boolean;
1682
+ settlementStatuses?: Array<SettlementStatus>;
1683
+ customerExternalIds?: Array<string>;
1684
+ isOutstanding?: boolean;
1685
+ customFields?: Array<NumberCustomFieldFilter | DateCustomFieldFilter | TimestampCustomFieldFilter | BooleanCustomFieldFilter | MonetaryCustomFieldFilter | MultiSelectCustomFieldFilter | SingleSelectCustomFieldFilter | TextArrayCustomFieldFilter | TextCustomFieldFilter>;
1686
+ };
1687
+ export type InvoiceIndexCustomerResponse = {
1688
+ uuid: string;
1689
+ externalId: string | null;
1690
+ name: string;
1691
+ };
1692
+ export type InvoiceIndexResponse = {
1693
+ uuid: string;
1694
+ type: InvoiceType;
1695
+ createdAt: string;
1696
+ issuedOn: string | null;
1697
+ dueOn: string | null;
1698
+ subject: string | null;
1699
+ customer: InvoiceIndexCustomerResponse;
1700
+ status: InvoiceStatus;
1701
+ lifecycleStatus: InvoiceLifecycleStatus;
1702
+ netAmount: MonetaryDto;
1703
+ grossAmount: MonetaryDto;
1704
+ sequence: string | null;
1705
+ paidAmount: MonetaryDto | null;
1706
+ totalCreditedAmount: MonetaryDto | null;
1707
+ settlementStatus: SettlementStatus;
1708
+ balanceDueAmount: MonetaryDto | null;
1709
+ isDisputed: boolean;
1710
+ isOverdue: boolean;
1711
+ deliveryStatus: InvoiceDeliveryStatus;
1712
+ customFields: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1713
+ };
1714
+ export type ViewInvoiceIndexResponse = {
1715
+ /**
1716
+ * The items for the current page
1717
+ */
1718
+ items: Array<InvoiceIndexResponse>;
1719
+ meta: PaginatedOffsetResponseMeta;
1720
+ };
1721
+ export type EditNonDraftInvoiceError = {
1722
+ /**
1723
+ * a human-readable explanation specific to this occurrence of the problem
1724
+ */
1725
+ detail?: string;
1726
+ status: '409';
1727
+ code: 'edit_non_draft_invoice';
1728
+ };
1729
+ export type CustomFieldValueValidationError = {
1730
+ /**
1731
+ * a human-readable explanation specific to this occurrence of the problem
1732
+ */
1733
+ detail?: string;
1734
+ status: '400';
1735
+ code: 'custom_field_value_validation';
1736
+ };
1737
+ export type UpdateInvoiceCommand = {
1738
+ issuedOn: string;
1739
+ deliveredOn: string | null;
1740
+ dueOn: string;
1741
+ poNumber: string | null;
1742
+ subject: string | null;
1743
+ preparedByUuid: string;
1744
+ recipientUuid?: string | null;
1745
+ externalRemarks: string | null;
1746
+ customerUuid?: string;
1747
+ customFields?: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1748
+ };
1749
+ export type CurrencyMismatchError = {
1750
+ /**
1751
+ * a human-readable explanation specific to this occurrence of the problem
1752
+ */
1753
+ detail?: string;
1754
+ status: '409';
1755
+ code: 'currency_mismatch';
1756
+ };
1757
+ export type InvoiceNotStandardError = {
1758
+ /**
1759
+ * a human-readable explanation specific to this occurrence of the problem
1760
+ */
1761
+ detail?: string;
1762
+ status: '409';
1763
+ code: 'invoice_not_standard';
1764
+ };
1765
+ export type DiscountLineHasDiscountError = {
1766
+ /**
1767
+ * a human-readable explanation specific to this occurrence of the problem
1768
+ */
1769
+ detail?: string;
1770
+ status: '400';
1771
+ code: 'discount_line_has_discount';
1772
+ };
1773
+ export type InvoiceLineAndGroupPositionOverlapError = {
1774
+ /**
1775
+ * a human-readable explanation specific to this occurrence of the problem
1776
+ */
1777
+ detail?: string;
1778
+ status: '400';
1779
+ code: 'invoice_line_and_group_position_overlap';
1780
+ };
1781
+ export type InvoiceLineCommand = {
1782
+ name: string;
1783
+ description: string | null;
1784
+ position: number;
1785
+ quantity: number;
1786
+ unitPrice: MonetaryDto;
1787
+ vatRate: VatRate;
1788
+ discount: DiscountDto | null;
1789
+ unit: UnitOfMeasurement;
1790
+ isDiscount: boolean;
1791
+ customFields?: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1792
+ };
1793
+ export type UpdateInvoiceLinesGroupCommand = {
1794
+ name: string;
1795
+ description: string | null;
1796
+ position: number;
1797
+ lines: Array<InvoiceLineCommand>;
1798
+ customFields?: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1799
+ };
1800
+ export type UpdateInvoiceLinesCommand = {
1801
+ groups: Array<UpdateInvoiceLinesGroupCommand>;
1802
+ ungroupedLines: Array<InvoiceLineCommand>;
1803
+ };
1804
+ export type GlobalDiscountExceedsTotalNetError = {
1805
+ /**
1806
+ * a human-readable explanation specific to this occurrence of the problem
1807
+ */
1808
+ detail?: string;
1809
+ status: '409';
1810
+ code: 'global_discount_exceeds_total_net';
1811
+ };
1812
+ export type ApplyInvoiceDiscountCommandV1 = {
1813
+ discount: DiscountDto | null;
1814
+ };
1815
+ export type ApplyInvoiceDiscountCommandV2 = {
1816
+ discount: DiscountDto;
1817
+ };
1818
+ export type FileUnconfirmedError = {
1819
+ /**
1820
+ * a human-readable explanation specific to this occurrence of the problem
1821
+ */
1822
+ detail?: string;
1823
+ status: '409';
1824
+ code: 'file_unconfirmed';
1825
+ };
1826
+ export type UpdateInvoiceAttachmentsCommand = {
1827
+ fileUuids: Array<string>;
1828
+ };
1829
+ export type InvoiceSequenceCounterNotFoundError = {
1830
+ /**
1831
+ * a human-readable explanation specific to this occurrence of the problem
1832
+ */
1833
+ detail?: string;
1834
+ status: '404';
1835
+ code: 'invoice_sequence_counter_not_found';
1836
+ };
1837
+ export type InvoiceHasNoLinesError = {
1838
+ /**
1839
+ * a human-readable explanation specific to this occurrence of the problem
1840
+ */
1841
+ detail?: string;
1842
+ status: '409';
1843
+ code: 'invoice_has_no_lines';
1844
+ };
1845
+ export type InvoiceAlreadyFinalizedError = {
1846
+ /**
1847
+ * a human-readable explanation specific to this occurrence of the problem
1848
+ */
1849
+ detail?: string;
1850
+ status: '409';
1851
+ code: 'invoice_already_finalized';
1852
+ };
1853
+ export type CreditNoteFromDraftInvoiceError = {
1854
+ /**
1855
+ * a human-readable explanation specific to this occurrence of the problem
1856
+ */
1857
+ detail?: string;
1858
+ status: '409';
1859
+ code: 'credit_note_from_draft_invoice';
1860
+ };
1861
+ export type CreditNoteFromCreditNoteError = {
1862
+ /**
1863
+ * a human-readable explanation specific to this occurrence of the problem
1864
+ */
1865
+ detail?: string;
1866
+ status: '409';
1867
+ code: 'credit_note_from_credit_note';
1868
+ };
1869
+ export type CreditNoteSettledError = {
1870
+ /**
1871
+ * a human-readable explanation specific to this occurrence of the problem
1872
+ */
1873
+ detail?: string;
1874
+ status: '409';
1875
+ code: 'credit_note_settled';
1876
+ };
1877
+ export type CreateCreditNoteResponse = {
1878
+ uuid: string;
1879
+ };
1880
+ export type InvoiceNotCreditNoteError = {
1881
+ /**
1882
+ * a human-readable explanation specific to this occurrence of the problem
1883
+ */
1884
+ detail?: string;
1885
+ status: '409';
1886
+ code: 'invoice_not_credit_note';
1887
+ };
1888
+ export type CreditNoteInvoiceLineCommand = {
1889
+ name: string;
1890
+ description: string | null;
1891
+ position: number;
1892
+ quantity: number;
1893
+ unitPrice: MonetaryDto;
1894
+ vatRate: VatRate;
1895
+ discount: DiscountDto | null;
1896
+ unit: UnitOfMeasurement;
1897
+ isDiscount: boolean;
1898
+ customFields?: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1899
+ };
1900
+ export type UpdateCreditNoteInvoiceLinesGroupCommand = {
1901
+ name: string;
1902
+ description: string | null;
1903
+ position: number;
1904
+ lines: Array<CreditNoteInvoiceLineCommand>;
1905
+ customFields?: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1906
+ };
1907
+ export type UpdateCreditNoteInvoiceLinesCommand = {
1908
+ groups: Array<UpdateCreditNoteInvoiceLinesGroupCommand>;
1909
+ ungroupedLines: Array<CreditNoteInvoiceLineCommand>;
1910
+ };
1911
+ export type UpdateCreditNoteCommand = {
1912
+ issuedOn: string;
1913
+ poNumber: string | null;
1914
+ subject: string | null;
1915
+ recipientUuid?: string | null;
1916
+ externalRemarks: string | null;
1917
+ preparedByUuid?: string;
1918
+ customFields?: Array<TextCustomFieldValueDto | TextArrayCustomFieldValueDto | NumberCustomFieldValueDto | BooleanCustomFieldValueDto | DateCustomFieldValueDto | TimestampCustomFieldValueDto | SingleSelectCustomFieldValueDto | MultiSelectCustomFieldValueDto | MonetaryCustomFieldValueDto>;
1919
+ };
1920
+ export type CreditNoteExternalRemarksEmptyError = {
1921
+ /**
1922
+ * a human-readable explanation specific to this occurrence of the problem
1923
+ */
1924
+ detail?: string;
1925
+ status: '409';
1926
+ code: 'credit_note_external_remarks_empty';
1927
+ };
1928
+ export type CreditNoteExceedsCreditableAmountError = {
1929
+ /**
1930
+ * a human-readable explanation specific to this occurrence of the problem
1931
+ */
1932
+ detail?: string;
1933
+ status: '409';
1934
+ code: 'credit_note_exceeds_creditable_amount';
1935
+ };
1936
+ export type InvoiceInDraftError = {
1937
+ /**
1938
+ * a human-readable explanation specific to this occurrence of the problem
1939
+ */
1940
+ detail?: string;
1941
+ status: '409';
1942
+ code: 'invoice_in_draft';
1943
+ };
1944
+ export type InvoicePdfNotGeneratedError = {
1945
+ /**
1946
+ * a human-readable explanation specific to this occurrence of the problem
1947
+ */
1948
+ detail?: string;
1949
+ status: '409';
1950
+ code: 'invoice_pdf_not_generated';
1951
+ };
1952
+ export type CustomerHasNoDefaultRecipientError = {
1953
+ /**
1954
+ * a human-readable explanation specific to this occurrence of the problem
1955
+ */
1956
+ detail?: string;
1957
+ status: '409';
1958
+ code: 'customer_has_no_default_recipient';
1959
+ };
1960
+ export type InvoiceMaxRemindersReachedError = {
1961
+ /**
1962
+ * a human-readable explanation specific to this occurrence of the problem
1963
+ */
1964
+ detail?: string;
1965
+ status: '409';
1966
+ code: 'invoice_max_reminders_reached';
1967
+ };
1968
+ export type MailUnavailableError = {
1969
+ /**
1970
+ * a human-readable explanation specific to this occurrence of the problem
1971
+ */
1972
+ detail?: string;
1973
+ status: '503';
1974
+ code: 'mail_unavailable';
1975
+ };
1976
+ export type BulkSendInvoiceFilterQuery = {
1977
+ statuses?: Array<InvoiceStatus>;
1978
+ lifecycleStatuses?: Array<InvoiceLifecycleStatus>;
1979
+ customerUuids?: Array<string>;
1980
+ dueOnRange?: DateRangeDto;
1981
+ issuedOnRange?: DateRangeDto;
1982
+ invoiceUuids?: ScopedUuidFilter;
1983
+ isDisputed?: boolean;
1984
+ isOverdue?: boolean;
1985
+ settlementStatuses?: Array<SettlementStatus>;
1986
+ customerExternalIds?: Array<string>;
1987
+ isOutstanding?: boolean;
1988
+ customFields?: Array<NumberCustomFieldFilter | DateCustomFieldFilter | TimestampCustomFieldFilter | BooleanCustomFieldFilter | MonetaryCustomFieldFilter | MultiSelectCustomFieldFilter | SingleSelectCustomFieldFilter | TextArrayCustomFieldFilter | TextCustomFieldFilter>;
1989
+ };
1990
+ export type BulkActionMeta = {
1991
+ total: number;
1992
+ processed: number;
1993
+ skipped: number;
1994
+ };
1995
+ export type ErrorSource = {
1996
+ pointer: string;
1997
+ };
1998
+ export type JsonApiErrorContent = {
1999
+ code: string;
2000
+ detail?: string;
2001
+ title?: string;
2002
+ id?: string;
2003
+ status?: string;
2004
+ source?: ErrorSource;
2005
+ meta?: {
2006
+ [key: string]: unknown;
2007
+ };
2008
+ };
2009
+ export type JsonApiError = {
2010
+ status: number;
2011
+ errors: Array<JsonApiErrorContent>;
2012
+ };
2013
+ export type BulkActionSkippedItem = {
2014
+ uuid: string;
2015
+ errors: Array<JsonApiError>;
2016
+ };
2017
+ export type BulkSendInvoiceResponse = {
2018
+ meta: BulkActionMeta;
2019
+ skipped: Array<BulkActionSkippedItem>;
2020
+ };
2021
+ export type PreviewBulkSendInvoiceFilterQuery = {
2022
+ statuses?: Array<InvoiceStatus>;
2023
+ lifecycleStatuses?: Array<InvoiceLifecycleStatus>;
2024
+ customerUuids?: Array<string>;
2025
+ dueOnRange?: DateRangeDto;
2026
+ issuedOnRange?: DateRangeDto;
2027
+ invoiceUuids?: ScopedUuidFilter;
2028
+ isDisputed?: boolean;
2029
+ isOverdue?: boolean;
2030
+ settlementStatuses?: Array<SettlementStatus>;
2031
+ customerExternalIds?: Array<string>;
2032
+ isOutstanding?: boolean;
2033
+ customFields?: Array<NumberCustomFieldFilter | DateCustomFieldFilter | TimestampCustomFieldFilter | BooleanCustomFieldFilter | MonetaryCustomFieldFilter | MultiSelectCustomFieldFilter | SingleSelectCustomFieldFilter | TextArrayCustomFieldFilter | TextCustomFieldFilter>;
2034
+ };
2035
+ export type PreviewBulkSendInvoiceResponse = {
2036
+ meta: BulkActionMeta;
2037
+ skipped: Array<BulkActionSkippedItem>;
2038
+ };
2039
+ export type InvalidInvoiceTransitionError = {
2040
+ /**
2041
+ * a human-readable explanation specific to this occurrence of the problem
2042
+ */
2043
+ detail?: string;
2044
+ status: '409';
2045
+ code: 'invalid_invoice_transition';
2046
+ };
2047
+ export type InvoiceNotEditableError = {
2048
+ /**
2049
+ * a human-readable explanation specific to this occurrence of the problem
2050
+ */
2051
+ detail?: string;
2052
+ status: '409';
2053
+ code: 'invoice_not_editable';
2054
+ };
2055
+ export type DuplicateInvoiceResponse = {
2056
+ uuid: string;
2057
+ };
2058
+ export type InvoiceNotFinalizedError = {
2059
+ /**
2060
+ * a human-readable explanation specific to this occurrence of the problem
2061
+ */
2062
+ detail?: string;
2063
+ status: '409';
2064
+ code: 'invoice_not_finalized';
2065
+ };
2066
+ export type InvoiceStatusNotEligibleForPaidError = {
2067
+ /**
2068
+ * a human-readable explanation specific to this occurrence of the problem
2069
+ */
2070
+ detail?: string;
2071
+ status: '409';
2072
+ code: 'invoice_status_not_eligible_for_paid';
2073
+ };
2074
+ export type PreviewBulkMarkInvoiceAsReadyFilterQuery = {
2075
+ statuses?: Array<InvoiceStatus>;
2076
+ lifecycleStatuses?: Array<InvoiceLifecycleStatus>;
2077
+ customerUuids?: Array<string>;
2078
+ dueOnRange?: DateRangeDto;
2079
+ issuedOnRange?: DateRangeDto;
2080
+ invoiceUuids?: ScopedUuidFilter;
2081
+ isDisputed?: boolean;
2082
+ isOverdue?: boolean;
2083
+ settlementStatuses?: Array<SettlementStatus>;
2084
+ customerExternalIds?: Array<string>;
2085
+ isOutstanding?: boolean;
2086
+ customFields?: Array<NumberCustomFieldFilter | DateCustomFieldFilter | TimestampCustomFieldFilter | BooleanCustomFieldFilter | MonetaryCustomFieldFilter | MultiSelectCustomFieldFilter | SingleSelectCustomFieldFilter | TextArrayCustomFieldFilter | TextCustomFieldFilter>;
2087
+ };
2088
+ export type PreviewBulkMarkInvoiceAsReadyResponse = {
2089
+ meta: BulkActionMeta;
2090
+ skipped: Array<BulkActionSkippedItem>;
2091
+ };
2092
+ export type BulkMarkInvoiceAsReadyFilterQuery = {
2093
+ statuses?: Array<InvoiceStatus>;
2094
+ lifecycleStatuses?: Array<InvoiceLifecycleStatus>;
2095
+ customerUuids?: Array<string>;
2096
+ dueOnRange?: DateRangeDto;
2097
+ issuedOnRange?: DateRangeDto;
2098
+ invoiceUuids?: ScopedUuidFilter;
2099
+ isDisputed?: boolean;
2100
+ isOverdue?: boolean;
2101
+ settlementStatuses?: Array<SettlementStatus>;
2102
+ customerExternalIds?: Array<string>;
2103
+ isOutstanding?: boolean;
2104
+ customFields?: Array<NumberCustomFieldFilter | DateCustomFieldFilter | TimestampCustomFieldFilter | BooleanCustomFieldFilter | MonetaryCustomFieldFilter | MultiSelectCustomFieldFilter | SingleSelectCustomFieldFilter | TextArrayCustomFieldFilter | TextCustomFieldFilter>;
2105
+ };
2106
+ export type BulkMarkInvoiceAsReadyResponse = {
2107
+ meta: BulkActionMeta;
2108
+ skipped: Array<BulkActionSkippedItem>;
2109
+ };
2110
+ export type InvoiceNotDisputedError = {
2111
+ /**
2112
+ * a human-readable explanation specific to this occurrence of the problem
2113
+ */
2114
+ detail?: string;
2115
+ status: '409';
2116
+ code: 'invoice_not_disputed';
2117
+ };
2118
+ export type PreviewBulkFinalizeInvoiceFilterQuery = {
2119
+ statuses?: Array<InvoiceStatus>;
2120
+ lifecycleStatuses?: Array<InvoiceLifecycleStatus>;
2121
+ customerUuids?: Array<string>;
2122
+ dueOnRange?: DateRangeDto;
2123
+ issuedOnRange?: DateRangeDto;
2124
+ invoiceUuids?: ScopedUuidFilter;
2125
+ isDisputed?: boolean;
2126
+ isOverdue?: boolean;
2127
+ settlementStatuses?: Array<SettlementStatus>;
2128
+ customerExternalIds?: Array<string>;
2129
+ isOutstanding?: boolean;
2130
+ customFields?: Array<NumberCustomFieldFilter | DateCustomFieldFilter | TimestampCustomFieldFilter | BooleanCustomFieldFilter | MonetaryCustomFieldFilter | MultiSelectCustomFieldFilter | SingleSelectCustomFieldFilter | TextArrayCustomFieldFilter | TextCustomFieldFilter>;
2131
+ };
2132
+ export type PreviewBulkFinalizeInvoiceResponse = {
2133
+ meta: BulkActionMeta;
2134
+ skipped: Array<BulkActionSkippedItem>;
2135
+ };
2136
+ export type BulkFinalizeInvoiceFilterQuery = {
2137
+ statuses?: Array<InvoiceStatus>;
2138
+ lifecycleStatuses?: Array<InvoiceLifecycleStatus>;
2139
+ customerUuids?: Array<string>;
2140
+ dueOnRange?: DateRangeDto;
2141
+ issuedOnRange?: DateRangeDto;
2142
+ invoiceUuids?: ScopedUuidFilter;
2143
+ isDisputed?: boolean;
2144
+ isOverdue?: boolean;
2145
+ settlementStatuses?: Array<SettlementStatus>;
2146
+ customerExternalIds?: Array<string>;
2147
+ isOutstanding?: boolean;
2148
+ customFields?: Array<NumberCustomFieldFilter | DateCustomFieldFilter | TimestampCustomFieldFilter | BooleanCustomFieldFilter | MonetaryCustomFieldFilter | MultiSelectCustomFieldFilter | SingleSelectCustomFieldFilter | TextArrayCustomFieldFilter | TextCustomFieldFilter>;
2149
+ };
2150
+ export type BulkFinalizeInvoiceResponse = {
2151
+ meta: BulkActionMeta;
2152
+ skipped: Array<BulkActionSkippedItem>;
2153
+ };
2154
+ export type ViewActivityLogIndexFilterQuery = {
2155
+ entityUuids?: Array<string>;
2156
+ entityTypes?: Array<'customer' | 'invoice' | 'credit_note'>;
2157
+ roles?: Array<'actor' | 'customer' | 'invoice' | 'credit_note'>;
2158
+ };
2159
+ export type ViewActivityLogIndexQueryKey = {
2160
+ createdAt: string;
2161
+ uuid: string;
2162
+ };
2163
+ export type ViewActivityLogIndexPaginationQuery = {
2164
+ limit?: number;
2165
+ key?: ViewActivityLogIndexQueryKey | null;
2166
+ };
2167
+ export declare enum ActivityType {
2168
+ INVOICE_CREATED = "invoice-created",
2169
+ INVOICE_UPDATED = "invoice-updated",
2170
+ INVOICE_FINALIZED = "invoice-finalized",
2171
+ INVOICE_SENT = "invoice-sent",
2172
+ INVOICE_REMINDER_SENT = "invoice-reminder-sent",
2173
+ INVOICE_DUPLICATED = "invoice-duplicated",
2174
+ INVOICE_MARKED_AS_READY = "invoice-marked-as-ready",
2175
+ INVOICE_MARKED_AS_PAID = "invoice-marked-as-paid",
2176
+ INVOICE_PAYMENT_CREATED = "invoice-payment-created",
2177
+ INVOICE_PAYMENT_DELETED = "invoice-payment-deleted",
2178
+ CREDIT_NOTE_CREATED = "credit-note-created",
2179
+ CREDIT_NOTE_UPDATED = "credit-note-updated",
2180
+ CUSTOMER_UPDATED = "customer-updated"
2181
+ }
2182
+ export declare enum ActivityChangeType {
2183
+ CREATE = "create",
2184
+ UPDATE = "update",
2185
+ DELETE = "delete"
2186
+ }
2187
+ export declare enum ActivityActorType {
2188
+ USER = "user",
2189
+ SERVICE = "service",
2190
+ SYSTEM = "system"
2191
+ }
2192
+ export type ActivityActorResponse = {
2193
+ uuid: string;
2194
+ firstName: string | null;
2195
+ lastName: string | null;
2196
+ email: string | null;
2197
+ };
2198
+ export declare enum ActivityEntityRole {
2199
+ ACTOR = "actor",
2200
+ CUSTOMER = "customer",
2201
+ INVOICE = "invoice",
2202
+ CREDIT_NOTE = "credit_note"
2203
+ }
2204
+ export declare enum ActivityEntityType {
2205
+ CUSTOMER = "customer",
2206
+ INVOICE = "invoice",
2207
+ CREDIT_NOTE = "credit_note"
2208
+ }
2209
+ export type ActivityEntityResponse = {
2210
+ role: ActivityEntityRole;
2211
+ type: ActivityEntityType;
2212
+ uuid: string;
2213
+ label: string | null;
2214
+ };
2215
+ export type ActivityChange = {
2216
+ entityRole: ActivityEntityRole;
2217
+ field: string;
2218
+ from: string | number | boolean | null;
2219
+ to: string | number | boolean | null;
2220
+ };
2221
+ export type ActivityLogItemResponse = {
2222
+ createdAt: string;
2223
+ action: ActivityType;
2224
+ changeType: ActivityChangeType;
2225
+ actorType: ActivityActorType;
2226
+ actor: ActivityActorResponse | null;
2227
+ entities: Array<ActivityEntityResponse>;
2228
+ changes: Array<ActivityChange> | null;
2229
+ };
2230
+ export type ViewActivityLogIndexResponse = {
2231
+ logs: Array<ActivityLogItemResponse>;
2232
+ nextKey: ViewActivityLogIndexQueryKey | null;
2233
+ };
2234
+ export type InvoiceNotFinalizedForPaymentError = {
2235
+ /**
2236
+ * a human-readable explanation specific to this occurrence of the problem
2237
+ */
2238
+ detail?: string;
2239
+ status: '409';
2240
+ code: 'invoice_not_finalized_for_payment';
2241
+ };
2242
+ export type CreateManualPaymentCommand = {
2243
+ amount: MonetaryDto;
2244
+ date: string;
2245
+ paymentReference?: string | null;
2246
+ remarks?: string | null;
2247
+ };
2248
+ export type CreateManualPaymentResponse = {
2249
+ uuid: string;
2250
+ };
2251
+ export type PaymentNotFoundError = {
2252
+ /**
2253
+ * a human-readable explanation specific to this occurrence of the problem
2254
+ */
2255
+ detail?: string;
2256
+ status: '404';
2257
+ code: 'payment_not_found';
2258
+ };
2259
+ export type PaymentNotManualError = {
2260
+ /**
2261
+ * a human-readable explanation specific to this occurrence of the problem
2262
+ */
2263
+ detail?: string;
2264
+ status: '409';
2265
+ code: 'payment_not_manual';
2266
+ };
2267
+ export declare enum PaymentSource {
2268
+ MANUAL = "manual",
2269
+ EXACT = "exact"
2270
+ }
2271
+ export type ViewInvoicePaymentIndexItemResponse = {
2272
+ uuid: string;
2273
+ amount: MonetaryDto;
2274
+ date: string;
2275
+ createdAt: string;
2276
+ paymentReference: string | null;
2277
+ remarks: string | null;
2278
+ source: PaymentSource;
2279
+ };
2280
+ export type ViewInvoicePaymentIndexResponse = {
2281
+ items: Array<ViewInvoicePaymentIndexItemResponse>;
2282
+ };
2283
+ export declare enum ReminderLevel {
2284
+ _1 = 1,
2285
+ _2 = 2,
2286
+ _3 = 3
2287
+ }
2288
+ export type LocalizedStringItemDto = {
2289
+ locale: string;
2290
+ value: string;
2291
+ };
2292
+ export type LocalizedStringDto = {
2293
+ items: Array<LocalizedStringItemDto>;
2294
+ };
2295
+ export type ViewReminderConfigItemTemplateResponse = {
2296
+ subject: LocalizedStringDto;
2297
+ body: LocalizedStringDto;
2298
+ };
2299
+ export type ViewReminderConfigItemResponse = {
2300
+ uuid: string;
2301
+ issuerUuid: string;
2302
+ sequence: ReminderLevel;
2303
+ schedule: ReminderSchedule;
2304
+ offsetDays: number;
2305
+ template: ViewReminderConfigItemTemplateResponse;
2306
+ fee: MonetaryDto;
2307
+ };
2308
+ export type ViewReminderConfigResponse = {
2309
+ items: Array<ViewReminderConfigItemResponse>;
2310
+ };
2311
+ export type ReminderConfigNotChronologicalError = {
2312
+ /**
2313
+ * a human-readable explanation specific to this occurrence of the problem
2314
+ */
2315
+ detail?: string;
2316
+ status: '400';
2317
+ code: 'reminder_config_not_chronological';
2318
+ };
2319
+ export type MissingRequiredReminderConfigError = {
2320
+ /**
2321
+ * a human-readable explanation specific to this occurrence of the problem
2322
+ */
2323
+ detail?: string;
2324
+ status: '400';
2325
+ code: 'missing_required_reminder_config';
2326
+ };
2327
+ export type AdditionalReminderConfigError = {
2328
+ /**
2329
+ * a human-readable explanation specific to this occurrence of the problem
2330
+ */
2331
+ detail?: string;
2332
+ status: '400';
2333
+ code: 'additional_reminder_config';
2334
+ };
2335
+ export type ReminderConfigTemplateCommand = {
2336
+ subject: LocalizedStringDto;
2337
+ /**
2338
+ * HTML of the body
2339
+ */
2340
+ body: LocalizedStringDto;
2341
+ };
2342
+ export type ReminderConfigCommand = {
2343
+ sequence: number;
2344
+ offsetDays: number;
2345
+ schedule: ReminderSchedule;
2346
+ template: ReminderConfigTemplateCommand;
2347
+ fee: MonetaryDto;
2348
+ };
2349
+ export type UpdateReminderConfigCommand = {
2350
+ reminders: Array<ReminderConfigCommand>;
2351
+ };
2352
+ export declare enum CustomFieldEntityType {
2353
+ INVOICE = "invoice",
2354
+ INVOICE_LINE = "invoice-line",
2355
+ INVOICE_LINE_GROUP = "invoice-line-group"
2356
+ }
2357
+ export type ViewCustomFieldDefinitionIndexFilterQuery = {
2358
+ entityTypes?: Array<CustomFieldEntityType>;
2359
+ };
2360
+ export declare enum CustomFieldType {
2361
+ TEXT = "text",
2362
+ TEXT_ARRAY = "text_array",
2363
+ NUMBER = "number",
2364
+ BOOLEAN = "boolean",
2365
+ TIMESTAMP = "timestamp",
2366
+ DATE = "date",
2367
+ SINGLE_SELECT = "single_select",
2368
+ MULTI_SELECT = "multi_select",
2369
+ MONETARY = "monetary"
2370
+ }
2371
+ export type CustomFieldChoiceResponse = {
2372
+ value: string;
2373
+ label: LocalizedStringDto;
2374
+ order: number;
2375
+ };
2376
+ export type CustomFieldDefinitionResponse = {
2377
+ uuid: string;
2378
+ tenantUuid: string | null;
2379
+ entityType: string;
2380
+ key: string;
2381
+ label: LocalizedStringDto;
2382
+ description: LocalizedStringDto | null;
2383
+ type: CustomFieldType;
2384
+ isRequired: boolean;
2385
+ choices: Array<CustomFieldChoiceResponse> | null;
2386
+ rules: {
2387
+ [key: string]: unknown;
2388
+ } | null;
2389
+ };
2390
+ export type DunningCaseNotFoundError = {
2391
+ /**
2392
+ * a human-readable explanation specific to this occurrence of the problem
2393
+ */
2394
+ detail?: string;
2395
+ status: '404';
2396
+ code: 'dunning_case_not_found';
2397
+ };
2398
+ export type ViewDunningCaseDetailCustomerResponse = {
2399
+ uuid: string;
2400
+ type: CustomerType;
2401
+ name: string;
2402
+ vatNumber: string | null;
2403
+ email: string | null;
2404
+ };
2405
+ export type ViewDunningCaseDetailInvoicePaymentResponse = {
2406
+ uuid: string;
2407
+ date: string;
2408
+ amount: MonetaryDto;
2409
+ };
2410
+ export type ViewDunningCaseDetailCreditNoteResponse = {
2411
+ uuid: string;
2412
+ sequence: string;
2413
+ grossAmount: MonetaryDto;
2414
+ finalizedOn: string | 'infinity' | '-infinity';
2415
+ };
2416
+ export type ViewDunningCaseDetailInvoiceResponse = {
2417
+ uuid: string;
2418
+ subject: string | null;
2419
+ sequence: string;
2420
+ dueOn: string;
2421
+ level: number;
2422
+ grossAmount: MonetaryDto;
2423
+ balanceDueAmount: MonetaryDto;
2424
+ totalCreditedAmount: MonetaryDto;
2425
+ paidAmount: MonetaryDto;
2426
+ isDisputed: boolean;
2427
+ settlementStatus: SettlementStatus;
2428
+ payments: Array<ViewDunningCaseDetailInvoicePaymentResponse>;
2429
+ creditNotes: Array<ViewDunningCaseDetailCreditNoteResponse>;
2430
+ };
2431
+ export type ViewDunningCaseDetailReminderResponse = {
2432
+ uuid: string;
2433
+ sentAt: string | 'infinity' | '-infinity' | null;
2434
+ hasErrors: boolean;
2435
+ };
2436
+ export declare enum DunningCaseBlockedReason {
2437
+ MISSING_EMAIL = "missing_email"
2438
+ }
2439
+ export type ViewDunningCaseDetailResponse = {
2440
+ uuid: string;
2441
+ createdAt: string;
2442
+ updatedAt: string;
2443
+ closedAt: string | null;
2444
+ isClosed: boolean;
2445
+ nextReminderOn: string | null;
2446
+ level: number | null;
2447
+ customer: ViewDunningCaseDetailCustomerResponse;
2448
+ invoices: Array<ViewDunningCaseDetailInvoiceResponse>;
2449
+ outstandingBalance: MonetaryDto;
2450
+ totalPaid: MonetaryDto;
2451
+ totalInvoiced: MonetaryDto;
2452
+ totalCredited: MonetaryDto;
2453
+ totalFee: MonetaryDto;
2454
+ lastReminderSentAt: string | 'infinity' | '-infinity' | null;
2455
+ canSendReminder: boolean;
2456
+ latestCreatedReminder: ViewDunningCaseDetailReminderResponse | null;
2457
+ blockedReason: DunningCaseBlockedReason | null;
2458
+ };
2459
+ export type ViewDunningCaseIndexFilterQuery = {
2460
+ isOpen?: boolean;
2461
+ customerUuid?: string;
2462
+ level?: number;
2463
+ dunningCaseUuids?: ScopedUuidFilter;
2464
+ };
2465
+ export type DunningCaseIndexCustomerResponse = {
2466
+ uuid: string;
2467
+ name: string;
2468
+ };
2469
+ export type DunningCaseIndexReminderResponse = {
2470
+ uuid: string;
2471
+ sentAt: string | 'infinity' | '-infinity' | null;
2472
+ hasErrors: boolean;
2473
+ };
2474
+ export type DunningCaseIndexResponse = {
2475
+ uuid: string;
2476
+ customer: DunningCaseIndexCustomerResponse;
2477
+ level: number | null;
2478
+ daysOverdue: number;
2479
+ outstandingBalance: MonetaryDto;
2480
+ nextReminderOn: string | 'infinity' | '-infinity' | null;
2481
+ lastReminderSentAt: string | 'infinity' | '-infinity' | null;
2482
+ canSendReminder: boolean;
2483
+ latestCreatedReminder: DunningCaseIndexReminderResponse | null;
2484
+ blockedReason: DunningCaseBlockedReason | null;
2485
+ };
2486
+ export type ViewDunningCaseIndexResponse = {
2487
+ /**
2488
+ * The items for the current page
2489
+ */
2490
+ items: Array<DunningCaseIndexResponse>;
2491
+ meta: PaginatedOffsetResponseMeta;
2492
+ };
2493
+ export type DunningCaseReminderNotDueError = {
2494
+ /**
2495
+ * a human-readable explanation specific to this occurrence of the problem
2496
+ */
2497
+ detail?: string;
2498
+ status: '409';
2499
+ code: 'dunning_case_reminder_not_due';
2500
+ };
2501
+ export type DunningCaseReminderPendingError = {
2502
+ /**
2503
+ * a human-readable explanation specific to this occurrence of the problem
2504
+ */
2505
+ detail?: string;
2506
+ status: '409';
2507
+ code: 'dunning_case_reminder_pending';
2508
+ };
2509
+ export type DunningCaseReminderConfigNotFoundError = {
2510
+ /**
2511
+ * a human-readable explanation specific to this occurrence of the problem
2512
+ */
2513
+ detail?: string;
2514
+ status: '409';
2515
+ code: 'dunning_case_reminder_config_not_found';
2516
+ };
2517
+ export type BulkSendDunningCaseReminderFilterQuery = {
2518
+ isOpen?: boolean;
2519
+ customerUuid?: string;
2520
+ level?: number;
2521
+ dunningCaseUuids?: ScopedUuidFilter;
2522
+ };
2523
+ export type BulkSendDunningCaseReminderResponse = {
2524
+ meta: BulkActionMeta;
2525
+ skipped: Array<BulkActionSkippedItem>;
2526
+ };
2527
+ export type PreviewBulkSendDunningCaseReminderFilterQuery = {
2528
+ isOpen?: boolean;
2529
+ customerUuid?: string;
2530
+ level?: number;
2531
+ dunningCaseUuids?: ScopedUuidFilter;
2532
+ };
2533
+ export type PreviewBulkSendDunningCaseReminderResponse = {
2534
+ meta: BulkActionMeta;
2535
+ skipped: Array<BulkActionSkippedItem>;
2536
+ };
2537
+ export type ViewPublicDunningCaseReminderIssuerResponse = {
2538
+ name: string | null;
2539
+ email: string | null;
2540
+ phoneNumber: string | null;
2541
+ website: string | null;
2542
+ address: AddressResponse | null;
2543
+ vatNumber: string | null;
2544
+ bankAccountNumber: string | null;
2545
+ alternativeBankAccountNumber: string | null;
2546
+ /**
2547
+ * a ISO 4217 currency code
2548
+ */
2549
+ currency: Currency;
2550
+ };
2551
+ export type ViewPublicDunningCaseReminderCustomerResponse = {
2552
+ name: string;
2553
+ address: AddressResponse | null;
2554
+ email: string | null;
2555
+ externalId: string | null;
2556
+ phoneNumber: string | null;
2557
+ vatNumber: string | null;
2558
+ type: CustomerType;
2559
+ locale: Locale;
2560
+ /**
2561
+ * a ISO 4217 currency code
2562
+ */
2563
+ currency: Currency;
2564
+ };
2565
+ export type ViewPublicDunningCaseReminderRecipientResponse = {
2566
+ name: string | null;
2567
+ email: string;
2568
+ };
2569
+ export type ViewPublicDunningCaseReminderInvoiceResponse = {
2570
+ sequence: string;
2571
+ issuedOn: string;
2572
+ dueOn: string;
2573
+ outstandingBalance: MonetaryDto;
2574
+ level: number;
2575
+ daysOverdue: number;
2576
+ fee: MonetaryDto;
2577
+ isNew: boolean;
2578
+ };
2579
+ export type ViewPublicDunningCaseReminderOutstandingInvoiceResponse = {
2580
+ sequence: string;
2581
+ issuedOn: string;
2582
+ dueOn: string;
2583
+ outstandingBalance: MonetaryDto;
2584
+ daysOverdue: number;
2585
+ };
2586
+ export type ViewPublicDunningCaseReminderResponse = {
2587
+ createdAt: string;
2588
+ sentAt: string | null;
2589
+ level: number;
2590
+ issuer: ViewPublicDunningCaseReminderIssuerResponse;
2591
+ customer: ViewPublicDunningCaseReminderCustomerResponse;
2592
+ recipient: ViewPublicDunningCaseReminderRecipientResponse;
2593
+ invoices: Array<ViewPublicDunningCaseReminderInvoiceResponse>;
2594
+ outstandingInvoices: Array<ViewPublicDunningCaseReminderOutstandingInvoiceResponse>;
2595
+ totalFee: MonetaryDto;
2596
+ };
2597
+ export type InternalServerApiError = {
2598
+ /**
2599
+ * a human-readable explanation specific to this occurrence of the problem
2600
+ */
2601
+ detail?: string;
2602
+ status: '500';
2603
+ code: 'internal_server_error';
2604
+ };
2605
+ export type ViewPermissionIndexV1Data = {
2606
+ body?: never;
2607
+ path?: never;
2608
+ query?: never;
2609
+ url: '/api/v1/permissions';
2610
+ };
2611
+ export type ViewPermissionIndexV1Errors = {
2612
+ 500: {
2613
+ traceId?: string | null;
2614
+ errors?: Array<InternalServerApiError>;
2615
+ };
2616
+ };
2617
+ export type ViewPermissionIndexV1Error = ViewPermissionIndexV1Errors[keyof ViewPermissionIndexV1Errors];
2618
+ export type ViewPermissionIndexV1Responses = {
2619
+ 200: ViewPermissionIndexResponse;
2620
+ };
2621
+ export type ViewPermissionIndexV1Response = ViewPermissionIndexV1Responses[keyof ViewPermissionIndexV1Responses];
2622
+ export type GetApiInfoData = {
2623
+ body?: never;
2624
+ path?: never;
2625
+ query?: never;
2626
+ url: '/api';
2627
+ };
2628
+ export type GetApiInfoErrors = {
2629
+ 500: {
2630
+ traceId?: string | null;
2631
+ errors?: Array<InternalServerApiError>;
2632
+ };
2633
+ };
2634
+ export type GetApiInfoError = GetApiInfoErrors[keyof GetApiInfoErrors];
2635
+ export type GetApiInfoResponses = {
2636
+ 200: GetApiInfoResponse;
2637
+ };
2638
+ export type GetApiInfoResponse2 = GetApiInfoResponses[keyof GetApiInfoResponses];
2639
+ export type MigrateCollectionsV1Data = {
2640
+ body?: never;
2641
+ path?: never;
2642
+ query: {
2643
+ fresh: boolean;
2644
+ collections?: Array<TypesenseCollectionName>;
2645
+ };
2646
+ url: '/api/v1/typesense/migrate';
2647
+ };
2648
+ export type MigrateCollectionsV1Errors = {
2649
+ 500: {
2650
+ traceId?: string | null;
2651
+ errors?: Array<InternalServerApiError>;
2652
+ };
2653
+ };
2654
+ export type MigrateCollectionsV1Error = MigrateCollectionsV1Errors[keyof MigrateCollectionsV1Errors];
2655
+ export type MigrateCollectionsV1Responses = {
2656
+ 200: unknown;
2657
+ };
2658
+ export type ImportCollectionsV1Data = {
2659
+ body?: never;
2660
+ path?: never;
2661
+ query?: {
2662
+ collections?: Array<TypesenseCollectionName>;
2663
+ };
2664
+ url: '/api/v1/typesense/import';
2665
+ };
2666
+ export type ImportCollectionsV1Errors = {
2667
+ 500: {
2668
+ traceId?: string | null;
2669
+ errors?: Array<InternalServerApiError>;
2670
+ };
2671
+ };
2672
+ export type ImportCollectionsV1Error = ImportCollectionsV1Errors[keyof ImportCollectionsV1Errors];
2673
+ export type ImportCollectionsV1Responses = {
2674
+ 200: unknown;
2675
+ };
2676
+ export type ViewCollectionsV1Data = {
2677
+ body?: never;
2678
+ path?: never;
2679
+ query?: never;
2680
+ url: '/api/v1/typesense/collections/details';
2681
+ };
2682
+ export type ViewCollectionsV1Errors = {
2683
+ 500: {
2684
+ traceId?: string | null;
2685
+ errors?: Array<InternalServerApiError>;
2686
+ };
2687
+ };
2688
+ export type ViewCollectionsV1Error = ViewCollectionsV1Errors[keyof ViewCollectionsV1Errors];
2689
+ export type ViewCollectionsV1Responses = {
2690
+ 200: unknown;
2691
+ };
2692
+ export type ViewCollectionIndexV1Data = {
2693
+ body?: never;
2694
+ path?: never;
2695
+ query?: never;
2696
+ url: '/api/v1/typesense/collections';
2697
+ };
2698
+ export type ViewCollectionIndexV1Errors = {
2699
+ 500: {
2700
+ traceId?: string | null;
2701
+ errors?: Array<InternalServerApiError>;
2702
+ };
2703
+ };
2704
+ export type ViewCollectionIndexV1Error = ViewCollectionIndexV1Errors[keyof ViewCollectionIndexV1Errors];
2705
+ export type ViewCollectionIndexV1Responses = {
2706
+ 200: ViewCollectionIndexResponse;
2707
+ };
2708
+ export type ViewCollectionIndexV1Response = ViewCollectionIndexV1Responses[keyof ViewCollectionIndexV1Responses];
2709
+ export type SetUserRolesV1Data = {
2710
+ body: SetUserRolesCommand;
2711
+ path: {
2712
+ user: string;
2713
+ };
2714
+ query?: never;
2715
+ url: '/api/v1/users/{user}/role';
2716
+ };
2717
+ export type SetUserRolesV1Errors = {
2718
+ 404: {
2719
+ traceId?: string | null;
2720
+ errors?: Array<UserNotFoundError>;
2721
+ };
2722
+ 500: {
2723
+ traceId?: string | null;
2724
+ errors?: Array<InternalServerApiError>;
2725
+ };
2726
+ };
2727
+ export type SetUserRolesV1Error = SetUserRolesV1Errors[keyof SetUserRolesV1Errors];
2728
+ export type ViewMeV1Data = {
2729
+ body?: never;
2730
+ path?: never;
2731
+ query?: never;
2732
+ url: '/api/v1/users/me';
2733
+ };
2734
+ export type ViewMeV1Errors = {
2735
+ 404: {
2736
+ traceId?: string | null;
2737
+ errors?: Array<UserNotFoundError>;
2738
+ };
2739
+ 500: {
2740
+ traceId?: string | null;
2741
+ errors?: Array<InternalServerApiError>;
2742
+ };
2743
+ };
2744
+ export type ViewMeV1Error = ViewMeV1Errors[keyof ViewMeV1Errors];
2745
+ export type ViewMeV1Responses = {
2746
+ /**
2747
+ * User details retrieved
2748
+ */
2749
+ 200: ViewMeResponse;
2750
+ };
2751
+ export type ViewMeV1Response = ViewMeV1Responses[keyof ViewMeV1Responses];
2752
+ export type ViewUserDetailV1Data = {
2753
+ body?: never;
2754
+ path: {
2755
+ uuid: string;
2756
+ };
2757
+ query?: never;
2758
+ url: '/api/v1/users/{uuid}';
2759
+ };
2760
+ export type ViewUserDetailV1Errors = {
2761
+ 404: {
2762
+ traceId?: string | null;
2763
+ errors?: Array<UserNotFoundError>;
2764
+ };
2765
+ 500: {
2766
+ traceId?: string | null;
2767
+ errors?: Array<InternalServerApiError>;
2768
+ };
2769
+ };
2770
+ export type ViewUserDetailV1Error = ViewUserDetailV1Errors[keyof ViewUserDetailV1Errors];
2771
+ export type ViewUserDetailV1Responses = {
2772
+ /**
2773
+ * User details retrieved
2774
+ */
2775
+ 200: ViewUserDetailResponse;
2776
+ };
2777
+ export type ViewUserDetailV1Response = ViewUserDetailV1Responses[keyof ViewUserDetailV1Responses];
2778
+ export type ViewUserIndexV1Data = {
2779
+ body?: never;
2780
+ path?: never;
2781
+ query?: {
2782
+ pagination?: PaginatedOffsetQuery;
2783
+ search?: string;
2784
+ };
2785
+ url: '/api/v1/users';
2786
+ };
2787
+ export type ViewUserIndexV1Errors = {
2788
+ 500: {
2789
+ traceId?: string | null;
2790
+ errors?: Array<InternalServerApiError>;
2791
+ };
2792
+ };
2793
+ export type ViewUserIndexV1Error = ViewUserIndexV1Errors[keyof ViewUserIndexV1Errors];
2794
+ export type ViewUserIndexV1Responses = {
2795
+ /**
2796
+ * Users retrieved
2797
+ */
2798
+ 200: ViewUserIndexResponse;
2799
+ };
2800
+ export type ViewUserIndexV1Response = ViewUserIndexV1Responses[keyof ViewUserIndexV1Responses];
2801
+ export type ViewRoleIndexV1Data = {
2802
+ body?: never;
2803
+ path?: never;
2804
+ query?: never;
2805
+ url: '/api/v1/roles';
2806
+ };
2807
+ export type ViewRoleIndexV1Errors = {
2808
+ 500: {
2809
+ traceId?: string | null;
2810
+ errors?: Array<InternalServerApiError>;
2811
+ };
2812
+ };
2813
+ export type ViewRoleIndexV1Error = ViewRoleIndexV1Errors[keyof ViewRoleIndexV1Errors];
2814
+ export type ViewRoleIndexV1Responses = {
2815
+ /**
2816
+ * The roles has been successfully received.
2817
+ */
2818
+ 200: ViewRoleIndexResponse;
2819
+ };
2820
+ export type ViewRoleIndexV1Response = ViewRoleIndexV1Responses[keyof ViewRoleIndexV1Responses];
2821
+ export type UpdateRolesPermissionsV1Data = {
2822
+ body: UpdateRolesPermissionsCommand;
2823
+ path?: never;
2824
+ query?: never;
2825
+ url: '/api/v1/roles';
2826
+ };
2827
+ export type UpdateRolesPermissionsV1Errors = {
2828
+ 404: {
2829
+ traceId?: string | null;
2830
+ errors?: Array<RoleNotFoundError>;
2831
+ };
2832
+ 500: {
2833
+ traceId?: string | null;
2834
+ errors?: Array<InternalServerApiError>;
2835
+ };
2836
+ };
2837
+ export type UpdateRolesPermissionsV1Error = UpdateRolesPermissionsV1Errors[keyof UpdateRolesPermissionsV1Errors];
2838
+ export type UpdateRolesPermissionsV1Responses = {
2839
+ 204: void;
2840
+ };
2841
+ export type UpdateRolesPermissionsV1Response = UpdateRolesPermissionsV1Responses[keyof UpdateRolesPermissionsV1Responses];
2842
+ export type CreateRoleV1Data = {
2843
+ body: CreateRoleCommand;
2844
+ path?: never;
2845
+ query?: never;
2846
+ url: '/api/v1/roles';
2847
+ };
2848
+ export type CreateRoleV1Errors = {
2849
+ 500: {
2850
+ traceId?: string | null;
2851
+ errors?: Array<InternalServerApiError>;
2852
+ };
2853
+ };
2854
+ export type CreateRoleV1Error = CreateRoleV1Errors[keyof CreateRoleV1Errors];
2855
+ export type CreateRoleV1Responses = {
2856
+ 201: CreateRoleResponse;
2857
+ };
2858
+ export type CreateRoleV1Response = CreateRoleV1Responses[keyof CreateRoleV1Responses];
2859
+ export type ClearRolePermissionsCacheV1Data = {
2860
+ body: ClearRolePermissionsCacheCommand;
2861
+ path?: never;
2862
+ query?: never;
2863
+ url: '/api/v1/roles/clear-cache';
2864
+ };
2865
+ export type ClearRolePermissionsCacheV1Errors = {
2866
+ 500: {
2867
+ traceId?: string | null;
2868
+ errors?: Array<InternalServerApiError>;
2869
+ };
2870
+ };
2871
+ export type ClearRolePermissionsCacheV1Error = ClearRolePermissionsCacheV1Errors[keyof ClearRolePermissionsCacheV1Errors];
2872
+ export type ClearRolePermissionsCacheV1Responses = {
2873
+ 204: void;
2874
+ };
2875
+ export type ClearRolePermissionsCacheV1Response = ClearRolePermissionsCacheV1Responses[keyof ClearRolePermissionsCacheV1Responses];
2876
+ export type DeleteRoleV1Data = {
2877
+ body?: never;
2878
+ path: {
2879
+ role: string;
2880
+ };
2881
+ query?: never;
2882
+ url: '/api/v1/roles/{role}';
2883
+ };
2884
+ export type DeleteRoleV1Errors = {
2885
+ 404: {
2886
+ traceId?: string | null;
2887
+ errors?: Array<RoleNotFoundError>;
2888
+ };
2889
+ 500: {
2890
+ traceId?: string | null;
2891
+ errors?: Array<InternalServerApiError>;
2892
+ };
2893
+ };
2894
+ export type DeleteRoleV1Error = DeleteRoleV1Errors[keyof DeleteRoleV1Errors];
2895
+ export type DeleteRoleV1Responses = {
2896
+ 204: void;
2897
+ };
2898
+ export type DeleteRoleV1Response = DeleteRoleV1Responses[keyof DeleteRoleV1Responses];
2899
+ export type ViewRoleDetailV1Data = {
2900
+ body?: never;
2901
+ path: {
2902
+ role: string;
2903
+ };
2904
+ query?: never;
2905
+ url: '/api/v1/roles/{role}';
2906
+ };
2907
+ export type ViewRoleDetailV1Errors = {
2908
+ 404: {
2909
+ traceId?: string | null;
2910
+ errors?: Array<RoleNotFoundError>;
2911
+ };
2912
+ 500: {
2913
+ traceId?: string | null;
2914
+ errors?: Array<InternalServerApiError>;
2915
+ };
2916
+ };
2917
+ export type ViewRoleDetailV1Error = ViewRoleDetailV1Errors[keyof ViewRoleDetailV1Errors];
2918
+ export type ViewRoleDetailV1Responses = {
2919
+ /**
2920
+ * The role has been successfully received.
2921
+ */
2922
+ 200: ViewRoleDetailResponse;
2923
+ };
2924
+ export type ViewRoleDetailV1Response = ViewRoleDetailV1Responses[keyof ViewRoleDetailV1Responses];
2925
+ export type UpdateRoleV1Data = {
2926
+ body: UpdateRoleCommand;
2927
+ path: {
2928
+ role: string;
2929
+ };
2930
+ query?: never;
2931
+ url: '/api/v1/roles/{role}';
2932
+ };
2933
+ export type UpdateRoleV1Errors = {
2934
+ 404: {
2935
+ traceId?: string | null;
2936
+ errors?: Array<RoleNotFoundError>;
2937
+ };
2938
+ 500: {
2939
+ traceId?: string | null;
2940
+ errors?: Array<InternalServerApiError>;
2941
+ };
2942
+ };
2943
+ export type UpdateRoleV1Error = UpdateRoleV1Errors[keyof UpdateRoleV1Errors];
2944
+ export type UpdateRoleV1Responses = {
2945
+ 204: void;
2946
+ };
2947
+ export type UpdateRoleV1Response = UpdateRoleV1Responses[keyof UpdateRoleV1Responses];
2948
+ export type CreateFileV1Data = {
2949
+ body: CreateFileCommand;
2950
+ path?: never;
2951
+ query?: never;
2952
+ url: '/api/v1/files';
2953
+ };
2954
+ export type CreateFileV1Errors = {
2955
+ 500: {
2956
+ traceId?: string | null;
2957
+ errors?: Array<InternalServerApiError>;
2958
+ };
2959
+ };
2960
+ export type CreateFileV1Error = CreateFileV1Errors[keyof CreateFileV1Errors];
2961
+ export type CreateFileV1Responses = {
2962
+ 201: CreateFileResponse;
2963
+ };
2964
+ export type CreateFileV1Response = CreateFileV1Responses[keyof CreateFileV1Responses];
2965
+ export type ConfirmFileUploadV1Data = {
2966
+ body?: never;
2967
+ path: {
2968
+ file: string;
2969
+ };
2970
+ query?: never;
2971
+ url: '/api/v1/files/{file}/confirm-upload';
2972
+ };
2973
+ export type ConfirmFileUploadV1Errors = {
2974
+ 404: {
2975
+ traceId?: string | null;
2976
+ errors?: Array<FileNotFoundError>;
2977
+ };
2978
+ 500: {
2979
+ traceId?: string | null;
2980
+ errors?: Array<InternalServerApiError>;
2981
+ };
2982
+ };
2983
+ export type ConfirmFileUploadV1Error = ConfirmFileUploadV1Errors[keyof ConfirmFileUploadV1Errors];
2984
+ export type ConfirmFileUploadV1Responses = {
2985
+ 204: void;
2986
+ };
2987
+ export type ConfirmFileUploadV1Response = ConfirmFileUploadV1Responses[keyof ConfirmFileUploadV1Responses];
2988
+ export type ConfirmFileUploadV2Data = {
2989
+ body: ConfirmFileUploadCommand;
2990
+ path: {
2991
+ file: string;
2992
+ };
2993
+ query?: never;
2994
+ url: '/api/v2/files/{file}/confirm-upload';
2995
+ };
2996
+ export type ConfirmFileUploadV2Errors = {
2997
+ 404: {
2998
+ traceId?: string | null;
2999
+ errors?: Array<FileNotFoundError>;
3000
+ };
3001
+ 500: {
3002
+ traceId?: string | null;
3003
+ errors?: Array<InternalServerApiError>;
3004
+ };
3005
+ };
3006
+ export type ConfirmFileUploadV2Error = ConfirmFileUploadV2Errors[keyof ConfirmFileUploadV2Errors];
3007
+ export type ConfirmFileUploadV2Responses = {
3008
+ 204: void;
3009
+ };
3010
+ export type ConfirmFileUploadV2Response = ConfirmFileUploadV2Responses[keyof ConfirmFileUploadV2Responses];
3011
+ export type DownloadFileV1Data = {
3012
+ body?: never;
3013
+ path: {
3014
+ file: string;
3015
+ };
3016
+ query?: never;
3017
+ url: '/api/v1/files/{file}/download';
3018
+ };
3019
+ export type DownloadFileV1Errors = {
3020
+ 404: {
3021
+ traceId?: string | null;
3022
+ errors?: Array<FileNotFoundError>;
3023
+ };
3024
+ 500: {
3025
+ traceId?: string | null;
3026
+ errors?: Array<InternalServerApiError>;
3027
+ };
3028
+ };
3029
+ export type DownloadFileV1Error = DownloadFileV1Errors[keyof DownloadFileV1Errors];
3030
+ export type DownloadPublicFileV1Data = {
3031
+ body?: never;
3032
+ path: {
3033
+ file: string;
3034
+ };
3035
+ query: {
3036
+ token: string;
3037
+ };
3038
+ url: '/api/v1/public/files/{file}/download';
3039
+ };
3040
+ export type DownloadPublicFileV1Errors = {
3041
+ 404: {
3042
+ traceId?: string | null;
3043
+ errors?: Array<FileNotFoundError>;
3044
+ };
3045
+ 500: {
3046
+ traceId?: string | null;
3047
+ errors?: Array<InternalServerApiError>;
3048
+ };
3049
+ };
3050
+ export type DownloadPublicFileV1Error = DownloadPublicFileV1Errors[keyof DownloadPublicFileV1Errors];
3051
+ export type ViewUiPreferencesV1Data = {
3052
+ body?: never;
3053
+ path?: never;
3054
+ query?: never;
3055
+ url: '/api/v1/me/ui-preferences';
3056
+ };
3057
+ export type ViewUiPreferencesV1Errors = {
3058
+ 500: {
3059
+ traceId?: string | null;
3060
+ errors?: Array<InternalServerApiError>;
3061
+ };
3062
+ };
3063
+ export type ViewUiPreferencesV1Error = ViewUiPreferencesV1Errors[keyof ViewUiPreferencesV1Errors];
3064
+ export type ViewUiPreferencesV1Responses = {
3065
+ 200: ViewUiPreferencesResponse;
3066
+ };
3067
+ export type ViewUiPreferencesV1Response = ViewUiPreferencesV1Responses[keyof ViewUiPreferencesV1Responses];
3068
+ export type UpdateUiPreferencesV1Data = {
3069
+ body: UpdateUiPreferencesCommand;
3070
+ path?: never;
3071
+ query?: never;
3072
+ url: '/api/v1/me/ui-preferences';
3073
+ };
3074
+ export type UpdateUiPreferencesV1Errors = {
3075
+ 500: {
3076
+ traceId?: string | null;
3077
+ errors?: Array<InternalServerApiError>;
3078
+ };
3079
+ };
3080
+ export type UpdateUiPreferencesV1Error = UpdateUiPreferencesV1Errors[keyof UpdateUiPreferencesV1Errors];
3081
+ export type UpdateUiPreferencesV1Responses = {
3082
+ 200: unknown;
3083
+ };
3084
+ export type CreateOneSignalTokenV1Data = {
3085
+ body?: never;
3086
+ path?: never;
3087
+ query?: never;
3088
+ url: '/api/v1/onesignal/token';
3089
+ };
3090
+ export type CreateOneSignalTokenV1Errors = {
3091
+ 500: {
3092
+ traceId?: string | null;
3093
+ errors?: Array<InternalServerApiError>;
3094
+ };
3095
+ };
3096
+ export type CreateOneSignalTokenV1Error = CreateOneSignalTokenV1Errors[keyof CreateOneSignalTokenV1Errors];
3097
+ export type CreateOneSignalTokenV1Responses = {
3098
+ 201: CreateOneSignalTokenResponse;
3099
+ };
3100
+ export type CreateOneSignalTokenV1Response = CreateOneSignalTokenV1Responses[keyof CreateOneSignalTokenV1Responses];
3101
+ export type SendPushNotificationV1Data = {
3102
+ body: SendPushNotificationCommand;
3103
+ path?: never;
3104
+ query?: never;
3105
+ url: '/api/v1/onesignal/push-notification';
3106
+ };
3107
+ export type SendPushNotificationV1Errors = {
3108
+ 500: {
3109
+ traceId?: string | null;
3110
+ errors?: Array<InternalServerApiError>;
3111
+ };
3112
+ };
3113
+ export type SendPushNotificationV1Error = SendPushNotificationV1Errors[keyof SendPushNotificationV1Errors];
3114
+ export type SendPushNotificationV1Responses = {
3115
+ 201: unknown;
3116
+ };
3117
+ export type ViewDomainEventLogIndexV1Data = {
3118
+ body?: never;
3119
+ path?: never;
3120
+ query?: {
3121
+ filter?: ViewDomainEventLogIndexFilterQuery;
3122
+ pagination?: ViewDomainEventLogIndexPaginationQuery;
3123
+ };
3124
+ url: '/api/v1/event-logs';
3125
+ };
3126
+ export type ViewDomainEventLogIndexV1Errors = {
3127
+ 500: {
3128
+ traceId?: string | null;
3129
+ errors?: Array<InternalServerApiError>;
3130
+ };
3131
+ };
3132
+ export type ViewDomainEventLogIndexV1Error = ViewDomainEventLogIndexV1Errors[keyof ViewDomainEventLogIndexV1Errors];
3133
+ export type ViewDomainEventLogIndexV1Responses = {
3134
+ 200: ViewDomainEventLogIndexResponse;
3135
+ };
3136
+ export type ViewDomainEventLogIndexV1Response = ViewDomainEventLogIndexV1Responses[keyof ViewDomainEventLogIndexV1Responses];
3137
+ export type SearchCollectionsV1Data = {
3138
+ body?: never;
3139
+ path?: never;
3140
+ query: {
3141
+ filter?: SearchCollectionsFilterQuery;
3142
+ search: string;
3143
+ pagination?: SearchCollectionPaginationQuery;
3144
+ };
3145
+ url: '/api/v1/search';
3146
+ };
3147
+ export type SearchCollectionsV1Errors = {
3148
+ 500: {
3149
+ traceId?: string | null;
3150
+ errors?: Array<InternalServerApiError>;
3151
+ };
3152
+ };
3153
+ export type SearchCollectionsV1Error = SearchCollectionsV1Errors[keyof SearchCollectionsV1Errors];
3154
+ export type SearchCollectionsV1Responses = {
3155
+ 200: SearchCollectionsResponse;
3156
+ };
3157
+ export type SearchCollectionsV1Response = SearchCollectionsV1Responses[keyof SearchCollectionsV1Responses];
3158
+ export type GetMyNotificationPreferencesV1Data = {
3159
+ body?: never;
3160
+ path?: never;
3161
+ query?: never;
3162
+ url: '/api/v1/me/notification-preferences';
3163
+ };
3164
+ export type GetMyNotificationPreferencesV1Errors = {
3165
+ 500: {
3166
+ traceId?: string | null;
3167
+ errors?: Array<InternalServerApiError>;
3168
+ };
3169
+ };
3170
+ export type GetMyNotificationPreferencesV1Error = GetMyNotificationPreferencesV1Errors[keyof GetMyNotificationPreferencesV1Errors];
3171
+ export type GetMyNotificationPreferencesV1Responses = {
3172
+ 200: GetMyNotificationPreferencesResponse;
3173
+ };
3174
+ export type GetMyNotificationPreferencesV1Response = GetMyNotificationPreferencesV1Responses[keyof GetMyNotificationPreferencesV1Responses];
3175
+ export type GetNotificationTypesConfigV1Data = {
3176
+ body?: never;
3177
+ path?: never;
3178
+ query?: never;
3179
+ url: '/api/v1/notification-preferences/config';
3180
+ };
3181
+ export type GetNotificationTypesConfigV1Errors = {
3182
+ 500: {
3183
+ traceId?: string | null;
3184
+ errors?: Array<InternalServerApiError>;
3185
+ };
3186
+ };
3187
+ export type GetNotificationTypesConfigV1Error = GetNotificationTypesConfigV1Errors[keyof GetNotificationTypesConfigV1Errors];
3188
+ export type GetNotificationTypesConfigV1Responses = {
3189
+ 200: GetNotificationTypesConfigResponse;
3190
+ };
3191
+ export type GetNotificationTypesConfigV1Response = GetNotificationTypesConfigV1Responses[keyof GetNotificationTypesConfigV1Responses];
3192
+ export type UpdateMyChannelNotificationPreferenceV1Data = {
3193
+ body: UpdateMyChannelNotificationPreferenceCommand;
3194
+ path?: never;
3195
+ query?: never;
3196
+ url: '/api/v1/me/notification-preferences/channels';
3197
+ };
3198
+ export type UpdateMyChannelNotificationPreferenceV1Errors = {
3199
+ 500: {
3200
+ traceId?: string | null;
3201
+ errors?: Array<InternalServerApiError>;
3202
+ };
3203
+ };
3204
+ export type UpdateMyChannelNotificationPreferenceV1Error = UpdateMyChannelNotificationPreferenceV1Errors[keyof UpdateMyChannelNotificationPreferenceV1Errors];
3205
+ export type UpdateMyChannelNotificationPreferenceV1Responses = {
3206
+ 204: void;
3207
+ };
3208
+ export type UpdateMyChannelNotificationPreferenceV1Response = UpdateMyChannelNotificationPreferenceV1Responses[keyof UpdateMyChannelNotificationPreferenceV1Responses];
3209
+ export type SendTestNotificationV1Data = {
3210
+ body: SendTestNotificationCommand;
3211
+ path?: never;
3212
+ query?: never;
3213
+ url: '/api/v1/notifications/test-notification';
3214
+ };
3215
+ export type SendTestNotificationV1Errors = {
3216
+ 500: {
3217
+ traceId?: string | null;
3218
+ errors?: Array<InternalServerApiError>;
3219
+ };
3220
+ };
3221
+ export type SendTestNotificationV1Error = SendTestNotificationV1Errors[keyof SendTestNotificationV1Errors];
3222
+ export type SendTestNotificationV1Responses = {
3223
+ 204: void;
3224
+ };
3225
+ export type SendTestNotificationV1Response = SendTestNotificationV1Responses[keyof SendTestNotificationV1Responses];
3226
+ export type GetMyNotificationsV1Data = {
3227
+ body?: never;
3228
+ path?: never;
3229
+ query?: {
3230
+ filter?: GetMyNotificationsFilterQuery;
3231
+ pagination?: GetMyNotificationsPaginationQuery;
3232
+ };
3233
+ url: '/api/v1/me/notifications';
3234
+ };
3235
+ export type GetMyNotificationsV1Errors = {
3236
+ 500: {
3237
+ traceId?: string | null;
3238
+ errors?: Array<InternalServerApiError>;
3239
+ };
3240
+ };
3241
+ export type GetMyNotificationsV1Error = GetMyNotificationsV1Errors[keyof GetMyNotificationsV1Errors];
3242
+ export type GetMyNotificationsV1Responses = {
3243
+ 200: GetMyNotificationsResponse;
3244
+ };
3245
+ export type GetMyNotificationsV1Response = GetMyNotificationsV1Responses[keyof GetMyNotificationsV1Responses];
3246
+ export type ViewUnreadNotificationsCountV1Data = {
3247
+ body?: never;
3248
+ path?: never;
3249
+ query?: never;
3250
+ url: '/api/v1/me/notifications/unread-count';
3251
+ };
3252
+ export type ViewUnreadNotificationsCountV1Errors = {
3253
+ 500: {
3254
+ traceId?: string | null;
3255
+ errors?: Array<InternalServerApiError>;
3256
+ };
3257
+ };
3258
+ export type ViewUnreadNotificationsCountV1Error = ViewUnreadNotificationsCountV1Errors[keyof ViewUnreadNotificationsCountV1Errors];
3259
+ export type ViewUnreadNotificationsCountV1Responses = {
3260
+ 200: ViewUnreadNotificationsCountResponse;
3261
+ };
3262
+ export type ViewUnreadNotificationsCountV1Response = ViewUnreadNotificationsCountV1Responses[keyof ViewUnreadNotificationsCountV1Responses];
3263
+ export type ViewUserNotificationDetailV1Data = {
3264
+ body?: never;
3265
+ path: {
3266
+ notificationUuid: string;
3267
+ };
3268
+ query?: never;
3269
+ url: '/api/v1/me/notifications/{notificationUuid}';
3270
+ };
3271
+ export type ViewUserNotificationDetailV1Errors = {
3272
+ 404: {
3273
+ traceId?: string | null;
3274
+ errors?: Array<UserNotificationNotFoundError>;
3275
+ };
3276
+ 500: {
3277
+ traceId?: string | null;
3278
+ errors?: Array<InternalServerApiError>;
3279
+ };
3280
+ };
3281
+ export type ViewUserNotificationDetailV1Error = ViewUserNotificationDetailV1Errors[keyof ViewUserNotificationDetailV1Errors];
3282
+ export type ViewUserNotificationDetailV1Responses = {
3283
+ 200: SystemTestNotificationNotification;
3284
+ };
3285
+ export type ViewUserNotificationDetailV1Response = ViewUserNotificationDetailV1Responses[keyof ViewUserNotificationDetailV1Responses];
3286
+ export type MarkAllNotificationAsReadV1Data = {
3287
+ body?: never;
3288
+ path?: never;
3289
+ query?: never;
3290
+ url: '/api/v1/me/notifications/mark-as-read';
3291
+ };
3292
+ export type MarkAllNotificationAsReadV1Errors = {
3293
+ 500: {
3294
+ traceId?: string | null;
3295
+ errors?: Array<InternalServerApiError>;
3296
+ };
3297
+ };
3298
+ export type MarkAllNotificationAsReadV1Error = MarkAllNotificationAsReadV1Errors[keyof MarkAllNotificationAsReadV1Errors];
3299
+ export type MarkAllNotificationAsReadV1Responses = {
3300
+ 204: void;
3301
+ };
3302
+ export type MarkAllNotificationAsReadV1Response = MarkAllNotificationAsReadV1Responses[keyof MarkAllNotificationAsReadV1Responses];
3303
+ export type UpdateMyNotificationTypePreferenceV1Data = {
3304
+ body: UpdateMyNotificationTypePreferenceCommand;
3305
+ path?: never;
3306
+ query?: never;
3307
+ url: '/api/v1/me/notification-preferences/types';
3308
+ };
3309
+ export type UpdateMyNotificationTypePreferenceV1Errors = {
3310
+ 500: {
3311
+ traceId?: string | null;
3312
+ errors?: Array<InternalServerApiError>;
3313
+ };
3314
+ };
3315
+ export type UpdateMyNotificationTypePreferenceV1Error = UpdateMyNotificationTypePreferenceV1Errors[keyof UpdateMyNotificationTypePreferenceV1Errors];
3316
+ export type UpdateMyNotificationTypePreferenceV1Responses = {
3317
+ 204: void;
3318
+ };
3319
+ export type UpdateMyNotificationTypePreferenceV1Response = UpdateMyNotificationTypePreferenceV1Responses[keyof UpdateMyNotificationTypePreferenceV1Responses];
3320
+ export type MarkNotificationAsReadV1Data = {
3321
+ body?: never;
3322
+ path: {
3323
+ notificationUuid: string;
3324
+ };
3325
+ query?: never;
3326
+ url: '/api/v1/me/notifications/{notificationUuid}/mark-as-read';
3327
+ };
3328
+ export type MarkNotificationAsReadV1Errors = {
3329
+ 404: {
3330
+ traceId?: string | null;
3331
+ errors?: Array<UserNotificationNotFoundError>;
3332
+ };
3333
+ 500: {
3334
+ traceId?: string | null;
3335
+ errors?: Array<InternalServerApiError>;
3336
+ };
3337
+ };
3338
+ export type MarkNotificationAsReadV1Error = MarkNotificationAsReadV1Errors[keyof MarkNotificationAsReadV1Errors];
3339
+ export type MarkNotificationAsReadV1Responses = {
3340
+ 204: void;
3341
+ };
3342
+ export type MarkNotificationAsReadV1Response = MarkNotificationAsReadV1Responses[keyof MarkNotificationAsReadV1Responses];
3343
+ export type MarkNotificationAsUnreadV1Data = {
3344
+ body?: never;
3345
+ path: {
3346
+ notificationUuid: string;
3347
+ };
3348
+ query?: never;
3349
+ url: '/api/v1/me/notifications/{notificationUuid}/mark-as-unread';
3350
+ };
3351
+ export type MarkNotificationAsUnreadV1Errors = {
3352
+ 404: {
3353
+ traceId?: string | null;
3354
+ errors?: Array<UserNotificationNotFoundError>;
3355
+ };
3356
+ 500: {
3357
+ traceId?: string | null;
3358
+ errors?: Array<InternalServerApiError>;
3359
+ };
3360
+ };
3361
+ export type MarkNotificationAsUnreadV1Error = MarkNotificationAsUnreadV1Errors[keyof MarkNotificationAsUnreadV1Errors];
3362
+ export type MarkNotificationAsUnreadV1Responses = {
3363
+ 204: void;
3364
+ };
3365
+ export type MarkNotificationAsUnreadV1Response = MarkNotificationAsUnreadV1Responses[keyof MarkNotificationAsUnreadV1Responses];
3366
+ export type UpdateMyNotificationPreferencePresetV1Data = {
3367
+ body: UpdateMyNotificationPreferencePresetCommand;
3368
+ path?: never;
3369
+ query?: never;
3370
+ url: '/api/v1/me/notification-preferences/preset';
3371
+ };
3372
+ export type UpdateMyNotificationPreferencePresetV1Errors = {
3373
+ 500: {
3374
+ traceId?: string | null;
3375
+ errors?: Array<InternalServerApiError>;
3376
+ };
3377
+ };
3378
+ export type UpdateMyNotificationPreferencePresetV1Error = UpdateMyNotificationPreferencePresetV1Errors[keyof UpdateMyNotificationPreferencePresetV1Errors];
3379
+ export type UpdateMyNotificationPreferencePresetV1Responses = {
3380
+ 204: void;
3381
+ };
3382
+ export type UpdateMyNotificationPreferencePresetV1Response = UpdateMyNotificationPreferencePresetV1Responses[keyof UpdateMyNotificationPreferencePresetV1Responses];
3383
+ export type MigrateNotificationTypesV1Data = {
3384
+ body: MigrateNotificationTypesCommand;
3385
+ path?: never;
3386
+ query?: never;
3387
+ url: '/api/v1/notifications/migrate';
3388
+ };
3389
+ export type MigrateNotificationTypesV1Errors = {
3390
+ 400: {
3391
+ traceId?: string | null;
3392
+ errors?: Array<MigrationAlreadyPerformedError>;
3393
+ };
3394
+ 500: {
3395
+ traceId?: string | null;
3396
+ errors?: Array<InternalServerApiError>;
3397
+ };
3398
+ };
3399
+ export type MigrateNotificationTypesV1Error = MigrateNotificationTypesV1Errors[keyof MigrateNotificationTypesV1Errors];
3400
+ export type MigrateNotificationTypesV1Responses = {
3401
+ 204: void;
3402
+ };
3403
+ export type MigrateNotificationTypesV1Response = MigrateNotificationTypesV1Responses[keyof MigrateNotificationTypesV1Responses];
3404
+ export type ViewJobsIndexV1Data = {
3405
+ body?: never;
3406
+ path?: never;
3407
+ query?: {
3408
+ sort?: Array<ViewJobsIndexSortQuery>;
3409
+ filter?: ViewJobsIndexFilterQuery;
3410
+ pagination?: ViewJobsIndexPaginationQuery;
3411
+ };
3412
+ url: '/api/v1/jobs';
3413
+ };
3414
+ export type ViewJobsIndexV1Errors = {
3415
+ 500: {
3416
+ traceId?: string | null;
3417
+ errors?: Array<InternalServerApiError>;
3418
+ };
3419
+ };
3420
+ export type ViewJobsIndexV1Error = ViewJobsIndexV1Errors[keyof ViewJobsIndexV1Errors];
3421
+ export type ViewJobsIndexV1Responses = {
3422
+ 200: ViewJobsIndexResponse;
3423
+ };
3424
+ export type ViewJobsIndexV1Response = ViewJobsIndexV1Responses[keyof ViewJobsIndexV1Responses];
3425
+ export type ViewJobDetailV1Data = {
3426
+ body?: never;
3427
+ path: {
3428
+ jobId: string;
3429
+ };
3430
+ query?: never;
3431
+ url: '/api/v1/jobs/{jobId}';
3432
+ };
3433
+ export type ViewJobDetailV1Errors = {
3434
+ 404: {
3435
+ traceId?: string | null;
3436
+ errors?: Array<JobNotFoundError>;
3437
+ };
3438
+ 500: {
3439
+ traceId?: string | null;
3440
+ errors?: Array<InternalServerApiError>;
3441
+ };
3442
+ };
3443
+ export type ViewJobDetailV1Error = ViewJobDetailV1Errors[keyof ViewJobDetailV1Errors];
3444
+ export type ViewJobDetailV1Responses = {
3445
+ 200: ViewJobDetailResponse;
3446
+ };
3447
+ export type ViewJobDetailV1Response = ViewJobDetailV1Responses[keyof ViewJobDetailV1Responses];
3448
+ export type ViewTenantIndexV1Data = {
3449
+ body?: never;
3450
+ path?: never;
3451
+ query?: {
3452
+ pagination?: PaginatedOffsetQuery;
3453
+ search?: string;
3454
+ };
3455
+ url: '/api/v1/tenants';
3456
+ };
3457
+ export type ViewTenantIndexV1Errors = {
3458
+ 500: {
3459
+ traceId?: string | null;
3460
+ errors?: Array<InternalServerApiError>;
3461
+ };
3462
+ };
3463
+ export type ViewTenantIndexV1Error = ViewTenantIndexV1Errors[keyof ViewTenantIndexV1Errors];
3464
+ export type ViewTenantIndexV1Responses = {
3465
+ 200: ViewTenantIndexResponse;
3466
+ };
3467
+ export type ViewTenantIndexV1Response = ViewTenantIndexV1Responses[keyof ViewTenantIndexV1Responses];
3468
+ export type CreateTenantV1Data = {
3469
+ body: CreateTenantCommand;
3470
+ path?: never;
3471
+ query?: never;
3472
+ url: '/api/v1/tenants';
3473
+ };
3474
+ export type CreateTenantV1Errors = {
3475
+ 500: {
3476
+ traceId?: string | null;
3477
+ errors?: Array<InternalServerApiError>;
3478
+ };
3479
+ };
3480
+ export type CreateTenantV1Error = CreateTenantV1Errors[keyof CreateTenantV1Errors];
3481
+ export type CreateTenantV1Responses = {
3482
+ 201: CreateTenantResponse;
3483
+ };
3484
+ export type CreateTenantV1Response = CreateTenantV1Responses[keyof CreateTenantV1Responses];
3485
+ export type ViewTenantDetailV1Data = {
3486
+ body?: never;
3487
+ path: {
3488
+ uuid: string;
3489
+ };
3490
+ query?: never;
3491
+ url: '/api/v1/tenants/{uuid}';
3492
+ };
3493
+ export type ViewTenantDetailV1Errors = {
3494
+ 500: {
3495
+ traceId?: string | null;
3496
+ errors?: Array<InternalServerApiError>;
3497
+ };
3498
+ };
3499
+ export type ViewTenantDetailV1Error = ViewTenantDetailV1Errors[keyof ViewTenantDetailV1Errors];
3500
+ export type ViewTenantDetailV1Responses = {
3501
+ 200: ViewTenantDetailResponse;
3502
+ };
3503
+ export type ViewTenantDetailV1Response = ViewTenantDetailV1Responses[keyof ViewTenantDetailV1Responses];
3504
+ export type UpdateTenantV1Data = {
3505
+ body: UpdateTenantCommand;
3506
+ path: {
3507
+ uuid: string;
3508
+ };
3509
+ query?: never;
3510
+ url: '/api/v1/tenants/{uuid}';
3511
+ };
3512
+ export type UpdateTenantV1Errors = {
3513
+ 500: {
3514
+ traceId?: string | null;
3515
+ errors?: Array<InternalServerApiError>;
3516
+ };
3517
+ };
3518
+ export type UpdateTenantV1Error = UpdateTenantV1Errors[keyof UpdateTenantV1Errors];
3519
+ export type UpdateTenantV1Responses = {
3520
+ 204: void;
3521
+ };
3522
+ export type UpdateTenantV1Response = UpdateTenantV1Responses[keyof UpdateTenantV1Responses];
3523
+ export type AssignUserAsAdminV1Data = {
3524
+ body: AssignUserAsAdminCommand;
3525
+ path: {
3526
+ uuid: string;
3527
+ };
3528
+ query?: never;
3529
+ url: '/api/v1/tenants/{uuid}/assign-user-as-admin';
3530
+ };
3531
+ export type AssignUserAsAdminV1Errors = {
3532
+ 404: {
3533
+ traceId?: string | null;
3534
+ errors?: Array<UserNotFoundError>;
3535
+ };
3536
+ 409: {
3537
+ traceId?: string | null;
3538
+ errors?: Array<UserConnectedToOtherTenantError>;
3539
+ };
3540
+ 500: {
3541
+ traceId?: string | null;
3542
+ errors?: Array<InternalServerApiError>;
3543
+ };
3544
+ };
3545
+ export type AssignUserAsAdminV1Error = AssignUserAsAdminV1Errors[keyof AssignUserAsAdminV1Errors];
3546
+ export type ViewTenantLoginConfigV1Data = {
3547
+ body?: never;
3548
+ path: {
3549
+ slug: string;
3550
+ };
3551
+ query?: never;
3552
+ url: '/api/v1/tenants/{slug}/login-config';
3553
+ };
3554
+ export type ViewTenantLoginConfigV1Errors = {
3555
+ 404: {
3556
+ traceId?: string | null;
3557
+ errors?: Array<TenantSlugNotFoundError>;
3558
+ };
3559
+ 500: {
3560
+ traceId?: string | null;
3561
+ errors?: Array<InternalServerApiError>;
3562
+ };
3563
+ };
3564
+ export type ViewTenantLoginConfigV1Error = ViewTenantLoginConfigV1Errors[keyof ViewTenantLoginConfigV1Errors];
3565
+ export type ViewTenantLoginConfigV1Responses = {
3566
+ 200: ViewTenantLoginConfigResponse;
3567
+ };
3568
+ export type ViewTenantLoginConfigV1Response = ViewTenantLoginConfigV1Responses[keyof ViewTenantLoginConfigV1Responses];
3569
+ export type DeactivateTenantV1Data = {
3570
+ body?: never;
3571
+ path: {
3572
+ uuid: string;
3573
+ };
3574
+ query?: never;
3575
+ url: '/api/v1/tenants/{uuid}/deactivate';
3576
+ };
3577
+ export type DeactivateTenantV1Errors = {
3578
+ 500: {
3579
+ traceId?: string | null;
3580
+ errors?: Array<InternalServerApiError>;
3581
+ };
3582
+ };
3583
+ export type DeactivateTenantV1Error = DeactivateTenantV1Errors[keyof DeactivateTenantV1Errors];
3584
+ export type DeactivateTenantV1Responses = {
3585
+ 204: void;
3586
+ };
3587
+ export type DeactivateTenantV1Response = DeactivateTenantV1Responses[keyof DeactivateTenantV1Responses];
3588
+ export type ViewCustomerIndexV1Data = {
3589
+ body?: never;
3590
+ path?: never;
3591
+ query?: {
3592
+ pagination?: PaginatedOffsetQuery;
3593
+ filter?: ViewCustomerIndexFilterQuery;
3594
+ search?: string;
3595
+ };
3596
+ url: '/api/v1/customers';
3597
+ };
3598
+ export type ViewCustomerIndexV1Errors = {
3599
+ 500: {
3600
+ traceId?: string | null;
3601
+ errors?: Array<InternalServerApiError>;
3602
+ };
3603
+ };
3604
+ export type ViewCustomerIndexV1Error = ViewCustomerIndexV1Errors[keyof ViewCustomerIndexV1Errors];
3605
+ export type ViewCustomerIndexV1Responses = {
3606
+ 200: ViewCustomerIndexResponse;
3607
+ };
3608
+ export type ViewCustomerIndexV1Response = ViewCustomerIndexV1Responses[keyof ViewCustomerIndexV1Responses];
3609
+ export type CreateCustomerV1Data = {
3610
+ body: CreateCustomerCommand;
3611
+ path?: never;
3612
+ query?: never;
3613
+ url: '/api/v1/customers';
3614
+ };
3615
+ export type CreateCustomerV1Errors = {
3616
+ 409: {
3617
+ traceId?: string | null;
3618
+ errors?: Array<VatNumberAlreadyInUseError>;
3619
+ };
3620
+ 500: {
3621
+ traceId?: string | null;
3622
+ errors?: Array<InternalServerApiError>;
3623
+ };
3624
+ };
3625
+ export type CreateCustomerV1Error = CreateCustomerV1Errors[keyof CreateCustomerV1Errors];
3626
+ export type CreateCustomerV1Responses = {
3627
+ 200: CreateCustomerResponse;
3628
+ };
3629
+ export type CreateCustomerV1Response = CreateCustomerV1Responses[keyof CreateCustomerV1Responses];
3630
+ export type ViewCustomerDetailV1Data = {
3631
+ body?: never;
3632
+ path: {
3633
+ uuid: string;
3634
+ };
3635
+ query?: never;
3636
+ url: '/api/v1/customers/{uuid}';
3637
+ };
3638
+ export type ViewCustomerDetailV1Errors = {
3639
+ 404: {
3640
+ traceId?: string | null;
3641
+ errors?: Array<CustomerNotFoundError>;
3642
+ };
3643
+ 500: {
3644
+ traceId?: string | null;
3645
+ errors?: Array<InternalServerApiError>;
3646
+ };
3647
+ };
3648
+ export type ViewCustomerDetailV1Error = ViewCustomerDetailV1Errors[keyof ViewCustomerDetailV1Errors];
3649
+ export type ViewCustomerDetailV1Responses = {
3650
+ 200: ViewCustomerDetailResponse;
3651
+ };
3652
+ export type ViewCustomerDetailV1Response = ViewCustomerDetailV1Responses[keyof ViewCustomerDetailV1Responses];
3653
+ export type UpdateCustomerV1Data = {
3654
+ body: UpdateCustomerCommand;
3655
+ path: {
3656
+ uuid: string;
3657
+ };
3658
+ query?: never;
3659
+ url: '/api/v1/customers/{uuid}';
3660
+ };
3661
+ export type UpdateCustomerV1Errors = {
3662
+ 400: {
3663
+ traceId?: string | null;
3664
+ errors?: Array<VatNumberNotAllowedError>;
3665
+ };
3666
+ 404: {
3667
+ traceId?: string | null;
3668
+ errors?: Array<CustomerNotFoundError>;
3669
+ };
3670
+ 409: {
3671
+ traceId?: string | null;
3672
+ errors?: Array<VatNumberAlreadyInUseError | UpdateExternalCustomerError | VatNumberRequiredError>;
3673
+ };
3674
+ 500: {
3675
+ traceId?: string | null;
3676
+ errors?: Array<InternalServerApiError>;
3677
+ };
3678
+ };
3679
+ export type UpdateCustomerV1Error = UpdateCustomerV1Errors[keyof UpdateCustomerV1Errors];
3680
+ export type UpdateCustomerV1Responses = {
3681
+ 204: void;
3682
+ };
3683
+ export type UpdateCustomerV1Response = UpdateCustomerV1Responses[keyof UpdateCustomerV1Responses];
3684
+ export type DeactivateCustomerV1Data = {
3685
+ body?: never;
3686
+ path: {
3687
+ uuid: string;
3688
+ };
3689
+ query?: never;
3690
+ url: '/api/v1/customers/{uuid}/deactivate';
3691
+ };
3692
+ export type DeactivateCustomerV1Errors = {
3693
+ 500: {
3694
+ traceId?: string | null;
3695
+ errors?: Array<InternalServerApiError>;
3696
+ };
3697
+ };
3698
+ export type DeactivateCustomerV1Error = DeactivateCustomerV1Errors[keyof DeactivateCustomerV1Errors];
3699
+ export type DeactivateCustomerV1Responses = {
3700
+ 204: void;
3701
+ };
3702
+ export type DeactivateCustomerV1Response = DeactivateCustomerV1Responses[keyof DeactivateCustomerV1Responses];
3703
+ export type ReactivateCustomerV1Data = {
3704
+ body?: never;
3705
+ path: {
3706
+ uuid: string;
3707
+ };
3708
+ query?: never;
3709
+ url: '/api/v1/customers/{uuid}/reactivate';
3710
+ };
3711
+ export type ReactivateCustomerV1Errors = {
3712
+ 404: {
3713
+ traceId?: string | null;
3714
+ errors?: Array<CustomerNotFoundError>;
3715
+ };
3716
+ 409: {
3717
+ traceId?: string | null;
3718
+ errors?: Array<UpdateExternalCustomerError>;
3719
+ };
3720
+ 500: {
3721
+ traceId?: string | null;
3722
+ errors?: Array<InternalServerApiError>;
3723
+ };
3724
+ };
3725
+ export type ReactivateCustomerV1Error = ReactivateCustomerV1Errors[keyof ReactivateCustomerV1Errors];
3726
+ export type ReactivateCustomerV1Responses = {
3727
+ 204: void;
3728
+ };
3729
+ export type ReactivateCustomerV1Response = ReactivateCustomerV1Responses[keyof ReactivateCustomerV1Responses];
3730
+ export type CreateRecipientV1Data = {
3731
+ body: CreateRecipientCommand;
3732
+ path?: never;
3733
+ query?: never;
3734
+ url: '/api/v1/recipients';
3735
+ };
3736
+ export type CreateRecipientV1Errors = {
3737
+ 404: {
3738
+ traceId?: string | null;
3739
+ errors?: Array<CustomerNotFoundError>;
3740
+ };
3741
+ 500: {
3742
+ traceId?: string | null;
3743
+ errors?: Array<InternalServerApiError>;
3744
+ };
3745
+ };
3746
+ export type CreateRecipientV1Error = CreateRecipientV1Errors[keyof CreateRecipientV1Errors];
3747
+ export type CreateRecipientV1Responses = {
3748
+ 201: CreateRecipientResponse;
3749
+ };
3750
+ export type CreateRecipientV1Response = CreateRecipientV1Responses[keyof CreateRecipientV1Responses];
3751
+ export type SetDefaultRecipientV1Data = {
3752
+ body?: never;
3753
+ path: {
3754
+ uuid: string;
3755
+ };
3756
+ query?: never;
3757
+ url: '/api/v1/recipients/{uuid}/set-default';
3758
+ };
3759
+ export type SetDefaultRecipientV1Errors = {
3760
+ 404: {
3761
+ traceId?: string | null;
3762
+ errors?: Array<RecipientNotFoundError>;
3763
+ };
3764
+ 500: {
3765
+ traceId?: string | null;
3766
+ errors?: Array<InternalServerApiError>;
3767
+ };
3768
+ };
3769
+ export type SetDefaultRecipientV1Error = SetDefaultRecipientV1Errors[keyof SetDefaultRecipientV1Errors];
3770
+ export type SetDefaultRecipientV1Responses = {
3771
+ 204: void;
3772
+ };
3773
+ export type SetDefaultRecipientV1Response = SetDefaultRecipientV1Responses[keyof SetDefaultRecipientV1Responses];
3774
+ export type DeleteRecipientV1Data = {
3775
+ body?: never;
3776
+ path: {
3777
+ uuid: string;
3778
+ };
3779
+ query?: never;
3780
+ url: '/api/v1/recipients/{uuid}';
3781
+ };
3782
+ export type DeleteRecipientV1Errors = {
3783
+ 404: {
3784
+ traceId?: string | null;
3785
+ errors?: Array<RecipientNotFoundError>;
3786
+ };
3787
+ 500: {
3788
+ traceId?: string | null;
3789
+ errors?: Array<InternalServerApiError>;
3790
+ };
3791
+ };
3792
+ export type DeleteRecipientV1Error = DeleteRecipientV1Errors[keyof DeleteRecipientV1Errors];
3793
+ export type DeleteRecipientV1Responses = {
3794
+ 204: void;
3795
+ };
3796
+ export type DeleteRecipientV1Response = DeleteRecipientV1Responses[keyof DeleteRecipientV1Responses];
3797
+ export type ViewRecipientDetailV1Data = {
3798
+ body?: never;
3799
+ path: {
3800
+ uuid: string;
3801
+ };
3802
+ query?: never;
3803
+ url: '/api/v1/recipients/{uuid}';
3804
+ };
3805
+ export type ViewRecipientDetailV1Errors = {
3806
+ 404: {
3807
+ traceId?: string | null;
3808
+ errors?: Array<RecipientNotFoundError>;
3809
+ };
3810
+ 500: {
3811
+ traceId?: string | null;
3812
+ errors?: Array<InternalServerApiError>;
3813
+ };
3814
+ };
3815
+ export type ViewRecipientDetailV1Error = ViewRecipientDetailV1Errors[keyof ViewRecipientDetailV1Errors];
3816
+ export type ViewRecipientDetailV1Responses = {
3817
+ 200: ViewRecipientDetailResponse;
3818
+ };
3819
+ export type ViewRecipientDetailV1Response = ViewRecipientDetailV1Responses[keyof ViewRecipientDetailV1Responses];
3820
+ export type UpdateRecipientV1Data = {
3821
+ body: UpdateRecipientCommand;
3822
+ path: {
3823
+ uuid: string;
3824
+ };
3825
+ query?: never;
3826
+ url: '/api/v1/recipients/{uuid}';
3827
+ };
3828
+ export type UpdateRecipientV1Errors = {
3829
+ 404: {
3830
+ traceId?: string | null;
3831
+ errors?: Array<RecipientNotFoundError>;
3832
+ };
3833
+ 500: {
3834
+ traceId?: string | null;
3835
+ errors?: Array<InternalServerApiError>;
3836
+ };
3837
+ };
3838
+ export type UpdateRecipientV1Error = UpdateRecipientV1Errors[keyof UpdateRecipientV1Errors];
3839
+ export type UpdateRecipientV1Responses = {
3840
+ 204: void;
3841
+ };
3842
+ export type UpdateRecipientV1Response = UpdateRecipientV1Responses[keyof UpdateRecipientV1Responses];
3843
+ export type ViewCustomerRecipientIndexV1Data = {
3844
+ body?: never;
3845
+ path: {
3846
+ uuid: string;
3847
+ };
3848
+ query?: {
3849
+ pagination?: PaginatedOffsetQuery;
3850
+ };
3851
+ url: '/api/v1/customers/{uuid}/recipients';
3852
+ };
3853
+ export type ViewCustomerRecipientIndexV1Errors = {
3854
+ 500: {
3855
+ traceId?: string | null;
3856
+ errors?: Array<InternalServerApiError>;
3857
+ };
3858
+ };
3859
+ export type ViewCustomerRecipientIndexV1Error = ViewCustomerRecipientIndexV1Errors[keyof ViewCustomerRecipientIndexV1Errors];
3860
+ export type ViewCustomerRecipientIndexV1Responses = {
3861
+ 200: ViewCustomerRecipientIndexResponse;
3862
+ };
3863
+ export type ViewCustomerRecipientIndexV1Response = ViewCustomerRecipientIndexV1Responses[keyof ViewCustomerRecipientIndexV1Responses];
3864
+ export type ViewMyIssuerV1Data = {
3865
+ body?: never;
3866
+ path?: never;
3867
+ query?: never;
3868
+ url: '/api/v1/issuers';
3869
+ };
3870
+ export type ViewMyIssuerV1Errors = {
3871
+ 404: {
3872
+ traceId?: string | null;
3873
+ errors?: Array<IssuerNotFoundError>;
3874
+ };
3875
+ 500: {
3876
+ traceId?: string | null;
3877
+ errors?: Array<InternalServerApiError>;
3878
+ };
3879
+ };
3880
+ export type ViewMyIssuerV1Error = ViewMyIssuerV1Errors[keyof ViewMyIssuerV1Errors];
3881
+ export type ViewMyIssuerV1Responses = {
3882
+ 200: ViewMyIssuerResponse;
3883
+ };
3884
+ export type ViewMyIssuerV1Response = ViewMyIssuerV1Responses[keyof ViewMyIssuerV1Responses];
3885
+ export type UpdateMyIssuerV1Data = {
3886
+ body: UpdateMyIssuerCommand;
3887
+ path?: never;
3888
+ query?: never;
3889
+ url: '/api/v1/issuers';
3890
+ };
3891
+ export type UpdateMyIssuerV1Errors = {
3892
+ 404: {
3893
+ traceId?: string | null;
3894
+ errors?: Array<IssuerNotFoundError>;
3895
+ };
3896
+ 500: {
3897
+ traceId?: string | null;
3898
+ errors?: Array<InternalServerApiError>;
3899
+ };
3900
+ };
3901
+ export type UpdateMyIssuerV1Error = UpdateMyIssuerV1Errors[keyof UpdateMyIssuerV1Errors];
3902
+ export type UpdateMyIssuerV1Responses = {
3903
+ 204: void;
3904
+ };
3905
+ export type UpdateMyIssuerV1Response = UpdateMyIssuerV1Responses[keyof UpdateMyIssuerV1Responses];
3906
+ export type ViewPublicInvoiceDetailV1Data = {
3907
+ body?: never;
3908
+ path?: never;
3909
+ query: {
3910
+ token: string;
3911
+ };
3912
+ url: '/api/v1/public/invoices';
3913
+ };
3914
+ export type ViewPublicInvoiceDetailV1Errors = {
3915
+ 404: {
3916
+ traceId?: string | null;
3917
+ errors?: Array<InvoiceNotFoundError>;
3918
+ };
3919
+ 500: {
3920
+ traceId?: string | null;
3921
+ errors?: Array<InternalServerApiError>;
3922
+ };
3923
+ };
3924
+ export type ViewPublicInvoiceDetailV1Error = ViewPublicInvoiceDetailV1Errors[keyof ViewPublicInvoiceDetailV1Errors];
3925
+ export type ViewPublicInvoiceDetailV1Responses = {
3926
+ 200: ViewPublicInvoiceDetailResponse;
3927
+ };
3928
+ export type ViewPublicInvoiceDetailV1Response = ViewPublicInvoiceDetailV1Responses[keyof ViewPublicInvoiceDetailV1Responses];
3929
+ export type ViewInvoiceIndexV1Data = {
3930
+ body?: never;
3931
+ path?: never;
3932
+ query?: {
3933
+ pagination?: PaginatedOffsetQuery;
3934
+ sort?: Array<ViewInvoiceIndexSortQuery>;
3935
+ filter?: ViewInvoiceIndexFilterQuery;
3936
+ search?: string;
3937
+ };
3938
+ url: '/api/v1/invoices';
3939
+ };
3940
+ export type ViewInvoiceIndexV1Errors = {
3941
+ 500: {
3942
+ traceId?: string | null;
3943
+ errors?: Array<InternalServerApiError>;
3944
+ };
3945
+ };
3946
+ export type ViewInvoiceIndexV1Error = ViewInvoiceIndexV1Errors[keyof ViewInvoiceIndexV1Errors];
3947
+ export type ViewInvoiceIndexV1Responses = {
3948
+ 200: ViewInvoiceIndexResponse;
3949
+ };
3950
+ export type ViewInvoiceIndexV1Response = ViewInvoiceIndexV1Responses[keyof ViewInvoiceIndexV1Responses];
3951
+ export type CreateInvoiceV1Data = {
3952
+ body: CreateInvoiceCommand;
3953
+ path?: never;
3954
+ query?: never;
3955
+ url: '/api/v1/invoices';
3956
+ };
3957
+ export type CreateInvoiceV1Errors = {
3958
+ 404: {
3959
+ traceId?: string | null;
3960
+ errors?: Array<CustomerNotFoundError | IssuerNotFoundError | UserNotFoundError>;
3961
+ };
3962
+ 500: {
3963
+ traceId?: string | null;
3964
+ errors?: Array<InternalServerApiError>;
3965
+ };
3966
+ };
3967
+ export type CreateInvoiceV1Error = CreateInvoiceV1Errors[keyof CreateInvoiceV1Errors];
3968
+ export type CreateInvoiceV1Responses = {
3969
+ 201: CreateInvoiceResponse;
3970
+ };
3971
+ export type CreateInvoiceV1Response = CreateInvoiceV1Responses[keyof CreateInvoiceV1Responses];
3972
+ export type DeleteInvoiceV1Data = {
3973
+ body?: never;
3974
+ path: {
3975
+ uuid: string;
3976
+ };
3977
+ query?: never;
3978
+ url: '/api/v1/invoices/{uuid}';
3979
+ };
3980
+ export type DeleteInvoiceV1Errors = {
3981
+ 404: {
3982
+ traceId?: string | null;
3983
+ errors?: Array<InvoiceNotFoundError>;
3984
+ };
3985
+ 409: {
3986
+ traceId?: string | null;
3987
+ errors?: Array<InvoiceNotEditableError>;
3988
+ };
3989
+ 500: {
3990
+ traceId?: string | null;
3991
+ errors?: Array<InternalServerApiError>;
3992
+ };
3993
+ };
3994
+ export type DeleteInvoiceV1Error = DeleteInvoiceV1Errors[keyof DeleteInvoiceV1Errors];
3995
+ export type DeleteInvoiceV1Responses = {
3996
+ 204: void;
3997
+ };
3998
+ export type DeleteInvoiceV1Response = DeleteInvoiceV1Responses[keyof DeleteInvoiceV1Responses];
3999
+ export type ViewInvoiceDetailV1Data = {
4000
+ body?: never;
4001
+ path: {
4002
+ uuid: string;
4003
+ };
4004
+ query?: never;
4005
+ url: '/api/v1/invoices/{uuid}';
4006
+ };
4007
+ export type ViewInvoiceDetailV1Errors = {
4008
+ 404: {
4009
+ traceId?: string | null;
4010
+ errors?: Array<InvoiceNotFoundError>;
4011
+ };
4012
+ 500: {
4013
+ traceId?: string | null;
4014
+ errors?: Array<InternalServerApiError>;
4015
+ };
4016
+ };
4017
+ export type ViewInvoiceDetailV1Error = ViewInvoiceDetailV1Errors[keyof ViewInvoiceDetailV1Errors];
4018
+ export type ViewInvoiceDetailV1Responses = {
4019
+ 200: ViewInvoiceDetailResponse;
4020
+ };
4021
+ export type ViewInvoiceDetailV1Response = ViewInvoiceDetailV1Responses[keyof ViewInvoiceDetailV1Responses];
4022
+ export type UpdateInvoiceV1Data = {
4023
+ body: UpdateInvoiceCommand;
4024
+ path: {
4025
+ uuid: string;
4026
+ };
4027
+ query?: never;
4028
+ url: '/api/v1/invoices/{uuid}';
4029
+ };
4030
+ export type UpdateInvoiceV1Errors = {
4031
+ 400: {
4032
+ traceId?: string | null;
4033
+ errors?: Array<CustomFieldValueValidationError>;
4034
+ };
4035
+ 404: {
4036
+ traceId?: string | null;
4037
+ errors?: Array<InvoiceNotFoundError>;
4038
+ };
4039
+ 409: {
4040
+ traceId?: string | null;
4041
+ errors?: Array<EditNonDraftInvoiceError>;
4042
+ };
4043
+ 500: {
4044
+ traceId?: string | null;
4045
+ errors?: Array<InternalServerApiError>;
4046
+ };
4047
+ };
4048
+ export type UpdateInvoiceV1Error = UpdateInvoiceV1Errors[keyof UpdateInvoiceV1Errors];
4049
+ export type UpdateInvoiceV1Responses = {
4050
+ 204: void;
4051
+ };
4052
+ export type UpdateInvoiceV1Response = UpdateInvoiceV1Responses[keyof UpdateInvoiceV1Responses];
4053
+ export type UpdateInvoiceLinesV1Data = {
4054
+ body: UpdateInvoiceLinesCommand;
4055
+ path: {
4056
+ uuid: string;
4057
+ };
4058
+ query?: never;
4059
+ url: '/api/v1/invoices/{uuid}/lines';
4060
+ };
4061
+ export type UpdateInvoiceLinesV1Errors = {
4062
+ 400: {
4063
+ traceId?: string | null;
4064
+ errors?: Array<DiscountLineHasDiscountError | InvoiceLineAndGroupPositionOverlapError | CustomFieldValueValidationError>;
4065
+ };
4066
+ 404: {
4067
+ traceId?: string | null;
4068
+ errors?: Array<InvoiceNotFoundError>;
4069
+ };
4070
+ 409: {
4071
+ traceId?: string | null;
4072
+ errors?: Array<EditNonDraftInvoiceError | CurrencyMismatchError | InvoiceNotStandardError>;
4073
+ };
4074
+ 500: {
4075
+ traceId?: string | null;
4076
+ errors?: Array<InternalServerApiError>;
4077
+ };
4078
+ };
4079
+ export type UpdateInvoiceLinesV1Error = UpdateInvoiceLinesV1Errors[keyof UpdateInvoiceLinesV1Errors];
4080
+ export type UpdateInvoiceLinesV1Responses = {
4081
+ 204: void;
4082
+ };
4083
+ export type UpdateInvoiceLinesV1Response = UpdateInvoiceLinesV1Responses[keyof UpdateInvoiceLinesV1Responses];
4084
+ export type ApplyInvoiceDiscountV1Data = {
4085
+ body: ApplyInvoiceDiscountCommandV1;
4086
+ path: {
4087
+ uuid: string;
4088
+ };
4089
+ query?: never;
4090
+ url: '/api/v1/invoices/{uuid}/discount';
4091
+ };
4092
+ export type ApplyInvoiceDiscountV1Errors = {
4093
+ 404: {
4094
+ traceId?: string | null;
4095
+ errors?: Array<InvoiceNotFoundError | IssuerNotFoundError>;
4096
+ };
4097
+ 409: {
4098
+ traceId?: string | null;
4099
+ errors?: Array<EditNonDraftInvoiceError | CurrencyMismatchError | GlobalDiscountExceedsTotalNetError | InvoiceNotStandardError>;
4100
+ };
4101
+ 500: {
4102
+ traceId?: string | null;
4103
+ errors?: Array<InternalServerApiError>;
4104
+ };
4105
+ };
4106
+ export type ApplyInvoiceDiscountV1Error = ApplyInvoiceDiscountV1Errors[keyof ApplyInvoiceDiscountV1Errors];
4107
+ export type ApplyInvoiceDiscountV1Responses = {
4108
+ 204: void;
4109
+ };
4110
+ export type ApplyInvoiceDiscountV1Response = ApplyInvoiceDiscountV1Responses[keyof ApplyInvoiceDiscountV1Responses];
4111
+ export type ApplyInvoiceDiscountV2Data = {
4112
+ body: ApplyInvoiceDiscountCommandV2;
4113
+ path: {
4114
+ uuid: string;
4115
+ };
4116
+ query?: never;
4117
+ url: '/api/v2/invoices/{uuid}/discount';
4118
+ };
4119
+ export type ApplyInvoiceDiscountV2Errors = {
4120
+ 404: {
4121
+ traceId?: string | null;
4122
+ errors?: Array<InvoiceNotFoundError>;
4123
+ };
4124
+ 409: {
4125
+ traceId?: string | null;
4126
+ errors?: Array<EditNonDraftInvoiceError | CurrencyMismatchError | GlobalDiscountExceedsTotalNetError | InvoiceNotStandardError>;
4127
+ };
4128
+ 500: {
4129
+ traceId?: string | null;
4130
+ errors?: Array<InternalServerApiError>;
4131
+ };
4132
+ };
4133
+ export type ApplyInvoiceDiscountV2Error = ApplyInvoiceDiscountV2Errors[keyof ApplyInvoiceDiscountV2Errors];
4134
+ export type ApplyInvoiceDiscountV2Responses = {
4135
+ 204: void;
4136
+ };
4137
+ export type ApplyInvoiceDiscountV2Response = ApplyInvoiceDiscountV2Responses[keyof ApplyInvoiceDiscountV2Responses];
4138
+ export type UpdateInvoiceAttachmentsV1Data = {
4139
+ body: UpdateInvoiceAttachmentsCommand;
4140
+ path: {
4141
+ uuid: string;
4142
+ };
4143
+ query?: never;
4144
+ url: '/api/v1/invoices/{uuid}/attachments';
4145
+ };
4146
+ export type UpdateInvoiceAttachmentsV1Errors = {
4147
+ 404: {
4148
+ traceId?: string | null;
4149
+ errors?: Array<InvoiceNotFoundError | FileNotFoundError>;
4150
+ };
4151
+ 409: {
4152
+ traceId?: string | null;
4153
+ errors?: Array<EditNonDraftInvoiceError | FileUnconfirmedError>;
4154
+ };
4155
+ 500: {
4156
+ traceId?: string | null;
4157
+ errors?: Array<InternalServerApiError>;
4158
+ };
4159
+ };
4160
+ export type UpdateInvoiceAttachmentsV1Error = UpdateInvoiceAttachmentsV1Errors[keyof UpdateInvoiceAttachmentsV1Errors];
4161
+ export type UpdateInvoiceAttachmentsV1Responses = {
4162
+ 204: void;
4163
+ };
4164
+ export type UpdateInvoiceAttachmentsV1Response = UpdateInvoiceAttachmentsV1Responses[keyof UpdateInvoiceAttachmentsV1Responses];
4165
+ export type FinalizeInvoiceV1Data = {
4166
+ body?: never;
4167
+ path: {
4168
+ uuid: string;
4169
+ };
4170
+ query?: never;
4171
+ url: '/api/v1/invoices/{uuid}/finalize';
4172
+ };
4173
+ export type FinalizeInvoiceV1Errors = {
4174
+ 404: {
4175
+ traceId?: string | null;
4176
+ errors?: Array<InvoiceNotFoundError | InvoiceSequenceCounterNotFoundError>;
4177
+ };
4178
+ 409: {
4179
+ traceId?: string | null;
4180
+ errors?: Array<InvoiceHasNoLinesError | InvoiceAlreadyFinalizedError>;
4181
+ };
4182
+ 500: {
4183
+ traceId?: string | null;
4184
+ errors?: Array<InternalServerApiError>;
4185
+ };
4186
+ };
4187
+ export type FinalizeInvoiceV1Error = FinalizeInvoiceV1Errors[keyof FinalizeInvoiceV1Errors];
4188
+ export type CreateCreditNoteV1Data = {
4189
+ body?: never;
4190
+ path: {
4191
+ uuid: string;
4192
+ };
4193
+ query?: never;
4194
+ url: '/api/v1/invoices/{uuid}/credit-note';
4195
+ };
4196
+ export type CreateCreditNoteV1Errors = {
4197
+ 404: {
4198
+ traceId?: string | null;
4199
+ errors?: Array<InvoiceNotFoundError | UserNotFoundError>;
4200
+ };
4201
+ 409: {
4202
+ traceId?: string | null;
4203
+ errors?: Array<CreditNoteFromDraftInvoiceError | CreditNoteFromCreditNoteError | CreditNoteSettledError>;
4204
+ };
4205
+ 500: {
4206
+ traceId?: string | null;
4207
+ errors?: Array<InternalServerApiError>;
4208
+ };
4209
+ };
4210
+ export type CreateCreditNoteV1Error = CreateCreditNoteV1Errors[keyof CreateCreditNoteV1Errors];
4211
+ export type CreateCreditNoteV1Responses = {
4212
+ 201: CreateCreditNoteResponse;
4213
+ };
4214
+ export type CreateCreditNoteV1Response = CreateCreditNoteV1Responses[keyof CreateCreditNoteV1Responses];
4215
+ export type UpdateCreditNoteInvoiceLinesV1Data = {
4216
+ body: UpdateCreditNoteInvoiceLinesCommand;
4217
+ path: {
4218
+ uuid: string;
4219
+ };
4220
+ query?: never;
4221
+ url: '/api/v1/credit-notes/{uuid}/lines';
4222
+ };
4223
+ export type UpdateCreditNoteInvoiceLinesV1Errors = {
4224
+ 400: {
4225
+ traceId?: string | null;
4226
+ errors?: Array<DiscountLineHasDiscountError | InvoiceLineAndGroupPositionOverlapError | CustomFieldValueValidationError>;
4227
+ };
4228
+ 404: {
4229
+ traceId?: string | null;
4230
+ errors?: Array<InvoiceNotFoundError>;
4231
+ };
4232
+ 409: {
4233
+ traceId?: string | null;
4234
+ errors?: Array<InvoiceNotCreditNoteError | EditNonDraftInvoiceError | CurrencyMismatchError>;
4235
+ };
4236
+ 500: {
4237
+ traceId?: string | null;
4238
+ errors?: Array<InternalServerApiError>;
4239
+ };
4240
+ };
4241
+ export type UpdateCreditNoteInvoiceLinesV1Error = UpdateCreditNoteInvoiceLinesV1Errors[keyof UpdateCreditNoteInvoiceLinesV1Errors];
4242
+ export type UpdateCreditNoteInvoiceLinesV1Responses = {
4243
+ 204: void;
4244
+ };
4245
+ export type UpdateCreditNoteInvoiceLinesV1Response = UpdateCreditNoteInvoiceLinesV1Responses[keyof UpdateCreditNoteInvoiceLinesV1Responses];
4246
+ export type UpdateCreditNoteV1Data = {
4247
+ body: UpdateCreditNoteCommand;
4248
+ path: {
4249
+ uuid: string;
4250
+ };
4251
+ query?: never;
4252
+ url: '/api/v1/credit-notes/{uuid}';
4253
+ };
4254
+ export type UpdateCreditNoteV1Errors = {
4255
+ 400: {
4256
+ traceId?: string | null;
4257
+ errors?: Array<CustomFieldValueValidationError>;
4258
+ };
4259
+ 404: {
4260
+ traceId?: string | null;
4261
+ errors?: Array<InvoiceNotFoundError>;
4262
+ };
4263
+ 409: {
4264
+ traceId?: string | null;
4265
+ errors?: Array<InvoiceNotCreditNoteError | EditNonDraftInvoiceError>;
4266
+ };
4267
+ 500: {
4268
+ traceId?: string | null;
4269
+ errors?: Array<InternalServerApiError>;
4270
+ };
4271
+ };
4272
+ export type UpdateCreditNoteV1Error = UpdateCreditNoteV1Errors[keyof UpdateCreditNoteV1Errors];
4273
+ export type UpdateCreditNoteV1Responses = {
4274
+ 204: void;
4275
+ };
4276
+ export type UpdateCreditNoteV1Response = UpdateCreditNoteV1Responses[keyof UpdateCreditNoteV1Responses];
4277
+ export type FinalizeCreditNoteV1Data = {
4278
+ body?: never;
4279
+ path: {
4280
+ uuid: string;
4281
+ };
4282
+ query?: never;
4283
+ url: '/api/v1/credit-notes/{uuid}/finalize';
4284
+ };
4285
+ export type FinalizeCreditNoteV1Errors = {
4286
+ 404: {
4287
+ traceId?: string | null;
4288
+ errors?: Array<InvoiceNotFoundError | InvoiceSequenceCounterNotFoundError>;
4289
+ };
4290
+ 409: {
4291
+ traceId?: string | null;
4292
+ errors?: Array<InvoiceNotCreditNoteError | EditNonDraftInvoiceError | InvoiceHasNoLinesError | CreditNoteExternalRemarksEmptyError | CreditNoteExceedsCreditableAmountError>;
4293
+ };
4294
+ 500: {
4295
+ traceId?: string | null;
4296
+ errors?: Array<InternalServerApiError>;
4297
+ };
4298
+ };
4299
+ export type FinalizeCreditNoteV1Error = FinalizeCreditNoteV1Errors[keyof FinalizeCreditNoteV1Errors];
4300
+ export type SendInvoiceV1Data = {
4301
+ body?: never;
4302
+ path: {
4303
+ uuid: string;
4304
+ };
4305
+ query?: never;
4306
+ url: '/api/v1/invoices/{uuid}/send-email';
4307
+ };
4308
+ export type SendInvoiceV1Errors = {
4309
+ 404: {
4310
+ traceId?: string | null;
4311
+ errors?: Array<InvoiceNotFoundError>;
4312
+ };
4313
+ 409: {
4314
+ traceId?: string | null;
4315
+ errors?: Array<InvoiceInDraftError | InvoicePdfNotGeneratedError | CustomerHasNoDefaultRecipientError | InvoiceMaxRemindersReachedError>;
4316
+ };
4317
+ 500: {
4318
+ traceId?: string | null;
4319
+ errors?: Array<InternalServerApiError>;
4320
+ };
4321
+ 503: {
4322
+ traceId?: string | null;
4323
+ errors?: Array<MailUnavailableError>;
4324
+ };
4325
+ };
4326
+ export type SendInvoiceV1Error = SendInvoiceV1Errors[keyof SendInvoiceV1Errors];
4327
+ export type BulkSendInvoiceV1Data = {
4328
+ body?: never;
4329
+ path?: never;
4330
+ query?: {
4331
+ filter?: BulkSendInvoiceFilterQuery;
4332
+ search?: string;
4333
+ };
4334
+ url: '/api/v1/invoices/send-mail';
4335
+ };
4336
+ export type BulkSendInvoiceV1Errors = {
4337
+ 500: {
4338
+ traceId?: string | null;
4339
+ errors?: Array<InternalServerApiError>;
4340
+ };
4341
+ };
4342
+ export type BulkSendInvoiceV1Error = BulkSendInvoiceV1Errors[keyof BulkSendInvoiceV1Errors];
4343
+ export type BulkSendInvoiceV1Responses = {
4344
+ 200: BulkSendInvoiceResponse;
4345
+ };
4346
+ export type BulkSendInvoiceV1Response = BulkSendInvoiceV1Responses[keyof BulkSendInvoiceV1Responses];
4347
+ export type PreviewBulkSendInvoiceV1Data = {
4348
+ body?: never;
4349
+ path?: never;
4350
+ query?: {
4351
+ filter?: PreviewBulkSendInvoiceFilterQuery;
4352
+ search?: string;
4353
+ };
4354
+ url: '/api/v1/invoices/send-mail/preview';
4355
+ };
4356
+ export type PreviewBulkSendInvoiceV1Errors = {
4357
+ 500: {
4358
+ traceId?: string | null;
4359
+ errors?: Array<InternalServerApiError>;
4360
+ };
4361
+ };
4362
+ export type PreviewBulkSendInvoiceV1Error = PreviewBulkSendInvoiceV1Errors[keyof PreviewBulkSendInvoiceV1Errors];
4363
+ export type PreviewBulkSendInvoiceV1Responses = {
4364
+ 200: PreviewBulkSendInvoiceResponse;
4365
+ };
4366
+ export type PreviewBulkSendInvoiceV1Response = PreviewBulkSendInvoiceV1Responses[keyof PreviewBulkSendInvoiceV1Responses];
4367
+ export type MarkInvoiceAsReadyV1Data = {
4368
+ body?: never;
4369
+ path: {
4370
+ uuid: string;
4371
+ };
4372
+ query?: never;
4373
+ url: '/api/v1/invoices/{uuid}/mark-as-ready';
4374
+ };
4375
+ export type MarkInvoiceAsReadyV1Errors = {
4376
+ 404: {
4377
+ traceId?: string | null;
4378
+ errors?: Array<InvoiceNotFoundError>;
4379
+ };
4380
+ 409: {
4381
+ traceId?: string | null;
4382
+ errors?: Array<InvalidInvoiceTransitionError>;
4383
+ };
4384
+ 500: {
4385
+ traceId?: string | null;
4386
+ errors?: Array<InternalServerApiError>;
4387
+ };
4388
+ };
4389
+ export type MarkInvoiceAsReadyV1Error = MarkInvoiceAsReadyV1Errors[keyof MarkInvoiceAsReadyV1Errors];
4390
+ export type MarkInvoiceAsReadyV1Responses = {
4391
+ 204: void;
4392
+ };
4393
+ export type MarkInvoiceAsReadyV1Response = MarkInvoiceAsReadyV1Responses[keyof MarkInvoiceAsReadyV1Responses];
4394
+ export type DuplicateInvoiceV1Data = {
4395
+ body?: never;
4396
+ path: {
4397
+ uuid: string;
4398
+ };
4399
+ query?: never;
4400
+ url: '/api/v1/invoices/{uuid}/duplicate';
4401
+ };
4402
+ export type DuplicateInvoiceV1Errors = {
4403
+ 404: {
4404
+ traceId?: string | null;
4405
+ errors?: Array<InvoiceNotFoundError | IssuerNotFoundError>;
4406
+ };
4407
+ 500: {
4408
+ traceId?: string | null;
4409
+ errors?: Array<InternalServerApiError>;
4410
+ };
4411
+ };
4412
+ export type DuplicateInvoiceV1Error = DuplicateInvoiceV1Errors[keyof DuplicateInvoiceV1Errors];
4413
+ export type DuplicateInvoiceV1Responses = {
4414
+ 201: DuplicateInvoiceResponse;
4415
+ };
4416
+ export type DuplicateInvoiceV1Response = DuplicateInvoiceV1Responses[keyof DuplicateInvoiceV1Responses];
4417
+ export type MarkInvoiceAsDraftV1Data = {
4418
+ body?: never;
4419
+ path: {
4420
+ uuid: string;
4421
+ };
4422
+ query?: never;
4423
+ url: '/api/v1/invoices/{uuid}/mark-as-draft';
4424
+ };
4425
+ export type MarkInvoiceAsDraftV1Errors = {
4426
+ 404: {
4427
+ traceId?: string | null;
4428
+ errors?: Array<InvoiceNotFoundError>;
4429
+ };
4430
+ 409: {
4431
+ traceId?: string | null;
4432
+ errors?: Array<InvalidInvoiceTransitionError>;
4433
+ };
4434
+ 500: {
4435
+ traceId?: string | null;
4436
+ errors?: Array<InternalServerApiError>;
4437
+ };
4438
+ };
4439
+ export type MarkInvoiceAsDraftV1Error = MarkInvoiceAsDraftV1Errors[keyof MarkInvoiceAsDraftV1Errors];
4440
+ export type MarkInvoiceAsDraftV1Responses = {
4441
+ 204: void;
4442
+ };
4443
+ export type MarkInvoiceAsDraftV1Response = MarkInvoiceAsDraftV1Responses[keyof MarkInvoiceAsDraftV1Responses];
4444
+ export type MarkInvoiceAsDisputedV1Data = {
4445
+ body?: never;
4446
+ path: {
4447
+ uuid: string;
4448
+ };
4449
+ query?: never;
4450
+ url: '/api/v1/invoices/{uuid}/mark-as-disputed';
4451
+ };
4452
+ export type MarkInvoiceAsDisputedV1Errors = {
4453
+ 404: {
4454
+ traceId?: string | null;
4455
+ errors?: Array<InvoiceNotFoundError>;
4456
+ };
4457
+ 409: {
4458
+ traceId?: string | null;
4459
+ errors?: Array<InvoiceNotFinalizedError>;
4460
+ };
4461
+ 500: {
4462
+ traceId?: string | null;
4463
+ errors?: Array<InternalServerApiError>;
4464
+ };
4465
+ };
4466
+ export type MarkInvoiceAsDisputedV1Error = MarkInvoiceAsDisputedV1Errors[keyof MarkInvoiceAsDisputedV1Errors];
4467
+ export type MarkInvoiceAsDisputedV1Responses = {
4468
+ 204: void;
4469
+ };
4470
+ export type MarkInvoiceAsDisputedV1Response = MarkInvoiceAsDisputedV1Responses[keyof MarkInvoiceAsDisputedV1Responses];
4471
+ export type MarkInvoiceAsPaidV1Data = {
4472
+ body?: never;
4473
+ path: {
4474
+ uuid: string;
4475
+ };
4476
+ query?: never;
4477
+ url: '/api/v1/invoices/{uuid}/mark-as-paid';
4478
+ };
4479
+ export type MarkInvoiceAsPaidV1Errors = {
4480
+ 404: {
4481
+ traceId?: string | null;
4482
+ errors?: Array<InvoiceNotFoundError>;
4483
+ };
4484
+ 409: {
4485
+ traceId?: string | null;
4486
+ errors?: Array<InvoiceStatusNotEligibleForPaidError>;
4487
+ };
4488
+ 500: {
4489
+ traceId?: string | null;
4490
+ errors?: Array<InternalServerApiError>;
4491
+ };
4492
+ };
4493
+ export type MarkInvoiceAsPaidV1Error = MarkInvoiceAsPaidV1Errors[keyof MarkInvoiceAsPaidV1Errors];
4494
+ export type MarkInvoiceAsPaidV1Responses = {
4495
+ 204: void;
4496
+ };
4497
+ export type MarkInvoiceAsPaidV1Response = MarkInvoiceAsPaidV1Responses[keyof MarkInvoiceAsPaidV1Responses];
4498
+ export type PreviewBulkMarkInvoiceAsReadyV1Data = {
4499
+ body?: never;
4500
+ path?: never;
4501
+ query?: {
4502
+ filter?: PreviewBulkMarkInvoiceAsReadyFilterQuery;
4503
+ search?: string;
4504
+ };
4505
+ url: '/api/v1/invoices/mark-as-ready/preview';
4506
+ };
4507
+ export type PreviewBulkMarkInvoiceAsReadyV1Errors = {
4508
+ 500: {
4509
+ traceId?: string | null;
4510
+ errors?: Array<InternalServerApiError>;
4511
+ };
4512
+ };
4513
+ export type PreviewBulkMarkInvoiceAsReadyV1Error = PreviewBulkMarkInvoiceAsReadyV1Errors[keyof PreviewBulkMarkInvoiceAsReadyV1Errors];
4514
+ export type PreviewBulkMarkInvoiceAsReadyV1Responses = {
4515
+ 200: PreviewBulkMarkInvoiceAsReadyResponse;
4516
+ };
4517
+ export type PreviewBulkMarkInvoiceAsReadyV1Response = PreviewBulkMarkInvoiceAsReadyV1Responses[keyof PreviewBulkMarkInvoiceAsReadyV1Responses];
4518
+ export type BulkMarkInvoiceAsReadyV1Data = {
4519
+ body?: never;
4520
+ path?: never;
4521
+ query?: {
4522
+ filter?: BulkMarkInvoiceAsReadyFilterQuery;
4523
+ search?: string;
4524
+ };
4525
+ url: '/api/v1/invoices/mark-as-ready';
4526
+ };
4527
+ export type BulkMarkInvoiceAsReadyV1Errors = {
4528
+ 500: {
4529
+ traceId?: string | null;
4530
+ errors?: Array<InternalServerApiError>;
4531
+ };
4532
+ };
4533
+ export type BulkMarkInvoiceAsReadyV1Error = BulkMarkInvoiceAsReadyV1Errors[keyof BulkMarkInvoiceAsReadyV1Errors];
4534
+ export type BulkMarkInvoiceAsReadyV1Responses = {
4535
+ 200: BulkMarkInvoiceAsReadyResponse;
4536
+ };
4537
+ export type BulkMarkInvoiceAsReadyV1Response = BulkMarkInvoiceAsReadyV1Responses[keyof BulkMarkInvoiceAsReadyV1Responses];
4538
+ export type WithdrawDisputedInvoiceV1Data = {
4539
+ body?: never;
4540
+ path: {
4541
+ uuid: string;
4542
+ };
4543
+ query?: never;
4544
+ url: '/api/v1/invoices/{uuid}/withdraw-disputed';
4545
+ };
4546
+ export type WithdrawDisputedInvoiceV1Errors = {
4547
+ 404: {
4548
+ traceId?: string | null;
4549
+ errors?: Array<InvoiceNotFoundError>;
4550
+ };
4551
+ 409: {
4552
+ traceId?: string | null;
4553
+ errors?: Array<InvoiceNotDisputedError>;
4554
+ };
4555
+ 500: {
4556
+ traceId?: string | null;
4557
+ errors?: Array<InternalServerApiError>;
4558
+ };
4559
+ };
4560
+ export type WithdrawDisputedInvoiceV1Error = WithdrawDisputedInvoiceV1Errors[keyof WithdrawDisputedInvoiceV1Errors];
4561
+ export type WithdrawDisputedInvoiceV1Responses = {
4562
+ 204: void;
4563
+ };
4564
+ export type WithdrawDisputedInvoiceV1Response = WithdrawDisputedInvoiceV1Responses[keyof WithdrawDisputedInvoiceV1Responses];
4565
+ export type PreviewBulkFinalizeInvoiceV1Data = {
4566
+ body?: never;
4567
+ path?: never;
4568
+ query?: {
4569
+ filter?: PreviewBulkFinalizeInvoiceFilterQuery;
4570
+ search?: string;
4571
+ };
4572
+ url: '/api/v1/invoices/finalize/preview';
4573
+ };
4574
+ export type PreviewBulkFinalizeInvoiceV1Errors = {
4575
+ 500: {
4576
+ traceId?: string | null;
4577
+ errors?: Array<InternalServerApiError>;
4578
+ };
4579
+ };
4580
+ export type PreviewBulkFinalizeInvoiceV1Error = PreviewBulkFinalizeInvoiceV1Errors[keyof PreviewBulkFinalizeInvoiceV1Errors];
4581
+ export type PreviewBulkFinalizeInvoiceV1Responses = {
4582
+ 200: PreviewBulkFinalizeInvoiceResponse;
4583
+ };
4584
+ export type PreviewBulkFinalizeInvoiceV1Response = PreviewBulkFinalizeInvoiceV1Responses[keyof PreviewBulkFinalizeInvoiceV1Responses];
4585
+ export type BulkFinalizeInvoiceV1Data = {
4586
+ body?: never;
4587
+ path?: never;
4588
+ query?: {
4589
+ filter?: BulkFinalizeInvoiceFilterQuery;
4590
+ search?: string;
4591
+ };
4592
+ url: '/api/v1/invoices/finalize';
4593
+ };
4594
+ export type BulkFinalizeInvoiceV1Errors = {
4595
+ 500: {
4596
+ traceId?: string | null;
4597
+ errors?: Array<InternalServerApiError>;
4598
+ };
4599
+ };
4600
+ export type BulkFinalizeInvoiceV1Error = BulkFinalizeInvoiceV1Errors[keyof BulkFinalizeInvoiceV1Errors];
4601
+ export type BulkFinalizeInvoiceV1Responses = {
4602
+ 200: BulkFinalizeInvoiceResponse;
4603
+ };
4604
+ export type BulkFinalizeInvoiceV1Response = BulkFinalizeInvoiceV1Responses[keyof BulkFinalizeInvoiceV1Responses];
4605
+ export type ViewActivityLogIndexV1Data = {
4606
+ body?: never;
4607
+ path?: never;
4608
+ query?: {
4609
+ filter?: ViewActivityLogIndexFilterQuery;
4610
+ pagination?: ViewActivityLogIndexPaginationQuery;
4611
+ };
4612
+ url: '/api/v1/activity-logs';
4613
+ };
4614
+ export type ViewActivityLogIndexV1Errors = {
4615
+ 500: {
4616
+ traceId?: string | null;
4617
+ errors?: Array<InternalServerApiError>;
4618
+ };
4619
+ };
4620
+ export type ViewActivityLogIndexV1Error = ViewActivityLogIndexV1Errors[keyof ViewActivityLogIndexV1Errors];
4621
+ export type ViewActivityLogIndexV1Responses = {
4622
+ 200: ViewActivityLogIndexResponse;
4623
+ };
4624
+ export type ViewActivityLogIndexV1Response = ViewActivityLogIndexV1Responses[keyof ViewActivityLogIndexV1Responses];
4625
+ export type ViewInvoicePaymentIndexV1Data = {
4626
+ body?: never;
4627
+ path: {
4628
+ uuid: string;
4629
+ };
4630
+ query?: never;
4631
+ url: '/api/v1/invoices/{uuid}/payments';
4632
+ };
4633
+ export type ViewInvoicePaymentIndexV1Errors = {
4634
+ 404: {
4635
+ traceId?: string | null;
4636
+ errors?: Array<InvoiceNotFoundError>;
4637
+ };
4638
+ 409: {
4639
+ traceId?: string | null;
4640
+ errors?: Array<InvoiceNotStandardError | InvoiceNotFinalizedForPaymentError>;
4641
+ };
4642
+ 500: {
4643
+ traceId?: string | null;
4644
+ errors?: Array<InternalServerApiError>;
4645
+ };
4646
+ };
4647
+ export type ViewInvoicePaymentIndexV1Error = ViewInvoicePaymentIndexV1Errors[keyof ViewInvoicePaymentIndexV1Errors];
4648
+ export type ViewInvoicePaymentIndexV1Responses = {
4649
+ 200: ViewInvoicePaymentIndexResponse;
4650
+ };
4651
+ export type ViewInvoicePaymentIndexV1Response = ViewInvoicePaymentIndexV1Responses[keyof ViewInvoicePaymentIndexV1Responses];
4652
+ export type CreateManualPaymentV1Data = {
4653
+ body: CreateManualPaymentCommand;
4654
+ path: {
4655
+ uuid: string;
4656
+ };
4657
+ query?: never;
4658
+ url: '/api/v1/invoices/{uuid}/payments';
4659
+ };
4660
+ export type CreateManualPaymentV1Errors = {
4661
+ 404: {
4662
+ traceId?: string | null;
4663
+ errors?: Array<InvoiceNotFoundError>;
4664
+ };
4665
+ 409: {
4666
+ traceId?: string | null;
4667
+ errors?: Array<InvoiceNotStandardError | InvoiceNotFinalizedForPaymentError | CurrencyMismatchError>;
4668
+ };
4669
+ 500: {
4670
+ traceId?: string | null;
4671
+ errors?: Array<InternalServerApiError>;
4672
+ };
4673
+ };
4674
+ export type CreateManualPaymentV1Error = CreateManualPaymentV1Errors[keyof CreateManualPaymentV1Errors];
4675
+ export type CreateManualPaymentV1Responses = {
4676
+ 201: CreateManualPaymentResponse;
4677
+ };
4678
+ export type CreateManualPaymentV1Response = CreateManualPaymentV1Responses[keyof CreateManualPaymentV1Responses];
4679
+ export type DeleteManualPaymentV1Data = {
4680
+ body?: never;
4681
+ path: {
4682
+ uuid: string;
4683
+ paymentUuid: string;
4684
+ };
4685
+ query?: never;
4686
+ url: '/api/v1/invoices/{uuid}/payments/{paymentUuid}';
4687
+ };
4688
+ export type DeleteManualPaymentV1Errors = {
4689
+ 404: {
4690
+ traceId?: string | null;
4691
+ errors?: Array<InvoiceNotFoundError | PaymentNotFoundError>;
4692
+ };
4693
+ 409: {
4694
+ traceId?: string | null;
4695
+ errors?: Array<InvoiceNotStandardError | InvoiceNotFinalizedForPaymentError | PaymentNotManualError>;
4696
+ };
4697
+ 500: {
4698
+ traceId?: string | null;
4699
+ errors?: Array<InternalServerApiError>;
4700
+ };
4701
+ };
4702
+ export type DeleteManualPaymentV1Error = DeleteManualPaymentV1Errors[keyof DeleteManualPaymentV1Errors];
4703
+ export type DeleteManualPaymentV1Responses = {
4704
+ 204: void;
4705
+ };
4706
+ export type DeleteManualPaymentV1Response = DeleteManualPaymentV1Responses[keyof DeleteManualPaymentV1Responses];
4707
+ export type ViewReminderConfigV1Data = {
4708
+ body?: never;
4709
+ path?: never;
4710
+ query?: never;
4711
+ url: '/api/v1/issuers/reminder-configs';
4712
+ };
4713
+ export type ViewReminderConfigV1Errors = {
4714
+ 404: {
4715
+ traceId?: string | null;
4716
+ errors?: Array<IssuerNotFoundError>;
4717
+ };
4718
+ 500: {
4719
+ traceId?: string | null;
4720
+ errors?: Array<InternalServerApiError>;
4721
+ };
4722
+ };
4723
+ export type ViewReminderConfigV1Error = ViewReminderConfigV1Errors[keyof ViewReminderConfigV1Errors];
4724
+ export type ViewReminderConfigV1Responses = {
4725
+ 200: ViewReminderConfigResponse;
4726
+ };
4727
+ export type ViewReminderConfigV1Response = ViewReminderConfigV1Responses[keyof ViewReminderConfigV1Responses];
4728
+ export type UpdateReminderConfigV1Data = {
4729
+ body: UpdateReminderConfigCommand;
4730
+ path?: never;
4731
+ query?: never;
4732
+ url: '/api/v1/issuers/reminder-configs';
4733
+ };
4734
+ export type UpdateReminderConfigV1Errors = {
4735
+ 400: {
4736
+ traceId?: string | null;
4737
+ errors?: Array<ReminderConfigNotChronologicalError | MissingRequiredReminderConfigError | AdditionalReminderConfigError>;
4738
+ };
4739
+ 404: {
4740
+ traceId?: string | null;
4741
+ errors?: Array<IssuerNotFoundError>;
4742
+ };
4743
+ 500: {
4744
+ traceId?: string | null;
4745
+ errors?: Array<InternalServerApiError>;
4746
+ };
4747
+ };
4748
+ export type UpdateReminderConfigV1Error = UpdateReminderConfigV1Errors[keyof UpdateReminderConfigV1Errors];
4749
+ export type UpdateReminderConfigV1Responses = {
4750
+ 204: void;
4751
+ };
4752
+ export type UpdateReminderConfigV1Response = UpdateReminderConfigV1Responses[keyof UpdateReminderConfigV1Responses];
4753
+ export type ViewCustomFieldDefinitionIndexV1Data = {
4754
+ body?: never;
4755
+ path?: never;
4756
+ query?: {
4757
+ filter?: ViewCustomFieldDefinitionIndexFilterQuery;
4758
+ };
4759
+ url: '/api/v1/custom-field-definitions';
4760
+ };
4761
+ export type ViewCustomFieldDefinitionIndexV1Errors = {
4762
+ 500: {
4763
+ traceId?: string | null;
4764
+ errors?: Array<InternalServerApiError>;
4765
+ };
4766
+ };
4767
+ export type ViewCustomFieldDefinitionIndexV1Error = ViewCustomFieldDefinitionIndexV1Errors[keyof ViewCustomFieldDefinitionIndexV1Errors];
4768
+ export type ViewCustomFieldDefinitionIndexV1Responses = {
4769
+ 200: Array<CustomFieldDefinitionResponse>;
4770
+ };
4771
+ export type ViewCustomFieldDefinitionIndexV1Response = ViewCustomFieldDefinitionIndexV1Responses[keyof ViewCustomFieldDefinitionIndexV1Responses];
4772
+ export type ViewDunningCaseDetailV1Data = {
4773
+ body?: never;
4774
+ path: {
4775
+ uuid: string;
4776
+ };
4777
+ query?: never;
4778
+ url: '/api/v1/dunning-cases/{uuid}';
4779
+ };
4780
+ export type ViewDunningCaseDetailV1Errors = {
4781
+ 404: {
4782
+ traceId?: string | null;
4783
+ errors?: Array<DunningCaseNotFoundError>;
4784
+ };
4785
+ 500: {
4786
+ traceId?: string | null;
4787
+ errors?: Array<InternalServerApiError>;
4788
+ };
4789
+ };
4790
+ export type ViewDunningCaseDetailV1Error = ViewDunningCaseDetailV1Errors[keyof ViewDunningCaseDetailV1Errors];
4791
+ export type ViewDunningCaseDetailV1Responses = {
4792
+ 200: ViewDunningCaseDetailResponse;
4793
+ };
4794
+ export type ViewDunningCaseDetailV1Response = ViewDunningCaseDetailV1Responses[keyof ViewDunningCaseDetailV1Responses];
4795
+ export type ViewDunningCaseIndexV1Data = {
4796
+ body?: never;
4797
+ path?: never;
4798
+ query?: {
4799
+ pagination?: PaginatedOffsetQuery;
4800
+ filter?: ViewDunningCaseIndexFilterQuery;
4801
+ };
4802
+ url: '/api/v1/dunning-cases';
4803
+ };
4804
+ export type ViewDunningCaseIndexV1Errors = {
4805
+ 500: {
4806
+ traceId?: string | null;
4807
+ errors?: Array<InternalServerApiError>;
4808
+ };
4809
+ };
4810
+ export type ViewDunningCaseIndexV1Error = ViewDunningCaseIndexV1Errors[keyof ViewDunningCaseIndexV1Errors];
4811
+ export type ViewDunningCaseIndexV1Responses = {
4812
+ 200: ViewDunningCaseIndexResponse;
4813
+ };
4814
+ export type ViewDunningCaseIndexV1Response = ViewDunningCaseIndexV1Responses[keyof ViewDunningCaseIndexV1Responses];
4815
+ export type SendDunningCaseReminderV1Data = {
4816
+ body?: never;
4817
+ path: {
4818
+ uuid: string;
4819
+ };
4820
+ query?: never;
4821
+ url: '/api/v1/dunning-cases/{uuid}/send';
4822
+ };
4823
+ export type SendDunningCaseReminderV1Errors = {
4824
+ 404: {
4825
+ traceId?: string | null;
4826
+ errors?: Array<DunningCaseNotFoundError>;
4827
+ };
4828
+ 409: {
4829
+ traceId?: string | null;
4830
+ errors?: Array<DunningCaseReminderNotDueError | DunningCaseReminderPendingError | DunningCaseReminderConfigNotFoundError | CustomerHasNoDefaultRecipientError>;
4831
+ };
4832
+ 500: {
4833
+ traceId?: string | null;
4834
+ errors?: Array<InternalServerApiError>;
4835
+ };
4836
+ };
4837
+ export type SendDunningCaseReminderV1Error = SendDunningCaseReminderV1Errors[keyof SendDunningCaseReminderV1Errors];
4838
+ export type BulkSendDunningCaseReminderV1Data = {
4839
+ body?: never;
4840
+ path?: never;
4841
+ query?: {
4842
+ filter?: BulkSendDunningCaseReminderFilterQuery;
4843
+ };
4844
+ url: '/api/v1/dunning-cases/send';
4845
+ };
4846
+ export type BulkSendDunningCaseReminderV1Errors = {
4847
+ 500: {
4848
+ traceId?: string | null;
4849
+ errors?: Array<InternalServerApiError>;
4850
+ };
4851
+ };
4852
+ export type BulkSendDunningCaseReminderV1Error = BulkSendDunningCaseReminderV1Errors[keyof BulkSendDunningCaseReminderV1Errors];
4853
+ export type BulkSendDunningCaseReminderV1Responses = {
4854
+ 200: BulkSendDunningCaseReminderResponse;
4855
+ };
4856
+ export type BulkSendDunningCaseReminderV1Response = BulkSendDunningCaseReminderV1Responses[keyof BulkSendDunningCaseReminderV1Responses];
4857
+ export type PreviewBulkSendDunningCaseReminderV1Data = {
4858
+ body?: never;
4859
+ path?: never;
4860
+ query?: {
4861
+ filter?: PreviewBulkSendDunningCaseReminderFilterQuery;
4862
+ };
4863
+ url: '/api/v1/dunning-cases/send/preview';
4864
+ };
4865
+ export type PreviewBulkSendDunningCaseReminderV1Errors = {
4866
+ 500: {
4867
+ traceId?: string | null;
4868
+ errors?: Array<InternalServerApiError>;
4869
+ };
4870
+ };
4871
+ export type PreviewBulkSendDunningCaseReminderV1Error = PreviewBulkSendDunningCaseReminderV1Errors[keyof PreviewBulkSendDunningCaseReminderV1Errors];
4872
+ export type PreviewBulkSendDunningCaseReminderV1Responses = {
4873
+ 200: PreviewBulkSendDunningCaseReminderResponse;
4874
+ };
4875
+ export type PreviewBulkSendDunningCaseReminderV1Response = PreviewBulkSendDunningCaseReminderV1Responses[keyof PreviewBulkSendDunningCaseReminderV1Responses];
4876
+ export type ViewPublicDunningCaseReminderV1Data = {
4877
+ body?: never;
4878
+ path?: never;
4879
+ query: {
4880
+ token: string;
4881
+ };
4882
+ url: '/api/v1/public/dunning-case-reminder-invoices';
4883
+ };
4884
+ export type ViewPublicDunningCaseReminderV1Errors = {
4885
+ 500: {
4886
+ traceId?: string | null;
4887
+ errors?: Array<InternalServerApiError>;
4888
+ };
4889
+ };
4890
+ export type ViewPublicDunningCaseReminderV1Error = ViewPublicDunningCaseReminderV1Errors[keyof ViewPublicDunningCaseReminderV1Errors];
4891
+ export type ViewPublicDunningCaseReminderV1Responses = {
4892
+ 200: ViewPublicDunningCaseReminderResponse;
4893
+ };
4894
+ export type ViewPublicDunningCaseReminderV1Response = ViewPublicDunningCaseReminderV1Responses[keyof ViewPublicDunningCaseReminderV1Responses];