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.
- package/dist/apis/CompaniesApi.d.ts +1 -1
- package/dist/apis/CompaniesApi.js +1 -1
- package/dist/apis/DepartmentsApi.d.ts +21 -1
- package/dist/apis/DepartmentsApi.js +36 -1
- package/dist/apis/DocumentGroupsApi.d.ts +1 -1
- package/dist/apis/DocumentGroupsApi.js +1 -1
- package/dist/apis/DocumentsApi.d.ts +1 -1
- package/dist/apis/DocumentsApi.js +1 -1
- package/dist/apis/NFCApi.d.ts +1 -1
- package/dist/apis/NFCApi.js +1 -1
- package/dist/apis/ProcessDefinitionsApi.d.ts +1 -1
- package/dist/apis/ProcessDefinitionsApi.js +1 -1
- package/dist/apis/ProcessInstancesApi.d.ts +1 -1
- package/dist/apis/ProcessInstancesApi.js +1 -1
- package/dist/apis/ProjectGoalsApi.d.ts +1 -1
- package/dist/apis/ProjectGoalsApi.js +1 -1
- package/dist/apis/ProjectsApi.d.ts +1 -1
- package/dist/apis/ProjectsApi.js +1 -1
- package/dist/apis/ResourcesApi.d.ts +25 -1
- package/dist/apis/ResourcesApi.js +39 -1
- package/dist/apis/SkillsApi.d.ts +1 -1
- package/dist/apis/SkillsApi.js +1 -1
- package/dist/apis/TaskSchedulesApi.d.ts +1 -1
- package/dist/apis/TaskSchedulesApi.js +1 -1
- package/dist/apis/TasksApi.d.ts +108 -2
- package/dist/apis/TasksApi.js +173 -1
- package/dist/apis/TelemetryRulesApi.d.ts +1 -1
- package/dist/apis/TelemetryRulesApi.js +1 -1
- package/dist/apis/UsersApi.d.ts +1 -1
- package/dist/apis/UsersApi.js +1 -1
- package/dist/esm/apis/CompaniesApi.d.ts +1 -1
- package/dist/esm/apis/CompaniesApi.js +1 -1
- package/dist/esm/apis/DepartmentsApi.d.ts +21 -1
- package/dist/esm/apis/DepartmentsApi.js +36 -1
- package/dist/esm/apis/DocumentGroupsApi.d.ts +1 -1
- package/dist/esm/apis/DocumentGroupsApi.js +1 -1
- package/dist/esm/apis/DocumentsApi.d.ts +1 -1
- package/dist/esm/apis/DocumentsApi.js +1 -1
- package/dist/esm/apis/NFCApi.d.ts +1 -1
- package/dist/esm/apis/NFCApi.js +1 -1
- package/dist/esm/apis/ProcessDefinitionsApi.d.ts +1 -1
- package/dist/esm/apis/ProcessDefinitionsApi.js +1 -1
- package/dist/esm/apis/ProcessInstancesApi.d.ts +1 -1
- package/dist/esm/apis/ProcessInstancesApi.js +1 -1
- package/dist/esm/apis/ProjectGoalsApi.d.ts +1 -1
- package/dist/esm/apis/ProjectGoalsApi.js +1 -1
- package/dist/esm/apis/ProjectsApi.d.ts +1 -1
- package/dist/esm/apis/ProjectsApi.js +1 -1
- package/dist/esm/apis/ResourcesApi.d.ts +25 -1
- package/dist/esm/apis/ResourcesApi.js +39 -1
- package/dist/esm/apis/SkillsApi.d.ts +1 -1
- package/dist/esm/apis/SkillsApi.js +1 -1
- package/dist/esm/apis/TaskSchedulesApi.d.ts +1 -1
- package/dist/esm/apis/TaskSchedulesApi.js +1 -1
- package/dist/esm/apis/TasksApi.d.ts +108 -2
- package/dist/esm/apis/TasksApi.js +174 -2
- package/dist/esm/apis/TelemetryRulesApi.d.ts +1 -1
- package/dist/esm/apis/TelemetryRulesApi.js +1 -1
- package/dist/esm/apis/UsersApi.d.ts +1 -1
- package/dist/esm/apis/UsersApi.js +1 -1
- package/dist/esm/models/AddressDTO.d.ts +1 -1
- package/dist/esm/models/AddressDTO.js +1 -1
- package/dist/esm/models/AddressRequest.d.ts +1 -1
- package/dist/esm/models/AddressRequest.js +1 -1
- package/dist/esm/models/CancelProcessInstanceRequest.d.ts +1 -1
- package/dist/esm/models/CancelProcessInstanceRequest.js +1 -1
- package/dist/esm/models/CompanyDTO.d.ts +1 -1
- package/dist/esm/models/CompanyDTO.js +1 -1
- package/dist/esm/models/CompanyRequest.d.ts +1 -1
- package/dist/esm/models/CompanyRequest.js +1 -1
- package/dist/esm/models/Correction.d.ts +77 -0
- package/dist/esm/models/Correction.js +61 -0
- package/dist/esm/models/DepartmentDTO.d.ts +1 -1
- package/dist/esm/models/DepartmentDTO.js +1 -1
- package/dist/esm/models/DepartmentRequest.d.ts +1 -1
- package/dist/esm/models/DepartmentRequest.js +1 -1
- package/dist/esm/models/DocumentCheckInRequest.d.ts +1 -1
- package/dist/esm/models/DocumentCheckInRequest.js +1 -1
- package/dist/esm/models/DocumentGroupDTO.d.ts +1 -1
- package/dist/esm/models/DocumentGroupDTO.js +1 -1
- package/dist/esm/models/DocumentGroupRequest.d.ts +1 -1
- package/dist/esm/models/DocumentGroupRequest.js +1 -1
- package/dist/esm/models/DocumentHistoryDTO.d.ts +1 -1
- package/dist/esm/models/DocumentHistoryDTO.js +1 -1
- package/dist/esm/models/DocumentSummaryDTO.d.ts +1 -1
- package/dist/esm/models/DocumentSummaryDTO.js +1 -1
- package/dist/esm/models/GoalProgress.d.ts +1 -1
- package/dist/esm/models/GoalProgress.js +1 -1
- package/dist/esm/models/GoalRequest.d.ts +1 -1
- package/dist/esm/models/GoalRequest.js +1 -1
- package/dist/esm/models/GoalRequestPropertiesInner.d.ts +1 -1
- package/dist/esm/models/GoalRequestPropertiesInner.js +1 -1
- package/dist/esm/models/NfcUnitDTO.d.ts +1 -1
- package/dist/esm/models/NfcUnitDTO.js +1 -1
- package/dist/esm/models/NfcUnitRequest.d.ts +1 -1
- package/dist/esm/models/NfcUnitRequest.js +1 -1
- package/dist/esm/models/ProcessDefinitionDTO.d.ts +1 -1
- package/dist/esm/models/ProcessDefinitionDTO.js +1 -1
- package/dist/esm/models/ProcessInstanceDTO.d.ts +1 -1
- package/dist/esm/models/ProcessInstanceDTO.js +1 -1
- package/dist/esm/models/ProjectDTO.d.ts +1 -1
- package/dist/esm/models/ProjectDTO.js +1 -1
- package/dist/esm/models/ProjectGoalDTO.d.ts +1 -1
- package/dist/esm/models/ProjectGoalDTO.js +1 -1
- package/dist/esm/models/ProjectGoalProperty.d.ts +1 -1
- package/dist/esm/models/ProjectGoalProperty.js +1 -1
- package/dist/esm/models/ProjectGoalPropertyDocument.d.ts +1 -1
- package/dist/esm/models/ProjectGoalPropertyDocument.js +1 -1
- package/dist/esm/models/ProjectGoalPropertyNumeric.d.ts +1 -1
- package/dist/esm/models/ProjectGoalPropertyNumeric.js +1 -1
- package/dist/esm/models/ProjectProgress.d.ts +1 -1
- package/dist/esm/models/ProjectProgress.js +1 -1
- package/dist/esm/models/ProjectRequest.d.ts +1 -1
- package/dist/esm/models/ProjectRequest.js +1 -1
- package/dist/esm/models/ResourceCommandRequest.d.ts +1 -1
- package/dist/esm/models/ResourceCommandRequest.js +1 -1
- package/dist/esm/models/ResourceDTO.d.ts +28 -1
- package/dist/esm/models/ResourceDTO.js +15 -1
- package/dist/esm/models/ResourceGroupDTO.d.ts +1 -1
- package/dist/esm/models/ResourceGroupDTO.js +1 -1
- package/dist/esm/models/ResourceRequest.d.ts +28 -1
- package/dist/esm/models/ResourceRequest.js +15 -1
- package/dist/esm/models/ResourceReservationDTO.d.ts +1 -1
- package/dist/esm/models/ResourceReservationDTO.js +1 -1
- package/dist/esm/models/ResourceStatusDTO.d.ts +1 -1
- package/dist/esm/models/ResourceStatusDTO.js +1 -1
- package/dist/esm/models/ResourceValueDTO.d.ts +1 -1
- package/dist/esm/models/ResourceValueDTO.js +1 -1
- package/dist/esm/models/ResourceValueRequest.d.ts +1 -1
- package/dist/esm/models/ResourceValueRequest.js +1 -1
- package/dist/esm/models/ScanResult.d.ts +2 -2
- package/dist/esm/models/ScanResult.js +3 -3
- package/dist/esm/models/SkillCategoryDTO.d.ts +1 -1
- package/dist/esm/models/SkillCategoryDTO.js +1 -1
- package/dist/esm/models/SkillCategoryRequest.d.ts +1 -1
- package/dist/esm/models/SkillCategoryRequest.js +1 -1
- package/dist/esm/models/SkillRecordDTO.d.ts +1 -1
- package/dist/esm/models/SkillRecordDTO.js +1 -1
- package/dist/esm/models/SkillRecordRequest.d.ts +1 -1
- package/dist/esm/models/SkillRecordRequest.js +1 -1
- package/dist/esm/models/SkillRequest.d.ts +1 -1
- package/dist/esm/models/SkillRequest.js +1 -1
- package/dist/esm/models/SkillSummaryDTO.d.ts +1 -1
- package/dist/esm/models/SkillSummaryDTO.js +1 -1
- package/dist/esm/models/StartProcessInstanceRequest.d.ts +1 -1
- package/dist/esm/models/StartProcessInstanceRequest.js +1 -1
- package/dist/esm/models/StopAtRequest.d.ts +44 -0
- package/dist/esm/models/StopAtRequest.js +45 -0
- package/dist/esm/models/TaskDTO.d.ts +8 -2
- package/dist/esm/models/TaskDTO.js +5 -3
- package/dist/esm/models/TaskRequest.d.ts +1 -1
- package/dist/esm/models/TaskRequest.js +1 -1
- package/dist/esm/models/TaskScheduleDTO.d.ts +1 -1
- package/dist/esm/models/TaskScheduleDTO.js +1 -1
- package/dist/esm/models/TaskScheduleRequest.d.ts +1 -1
- package/dist/esm/models/TaskScheduleRequest.js +1 -1
- package/dist/esm/models/TaskStatusRequest.d.ts +1 -1
- package/dist/esm/models/TaskStatusRequest.js +1 -1
- package/dist/esm/models/TelemetryRuleDTO.d.ts +1 -1
- package/dist/esm/models/TelemetryRuleDTO.js +1 -1
- package/dist/esm/models/TelemetryRuleRequest.d.ts +1 -1
- package/dist/esm/models/TelemetryRuleRequest.js +1 -1
- package/dist/esm/models/TrackingSummary.d.ts +8 -2
- package/dist/esm/models/TrackingSummary.js +5 -3
- package/dist/esm/models/UserDTO.d.ts +2 -2
- package/dist/esm/models/UserDTO.js +4 -4
- package/dist/esm/models/UserRequest.d.ts +1 -1
- package/dist/esm/models/UserRequest.js +2 -2
- package/dist/esm/models/WorkSession.d.ts +26 -1
- package/dist/esm/models/WorkSession.js +10 -1
- package/dist/esm/models/WorkSessionRequest.d.ts +50 -0
- package/dist/esm/models/WorkSessionRequest.js +47 -0
- package/dist/esm/models/index.d.ts +3 -0
- package/dist/esm/models/index.js +3 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AddressDTO.d.ts +1 -1
- package/dist/models/AddressDTO.js +1 -1
- package/dist/models/AddressRequest.d.ts +1 -1
- package/dist/models/AddressRequest.js +1 -1
- package/dist/models/CancelProcessInstanceRequest.d.ts +1 -1
- package/dist/models/CancelProcessInstanceRequest.js +1 -1
- package/dist/models/CompanyDTO.d.ts +1 -1
- package/dist/models/CompanyDTO.js +1 -1
- package/dist/models/CompanyRequest.d.ts +1 -1
- package/dist/models/CompanyRequest.js +1 -1
- package/dist/models/Correction.d.ts +77 -0
- package/dist/models/Correction.js +69 -0
- package/dist/models/DepartmentDTO.d.ts +1 -1
- package/dist/models/DepartmentDTO.js +1 -1
- package/dist/models/DepartmentRequest.d.ts +1 -1
- package/dist/models/DepartmentRequest.js +1 -1
- package/dist/models/DocumentCheckInRequest.d.ts +1 -1
- package/dist/models/DocumentCheckInRequest.js +1 -1
- package/dist/models/DocumentGroupDTO.d.ts +1 -1
- package/dist/models/DocumentGroupDTO.js +1 -1
- package/dist/models/DocumentGroupRequest.d.ts +1 -1
- package/dist/models/DocumentGroupRequest.js +1 -1
- package/dist/models/DocumentHistoryDTO.d.ts +1 -1
- package/dist/models/DocumentHistoryDTO.js +1 -1
- package/dist/models/DocumentSummaryDTO.d.ts +1 -1
- package/dist/models/DocumentSummaryDTO.js +1 -1
- package/dist/models/GoalProgress.d.ts +1 -1
- package/dist/models/GoalProgress.js +1 -1
- package/dist/models/GoalRequest.d.ts +1 -1
- package/dist/models/GoalRequest.js +1 -1
- package/dist/models/GoalRequestPropertiesInner.d.ts +1 -1
- package/dist/models/GoalRequestPropertiesInner.js +1 -1
- package/dist/models/NfcUnitDTO.d.ts +1 -1
- package/dist/models/NfcUnitDTO.js +1 -1
- package/dist/models/NfcUnitRequest.d.ts +1 -1
- package/dist/models/NfcUnitRequest.js +1 -1
- package/dist/models/ProcessDefinitionDTO.d.ts +1 -1
- package/dist/models/ProcessDefinitionDTO.js +1 -1
- package/dist/models/ProcessInstanceDTO.d.ts +1 -1
- package/dist/models/ProcessInstanceDTO.js +1 -1
- package/dist/models/ProjectDTO.d.ts +1 -1
- package/dist/models/ProjectDTO.js +1 -1
- package/dist/models/ProjectGoalDTO.d.ts +1 -1
- package/dist/models/ProjectGoalDTO.js +1 -1
- package/dist/models/ProjectGoalProperty.d.ts +1 -1
- package/dist/models/ProjectGoalProperty.js +1 -1
- package/dist/models/ProjectGoalPropertyDocument.d.ts +1 -1
- package/dist/models/ProjectGoalPropertyDocument.js +1 -1
- package/dist/models/ProjectGoalPropertyNumeric.d.ts +1 -1
- package/dist/models/ProjectGoalPropertyNumeric.js +1 -1
- package/dist/models/ProjectProgress.d.ts +1 -1
- package/dist/models/ProjectProgress.js +1 -1
- package/dist/models/ProjectRequest.d.ts +1 -1
- package/dist/models/ProjectRequest.js +1 -1
- package/dist/models/ResourceCommandRequest.d.ts +1 -1
- package/dist/models/ResourceCommandRequest.js +1 -1
- package/dist/models/ResourceDTO.d.ts +28 -1
- package/dist/models/ResourceDTO.js +16 -1
- package/dist/models/ResourceGroupDTO.d.ts +1 -1
- package/dist/models/ResourceGroupDTO.js +1 -1
- package/dist/models/ResourceRequest.d.ts +28 -1
- package/dist/models/ResourceRequest.js +16 -1
- package/dist/models/ResourceReservationDTO.d.ts +1 -1
- package/dist/models/ResourceReservationDTO.js +1 -1
- package/dist/models/ResourceStatusDTO.d.ts +1 -1
- package/dist/models/ResourceStatusDTO.js +1 -1
- package/dist/models/ResourceValueDTO.d.ts +1 -1
- package/dist/models/ResourceValueDTO.js +1 -1
- package/dist/models/ResourceValueRequest.d.ts +1 -1
- package/dist/models/ResourceValueRequest.js +1 -1
- package/dist/models/ScanResult.d.ts +2 -2
- package/dist/models/ScanResult.js +3 -3
- package/dist/models/SkillCategoryDTO.d.ts +1 -1
- package/dist/models/SkillCategoryDTO.js +1 -1
- package/dist/models/SkillCategoryRequest.d.ts +1 -1
- package/dist/models/SkillCategoryRequest.js +1 -1
- package/dist/models/SkillRecordDTO.d.ts +1 -1
- package/dist/models/SkillRecordDTO.js +1 -1
- package/dist/models/SkillRecordRequest.d.ts +1 -1
- package/dist/models/SkillRecordRequest.js +1 -1
- package/dist/models/SkillRequest.d.ts +1 -1
- package/dist/models/SkillRequest.js +1 -1
- package/dist/models/SkillSummaryDTO.d.ts +1 -1
- package/dist/models/SkillSummaryDTO.js +1 -1
- package/dist/models/StartProcessInstanceRequest.d.ts +1 -1
- package/dist/models/StartProcessInstanceRequest.js +1 -1
- package/dist/models/StopAtRequest.d.ts +44 -0
- package/dist/models/StopAtRequest.js +52 -0
- package/dist/models/TaskDTO.d.ts +8 -2
- package/dist/models/TaskDTO.js +5 -3
- package/dist/models/TaskRequest.d.ts +1 -1
- package/dist/models/TaskRequest.js +1 -1
- package/dist/models/TaskScheduleDTO.d.ts +1 -1
- package/dist/models/TaskScheduleDTO.js +1 -1
- package/dist/models/TaskScheduleRequest.d.ts +1 -1
- package/dist/models/TaskScheduleRequest.js +1 -1
- package/dist/models/TaskStatusRequest.d.ts +1 -1
- package/dist/models/TaskStatusRequest.js +1 -1
- package/dist/models/TelemetryRuleDTO.d.ts +1 -1
- package/dist/models/TelemetryRuleDTO.js +1 -1
- package/dist/models/TelemetryRuleRequest.d.ts +1 -1
- package/dist/models/TelemetryRuleRequest.js +1 -1
- package/dist/models/TrackingSummary.d.ts +8 -2
- package/dist/models/TrackingSummary.js +5 -3
- package/dist/models/UserDTO.d.ts +2 -2
- package/dist/models/UserDTO.js +4 -4
- package/dist/models/UserRequest.d.ts +1 -1
- package/dist/models/UserRequest.js +2 -2
- package/dist/models/WorkSession.d.ts +26 -1
- package/dist/models/WorkSession.js +10 -1
- package/dist/models/WorkSessionRequest.d.ts +50 -0
- package/dist/models/WorkSessionRequest.js +54 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/CompaniesApi.ts +424 -424
- package/src/apis/DepartmentsApi.ts +431 -380
- package/src/apis/DocumentGroupsApi.ts +287 -287
- package/src/apis/DocumentsApi.ts +798 -798
- package/src/apis/NFCApi.ts +443 -443
- package/src/apis/ProcessDefinitionsApi.ts +410 -410
- package/src/apis/ProcessInstancesApi.ts +451 -451
- package/src/apis/ProjectGoalsApi.ts +473 -473
- package/src/apis/ProjectsApi.ts +929 -929
- package/src/apis/ResourcesApi.ts +1544 -1481
- package/src/apis/SkillsApi.ts +682 -682
- package/src/apis/TaskSchedulesApi.ts +380 -380
- package/src/apis/TasksApi.ts +1297 -986
- package/src/apis/TelemetryRulesApi.ts +380 -380
- package/src/apis/UsersApi.ts +648 -648
- package/src/apis/index.ts +17 -17
- package/src/index.ts +5 -5
- package/src/models/AddressDTO.ts +137 -137
- package/src/models/AddressRequest.ts +129 -129
- package/src/models/CancelProcessInstanceRequest.ts +65 -65
- package/src/models/CompanyDTO.ts +121 -121
- package/src/models/CompanyRequest.ts +113 -113
- package/src/models/Correction.ts +125 -0
- package/src/models/DepartmentDTO.ts +105 -105
- package/src/models/DepartmentRequest.ts +89 -89
- package/src/models/DocumentCheckInRequest.ts +66 -66
- package/src/models/DocumentGroupDTO.ts +81 -81
- package/src/models/DocumentGroupRequest.ts +73 -73
- package/src/models/DocumentHistoryDTO.ts +97 -97
- package/src/models/DocumentSummaryDTO.ts +97 -97
- package/src/models/GoalProgress.ts +81 -81
- package/src/models/GoalRequest.ts +89 -89
- package/src/models/GoalRequestPropertiesInner.ts +73 -73
- package/src/models/NfcUnitDTO.ts +151 -151
- package/src/models/NfcUnitRequest.ts +111 -111
- package/src/models/ProcessDefinitionDTO.ts +141 -141
- package/src/models/ProcessInstanceDTO.ts +129 -129
- package/src/models/ProjectDTO.ts +137 -137
- package/src/models/ProjectGoalDTO.ts +81 -81
- package/src/models/ProjectGoalProperty.ts +111 -111
- package/src/models/ProjectGoalPropertyDocument.ts +73 -73
- package/src/models/ProjectGoalPropertyNumeric.ts +81 -81
- package/src/models/ProjectProgress.ts +81 -81
- package/src/models/ProjectRequest.ts +105 -105
- package/src/models/ResourceCommandRequest.ts +73 -73
- package/src/models/ResourceDTO.ts +261 -225
- package/src/models/ResourceGroupDTO.ts +81 -81
- package/src/models/ResourceRequest.ts +213 -177
- package/src/models/ResourceReservationDTO.ts +97 -97
- package/src/models/ResourceStatusDTO.ts +103 -103
- package/src/models/ResourceValueDTO.ts +73 -73
- package/src/models/ResourceValueRequest.ts +73 -73
- package/src/models/ScanResult.ts +119 -119
- package/src/models/SkillCategoryDTO.ts +97 -97
- package/src/models/SkillCategoryRequest.ts +81 -81
- package/src/models/SkillRecordDTO.ts +89 -89
- package/src/models/SkillRecordRequest.ts +73 -73
- package/src/models/SkillRequest.ts +89 -89
- package/src/models/SkillSummaryDTO.ts +105 -105
- package/src/models/StartProcessInstanceRequest.ts +73 -73
- package/src/models/StopAtRequest.ts +81 -0
- package/src/models/TaskDTO.ts +155 -147
- package/src/models/TaskRequest.ts +81 -81
- package/src/models/TaskScheduleDTO.ts +145 -145
- package/src/models/TaskScheduleRequest.ts +113 -113
- package/src/models/TaskStatusRequest.ts +83 -83
- package/src/models/TelemetryRuleDTO.ts +176 -176
- package/src/models/TelemetryRuleRequest.ts +135 -135
- package/src/models/TrackingSummary.ts +105 -97
- package/src/models/UserDTO.ts +182 -182
- package/src/models/UserRequest.ts +158 -158
- package/src/models/WorkSession.ts +129 -89
- package/src/models/WorkSessionRequest.ts +89 -0
- package/src/models/index.ts +58 -55
- package/src/runtime.ts +431 -431
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Prioritize API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
6
|
* Contact: peter.haller@prioritize-iot.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prioritize API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.0
|
|
8
8
|
* Contact: peter.haller@prioritize-iot.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Prioritize API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
6
|
* Contact: peter.haller@prioritize-iot.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -10,7 +10,11 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { TaskDTO, TaskRequest, TaskStatusRequest, TrackingSummary, WorkSession } from '../models/index';
|
|
13
|
+
import type { StopAtRequest, TaskDTO, TaskRequest, TaskStatusRequest, TrackingSummary, WorkSession, WorkSessionRequest } from '../models/index';
|
|
14
|
+
export interface TaskAddTrackingSessionRequest {
|
|
15
|
+
id: number;
|
|
16
|
+
workSessionRequest: WorkSessionRequest;
|
|
17
|
+
}
|
|
14
18
|
export interface TaskAssignGoalRequest {
|
|
15
19
|
id: number;
|
|
16
20
|
goalId: number;
|
|
@@ -30,6 +34,10 @@ export interface TaskCreateTaskRequest {
|
|
|
30
34
|
export interface TaskDeleteTaskRequest {
|
|
31
35
|
id: number;
|
|
32
36
|
}
|
|
37
|
+
export interface TaskDeleteTrackingSessionRequest {
|
|
38
|
+
id: number;
|
|
39
|
+
sessionId: number;
|
|
40
|
+
}
|
|
33
41
|
export interface TaskGetTaskRequest {
|
|
34
42
|
id: number;
|
|
35
43
|
}
|
|
@@ -45,6 +53,10 @@ export interface TaskStartTrackingRequest {
|
|
|
45
53
|
export interface TaskStopTrackingRequest {
|
|
46
54
|
id: number;
|
|
47
55
|
}
|
|
56
|
+
export interface TaskStopTrackingAtRequest {
|
|
57
|
+
id: number;
|
|
58
|
+
stopAtRequest: StopAtRequest;
|
|
59
|
+
}
|
|
48
60
|
export interface TaskToggleTrackingRequest {
|
|
49
61
|
id: number;
|
|
50
62
|
}
|
|
@@ -58,6 +70,11 @@ export interface TaskUpdateTaskRequest {
|
|
|
58
70
|
id: number;
|
|
59
71
|
taskRequest: TaskRequest;
|
|
60
72
|
}
|
|
73
|
+
export interface TaskUpdateTrackingSessionRequest {
|
|
74
|
+
id: number;
|
|
75
|
+
sessionId: number;
|
|
76
|
+
workSessionRequest: WorkSessionRequest;
|
|
77
|
+
}
|
|
61
78
|
/**
|
|
62
79
|
* TasksApi - interface
|
|
63
80
|
*
|
|
@@ -65,6 +82,20 @@ export interface TaskUpdateTaskRequest {
|
|
|
65
82
|
* @interface TasksApiInterface
|
|
66
83
|
*/
|
|
67
84
|
export interface TasksApiInterface {
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @summary Books a work session by hand that was never clocked
|
|
88
|
+
* @param {number} id
|
|
89
|
+
* @param {WorkSessionRequest} workSessionRequest
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
* @memberof TasksApiInterface
|
|
93
|
+
*/
|
|
94
|
+
taskAddTrackingSessionRaw(requestParameters: TaskAddTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkSession>>;
|
|
95
|
+
/**
|
|
96
|
+
* Books a work session by hand that was never clocked
|
|
97
|
+
*/
|
|
98
|
+
taskAddTrackingSession(requestParameters: TaskAddTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkSession>;
|
|
68
99
|
/**
|
|
69
100
|
*
|
|
70
101
|
* @summary Assign goal
|
|
@@ -134,6 +165,20 @@ export interface TasksApiInterface {
|
|
|
134
165
|
* Delete task
|
|
135
166
|
*/
|
|
136
167
|
taskDeleteTask(requestParameters: TaskDeleteTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @summary Removes a completed work session
|
|
171
|
+
* @param {number} id
|
|
172
|
+
* @param {number} sessionId
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
* @memberof TasksApiInterface
|
|
176
|
+
*/
|
|
177
|
+
taskDeleteTrackingSessionRaw(requestParameters: TaskDeleteTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
178
|
+
/**
|
|
179
|
+
* Removes a completed work session
|
|
180
|
+
*/
|
|
181
|
+
taskDeleteTrackingSession(requestParameters: TaskDeleteTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
137
182
|
/**
|
|
138
183
|
*
|
|
139
184
|
* @summary Get task
|
|
@@ -199,6 +244,20 @@ export interface TasksApiInterface {
|
|
|
199
244
|
* Stop tracking
|
|
200
245
|
*/
|
|
201
246
|
taskStopTracking(requestParameters: TaskStopTrackingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TaskDTO>;
|
|
247
|
+
/**
|
|
248
|
+
*
|
|
249
|
+
* @summary Stops the running work session at an earlier point in time
|
|
250
|
+
* @param {number} id
|
|
251
|
+
* @param {StopAtRequest} stopAtRequest
|
|
252
|
+
* @param {*} [options] Override http request option.
|
|
253
|
+
* @throws {RequiredError}
|
|
254
|
+
* @memberof TasksApiInterface
|
|
255
|
+
*/
|
|
256
|
+
taskStopTrackingAtRaw(requestParameters: TaskStopTrackingAtRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TaskDTO>>;
|
|
257
|
+
/**
|
|
258
|
+
* Stops the running work session at an earlier point in time
|
|
259
|
+
*/
|
|
260
|
+
taskStopTrackingAt(requestParameters: TaskStopTrackingAtRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TaskDTO>;
|
|
202
261
|
/**
|
|
203
262
|
*
|
|
204
263
|
* @summary Toggle tracking
|
|
@@ -252,11 +311,34 @@ export interface TasksApiInterface {
|
|
|
252
311
|
* Update task
|
|
253
312
|
*/
|
|
254
313
|
taskUpdateTask(requestParameters: TaskUpdateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TaskDTO>;
|
|
314
|
+
/**
|
|
315
|
+
*
|
|
316
|
+
* @summary Corrects the start and end of a completed work session
|
|
317
|
+
* @param {number} id
|
|
318
|
+
* @param {number} sessionId
|
|
319
|
+
* @param {WorkSessionRequest} workSessionRequest
|
|
320
|
+
* @param {*} [options] Override http request option.
|
|
321
|
+
* @throws {RequiredError}
|
|
322
|
+
* @memberof TasksApiInterface
|
|
323
|
+
*/
|
|
324
|
+
taskUpdateTrackingSessionRaw(requestParameters: TaskUpdateTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkSession>>;
|
|
325
|
+
/**
|
|
326
|
+
* Corrects the start and end of a completed work session
|
|
327
|
+
*/
|
|
328
|
+
taskUpdateTrackingSession(requestParameters: TaskUpdateTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkSession>;
|
|
255
329
|
}
|
|
256
330
|
/**
|
|
257
331
|
*
|
|
258
332
|
*/
|
|
259
333
|
export declare class TasksApi extends runtime.BaseAPI implements TasksApiInterface {
|
|
334
|
+
/**
|
|
335
|
+
* Books a work session by hand that was never clocked
|
|
336
|
+
*/
|
|
337
|
+
taskAddTrackingSessionRaw(requestParameters: TaskAddTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkSession>>;
|
|
338
|
+
/**
|
|
339
|
+
* Books a work session by hand that was never clocked
|
|
340
|
+
*/
|
|
341
|
+
taskAddTrackingSession(requestParameters: TaskAddTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkSession>;
|
|
260
342
|
/**
|
|
261
343
|
* Assign goal
|
|
262
344
|
*/
|
|
@@ -297,6 +379,14 @@ export declare class TasksApi extends runtime.BaseAPI implements TasksApiInterfa
|
|
|
297
379
|
* Delete task
|
|
298
380
|
*/
|
|
299
381
|
taskDeleteTask(requestParameters: TaskDeleteTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
382
|
+
/**
|
|
383
|
+
* Removes a completed work session
|
|
384
|
+
*/
|
|
385
|
+
taskDeleteTrackingSessionRaw(requestParameters: TaskDeleteTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
386
|
+
/**
|
|
387
|
+
* Removes a completed work session
|
|
388
|
+
*/
|
|
389
|
+
taskDeleteTrackingSession(requestParameters: TaskDeleteTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
300
390
|
/**
|
|
301
391
|
* Get task
|
|
302
392
|
*/
|
|
@@ -337,6 +427,14 @@ export declare class TasksApi extends runtime.BaseAPI implements TasksApiInterfa
|
|
|
337
427
|
* Stop tracking
|
|
338
428
|
*/
|
|
339
429
|
taskStopTracking(requestParameters: TaskStopTrackingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TaskDTO>;
|
|
430
|
+
/**
|
|
431
|
+
* Stops the running work session at an earlier point in time
|
|
432
|
+
*/
|
|
433
|
+
taskStopTrackingAtRaw(requestParameters: TaskStopTrackingAtRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<TaskDTO>>;
|
|
434
|
+
/**
|
|
435
|
+
* Stops the running work session at an earlier point in time
|
|
436
|
+
*/
|
|
437
|
+
taskStopTrackingAt(requestParameters: TaskStopTrackingAtRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TaskDTO>;
|
|
340
438
|
/**
|
|
341
439
|
* Toggle tracking
|
|
342
440
|
*/
|
|
@@ -369,4 +467,12 @@ export declare class TasksApi extends runtime.BaseAPI implements TasksApiInterfa
|
|
|
369
467
|
* Update task
|
|
370
468
|
*/
|
|
371
469
|
taskUpdateTask(requestParameters: TaskUpdateTaskRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<TaskDTO>;
|
|
470
|
+
/**
|
|
471
|
+
* Corrects the start and end of a completed work session
|
|
472
|
+
*/
|
|
473
|
+
taskUpdateTrackingSessionRaw(requestParameters: TaskUpdateTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkSession>>;
|
|
474
|
+
/**
|
|
475
|
+
* Corrects the start and end of a completed work session
|
|
476
|
+
*/
|
|
477
|
+
taskUpdateTrackingSession(requestParameters: TaskUpdateTrackingSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkSession>;
|
|
372
478
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prioritize API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.0
|
|
8
8
|
* Contact: peter.haller@prioritize-iot.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -21,11 +21,54 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { TaskDTOFromJSON, TaskRequestToJSON, TaskStatusRequestToJSON, TrackingSummaryFromJSON, WorkSessionFromJSON, } from '../models/index';
|
|
24
|
+
import { StopAtRequestToJSON, TaskDTOFromJSON, TaskRequestToJSON, TaskStatusRequestToJSON, TrackingSummaryFromJSON, WorkSessionFromJSON, WorkSessionRequestToJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export class TasksApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Books a work session by hand that was never clocked
|
|
31
|
+
*/
|
|
32
|
+
taskAddTrackingSessionRaw(requestParameters, initOverrides) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['id'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling taskAddTrackingSession().');
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters['workSessionRequest'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('workSessionRequest', 'Required parameter "workSessionRequest" was null or undefined when calling taskAddTrackingSession().');
|
|
39
|
+
}
|
|
40
|
+
const queryParameters = {};
|
|
41
|
+
const headerParameters = {};
|
|
42
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
43
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
44
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
45
|
+
}
|
|
46
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
47
|
+
const token = this.configuration.accessToken;
|
|
48
|
+
const tokenString = yield token("bearerAuth", []);
|
|
49
|
+
if (tokenString) {
|
|
50
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
const response = yield this.request({
|
|
54
|
+
path: `/api/v1/tasks/{id}/tracking/sessions`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
55
|
+
method: 'POST',
|
|
56
|
+
headers: headerParameters,
|
|
57
|
+
query: queryParameters,
|
|
58
|
+
body: WorkSessionRequestToJSON(requestParameters['workSessionRequest']),
|
|
59
|
+
}, initOverrides);
|
|
60
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WorkSessionFromJSON(jsonValue));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Books a work session by hand that was never clocked
|
|
65
|
+
*/
|
|
66
|
+
taskAddTrackingSession(requestParameters, initOverrides) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
const response = yield this.taskAddTrackingSessionRaw(requestParameters, initOverrides);
|
|
69
|
+
return yield response.value();
|
|
70
|
+
});
|
|
71
|
+
}
|
|
29
72
|
/**
|
|
30
73
|
* Assign goal
|
|
31
74
|
*/
|
|
@@ -231,6 +274,46 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
231
274
|
yield this.taskDeleteTaskRaw(requestParameters, initOverrides);
|
|
232
275
|
});
|
|
233
276
|
}
|
|
277
|
+
/**
|
|
278
|
+
* Removes a completed work session
|
|
279
|
+
*/
|
|
280
|
+
taskDeleteTrackingSessionRaw(requestParameters, initOverrides) {
|
|
281
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
282
|
+
if (requestParameters['id'] == null) {
|
|
283
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling taskDeleteTrackingSession().');
|
|
284
|
+
}
|
|
285
|
+
if (requestParameters['sessionId'] == null) {
|
|
286
|
+
throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling taskDeleteTrackingSession().');
|
|
287
|
+
}
|
|
288
|
+
const queryParameters = {};
|
|
289
|
+
const headerParameters = {};
|
|
290
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
291
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
292
|
+
}
|
|
293
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
294
|
+
const token = this.configuration.accessToken;
|
|
295
|
+
const tokenString = yield token("bearerAuth", []);
|
|
296
|
+
if (tokenString) {
|
|
297
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
const response = yield this.request({
|
|
301
|
+
path: `/api/v1/tasks/{id}/tracking/sessions/{sessionId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))).replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId']))),
|
|
302
|
+
method: 'DELETE',
|
|
303
|
+
headers: headerParameters,
|
|
304
|
+
query: queryParameters,
|
|
305
|
+
}, initOverrides);
|
|
306
|
+
return new runtime.VoidApiResponse(response);
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
/**
|
|
310
|
+
* Removes a completed work session
|
|
311
|
+
*/
|
|
312
|
+
taskDeleteTrackingSession(requestParameters, initOverrides) {
|
|
313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
+
yield this.taskDeleteTrackingSessionRaw(requestParameters, initOverrides);
|
|
315
|
+
});
|
|
316
|
+
}
|
|
234
317
|
/**
|
|
235
318
|
* Get task
|
|
236
319
|
*/
|
|
@@ -421,6 +504,49 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
421
504
|
return yield response.value();
|
|
422
505
|
});
|
|
423
506
|
}
|
|
507
|
+
/**
|
|
508
|
+
* Stops the running work session at an earlier point in time
|
|
509
|
+
*/
|
|
510
|
+
taskStopTrackingAtRaw(requestParameters, initOverrides) {
|
|
511
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
512
|
+
if (requestParameters['id'] == null) {
|
|
513
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling taskStopTrackingAt().');
|
|
514
|
+
}
|
|
515
|
+
if (requestParameters['stopAtRequest'] == null) {
|
|
516
|
+
throw new runtime.RequiredError('stopAtRequest', 'Required parameter "stopAtRequest" was null or undefined when calling taskStopTrackingAt().');
|
|
517
|
+
}
|
|
518
|
+
const queryParameters = {};
|
|
519
|
+
const headerParameters = {};
|
|
520
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
521
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
522
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
523
|
+
}
|
|
524
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
525
|
+
const token = this.configuration.accessToken;
|
|
526
|
+
const tokenString = yield token("bearerAuth", []);
|
|
527
|
+
if (tokenString) {
|
|
528
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
const response = yield this.request({
|
|
532
|
+
path: `/api/v1/tasks/{id}/tracking/stop-at`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
533
|
+
method: 'POST',
|
|
534
|
+
headers: headerParameters,
|
|
535
|
+
query: queryParameters,
|
|
536
|
+
body: StopAtRequestToJSON(requestParameters['stopAtRequest']),
|
|
537
|
+
}, initOverrides);
|
|
538
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => TaskDTOFromJSON(jsonValue));
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
/**
|
|
542
|
+
* Stops the running work session at an earlier point in time
|
|
543
|
+
*/
|
|
544
|
+
taskStopTrackingAt(requestParameters, initOverrides) {
|
|
545
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
546
|
+
const response = yield this.taskStopTrackingAtRaw(requestParameters, initOverrides);
|
|
547
|
+
return yield response.value();
|
|
548
|
+
});
|
|
549
|
+
}
|
|
424
550
|
/**
|
|
425
551
|
* Toggle tracking
|
|
426
552
|
*/
|
|
@@ -578,4 +704,50 @@ export class TasksApi extends runtime.BaseAPI {
|
|
|
578
704
|
return yield response.value();
|
|
579
705
|
});
|
|
580
706
|
}
|
|
707
|
+
/**
|
|
708
|
+
* Corrects the start and end of a completed work session
|
|
709
|
+
*/
|
|
710
|
+
taskUpdateTrackingSessionRaw(requestParameters, initOverrides) {
|
|
711
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
712
|
+
if (requestParameters['id'] == null) {
|
|
713
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling taskUpdateTrackingSession().');
|
|
714
|
+
}
|
|
715
|
+
if (requestParameters['sessionId'] == null) {
|
|
716
|
+
throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling taskUpdateTrackingSession().');
|
|
717
|
+
}
|
|
718
|
+
if (requestParameters['workSessionRequest'] == null) {
|
|
719
|
+
throw new runtime.RequiredError('workSessionRequest', 'Required parameter "workSessionRequest" was null or undefined when calling taskUpdateTrackingSession().');
|
|
720
|
+
}
|
|
721
|
+
const queryParameters = {};
|
|
722
|
+
const headerParameters = {};
|
|
723
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
724
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
725
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
726
|
+
}
|
|
727
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
728
|
+
const token = this.configuration.accessToken;
|
|
729
|
+
const tokenString = yield token("bearerAuth", []);
|
|
730
|
+
if (tokenString) {
|
|
731
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
732
|
+
}
|
|
733
|
+
}
|
|
734
|
+
const response = yield this.request({
|
|
735
|
+
path: `/api/v1/tasks/{id}/tracking/sessions/{sessionId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))).replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId']))),
|
|
736
|
+
method: 'PUT',
|
|
737
|
+
headers: headerParameters,
|
|
738
|
+
query: queryParameters,
|
|
739
|
+
body: WorkSessionRequestToJSON(requestParameters['workSessionRequest']),
|
|
740
|
+
}, initOverrides);
|
|
741
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WorkSessionFromJSON(jsonValue));
|
|
742
|
+
});
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* Corrects the start and end of a completed work session
|
|
746
|
+
*/
|
|
747
|
+
taskUpdateTrackingSession(requestParameters, initOverrides) {
|
|
748
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
749
|
+
const response = yield this.taskUpdateTrackingSessionRaw(requestParameters, initOverrides);
|
|
750
|
+
return yield response.value();
|
|
751
|
+
});
|
|
752
|
+
}
|
|
581
753
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Prioritize API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
6
|
* Contact: peter.haller@prioritize-iot.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prioritize API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.0
|
|
8
8
|
* Contact: peter.haller@prioritize-iot.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Prioritize API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
6
|
* Contact: peter.haller@prioritize-iot.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prioritize API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.0
|
|
8
8
|
* Contact: peter.haller@prioritize-iot.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Prioritize API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
6
|
* Contact: peter.haller@prioritize-iot.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prioritize API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.0
|
|
8
8
|
* Contact: peter.haller@prioritize-iot.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Prioritize API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
6
|
* Contact: peter.haller@prioritize-iot.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prioritize API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.0
|
|
8
8
|
* Contact: peter.haller@prioritize-iot.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Prioritize API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
6
|
* Contact: peter.haller@prioritize-iot.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prioritize API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.0
|
|
8
8
|
* Contact: peter.haller@prioritize-iot.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Prioritize API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
6
|
* Contact: peter.haller@prioritize-iot.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prioritize API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.0
|
|
8
8
|
* Contact: peter.haller@prioritize-iot.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Prioritize API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
6
6
|
* Contact: peter.haller@prioritize-iot.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Prioritize API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.4.0
|
|
8
8
|
* Contact: peter.haller@prioritize-iot.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,77 @@
|
|
|
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.4.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 Correction
|
|
16
|
+
*/
|
|
17
|
+
export interface Correction {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Correction
|
|
22
|
+
*/
|
|
23
|
+
kind?: CorrectionKindEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Correction
|
|
28
|
+
*/
|
|
29
|
+
correctedById?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Correction
|
|
34
|
+
*/
|
|
35
|
+
correctedBy?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof Correction
|
|
40
|
+
*/
|
|
41
|
+
correctedAt?: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Correction
|
|
46
|
+
*/
|
|
47
|
+
reason?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof Correction
|
|
52
|
+
*/
|
|
53
|
+
originalFrom?: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof Correction
|
|
58
|
+
*/
|
|
59
|
+
originalUntil?: Date;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export declare const CorrectionKindEnum: {
|
|
65
|
+
readonly Corrected: "CORRECTED";
|
|
66
|
+
readonly BackdatedStop: "BACKDATED_STOP";
|
|
67
|
+
readonly ManualEntry: "MANUAL_ENTRY";
|
|
68
|
+
};
|
|
69
|
+
export type CorrectionKindEnum = typeof CorrectionKindEnum[keyof typeof CorrectionKindEnum];
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the Correction interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfCorrection(value: object): value is Correction;
|
|
74
|
+
export declare function CorrectionFromJSON(json: any): Correction;
|
|
75
|
+
export declare function CorrectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Correction;
|
|
76
|
+
export declare function CorrectionToJSON(json: any): Correction;
|
|
77
|
+
export declare function CorrectionToJSONTyped(value?: Correction | null, ignoreDiscriminator?: boolean): any;
|