@kommerz/ts-client 1.184.1 → 1.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (581) hide show
  1. package/dist/apis/AbsenceEntriesApi.d.ts +80 -3
  2. package/dist/apis/AbsenceEntriesApi.js +271 -165
  3. package/dist/apis/AbsenceTypesApi.d.ts +47 -1
  4. package/dist/apis/AbsenceTypesApi.js +160 -94
  5. package/dist/apis/AcceptanceDocumentsApi.d.ts +51 -1
  6. package/dist/apis/AcceptanceDocumentsApi.js +165 -98
  7. package/dist/apis/AcceptancePortalDocumentsApi.d.ts +42 -3
  8. package/dist/apis/AcceptancePortalDocumentsApi.js +131 -77
  9. package/dist/apis/AccessTokensApi.d.ts +47 -1
  10. package/dist/apis/AccessTokensApi.js +160 -94
  11. package/dist/apis/AccountingCentersApi.d.ts +40 -1
  12. package/dist/apis/AccountingCentersApi.js +151 -85
  13. package/dist/apis/AccountingLedgersApi.d.ts +68 -1
  14. package/dist/apis/AccountingLedgersApi.js +222 -142
  15. package/dist/apis/AccountingReceiptsApi.d.ts +51 -1
  16. package/dist/apis/AccountingReceiptsApi.js +181 -115
  17. package/dist/apis/AccountingSettlementsApi.d.ts +47 -1
  18. package/dist/apis/AccountingSettlementsApi.js +160 -94
  19. package/dist/apis/AccountingStatementsApi.d.ts +34 -1
  20. package/dist/apis/AccountingStatementsApi.js +92 -65
  21. package/dist/apis/AccountingTransactionsApi.d.ts +47 -1
  22. package/dist/apis/AccountingTransactionsApi.js +160 -94
  23. package/dist/apis/AccountingTurnoversApi.d.ts +66 -1
  24. package/dist/apis/AccountingTurnoversApi.js +183 -117
  25. package/dist/apis/ActivitiesApi.d.ts +20 -1
  26. package/dist/apis/ActivitiesApi.js +65 -38
  27. package/dist/apis/ApprovalEntriesApi.d.ts +47 -1
  28. package/dist/apis/ApprovalEntriesApi.js +160 -94
  29. package/dist/apis/ApprovalEntriesApproveApi.d.ts +29 -1
  30. package/dist/apis/ApprovalEntriesApproveApi.js +100 -61
  31. package/dist/apis/ApprovalTypesApi.d.ts +47 -1
  32. package/dist/apis/ApprovalTypesApi.js +160 -94
  33. package/dist/apis/BankingAccountsApi.d.ts +64 -1
  34. package/dist/apis/BankingAccountsApi.js +201 -121
  35. package/dist/apis/BankingInstitutesApi.d.ts +5 -1
  36. package/dist/apis/BankingInstitutesApi.js +26 -13
  37. package/dist/apis/BankingRegistrationsApi.d.ts +56 -1
  38. package/dist/apis/BankingRegistrationsApi.js +187 -106
  39. package/dist/apis/CalendarEntriesApi.d.ts +47 -1
  40. package/dist/apis/CalendarEntriesApi.js +160 -94
  41. package/dist/apis/CalendarEntryTypesApi.d.ts +47 -1
  42. package/dist/apis/CalendarEntryTypesApi.js +160 -94
  43. package/dist/apis/CalendarPortalApi.d.ts +25 -1
  44. package/dist/apis/CalendarPortalApi.js +73 -46
  45. package/dist/apis/CommentsApi.d.ts +64 -1
  46. package/dist/apis/CommentsApi.js +224 -132
  47. package/dist/apis/ConfigurationsApi.d.ts +47 -1
  48. package/dist/apis/ConfigurationsApi.js +160 -94
  49. package/dist/apis/ContractStatusApi.d.ts +47 -1
  50. package/dist/apis/ContractStatusApi.js +160 -94
  51. package/dist/apis/ContractTypesApi.d.ts +47 -1
  52. package/dist/apis/ContractTypesApi.js +160 -94
  53. package/dist/apis/ContractsApi.d.ts +47 -1
  54. package/dist/apis/ContractsApi.js +160 -94
  55. package/dist/apis/CustomersApi.d.ts +47 -1
  56. package/dist/apis/CustomersApi.js +160 -94
  57. package/dist/apis/CustomersBankdetailsApi.d.ts +62 -1
  58. package/dist/apis/CustomersBankdetailsApi.js +180 -114
  59. package/dist/apis/DataTableRowsApi.d.ts +66 -1
  60. package/dist/apis/DataTableRowsApi.js +183 -117
  61. package/dist/apis/DataTablesApi.d.ts +60 -3
  62. package/dist/apis/DataTablesApi.js +194 -115
  63. package/dist/apis/DecisionTablesApi.d.ts +47 -1
  64. package/dist/apis/DecisionTablesApi.js +160 -94
  65. package/dist/apis/DeliveryNotesApi.d.ts +70 -3
  66. package/dist/apis/DeliveryNotesApi.js +246 -141
  67. package/dist/apis/DesignTemplatesApi.d.ts +47 -1
  68. package/dist/apis/DesignTemplatesApi.js +160 -94
  69. package/dist/apis/DocumentTemplatesApi.d.ts +47 -1
  70. package/dist/apis/DocumentTemplatesApi.js +160 -94
  71. package/dist/apis/DubbingPortalApi.d.ts +25 -1
  72. package/dist/apis/DubbingPortalApi.js +84 -57
  73. package/dist/apis/DunningLettersApi.d.ts +63 -3
  74. package/dist/apis/DunningLettersApi.js +217 -125
  75. package/dist/apis/EditorTypeApi.d.ts +47 -1
  76. package/dist/apis/EditorTypeApi.js +160 -94
  77. package/dist/apis/FileDirectoriesApi.d.ts +93 -5
  78. package/dist/apis/FileDirectoriesApi.js +272 -158
  79. package/dist/apis/FileDirectorySharesApi.d.ts +106 -5
  80. package/dist/apis/FileDirectorySharesApi.js +336 -203
  81. package/dist/apis/FileTagsApi.d.ts +47 -1
  82. package/dist/apis/FileTagsApi.js +160 -94
  83. package/dist/apis/FileUploadsApi.d.ts +34 -1
  84. package/dist/apis/FileUploadsApi.js +123 -81
  85. package/dist/apis/FilesApi.d.ts +63 -3
  86. package/dist/apis/FilesApi.js +194 -127
  87. package/dist/apis/FormsPortalApi.d.ts +19 -1
  88. package/dist/apis/FormsPortalApi.js +64 -37
  89. package/dist/apis/HolidaysApi.d.ts +47 -1
  90. package/dist/apis/HolidaysApi.js +160 -94
  91. package/dist/apis/HospitalityReceiptsApi.d.ts +100 -5
  92. package/dist/apis/HospitalityReceiptsApi.js +336 -203
  93. package/dist/apis/IdentifiersApi.d.ts +51 -1
  94. package/dist/apis/IdentifiersApi.js +185 -106
  95. package/dist/apis/InboxEmailsApi.d.ts +35 -2
  96. package/dist/apis/InboxEmailsApi.js +123 -70
  97. package/dist/apis/InvoicePortalApi.d.ts +53 -0
  98. package/dist/apis/InvoicePortalApi.js +201 -0
  99. package/dist/apis/InvoicesApi.d.ts +131 -5
  100. package/dist/apis/InvoicesApi.js +417 -202
  101. package/dist/apis/JobsApi.d.ts +27 -1
  102. package/dist/apis/JobsApi.js +93 -53
  103. package/dist/apis/KanbanBoardsApi.d.ts +47 -1
  104. package/dist/apis/KanbanBoardsApi.js +160 -94
  105. package/dist/apis/KanbanCardsApi.d.ts +62 -1
  106. package/dist/apis/KanbanCardsApi.js +180 -114
  107. package/dist/apis/KanbanColumnsApi.d.ts +62 -1
  108. package/dist/apis/KanbanColumnsApi.js +180 -114
  109. package/dist/apis/MentionsApi.d.ts +34 -1
  110. package/dist/apis/MentionsApi.js +121 -68
  111. package/dist/apis/NotificationTargetsApi.d.ts +30 -1
  112. package/dist/apis/NotificationTargetsApi.js +120 -67
  113. package/dist/apis/NotificationsAcksApi.d.ts +15 -1
  114. package/dist/apis/NotificationsAcksApi.js +58 -32
  115. package/dist/apis/NotificationsApi.d.ts +27 -1
  116. package/dist/apis/NotificationsApi.js +93 -53
  117. package/dist/apis/OffersApi.d.ts +82 -3
  118. package/dist/apis/OffersApi.js +282 -162
  119. package/dist/apis/OkrKeyresultsApi.d.ts +62 -1
  120. package/dist/apis/OkrKeyresultsApi.js +180 -114
  121. package/dist/apis/OkrObjectivesApi.d.ts +47 -1
  122. package/dist/apis/OkrObjectivesApi.js +160 -94
  123. package/dist/apis/PaymentBuyProductApi.d.ts +13 -1
  124. package/dist/apis/PaymentBuyProductApi.js +57 -30
  125. package/dist/apis/PaymentProductsApi.d.ts +5 -1
  126. package/dist/apis/PaymentProductsApi.js +26 -13
  127. package/dist/apis/PaymentSubscriptionsApi.d.ts +28 -1
  128. package/dist/apis/PaymentSubscriptionsApi.js +95 -54
  129. package/dist/apis/PaymentsPaymentsApi.d.ts +12 -1
  130. package/dist/apis/PaymentsPaymentsApi.js +35 -22
  131. package/dist/apis/PresenceEntriesApi.d.ts +51 -1
  132. package/dist/apis/PresenceEntriesApi.js +185 -106
  133. package/dist/apis/PresenceTypesApi.d.ts +47 -1
  134. package/dist/apis/PresenceTypesApi.js +160 -94
  135. package/dist/apis/ProductsApi.d.ts +47 -1
  136. package/dist/apis/ProductsApi.js +160 -94
  137. package/dist/apis/ReferencesApi.d.ts +30 -1
  138. package/dist/apis/ReferencesApi.js +100 -60
  139. package/dist/apis/RolesApi.d.ts +49 -3
  140. package/dist/apis/RolesApi.js +160 -94
  141. package/dist/apis/ServiceDeskMessageApi.d.ts +11 -1
  142. package/dist/apis/ServiceDeskMessageApi.js +34 -21
  143. package/dist/apis/StatisticsApi.d.ts +9 -1
  144. package/dist/apis/StatisticsApi.js +32 -18
  145. package/dist/apis/SystemsFeaturesApi.d.ts +5 -1
  146. package/dist/apis/SystemsFeaturesApi.js +26 -13
  147. package/dist/apis/SystemsTimesApi.d.ts +5 -1
  148. package/dist/apis/SystemsTimesApi.js +26 -13
  149. package/dist/apis/TagRelationsApi.d.ts +48 -1
  150. package/dist/apis/TagRelationsApi.js +162 -95
  151. package/dist/apis/TagsApi.d.ts +61 -1
  152. package/dist/apis/TagsApi.js +199 -119
  153. package/dist/apis/TenantsApi.d.ts +131 -3
  154. package/dist/apis/TenantsApi.js +447 -235
  155. package/dist/apis/TenantsOwnerAdditionApi.d.ts +37 -0
  156. package/dist/apis/TenantsOwnerAdditionApi.js +139 -0
  157. package/dist/apis/TenantsValidationApi.d.ts +17 -1
  158. package/dist/apis/TenantsValidationApi.js +63 -37
  159. package/dist/apis/TestApi.d.ts +22 -1
  160. package/dist/apis/TestApi.js +66 -39
  161. package/dist/apis/TextModulesApi.d.ts +47 -1
  162. package/dist/apis/TextModulesApi.js +160 -94
  163. package/dist/apis/TimeTrackingCalendarApi.d.ts +24 -1
  164. package/dist/apis/TimeTrackingCalendarApi.js +69 -43
  165. package/dist/apis/TimeTrackingCalendarExportApi.d.ts +18 -2
  166. package/dist/apis/TimeTrackingCalendarExportApi.js +42 -29
  167. package/dist/apis/UnitsApi.d.ts +47 -1
  168. package/dist/apis/UnitsApi.js +160 -94
  169. package/dist/apis/UsageMonitorApi.d.ts +5 -1
  170. package/dist/apis/UsageMonitorApi.js +26 -13
  171. package/dist/apis/UserPermissionsApi.d.ts +25 -1
  172. package/dist/apis/UserPermissionsApi.js +92 -53
  173. package/dist/apis/UserTenantsApi.d.ts +25 -1
  174. package/dist/apis/UserTenantsApi.js +85 -13
  175. package/dist/apis/UsersApi.d.ts +27 -1
  176. package/dist/apis/UsersApi.js +93 -53
  177. package/dist/apis/UsersMeApi.d.ts +41 -1
  178. package/dist/apis/UsersMeApi.js +201 -53
  179. package/dist/apis/UsersRegisterApi.d.ts +8 -1
  180. package/dist/apis/UsersRegisterApi.js +30 -17
  181. package/dist/apis/ValidationApi.d.ts +22 -1
  182. package/dist/apis/ValidationApi.js +89 -50
  183. package/dist/apis/WikiApi.d.ts +47 -1
  184. package/dist/apis/WikiApi.js +160 -94
  185. package/dist/apis/WikiPagesApi.d.ts +65 -1
  186. package/dist/apis/WikiPagesApi.js +183 -117
  187. package/dist/apis/WorkHoursApi.d.ts +47 -1
  188. package/dist/apis/WorkHoursApi.js +160 -94
  189. package/dist/apis/WorkflowExecutionsApi.d.ts +26 -1
  190. package/dist/apis/WorkflowExecutionsApi.js +73 -46
  191. package/dist/apis/WorkflowExternalTasksApi.d.ts +62 -1
  192. package/dist/apis/WorkflowExternalTasksApi.js +181 -115
  193. package/dist/apis/WorkflowProcessesApi.d.ts +41 -1
  194. package/dist/apis/WorkflowProcessesApi.js +152 -86
  195. package/dist/apis/WorkflowsApi.d.ts +98 -1
  196. package/dist/apis/WorkflowsApi.js +347 -200
  197. package/dist/apis/WritingsApi.d.ts +63 -3
  198. package/dist/apis/WritingsApi.js +217 -125
  199. package/dist/apis/index.d.ts +2 -0
  200. package/dist/apis/index.js +2 -0
  201. package/dist/models/AbsenceEntryDto.d.ts +0 -16
  202. package/dist/models/AbsenceTypeDto.d.ts +0 -12
  203. package/dist/models/AcceptanceDocumentDto.d.ts +0 -28
  204. package/dist/models/AcceptanceDocumentDto.js +6 -5
  205. package/dist/models/AcceptanceDocumentLogEntry.d.ts +0 -6
  206. package/dist/models/AcceptanceDocumentLogEntry.js +3 -2
  207. package/dist/models/AcceptanceDocumentLogEntryData.d.ts +0 -4
  208. package/dist/models/AcceptanceDocumentLogEntryData.js +1 -1
  209. package/dist/models/AcceptanceDocumentRecipientInfo.d.ts +0 -4
  210. package/dist/models/AcceptanceDocumentSenderInfo.d.ts +0 -6
  211. package/dist/models/AcceptancePortalAcceptDto.d.ts +0 -12
  212. package/dist/models/AcceptancePortalSendConfigDto.d.ts +0 -8
  213. package/dist/models/AcceptancePortalShareConfigDto.d.ts +0 -18
  214. package/dist/models/AccessTokenDto.d.ts +0 -16
  215. package/dist/models/AccessTokenDto.js +3 -2
  216. package/dist/models/AccountDeletionPreviewDto.d.ts +30 -0
  217. package/dist/models/AccountDeletionPreviewDto.js +51 -0
  218. package/dist/models/AccountDeletionTenantDto.d.ts +37 -0
  219. package/dist/models/AccountDeletionTenantDto.js +58 -0
  220. package/dist/models/AccountingCenterDto.d.ts +0 -18
  221. package/dist/models/AccountingCenterDto.js +1 -1
  222. package/dist/models/AccountingChartType.js +1 -1
  223. package/dist/models/AccountingConfigDto.d.ts +0 -2
  224. package/dist/models/AccountingLedgerCustomData.d.ts +0 -4
  225. package/dist/models/AccountingLedgerDto.d.ts +0 -36
  226. package/dist/models/AccountingLedgerImportType.js +1 -1
  227. package/dist/models/AccountingLedgerType.js +1 -1
  228. package/dist/models/AccountingReceiptDetailsDto.d.ts +13 -26
  229. package/dist/models/AccountingReceiptDetailsDto.js +7 -0
  230. package/dist/models/AccountingReceiptDetailsSource.d.ts +25 -0
  231. package/dist/models/AccountingReceiptDetailsSource.js +51 -0
  232. package/dist/models/AccountingReceiptDto.d.ts +0 -30
  233. package/dist/models/AccountingReceiptItemDto.d.ts +4 -12
  234. package/dist/models/AccountingReceiptItemDto.js +2 -0
  235. package/dist/models/AccountingReceiptLegalEntityDto.d.ts +20 -24
  236. package/dist/models/AccountingReceiptLegalEntityDto.js +10 -0
  237. package/dist/models/AccountingReceiptMetaDataDto.d.ts +0 -4
  238. package/dist/models/AccountingReceiptType.js +1 -1
  239. package/dist/models/AccountingScheduleDto.d.ts +0 -12
  240. package/dist/models/AccountingScheduleDto.js +7 -6
  241. package/dist/models/AccountingSettlementDto.d.ts +0 -14
  242. package/dist/models/AccountingSettlementDto.js +7 -6
  243. package/dist/models/AccountingSplitDto.d.ts +0 -12
  244. package/dist/models/AccountingSplitPair.d.ts +0 -10
  245. package/dist/models/AccountingTransactionDto.d.ts +0 -16
  246. package/dist/models/AccountingTransactionDto.js +3 -2
  247. package/dist/models/AccountingTransactionStatus.js +1 -1
  248. package/dist/models/AccountingTransactionTemplateDto.d.ts +0 -2
  249. package/dist/models/AccountingTurnoverDto.d.ts +0 -6
  250. package/dist/models/AcknowledgeNotificationsDto.d.ts +0 -2
  251. package/dist/models/ActivityDto.d.ts +0 -18
  252. package/dist/models/ActivityDto.js +3 -2
  253. package/dist/models/ActivityReferenceDto.d.ts +0 -12
  254. package/dist/models/ActivityType.js +1 -1
  255. package/dist/models/AddressDto.d.ts +0 -12
  256. package/dist/models/AmountDto.d.ts +0 -4
  257. package/dist/models/ApprovalDecisionEnum.js +1 -1
  258. package/dist/models/ApprovalEntryDto.d.ts +0 -20
  259. package/dist/models/ApprovalEntryDto.js +5 -4
  260. package/dist/models/ApprovalModeEnum.js +1 -1
  261. package/dist/models/ApprovalStatusEnum.js +1 -1
  262. package/dist/models/ApprovalTypeDto.d.ts +0 -16
  263. package/dist/models/BankAccountDto.d.ts +0 -22
  264. package/dist/models/BankAccountRegistrationDto.d.ts +0 -8
  265. package/dist/models/BankConnectionDto.d.ts +0 -6
  266. package/dist/models/BankDetailsDto.d.ts +0 -16
  267. package/dist/models/BankRegistrationDto.d.ts +0 -22
  268. package/dist/models/BrevoEmailWebhookEvent.d.ts +0 -30
  269. package/dist/models/CalendarAttendeeDto.d.ts +0 -8
  270. package/dist/models/CalendarEntryDto.d.ts +0 -20
  271. package/dist/models/CalendarEntryTypeDto.d.ts +0 -18
  272. package/dist/models/CalendarPortalEventDto.d.ts +0 -18
  273. package/dist/models/CalendarPortalRsvpDto.d.ts +0 -4
  274. package/dist/models/CalendarPortalRsvpStatus.js +1 -1
  275. package/dist/models/CenterStatementDto.d.ts +0 -14
  276. package/dist/models/CenterStatementDto.js +5 -4
  277. package/dist/models/ChannelIdType.js +1 -1
  278. package/dist/models/CommentDto.d.ts +0 -16
  279. package/dist/models/CommentDto.js +3 -2
  280. package/dist/models/ConfigKey.js +1 -1
  281. package/dist/models/ConfigurationDto.d.ts +0 -10
  282. package/dist/models/ContactDto.d.ts +0 -6
  283. package/dist/models/ContractDto.d.ts +0 -24
  284. package/dist/models/ContractStatusDto.d.ts +0 -10
  285. package/dist/models/ContractTypeAttributeDto.d.ts +0 -6
  286. package/dist/models/ContractTypeAttributeDto.js +1 -1
  287. package/dist/models/ContractTypeDto.d.ts +0 -10
  288. package/dist/models/CountryCode.js +1 -1
  289. package/dist/models/CreateTagRelationsDto.d.ts +0 -8
  290. package/dist/models/CreateTenantRequest.d.ts +0 -4
  291. package/dist/models/CustomerDto.d.ts +0 -32
  292. package/dist/models/CustomerDto.js +1 -1
  293. package/dist/models/DataTableColumnDefinition.d.ts +0 -8
  294. package/dist/models/DataTableColumnType.js +1 -1
  295. package/dist/models/DataTableDto.d.ts +0 -12
  296. package/dist/models/DataTableExportFormat.js +1 -1
  297. package/dist/models/DataTableKeyType.js +1 -1
  298. package/dist/models/DataTableRowDto.d.ts +0 -8
  299. package/dist/models/DataTableRowDtoChange.d.ts +0 -4
  300. package/dist/models/DataTableRowDtoChange.js +1 -1
  301. package/dist/models/DecisionTableAggregation.js +1 -1
  302. package/dist/models/DecisionTableDto.d.ts +0 -22
  303. package/dist/models/DecisionTableHitPolicy.js +1 -1
  304. package/dist/models/DecisionTableInput.d.ts +0 -6
  305. package/dist/models/DecisionTableOutput.d.ts +0 -6
  306. package/dist/models/DecisionTableRule.d.ts +0 -6
  307. package/dist/models/DecisionTableType.js +1 -1
  308. package/dist/models/DeliveryNoteDto.d.ts +0 -30
  309. package/dist/models/DeliveryNoteItemDto.d.ts +0 -8
  310. package/dist/models/DeployWorkflowRequest.d.ts +0 -2
  311. package/dist/models/DesignTemplateContextVersion.js +1 -1
  312. package/dist/models/DesignTemplateDto.d.ts +0 -18
  313. package/dist/models/DesignTemplateType.js +1 -1
  314. package/dist/models/DocumentTemplateDto.d.ts +4 -34
  315. package/dist/models/DocumentTemplateDto.js +7 -11
  316. package/dist/models/DubbingPortalFileStatusDto.d.ts +0 -10
  317. package/dist/models/DubbingPortalResponseDto.d.ts +0 -2
  318. package/dist/models/DubbingPortalStatusDto.d.ts +0 -10
  319. package/dist/models/DunningLetterDto.d.ts +0 -42
  320. package/dist/models/DunningLetterItemDto.d.ts +0 -6
  321. package/dist/models/EditorTypeDto.d.ts +0 -12
  322. package/dist/models/EmailDto.d.ts +2 -34
  323. package/dist/models/EmailDto.js +4 -4
  324. package/dist/models/EmailEvent.d.ts +0 -10
  325. package/dist/models/EmailEvent.js +3 -2
  326. package/dist/models/EntityAccessTokenDto.d.ts +0 -2
  327. package/dist/models/EntityReference.d.ts +0 -8
  328. package/dist/models/EntityType.d.ts +1 -0
  329. package/dist/models/EntityType.js +2 -1
  330. package/dist/models/FeatureDto.d.ts +0 -8
  331. package/dist/models/FileConflictResolution.d.ts +24 -0
  332. package/dist/models/FileConflictResolution.js +50 -0
  333. package/dist/models/FileDetailsDto.d.ts +0 -20
  334. package/dist/models/FileDetailsDto.js +3 -2
  335. package/dist/models/FileDirectoryDto.d.ts +5 -23
  336. package/dist/models/FileDirectoryDto.js +2 -5
  337. package/dist/models/FileDownloadDisposition.js +1 -1
  338. package/dist/models/FileDto.d.ts +0 -16
  339. package/dist/models/FileDto.js +3 -2
  340. package/dist/models/FileMovementDto.d.ts +5 -6
  341. package/dist/models/FileMovementDto.js +3 -0
  342. package/dist/models/FileSelectionDto.d.ts +0 -4
  343. package/dist/models/FileShareDto.d.ts +0 -36
  344. package/dist/models/FileShareDto.js +9 -8
  345. package/dist/models/FileTagDto.d.ts +0 -6
  346. package/dist/models/FileUploadDto.d.ts +5 -14
  347. package/dist/models/FileUploadDto.js +3 -0
  348. package/dist/models/FileUploadManifestDto.d.ts +0 -2
  349. package/dist/models/FileUploadPartDto.d.ts +0 -2
  350. package/dist/models/FilterableEndpointDto.d.ts +0 -6
  351. package/dist/models/FormsPortalReceiverInfo.d.ts +0 -6
  352. package/dist/models/FormsPortalSpecDto.d.ts +0 -8
  353. package/dist/models/FormsPortalSubmitDto.d.ts +0 -2
  354. package/dist/models/GetAllAbsenceEntries200Response.d.ts +0 -8
  355. package/dist/models/GetAllAbsenceTypes200Response.d.ts +0 -8
  356. package/dist/models/GetAllAcceptanceDocuments200Response.d.ts +0 -8
  357. package/dist/models/GetAllAccessTokens200Response.d.ts +0 -8
  358. package/dist/models/GetAllAccountingCenterStatements200Response.d.ts +0 -2
  359. package/dist/models/GetAllAccountingCenters200Response.d.ts +0 -8
  360. package/dist/models/GetAllAccountingLedgerStatements200Response.d.ts +0 -2
  361. package/dist/models/GetAllAccountingLedgers200Response.d.ts +0 -8
  362. package/dist/models/GetAllAccountingReceipts200Response.d.ts +0 -8
  363. package/dist/models/GetAllAccountingSettlements200Response.d.ts +0 -8
  364. package/dist/models/GetAllAccountingTransactions200Response.d.ts +0 -8
  365. package/dist/models/GetAllAccountingTurnover200Response.d.ts +0 -8
  366. package/dist/models/GetAllAccounts200Response.d.ts +0 -8
  367. package/dist/models/GetAllActivities200Response.d.ts +0 -8
  368. package/dist/models/GetAllApprovalEntries200Response.d.ts +0 -8
  369. package/dist/models/GetAllApprovalTypes200Response.d.ts +0 -8
  370. package/dist/models/GetAllBankDetails200Response.d.ts +0 -8
  371. package/dist/models/GetAllCalendarEntries200Response.d.ts +0 -8
  372. package/dist/models/GetAllCalendarEntryTypes200Response.d.ts +0 -8
  373. package/dist/models/GetAllComments200Response.d.ts +0 -8
  374. package/dist/models/GetAllConfigurations200Response.d.ts +0 -8
  375. package/dist/models/GetAllContractStatus200Response.d.ts +0 -8
  376. package/dist/models/GetAllContractTypes200Response.d.ts +0 -8
  377. package/dist/models/GetAllContracts200Response.d.ts +0 -8
  378. package/dist/models/GetAllCustomers200Response.d.ts +0 -8
  379. package/dist/models/GetAllDeliveryNotes200Response.d.ts +0 -8
  380. package/dist/models/GetAllDesignTemplates200Response.d.ts +0 -8
  381. package/dist/models/GetAllDocumentTemplates200Response.d.ts +0 -8
  382. package/dist/models/GetAllDunningLetters200Response.d.ts +0 -8
  383. package/dist/models/GetAllEditorTypes200Response.d.ts +0 -8
  384. package/dist/models/GetAllEntitiesForTag200Response.d.ts +0 -8
  385. package/dist/models/GetAllFileTags200Response.d.ts +0 -8
  386. package/dist/models/GetAllHolidays200Response.d.ts +0 -8
  387. package/dist/models/GetAllHospitalityReceipts200Response.d.ts +0 -8
  388. package/dist/models/GetAllInboxEmails200Response.d.ts +0 -8
  389. package/dist/models/GetAllInvoices200Response.d.ts +0 -8
  390. package/dist/models/GetAllJobs200Response.d.ts +0 -8
  391. package/dist/models/GetAllKanbanBoards200Response.d.ts +0 -8
  392. package/dist/models/GetAllKanbanCards200Response.d.ts +0 -8
  393. package/dist/models/GetAllKanbanColumns200Response.d.ts +0 -8
  394. package/dist/models/GetAllMentions200Response.d.ts +0 -8
  395. package/dist/models/GetAllNotifications200Response.d.ts +0 -8
  396. package/dist/models/GetAllObjectives200Response.d.ts +0 -8
  397. package/dist/models/GetAllOffers200Response.d.ts +0 -8
  398. package/dist/models/GetAllPages200Response.d.ts +0 -8
  399. package/dist/models/GetAllPayments200Response.d.ts +0 -8
  400. package/dist/models/GetAllPresenceEntries200Response.d.ts +0 -8
  401. package/dist/models/GetAllPresenceTypes200Response.d.ts +0 -8
  402. package/dist/models/GetAllProducts200Response.d.ts +0 -8
  403. package/dist/models/GetAllReferences200Response.d.ts +0 -8
  404. package/dist/models/GetAllRegistrations200Response.d.ts +0 -8
  405. package/dist/models/GetAllResults200Response.d.ts +0 -8
  406. package/dist/models/GetAllRoles200Response.d.ts +0 -8
  407. package/dist/models/GetAllShares200Response.d.ts +0 -8
  408. package/dist/models/GetAllTags200Response.d.ts +0 -8
  409. package/dist/models/GetAllTextModules200Response.d.ts +0 -8
  410. package/dist/models/GetAllUnits200Response.d.ts +0 -8
  411. package/dist/models/GetAllUsers200Response.d.ts +0 -8
  412. package/dist/models/GetAllWikis200Response.d.ts +0 -8
  413. package/dist/models/GetAllWorkHours200Response.d.ts +0 -8
  414. package/dist/models/GetAllWorkflowExecutions200Response.d.ts +0 -8
  415. package/dist/models/GetAllWorkflowExternalTasks200Response.d.ts +0 -8
  416. package/dist/models/GetAllWorkflowProcesses200Response.d.ts +0 -8
  417. package/dist/models/GetAllWorkflows200Response.d.ts +0 -8
  418. package/dist/models/GetAllWritings200Response.d.ts +0 -8
  419. package/dist/models/GetSubscribedProducts200Response.d.ts +0 -8
  420. package/dist/models/GetUserRoles200Response.d.ts +0 -2
  421. package/dist/models/HolidaysDto.d.ts +0 -14
  422. package/dist/models/HospitalityReceiptDto.d.ts +0 -28
  423. package/dist/models/HospitalityReceiptSignatureDto.d.ts +0 -6
  424. package/dist/models/IdentifierDto.d.ts +0 -2
  425. package/dist/models/IdentifierType.js +1 -1
  426. package/dist/models/ImportTransactions200Response.d.ts +0 -2
  427. package/dist/models/InstituteDto.d.ts +0 -12
  428. package/dist/models/InternalWorkflowExternalTask.d.ts +0 -6
  429. package/dist/models/InternalWorkflowProcess.d.ts +0 -6
  430. package/dist/models/InternalWorkflowProcessLogDto.d.ts +0 -8
  431. package/dist/models/InternalWorkflowProcessLogDto.js +1 -1
  432. package/dist/models/InternalWorkflowProcessStopRequestDto.d.ts +0 -2
  433. package/dist/models/InvoiceConfigDto.d.ts +0 -12
  434. package/dist/models/InvoiceDto.d.ts +6 -62
  435. package/dist/models/InvoiceDto.js +1 -1
  436. package/dist/models/InvoiceItemDto.d.ts +0 -26
  437. package/dist/models/InvoicePortalDocumentDto.d.ts +78 -0
  438. package/dist/models/InvoicePortalDocumentDto.js +85 -0
  439. package/dist/models/InvoicePortalShareConfigDto.d.ts +0 -10
  440. package/dist/models/InvoiceTaxItemDto.d.ts +0 -8
  441. package/dist/models/InvoiceTaxItemDto.js +1 -1
  442. package/dist/models/InvoiceTextFieldsDto.d.ts +0 -14
  443. package/dist/models/InvoiceType.js +1 -1
  444. package/dist/models/InvoiceValidationCheck.js +1 -1
  445. package/dist/models/InvoiceValidationResult.d.ts +0 -2
  446. package/dist/models/InvoiceWhatsAppMessageDto.d.ts +33 -0
  447. package/dist/models/InvoiceWhatsAppMessageDto.js +49 -0
  448. package/dist/models/JobDto.d.ts +0 -24
  449. package/dist/models/JobDto.js +7 -6
  450. package/dist/models/KanbanBoardDto.d.ts +0 -12
  451. package/dist/models/KanbanCardDto.d.ts +0 -30
  452. package/dist/models/KanbanCardDto.js +7 -6
  453. package/dist/models/KanbanColumnDto.d.ts +0 -10
  454. package/dist/models/KommerzPageable.d.ts +0 -6
  455. package/dist/models/LedgerStatementDto.d.ts +0 -14
  456. package/dist/models/LedgerStatementDto.js +5 -4
  457. package/dist/models/LegalInfoDto.d.ts +0 -22
  458. package/dist/models/ListAllTenants200Response.d.ts +0 -8
  459. package/dist/models/ListDataTableRows200Response.d.ts +0 -8
  460. package/dist/models/ListDataTables200Response.d.ts +0 -8
  461. package/dist/models/ListDecisionTables200Response.d.ts +0 -8
  462. package/dist/models/ListDirectories200Response.d.ts +0 -8
  463. package/dist/models/ListFiles200Response.d.ts +0 -8
  464. package/dist/models/MacroConfig.d.ts +0 -6
  465. package/dist/models/MacroConfig.js +1 -1
  466. package/dist/models/MacroConfigReferencesInner.d.ts +0 -4
  467. package/dist/models/MarkInvoiceAsPaidRequest.d.ts +0 -4
  468. package/dist/models/MentionDto.d.ts +0 -8
  469. package/dist/models/MessageDto.d.ts +0 -4
  470. package/dist/models/MessagingPermissionsDto.d.ts +0 -4
  471. package/dist/models/NewRegistrationDto.d.ts +0 -2
  472. package/dist/models/NewRegistrationResponseDto.d.ts +0 -6
  473. package/dist/models/NotificationDto.d.ts +0 -12
  474. package/dist/models/NotificationDto.js +3 -2
  475. package/dist/models/NotificationTargetDto.d.ts +0 -12
  476. package/dist/models/NotificationTargetOrderDto.d.ts +0 -4
  477. package/dist/models/NotifierIdType.js +1 -1
  478. package/dist/models/OfferDto.d.ts +0 -38
  479. package/dist/models/OfferRendererDto.d.ts +0 -18
  480. package/dist/models/OkrKeyResultDto.d.ts +0 -18
  481. package/dist/models/OkrObjectiveDto.d.ts +0 -18
  482. package/dist/models/PageResponse.d.ts +0 -6
  483. package/dist/models/ParticipantRole.js +1 -1
  484. package/dist/models/ParticipantStatus.js +1 -1
  485. package/dist/models/PatternDto.d.ts +0 -6
  486. package/dist/models/PaymentConfigurationDto.d.ts +0 -4
  487. package/dist/models/PaymentInvoiceDto.d.ts +0 -14
  488. package/dist/models/PaymentProductDto.d.ts +0 -30
  489. package/dist/models/PaymentProductDto.js +4 -4
  490. package/dist/models/PaymentUriResponseDto.d.ts +0 -2
  491. package/dist/models/PaymentsDto.d.ts +0 -20
  492. package/dist/models/PaymentsDto.js +2 -2
  493. package/dist/models/Permissions.d.ts +4 -0
  494. package/dist/models/Permissions.js +5 -1
  495. package/dist/models/PrepositionType.js +1 -1
  496. package/dist/models/PresenceEntryDto.d.ts +0 -16
  497. package/dist/models/PresenceTypeDto.d.ts +0 -14
  498. package/dist/models/ProductDto.d.ts +0 -24
  499. package/dist/models/ProductSelectionDto.d.ts +0 -4
  500. package/dist/models/PublicShareDirectorDto.d.ts +0 -6
  501. package/dist/models/PublicShareDto.d.ts +0 -18
  502. package/dist/models/PublicShareDto.js +7 -6
  503. package/dist/models/PublicShareFileDto.d.ts +0 -10
  504. package/dist/models/PublicShareListingDto.d.ts +0 -6
  505. package/dist/models/ReferenceDto.d.ts +0 -12
  506. package/dist/models/RegisterUserDto.d.ts +0 -10
  507. package/dist/models/RoleDto.d.ts +5 -11
  508. package/dist/models/RoleDto.js +1 -0
  509. package/dist/models/RunWorkflowRequest.d.ts +0 -2
  510. package/dist/models/ShareInvoiceDto.d.ts +0 -4
  511. package/dist/models/ShareOfferDto.d.ts +0 -6
  512. package/dist/models/SkontoDto.d.ts +0 -4
  513. package/dist/models/SortDirection.js +1 -1
  514. package/dist/models/StatisticsDataEntry.d.ts +0 -4
  515. package/dist/models/StatisticsDefinitionDto.d.ts +0 -14
  516. package/dist/models/StatisticsDefinitionDto.js +2 -2
  517. package/dist/models/StatisticsResponseDto.d.ts +0 -4
  518. package/dist/models/SubscriptionChangeDto.d.ts +0 -6
  519. package/dist/models/SubscriptionChangeDto.js +3 -2
  520. package/dist/models/SubscriptionDto.d.ts +0 -28
  521. package/dist/models/SubscriptionDto.js +22 -21
  522. package/dist/models/SubscriptionResponseDto.d.ts +0 -4
  523. package/dist/models/TagDto.d.ts +0 -8
  524. package/dist/models/TagRelationDto.d.ts +0 -6
  525. package/dist/models/TenantConfigurationDto.d.ts +0 -12
  526. package/dist/models/TenantDto.d.ts +0 -16
  527. package/dist/models/TenantInvitationDto.d.ts +0 -4
  528. package/dist/models/TenantOwnerAdditionDto.d.ts +29 -0
  529. package/dist/models/TenantOwnerAdditionDto.js +50 -0
  530. package/dist/models/TestTokenDto.d.ts +0 -2
  531. package/dist/models/TestTokenRequest.d.ts +0 -6
  532. package/dist/models/TextModuleDto.d.ts +0 -14
  533. package/dist/models/TextModuleType.d.ts +1 -0
  534. package/dist/models/TextModuleType.js +2 -1
  535. package/dist/models/TimeSpanDto.d.ts +0 -6
  536. package/dist/models/TimeTrackingCalendarDayDto.d.ts +0 -16
  537. package/dist/models/TimeTrackingCalendarDto.d.ts +0 -20
  538. package/dist/models/TimesDto.d.ts +0 -4
  539. package/dist/models/TimesDto.js +3 -2
  540. package/dist/models/UiConfigurationDto.d.ts +0 -2
  541. package/dist/models/UiLandingWelcomeConfigDto.d.ts +0 -2
  542. package/dist/models/UiModule.js +1 -1
  543. package/dist/models/UnitCode.js +1 -1
  544. package/dist/models/UnitDto.d.ts +0 -12
  545. package/dist/models/UsageMetricType.js +1 -1
  546. package/dist/models/UsageMonitorDto.d.ts +0 -10
  547. package/dist/models/UsageMonitorDto.js +2 -2
  548. package/dist/models/UserAgentInformation.d.ts +0 -12
  549. package/dist/models/UserApprovalDto.d.ts +0 -6
  550. package/dist/models/UserApprovalDto.js +3 -2
  551. package/dist/models/UserDto.d.ts +5 -13
  552. package/dist/models/UserDto.js +1 -0
  553. package/dist/models/ValidateHandleHandleParameter.d.ts +0 -2
  554. package/dist/models/ValidateIbanIbanParameter.d.ts +0 -2
  555. package/dist/models/ValidationDto.d.ts +0 -4
  556. package/dist/models/ValidationErrors.d.ts +0 -4
  557. package/dist/models/ValidationErrorsErrorsInner.d.ts +0 -4
  558. package/dist/models/WikiDto.d.ts +0 -6
  559. package/dist/models/WikiPageDto.d.ts +0 -20
  560. package/dist/models/WikiPageDto.js +3 -1
  561. package/dist/models/WorkHoursDto.d.ts +0 -22
  562. package/dist/models/WorkflowDto.d.ts +0 -22
  563. package/dist/models/WorkflowExecutionDto.d.ts +0 -18
  564. package/dist/models/WorkflowExecutionDto.js +3 -2
  565. package/dist/models/WorkflowExecutionStatus.js +1 -1
  566. package/dist/models/WorkflowExternalTaskDto.d.ts +0 -10
  567. package/dist/models/WorkflowProcessDto.d.ts +0 -14
  568. package/dist/models/WorkflowProcessDto.js +5 -4
  569. package/dist/models/WorkflowProcessLogDto.d.ts +0 -6
  570. package/dist/models/WorkflowProcessLogDto.js +3 -2
  571. package/dist/models/WorkflowProcessLogType.js +1 -1
  572. package/dist/models/WorkflowProcessStatus.js +1 -1
  573. package/dist/models/WorkflowStatusEnum.js +1 -1
  574. package/dist/models/WritingDto.d.ts +0 -26
  575. package/dist/models/index.d.ts +7 -1
  576. package/dist/models/index.js +7 -1
  577. package/dist/runtime.d.ts +34 -1
  578. package/dist/runtime.js +143 -6
  579. package/package.json +1 -1
  580. package/dist/models/DocumentTemplateType.d.ts +0 -24
  581. package/dist/models/DocumentTemplateType.js +0 -50
@@ -65,7 +65,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
65
65
  Object.defineProperty(exports, "__esModule", { value: true });
66
66
  exports.UserPermissionsApi = void 0;
67
67
  var runtime = require("../runtime");
68
- var index_1 = require("../models/index");
68
+ var GetUserRoles200Response_1 = require("../models/GetUserRoles200Response");
69
69
  /**
70
70
  *
71
71
  */
@@ -74,31 +74,44 @@ var UserPermissionsApi = /** @class */ (function (_super) {
74
74
  function UserPermissionsApi() {
75
75
  return _super !== null && _super.apply(this, arguments) || this;
76
76
  }
77
+ /**
78
+ * Creates request options for getUserRoles without sending the request
79
+ */
80
+ UserPermissionsApi.prototype.getUserRolesRequestOpts = function (requestParameters) {
81
+ return __awaiter(this, void 0, void 0, function () {
82
+ var queryParameters, headerParameters, urlPath;
83
+ return __generator(this, function (_a) {
84
+ if (requestParameters['id'] == null) {
85
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getUserRoles().');
86
+ }
87
+ queryParameters = {};
88
+ headerParameters = {};
89
+ urlPath = "/ui/users/v1/users/{id}/roles";
90
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
91
+ return [2 /*return*/, {
92
+ path: urlPath,
93
+ method: 'GET',
94
+ headers: headerParameters,
95
+ query: queryParameters,
96
+ }];
97
+ });
98
+ });
99
+ };
77
100
  /**
78
101
  * get assigned roles
79
102
  */
80
103
  UserPermissionsApi.prototype.getUserRolesRaw = function (requestParameters, initOverrides) {
81
104
  return __awaiter(this, void 0, void 0, function () {
82
- var queryParameters, headerParameters, urlPath, response;
105
+ var requestOptions, response;
83
106
  return __generator(this, function (_a) {
84
107
  switch (_a.label) {
85
- case 0:
86
- if (requestParameters['id'] == null) {
87
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getUserRoles().');
88
- }
89
- queryParameters = {};
90
- headerParameters = {};
91
- urlPath = "/ui/users/v1/users/{id}/roles";
92
- urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
93
- return [4 /*yield*/, this.request({
94
- path: urlPath,
95
- method: 'GET',
96
- headers: headerParameters,
97
- query: queryParameters,
98
- }, initOverrides)];
108
+ case 0: return [4 /*yield*/, this.getUserRolesRequestOpts(requestParameters)];
99
109
  case 1:
110
+ requestOptions = _a.sent();
111
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
112
+ case 2:
100
113
  response = _a.sent();
101
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetUserRoles200ResponseFromJSON)(jsonValue); })];
114
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetUserRoles200Response_1.GetUserRoles200ResponseFromJSON)(jsonValue); })];
102
115
  }
103
116
  });
104
117
  });
@@ -120,29 +133,42 @@ var UserPermissionsApi = /** @class */ (function (_super) {
120
133
  });
121
134
  });
122
135
  };
136
+ /**
137
+ * Creates request options for listPermissions without sending the request
138
+ */
139
+ UserPermissionsApi.prototype.listPermissionsRequestOpts = function (requestParameters) {
140
+ return __awaiter(this, void 0, void 0, function () {
141
+ var queryParameters, headerParameters, urlPath;
142
+ return __generator(this, function (_a) {
143
+ if (requestParameters['id'] == null) {
144
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling listPermissions().');
145
+ }
146
+ queryParameters = {};
147
+ headerParameters = {};
148
+ urlPath = "/ui/users/v1/users/{id}/permissions";
149
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
150
+ return [2 /*return*/, {
151
+ path: urlPath,
152
+ method: 'GET',
153
+ headers: headerParameters,
154
+ query: queryParameters,
155
+ }];
156
+ });
157
+ });
158
+ };
123
159
  /**
124
160
  * get user permissions
125
161
  */
126
162
  UserPermissionsApi.prototype.listPermissionsRaw = function (requestParameters, initOverrides) {
127
163
  return __awaiter(this, void 0, void 0, function () {
128
- var queryParameters, headerParameters, urlPath, response;
164
+ var requestOptions, response;
129
165
  return __generator(this, function (_a) {
130
166
  switch (_a.label) {
131
- case 0:
132
- if (requestParameters['id'] == null) {
133
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling listPermissions().');
134
- }
135
- queryParameters = {};
136
- headerParameters = {};
137
- urlPath = "/ui/users/v1/users/{id}/permissions";
138
- urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
139
- return [4 /*yield*/, this.request({
140
- path: urlPath,
141
- method: 'GET',
142
- headers: headerParameters,
143
- query: queryParameters,
144
- }, initOverrides)];
167
+ case 0: return [4 /*yield*/, this.listPermissionsRequestOpts(requestParameters)];
145
168
  case 1:
169
+ requestOptions = _a.sent();
170
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
171
+ case 2:
146
172
  response = _a.sent();
147
173
  return [2 /*return*/, new runtime.JSONApiResponse(response)];
148
174
  }
@@ -166,36 +192,49 @@ var UserPermissionsApi = /** @class */ (function (_super) {
166
192
  });
167
193
  });
168
194
  };
195
+ /**
196
+ * Creates request options for updateUserRoles without sending the request
197
+ */
198
+ UserPermissionsApi.prototype.updateUserRolesRequestOpts = function (requestParameters) {
199
+ return __awaiter(this, void 0, void 0, function () {
200
+ var queryParameters, headerParameters, urlPath;
201
+ return __generator(this, function (_a) {
202
+ if (requestParameters['id'] == null) {
203
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateUserRoles().');
204
+ }
205
+ if (requestParameters['getUserRoles200Response'] == null) {
206
+ throw new runtime.RequiredError('getUserRoles200Response', 'Required parameter "getUserRoles200Response" was null or undefined when calling updateUserRoles().');
207
+ }
208
+ queryParameters = {};
209
+ headerParameters = {};
210
+ headerParameters['Content-Type'] = 'application/json';
211
+ urlPath = "/ui/users/v1/users/{id}/roles";
212
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
213
+ return [2 /*return*/, {
214
+ path: urlPath,
215
+ method: 'PUT',
216
+ headers: headerParameters,
217
+ query: queryParameters,
218
+ body: (0, GetUserRoles200Response_1.GetUserRoles200ResponseToJSON)(requestParameters['getUserRoles200Response']),
219
+ }];
220
+ });
221
+ });
222
+ };
169
223
  /**
170
224
  * update assigned roles
171
225
  */
172
226
  UserPermissionsApi.prototype.updateUserRolesRaw = function (requestParameters, initOverrides) {
173
227
  return __awaiter(this, void 0, void 0, function () {
174
- var queryParameters, headerParameters, urlPath, response;
228
+ var requestOptions, response;
175
229
  return __generator(this, function (_a) {
176
230
  switch (_a.label) {
177
- case 0:
178
- if (requestParameters['id'] == null) {
179
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling updateUserRoles().');
180
- }
181
- if (requestParameters['getUserRoles200Response'] == null) {
182
- throw new runtime.RequiredError('getUserRoles200Response', 'Required parameter "getUserRoles200Response" was null or undefined when calling updateUserRoles().');
183
- }
184
- queryParameters = {};
185
- headerParameters = {};
186
- headerParameters['Content-Type'] = 'application/json';
187
- urlPath = "/ui/users/v1/users/{id}/roles";
188
- urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
189
- return [4 /*yield*/, this.request({
190
- path: urlPath,
191
- method: 'PUT',
192
- headers: headerParameters,
193
- query: queryParameters,
194
- body: (0, index_1.GetUserRoles200ResponseToJSON)(requestParameters['getUserRoles200Response']),
195
- }, initOverrides)];
231
+ case 0: return [4 /*yield*/, this.updateUserRolesRequestOpts(requestParameters)];
196
232
  case 1:
233
+ requestOptions = _a.sent();
234
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
235
+ case 2:
197
236
  response = _a.sent();
198
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetUserRoles200ResponseFromJSON)(jsonValue); })];
237
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetUserRoles200Response_1.GetUserRoles200ResponseFromJSON)(jsonValue); })];
199
238
  }
200
239
  });
201
240
  });
@@ -9,11 +9,35 @@
9
9
  * Do not edit the class manually.
10
10
  */
11
11
  import * as runtime from '../runtime';
12
- import type { TenantDto } from '../models/index';
12
+ import { type TenantDto } from '../models/TenantDto';
13
+ export interface LeaveTenantRequest {
14
+ /**
15
+ * id of entity
16
+ */
17
+ id: string;
18
+ }
13
19
  /**
14
20
  *
15
21
  */
16
22
  export declare class UserTenantsApi extends runtime.BaseAPI {
23
+ /**
24
+ * Creates request options for leaveTenant without sending the request
25
+ */
26
+ leaveTenantRequestOpts(requestParameters: LeaveTenantRequest): Promise<runtime.RequestOpts>;
27
+ /**
28
+ * Removes the current user from the tenant. Not possible for the sole member of a tenant (the tenant must be deleted instead) or for the sole owner (another owner must be added first).
29
+ * leave tenant
30
+ */
31
+ leaveTenantRaw(requestParameters: LeaveTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
32
+ /**
33
+ * Removes the current user from the tenant. Not possible for the sole member of a tenant (the tenant must be deleted instead) or for the sole owner (another owner must be added first).
34
+ * leave tenant
35
+ */
36
+ leaveTenant(requestParameters: LeaveTenantRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
37
+ /**
38
+ * Creates request options for listTenants without sending the request
39
+ */
40
+ listTenantsRequestOpts(): Promise<runtime.RequestOpts>;
17
41
  /**
18
42
  * get tenants for user
19
43
  */
@@ -65,7 +65,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
65
65
  Object.defineProperty(exports, "__esModule", { value: true });
66
66
  exports.UserTenantsApi = void 0;
67
67
  var runtime = require("../runtime");
68
- var index_1 = require("../models/index");
68
+ var TenantDto_1 = require("../models/TenantDto");
69
69
  /**
70
70
  *
71
71
  */
@@ -74,27 +74,99 @@ var UserTenantsApi = /** @class */ (function (_super) {
74
74
  function UserTenantsApi() {
75
75
  return _super !== null && _super.apply(this, arguments) || this;
76
76
  }
77
+ /**
78
+ * Creates request options for leaveTenant without sending the request
79
+ */
80
+ UserTenantsApi.prototype.leaveTenantRequestOpts = function (requestParameters) {
81
+ return __awaiter(this, void 0, void 0, function () {
82
+ var queryParameters, headerParameters, urlPath;
83
+ return __generator(this, function (_a) {
84
+ if (requestParameters['id'] == null) {
85
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling leaveTenant().');
86
+ }
87
+ queryParameters = {};
88
+ headerParameters = {};
89
+ urlPath = "/ui/users/v1/tenants/{id}";
90
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
91
+ return [2 /*return*/, {
92
+ path: urlPath,
93
+ method: 'DELETE',
94
+ headers: headerParameters,
95
+ query: queryParameters,
96
+ }];
97
+ });
98
+ });
99
+ };
100
+ /**
101
+ * Removes the current user from the tenant. Not possible for the sole member of a tenant (the tenant must be deleted instead) or for the sole owner (another owner must be added first).
102
+ * leave tenant
103
+ */
104
+ UserTenantsApi.prototype.leaveTenantRaw = function (requestParameters, initOverrides) {
105
+ return __awaiter(this, void 0, void 0, function () {
106
+ var requestOptions, response;
107
+ return __generator(this, function (_a) {
108
+ switch (_a.label) {
109
+ case 0: return [4 /*yield*/, this.leaveTenantRequestOpts(requestParameters)];
110
+ case 1:
111
+ requestOptions = _a.sent();
112
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
113
+ case 2:
114
+ response = _a.sent();
115
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
116
+ }
117
+ });
118
+ });
119
+ };
120
+ /**
121
+ * Removes the current user from the tenant. Not possible for the sole member of a tenant (the tenant must be deleted instead) or for the sole owner (another owner must be added first).
122
+ * leave tenant
123
+ */
124
+ UserTenantsApi.prototype.leaveTenant = function (requestParameters, initOverrides) {
125
+ return __awaiter(this, void 0, void 0, function () {
126
+ return __generator(this, function (_a) {
127
+ switch (_a.label) {
128
+ case 0: return [4 /*yield*/, this.leaveTenantRaw(requestParameters, initOverrides)];
129
+ case 1:
130
+ _a.sent();
131
+ return [2 /*return*/];
132
+ }
133
+ });
134
+ });
135
+ };
136
+ /**
137
+ * Creates request options for listTenants without sending the request
138
+ */
139
+ UserTenantsApi.prototype.listTenantsRequestOpts = function () {
140
+ return __awaiter(this, void 0, void 0, function () {
141
+ var queryParameters, headerParameters, urlPath;
142
+ return __generator(this, function (_a) {
143
+ queryParameters = {};
144
+ headerParameters = {};
145
+ urlPath = "/ui/users/v1/tenants";
146
+ return [2 /*return*/, {
147
+ path: urlPath,
148
+ method: 'GET',
149
+ headers: headerParameters,
150
+ query: queryParameters,
151
+ }];
152
+ });
153
+ });
154
+ };
77
155
  /**
78
156
  * get tenants for user
79
157
  */
80
158
  UserTenantsApi.prototype.listTenantsRaw = function (initOverrides) {
81
159
  return __awaiter(this, void 0, void 0, function () {
82
- var queryParameters, headerParameters, urlPath, response;
160
+ var requestOptions, response;
83
161
  return __generator(this, function (_a) {
84
162
  switch (_a.label) {
85
- case 0:
86
- queryParameters = {};
87
- headerParameters = {};
88
- urlPath = "/ui/users/v1/tenants";
89
- return [4 /*yield*/, this.request({
90
- path: urlPath,
91
- method: 'GET',
92
- headers: headerParameters,
93
- query: queryParameters,
94
- }, initOverrides)];
163
+ case 0: return [4 /*yield*/, this.listTenantsRequestOpts()];
95
164
  case 1:
165
+ requestOptions = _a.sent();
166
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
167
+ case 2:
96
168
  response = _a.sent();
97
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.TenantDtoFromJSON); })];
169
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(TenantDto_1.TenantDtoFromJSON); })];
98
170
  }
99
171
  });
100
172
  });
@@ -9,21 +9,39 @@
9
9
  * Do not edit the class manually.
10
10
  */
11
11
  import * as runtime from '../runtime';
12
- import type { GetAllUsers200Response, KommerzPageable, UserDto } from '../models/index';
12
+ import { type GetAllUsers200Response } from '../models/GetAllUsers200Response';
13
+ import { type KommerzPageable } from '../models/KommerzPageable';
14
+ import { type UserDto } from '../models/UserDto';
13
15
  export interface GetAllUsersRequest {
16
+ /**
17
+ * Pageable query parameters
18
+ */
14
19
  pageable: KommerzPageable;
20
+ /**
21
+ * Filter query parameters. Operators: sim, nsim, eq, neq, leq, less, geq, gtr). Values have to be url-encoded.
22
+ */
15
23
  filter?: Array<string>;
16
24
  }
17
25
  export interface GetUserRequest {
26
+ /**
27
+ * id of entity
28
+ */
18
29
  id: string;
19
30
  }
20
31
  export interface RemoveUserFromTenantRequest {
32
+ /**
33
+ * id of entity
34
+ */
21
35
  id: string;
22
36
  }
23
37
  /**
24
38
  *
25
39
  */
26
40
  export declare class UsersApi extends runtime.BaseAPI {
41
+ /**
42
+ * Creates request options for getAllUsers without sending the request
43
+ */
44
+ getAllUsersRequestOpts(requestParameters: GetAllUsersRequest): Promise<runtime.RequestOpts>;
27
45
  /**
28
46
  * get all users
29
47
  */
@@ -32,6 +50,10 @@ export declare class UsersApi extends runtime.BaseAPI {
32
50
  * get all users
33
51
  */
34
52
  getAllUsers(requestParameters: GetAllUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllUsers200Response>;
53
+ /**
54
+ * Creates request options for getUser without sending the request
55
+ */
56
+ getUserRequestOpts(requestParameters: GetUserRequest): Promise<runtime.RequestOpts>;
35
57
  /**
36
58
  * read one user
37
59
  */
@@ -40,6 +62,10 @@ export declare class UsersApi extends runtime.BaseAPI {
40
62
  * read one user
41
63
  */
42
64
  getUser(requestParameters: GetUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserDto>;
65
+ /**
66
+ * Creates request options for removeUserFromTenant without sending the request
67
+ */
68
+ removeUserFromTenantRequestOpts(requestParameters: RemoveUserFromTenantRequest): Promise<runtime.RequestOpts>;
43
69
  /**
44
70
  * remove a user from the current tenant
45
71
  */
@@ -65,7 +65,8 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
65
65
  Object.defineProperty(exports, "__esModule", { value: true });
66
66
  exports.UsersApi = void 0;
67
67
  var runtime = require("../runtime");
68
- var index_1 = require("../models/index");
68
+ var GetAllUsers200Response_1 = require("../models/GetAllUsers200Response");
69
+ var UserDto_1 = require("../models/UserDto");
69
70
  /**
70
71
  *
71
72
  */
@@ -74,36 +75,49 @@ var UsersApi = /** @class */ (function (_super) {
74
75
  function UsersApi() {
75
76
  return _super !== null && _super.apply(this, arguments) || this;
76
77
  }
78
+ /**
79
+ * Creates request options for getAllUsers without sending the request
80
+ */
81
+ UsersApi.prototype.getAllUsersRequestOpts = function (requestParameters) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, urlPath;
84
+ return __generator(this, function (_a) {
85
+ if (requestParameters['pageable'] == null) {
86
+ throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getAllUsers().');
87
+ }
88
+ queryParameters = {};
89
+ if (requestParameters['pageable'] != null) {
90
+ queryParameters['pageable'] = requestParameters['pageable'];
91
+ }
92
+ if (requestParameters['filter'] != null) {
93
+ queryParameters['filter'] = requestParameters['filter'];
94
+ }
95
+ headerParameters = {};
96
+ urlPath = "/ui/users/v1/users";
97
+ return [2 /*return*/, {
98
+ path: urlPath,
99
+ method: 'GET',
100
+ headers: headerParameters,
101
+ query: queryParameters,
102
+ }];
103
+ });
104
+ });
105
+ };
77
106
  /**
78
107
  * get all users
79
108
  */
80
109
  UsersApi.prototype.getAllUsersRaw = function (requestParameters, initOverrides) {
81
110
  return __awaiter(this, void 0, void 0, function () {
82
- var queryParameters, headerParameters, urlPath, response;
111
+ var requestOptions, response;
83
112
  return __generator(this, function (_a) {
84
113
  switch (_a.label) {
85
- case 0:
86
- if (requestParameters['pageable'] == null) {
87
- throw new runtime.RequiredError('pageable', 'Required parameter "pageable" was null or undefined when calling getAllUsers().');
88
- }
89
- queryParameters = {};
90
- if (requestParameters['pageable'] != null) {
91
- queryParameters['pageable'] = requestParameters['pageable'];
92
- }
93
- if (requestParameters['filter'] != null) {
94
- queryParameters['filter'] = requestParameters['filter'];
95
- }
96
- headerParameters = {};
97
- urlPath = "/ui/users/v1/users";
98
- return [4 /*yield*/, this.request({
99
- path: urlPath,
100
- method: 'GET',
101
- headers: headerParameters,
102
- query: queryParameters,
103
- }, initOverrides)];
114
+ case 0: return [4 /*yield*/, this.getAllUsersRequestOpts(requestParameters)];
104
115
  case 1:
116
+ requestOptions = _a.sent();
117
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
118
+ case 2:
105
119
  response = _a.sent();
106
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GetAllUsers200ResponseFromJSON)(jsonValue); })];
120
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetAllUsers200Response_1.GetAllUsers200ResponseFromJSON)(jsonValue); })];
107
121
  }
108
122
  });
109
123
  });
@@ -125,31 +139,44 @@ var UsersApi = /** @class */ (function (_super) {
125
139
  });
126
140
  });
127
141
  };
142
+ /**
143
+ * Creates request options for getUser without sending the request
144
+ */
145
+ UsersApi.prototype.getUserRequestOpts = function (requestParameters) {
146
+ return __awaiter(this, void 0, void 0, function () {
147
+ var queryParameters, headerParameters, urlPath;
148
+ return __generator(this, function (_a) {
149
+ if (requestParameters['id'] == null) {
150
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getUser().');
151
+ }
152
+ queryParameters = {};
153
+ headerParameters = {};
154
+ urlPath = "/ui/users/v1/users/{id}";
155
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
156
+ return [2 /*return*/, {
157
+ path: urlPath,
158
+ method: 'GET',
159
+ headers: headerParameters,
160
+ query: queryParameters,
161
+ }];
162
+ });
163
+ });
164
+ };
128
165
  /**
129
166
  * read one user
130
167
  */
131
168
  UsersApi.prototype.getUserRaw = function (requestParameters, initOverrides) {
132
169
  return __awaiter(this, void 0, void 0, function () {
133
- var queryParameters, headerParameters, urlPath, response;
170
+ var requestOptions, response;
134
171
  return __generator(this, function (_a) {
135
172
  switch (_a.label) {
136
- case 0:
137
- if (requestParameters['id'] == null) {
138
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getUser().');
139
- }
140
- queryParameters = {};
141
- headerParameters = {};
142
- urlPath = "/ui/users/v1/users/{id}";
143
- urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
144
- return [4 /*yield*/, this.request({
145
- path: urlPath,
146
- method: 'GET',
147
- headers: headerParameters,
148
- query: queryParameters,
149
- }, initOverrides)];
173
+ case 0: return [4 /*yield*/, this.getUserRequestOpts(requestParameters)];
150
174
  case 1:
175
+ requestOptions = _a.sent();
176
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
177
+ case 2:
151
178
  response = _a.sent();
152
- return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.UserDtoFromJSON)(jsonValue); })];
179
+ return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, UserDto_1.UserDtoFromJSON)(jsonValue); })];
153
180
  }
154
181
  });
155
182
  });
@@ -171,29 +198,42 @@ var UsersApi = /** @class */ (function (_super) {
171
198
  });
172
199
  });
173
200
  };
201
+ /**
202
+ * Creates request options for removeUserFromTenant without sending the request
203
+ */
204
+ UsersApi.prototype.removeUserFromTenantRequestOpts = function (requestParameters) {
205
+ return __awaiter(this, void 0, void 0, function () {
206
+ var queryParameters, headerParameters, urlPath;
207
+ return __generator(this, function (_a) {
208
+ if (requestParameters['id'] == null) {
209
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling removeUserFromTenant().');
210
+ }
211
+ queryParameters = {};
212
+ headerParameters = {};
213
+ urlPath = "/ui/users/v1/users/{id}";
214
+ urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
215
+ return [2 /*return*/, {
216
+ path: urlPath,
217
+ method: 'DELETE',
218
+ headers: headerParameters,
219
+ query: queryParameters,
220
+ }];
221
+ });
222
+ });
223
+ };
174
224
  /**
175
225
  * remove a user from the current tenant
176
226
  */
177
227
  UsersApi.prototype.removeUserFromTenantRaw = function (requestParameters, initOverrides) {
178
228
  return __awaiter(this, void 0, void 0, function () {
179
- var queryParameters, headerParameters, urlPath, response;
229
+ var requestOptions, response;
180
230
  return __generator(this, function (_a) {
181
231
  switch (_a.label) {
182
- case 0:
183
- if (requestParameters['id'] == null) {
184
- throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling removeUserFromTenant().');
185
- }
186
- queryParameters = {};
187
- headerParameters = {};
188
- urlPath = "/ui/users/v1/users/{id}";
189
- urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
190
- return [4 /*yield*/, this.request({
191
- path: urlPath,
192
- method: 'DELETE',
193
- headers: headerParameters,
194
- query: queryParameters,
195
- }, initOverrides)];
232
+ case 0: return [4 /*yield*/, this.removeUserFromTenantRequestOpts(requestParameters)];
196
233
  case 1:
234
+ requestOptions = _a.sent();
235
+ return [4 /*yield*/, this.request(requestOptions, initOverrides)];
236
+ case 2:
197
237
  response = _a.sent();
198
238
  return [2 /*return*/, new runtime.VoidApiResponse(response)];
199
239
  }