prioritize-client 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +90 -0
- package/dist/apis/CompaniesApi.d.ts +168 -0
- package/dist/apis/CompaniesApi.js +265 -0
- package/dist/apis/DepartmentsApi.d.ts +150 -0
- package/dist/apis/DepartmentsApi.js +232 -0
- package/dist/apis/DocumentGroupsApi.d.ts +118 -0
- package/dist/apis/DocumentGroupsApi.js +183 -0
- package/dist/apis/DocumentsApi.d.ts +296 -0
- package/dist/apis/DocumentsApi.js +494 -0
- package/dist/apis/NFCApi.d.ts +174 -0
- package/dist/apis/NFCApi.js +268 -0
- package/dist/apis/ProcessDefinitionsApi.d.ts +168 -0
- package/dist/apis/ProcessDefinitionsApi.js +260 -0
- package/dist/apis/ProcessInstancesApi.d.ts +176 -0
- package/dist/apis/ProcessInstancesApi.js +272 -0
- package/dist/apis/ProjectGoalsApi.d.ts +180 -0
- package/dist/apis/ProjectGoalsApi.js +279 -0
- package/dist/apis/ProjectsApi.d.ts +350 -0
- package/dist/apis/ProjectsApi.js +551 -0
- package/dist/apis/ResourcesApi.d.ts +542 -0
- package/dist/apis/ResourcesApi.js +872 -0
- package/dist/apis/SkillsApi.d.ts +262 -0
- package/dist/apis/SkillsApi.js +419 -0
- package/dist/apis/TaskSchedulesApi.d.ts +150 -0
- package/dist/apis/TaskSchedulesApi.js +232 -0
- package/dist/apis/TasksApi.d.ts +372 -0
- package/dist/apis/TasksApi.js +585 -0
- package/dist/apis/TelemetryRulesApi.d.ts +150 -0
- package/dist/apis/TelemetryRulesApi.js +232 -0
- package/dist/apis/UsersApi.d.ts +247 -0
- package/dist/apis/UsersApi.js +393 -0
- package/dist/apis/index.d.ts +15 -0
- package/dist/apis/index.js +33 -0
- package/dist/esm/apis/CompaniesApi.d.ts +168 -0
- package/dist/esm/apis/CompaniesApi.js +261 -0
- package/dist/esm/apis/DepartmentsApi.d.ts +150 -0
- package/dist/esm/apis/DepartmentsApi.js +228 -0
- package/dist/esm/apis/DocumentGroupsApi.d.ts +118 -0
- package/dist/esm/apis/DocumentGroupsApi.js +179 -0
- package/dist/esm/apis/DocumentsApi.d.ts +296 -0
- package/dist/esm/apis/DocumentsApi.js +490 -0
- package/dist/esm/apis/NFCApi.d.ts +174 -0
- package/dist/esm/apis/NFCApi.js +264 -0
- package/dist/esm/apis/ProcessDefinitionsApi.d.ts +168 -0
- package/dist/esm/apis/ProcessDefinitionsApi.js +256 -0
- package/dist/esm/apis/ProcessInstancesApi.d.ts +176 -0
- package/dist/esm/apis/ProcessInstancesApi.js +268 -0
- package/dist/esm/apis/ProjectGoalsApi.d.ts +180 -0
- package/dist/esm/apis/ProjectGoalsApi.js +275 -0
- package/dist/esm/apis/ProjectsApi.d.ts +350 -0
- package/dist/esm/apis/ProjectsApi.js +547 -0
- package/dist/esm/apis/ResourcesApi.d.ts +542 -0
- package/dist/esm/apis/ResourcesApi.js +868 -0
- package/dist/esm/apis/SkillsApi.d.ts +262 -0
- package/dist/esm/apis/SkillsApi.js +415 -0
- package/dist/esm/apis/TaskSchedulesApi.d.ts +150 -0
- package/dist/esm/apis/TaskSchedulesApi.js +228 -0
- package/dist/esm/apis/TasksApi.d.ts +372 -0
- package/dist/esm/apis/TasksApi.js +581 -0
- package/dist/esm/apis/TelemetryRulesApi.d.ts +150 -0
- package/dist/esm/apis/TelemetryRulesApi.js +228 -0
- package/dist/esm/apis/UsersApi.d.ts +247 -0
- package/dist/esm/apis/UsersApi.js +389 -0
- package/dist/esm/apis/index.d.ts +15 -0
- package/dist/esm/apis/index.js +17 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AddressDTO.d.ts +86 -0
- package/dist/esm/models/AddressDTO.js +59 -0
- package/dist/esm/models/AddressRequest.d.ts +80 -0
- package/dist/esm/models/AddressRequest.js +57 -0
- package/dist/esm/models/CancelProcessInstanceRequest.d.ts +32 -0
- package/dist/esm/models/CancelProcessInstanceRequest.js +41 -0
- package/dist/esm/models/CompanyDTO.d.ts +69 -0
- package/dist/esm/models/CompanyDTO.js +54 -0
- package/dist/esm/models/CompanyRequest.d.ts +63 -0
- package/dist/esm/models/CompanyRequest.js +52 -0
- package/dist/esm/models/DepartmentDTO.d.ts +57 -0
- package/dist/esm/models/DepartmentDTO.js +50 -0
- package/dist/esm/models/DepartmentRequest.d.ts +45 -0
- package/dist/esm/models/DepartmentRequest.js +46 -0
- package/dist/esm/models/DocumentCheckInRequest.d.ts +32 -0
- package/dist/esm/models/DocumentCheckInRequest.js +43 -0
- package/dist/esm/models/DocumentGroupDTO.d.ts +44 -0
- package/dist/esm/models/DocumentGroupDTO.js +45 -0
- package/dist/esm/models/DocumentGroupRequest.d.ts +38 -0
- package/dist/esm/models/DocumentGroupRequest.js +43 -0
- package/dist/esm/models/DocumentHistoryDTO.d.ts +56 -0
- package/dist/esm/models/DocumentHistoryDTO.js +49 -0
- package/dist/esm/models/DocumentSummaryDTO.d.ts +56 -0
- package/dist/esm/models/DocumentSummaryDTO.js +49 -0
- package/dist/esm/models/GoalProgress.d.ts +44 -0
- package/dist/esm/models/GoalProgress.js +45 -0
- package/dist/esm/models/GoalRequest.d.ts +45 -0
- package/dist/esm/models/GoalRequest.js +46 -0
- package/dist/esm/models/GoalRequestPropertiesInner.d.ts +23 -0
- package/dist/esm/models/GoalRequestPropertiesInner.js +45 -0
- package/dist/esm/models/NfcUnitDTO.d.ts +97 -0
- package/dist/esm/models/NfcUnitDTO.js +69 -0
- package/dist/esm/models/NfcUnitRequest.d.ts +67 -0
- package/dist/esm/models/NfcUnitRequest.js +59 -0
- package/dist/esm/models/ProcessDefinitionDTO.d.ts +89 -0
- package/dist/esm/models/ProcessDefinitionDTO.js +65 -0
- package/dist/esm/models/ProcessInstanceDTO.d.ts +80 -0
- package/dist/esm/models/ProcessInstanceDTO.js +57 -0
- package/dist/esm/models/ProjectDTO.d.ts +86 -0
- package/dist/esm/models/ProjectDTO.js +59 -0
- package/dist/esm/models/ProjectGoalDTO.d.ts +44 -0
- package/dist/esm/models/ProjectGoalDTO.js +45 -0
- package/dist/esm/models/ProjectGoalProperty.d.ts +50 -0
- package/dist/esm/models/ProjectGoalProperty.js +69 -0
- package/dist/esm/models/ProjectGoalPropertyDocument.d.ts +33 -0
- package/dist/esm/models/ProjectGoalPropertyDocument.js +38 -0
- package/dist/esm/models/ProjectGoalPropertyNumeric.d.ts +39 -0
- package/dist/esm/models/ProjectGoalPropertyNumeric.js +38 -0
- package/dist/esm/models/ProjectProgress.d.ts +39 -0
- package/dist/esm/models/ProjectProgress.js +44 -0
- package/dist/esm/models/ProjectRequest.d.ts +62 -0
- package/dist/esm/models/ProjectRequest.js +51 -0
- package/dist/esm/models/ResourceCommandRequest.d.ts +38 -0
- package/dist/esm/models/ResourceCommandRequest.js +43 -0
- package/dist/esm/models/ResourceDTO.d.ts +152 -0
- package/dist/esm/models/ResourceDTO.js +81 -0
- package/dist/esm/models/ResourceGroupDTO.d.ts +44 -0
- package/dist/esm/models/ResourceGroupDTO.js +45 -0
- package/dist/esm/models/ResourceRequest.d.ts +116 -0
- package/dist/esm/models/ResourceRequest.js +69 -0
- package/dist/esm/models/ResourceReservationDTO.d.ts +56 -0
- package/dist/esm/models/ResourceReservationDTO.js +49 -0
- package/dist/esm/models/ResourceStatusDTO.d.ts +47 -0
- package/dist/esm/models/ResourceStatusDTO.js +48 -0
- package/dist/esm/models/ResourceValueDTO.d.ts +38 -0
- package/dist/esm/models/ResourceValueDTO.js +43 -0
- package/dist/esm/models/ResourceValueRequest.d.ts +38 -0
- package/dist/esm/models/ResourceValueRequest.js +43 -0
- package/dist/esm/models/ScanResult.d.ts +73 -0
- package/dist/esm/models/ScanResult.js +61 -0
- package/dist/esm/models/SkillCategoryDTO.d.ts +56 -0
- package/dist/esm/models/SkillCategoryDTO.js +49 -0
- package/dist/esm/models/SkillCategoryRequest.d.ts +44 -0
- package/dist/esm/models/SkillCategoryRequest.js +45 -0
- package/dist/esm/models/SkillRecordDTO.d.ts +50 -0
- package/dist/esm/models/SkillRecordDTO.js +47 -0
- package/dist/esm/models/SkillRecordRequest.d.ts +38 -0
- package/dist/esm/models/SkillRecordRequest.js +43 -0
- package/dist/esm/models/SkillRequest.d.ts +50 -0
- package/dist/esm/models/SkillRequest.js +47 -0
- package/dist/esm/models/SkillSummaryDTO.d.ts +62 -0
- package/dist/esm/models/SkillSummaryDTO.js +51 -0
- package/dist/esm/models/StartProcessInstanceRequest.d.ts +40 -0
- package/dist/esm/models/StartProcessInstanceRequest.js +43 -0
- package/dist/esm/models/TaskDTO.d.ts +95 -0
- package/dist/esm/models/TaskDTO.js +71 -0
- package/dist/esm/models/TaskRequest.d.ts +44 -0
- package/dist/esm/models/TaskRequest.js +45 -0
- package/dist/esm/models/TaskScheduleDTO.d.ts +92 -0
- package/dist/esm/models/TaskScheduleDTO.js +61 -0
- package/dist/esm/models/TaskScheduleRequest.d.ts +68 -0
- package/dist/esm/models/TaskScheduleRequest.js +53 -0
- package/dist/esm/models/TaskStatusRequest.d.ts +47 -0
- package/dist/esm/models/TaskStatusRequest.js +55 -0
- package/dist/esm/models/TelemetryRuleDTO.d.ts +118 -0
- package/dist/esm/models/TelemetryRuleDTO.js +84 -0
- package/dist/esm/models/TelemetryRuleRequest.d.ts +86 -0
- package/dist/esm/models/TelemetryRuleRequest.js +69 -0
- package/dist/esm/models/TrackingSummary.d.ts +56 -0
- package/dist/esm/models/TrackingSummary.js +49 -0
- package/dist/esm/models/UserDTO.d.ts +115 -0
- package/dist/esm/models/UserDTO.js +75 -0
- package/dist/esm/models/UserRequest.d.ts +97 -0
- package/dist/esm/models/UserRequest.js +69 -0
- package/dist/esm/models/WorkSession.d.ts +50 -0
- package/dist/esm/models/WorkSession.js +47 -0
- package/dist/esm/models/index.d.ts +53 -0
- package/dist/esm/models/index.js +55 -0
- package/dist/esm/runtime.d.ts +182 -0
- package/dist/esm/runtime.js +330 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AddressDTO.d.ts +86 -0
- package/dist/models/AddressDTO.js +66 -0
- package/dist/models/AddressRequest.d.ts +80 -0
- package/dist/models/AddressRequest.js +64 -0
- package/dist/models/CancelProcessInstanceRequest.d.ts +32 -0
- package/dist/models/CancelProcessInstanceRequest.js +48 -0
- package/dist/models/CompanyDTO.d.ts +69 -0
- package/dist/models/CompanyDTO.js +61 -0
- package/dist/models/CompanyRequest.d.ts +63 -0
- package/dist/models/CompanyRequest.js +59 -0
- package/dist/models/DepartmentDTO.d.ts +57 -0
- package/dist/models/DepartmentDTO.js +57 -0
- package/dist/models/DepartmentRequest.d.ts +45 -0
- package/dist/models/DepartmentRequest.js +53 -0
- package/dist/models/DocumentCheckInRequest.d.ts +32 -0
- package/dist/models/DocumentCheckInRequest.js +50 -0
- package/dist/models/DocumentGroupDTO.d.ts +44 -0
- package/dist/models/DocumentGroupDTO.js +52 -0
- package/dist/models/DocumentGroupRequest.d.ts +38 -0
- package/dist/models/DocumentGroupRequest.js +50 -0
- package/dist/models/DocumentHistoryDTO.d.ts +56 -0
- package/dist/models/DocumentHistoryDTO.js +56 -0
- package/dist/models/DocumentSummaryDTO.d.ts +56 -0
- package/dist/models/DocumentSummaryDTO.js +56 -0
- package/dist/models/GoalProgress.d.ts +44 -0
- package/dist/models/GoalProgress.js +52 -0
- package/dist/models/GoalRequest.d.ts +45 -0
- package/dist/models/GoalRequest.js +53 -0
- package/dist/models/GoalRequestPropertiesInner.d.ts +23 -0
- package/dist/models/GoalRequestPropertiesInner.js +51 -0
- package/dist/models/NfcUnitDTO.d.ts +97 -0
- package/dist/models/NfcUnitDTO.js +77 -0
- package/dist/models/NfcUnitRequest.d.ts +67 -0
- package/dist/models/NfcUnitRequest.js +67 -0
- package/dist/models/ProcessDefinitionDTO.d.ts +89 -0
- package/dist/models/ProcessDefinitionDTO.js +73 -0
- package/dist/models/ProcessInstanceDTO.d.ts +80 -0
- package/dist/models/ProcessInstanceDTO.js +64 -0
- package/dist/models/ProjectDTO.d.ts +86 -0
- package/dist/models/ProjectDTO.js +66 -0
- package/dist/models/ProjectGoalDTO.d.ts +44 -0
- package/dist/models/ProjectGoalDTO.js +52 -0
- package/dist/models/ProjectGoalProperty.d.ts +50 -0
- package/dist/models/ProjectGoalProperty.js +76 -0
- package/dist/models/ProjectGoalPropertyDocument.d.ts +33 -0
- package/dist/models/ProjectGoalPropertyDocument.js +45 -0
- package/dist/models/ProjectGoalPropertyNumeric.d.ts +39 -0
- package/dist/models/ProjectGoalPropertyNumeric.js +45 -0
- package/dist/models/ProjectProgress.d.ts +39 -0
- package/dist/models/ProjectProgress.js +51 -0
- package/dist/models/ProjectRequest.d.ts +62 -0
- package/dist/models/ProjectRequest.js +58 -0
- package/dist/models/ResourceCommandRequest.d.ts +38 -0
- package/dist/models/ResourceCommandRequest.js +50 -0
- package/dist/models/ResourceDTO.d.ts +152 -0
- package/dist/models/ResourceDTO.js +88 -0
- package/dist/models/ResourceGroupDTO.d.ts +44 -0
- package/dist/models/ResourceGroupDTO.js +52 -0
- package/dist/models/ResourceRequest.d.ts +116 -0
- package/dist/models/ResourceRequest.js +76 -0
- package/dist/models/ResourceReservationDTO.d.ts +56 -0
- package/dist/models/ResourceReservationDTO.js +56 -0
- package/dist/models/ResourceStatusDTO.d.ts +47 -0
- package/dist/models/ResourceStatusDTO.js +55 -0
- package/dist/models/ResourceValueDTO.d.ts +38 -0
- package/dist/models/ResourceValueDTO.js +50 -0
- package/dist/models/ResourceValueRequest.d.ts +38 -0
- package/dist/models/ResourceValueRequest.js +50 -0
- package/dist/models/ScanResult.d.ts +73 -0
- package/dist/models/ScanResult.js +69 -0
- package/dist/models/SkillCategoryDTO.d.ts +56 -0
- package/dist/models/SkillCategoryDTO.js +56 -0
- package/dist/models/SkillCategoryRequest.d.ts +44 -0
- package/dist/models/SkillCategoryRequest.js +52 -0
- package/dist/models/SkillRecordDTO.d.ts +50 -0
- package/dist/models/SkillRecordDTO.js +54 -0
- package/dist/models/SkillRecordRequest.d.ts +38 -0
- package/dist/models/SkillRecordRequest.js +50 -0
- package/dist/models/SkillRequest.d.ts +50 -0
- package/dist/models/SkillRequest.js +54 -0
- package/dist/models/SkillSummaryDTO.d.ts +62 -0
- package/dist/models/SkillSummaryDTO.js +58 -0
- package/dist/models/StartProcessInstanceRequest.d.ts +40 -0
- package/dist/models/StartProcessInstanceRequest.js +50 -0
- package/dist/models/TaskDTO.d.ts +95 -0
- package/dist/models/TaskDTO.js +79 -0
- package/dist/models/TaskRequest.d.ts +44 -0
- package/dist/models/TaskRequest.js +52 -0
- package/dist/models/TaskScheduleDTO.d.ts +92 -0
- package/dist/models/TaskScheduleDTO.js +68 -0
- package/dist/models/TaskScheduleRequest.d.ts +68 -0
- package/dist/models/TaskScheduleRequest.js +60 -0
- package/dist/models/TaskStatusRequest.d.ts +47 -0
- package/dist/models/TaskStatusRequest.js +63 -0
- package/dist/models/TelemetryRuleDTO.d.ts +118 -0
- package/dist/models/TelemetryRuleDTO.js +92 -0
- package/dist/models/TelemetryRuleRequest.d.ts +86 -0
- package/dist/models/TelemetryRuleRequest.js +77 -0
- package/dist/models/TrackingSummary.d.ts +56 -0
- package/dist/models/TrackingSummary.js +56 -0
- package/dist/models/UserDTO.d.ts +115 -0
- package/dist/models/UserDTO.js +83 -0
- package/dist/models/UserRequest.d.ts +97 -0
- package/dist/models/UserRequest.js +77 -0
- package/dist/models/WorkSession.d.ts +50 -0
- package/dist/models/WorkSession.js +54 -0
- package/dist/models/index.d.ts +53 -0
- package/dist/models/index.js +71 -0
- package/dist/runtime.d.ts +182 -0
- package/dist/runtime.js +346 -0
- package/package.json +38 -0
- package/src/apis/CompaniesApi.ts +424 -0
- package/src/apis/DepartmentsApi.ts +380 -0
- package/src/apis/DocumentGroupsApi.ts +287 -0
- package/src/apis/DocumentsApi.ts +798 -0
- package/src/apis/NFCApi.ts +443 -0
- package/src/apis/ProcessDefinitionsApi.ts +410 -0
- package/src/apis/ProcessInstancesApi.ts +451 -0
- package/src/apis/ProjectGoalsApi.ts +473 -0
- package/src/apis/ProjectsApi.ts +929 -0
- package/src/apis/ResourcesApi.ts +1481 -0
- package/src/apis/SkillsApi.ts +682 -0
- package/src/apis/TaskSchedulesApi.ts +380 -0
- package/src/apis/TasksApi.ts +986 -0
- package/src/apis/TelemetryRulesApi.ts +380 -0
- package/src/apis/UsersApi.ts +648 -0
- package/src/apis/index.ts +17 -0
- package/src/index.ts +5 -0
- package/src/models/AddressDTO.ts +137 -0
- package/src/models/AddressRequest.ts +129 -0
- package/src/models/CancelProcessInstanceRequest.ts +65 -0
- package/src/models/CompanyDTO.ts +121 -0
- package/src/models/CompanyRequest.ts +113 -0
- package/src/models/DepartmentDTO.ts +105 -0
- package/src/models/DepartmentRequest.ts +89 -0
- package/src/models/DocumentCheckInRequest.ts +66 -0
- package/src/models/DocumentGroupDTO.ts +81 -0
- package/src/models/DocumentGroupRequest.ts +73 -0
- package/src/models/DocumentHistoryDTO.ts +97 -0
- package/src/models/DocumentSummaryDTO.ts +97 -0
- package/src/models/GoalProgress.ts +81 -0
- package/src/models/GoalRequest.ts +89 -0
- package/src/models/GoalRequestPropertiesInner.ts +73 -0
- package/src/models/NfcUnitDTO.ts +151 -0
- package/src/models/NfcUnitRequest.ts +111 -0
- package/src/models/ProcessDefinitionDTO.ts +141 -0
- package/src/models/ProcessInstanceDTO.ts +129 -0
- package/src/models/ProjectDTO.ts +137 -0
- package/src/models/ProjectGoalDTO.ts +81 -0
- package/src/models/ProjectGoalProperty.ts +111 -0
- package/src/models/ProjectGoalPropertyDocument.ts +73 -0
- package/src/models/ProjectGoalPropertyNumeric.ts +81 -0
- package/src/models/ProjectProgress.ts +81 -0
- package/src/models/ProjectRequest.ts +105 -0
- package/src/models/ResourceCommandRequest.ts +73 -0
- package/src/models/ResourceDTO.ts +225 -0
- package/src/models/ResourceGroupDTO.ts +81 -0
- package/src/models/ResourceRequest.ts +177 -0
- package/src/models/ResourceReservationDTO.ts +97 -0
- package/src/models/ResourceStatusDTO.ts +103 -0
- package/src/models/ResourceValueDTO.ts +73 -0
- package/src/models/ResourceValueRequest.ts +73 -0
- package/src/models/ScanResult.ts +119 -0
- package/src/models/SkillCategoryDTO.ts +97 -0
- package/src/models/SkillCategoryRequest.ts +81 -0
- package/src/models/SkillRecordDTO.ts +89 -0
- package/src/models/SkillRecordRequest.ts +73 -0
- package/src/models/SkillRequest.ts +89 -0
- package/src/models/SkillSummaryDTO.ts +105 -0
- package/src/models/StartProcessInstanceRequest.ts +73 -0
- package/src/models/TaskDTO.ts +147 -0
- package/src/models/TaskRequest.ts +81 -0
- package/src/models/TaskScheduleDTO.ts +145 -0
- package/src/models/TaskScheduleRequest.ts +113 -0
- package/src/models/TaskStatusRequest.ts +83 -0
- package/src/models/TelemetryRuleDTO.ts +176 -0
- package/src/models/TelemetryRuleRequest.ts +135 -0
- package/src/models/TrackingSummary.ts +97 -0
- package/src/models/UserDTO.ts +182 -0
- package/src/models/UserRequest.ts +158 -0
- package/src/models/WorkSession.ts +89 -0
- package/src/models/index.ts +55 -0
- package/src/runtime.ts +431 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Prioritize API
|
|
5
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.0
|
|
8
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { GoalRequestToJSON, ProjectGoalDTOFromJSON, ProjectProgressFromJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class ProjectGoalsApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Create goal
|
|
31
|
+
*/
|
|
32
|
+
projectGoalCreateGoalRaw(requestParameters, initOverrides) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['projectId'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling projectGoalCreateGoal().');
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters['goalRequest'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('goalRequest', 'Required parameter "goalRequest" was null or undefined when calling projectGoalCreateGoal().');
|
|
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/projects/{projectId}/goals`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId']))),
|
|
55
|
+
method: 'POST',
|
|
56
|
+
headers: headerParameters,
|
|
57
|
+
query: queryParameters,
|
|
58
|
+
body: GoalRequestToJSON(requestParameters['goalRequest']),
|
|
59
|
+
}, initOverrides);
|
|
60
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectGoalDTOFromJSON(jsonValue));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Create goal
|
|
65
|
+
*/
|
|
66
|
+
projectGoalCreateGoal(requestParameters, initOverrides) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
const response = yield this.projectGoalCreateGoalRaw(requestParameters, initOverrides);
|
|
69
|
+
return yield response.value();
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Delete goal
|
|
74
|
+
*/
|
|
75
|
+
projectGoalDeleteGoalRaw(requestParameters, initOverrides) {
|
|
76
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
if (requestParameters['projectId'] == null) {
|
|
78
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling projectGoalDeleteGoal().');
|
|
79
|
+
}
|
|
80
|
+
if (requestParameters['goalId'] == null) {
|
|
81
|
+
throw new runtime.RequiredError('goalId', 'Required parameter "goalId" was null or undefined when calling projectGoalDeleteGoal().');
|
|
82
|
+
}
|
|
83
|
+
const queryParameters = {};
|
|
84
|
+
const headerParameters = {};
|
|
85
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
86
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
87
|
+
}
|
|
88
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
89
|
+
const token = this.configuration.accessToken;
|
|
90
|
+
const tokenString = yield token("bearerAuth", []);
|
|
91
|
+
if (tokenString) {
|
|
92
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
const response = yield this.request({
|
|
96
|
+
path: `/api/v1/projects/{projectId}/goals/{goalId}`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId']))).replace(`{${"goalId"}}`, encodeURIComponent(String(requestParameters['goalId']))),
|
|
97
|
+
method: 'DELETE',
|
|
98
|
+
headers: headerParameters,
|
|
99
|
+
query: queryParameters,
|
|
100
|
+
}, initOverrides);
|
|
101
|
+
return new runtime.VoidApiResponse(response);
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Delete goal
|
|
106
|
+
*/
|
|
107
|
+
projectGoalDeleteGoal(requestParameters, initOverrides) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
yield this.projectGoalDeleteGoalRaw(requestParameters, initOverrides);
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Get goal
|
|
114
|
+
*/
|
|
115
|
+
projectGoalGetGoalRaw(requestParameters, initOverrides) {
|
|
116
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
117
|
+
if (requestParameters['projectId'] == null) {
|
|
118
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling projectGoalGetGoal().');
|
|
119
|
+
}
|
|
120
|
+
if (requestParameters['goalId'] == null) {
|
|
121
|
+
throw new runtime.RequiredError('goalId', 'Required parameter "goalId" was null or undefined when calling projectGoalGetGoal().');
|
|
122
|
+
}
|
|
123
|
+
const queryParameters = {};
|
|
124
|
+
const headerParameters = {};
|
|
125
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
126
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
127
|
+
}
|
|
128
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
129
|
+
const token = this.configuration.accessToken;
|
|
130
|
+
const tokenString = yield token("bearerAuth", []);
|
|
131
|
+
if (tokenString) {
|
|
132
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
const response = yield this.request({
|
|
136
|
+
path: `/api/v1/projects/{projectId}/goals/{goalId}`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId']))).replace(`{${"goalId"}}`, encodeURIComponent(String(requestParameters['goalId']))),
|
|
137
|
+
method: 'GET',
|
|
138
|
+
headers: headerParameters,
|
|
139
|
+
query: queryParameters,
|
|
140
|
+
}, initOverrides);
|
|
141
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectGoalDTOFromJSON(jsonValue));
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* Get goal
|
|
146
|
+
*/
|
|
147
|
+
projectGoalGetGoal(requestParameters, initOverrides) {
|
|
148
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
149
|
+
const response = yield this.projectGoalGetGoalRaw(requestParameters, initOverrides);
|
|
150
|
+
return yield response.value();
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Get goals
|
|
155
|
+
*/
|
|
156
|
+
projectGoalGetGoalsRaw(requestParameters, initOverrides) {
|
|
157
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
158
|
+
if (requestParameters['projectId'] == null) {
|
|
159
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling projectGoalGetGoals().');
|
|
160
|
+
}
|
|
161
|
+
const queryParameters = {};
|
|
162
|
+
const headerParameters = {};
|
|
163
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
164
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
165
|
+
}
|
|
166
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
167
|
+
const token = this.configuration.accessToken;
|
|
168
|
+
const tokenString = yield token("bearerAuth", []);
|
|
169
|
+
if (tokenString) {
|
|
170
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
const response = yield this.request({
|
|
174
|
+
path: `/api/v1/projects/{projectId}/goals`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId']))),
|
|
175
|
+
method: 'GET',
|
|
176
|
+
headers: headerParameters,
|
|
177
|
+
query: queryParameters,
|
|
178
|
+
}, initOverrides);
|
|
179
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ProjectGoalDTOFromJSON));
|
|
180
|
+
});
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* Get goals
|
|
184
|
+
*/
|
|
185
|
+
projectGoalGetGoals(requestParameters, initOverrides) {
|
|
186
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
187
|
+
const response = yield this.projectGoalGetGoalsRaw(requestParameters, initOverrides);
|
|
188
|
+
return yield response.value();
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Returns the project\'s progress derived from its goals and their tasks
|
|
193
|
+
*/
|
|
194
|
+
projectGoalGetProgressRaw(requestParameters, initOverrides) {
|
|
195
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
196
|
+
if (requestParameters['projectId'] == null) {
|
|
197
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling projectGoalGetProgress().');
|
|
198
|
+
}
|
|
199
|
+
const queryParameters = {};
|
|
200
|
+
const headerParameters = {};
|
|
201
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
202
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
203
|
+
}
|
|
204
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
205
|
+
const token = this.configuration.accessToken;
|
|
206
|
+
const tokenString = yield token("bearerAuth", []);
|
|
207
|
+
if (tokenString) {
|
|
208
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
const response = yield this.request({
|
|
212
|
+
path: `/api/v1/projects/{projectId}/progress`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId']))),
|
|
213
|
+
method: 'GET',
|
|
214
|
+
headers: headerParameters,
|
|
215
|
+
query: queryParameters,
|
|
216
|
+
}, initOverrides);
|
|
217
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectProgressFromJSON(jsonValue));
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* Returns the project\'s progress derived from its goals and their tasks
|
|
222
|
+
*/
|
|
223
|
+
projectGoalGetProgress(requestParameters, initOverrides) {
|
|
224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
225
|
+
const response = yield this.projectGoalGetProgressRaw(requestParameters, initOverrides);
|
|
226
|
+
return yield response.value();
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Update goal
|
|
231
|
+
*/
|
|
232
|
+
projectGoalUpdateGoalRaw(requestParameters, initOverrides) {
|
|
233
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
234
|
+
if (requestParameters['projectId'] == null) {
|
|
235
|
+
throw new runtime.RequiredError('projectId', 'Required parameter "projectId" was null or undefined when calling projectGoalUpdateGoal().');
|
|
236
|
+
}
|
|
237
|
+
if (requestParameters['goalId'] == null) {
|
|
238
|
+
throw new runtime.RequiredError('goalId', 'Required parameter "goalId" was null or undefined when calling projectGoalUpdateGoal().');
|
|
239
|
+
}
|
|
240
|
+
if (requestParameters['goalRequest'] == null) {
|
|
241
|
+
throw new runtime.RequiredError('goalRequest', 'Required parameter "goalRequest" was null or undefined when calling projectGoalUpdateGoal().');
|
|
242
|
+
}
|
|
243
|
+
const queryParameters = {};
|
|
244
|
+
const headerParameters = {};
|
|
245
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
246
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
247
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
248
|
+
}
|
|
249
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
250
|
+
const token = this.configuration.accessToken;
|
|
251
|
+
const tokenString = yield token("bearerAuth", []);
|
|
252
|
+
if (tokenString) {
|
|
253
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
const response = yield this.request({
|
|
257
|
+
path: `/api/v1/projects/{projectId}/goals/{goalId}`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters['projectId']))).replace(`{${"goalId"}}`, encodeURIComponent(String(requestParameters['goalId']))),
|
|
258
|
+
method: 'PATCH',
|
|
259
|
+
headers: headerParameters,
|
|
260
|
+
query: queryParameters,
|
|
261
|
+
body: GoalRequestToJSON(requestParameters['goalRequest']),
|
|
262
|
+
}, initOverrides);
|
|
263
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ProjectGoalDTOFromJSON(jsonValue));
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Update goal
|
|
268
|
+
*/
|
|
269
|
+
projectGoalUpdateGoal(requestParameters, initOverrides) {
|
|
270
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
271
|
+
const response = yield this.projectGoalUpdateGoalRaw(requestParameters, initOverrides);
|
|
272
|
+
return yield response.value();
|
|
273
|
+
});
|
|
274
|
+
}
|
|
275
|
+
}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prioritize API
|
|
3
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.3.0
|
|
6
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { ProjectDTO, ProjectRequest, TaskDTO } from '../models/index';
|
|
14
|
+
export interface ProjectAddDocumentRequest {
|
|
15
|
+
id: number;
|
|
16
|
+
documentInfoId: number;
|
|
17
|
+
}
|
|
18
|
+
export interface ProjectAddMemberRequest {
|
|
19
|
+
id: number;
|
|
20
|
+
userId: number;
|
|
21
|
+
}
|
|
22
|
+
export interface ProjectAddResourceRequest {
|
|
23
|
+
id: number;
|
|
24
|
+
resourceId: number;
|
|
25
|
+
}
|
|
26
|
+
export interface ProjectCreateProjectRequest {
|
|
27
|
+
projectRequest: ProjectRequest;
|
|
28
|
+
}
|
|
29
|
+
export interface ProjectDeleteProjectRequest {
|
|
30
|
+
id: number;
|
|
31
|
+
}
|
|
32
|
+
export interface ProjectGetProjectRequest {
|
|
33
|
+
id: number;
|
|
34
|
+
}
|
|
35
|
+
export interface ProjectGetTasksRequest {
|
|
36
|
+
id: number;
|
|
37
|
+
}
|
|
38
|
+
export interface ProjectRemoveDocumentRequest {
|
|
39
|
+
id: number;
|
|
40
|
+
documentInfoId: number;
|
|
41
|
+
}
|
|
42
|
+
export interface ProjectRemoveMemberRequest {
|
|
43
|
+
id: number;
|
|
44
|
+
userId: number;
|
|
45
|
+
}
|
|
46
|
+
export interface ProjectRemoveResourceRequest {
|
|
47
|
+
id: number;
|
|
48
|
+
resourceId: number;
|
|
49
|
+
}
|
|
50
|
+
export interface ProjectTransferManagerRequest {
|
|
51
|
+
id: number;
|
|
52
|
+
userId: number;
|
|
53
|
+
}
|
|
54
|
+
export interface ProjectUpdateProjectRequest {
|
|
55
|
+
id: number;
|
|
56
|
+
projectRequest: ProjectRequest;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* ProjectsApi - interface
|
|
60
|
+
*
|
|
61
|
+
* @export
|
|
62
|
+
* @interface ProjectsApiInterface
|
|
63
|
+
*/
|
|
64
|
+
export interface ProjectsApiInterface {
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @summary Add document
|
|
68
|
+
* @param {number} id
|
|
69
|
+
* @param {number} documentInfoId
|
|
70
|
+
* @param {*} [options] Override http request option.
|
|
71
|
+
* @throws {RequiredError}
|
|
72
|
+
* @memberof ProjectsApiInterface
|
|
73
|
+
*/
|
|
74
|
+
projectAddDocumentRaw(requestParameters: ProjectAddDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
75
|
+
/**
|
|
76
|
+
* Add document
|
|
77
|
+
*/
|
|
78
|
+
projectAddDocument(requestParameters: ProjectAddDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @summary Add member
|
|
82
|
+
* @param {number} id
|
|
83
|
+
* @param {number} userId
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
* @memberof ProjectsApiInterface
|
|
87
|
+
*/
|
|
88
|
+
projectAddMemberRaw(requestParameters: ProjectAddMemberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
89
|
+
/**
|
|
90
|
+
* Add member
|
|
91
|
+
*/
|
|
92
|
+
projectAddMember(requestParameters: ProjectAddMemberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @summary Add resource
|
|
96
|
+
* @param {number} id
|
|
97
|
+
* @param {number} resourceId
|
|
98
|
+
* @param {*} [options] Override http request option.
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
* @memberof ProjectsApiInterface
|
|
101
|
+
*/
|
|
102
|
+
projectAddResourceRaw(requestParameters: ProjectAddResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
103
|
+
/**
|
|
104
|
+
* Add resource
|
|
105
|
+
*/
|
|
106
|
+
projectAddResource(requestParameters: ProjectAddResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @summary Creates a new project (the caller becomes manager and first member)
|
|
110
|
+
* @param {ProjectRequest} projectRequest
|
|
111
|
+
* @param {*} [options] Override http request option.
|
|
112
|
+
* @throws {RequiredError}
|
|
113
|
+
* @memberof ProjectsApiInterface
|
|
114
|
+
*/
|
|
115
|
+
projectCreateProjectRaw(requestParameters: ProjectCreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
116
|
+
/**
|
|
117
|
+
* Creates a new project (the caller becomes manager and first member)
|
|
118
|
+
*/
|
|
119
|
+
projectCreateProject(requestParameters: ProjectCreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @summary Delete project
|
|
123
|
+
* @param {number} id
|
|
124
|
+
* @param {*} [options] Override http request option.
|
|
125
|
+
* @throws {RequiredError}
|
|
126
|
+
* @memberof ProjectsApiInterface
|
|
127
|
+
*/
|
|
128
|
+
projectDeleteProjectRaw(requestParameters: ProjectDeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
129
|
+
/**
|
|
130
|
+
* Delete project
|
|
131
|
+
*/
|
|
132
|
+
projectDeleteProject(requestParameters: ProjectDeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @summary Returns the projects the caller manages or participates in
|
|
136
|
+
* @param {*} [options] Override http request option.
|
|
137
|
+
* @throws {RequiredError}
|
|
138
|
+
* @memberof ProjectsApiInterface
|
|
139
|
+
*/
|
|
140
|
+
projectGetMyProjectsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectDTO>>>;
|
|
141
|
+
/**
|
|
142
|
+
* Returns the projects the caller manages or participates in
|
|
143
|
+
*/
|
|
144
|
+
projectGetMyProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectDTO>>;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @summary Get project
|
|
148
|
+
* @param {number} id
|
|
149
|
+
* @param {*} [options] Override http request option.
|
|
150
|
+
* @throws {RequiredError}
|
|
151
|
+
* @memberof ProjectsApiInterface
|
|
152
|
+
*/
|
|
153
|
+
projectGetProjectRaw(requestParameters: ProjectGetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
154
|
+
/**
|
|
155
|
+
* Get project
|
|
156
|
+
*/
|
|
157
|
+
projectGetProject(requestParameters: ProjectGetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @summary Returns all tasks of a project (caller must be manager or member)
|
|
161
|
+
* @param {number} id
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
* @memberof ProjectsApiInterface
|
|
165
|
+
*/
|
|
166
|
+
projectGetTasksRaw(requestParameters: ProjectGetTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaskDTO>>>;
|
|
167
|
+
/**
|
|
168
|
+
* Returns all tasks of a project (caller must be manager or member)
|
|
169
|
+
*/
|
|
170
|
+
projectGetTasks(requestParameters: ProjectGetTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaskDTO>>;
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @summary Remove document
|
|
174
|
+
* @param {number} id
|
|
175
|
+
* @param {number} documentInfoId
|
|
176
|
+
* @param {*} [options] Override http request option.
|
|
177
|
+
* @throws {RequiredError}
|
|
178
|
+
* @memberof ProjectsApiInterface
|
|
179
|
+
*/
|
|
180
|
+
projectRemoveDocumentRaw(requestParameters: ProjectRemoveDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
181
|
+
/**
|
|
182
|
+
* Remove document
|
|
183
|
+
*/
|
|
184
|
+
projectRemoveDocument(requestParameters: ProjectRemoveDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
185
|
+
/**
|
|
186
|
+
*
|
|
187
|
+
* @summary Remove member
|
|
188
|
+
* @param {number} id
|
|
189
|
+
* @param {number} userId
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
* @memberof ProjectsApiInterface
|
|
193
|
+
*/
|
|
194
|
+
projectRemoveMemberRaw(requestParameters: ProjectRemoveMemberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
195
|
+
/**
|
|
196
|
+
* Remove member
|
|
197
|
+
*/
|
|
198
|
+
projectRemoveMember(requestParameters: ProjectRemoveMemberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
199
|
+
/**
|
|
200
|
+
*
|
|
201
|
+
* @summary Remove resource
|
|
202
|
+
* @param {number} id
|
|
203
|
+
* @param {number} resourceId
|
|
204
|
+
* @param {*} [options] Override http request option.
|
|
205
|
+
* @throws {RequiredError}
|
|
206
|
+
* @memberof ProjectsApiInterface
|
|
207
|
+
*/
|
|
208
|
+
projectRemoveResourceRaw(requestParameters: ProjectRemoveResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
209
|
+
/**
|
|
210
|
+
* Remove resource
|
|
211
|
+
*/
|
|
212
|
+
projectRemoveResource(requestParameters: ProjectRemoveResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @summary Hands the project over to another of its members
|
|
216
|
+
* @param {number} id
|
|
217
|
+
* @param {number} userId
|
|
218
|
+
* @param {*} [options] Override http request option.
|
|
219
|
+
* @throws {RequiredError}
|
|
220
|
+
* @memberof ProjectsApiInterface
|
|
221
|
+
*/
|
|
222
|
+
projectTransferManagerRaw(requestParameters: ProjectTransferManagerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
223
|
+
/**
|
|
224
|
+
* Hands the project over to another of its members
|
|
225
|
+
*/
|
|
226
|
+
projectTransferManager(requestParameters: ProjectTransferManagerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @summary Update project
|
|
230
|
+
* @param {number} id
|
|
231
|
+
* @param {ProjectRequest} projectRequest
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
* @memberof ProjectsApiInterface
|
|
235
|
+
*/
|
|
236
|
+
projectUpdateProjectRaw(requestParameters: ProjectUpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
237
|
+
/**
|
|
238
|
+
* Update project
|
|
239
|
+
*/
|
|
240
|
+
projectUpdateProject(requestParameters: ProjectUpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
*/
|
|
245
|
+
export declare class ProjectsApi extends runtime.BaseAPI implements ProjectsApiInterface {
|
|
246
|
+
/**
|
|
247
|
+
* Add document
|
|
248
|
+
*/
|
|
249
|
+
projectAddDocumentRaw(requestParameters: ProjectAddDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
250
|
+
/**
|
|
251
|
+
* Add document
|
|
252
|
+
*/
|
|
253
|
+
projectAddDocument(requestParameters: ProjectAddDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
254
|
+
/**
|
|
255
|
+
* Add member
|
|
256
|
+
*/
|
|
257
|
+
projectAddMemberRaw(requestParameters: ProjectAddMemberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
258
|
+
/**
|
|
259
|
+
* Add member
|
|
260
|
+
*/
|
|
261
|
+
projectAddMember(requestParameters: ProjectAddMemberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
262
|
+
/**
|
|
263
|
+
* Add resource
|
|
264
|
+
*/
|
|
265
|
+
projectAddResourceRaw(requestParameters: ProjectAddResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
266
|
+
/**
|
|
267
|
+
* Add resource
|
|
268
|
+
*/
|
|
269
|
+
projectAddResource(requestParameters: ProjectAddResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
270
|
+
/**
|
|
271
|
+
* Creates a new project (the caller becomes manager and first member)
|
|
272
|
+
*/
|
|
273
|
+
projectCreateProjectRaw(requestParameters: ProjectCreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
274
|
+
/**
|
|
275
|
+
* Creates a new project (the caller becomes manager and first member)
|
|
276
|
+
*/
|
|
277
|
+
projectCreateProject(requestParameters: ProjectCreateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
278
|
+
/**
|
|
279
|
+
* Delete project
|
|
280
|
+
*/
|
|
281
|
+
projectDeleteProjectRaw(requestParameters: ProjectDeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
282
|
+
/**
|
|
283
|
+
* Delete project
|
|
284
|
+
*/
|
|
285
|
+
projectDeleteProject(requestParameters: ProjectDeleteProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
286
|
+
/**
|
|
287
|
+
* Returns the projects the caller manages or participates in
|
|
288
|
+
*/
|
|
289
|
+
projectGetMyProjectsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ProjectDTO>>>;
|
|
290
|
+
/**
|
|
291
|
+
* Returns the projects the caller manages or participates in
|
|
292
|
+
*/
|
|
293
|
+
projectGetMyProjects(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ProjectDTO>>;
|
|
294
|
+
/**
|
|
295
|
+
* Get project
|
|
296
|
+
*/
|
|
297
|
+
projectGetProjectRaw(requestParameters: ProjectGetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
298
|
+
/**
|
|
299
|
+
* Get project
|
|
300
|
+
*/
|
|
301
|
+
projectGetProject(requestParameters: ProjectGetProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
302
|
+
/**
|
|
303
|
+
* Returns all tasks of a project (caller must be manager or member)
|
|
304
|
+
*/
|
|
305
|
+
projectGetTasksRaw(requestParameters: ProjectGetTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TaskDTO>>>;
|
|
306
|
+
/**
|
|
307
|
+
* Returns all tasks of a project (caller must be manager or member)
|
|
308
|
+
*/
|
|
309
|
+
projectGetTasks(requestParameters: ProjectGetTasksRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TaskDTO>>;
|
|
310
|
+
/**
|
|
311
|
+
* Remove document
|
|
312
|
+
*/
|
|
313
|
+
projectRemoveDocumentRaw(requestParameters: ProjectRemoveDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
314
|
+
/**
|
|
315
|
+
* Remove document
|
|
316
|
+
*/
|
|
317
|
+
projectRemoveDocument(requestParameters: ProjectRemoveDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
318
|
+
/**
|
|
319
|
+
* Remove member
|
|
320
|
+
*/
|
|
321
|
+
projectRemoveMemberRaw(requestParameters: ProjectRemoveMemberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
322
|
+
/**
|
|
323
|
+
* Remove member
|
|
324
|
+
*/
|
|
325
|
+
projectRemoveMember(requestParameters: ProjectRemoveMemberRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
326
|
+
/**
|
|
327
|
+
* Remove resource
|
|
328
|
+
*/
|
|
329
|
+
projectRemoveResourceRaw(requestParameters: ProjectRemoveResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
330
|
+
/**
|
|
331
|
+
* Remove resource
|
|
332
|
+
*/
|
|
333
|
+
projectRemoveResource(requestParameters: ProjectRemoveResourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
334
|
+
/**
|
|
335
|
+
* Hands the project over to another of its members
|
|
336
|
+
*/
|
|
337
|
+
projectTransferManagerRaw(requestParameters: ProjectTransferManagerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
338
|
+
/**
|
|
339
|
+
* Hands the project over to another of its members
|
|
340
|
+
*/
|
|
341
|
+
projectTransferManager(requestParameters: ProjectTransferManagerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
342
|
+
/**
|
|
343
|
+
* Update project
|
|
344
|
+
*/
|
|
345
|
+
projectUpdateProjectRaw(requestParameters: ProjectUpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProjectDTO>>;
|
|
346
|
+
/**
|
|
347
|
+
* Update project
|
|
348
|
+
*/
|
|
349
|
+
projectUpdateProject(requestParameters: ProjectUpdateProjectRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProjectDTO>;
|
|
350
|
+
}
|