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
@@ -0,0 +1,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Prioritize API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.3.0
8
+ * Contact: peter.haller@prioritize-iot.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ProjectDTO interface.
16
+ */
17
+ export function instanceOfProjectDTO(value) {
18
+ return true;
19
+ }
20
+ export function ProjectDTOFromJSON(json) {
21
+ return ProjectDTOFromJSONTyped(json, false);
22
+ }
23
+ export function ProjectDTOFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': json['id'] == null ? undefined : json['id'],
29
+ 'name': json['name'] == null ? undefined : json['name'],
30
+ 'description': json['description'] == null ? undefined : json['description'],
31
+ 'priority': json['priority'] == null ? undefined : json['priority'],
32
+ 'beginDate': json['beginDate'] == null ? undefined : (new Date(json['beginDate'])),
33
+ 'dueDate': json['dueDate'] == null ? undefined : (new Date(json['dueDate'])),
34
+ 'maxManDays': json['maxManDays'] == null ? undefined : json['maxManDays'],
35
+ 'managerId': json['managerId'] == null ? undefined : json['managerId'],
36
+ 'memberIds': json['memberIds'] == null ? undefined : json['memberIds'],
37
+ 'blackboardId': json['blackboardId'] == null ? undefined : json['blackboardId'],
38
+ };
39
+ }
40
+ export function ProjectDTOToJSON(json) {
41
+ return ProjectDTOToJSONTyped(json, false);
42
+ }
43
+ export function ProjectDTOToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'id': value['id'],
49
+ 'name': value['name'],
50
+ 'description': value['description'],
51
+ 'priority': value['priority'],
52
+ 'beginDate': value['beginDate'] == null ? undefined : ((value['beginDate']).toISOString().substring(0, 10)),
53
+ 'dueDate': value['dueDate'] == null ? undefined : ((value['dueDate']).toISOString().substring(0, 10)),
54
+ 'maxManDays': value['maxManDays'],
55
+ 'managerId': value['managerId'],
56
+ 'memberIds': value['memberIds'],
57
+ 'blackboardId': value['blackboardId'],
58
+ };
59
+ }
@@ -0,0 +1,44 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProjectGoalDTO
16
+ */
17
+ export interface ProjectGoalDTO {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ProjectGoalDTO
22
+ */
23
+ id?: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProjectGoalDTO
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ProjectGoalDTO
34
+ */
35
+ description?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ProjectGoalDTO interface.
39
+ */
40
+ export declare function instanceOfProjectGoalDTO(value: object): value is ProjectGoalDTO;
41
+ export declare function ProjectGoalDTOFromJSON(json: any): ProjectGoalDTO;
42
+ export declare function ProjectGoalDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectGoalDTO;
43
+ export declare function ProjectGoalDTOToJSON(json: any): ProjectGoalDTO;
44
+ export declare function ProjectGoalDTOToJSONTyped(value?: ProjectGoalDTO | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Prioritize API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.3.0
8
+ * Contact: peter.haller@prioritize-iot.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ProjectGoalDTO interface.
16
+ */
17
+ export function instanceOfProjectGoalDTO(value) {
18
+ return true;
19
+ }
20
+ export function ProjectGoalDTOFromJSON(json) {
21
+ return ProjectGoalDTOFromJSONTyped(json, false);
22
+ }
23
+ export function ProjectGoalDTOFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': json['id'] == null ? undefined : json['id'],
29
+ 'name': json['name'] == null ? undefined : json['name'],
30
+ 'description': json['description'] == null ? undefined : json['description'],
31
+ };
32
+ }
33
+ export function ProjectGoalDTOToJSON(json) {
34
+ return ProjectGoalDTOToJSONTyped(json, false);
35
+ }
36
+ export function ProjectGoalDTOToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'id': value['id'],
42
+ 'name': value['name'],
43
+ 'description': value['description'],
44
+ };
45
+ }
@@ -0,0 +1,50 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProjectGoalProperty
16
+ */
17
+ export interface ProjectGoalProperty {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ProjectGoalProperty
22
+ */
23
+ id?: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProjectGoalProperty
28
+ */
29
+ name?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ProjectGoalProperty
34
+ */
35
+ description?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ProjectGoalProperty
40
+ */
41
+ type: string;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ProjectGoalProperty interface.
45
+ */
46
+ export declare function instanceOfProjectGoalProperty(value: object): value is ProjectGoalProperty;
47
+ export declare function ProjectGoalPropertyFromJSON(json: any): ProjectGoalProperty;
48
+ export declare function ProjectGoalPropertyFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectGoalProperty;
49
+ export declare function ProjectGoalPropertyToJSON(json: any): ProjectGoalProperty;
50
+ export declare function ProjectGoalPropertyToJSONTyped(value?: ProjectGoalProperty | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,69 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Prioritize API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.3.0
8
+ * Contact: peter.haller@prioritize-iot.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ProjectGoalPropertyDocumentFromJSONTyped, ProjectGoalPropertyDocumentToJSONTyped } from './ProjectGoalPropertyDocument';
15
+ import { ProjectGoalPropertyNumericFromJSONTyped, ProjectGoalPropertyNumericToJSONTyped } from './ProjectGoalPropertyNumeric';
16
+ /**
17
+ * Check if a given object implements the ProjectGoalProperty interface.
18
+ */
19
+ export function instanceOfProjectGoalProperty(value) {
20
+ if (!('type' in value) || value['type'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function ProjectGoalPropertyFromJSON(json) {
25
+ return ProjectGoalPropertyFromJSONTyped(json, false);
26
+ }
27
+ export function ProjectGoalPropertyFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ if (!ignoreDiscriminator) {
32
+ if (json['type'] === 'ProjectGoalPropertyDocument') {
33
+ return ProjectGoalPropertyDocumentFromJSONTyped(json, ignoreDiscriminator);
34
+ }
35
+ if (json['type'] === 'ProjectGoalPropertyNumeric') {
36
+ return ProjectGoalPropertyNumericFromJSONTyped(json, ignoreDiscriminator);
37
+ }
38
+ }
39
+ return {
40
+ 'id': json['id'] == null ? undefined : json['id'],
41
+ 'name': json['name'] == null ? undefined : json['name'],
42
+ 'description': json['description'] == null ? undefined : json['description'],
43
+ 'type': json['type'],
44
+ };
45
+ }
46
+ export function ProjectGoalPropertyToJSON(json) {
47
+ return ProjectGoalPropertyToJSONTyped(json, false);
48
+ }
49
+ export function ProjectGoalPropertyToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ if (!ignoreDiscriminator) {
54
+ switch (value['type']) {
55
+ case 'ProjectGoalPropertyDocument':
56
+ return ProjectGoalPropertyDocumentToJSONTyped(value, ignoreDiscriminator);
57
+ case 'ProjectGoalPropertyNumeric':
58
+ return ProjectGoalPropertyNumericToJSONTyped(value, ignoreDiscriminator);
59
+ default:
60
+ throw new Error(`No variant of ProjectGoalProperty exists with 'type=${value['type']}'`);
61
+ }
62
+ }
63
+ return {
64
+ 'id': value['id'],
65
+ 'name': value['name'],
66
+ 'description': value['description'],
67
+ 'type': value['type'],
68
+ };
69
+ }
@@ -0,0 +1,33 @@
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 type { ProjectGoalProperty } from './ProjectGoalProperty';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectGoalPropertyDocument
17
+ */
18
+ export interface ProjectGoalPropertyDocument extends ProjectGoalProperty {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ProjectGoalPropertyDocument
23
+ */
24
+ tag?: string;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ProjectGoalPropertyDocument interface.
28
+ */
29
+ export declare function instanceOfProjectGoalPropertyDocument(value: object): value is ProjectGoalPropertyDocument;
30
+ export declare function ProjectGoalPropertyDocumentFromJSON(json: any): ProjectGoalPropertyDocument;
31
+ export declare function ProjectGoalPropertyDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectGoalPropertyDocument;
32
+ export declare function ProjectGoalPropertyDocumentToJSON(json: any): ProjectGoalPropertyDocument;
33
+ export declare function ProjectGoalPropertyDocumentToJSONTyped(value?: ProjectGoalPropertyDocument | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Prioritize API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.3.0
8
+ * Contact: peter.haller@prioritize-iot.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ProjectGoalPropertyFromJSONTyped, ProjectGoalPropertyToJSONTyped, } from './ProjectGoalProperty';
15
+ /**
16
+ * Check if a given object implements the ProjectGoalPropertyDocument interface.
17
+ */
18
+ export function instanceOfProjectGoalPropertyDocument(value) {
19
+ return true;
20
+ }
21
+ export function ProjectGoalPropertyDocumentFromJSON(json) {
22
+ return ProjectGoalPropertyDocumentFromJSONTyped(json, false);
23
+ }
24
+ export function ProjectGoalPropertyDocumentFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return Object.assign(Object.assign({}, ProjectGoalPropertyFromJSONTyped(json, true)), { 'tag': json['tag'] == null ? undefined : json['tag'] });
29
+ }
30
+ export function ProjectGoalPropertyDocumentToJSON(json) {
31
+ return ProjectGoalPropertyDocumentToJSONTyped(json, false);
32
+ }
33
+ export function ProjectGoalPropertyDocumentToJSONTyped(value, ignoreDiscriminator = false) {
34
+ if (value == null) {
35
+ return value;
36
+ }
37
+ return Object.assign(Object.assign({}, ProjectGoalPropertyToJSONTyped(value, true)), { 'tag': value['tag'] });
38
+ }
@@ -0,0 +1,39 @@
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 type { ProjectGoalProperty } from './ProjectGoalProperty';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectGoalPropertyNumeric
17
+ */
18
+ export interface ProjectGoalPropertyNumeric extends ProjectGoalProperty {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ProjectGoalPropertyNumeric
23
+ */
24
+ min?: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof ProjectGoalPropertyNumeric
29
+ */
30
+ max?: number;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ProjectGoalPropertyNumeric interface.
34
+ */
35
+ export declare function instanceOfProjectGoalPropertyNumeric(value: object): value is ProjectGoalPropertyNumeric;
36
+ export declare function ProjectGoalPropertyNumericFromJSON(json: any): ProjectGoalPropertyNumeric;
37
+ export declare function ProjectGoalPropertyNumericFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectGoalPropertyNumeric;
38
+ export declare function ProjectGoalPropertyNumericToJSON(json: any): ProjectGoalPropertyNumeric;
39
+ export declare function ProjectGoalPropertyNumericToJSONTyped(value?: ProjectGoalPropertyNumeric | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,38 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Prioritize API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.3.0
8
+ * Contact: peter.haller@prioritize-iot.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ProjectGoalPropertyFromJSONTyped, ProjectGoalPropertyToJSONTyped, } from './ProjectGoalProperty';
15
+ /**
16
+ * Check if a given object implements the ProjectGoalPropertyNumeric interface.
17
+ */
18
+ export function instanceOfProjectGoalPropertyNumeric(value) {
19
+ return true;
20
+ }
21
+ export function ProjectGoalPropertyNumericFromJSON(json) {
22
+ return ProjectGoalPropertyNumericFromJSONTyped(json, false);
23
+ }
24
+ export function ProjectGoalPropertyNumericFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return Object.assign(Object.assign({}, ProjectGoalPropertyFromJSONTyped(json, true)), { 'min': json['min'] == null ? undefined : json['min'], 'max': json['max'] == null ? undefined : json['max'] });
29
+ }
30
+ export function ProjectGoalPropertyNumericToJSON(json) {
31
+ return ProjectGoalPropertyNumericToJSONTyped(json, false);
32
+ }
33
+ export function ProjectGoalPropertyNumericToJSONTyped(value, ignoreDiscriminator = false) {
34
+ if (value == null) {
35
+ return value;
36
+ }
37
+ return Object.assign(Object.assign({}, ProjectGoalPropertyToJSONTyped(value, true)), { 'min': value['min'], 'max': value['max'] });
38
+ }
@@ -0,0 +1,39 @@
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 type { GoalProgress } from './GoalProgress';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ProjectProgress
17
+ */
18
+ export interface ProjectProgress {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ProjectProgress
23
+ */
24
+ overallPercentage?: number;
25
+ /**
26
+ *
27
+ * @type {Array<GoalProgress>}
28
+ * @memberof ProjectProgress
29
+ */
30
+ goals?: Array<GoalProgress>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ProjectProgress interface.
34
+ */
35
+ export declare function instanceOfProjectProgress(value: object): value is ProjectProgress;
36
+ export declare function ProjectProgressFromJSON(json: any): ProjectProgress;
37
+ export declare function ProjectProgressFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectProgress;
38
+ export declare function ProjectProgressToJSON(json: any): ProjectProgress;
39
+ export declare function ProjectProgressToJSONTyped(value?: ProjectProgress | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Prioritize API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.3.0
8
+ * Contact: peter.haller@prioritize-iot.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { GoalProgressFromJSON, GoalProgressToJSON, } from './GoalProgress';
15
+ /**
16
+ * Check if a given object implements the ProjectProgress interface.
17
+ */
18
+ export function instanceOfProjectProgress(value) {
19
+ return true;
20
+ }
21
+ export function ProjectProgressFromJSON(json) {
22
+ return ProjectProgressFromJSONTyped(json, false);
23
+ }
24
+ export function ProjectProgressFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'overallPercentage': json['overallPercentage'] == null ? undefined : json['overallPercentage'],
30
+ 'goals': json['goals'] == null ? undefined : (json['goals'].map(GoalProgressFromJSON)),
31
+ };
32
+ }
33
+ export function ProjectProgressToJSON(json) {
34
+ return ProjectProgressToJSONTyped(json, false);
35
+ }
36
+ export function ProjectProgressToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'overallPercentage': value['overallPercentage'],
42
+ 'goals': value['goals'] == null ? undefined : (value['goals'].map(GoalProgressToJSON)),
43
+ };
44
+ }
@@ -0,0 +1,62 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ProjectRequest
16
+ */
17
+ export interface ProjectRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ProjectRequest
22
+ */
23
+ name?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ProjectRequest
28
+ */
29
+ description?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ProjectRequest
34
+ */
35
+ priority?: number;
36
+ /**
37
+ *
38
+ * @type {Date}
39
+ * @memberof ProjectRequest
40
+ */
41
+ beginDate?: Date;
42
+ /**
43
+ *
44
+ * @type {Date}
45
+ * @memberof ProjectRequest
46
+ */
47
+ dueDate?: Date;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ProjectRequest
52
+ */
53
+ maxManDays?: number;
54
+ }
55
+ /**
56
+ * Check if a given object implements the ProjectRequest interface.
57
+ */
58
+ export declare function instanceOfProjectRequest(value: object): value is ProjectRequest;
59
+ export declare function ProjectRequestFromJSON(json: any): ProjectRequest;
60
+ export declare function ProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectRequest;
61
+ export declare function ProjectRequestToJSON(json: any): ProjectRequest;
62
+ export declare function ProjectRequestToJSONTyped(value?: ProjectRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Prioritize API
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.3.0
8
+ * Contact: peter.haller@prioritize-iot.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ProjectRequest interface.
16
+ */
17
+ export function instanceOfProjectRequest(value) {
18
+ return true;
19
+ }
20
+ export function ProjectRequestFromJSON(json) {
21
+ return ProjectRequestFromJSONTyped(json, false);
22
+ }
23
+ export function ProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'name': json['name'] == null ? undefined : json['name'],
29
+ 'description': json['description'] == null ? undefined : json['description'],
30
+ 'priority': json['priority'] == null ? undefined : json['priority'],
31
+ 'beginDate': json['beginDate'] == null ? undefined : (new Date(json['beginDate'])),
32
+ 'dueDate': json['dueDate'] == null ? undefined : (new Date(json['dueDate'])),
33
+ 'maxManDays': json['maxManDays'] == null ? undefined : json['maxManDays'],
34
+ };
35
+ }
36
+ export function ProjectRequestToJSON(json) {
37
+ return ProjectRequestToJSONTyped(json, false);
38
+ }
39
+ export function ProjectRequestToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'name': value['name'],
45
+ 'description': value['description'],
46
+ 'priority': value['priority'],
47
+ 'beginDate': value['beginDate'] == null ? undefined : ((value['beginDate']).toISOString().substring(0, 10)),
48
+ 'dueDate': value['dueDate'] == null ? undefined : ((value['dueDate']).toISOString().substring(0, 10)),
49
+ 'maxManDays': value['maxManDays'],
50
+ };
51
+ }
@@ -0,0 +1,38 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ResourceCommandRequest
16
+ */
17
+ export interface ResourceCommandRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ResourceCommandRequest
22
+ */
23
+ command?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ResourceCommandRequest
28
+ */
29
+ param?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ResourceCommandRequest interface.
33
+ */
34
+ export declare function instanceOfResourceCommandRequest(value: object): value is ResourceCommandRequest;
35
+ export declare function ResourceCommandRequestFromJSON(json: any): ResourceCommandRequest;
36
+ export declare function ResourceCommandRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceCommandRequest;
37
+ export declare function ResourceCommandRequestToJSON(json: any): ResourceCommandRequest;
38
+ export declare function ResourceCommandRequestToJSONTyped(value?: ResourceCommandRequest | null, ignoreDiscriminator?: boolean): any;