prioritize-client 1.3.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 (363) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +90 -0
  3. package/dist/apis/CompaniesApi.d.ts +168 -0
  4. package/dist/apis/CompaniesApi.js +265 -0
  5. package/dist/apis/DepartmentsApi.d.ts +150 -0
  6. package/dist/apis/DepartmentsApi.js +232 -0
  7. package/dist/apis/DocumentGroupsApi.d.ts +118 -0
  8. package/dist/apis/DocumentGroupsApi.js +183 -0
  9. package/dist/apis/DocumentsApi.d.ts +296 -0
  10. package/dist/apis/DocumentsApi.js +494 -0
  11. package/dist/apis/NFCApi.d.ts +174 -0
  12. package/dist/apis/NFCApi.js +268 -0
  13. package/dist/apis/ProcessDefinitionsApi.d.ts +168 -0
  14. package/dist/apis/ProcessDefinitionsApi.js +260 -0
  15. package/dist/apis/ProcessInstancesApi.d.ts +176 -0
  16. package/dist/apis/ProcessInstancesApi.js +272 -0
  17. package/dist/apis/ProjectGoalsApi.d.ts +180 -0
  18. package/dist/apis/ProjectGoalsApi.js +279 -0
  19. package/dist/apis/ProjectsApi.d.ts +350 -0
  20. package/dist/apis/ProjectsApi.js +551 -0
  21. package/dist/apis/ResourcesApi.d.ts +542 -0
  22. package/dist/apis/ResourcesApi.js +872 -0
  23. package/dist/apis/SkillsApi.d.ts +262 -0
  24. package/dist/apis/SkillsApi.js +419 -0
  25. package/dist/apis/TaskSchedulesApi.d.ts +150 -0
  26. package/dist/apis/TaskSchedulesApi.js +232 -0
  27. package/dist/apis/TasksApi.d.ts +372 -0
  28. package/dist/apis/TasksApi.js +585 -0
  29. package/dist/apis/TelemetryRulesApi.d.ts +150 -0
  30. package/dist/apis/TelemetryRulesApi.js +232 -0
  31. package/dist/apis/UsersApi.d.ts +247 -0
  32. package/dist/apis/UsersApi.js +393 -0
  33. package/dist/apis/index.d.ts +15 -0
  34. package/dist/apis/index.js +33 -0
  35. package/dist/esm/apis/CompaniesApi.d.ts +168 -0
  36. package/dist/esm/apis/CompaniesApi.js +261 -0
  37. package/dist/esm/apis/DepartmentsApi.d.ts +150 -0
  38. package/dist/esm/apis/DepartmentsApi.js +228 -0
  39. package/dist/esm/apis/DocumentGroupsApi.d.ts +118 -0
  40. package/dist/esm/apis/DocumentGroupsApi.js +179 -0
  41. package/dist/esm/apis/DocumentsApi.d.ts +296 -0
  42. package/dist/esm/apis/DocumentsApi.js +490 -0
  43. package/dist/esm/apis/NFCApi.d.ts +174 -0
  44. package/dist/esm/apis/NFCApi.js +264 -0
  45. package/dist/esm/apis/ProcessDefinitionsApi.d.ts +168 -0
  46. package/dist/esm/apis/ProcessDefinitionsApi.js +256 -0
  47. package/dist/esm/apis/ProcessInstancesApi.d.ts +176 -0
  48. package/dist/esm/apis/ProcessInstancesApi.js +268 -0
  49. package/dist/esm/apis/ProjectGoalsApi.d.ts +180 -0
  50. package/dist/esm/apis/ProjectGoalsApi.js +275 -0
  51. package/dist/esm/apis/ProjectsApi.d.ts +350 -0
  52. package/dist/esm/apis/ProjectsApi.js +547 -0
  53. package/dist/esm/apis/ResourcesApi.d.ts +542 -0
  54. package/dist/esm/apis/ResourcesApi.js +868 -0
  55. package/dist/esm/apis/SkillsApi.d.ts +262 -0
  56. package/dist/esm/apis/SkillsApi.js +415 -0
  57. package/dist/esm/apis/TaskSchedulesApi.d.ts +150 -0
  58. package/dist/esm/apis/TaskSchedulesApi.js +228 -0
  59. package/dist/esm/apis/TasksApi.d.ts +372 -0
  60. package/dist/esm/apis/TasksApi.js +581 -0
  61. package/dist/esm/apis/TelemetryRulesApi.d.ts +150 -0
  62. package/dist/esm/apis/TelemetryRulesApi.js +228 -0
  63. package/dist/esm/apis/UsersApi.d.ts +247 -0
  64. package/dist/esm/apis/UsersApi.js +389 -0
  65. package/dist/esm/apis/index.d.ts +15 -0
  66. package/dist/esm/apis/index.js +17 -0
  67. package/dist/esm/index.d.ts +3 -0
  68. package/dist/esm/index.js +5 -0
  69. package/dist/esm/models/AddressDTO.d.ts +86 -0
  70. package/dist/esm/models/AddressDTO.js +59 -0
  71. package/dist/esm/models/AddressRequest.d.ts +80 -0
  72. package/dist/esm/models/AddressRequest.js +57 -0
  73. package/dist/esm/models/CancelProcessInstanceRequest.d.ts +32 -0
  74. package/dist/esm/models/CancelProcessInstanceRequest.js +41 -0
  75. package/dist/esm/models/CompanyDTO.d.ts +69 -0
  76. package/dist/esm/models/CompanyDTO.js +54 -0
  77. package/dist/esm/models/CompanyRequest.d.ts +63 -0
  78. package/dist/esm/models/CompanyRequest.js +52 -0
  79. package/dist/esm/models/DepartmentDTO.d.ts +57 -0
  80. package/dist/esm/models/DepartmentDTO.js +50 -0
  81. package/dist/esm/models/DepartmentRequest.d.ts +45 -0
  82. package/dist/esm/models/DepartmentRequest.js +46 -0
  83. package/dist/esm/models/DocumentCheckInRequest.d.ts +32 -0
  84. package/dist/esm/models/DocumentCheckInRequest.js +43 -0
  85. package/dist/esm/models/DocumentGroupDTO.d.ts +44 -0
  86. package/dist/esm/models/DocumentGroupDTO.js +45 -0
  87. package/dist/esm/models/DocumentGroupRequest.d.ts +38 -0
  88. package/dist/esm/models/DocumentGroupRequest.js +43 -0
  89. package/dist/esm/models/DocumentHistoryDTO.d.ts +56 -0
  90. package/dist/esm/models/DocumentHistoryDTO.js +49 -0
  91. package/dist/esm/models/DocumentSummaryDTO.d.ts +56 -0
  92. package/dist/esm/models/DocumentSummaryDTO.js +49 -0
  93. package/dist/esm/models/GoalProgress.d.ts +44 -0
  94. package/dist/esm/models/GoalProgress.js +45 -0
  95. package/dist/esm/models/GoalRequest.d.ts +45 -0
  96. package/dist/esm/models/GoalRequest.js +46 -0
  97. package/dist/esm/models/GoalRequestPropertiesInner.d.ts +23 -0
  98. package/dist/esm/models/GoalRequestPropertiesInner.js +45 -0
  99. package/dist/esm/models/NfcUnitDTO.d.ts +97 -0
  100. package/dist/esm/models/NfcUnitDTO.js +69 -0
  101. package/dist/esm/models/NfcUnitRequest.d.ts +67 -0
  102. package/dist/esm/models/NfcUnitRequest.js +59 -0
  103. package/dist/esm/models/ProcessDefinitionDTO.d.ts +89 -0
  104. package/dist/esm/models/ProcessDefinitionDTO.js +65 -0
  105. package/dist/esm/models/ProcessInstanceDTO.d.ts +80 -0
  106. package/dist/esm/models/ProcessInstanceDTO.js +57 -0
  107. package/dist/esm/models/ProjectDTO.d.ts +86 -0
  108. package/dist/esm/models/ProjectDTO.js +59 -0
  109. package/dist/esm/models/ProjectGoalDTO.d.ts +44 -0
  110. package/dist/esm/models/ProjectGoalDTO.js +45 -0
  111. package/dist/esm/models/ProjectGoalProperty.d.ts +50 -0
  112. package/dist/esm/models/ProjectGoalProperty.js +69 -0
  113. package/dist/esm/models/ProjectGoalPropertyDocument.d.ts +33 -0
  114. package/dist/esm/models/ProjectGoalPropertyDocument.js +38 -0
  115. package/dist/esm/models/ProjectGoalPropertyNumeric.d.ts +39 -0
  116. package/dist/esm/models/ProjectGoalPropertyNumeric.js +38 -0
  117. package/dist/esm/models/ProjectProgress.d.ts +39 -0
  118. package/dist/esm/models/ProjectProgress.js +44 -0
  119. package/dist/esm/models/ProjectRequest.d.ts +62 -0
  120. package/dist/esm/models/ProjectRequest.js +51 -0
  121. package/dist/esm/models/ResourceCommandRequest.d.ts +38 -0
  122. package/dist/esm/models/ResourceCommandRequest.js +43 -0
  123. package/dist/esm/models/ResourceDTO.d.ts +152 -0
  124. package/dist/esm/models/ResourceDTO.js +81 -0
  125. package/dist/esm/models/ResourceGroupDTO.d.ts +44 -0
  126. package/dist/esm/models/ResourceGroupDTO.js +45 -0
  127. package/dist/esm/models/ResourceRequest.d.ts +116 -0
  128. package/dist/esm/models/ResourceRequest.js +69 -0
  129. package/dist/esm/models/ResourceReservationDTO.d.ts +56 -0
  130. package/dist/esm/models/ResourceReservationDTO.js +49 -0
  131. package/dist/esm/models/ResourceStatusDTO.d.ts +47 -0
  132. package/dist/esm/models/ResourceStatusDTO.js +48 -0
  133. package/dist/esm/models/ResourceValueDTO.d.ts +38 -0
  134. package/dist/esm/models/ResourceValueDTO.js +43 -0
  135. package/dist/esm/models/ResourceValueRequest.d.ts +38 -0
  136. package/dist/esm/models/ResourceValueRequest.js +43 -0
  137. package/dist/esm/models/ScanResult.d.ts +73 -0
  138. package/dist/esm/models/ScanResult.js +61 -0
  139. package/dist/esm/models/SkillCategoryDTO.d.ts +56 -0
  140. package/dist/esm/models/SkillCategoryDTO.js +49 -0
  141. package/dist/esm/models/SkillCategoryRequest.d.ts +44 -0
  142. package/dist/esm/models/SkillCategoryRequest.js +45 -0
  143. package/dist/esm/models/SkillRecordDTO.d.ts +50 -0
  144. package/dist/esm/models/SkillRecordDTO.js +47 -0
  145. package/dist/esm/models/SkillRecordRequest.d.ts +38 -0
  146. package/dist/esm/models/SkillRecordRequest.js +43 -0
  147. package/dist/esm/models/SkillRequest.d.ts +50 -0
  148. package/dist/esm/models/SkillRequest.js +47 -0
  149. package/dist/esm/models/SkillSummaryDTO.d.ts +62 -0
  150. package/dist/esm/models/SkillSummaryDTO.js +51 -0
  151. package/dist/esm/models/StartProcessInstanceRequest.d.ts +40 -0
  152. package/dist/esm/models/StartProcessInstanceRequest.js +43 -0
  153. package/dist/esm/models/TaskDTO.d.ts +95 -0
  154. package/dist/esm/models/TaskDTO.js +71 -0
  155. package/dist/esm/models/TaskRequest.d.ts +44 -0
  156. package/dist/esm/models/TaskRequest.js +45 -0
  157. package/dist/esm/models/TaskScheduleDTO.d.ts +92 -0
  158. package/dist/esm/models/TaskScheduleDTO.js +61 -0
  159. package/dist/esm/models/TaskScheduleRequest.d.ts +68 -0
  160. package/dist/esm/models/TaskScheduleRequest.js +53 -0
  161. package/dist/esm/models/TaskStatusRequest.d.ts +47 -0
  162. package/dist/esm/models/TaskStatusRequest.js +55 -0
  163. package/dist/esm/models/TelemetryRuleDTO.d.ts +118 -0
  164. package/dist/esm/models/TelemetryRuleDTO.js +84 -0
  165. package/dist/esm/models/TelemetryRuleRequest.d.ts +86 -0
  166. package/dist/esm/models/TelemetryRuleRequest.js +69 -0
  167. package/dist/esm/models/TrackingSummary.d.ts +56 -0
  168. package/dist/esm/models/TrackingSummary.js +49 -0
  169. package/dist/esm/models/UserDTO.d.ts +115 -0
  170. package/dist/esm/models/UserDTO.js +75 -0
  171. package/dist/esm/models/UserRequest.d.ts +97 -0
  172. package/dist/esm/models/UserRequest.js +69 -0
  173. package/dist/esm/models/WorkSession.d.ts +50 -0
  174. package/dist/esm/models/WorkSession.js +47 -0
  175. package/dist/esm/models/index.d.ts +53 -0
  176. package/dist/esm/models/index.js +55 -0
  177. package/dist/esm/runtime.d.ts +182 -0
  178. package/dist/esm/runtime.js +330 -0
  179. package/dist/index.d.ts +3 -0
  180. package/dist/index.js +21 -0
  181. package/dist/models/AddressDTO.d.ts +86 -0
  182. package/dist/models/AddressDTO.js +66 -0
  183. package/dist/models/AddressRequest.d.ts +80 -0
  184. package/dist/models/AddressRequest.js +64 -0
  185. package/dist/models/CancelProcessInstanceRequest.d.ts +32 -0
  186. package/dist/models/CancelProcessInstanceRequest.js +48 -0
  187. package/dist/models/CompanyDTO.d.ts +69 -0
  188. package/dist/models/CompanyDTO.js +61 -0
  189. package/dist/models/CompanyRequest.d.ts +63 -0
  190. package/dist/models/CompanyRequest.js +59 -0
  191. package/dist/models/DepartmentDTO.d.ts +57 -0
  192. package/dist/models/DepartmentDTO.js +57 -0
  193. package/dist/models/DepartmentRequest.d.ts +45 -0
  194. package/dist/models/DepartmentRequest.js +53 -0
  195. package/dist/models/DocumentCheckInRequest.d.ts +32 -0
  196. package/dist/models/DocumentCheckInRequest.js +50 -0
  197. package/dist/models/DocumentGroupDTO.d.ts +44 -0
  198. package/dist/models/DocumentGroupDTO.js +52 -0
  199. package/dist/models/DocumentGroupRequest.d.ts +38 -0
  200. package/dist/models/DocumentGroupRequest.js +50 -0
  201. package/dist/models/DocumentHistoryDTO.d.ts +56 -0
  202. package/dist/models/DocumentHistoryDTO.js +56 -0
  203. package/dist/models/DocumentSummaryDTO.d.ts +56 -0
  204. package/dist/models/DocumentSummaryDTO.js +56 -0
  205. package/dist/models/GoalProgress.d.ts +44 -0
  206. package/dist/models/GoalProgress.js +52 -0
  207. package/dist/models/GoalRequest.d.ts +45 -0
  208. package/dist/models/GoalRequest.js +53 -0
  209. package/dist/models/GoalRequestPropertiesInner.d.ts +23 -0
  210. package/dist/models/GoalRequestPropertiesInner.js +51 -0
  211. package/dist/models/NfcUnitDTO.d.ts +97 -0
  212. package/dist/models/NfcUnitDTO.js +77 -0
  213. package/dist/models/NfcUnitRequest.d.ts +67 -0
  214. package/dist/models/NfcUnitRequest.js +67 -0
  215. package/dist/models/ProcessDefinitionDTO.d.ts +89 -0
  216. package/dist/models/ProcessDefinitionDTO.js +73 -0
  217. package/dist/models/ProcessInstanceDTO.d.ts +80 -0
  218. package/dist/models/ProcessInstanceDTO.js +64 -0
  219. package/dist/models/ProjectDTO.d.ts +86 -0
  220. package/dist/models/ProjectDTO.js +66 -0
  221. package/dist/models/ProjectGoalDTO.d.ts +44 -0
  222. package/dist/models/ProjectGoalDTO.js +52 -0
  223. package/dist/models/ProjectGoalProperty.d.ts +50 -0
  224. package/dist/models/ProjectGoalProperty.js +76 -0
  225. package/dist/models/ProjectGoalPropertyDocument.d.ts +33 -0
  226. package/dist/models/ProjectGoalPropertyDocument.js +45 -0
  227. package/dist/models/ProjectGoalPropertyNumeric.d.ts +39 -0
  228. package/dist/models/ProjectGoalPropertyNumeric.js +45 -0
  229. package/dist/models/ProjectProgress.d.ts +39 -0
  230. package/dist/models/ProjectProgress.js +51 -0
  231. package/dist/models/ProjectRequest.d.ts +62 -0
  232. package/dist/models/ProjectRequest.js +58 -0
  233. package/dist/models/ResourceCommandRequest.d.ts +38 -0
  234. package/dist/models/ResourceCommandRequest.js +50 -0
  235. package/dist/models/ResourceDTO.d.ts +152 -0
  236. package/dist/models/ResourceDTO.js +88 -0
  237. package/dist/models/ResourceGroupDTO.d.ts +44 -0
  238. package/dist/models/ResourceGroupDTO.js +52 -0
  239. package/dist/models/ResourceRequest.d.ts +116 -0
  240. package/dist/models/ResourceRequest.js +76 -0
  241. package/dist/models/ResourceReservationDTO.d.ts +56 -0
  242. package/dist/models/ResourceReservationDTO.js +56 -0
  243. package/dist/models/ResourceStatusDTO.d.ts +47 -0
  244. package/dist/models/ResourceStatusDTO.js +55 -0
  245. package/dist/models/ResourceValueDTO.d.ts +38 -0
  246. package/dist/models/ResourceValueDTO.js +50 -0
  247. package/dist/models/ResourceValueRequest.d.ts +38 -0
  248. package/dist/models/ResourceValueRequest.js +50 -0
  249. package/dist/models/ScanResult.d.ts +73 -0
  250. package/dist/models/ScanResult.js +69 -0
  251. package/dist/models/SkillCategoryDTO.d.ts +56 -0
  252. package/dist/models/SkillCategoryDTO.js +56 -0
  253. package/dist/models/SkillCategoryRequest.d.ts +44 -0
  254. package/dist/models/SkillCategoryRequest.js +52 -0
  255. package/dist/models/SkillRecordDTO.d.ts +50 -0
  256. package/dist/models/SkillRecordDTO.js +54 -0
  257. package/dist/models/SkillRecordRequest.d.ts +38 -0
  258. package/dist/models/SkillRecordRequest.js +50 -0
  259. package/dist/models/SkillRequest.d.ts +50 -0
  260. package/dist/models/SkillRequest.js +54 -0
  261. package/dist/models/SkillSummaryDTO.d.ts +62 -0
  262. package/dist/models/SkillSummaryDTO.js +58 -0
  263. package/dist/models/StartProcessInstanceRequest.d.ts +40 -0
  264. package/dist/models/StartProcessInstanceRequest.js +50 -0
  265. package/dist/models/TaskDTO.d.ts +95 -0
  266. package/dist/models/TaskDTO.js +79 -0
  267. package/dist/models/TaskRequest.d.ts +44 -0
  268. package/dist/models/TaskRequest.js +52 -0
  269. package/dist/models/TaskScheduleDTO.d.ts +92 -0
  270. package/dist/models/TaskScheduleDTO.js +68 -0
  271. package/dist/models/TaskScheduleRequest.d.ts +68 -0
  272. package/dist/models/TaskScheduleRequest.js +60 -0
  273. package/dist/models/TaskStatusRequest.d.ts +47 -0
  274. package/dist/models/TaskStatusRequest.js +63 -0
  275. package/dist/models/TelemetryRuleDTO.d.ts +118 -0
  276. package/dist/models/TelemetryRuleDTO.js +92 -0
  277. package/dist/models/TelemetryRuleRequest.d.ts +86 -0
  278. package/dist/models/TelemetryRuleRequest.js +77 -0
  279. package/dist/models/TrackingSummary.d.ts +56 -0
  280. package/dist/models/TrackingSummary.js +56 -0
  281. package/dist/models/UserDTO.d.ts +115 -0
  282. package/dist/models/UserDTO.js +83 -0
  283. package/dist/models/UserRequest.d.ts +97 -0
  284. package/dist/models/UserRequest.js +77 -0
  285. package/dist/models/WorkSession.d.ts +50 -0
  286. package/dist/models/WorkSession.js +54 -0
  287. package/dist/models/index.d.ts +53 -0
  288. package/dist/models/index.js +71 -0
  289. package/dist/runtime.d.ts +182 -0
  290. package/dist/runtime.js +346 -0
  291. package/package.json +38 -0
  292. package/src/apis/CompaniesApi.ts +424 -0
  293. package/src/apis/DepartmentsApi.ts +380 -0
  294. package/src/apis/DocumentGroupsApi.ts +287 -0
  295. package/src/apis/DocumentsApi.ts +798 -0
  296. package/src/apis/NFCApi.ts +443 -0
  297. package/src/apis/ProcessDefinitionsApi.ts +410 -0
  298. package/src/apis/ProcessInstancesApi.ts +451 -0
  299. package/src/apis/ProjectGoalsApi.ts +473 -0
  300. package/src/apis/ProjectsApi.ts +929 -0
  301. package/src/apis/ResourcesApi.ts +1481 -0
  302. package/src/apis/SkillsApi.ts +682 -0
  303. package/src/apis/TaskSchedulesApi.ts +380 -0
  304. package/src/apis/TasksApi.ts +986 -0
  305. package/src/apis/TelemetryRulesApi.ts +380 -0
  306. package/src/apis/UsersApi.ts +648 -0
  307. package/src/apis/index.ts +17 -0
  308. package/src/index.ts +5 -0
  309. package/src/models/AddressDTO.ts +137 -0
  310. package/src/models/AddressRequest.ts +129 -0
  311. package/src/models/CancelProcessInstanceRequest.ts +65 -0
  312. package/src/models/CompanyDTO.ts +121 -0
  313. package/src/models/CompanyRequest.ts +113 -0
  314. package/src/models/DepartmentDTO.ts +105 -0
  315. package/src/models/DepartmentRequest.ts +89 -0
  316. package/src/models/DocumentCheckInRequest.ts +66 -0
  317. package/src/models/DocumentGroupDTO.ts +81 -0
  318. package/src/models/DocumentGroupRequest.ts +73 -0
  319. package/src/models/DocumentHistoryDTO.ts +97 -0
  320. package/src/models/DocumentSummaryDTO.ts +97 -0
  321. package/src/models/GoalProgress.ts +81 -0
  322. package/src/models/GoalRequest.ts +89 -0
  323. package/src/models/GoalRequestPropertiesInner.ts +73 -0
  324. package/src/models/NfcUnitDTO.ts +151 -0
  325. package/src/models/NfcUnitRequest.ts +111 -0
  326. package/src/models/ProcessDefinitionDTO.ts +141 -0
  327. package/src/models/ProcessInstanceDTO.ts +129 -0
  328. package/src/models/ProjectDTO.ts +137 -0
  329. package/src/models/ProjectGoalDTO.ts +81 -0
  330. package/src/models/ProjectGoalProperty.ts +111 -0
  331. package/src/models/ProjectGoalPropertyDocument.ts +73 -0
  332. package/src/models/ProjectGoalPropertyNumeric.ts +81 -0
  333. package/src/models/ProjectProgress.ts +81 -0
  334. package/src/models/ProjectRequest.ts +105 -0
  335. package/src/models/ResourceCommandRequest.ts +73 -0
  336. package/src/models/ResourceDTO.ts +225 -0
  337. package/src/models/ResourceGroupDTO.ts +81 -0
  338. package/src/models/ResourceRequest.ts +177 -0
  339. package/src/models/ResourceReservationDTO.ts +97 -0
  340. package/src/models/ResourceStatusDTO.ts +103 -0
  341. package/src/models/ResourceValueDTO.ts +73 -0
  342. package/src/models/ResourceValueRequest.ts +73 -0
  343. package/src/models/ScanResult.ts +119 -0
  344. package/src/models/SkillCategoryDTO.ts +97 -0
  345. package/src/models/SkillCategoryRequest.ts +81 -0
  346. package/src/models/SkillRecordDTO.ts +89 -0
  347. package/src/models/SkillRecordRequest.ts +73 -0
  348. package/src/models/SkillRequest.ts +89 -0
  349. package/src/models/SkillSummaryDTO.ts +105 -0
  350. package/src/models/StartProcessInstanceRequest.ts +73 -0
  351. package/src/models/TaskDTO.ts +147 -0
  352. package/src/models/TaskRequest.ts +81 -0
  353. package/src/models/TaskScheduleDTO.ts +145 -0
  354. package/src/models/TaskScheduleRequest.ts +113 -0
  355. package/src/models/TaskStatusRequest.ts +83 -0
  356. package/src/models/TelemetryRuleDTO.ts +176 -0
  357. package/src/models/TelemetryRuleRequest.ts +135 -0
  358. package/src/models/TrackingSummary.ts +97 -0
  359. package/src/models/UserDTO.ts +182 -0
  360. package/src/models/UserRequest.ts +158 -0
  361. package/src/models/WorkSession.ts +89 -0
  362. package/src/models/index.ts +55 -0
  363. package/src/runtime.ts +431 -0
package/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or Derivative
95
+ Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Peter Michael Haller and contributors
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,90 @@
1
+ # Prioritize TypeScript Client
2
+
3
+ Official TypeScript/JavaScript client library for the
4
+ [Prioritize](https://github.com/phaller222/Prioritize) REST API (`/api/v1`). It is **generated** from
5
+ Prioritize's OpenAPI specification with [OpenAPI Generator](https://openapi-generator.tech/)
6
+ (`typescript-fetch` generator) — the sources are never hand-written, so the client always matches the
7
+ contract of the release it targets.
8
+
9
+ - **Runtime:** the browser's `fetch` and Node.js 18+ (`fetch` is global there); no runtime dependencies.
10
+ - **Client version tracks the API version:** a `1.x` client targets the `1.x` REST API.
11
+ - **License:** Apache-2.0 (same as Prioritize).
12
+
13
+ > **Status:** generated from the released **`1.3.0`** contract, which is what made resources reachable
14
+ > over REST — the flat `GET /api/v1/resources`, `GET /api/v1/resources/{id}/values/latest`, the combined
15
+ > `GET /api/v1/resources/status` and the resource-group listing. It is **not yet published to npm** —
16
+ > build it locally (see [Building](#building)) or reference it via a local path.
17
+
18
+ ## Installation
19
+
20
+ Once published:
21
+
22
+ ```bash
23
+ npm install prioritize-client
24
+ ```
25
+
26
+ Until then, from a local checkout:
27
+
28
+ ```bash
29
+ npm install /path/to/prioritize-typescript-client # after `npm run build`
30
+ ```
31
+
32
+ ## Usage
33
+
34
+ Create a `Configuration`, point it at your Prioritize instance, add credentials, then call one of the
35
+ per-tag API classes (`UsersApi`, `ProjectsApi`, `TasksApi`, `ResourcesApi`, `TelemetryRulesApi`,
36
+ `DocumentsApi`, `SkillsApi`, …). Method names are `<tag><OperationId>`, e.g.
37
+ `resourceGetAllResources()`, `resourceGetLatestValues({ id })`.
38
+
39
+ ### Basic auth (default / dev profile)
40
+
41
+ ```ts
42
+ import { Configuration, ResourcesApi } from "prioritize-client";
43
+
44
+ const config = new Configuration({
45
+ basePath: "http://localhost:8080", // the spec paths already carry /api/v1
46
+ username: "admin",
47
+ password: "p@ssword",
48
+ });
49
+
50
+ const resources = new ResourcesApi(config);
51
+
52
+ // Flat list of every resource the caller may read
53
+ const all = await resources.resourceGetAllResources();
54
+
55
+ // Latest telemetry value per data point of a resource
56
+ const values = await resources.resourceGetLatestValues({ id: all[0].id! });
57
+ ```
58
+
59
+ ### Bearer auth (Keycloak)
60
+
61
+ ```ts
62
+ const config = new Configuration({
63
+ basePath: "https://prioritize.example.com",
64
+ accessToken: async () => myKeycloak.token!, // called per request
65
+ });
66
+ ```
67
+
68
+ ## Building
69
+
70
+ The generated npm package (`package.json`, `tsconfig*.json`, `src/`) is committed. To compile it:
71
+
72
+ ```bash
73
+ npm install
74
+ npm run build # tsc -> dist/ (CommonJS) + dist/esm/ (ES modules)
75
+ ```
76
+
77
+ ## Regenerating from a new API release
78
+
79
+ The client is spec-first. To retarget it at a newer Prioritize release, drop the released
80
+ `docs/openapi.json` in and regenerate — the sources under `src/` are overwritten, the hand-maintained
81
+ files (this README, `LICENSE`, `pom.xml`, `generate.sh`, `.gitignore`, `openapi/`) are preserved via
82
+ `.openapi-generator-ignore`:
83
+
84
+ ```bash
85
+ ./generate.sh /path/to/Prioritize/docs/openapi.json
86
+ ```
87
+
88
+ This uses the Maven-based OpenAPI Generator harness (`pom.xml`) — the only reason Maven is involved; it
89
+ is not part of the published package. Remember to bump `npmVersion` in `pom.xml` to match the API
90
+ release before regenerating.
@@ -0,0 +1,168 @@
1
+ /**
2
+ * Prioritize API
3
+ * REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
4
+ *
5
+ * The version of the OpenAPI document: 1.3.0
6
+ * Contact: peter.haller@prioritize-iot.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { CompanyDTO, CompanyRequest } from '../models/index';
14
+ export interface CompanyCreateRequest {
15
+ companyRequest: CompanyRequest;
16
+ }
17
+ export interface CompanyDeleteRequest {
18
+ id: number;
19
+ }
20
+ export interface CompanyFindByFilterRequest {
21
+ companyRequest: CompanyRequest;
22
+ }
23
+ export interface CompanyGetByIdRequest {
24
+ id: number;
25
+ }
26
+ export interface CompanyUpdateRequest {
27
+ id: number;
28
+ companyRequest: CompanyRequest;
29
+ }
30
+ /**
31
+ * CompaniesApi - interface
32
+ *
33
+ * @export
34
+ * @interface CompaniesApiInterface
35
+ */
36
+ export interface CompaniesApiInterface {
37
+ /**
38
+ *
39
+ * @summary Create company
40
+ * @param {CompanyRequest} companyRequest
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ * @memberof CompaniesApiInterface
44
+ */
45
+ companyCreateRaw(requestParameters: CompanyCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompanyDTO>>;
46
+ /**
47
+ * Create company
48
+ */
49
+ companyCreate(requestParameters: CompanyCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanyDTO>;
50
+ /**
51
+ *
52
+ * @summary Delete company
53
+ * @param {number} id
54
+ * @param {*} [options] Override http request option.
55
+ * @throws {RequiredError}
56
+ * @memberof CompaniesApiInterface
57
+ */
58
+ companyDeleteRaw(requestParameters: CompanyDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
59
+ /**
60
+ * Delete company
61
+ */
62
+ companyDelete(requestParameters: CompanyDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
63
+ /**
64
+ *
65
+ * @summary Find companies matching a filter
66
+ * @param {CompanyRequest} companyRequest
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ * @memberof CompaniesApiInterface
70
+ */
71
+ companyFindByFilterRaw(requestParameters: CompanyFindByFilterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CompanyDTO>>>;
72
+ /**
73
+ * Find companies matching a filter
74
+ */
75
+ companyFindByFilter(requestParameters: CompanyFindByFilterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CompanyDTO>>;
76
+ /**
77
+ *
78
+ * @summary Get all companies
79
+ * @param {*} [options] Override http request option.
80
+ * @throws {RequiredError}
81
+ * @memberof CompaniesApiInterface
82
+ */
83
+ companyGetAllCompaniesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CompanyDTO>>>;
84
+ /**
85
+ * Get all companies
86
+ */
87
+ companyGetAllCompanies(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CompanyDTO>>;
88
+ /**
89
+ *
90
+ * @summary Get company by id
91
+ * @param {number} id
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ * @memberof CompaniesApiInterface
95
+ */
96
+ companyGetByIdRaw(requestParameters: CompanyGetByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompanyDTO>>;
97
+ /**
98
+ * Get company by id
99
+ */
100
+ companyGetById(requestParameters: CompanyGetByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanyDTO>;
101
+ /**
102
+ *
103
+ * @summary Update company
104
+ * @param {number} id
105
+ * @param {CompanyRequest} companyRequest
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ * @memberof CompaniesApiInterface
109
+ */
110
+ companyUpdateRaw(requestParameters: CompanyUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
111
+ /**
112
+ * Update company
113
+ */
114
+ companyUpdate(requestParameters: CompanyUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
115
+ }
116
+ /**
117
+ *
118
+ */
119
+ export declare class CompaniesApi extends runtime.BaseAPI implements CompaniesApiInterface {
120
+ /**
121
+ * Create company
122
+ */
123
+ companyCreateRaw(requestParameters: CompanyCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompanyDTO>>;
124
+ /**
125
+ * Create company
126
+ */
127
+ companyCreate(requestParameters: CompanyCreateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanyDTO>;
128
+ /**
129
+ * Delete company
130
+ */
131
+ companyDeleteRaw(requestParameters: CompanyDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
132
+ /**
133
+ * Delete company
134
+ */
135
+ companyDelete(requestParameters: CompanyDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
136
+ /**
137
+ * Find companies matching a filter
138
+ */
139
+ companyFindByFilterRaw(requestParameters: CompanyFindByFilterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CompanyDTO>>>;
140
+ /**
141
+ * Find companies matching a filter
142
+ */
143
+ companyFindByFilter(requestParameters: CompanyFindByFilterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CompanyDTO>>;
144
+ /**
145
+ * Get all companies
146
+ */
147
+ companyGetAllCompaniesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<CompanyDTO>>>;
148
+ /**
149
+ * Get all companies
150
+ */
151
+ companyGetAllCompanies(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<CompanyDTO>>;
152
+ /**
153
+ * Get company by id
154
+ */
155
+ companyGetByIdRaw(requestParameters: CompanyGetByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompanyDTO>>;
156
+ /**
157
+ * Get company by id
158
+ */
159
+ companyGetById(requestParameters: CompanyGetByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompanyDTO>;
160
+ /**
161
+ * Update company
162
+ */
163
+ companyUpdateRaw(requestParameters: CompanyUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
164
+ /**
165
+ * Update company
166
+ */
167
+ companyUpdate(requestParameters: CompanyUpdateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
168
+ }