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
package/dist/apis/TasksApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Prioritize API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.4.0
|
|
9
9
|
* Contact: peter.haller@prioritize-iot.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,6 +29,49 @@ const index_1 = require("../models/index");
|
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
class TasksApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Books a work session by hand that was never clocked
|
|
34
|
+
*/
|
|
35
|
+
taskAddTrackingSessionRaw(requestParameters, initOverrides) {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
if (requestParameters['id'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling taskAddTrackingSession().');
|
|
39
|
+
}
|
|
40
|
+
if (requestParameters['workSessionRequest'] == null) {
|
|
41
|
+
throw new runtime.RequiredError('workSessionRequest', 'Required parameter "workSessionRequest" was null or undefined when calling taskAddTrackingSession().');
|
|
42
|
+
}
|
|
43
|
+
const queryParameters = {};
|
|
44
|
+
const headerParameters = {};
|
|
45
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
46
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
47
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
48
|
+
}
|
|
49
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
50
|
+
const token = this.configuration.accessToken;
|
|
51
|
+
const tokenString = yield token("bearerAuth", []);
|
|
52
|
+
if (tokenString) {
|
|
53
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
const response = yield this.request({
|
|
57
|
+
path: `/api/v1/tasks/{id}/tracking/sessions`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
58
|
+
method: 'POST',
|
|
59
|
+
headers: headerParameters,
|
|
60
|
+
query: queryParameters,
|
|
61
|
+
body: (0, index_1.WorkSessionRequestToJSON)(requestParameters['workSessionRequest']),
|
|
62
|
+
}, initOverrides);
|
|
63
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.WorkSessionFromJSON)(jsonValue));
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Books a work session by hand that was never clocked
|
|
68
|
+
*/
|
|
69
|
+
taskAddTrackingSession(requestParameters, initOverrides) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
const response = yield this.taskAddTrackingSessionRaw(requestParameters, initOverrides);
|
|
72
|
+
return yield response.value();
|
|
73
|
+
});
|
|
74
|
+
}
|
|
32
75
|
/**
|
|
33
76
|
* Assign goal
|
|
34
77
|
*/
|
|
@@ -234,6 +277,46 @@ class TasksApi extends runtime.BaseAPI {
|
|
|
234
277
|
yield this.taskDeleteTaskRaw(requestParameters, initOverrides);
|
|
235
278
|
});
|
|
236
279
|
}
|
|
280
|
+
/**
|
|
281
|
+
* Removes a completed work session
|
|
282
|
+
*/
|
|
283
|
+
taskDeleteTrackingSessionRaw(requestParameters, initOverrides) {
|
|
284
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
285
|
+
if (requestParameters['id'] == null) {
|
|
286
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling taskDeleteTrackingSession().');
|
|
287
|
+
}
|
|
288
|
+
if (requestParameters['sessionId'] == null) {
|
|
289
|
+
throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling taskDeleteTrackingSession().');
|
|
290
|
+
}
|
|
291
|
+
const queryParameters = {};
|
|
292
|
+
const headerParameters = {};
|
|
293
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
294
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
295
|
+
}
|
|
296
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
297
|
+
const token = this.configuration.accessToken;
|
|
298
|
+
const tokenString = yield token("bearerAuth", []);
|
|
299
|
+
if (tokenString) {
|
|
300
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
const response = yield this.request({
|
|
304
|
+
path: `/api/v1/tasks/{id}/tracking/sessions/{sessionId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))).replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId']))),
|
|
305
|
+
method: 'DELETE',
|
|
306
|
+
headers: headerParameters,
|
|
307
|
+
query: queryParameters,
|
|
308
|
+
}, initOverrides);
|
|
309
|
+
return new runtime.VoidApiResponse(response);
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Removes a completed work session
|
|
314
|
+
*/
|
|
315
|
+
taskDeleteTrackingSession(requestParameters, initOverrides) {
|
|
316
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
317
|
+
yield this.taskDeleteTrackingSessionRaw(requestParameters, initOverrides);
|
|
318
|
+
});
|
|
319
|
+
}
|
|
237
320
|
/**
|
|
238
321
|
* Get task
|
|
239
322
|
*/
|
|
@@ -424,6 +507,49 @@ class TasksApi extends runtime.BaseAPI {
|
|
|
424
507
|
return yield response.value();
|
|
425
508
|
});
|
|
426
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
* Stops the running work session at an earlier point in time
|
|
512
|
+
*/
|
|
513
|
+
taskStopTrackingAtRaw(requestParameters, initOverrides) {
|
|
514
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
515
|
+
if (requestParameters['id'] == null) {
|
|
516
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling taskStopTrackingAt().');
|
|
517
|
+
}
|
|
518
|
+
if (requestParameters['stopAtRequest'] == null) {
|
|
519
|
+
throw new runtime.RequiredError('stopAtRequest', 'Required parameter "stopAtRequest" was null or undefined when calling taskStopTrackingAt().');
|
|
520
|
+
}
|
|
521
|
+
const queryParameters = {};
|
|
522
|
+
const headerParameters = {};
|
|
523
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
524
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
525
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
526
|
+
}
|
|
527
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
528
|
+
const token = this.configuration.accessToken;
|
|
529
|
+
const tokenString = yield token("bearerAuth", []);
|
|
530
|
+
if (tokenString) {
|
|
531
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
const response = yield this.request({
|
|
535
|
+
path: `/api/v1/tasks/{id}/tracking/stop-at`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
536
|
+
method: 'POST',
|
|
537
|
+
headers: headerParameters,
|
|
538
|
+
query: queryParameters,
|
|
539
|
+
body: (0, index_1.StopAtRequestToJSON)(requestParameters['stopAtRequest']),
|
|
540
|
+
}, initOverrides);
|
|
541
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.TaskDTOFromJSON)(jsonValue));
|
|
542
|
+
});
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
* Stops the running work session at an earlier point in time
|
|
546
|
+
*/
|
|
547
|
+
taskStopTrackingAt(requestParameters, initOverrides) {
|
|
548
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
549
|
+
const response = yield this.taskStopTrackingAtRaw(requestParameters, initOverrides);
|
|
550
|
+
return yield response.value();
|
|
551
|
+
});
|
|
552
|
+
}
|
|
427
553
|
/**
|
|
428
554
|
* Toggle tracking
|
|
429
555
|
*/
|
|
@@ -581,5 +707,51 @@ class TasksApi extends runtime.BaseAPI {
|
|
|
581
707
|
return yield response.value();
|
|
582
708
|
});
|
|
583
709
|
}
|
|
710
|
+
/**
|
|
711
|
+
* Corrects the start and end of a completed work session
|
|
712
|
+
*/
|
|
713
|
+
taskUpdateTrackingSessionRaw(requestParameters, initOverrides) {
|
|
714
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
715
|
+
if (requestParameters['id'] == null) {
|
|
716
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling taskUpdateTrackingSession().');
|
|
717
|
+
}
|
|
718
|
+
if (requestParameters['sessionId'] == null) {
|
|
719
|
+
throw new runtime.RequiredError('sessionId', 'Required parameter "sessionId" was null or undefined when calling taskUpdateTrackingSession().');
|
|
720
|
+
}
|
|
721
|
+
if (requestParameters['workSessionRequest'] == null) {
|
|
722
|
+
throw new runtime.RequiredError('workSessionRequest', 'Required parameter "workSessionRequest" was null or undefined when calling taskUpdateTrackingSession().');
|
|
723
|
+
}
|
|
724
|
+
const queryParameters = {};
|
|
725
|
+
const headerParameters = {};
|
|
726
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
727
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
728
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
729
|
+
}
|
|
730
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
731
|
+
const token = this.configuration.accessToken;
|
|
732
|
+
const tokenString = yield token("bearerAuth", []);
|
|
733
|
+
if (tokenString) {
|
|
734
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
const response = yield this.request({
|
|
738
|
+
path: `/api/v1/tasks/{id}/tracking/sessions/{sessionId}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))).replace(`{${"sessionId"}}`, encodeURIComponent(String(requestParameters['sessionId']))),
|
|
739
|
+
method: 'PUT',
|
|
740
|
+
headers: headerParameters,
|
|
741
|
+
query: queryParameters,
|
|
742
|
+
body: (0, index_1.WorkSessionRequestToJSON)(requestParameters['workSessionRequest']),
|
|
743
|
+
}, initOverrides);
|
|
744
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.WorkSessionFromJSON)(jsonValue));
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
/**
|
|
748
|
+
* Corrects the start and end of a completed work session
|
|
749
|
+
*/
|
|
750
|
+
taskUpdateTrackingSession(requestParameters, initOverrides) {
|
|
751
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
752
|
+
const response = yield this.taskUpdateTrackingSessionRaw(requestParameters, initOverrides);
|
|
753
|
+
return yield response.value();
|
|
754
|
+
});
|
|
755
|
+
}
|
|
584
756
|
}
|
|
585
757
|
exports.TasksApi = TasksApi;
|
|
@@ -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).
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Prioritize API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.4.0
|
|
9
9
|
* Contact: peter.haller@prioritize-iot.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/apis/UsersApi.d.ts
CHANGED
|
@@ -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).
|
package/dist/apis/UsersApi.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Prioritize API
|
|
6
6
|
* 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.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.4.0
|
|
9
9
|
* Contact: peter.haller@prioritize-iot.de
|
|
10
10
|
*
|
|
11
11
|
* 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).
|
|
@@ -75,6 +75,18 @@ export interface DepartmentsApiInterface {
|
|
|
75
75
|
* Get department by id
|
|
76
76
|
*/
|
|
77
77
|
departmentGetById(requestParameters: DepartmentGetByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DepartmentDTO>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @summary List the departments the caller may read, across all companies
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
* @memberof DepartmentsApiInterface
|
|
84
|
+
*/
|
|
85
|
+
departmentGetDepartmentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DepartmentDTO>>>;
|
|
86
|
+
/**
|
|
87
|
+
* List the departments the caller may read, across all companies
|
|
88
|
+
*/
|
|
89
|
+
departmentGetDepartments(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DepartmentDTO>>;
|
|
78
90
|
/**
|
|
79
91
|
*
|
|
80
92
|
* @summary Get departments by company
|
|
@@ -131,6 +143,14 @@ export declare class DepartmentsApi extends runtime.BaseAPI implements Departmen
|
|
|
131
143
|
* Get department by id
|
|
132
144
|
*/
|
|
133
145
|
departmentGetById(requestParameters: DepartmentGetByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DepartmentDTO>;
|
|
146
|
+
/**
|
|
147
|
+
* List the departments the caller may read, across all companies
|
|
148
|
+
*/
|
|
149
|
+
departmentGetDepartmentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<DepartmentDTO>>>;
|
|
150
|
+
/**
|
|
151
|
+
* List the departments the caller may read, across all companies
|
|
152
|
+
*/
|
|
153
|
+
departmentGetDepartments(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<DepartmentDTO>>;
|
|
134
154
|
/**
|
|
135
155
|
* Get departments by company
|
|
136
156
|
*/
|
|
@@ -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).
|
|
@@ -144,6 +144,41 @@ export class DepartmentsApi extends runtime.BaseAPI {
|
|
|
144
144
|
return yield response.value();
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* List the departments the caller may read, across all companies
|
|
149
|
+
*/
|
|
150
|
+
departmentGetDepartmentsRaw(initOverrides) {
|
|
151
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
152
|
+
const queryParameters = {};
|
|
153
|
+
const headerParameters = {};
|
|
154
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
155
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
156
|
+
}
|
|
157
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
158
|
+
const token = this.configuration.accessToken;
|
|
159
|
+
const tokenString = yield token("bearerAuth", []);
|
|
160
|
+
if (tokenString) {
|
|
161
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
const response = yield this.request({
|
|
165
|
+
path: `/api/v1/departments`,
|
|
166
|
+
method: 'GET',
|
|
167
|
+
headers: headerParameters,
|
|
168
|
+
query: queryParameters,
|
|
169
|
+
}, initOverrides);
|
|
170
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(DepartmentDTOFromJSON));
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* List the departments the caller may read, across all companies
|
|
175
|
+
*/
|
|
176
|
+
departmentGetDepartments(initOverrides) {
|
|
177
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
178
|
+
const response = yield this.departmentGetDepartmentsRaw(initOverrides);
|
|
179
|
+
return yield response.value();
|
|
180
|
+
});
|
|
181
|
+
}
|
|
147
182
|
/**
|
|
148
183
|
* Get departments by company
|
|
149
184
|
*/
|
|
@@ -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).
|
package/dist/esm/apis/NFCApi.js
CHANGED
|
@@ -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).
|
|
@@ -18,6 +18,9 @@ export interface ResourceAssignSkillToResourceRequest {
|
|
|
18
18
|
export interface ResourceCancelReservationRequest {
|
|
19
19
|
reservationId: number;
|
|
20
20
|
}
|
|
21
|
+
export interface ResourceClearCostRateRequest {
|
|
22
|
+
id: number;
|
|
23
|
+
}
|
|
21
24
|
export interface ResourceCreateResourceRequest {
|
|
22
25
|
groupId: number;
|
|
23
26
|
resourceRequest: ResourceRequest;
|
|
@@ -112,6 +115,19 @@ export interface ResourcesApiInterface {
|
|
|
112
115
|
* Cancels a reservation and releases the occupied slot
|
|
113
116
|
*/
|
|
114
117
|
resourceCancelReservation(requestParameters: ResourceCancelReservationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @summary Removes a resource\'s cost rate
|
|
121
|
+
* @param {number} id
|
|
122
|
+
* @param {*} [options] Override http request option.
|
|
123
|
+
* @throws {RequiredError}
|
|
124
|
+
* @memberof ResourcesApiInterface
|
|
125
|
+
*/
|
|
126
|
+
resourceClearCostRateRaw(requestParameters: ResourceClearCostRateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResourceDTO>>;
|
|
127
|
+
/**
|
|
128
|
+
* Removes a resource\'s cost rate
|
|
129
|
+
*/
|
|
130
|
+
resourceClearCostRate(requestParameters: ResourceClearCostRateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResourceDTO>;
|
|
115
131
|
/**
|
|
116
132
|
*
|
|
117
133
|
* @summary Creates a new resource in a specific resource group
|
|
@@ -387,6 +403,14 @@ export declare class ResourcesApi extends runtime.BaseAPI implements ResourcesAp
|
|
|
387
403
|
* Cancels a reservation and releases the occupied slot
|
|
388
404
|
*/
|
|
389
405
|
resourceCancelReservation(requestParameters: ResourceCancelReservationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
406
|
+
/**
|
|
407
|
+
* Removes a resource\'s cost rate
|
|
408
|
+
*/
|
|
409
|
+
resourceClearCostRateRaw(requestParameters: ResourceClearCostRateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ResourceDTO>>;
|
|
410
|
+
/**
|
|
411
|
+
* Removes a resource\'s cost rate
|
|
412
|
+
*/
|
|
413
|
+
resourceClearCostRate(requestParameters: ResourceClearCostRateRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ResourceDTO>;
|
|
390
414
|
/**
|
|
391
415
|
* Creates a new resource in a specific resource group
|
|
392
416
|
*/
|
|
@@ -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).
|
|
@@ -106,6 +106,44 @@ export class ResourcesApi extends runtime.BaseAPI {
|
|
|
106
106
|
yield this.resourceCancelReservationRaw(requestParameters, initOverrides);
|
|
107
107
|
});
|
|
108
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* Removes a resource\'s cost rate
|
|
111
|
+
*/
|
|
112
|
+
resourceClearCostRateRaw(requestParameters, initOverrides) {
|
|
113
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
114
|
+
if (requestParameters['id'] == null) {
|
|
115
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling resourceClearCostRate().');
|
|
116
|
+
}
|
|
117
|
+
const queryParameters = {};
|
|
118
|
+
const headerParameters = {};
|
|
119
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
120
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
121
|
+
}
|
|
122
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
123
|
+
const token = this.configuration.accessToken;
|
|
124
|
+
const tokenString = yield token("bearerAuth", []);
|
|
125
|
+
if (tokenString) {
|
|
126
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
const response = yield this.request({
|
|
130
|
+
path: `/api/v1/resources/{id}/cost-rate`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
131
|
+
method: 'DELETE',
|
|
132
|
+
headers: headerParameters,
|
|
133
|
+
query: queryParameters,
|
|
134
|
+
}, initOverrides);
|
|
135
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ResourceDTOFromJSON(jsonValue));
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Removes a resource\'s cost rate
|
|
140
|
+
*/
|
|
141
|
+
resourceClearCostRate(requestParameters, initOverrides) {
|
|
142
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
143
|
+
const response = yield this.resourceClearCostRateRaw(requestParameters, initOverrides);
|
|
144
|
+
return yield response.value();
|
|
145
|
+
});
|
|
146
|
+
}
|
|
109
147
|
/**
|
|
110
148
|
* Creates a new resource in a specific resource group
|
|
111
149
|
*/
|
|
@@ -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).
|