prioritize-client 1.3.0 → 1.4.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 (368) hide show
  1. package/dist/apis/CompaniesApi.d.ts +1 -1
  2. package/dist/apis/CompaniesApi.js +1 -1
  3. package/dist/apis/DepartmentsApi.d.ts +21 -1
  4. package/dist/apis/DepartmentsApi.js +36 -1
  5. package/dist/apis/DocumentGroupsApi.d.ts +1 -1
  6. package/dist/apis/DocumentGroupsApi.js +1 -1
  7. package/dist/apis/DocumentsApi.d.ts +1 -1
  8. package/dist/apis/DocumentsApi.js +1 -1
  9. package/dist/apis/NFCApi.d.ts +1 -1
  10. package/dist/apis/NFCApi.js +1 -1
  11. package/dist/apis/ProcessDefinitionsApi.d.ts +1 -1
  12. package/dist/apis/ProcessDefinitionsApi.js +1 -1
  13. package/dist/apis/ProcessInstancesApi.d.ts +1 -1
  14. package/dist/apis/ProcessInstancesApi.js +1 -1
  15. package/dist/apis/ProjectGoalsApi.d.ts +1 -1
  16. package/dist/apis/ProjectGoalsApi.js +1 -1
  17. package/dist/apis/ProjectsApi.d.ts +1 -1
  18. package/dist/apis/ProjectsApi.js +1 -1
  19. package/dist/apis/ResourcesApi.d.ts +25 -1
  20. package/dist/apis/ResourcesApi.js +39 -1
  21. package/dist/apis/SkillsApi.d.ts +1 -1
  22. package/dist/apis/SkillsApi.js +1 -1
  23. package/dist/apis/TaskSchedulesApi.d.ts +1 -1
  24. package/dist/apis/TaskSchedulesApi.js +1 -1
  25. package/dist/apis/TasksApi.d.ts +108 -2
  26. package/dist/apis/TasksApi.js +173 -1
  27. package/dist/apis/TelemetryRulesApi.d.ts +1 -1
  28. package/dist/apis/TelemetryRulesApi.js +1 -1
  29. package/dist/apis/UsersApi.d.ts +1 -1
  30. package/dist/apis/UsersApi.js +1 -1
  31. package/dist/esm/apis/CompaniesApi.d.ts +1 -1
  32. package/dist/esm/apis/CompaniesApi.js +1 -1
  33. package/dist/esm/apis/DepartmentsApi.d.ts +21 -1
  34. package/dist/esm/apis/DepartmentsApi.js +36 -1
  35. package/dist/esm/apis/DocumentGroupsApi.d.ts +1 -1
  36. package/dist/esm/apis/DocumentGroupsApi.js +1 -1
  37. package/dist/esm/apis/DocumentsApi.d.ts +1 -1
  38. package/dist/esm/apis/DocumentsApi.js +1 -1
  39. package/dist/esm/apis/NFCApi.d.ts +1 -1
  40. package/dist/esm/apis/NFCApi.js +1 -1
  41. package/dist/esm/apis/ProcessDefinitionsApi.d.ts +1 -1
  42. package/dist/esm/apis/ProcessDefinitionsApi.js +1 -1
  43. package/dist/esm/apis/ProcessInstancesApi.d.ts +1 -1
  44. package/dist/esm/apis/ProcessInstancesApi.js +1 -1
  45. package/dist/esm/apis/ProjectGoalsApi.d.ts +1 -1
  46. package/dist/esm/apis/ProjectGoalsApi.js +1 -1
  47. package/dist/esm/apis/ProjectsApi.d.ts +1 -1
  48. package/dist/esm/apis/ProjectsApi.js +1 -1
  49. package/dist/esm/apis/ResourcesApi.d.ts +25 -1
  50. package/dist/esm/apis/ResourcesApi.js +39 -1
  51. package/dist/esm/apis/SkillsApi.d.ts +1 -1
  52. package/dist/esm/apis/SkillsApi.js +1 -1
  53. package/dist/esm/apis/TaskSchedulesApi.d.ts +1 -1
  54. package/dist/esm/apis/TaskSchedulesApi.js +1 -1
  55. package/dist/esm/apis/TasksApi.d.ts +108 -2
  56. package/dist/esm/apis/TasksApi.js +174 -2
  57. package/dist/esm/apis/TelemetryRulesApi.d.ts +1 -1
  58. package/dist/esm/apis/TelemetryRulesApi.js +1 -1
  59. package/dist/esm/apis/UsersApi.d.ts +1 -1
  60. package/dist/esm/apis/UsersApi.js +1 -1
  61. package/dist/esm/models/AddressDTO.d.ts +1 -1
  62. package/dist/esm/models/AddressDTO.js +1 -1
  63. package/dist/esm/models/AddressRequest.d.ts +1 -1
  64. package/dist/esm/models/AddressRequest.js +1 -1
  65. package/dist/esm/models/CancelProcessInstanceRequest.d.ts +1 -1
  66. package/dist/esm/models/CancelProcessInstanceRequest.js +1 -1
  67. package/dist/esm/models/CompanyDTO.d.ts +1 -1
  68. package/dist/esm/models/CompanyDTO.js +1 -1
  69. package/dist/esm/models/CompanyRequest.d.ts +1 -1
  70. package/dist/esm/models/CompanyRequest.js +1 -1
  71. package/dist/esm/models/Correction.d.ts +77 -0
  72. package/dist/esm/models/Correction.js +61 -0
  73. package/dist/esm/models/DepartmentDTO.d.ts +1 -1
  74. package/dist/esm/models/DepartmentDTO.js +1 -1
  75. package/dist/esm/models/DepartmentRequest.d.ts +1 -1
  76. package/dist/esm/models/DepartmentRequest.js +1 -1
  77. package/dist/esm/models/DocumentCheckInRequest.d.ts +1 -1
  78. package/dist/esm/models/DocumentCheckInRequest.js +1 -1
  79. package/dist/esm/models/DocumentGroupDTO.d.ts +1 -1
  80. package/dist/esm/models/DocumentGroupDTO.js +1 -1
  81. package/dist/esm/models/DocumentGroupRequest.d.ts +1 -1
  82. package/dist/esm/models/DocumentGroupRequest.js +1 -1
  83. package/dist/esm/models/DocumentHistoryDTO.d.ts +1 -1
  84. package/dist/esm/models/DocumentHistoryDTO.js +1 -1
  85. package/dist/esm/models/DocumentSummaryDTO.d.ts +1 -1
  86. package/dist/esm/models/DocumentSummaryDTO.js +1 -1
  87. package/dist/esm/models/GoalProgress.d.ts +1 -1
  88. package/dist/esm/models/GoalProgress.js +1 -1
  89. package/dist/esm/models/GoalRequest.d.ts +1 -1
  90. package/dist/esm/models/GoalRequest.js +1 -1
  91. package/dist/esm/models/GoalRequestPropertiesInner.d.ts +1 -1
  92. package/dist/esm/models/GoalRequestPropertiesInner.js +1 -1
  93. package/dist/esm/models/NfcUnitDTO.d.ts +1 -1
  94. package/dist/esm/models/NfcUnitDTO.js +1 -1
  95. package/dist/esm/models/NfcUnitRequest.d.ts +1 -1
  96. package/dist/esm/models/NfcUnitRequest.js +1 -1
  97. package/dist/esm/models/ProcessDefinitionDTO.d.ts +1 -1
  98. package/dist/esm/models/ProcessDefinitionDTO.js +1 -1
  99. package/dist/esm/models/ProcessInstanceDTO.d.ts +1 -1
  100. package/dist/esm/models/ProcessInstanceDTO.js +1 -1
  101. package/dist/esm/models/ProjectDTO.d.ts +1 -1
  102. package/dist/esm/models/ProjectDTO.js +1 -1
  103. package/dist/esm/models/ProjectGoalDTO.d.ts +1 -1
  104. package/dist/esm/models/ProjectGoalDTO.js +1 -1
  105. package/dist/esm/models/ProjectGoalProperty.d.ts +1 -1
  106. package/dist/esm/models/ProjectGoalProperty.js +1 -1
  107. package/dist/esm/models/ProjectGoalPropertyDocument.d.ts +1 -1
  108. package/dist/esm/models/ProjectGoalPropertyDocument.js +1 -1
  109. package/dist/esm/models/ProjectGoalPropertyNumeric.d.ts +1 -1
  110. package/dist/esm/models/ProjectGoalPropertyNumeric.js +1 -1
  111. package/dist/esm/models/ProjectProgress.d.ts +1 -1
  112. package/dist/esm/models/ProjectProgress.js +1 -1
  113. package/dist/esm/models/ProjectRequest.d.ts +1 -1
  114. package/dist/esm/models/ProjectRequest.js +1 -1
  115. package/dist/esm/models/ResourceCommandRequest.d.ts +1 -1
  116. package/dist/esm/models/ResourceCommandRequest.js +1 -1
  117. package/dist/esm/models/ResourceDTO.d.ts +28 -1
  118. package/dist/esm/models/ResourceDTO.js +15 -1
  119. package/dist/esm/models/ResourceGroupDTO.d.ts +1 -1
  120. package/dist/esm/models/ResourceGroupDTO.js +1 -1
  121. package/dist/esm/models/ResourceRequest.d.ts +28 -1
  122. package/dist/esm/models/ResourceRequest.js +15 -1
  123. package/dist/esm/models/ResourceReservationDTO.d.ts +1 -1
  124. package/dist/esm/models/ResourceReservationDTO.js +1 -1
  125. package/dist/esm/models/ResourceStatusDTO.d.ts +1 -1
  126. package/dist/esm/models/ResourceStatusDTO.js +1 -1
  127. package/dist/esm/models/ResourceValueDTO.d.ts +1 -1
  128. package/dist/esm/models/ResourceValueDTO.js +1 -1
  129. package/dist/esm/models/ResourceValueRequest.d.ts +1 -1
  130. package/dist/esm/models/ResourceValueRequest.js +1 -1
  131. package/dist/esm/models/ScanResult.d.ts +2 -2
  132. package/dist/esm/models/ScanResult.js +3 -3
  133. package/dist/esm/models/SkillCategoryDTO.d.ts +1 -1
  134. package/dist/esm/models/SkillCategoryDTO.js +1 -1
  135. package/dist/esm/models/SkillCategoryRequest.d.ts +1 -1
  136. package/dist/esm/models/SkillCategoryRequest.js +1 -1
  137. package/dist/esm/models/SkillRecordDTO.d.ts +1 -1
  138. package/dist/esm/models/SkillRecordDTO.js +1 -1
  139. package/dist/esm/models/SkillRecordRequest.d.ts +1 -1
  140. package/dist/esm/models/SkillRecordRequest.js +1 -1
  141. package/dist/esm/models/SkillRequest.d.ts +1 -1
  142. package/dist/esm/models/SkillRequest.js +1 -1
  143. package/dist/esm/models/SkillSummaryDTO.d.ts +1 -1
  144. package/dist/esm/models/SkillSummaryDTO.js +1 -1
  145. package/dist/esm/models/StartProcessInstanceRequest.d.ts +1 -1
  146. package/dist/esm/models/StartProcessInstanceRequest.js +1 -1
  147. package/dist/esm/models/StopAtRequest.d.ts +44 -0
  148. package/dist/esm/models/StopAtRequest.js +45 -0
  149. package/dist/esm/models/TaskDTO.d.ts +8 -2
  150. package/dist/esm/models/TaskDTO.js +5 -3
  151. package/dist/esm/models/TaskRequest.d.ts +1 -1
  152. package/dist/esm/models/TaskRequest.js +1 -1
  153. package/dist/esm/models/TaskScheduleDTO.d.ts +1 -1
  154. package/dist/esm/models/TaskScheduleDTO.js +1 -1
  155. package/dist/esm/models/TaskScheduleRequest.d.ts +1 -1
  156. package/dist/esm/models/TaskScheduleRequest.js +1 -1
  157. package/dist/esm/models/TaskStatusRequest.d.ts +1 -1
  158. package/dist/esm/models/TaskStatusRequest.js +1 -1
  159. package/dist/esm/models/TelemetryRuleDTO.d.ts +1 -1
  160. package/dist/esm/models/TelemetryRuleDTO.js +1 -1
  161. package/dist/esm/models/TelemetryRuleRequest.d.ts +1 -1
  162. package/dist/esm/models/TelemetryRuleRequest.js +1 -1
  163. package/dist/esm/models/TrackingSummary.d.ts +8 -2
  164. package/dist/esm/models/TrackingSummary.js +5 -3
  165. package/dist/esm/models/UserDTO.d.ts +2 -2
  166. package/dist/esm/models/UserDTO.js +4 -4
  167. package/dist/esm/models/UserRequest.d.ts +1 -1
  168. package/dist/esm/models/UserRequest.js +2 -2
  169. package/dist/esm/models/WorkSession.d.ts +26 -1
  170. package/dist/esm/models/WorkSession.js +10 -1
  171. package/dist/esm/models/WorkSessionRequest.d.ts +50 -0
  172. package/dist/esm/models/WorkSessionRequest.js +47 -0
  173. package/dist/esm/models/index.d.ts +3 -0
  174. package/dist/esm/models/index.js +3 -0
  175. package/dist/esm/runtime.d.ts +1 -1
  176. package/dist/esm/runtime.js +1 -1
  177. package/dist/models/AddressDTO.d.ts +1 -1
  178. package/dist/models/AddressDTO.js +1 -1
  179. package/dist/models/AddressRequest.d.ts +1 -1
  180. package/dist/models/AddressRequest.js +1 -1
  181. package/dist/models/CancelProcessInstanceRequest.d.ts +1 -1
  182. package/dist/models/CancelProcessInstanceRequest.js +1 -1
  183. package/dist/models/CompanyDTO.d.ts +1 -1
  184. package/dist/models/CompanyDTO.js +1 -1
  185. package/dist/models/CompanyRequest.d.ts +1 -1
  186. package/dist/models/CompanyRequest.js +1 -1
  187. package/dist/models/Correction.d.ts +77 -0
  188. package/dist/models/Correction.js +69 -0
  189. package/dist/models/DepartmentDTO.d.ts +1 -1
  190. package/dist/models/DepartmentDTO.js +1 -1
  191. package/dist/models/DepartmentRequest.d.ts +1 -1
  192. package/dist/models/DepartmentRequest.js +1 -1
  193. package/dist/models/DocumentCheckInRequest.d.ts +1 -1
  194. package/dist/models/DocumentCheckInRequest.js +1 -1
  195. package/dist/models/DocumentGroupDTO.d.ts +1 -1
  196. package/dist/models/DocumentGroupDTO.js +1 -1
  197. package/dist/models/DocumentGroupRequest.d.ts +1 -1
  198. package/dist/models/DocumentGroupRequest.js +1 -1
  199. package/dist/models/DocumentHistoryDTO.d.ts +1 -1
  200. package/dist/models/DocumentHistoryDTO.js +1 -1
  201. package/dist/models/DocumentSummaryDTO.d.ts +1 -1
  202. package/dist/models/DocumentSummaryDTO.js +1 -1
  203. package/dist/models/GoalProgress.d.ts +1 -1
  204. package/dist/models/GoalProgress.js +1 -1
  205. package/dist/models/GoalRequest.d.ts +1 -1
  206. package/dist/models/GoalRequest.js +1 -1
  207. package/dist/models/GoalRequestPropertiesInner.d.ts +1 -1
  208. package/dist/models/GoalRequestPropertiesInner.js +1 -1
  209. package/dist/models/NfcUnitDTO.d.ts +1 -1
  210. package/dist/models/NfcUnitDTO.js +1 -1
  211. package/dist/models/NfcUnitRequest.d.ts +1 -1
  212. package/dist/models/NfcUnitRequest.js +1 -1
  213. package/dist/models/ProcessDefinitionDTO.d.ts +1 -1
  214. package/dist/models/ProcessDefinitionDTO.js +1 -1
  215. package/dist/models/ProcessInstanceDTO.d.ts +1 -1
  216. package/dist/models/ProcessInstanceDTO.js +1 -1
  217. package/dist/models/ProjectDTO.d.ts +1 -1
  218. package/dist/models/ProjectDTO.js +1 -1
  219. package/dist/models/ProjectGoalDTO.d.ts +1 -1
  220. package/dist/models/ProjectGoalDTO.js +1 -1
  221. package/dist/models/ProjectGoalProperty.d.ts +1 -1
  222. package/dist/models/ProjectGoalProperty.js +1 -1
  223. package/dist/models/ProjectGoalPropertyDocument.d.ts +1 -1
  224. package/dist/models/ProjectGoalPropertyDocument.js +1 -1
  225. package/dist/models/ProjectGoalPropertyNumeric.d.ts +1 -1
  226. package/dist/models/ProjectGoalPropertyNumeric.js +1 -1
  227. package/dist/models/ProjectProgress.d.ts +1 -1
  228. package/dist/models/ProjectProgress.js +1 -1
  229. package/dist/models/ProjectRequest.d.ts +1 -1
  230. package/dist/models/ProjectRequest.js +1 -1
  231. package/dist/models/ResourceCommandRequest.d.ts +1 -1
  232. package/dist/models/ResourceCommandRequest.js +1 -1
  233. package/dist/models/ResourceDTO.d.ts +28 -1
  234. package/dist/models/ResourceDTO.js +16 -1
  235. package/dist/models/ResourceGroupDTO.d.ts +1 -1
  236. package/dist/models/ResourceGroupDTO.js +1 -1
  237. package/dist/models/ResourceRequest.d.ts +28 -1
  238. package/dist/models/ResourceRequest.js +16 -1
  239. package/dist/models/ResourceReservationDTO.d.ts +1 -1
  240. package/dist/models/ResourceReservationDTO.js +1 -1
  241. package/dist/models/ResourceStatusDTO.d.ts +1 -1
  242. package/dist/models/ResourceStatusDTO.js +1 -1
  243. package/dist/models/ResourceValueDTO.d.ts +1 -1
  244. package/dist/models/ResourceValueDTO.js +1 -1
  245. package/dist/models/ResourceValueRequest.d.ts +1 -1
  246. package/dist/models/ResourceValueRequest.js +1 -1
  247. package/dist/models/ScanResult.d.ts +2 -2
  248. package/dist/models/ScanResult.js +3 -3
  249. package/dist/models/SkillCategoryDTO.d.ts +1 -1
  250. package/dist/models/SkillCategoryDTO.js +1 -1
  251. package/dist/models/SkillCategoryRequest.d.ts +1 -1
  252. package/dist/models/SkillCategoryRequest.js +1 -1
  253. package/dist/models/SkillRecordDTO.d.ts +1 -1
  254. package/dist/models/SkillRecordDTO.js +1 -1
  255. package/dist/models/SkillRecordRequest.d.ts +1 -1
  256. package/dist/models/SkillRecordRequest.js +1 -1
  257. package/dist/models/SkillRequest.d.ts +1 -1
  258. package/dist/models/SkillRequest.js +1 -1
  259. package/dist/models/SkillSummaryDTO.d.ts +1 -1
  260. package/dist/models/SkillSummaryDTO.js +1 -1
  261. package/dist/models/StartProcessInstanceRequest.d.ts +1 -1
  262. package/dist/models/StartProcessInstanceRequest.js +1 -1
  263. package/dist/models/StopAtRequest.d.ts +44 -0
  264. package/dist/models/StopAtRequest.js +52 -0
  265. package/dist/models/TaskDTO.d.ts +8 -2
  266. package/dist/models/TaskDTO.js +5 -3
  267. package/dist/models/TaskRequest.d.ts +1 -1
  268. package/dist/models/TaskRequest.js +1 -1
  269. package/dist/models/TaskScheduleDTO.d.ts +1 -1
  270. package/dist/models/TaskScheduleDTO.js +1 -1
  271. package/dist/models/TaskScheduleRequest.d.ts +1 -1
  272. package/dist/models/TaskScheduleRequest.js +1 -1
  273. package/dist/models/TaskStatusRequest.d.ts +1 -1
  274. package/dist/models/TaskStatusRequest.js +1 -1
  275. package/dist/models/TelemetryRuleDTO.d.ts +1 -1
  276. package/dist/models/TelemetryRuleDTO.js +1 -1
  277. package/dist/models/TelemetryRuleRequest.d.ts +1 -1
  278. package/dist/models/TelemetryRuleRequest.js +1 -1
  279. package/dist/models/TrackingSummary.d.ts +8 -2
  280. package/dist/models/TrackingSummary.js +5 -3
  281. package/dist/models/UserDTO.d.ts +2 -2
  282. package/dist/models/UserDTO.js +4 -4
  283. package/dist/models/UserRequest.d.ts +1 -1
  284. package/dist/models/UserRequest.js +2 -2
  285. package/dist/models/WorkSession.d.ts +26 -1
  286. package/dist/models/WorkSession.js +10 -1
  287. package/dist/models/WorkSessionRequest.d.ts +50 -0
  288. package/dist/models/WorkSessionRequest.js +54 -0
  289. package/dist/models/index.d.ts +3 -0
  290. package/dist/models/index.js +3 -0
  291. package/dist/runtime.d.ts +1 -1
  292. package/dist/runtime.js +1 -1
  293. package/package.json +1 -1
  294. package/src/apis/CompaniesApi.ts +424 -424
  295. package/src/apis/DepartmentsApi.ts +431 -380
  296. package/src/apis/DocumentGroupsApi.ts +287 -287
  297. package/src/apis/DocumentsApi.ts +798 -798
  298. package/src/apis/NFCApi.ts +443 -443
  299. package/src/apis/ProcessDefinitionsApi.ts +410 -410
  300. package/src/apis/ProcessInstancesApi.ts +451 -451
  301. package/src/apis/ProjectGoalsApi.ts +473 -473
  302. package/src/apis/ProjectsApi.ts +929 -929
  303. package/src/apis/ResourcesApi.ts +1544 -1481
  304. package/src/apis/SkillsApi.ts +682 -682
  305. package/src/apis/TaskSchedulesApi.ts +380 -380
  306. package/src/apis/TasksApi.ts +1297 -986
  307. package/src/apis/TelemetryRulesApi.ts +380 -380
  308. package/src/apis/UsersApi.ts +648 -648
  309. package/src/apis/index.ts +17 -17
  310. package/src/index.ts +5 -5
  311. package/src/models/AddressDTO.ts +137 -137
  312. package/src/models/AddressRequest.ts +129 -129
  313. package/src/models/CancelProcessInstanceRequest.ts +65 -65
  314. package/src/models/CompanyDTO.ts +121 -121
  315. package/src/models/CompanyRequest.ts +113 -113
  316. package/src/models/Correction.ts +125 -0
  317. package/src/models/DepartmentDTO.ts +105 -105
  318. package/src/models/DepartmentRequest.ts +89 -89
  319. package/src/models/DocumentCheckInRequest.ts +66 -66
  320. package/src/models/DocumentGroupDTO.ts +81 -81
  321. package/src/models/DocumentGroupRequest.ts +73 -73
  322. package/src/models/DocumentHistoryDTO.ts +97 -97
  323. package/src/models/DocumentSummaryDTO.ts +97 -97
  324. package/src/models/GoalProgress.ts +81 -81
  325. package/src/models/GoalRequest.ts +89 -89
  326. package/src/models/GoalRequestPropertiesInner.ts +73 -73
  327. package/src/models/NfcUnitDTO.ts +151 -151
  328. package/src/models/NfcUnitRequest.ts +111 -111
  329. package/src/models/ProcessDefinitionDTO.ts +141 -141
  330. package/src/models/ProcessInstanceDTO.ts +129 -129
  331. package/src/models/ProjectDTO.ts +137 -137
  332. package/src/models/ProjectGoalDTO.ts +81 -81
  333. package/src/models/ProjectGoalProperty.ts +111 -111
  334. package/src/models/ProjectGoalPropertyDocument.ts +73 -73
  335. package/src/models/ProjectGoalPropertyNumeric.ts +81 -81
  336. package/src/models/ProjectProgress.ts +81 -81
  337. package/src/models/ProjectRequest.ts +105 -105
  338. package/src/models/ResourceCommandRequest.ts +73 -73
  339. package/src/models/ResourceDTO.ts +261 -225
  340. package/src/models/ResourceGroupDTO.ts +81 -81
  341. package/src/models/ResourceRequest.ts +213 -177
  342. package/src/models/ResourceReservationDTO.ts +97 -97
  343. package/src/models/ResourceStatusDTO.ts +103 -103
  344. package/src/models/ResourceValueDTO.ts +73 -73
  345. package/src/models/ResourceValueRequest.ts +73 -73
  346. package/src/models/ScanResult.ts +119 -119
  347. package/src/models/SkillCategoryDTO.ts +97 -97
  348. package/src/models/SkillCategoryRequest.ts +81 -81
  349. package/src/models/SkillRecordDTO.ts +89 -89
  350. package/src/models/SkillRecordRequest.ts +73 -73
  351. package/src/models/SkillRequest.ts +89 -89
  352. package/src/models/SkillSummaryDTO.ts +105 -105
  353. package/src/models/StartProcessInstanceRequest.ts +73 -73
  354. package/src/models/StopAtRequest.ts +81 -0
  355. package/src/models/TaskDTO.ts +155 -147
  356. package/src/models/TaskRequest.ts +81 -81
  357. package/src/models/TaskScheduleDTO.ts +145 -145
  358. package/src/models/TaskScheduleRequest.ts +113 -113
  359. package/src/models/TaskStatusRequest.ts +83 -83
  360. package/src/models/TelemetryRuleDTO.ts +176 -176
  361. package/src/models/TelemetryRuleRequest.ts +135 -135
  362. package/src/models/TrackingSummary.ts +105 -97
  363. package/src/models/UserDTO.ts +182 -182
  364. package/src/models/UserRequest.ts +158 -158
  365. package/src/models/WorkSession.ts +129 -89
  366. package/src/models/WorkSessionRequest.ts +89 -0
  367. package/src/models/index.ts +58 -55
  368. package/src/runtime.ts +431 -431
@@ -1,73 +1,73 @@
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
- import type { ProjectGoalPropertyDocument } from './ProjectGoalPropertyDocument';
16
- import {
17
- instanceOfProjectGoalPropertyDocument,
18
- ProjectGoalPropertyDocumentFromJSON,
19
- ProjectGoalPropertyDocumentFromJSONTyped,
20
- ProjectGoalPropertyDocumentToJSON,
21
- } from './ProjectGoalPropertyDocument';
22
- import type { ProjectGoalPropertyNumeric } from './ProjectGoalPropertyNumeric';
23
- import {
24
- instanceOfProjectGoalPropertyNumeric,
25
- ProjectGoalPropertyNumericFromJSON,
26
- ProjectGoalPropertyNumericFromJSONTyped,
27
- ProjectGoalPropertyNumericToJSON,
28
- } from './ProjectGoalPropertyNumeric';
29
-
30
- /**
31
- * @type GoalRequestPropertiesInner
32
- *
33
- * @export
34
- */
35
- export type GoalRequestPropertiesInner = ProjectGoalPropertyDocument | ProjectGoalPropertyNumeric;
36
-
37
- export function GoalRequestPropertiesInnerFromJSON(json: any): GoalRequestPropertiesInner {
38
- return GoalRequestPropertiesInnerFromJSONTyped(json, false);
39
- }
40
-
41
- export function GoalRequestPropertiesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoalRequestPropertiesInner {
42
- if (json == null) {
43
- return json;
44
- }
45
- if (instanceOfProjectGoalPropertyDocument(json)) {
46
- return ProjectGoalPropertyDocumentFromJSONTyped(json, true);
47
- }
48
- if (instanceOfProjectGoalPropertyNumeric(json)) {
49
- return ProjectGoalPropertyNumericFromJSONTyped(json, true);
50
- }
51
-
52
- return {} as any;
53
- }
54
-
55
- export function GoalRequestPropertiesInnerToJSON(json: any): any {
56
- return GoalRequestPropertiesInnerToJSONTyped(json, false);
57
- }
58
-
59
- export function GoalRequestPropertiesInnerToJSONTyped(value?: GoalRequestPropertiesInner | null, ignoreDiscriminator: boolean = false): any {
60
- if (value == null) {
61
- return value;
62
- }
63
-
64
- if (instanceOfProjectGoalPropertyDocument(value)) {
65
- return ProjectGoalPropertyDocumentToJSON(value as ProjectGoalPropertyDocument);
66
- }
67
- if (instanceOfProjectGoalPropertyNumeric(value)) {
68
- return ProjectGoalPropertyNumericToJSON(value as ProjectGoalPropertyNumeric);
69
- }
70
-
71
- return {};
72
- }
73
-
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.4.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
+ import type { ProjectGoalPropertyDocument } from './ProjectGoalPropertyDocument';
16
+ import {
17
+ instanceOfProjectGoalPropertyDocument,
18
+ ProjectGoalPropertyDocumentFromJSON,
19
+ ProjectGoalPropertyDocumentFromJSONTyped,
20
+ ProjectGoalPropertyDocumentToJSON,
21
+ } from './ProjectGoalPropertyDocument';
22
+ import type { ProjectGoalPropertyNumeric } from './ProjectGoalPropertyNumeric';
23
+ import {
24
+ instanceOfProjectGoalPropertyNumeric,
25
+ ProjectGoalPropertyNumericFromJSON,
26
+ ProjectGoalPropertyNumericFromJSONTyped,
27
+ ProjectGoalPropertyNumericToJSON,
28
+ } from './ProjectGoalPropertyNumeric';
29
+
30
+ /**
31
+ * @type GoalRequestPropertiesInner
32
+ *
33
+ * @export
34
+ */
35
+ export type GoalRequestPropertiesInner = ProjectGoalPropertyDocument | ProjectGoalPropertyNumeric;
36
+
37
+ export function GoalRequestPropertiesInnerFromJSON(json: any): GoalRequestPropertiesInner {
38
+ return GoalRequestPropertiesInnerFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function GoalRequestPropertiesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoalRequestPropertiesInner {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ if (instanceOfProjectGoalPropertyDocument(json)) {
46
+ return ProjectGoalPropertyDocumentFromJSONTyped(json, true);
47
+ }
48
+ if (instanceOfProjectGoalPropertyNumeric(json)) {
49
+ return ProjectGoalPropertyNumericFromJSONTyped(json, true);
50
+ }
51
+
52
+ return {} as any;
53
+ }
54
+
55
+ export function GoalRequestPropertiesInnerToJSON(json: any): any {
56
+ return GoalRequestPropertiesInnerToJSONTyped(json, false);
57
+ }
58
+
59
+ export function GoalRequestPropertiesInnerToJSONTyped(value?: GoalRequestPropertiesInner | null, ignoreDiscriminator: boolean = false): any {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+
64
+ if (instanceOfProjectGoalPropertyDocument(value)) {
65
+ return ProjectGoalPropertyDocumentToJSON(value as ProjectGoalPropertyDocument);
66
+ }
67
+ if (instanceOfProjectGoalPropertyNumeric(value)) {
68
+ return ProjectGoalPropertyNumericToJSON(value as ProjectGoalPropertyNumeric);
69
+ }
70
+
71
+ return {};
72
+ }
73
+
@@ -1,151 +1,151 @@
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
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface NfcUnitDTO
20
- */
21
- export interface NfcUnitDTO {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof NfcUnitDTO
26
- */
27
- id?: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof NfcUnitDTO
32
- */
33
- uuid?: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof NfcUnitDTO
38
- */
39
- name?: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof NfcUnitDTO
44
- */
45
- description?: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof NfcUnitDTO
50
- */
51
- type?: NfcUnitDTOTypeEnum;
52
- /**
53
- *
54
- * @type {string}
55
- * @memberof NfcUnitDTO
56
- */
57
- payload?: string;
58
- /**
59
- *
60
- * @type {number}
61
- * @memberof NfcUnitDTO
62
- */
63
- sequenceNumber?: number;
64
- /**
65
- *
66
- * @type {Date}
67
- * @memberof NfcUnitDTO
68
- */
69
- lastScanTime?: Date;
70
- /**
71
- *
72
- * @type {number}
73
- * @memberof NfcUnitDTO
74
- */
75
- resourceId?: number;
76
- /**
77
- *
78
- * @type {number}
79
- * @memberof NfcUnitDTO
80
- */
81
- boundTaskId?: number;
82
- }
83
-
84
-
85
- /**
86
- * @export
87
- */
88
- export const NfcUnitDTOTypeEnum = {
89
- Counter: 'COUNTER',
90
- Checkpoint: 'CHECKPOINT',
91
- Timetracker: 'TIMETRACKER',
92
- Infopoint: 'INFOPOINT',
93
- Other: 'OTHER'
94
- } as const;
95
- export type NfcUnitDTOTypeEnum = typeof NfcUnitDTOTypeEnum[keyof typeof NfcUnitDTOTypeEnum];
96
-
97
-
98
- /**
99
- * Check if a given object implements the NfcUnitDTO interface.
100
- */
101
- export function instanceOfNfcUnitDTO(value: object): value is NfcUnitDTO {
102
- return true;
103
- }
104
-
105
- export function NfcUnitDTOFromJSON(json: any): NfcUnitDTO {
106
- return NfcUnitDTOFromJSONTyped(json, false);
107
- }
108
-
109
- export function NfcUnitDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): NfcUnitDTO {
110
- if (json == null) {
111
- return json;
112
- }
113
- return {
114
-
115
- 'id': json['id'] == null ? undefined : json['id'],
116
- 'uuid': json['uuid'] == null ? undefined : json['uuid'],
117
- 'name': json['name'] == null ? undefined : json['name'],
118
- 'description': json['description'] == null ? undefined : json['description'],
119
- 'type': json['type'] == null ? undefined : json['type'],
120
- 'payload': json['payload'] == null ? undefined : json['payload'],
121
- 'sequenceNumber': json['sequenceNumber'] == null ? undefined : json['sequenceNumber'],
122
- 'lastScanTime': json['lastScanTime'] == null ? undefined : (new Date(json['lastScanTime'])),
123
- 'resourceId': json['resourceId'] == null ? undefined : json['resourceId'],
124
- 'boundTaskId': json['boundTaskId'] == null ? undefined : json['boundTaskId'],
125
- };
126
- }
127
-
128
- export function NfcUnitDTOToJSON(json: any): NfcUnitDTO {
129
- return NfcUnitDTOToJSONTyped(json, false);
130
- }
131
-
132
- export function NfcUnitDTOToJSONTyped(value?: NfcUnitDTO | null, ignoreDiscriminator: boolean = false): any {
133
- if (value == null) {
134
- return value;
135
- }
136
-
137
- return {
138
-
139
- 'id': value['id'],
140
- 'uuid': value['uuid'],
141
- 'name': value['name'],
142
- 'description': value['description'],
143
- 'type': value['type'],
144
- 'payload': value['payload'],
145
- 'sequenceNumber': value['sequenceNumber'],
146
- 'lastScanTime': value['lastScanTime'] == null ? undefined : ((value['lastScanTime']).toISOString()),
147
- 'resourceId': value['resourceId'],
148
- 'boundTaskId': value['boundTaskId'],
149
- };
150
- }
151
-
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.4.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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface NfcUnitDTO
20
+ */
21
+ export interface NfcUnitDTO {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof NfcUnitDTO
26
+ */
27
+ id?: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof NfcUnitDTO
32
+ */
33
+ uuid?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof NfcUnitDTO
38
+ */
39
+ name?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof NfcUnitDTO
44
+ */
45
+ description?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof NfcUnitDTO
50
+ */
51
+ type?: NfcUnitDTOTypeEnum;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof NfcUnitDTO
56
+ */
57
+ payload?: string;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof NfcUnitDTO
62
+ */
63
+ sequenceNumber?: number;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof NfcUnitDTO
68
+ */
69
+ lastScanTime?: Date;
70
+ /**
71
+ *
72
+ * @type {number}
73
+ * @memberof NfcUnitDTO
74
+ */
75
+ resourceId?: number;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof NfcUnitDTO
80
+ */
81
+ boundTaskId?: number;
82
+ }
83
+
84
+
85
+ /**
86
+ * @export
87
+ */
88
+ export const NfcUnitDTOTypeEnum = {
89
+ Counter: 'COUNTER',
90
+ Checkpoint: 'CHECKPOINT',
91
+ Timetracker: 'TIMETRACKER',
92
+ Infopoint: 'INFOPOINT',
93
+ Other: 'OTHER'
94
+ } as const;
95
+ export type NfcUnitDTOTypeEnum = typeof NfcUnitDTOTypeEnum[keyof typeof NfcUnitDTOTypeEnum];
96
+
97
+
98
+ /**
99
+ * Check if a given object implements the NfcUnitDTO interface.
100
+ */
101
+ export function instanceOfNfcUnitDTO(value: object): value is NfcUnitDTO {
102
+ return true;
103
+ }
104
+
105
+ export function NfcUnitDTOFromJSON(json: any): NfcUnitDTO {
106
+ return NfcUnitDTOFromJSONTyped(json, false);
107
+ }
108
+
109
+ export function NfcUnitDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): NfcUnitDTO {
110
+ if (json == null) {
111
+ return json;
112
+ }
113
+ return {
114
+
115
+ 'id': json['id'] == null ? undefined : json['id'],
116
+ 'uuid': json['uuid'] == null ? undefined : json['uuid'],
117
+ 'name': json['name'] == null ? undefined : json['name'],
118
+ 'description': json['description'] == null ? undefined : json['description'],
119
+ 'type': json['type'] == null ? undefined : json['type'],
120
+ 'payload': json['payload'] == null ? undefined : json['payload'],
121
+ 'sequenceNumber': json['sequenceNumber'] == null ? undefined : json['sequenceNumber'],
122
+ 'lastScanTime': json['lastScanTime'] == null ? undefined : (new Date(json['lastScanTime'])),
123
+ 'resourceId': json['resourceId'] == null ? undefined : json['resourceId'],
124
+ 'boundTaskId': json['boundTaskId'] == null ? undefined : json['boundTaskId'],
125
+ };
126
+ }
127
+
128
+ export function NfcUnitDTOToJSON(json: any): NfcUnitDTO {
129
+ return NfcUnitDTOToJSONTyped(json, false);
130
+ }
131
+
132
+ export function NfcUnitDTOToJSONTyped(value?: NfcUnitDTO | null, ignoreDiscriminator: boolean = false): any {
133
+ if (value == null) {
134
+ return value;
135
+ }
136
+
137
+ return {
138
+
139
+ 'id': value['id'],
140
+ 'uuid': value['uuid'],
141
+ 'name': value['name'],
142
+ 'description': value['description'],
143
+ 'type': value['type'],
144
+ 'payload': value['payload'],
145
+ 'sequenceNumber': value['sequenceNumber'],
146
+ 'lastScanTime': value['lastScanTime'] == null ? undefined : ((value['lastScanTime']).toISOString()),
147
+ 'resourceId': value['resourceId'],
148
+ 'boundTaskId': value['boundTaskId'],
149
+ };
150
+ }
151
+
@@ -1,111 +1,111 @@
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
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface NfcUnitRequest
20
- */
21
- export interface NfcUnitRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof NfcUnitRequest
26
- */
27
- uuid?: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof NfcUnitRequest
32
- */
33
- name?: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof NfcUnitRequest
38
- */
39
- description?: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof NfcUnitRequest
44
- */
45
- type?: NfcUnitRequestTypeEnum;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof NfcUnitRequest
50
- */
51
- payload?: string;
52
- }
53
-
54
-
55
- /**
56
- * @export
57
- */
58
- export const NfcUnitRequestTypeEnum = {
59
- Counter: 'COUNTER',
60
- Checkpoint: 'CHECKPOINT',
61
- Timetracker: 'TIMETRACKER',
62
- Infopoint: 'INFOPOINT',
63
- Other: 'OTHER'
64
- } as const;
65
- export type NfcUnitRequestTypeEnum = typeof NfcUnitRequestTypeEnum[keyof typeof NfcUnitRequestTypeEnum];
66
-
67
-
68
- /**
69
- * Check if a given object implements the NfcUnitRequest interface.
70
- */
71
- export function instanceOfNfcUnitRequest(value: object): value is NfcUnitRequest {
72
- return true;
73
- }
74
-
75
- export function NfcUnitRequestFromJSON(json: any): NfcUnitRequest {
76
- return NfcUnitRequestFromJSONTyped(json, false);
77
- }
78
-
79
- export function NfcUnitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NfcUnitRequest {
80
- if (json == null) {
81
- return json;
82
- }
83
- return {
84
-
85
- 'uuid': json['uuid'] == null ? undefined : json['uuid'],
86
- 'name': json['name'] == null ? undefined : json['name'],
87
- 'description': json['description'] == null ? undefined : json['description'],
88
- 'type': json['type'] == null ? undefined : json['type'],
89
- 'payload': json['payload'] == null ? undefined : json['payload'],
90
- };
91
- }
92
-
93
- export function NfcUnitRequestToJSON(json: any): NfcUnitRequest {
94
- return NfcUnitRequestToJSONTyped(json, false);
95
- }
96
-
97
- export function NfcUnitRequestToJSONTyped(value?: NfcUnitRequest | null, ignoreDiscriminator: boolean = false): any {
98
- if (value == null) {
99
- return value;
100
- }
101
-
102
- return {
103
-
104
- 'uuid': value['uuid'],
105
- 'name': value['name'],
106
- 'description': value['description'],
107
- 'type': value['type'],
108
- 'payload': value['payload'],
109
- };
110
- }
111
-
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.4.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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface NfcUnitRequest
20
+ */
21
+ export interface NfcUnitRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof NfcUnitRequest
26
+ */
27
+ uuid?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof NfcUnitRequest
32
+ */
33
+ name?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof NfcUnitRequest
38
+ */
39
+ description?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof NfcUnitRequest
44
+ */
45
+ type?: NfcUnitRequestTypeEnum;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof NfcUnitRequest
50
+ */
51
+ payload?: string;
52
+ }
53
+
54
+
55
+ /**
56
+ * @export
57
+ */
58
+ export const NfcUnitRequestTypeEnum = {
59
+ Counter: 'COUNTER',
60
+ Checkpoint: 'CHECKPOINT',
61
+ Timetracker: 'TIMETRACKER',
62
+ Infopoint: 'INFOPOINT',
63
+ Other: 'OTHER'
64
+ } as const;
65
+ export type NfcUnitRequestTypeEnum = typeof NfcUnitRequestTypeEnum[keyof typeof NfcUnitRequestTypeEnum];
66
+
67
+
68
+ /**
69
+ * Check if a given object implements the NfcUnitRequest interface.
70
+ */
71
+ export function instanceOfNfcUnitRequest(value: object): value is NfcUnitRequest {
72
+ return true;
73
+ }
74
+
75
+ export function NfcUnitRequestFromJSON(json: any): NfcUnitRequest {
76
+ return NfcUnitRequestFromJSONTyped(json, false);
77
+ }
78
+
79
+ export function NfcUnitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NfcUnitRequest {
80
+ if (json == null) {
81
+ return json;
82
+ }
83
+ return {
84
+
85
+ 'uuid': json['uuid'] == null ? undefined : json['uuid'],
86
+ 'name': json['name'] == null ? undefined : json['name'],
87
+ 'description': json['description'] == null ? undefined : json['description'],
88
+ 'type': json['type'] == null ? undefined : json['type'],
89
+ 'payload': json['payload'] == null ? undefined : json['payload'],
90
+ };
91
+ }
92
+
93
+ export function NfcUnitRequestToJSON(json: any): NfcUnitRequest {
94
+ return NfcUnitRequestToJSONTyped(json, false);
95
+ }
96
+
97
+ export function NfcUnitRequestToJSONTyped(value?: NfcUnitRequest | null, ignoreDiscriminator: boolean = false): any {
98
+ if (value == null) {
99
+ return value;
100
+ }
101
+
102
+ return {
103
+
104
+ 'uuid': value['uuid'],
105
+ 'name': value['name'],
106
+ 'description': value['description'],
107
+ 'type': value['type'],
108
+ 'payload': value['payload'],
109
+ };
110
+ }
111
+