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,389 @@
|
|
|
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 { SkillRecordDTOFromJSON, SkillRecordRequestToJSON, UserDTOFromJSON, UserRequestToJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class UsersApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Assign skill to user
|
|
31
|
+
*/
|
|
32
|
+
userAssignSkillToUserRaw(requestParameters, initOverrides) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['userId'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling userAssignSkillToUser().');
|
|
36
|
+
}
|
|
37
|
+
if (requestParameters['skillRecordRequest'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('skillRecordRequest', 'Required parameter "skillRecordRequest" was null or undefined when calling userAssignSkillToUser().');
|
|
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/users/{userId}/skills`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
55
|
+
method: 'POST',
|
|
56
|
+
headers: headerParameters,
|
|
57
|
+
query: queryParameters,
|
|
58
|
+
body: SkillRecordRequestToJSON(requestParameters['skillRecordRequest']),
|
|
59
|
+
}, initOverrides);
|
|
60
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => SkillRecordDTOFromJSON(jsonValue));
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Assign skill to user
|
|
65
|
+
*/
|
|
66
|
+
userAssignSkillToUser(requestParameters, initOverrides) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
const response = yield this.userAssignSkillToUserRaw(requestParameters, initOverrides);
|
|
69
|
+
return yield response.value();
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Creates a local user record. There is no password field by design (@JsonIgnore on the entity): in production Keycloak owns credentials, and a local record created via REST is passwordless (it exists to carry app relationships). A login-able local user for the Basic-auth/dev mode is created via the admin GUI, which has a password field. See the user-provisioning notes in the project docs.
|
|
74
|
+
* Create a user
|
|
75
|
+
*/
|
|
76
|
+
userCreateRaw(requestParameters, initOverrides) {
|
|
77
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
78
|
+
if (requestParameters['userRequest'] == null) {
|
|
79
|
+
throw new runtime.RequiredError('userRequest', 'Required parameter "userRequest" was null or undefined when calling userCreate().');
|
|
80
|
+
}
|
|
81
|
+
const queryParameters = {};
|
|
82
|
+
const headerParameters = {};
|
|
83
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
84
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
85
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
86
|
+
}
|
|
87
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
88
|
+
const token = this.configuration.accessToken;
|
|
89
|
+
const tokenString = yield token("bearerAuth", []);
|
|
90
|
+
if (tokenString) {
|
|
91
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
const response = yield this.request({
|
|
95
|
+
path: `/api/v1/users`,
|
|
96
|
+
method: 'POST',
|
|
97
|
+
headers: headerParameters,
|
|
98
|
+
query: queryParameters,
|
|
99
|
+
body: UserRequestToJSON(requestParameters['userRequest']),
|
|
100
|
+
}, initOverrides);
|
|
101
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UserDTOFromJSON(jsonValue));
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Creates a local user record. There is no password field by design (@JsonIgnore on the entity): in production Keycloak owns credentials, and a local record created via REST is passwordless (it exists to carry app relationships). A login-able local user for the Basic-auth/dev mode is created via the admin GUI, which has a password field. See the user-provisioning notes in the project docs.
|
|
106
|
+
* Create a user
|
|
107
|
+
*/
|
|
108
|
+
userCreate(requestParameters, initOverrides) {
|
|
109
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
110
|
+
const response = yield this.userCreateRaw(requestParameters, initOverrides);
|
|
111
|
+
return yield response.value();
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Deactivate user
|
|
116
|
+
*/
|
|
117
|
+
userDeactivateRaw(requestParameters, initOverrides) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
if (requestParameters['id'] == null) {
|
|
120
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling userDeactivate().');
|
|
121
|
+
}
|
|
122
|
+
const queryParameters = {};
|
|
123
|
+
const headerParameters = {};
|
|
124
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
125
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
126
|
+
}
|
|
127
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
128
|
+
const token = this.configuration.accessToken;
|
|
129
|
+
const tokenString = yield token("bearerAuth", []);
|
|
130
|
+
if (tokenString) {
|
|
131
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const response = yield this.request({
|
|
135
|
+
path: `/api/v1/users/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
136
|
+
method: 'DELETE',
|
|
137
|
+
headers: headerParameters,
|
|
138
|
+
query: queryParameters,
|
|
139
|
+
}, initOverrides);
|
|
140
|
+
return new runtime.VoidApiResponse(response);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Deactivate user
|
|
145
|
+
*/
|
|
146
|
+
userDeactivate(requestParameters, initOverrides) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
yield this.userDeactivateRaw(requestParameters, initOverrides);
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Get all users
|
|
153
|
+
*/
|
|
154
|
+
userGetAllUsersRaw(initOverrides) {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
const queryParameters = {};
|
|
157
|
+
const headerParameters = {};
|
|
158
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
159
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
160
|
+
}
|
|
161
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
162
|
+
const token = this.configuration.accessToken;
|
|
163
|
+
const tokenString = yield token("bearerAuth", []);
|
|
164
|
+
if (tokenString) {
|
|
165
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
const response = yield this.request({
|
|
169
|
+
path: `/api/v1/users`,
|
|
170
|
+
method: 'GET',
|
|
171
|
+
headers: headerParameters,
|
|
172
|
+
query: queryParameters,
|
|
173
|
+
}, initOverrides);
|
|
174
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(UserDTOFromJSON));
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Get all users
|
|
179
|
+
*/
|
|
180
|
+
userGetAllUsers(initOverrides) {
|
|
181
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
182
|
+
const response = yield this.userGetAllUsersRaw(initOverrides);
|
|
183
|
+
return yield response.value();
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* Get user by id
|
|
188
|
+
*/
|
|
189
|
+
userGetByIdRaw(requestParameters, initOverrides) {
|
|
190
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
191
|
+
if (requestParameters['id'] == null) {
|
|
192
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling userGetById().');
|
|
193
|
+
}
|
|
194
|
+
const queryParameters = {};
|
|
195
|
+
const headerParameters = {};
|
|
196
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
197
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
198
|
+
}
|
|
199
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
200
|
+
const token = this.configuration.accessToken;
|
|
201
|
+
const tokenString = yield token("bearerAuth", []);
|
|
202
|
+
if (tokenString) {
|
|
203
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
const response = yield this.request({
|
|
207
|
+
path: `/api/v1/users/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
208
|
+
method: 'GET',
|
|
209
|
+
headers: headerParameters,
|
|
210
|
+
query: queryParameters,
|
|
211
|
+
}, initOverrides);
|
|
212
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UserDTOFromJSON(jsonValue));
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
/**
|
|
216
|
+
* Get user by id
|
|
217
|
+
*/
|
|
218
|
+
userGetById(requestParameters, initOverrides) {
|
|
219
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
220
|
+
const response = yield this.userGetByIdRaw(requestParameters, initOverrides);
|
|
221
|
+
return yield response.value();
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* Search a user by username
|
|
226
|
+
*/
|
|
227
|
+
userGetByUsernameRaw(requestParameters, initOverrides) {
|
|
228
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
229
|
+
if (requestParameters['username'] == null) {
|
|
230
|
+
throw new runtime.RequiredError('username', 'Required parameter "username" was null or undefined when calling userGetByUsername().');
|
|
231
|
+
}
|
|
232
|
+
const queryParameters = {};
|
|
233
|
+
if (requestParameters['username'] != null) {
|
|
234
|
+
queryParameters['username'] = requestParameters['username'];
|
|
235
|
+
}
|
|
236
|
+
const headerParameters = {};
|
|
237
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
238
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
239
|
+
}
|
|
240
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
241
|
+
const token = this.configuration.accessToken;
|
|
242
|
+
const tokenString = yield token("bearerAuth", []);
|
|
243
|
+
if (tokenString) {
|
|
244
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
const response = yield this.request({
|
|
248
|
+
path: `/api/v1/users/by-username`,
|
|
249
|
+
method: 'GET',
|
|
250
|
+
headers: headerParameters,
|
|
251
|
+
query: queryParameters,
|
|
252
|
+
}, initOverrides);
|
|
253
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UserDTOFromJSON(jsonValue));
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* Search a user by username
|
|
258
|
+
*/
|
|
259
|
+
userGetByUsername(requestParameters, initOverrides) {
|
|
260
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
261
|
+
const response = yield this.userGetByUsernameRaw(requestParameters, initOverrides);
|
|
262
|
+
return yield response.value();
|
|
263
|
+
});
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* Get skills for user
|
|
267
|
+
*/
|
|
268
|
+
userGetSkillsForUserRaw(requestParameters, initOverrides) {
|
|
269
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
270
|
+
if (requestParameters['userId'] == null) {
|
|
271
|
+
throw new runtime.RequiredError('userId', 'Required parameter "userId" was null or undefined when calling userGetSkillsForUser().');
|
|
272
|
+
}
|
|
273
|
+
const queryParameters = {};
|
|
274
|
+
const headerParameters = {};
|
|
275
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
276
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
277
|
+
}
|
|
278
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
279
|
+
const token = this.configuration.accessToken;
|
|
280
|
+
const tokenString = yield token("bearerAuth", []);
|
|
281
|
+
if (tokenString) {
|
|
282
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
const response = yield this.request({
|
|
286
|
+
path: `/api/v1/users/{userId}/skills`.replace(`{${"userId"}}`, encodeURIComponent(String(requestParameters['userId']))),
|
|
287
|
+
method: 'GET',
|
|
288
|
+
headers: headerParameters,
|
|
289
|
+
query: queryParameters,
|
|
290
|
+
}, initOverrides);
|
|
291
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SkillRecordDTOFromJSON));
|
|
292
|
+
});
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* Get skills for user
|
|
296
|
+
*/
|
|
297
|
+
userGetSkillsForUser(requestParameters, initOverrides) {
|
|
298
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
299
|
+
const response = yield this.userGetSkillsForUserRaw(requestParameters, initOverrides);
|
|
300
|
+
return yield response.value();
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Partially update a user
|
|
305
|
+
*/
|
|
306
|
+
userPartialUpdateRaw(requestParameters, initOverrides) {
|
|
307
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
308
|
+
if (requestParameters['id'] == null) {
|
|
309
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling userPartialUpdate().');
|
|
310
|
+
}
|
|
311
|
+
if (requestParameters['userRequest'] == null) {
|
|
312
|
+
throw new runtime.RequiredError('userRequest', 'Required parameter "userRequest" was null or undefined when calling userPartialUpdate().');
|
|
313
|
+
}
|
|
314
|
+
const queryParameters = {};
|
|
315
|
+
const headerParameters = {};
|
|
316
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
317
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
318
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
319
|
+
}
|
|
320
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
321
|
+
const token = this.configuration.accessToken;
|
|
322
|
+
const tokenString = yield token("bearerAuth", []);
|
|
323
|
+
if (tokenString) {
|
|
324
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
const response = yield this.request({
|
|
328
|
+
path: `/api/v1/users/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
329
|
+
method: 'PATCH',
|
|
330
|
+
headers: headerParameters,
|
|
331
|
+
query: queryParameters,
|
|
332
|
+
body: UserRequestToJSON(requestParameters['userRequest']),
|
|
333
|
+
}, initOverrides);
|
|
334
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UserDTOFromJSON(jsonValue));
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Partially update a user
|
|
339
|
+
*/
|
|
340
|
+
userPartialUpdate(requestParameters, initOverrides) {
|
|
341
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
342
|
+
const response = yield this.userPartialUpdateRaw(requestParameters, initOverrides);
|
|
343
|
+
return yield response.value();
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* Update a user (full replace of the editable profile fields)
|
|
348
|
+
*/
|
|
349
|
+
userUpdateRaw(requestParameters, initOverrides) {
|
|
350
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
351
|
+
if (requestParameters['id'] == null) {
|
|
352
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling userUpdate().');
|
|
353
|
+
}
|
|
354
|
+
if (requestParameters['userRequest'] == null) {
|
|
355
|
+
throw new runtime.RequiredError('userRequest', 'Required parameter "userRequest" was null or undefined when calling userUpdate().');
|
|
356
|
+
}
|
|
357
|
+
const queryParameters = {};
|
|
358
|
+
const headerParameters = {};
|
|
359
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
360
|
+
if (this.configuration && (this.configuration.username !== undefined || this.configuration.password !== undefined)) {
|
|
361
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
362
|
+
}
|
|
363
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
364
|
+
const token = this.configuration.accessToken;
|
|
365
|
+
const tokenString = yield token("bearerAuth", []);
|
|
366
|
+
if (tokenString) {
|
|
367
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
const response = yield this.request({
|
|
371
|
+
path: `/api/v1/users/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
372
|
+
method: 'PUT',
|
|
373
|
+
headers: headerParameters,
|
|
374
|
+
query: queryParameters,
|
|
375
|
+
body: UserRequestToJSON(requestParameters['userRequest']),
|
|
376
|
+
}, initOverrides);
|
|
377
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UserDTOFromJSON(jsonValue));
|
|
378
|
+
});
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* Update a user (full replace of the editable profile fields)
|
|
382
|
+
*/
|
|
383
|
+
userUpdate(requestParameters, initOverrides) {
|
|
384
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
385
|
+
const response = yield this.userUpdateRaw(requestParameters, initOverrides);
|
|
386
|
+
return yield response.value();
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from './CompaniesApi';
|
|
2
|
+
export * from './DepartmentsApi';
|
|
3
|
+
export * from './DocumentGroupsApi';
|
|
4
|
+
export * from './DocumentsApi';
|
|
5
|
+
export * from './NFCApi';
|
|
6
|
+
export * from './ProcessDefinitionsApi';
|
|
7
|
+
export * from './ProcessInstancesApi';
|
|
8
|
+
export * from './ProjectGoalsApi';
|
|
9
|
+
export * from './ProjectsApi';
|
|
10
|
+
export * from './ResourcesApi';
|
|
11
|
+
export * from './SkillsApi';
|
|
12
|
+
export * from './TaskSchedulesApi';
|
|
13
|
+
export * from './TasksApi';
|
|
14
|
+
export * from './TelemetryRulesApi';
|
|
15
|
+
export * from './UsersApi';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
export * from './CompaniesApi';
|
|
4
|
+
export * from './DepartmentsApi';
|
|
5
|
+
export * from './DocumentGroupsApi';
|
|
6
|
+
export * from './DocumentsApi';
|
|
7
|
+
export * from './NFCApi';
|
|
8
|
+
export * from './ProcessDefinitionsApi';
|
|
9
|
+
export * from './ProcessInstancesApi';
|
|
10
|
+
export * from './ProjectGoalsApi';
|
|
11
|
+
export * from './ProjectsApi';
|
|
12
|
+
export * from './ResourcesApi';
|
|
13
|
+
export * from './SkillsApi';
|
|
14
|
+
export * from './TaskSchedulesApi';
|
|
15
|
+
export * from './TasksApi';
|
|
16
|
+
export * from './TelemetryRulesApi';
|
|
17
|
+
export * from './UsersApi';
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prioritize API
|
|
3
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.3.0
|
|
6
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AddressDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface AddressDTO {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AddressDTO
|
|
22
|
+
*/
|
|
23
|
+
id?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddressDTO
|
|
28
|
+
*/
|
|
29
|
+
street?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AddressDTO
|
|
34
|
+
*/
|
|
35
|
+
housenumber?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AddressDTO
|
|
40
|
+
*/
|
|
41
|
+
floor?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AddressDTO
|
|
46
|
+
*/
|
|
47
|
+
zipCode?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AddressDTO
|
|
52
|
+
*/
|
|
53
|
+
city?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AddressDTO
|
|
58
|
+
*/
|
|
59
|
+
country?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AddressDTO
|
|
64
|
+
*/
|
|
65
|
+
phone?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AddressDTO
|
|
70
|
+
*/
|
|
71
|
+
fax?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AddressDTO
|
|
76
|
+
*/
|
|
77
|
+
mobile?: string;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Check if a given object implements the AddressDTO interface.
|
|
81
|
+
*/
|
|
82
|
+
export declare function instanceOfAddressDTO(value: object): value is AddressDTO;
|
|
83
|
+
export declare function AddressDTOFromJSON(json: any): AddressDTO;
|
|
84
|
+
export declare function AddressDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressDTO;
|
|
85
|
+
export declare function AddressDTOToJSON(json: any): AddressDTO;
|
|
86
|
+
export declare function AddressDTOToJSONTyped(value?: AddressDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Prioritize API
|
|
5
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.0
|
|
8
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the AddressDTO interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAddressDTO(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function AddressDTOFromJSON(json) {
|
|
21
|
+
return AddressDTOFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function AddressDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'street': json['street'] == null ? undefined : json['street'],
|
|
30
|
+
'housenumber': json['housenumber'] == null ? undefined : json['housenumber'],
|
|
31
|
+
'floor': json['floor'] == null ? undefined : json['floor'],
|
|
32
|
+
'zipCode': json['zipCode'] == null ? undefined : json['zipCode'],
|
|
33
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
34
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
35
|
+
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
36
|
+
'fax': json['fax'] == null ? undefined : json['fax'],
|
|
37
|
+
'mobile': json['mobile'] == null ? undefined : json['mobile'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function AddressDTOToJSON(json) {
|
|
41
|
+
return AddressDTOToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function AddressDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'street': value['street'],
|
|
50
|
+
'housenumber': value['housenumber'],
|
|
51
|
+
'floor': value['floor'],
|
|
52
|
+
'zipCode': value['zipCode'],
|
|
53
|
+
'city': value['city'],
|
|
54
|
+
'country': value['country'],
|
|
55
|
+
'phone': value['phone'],
|
|
56
|
+
'fax': value['fax'],
|
|
57
|
+
'mobile': value['mobile'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Prioritize API
|
|
3
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.3.0
|
|
6
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface AddressRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AddressRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AddressRequest
|
|
22
|
+
*/
|
|
23
|
+
street?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AddressRequest
|
|
28
|
+
*/
|
|
29
|
+
housenumber?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AddressRequest
|
|
34
|
+
*/
|
|
35
|
+
floor?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AddressRequest
|
|
40
|
+
*/
|
|
41
|
+
zipCode?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AddressRequest
|
|
46
|
+
*/
|
|
47
|
+
city?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AddressRequest
|
|
52
|
+
*/
|
|
53
|
+
country?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof AddressRequest
|
|
58
|
+
*/
|
|
59
|
+
phone?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof AddressRequest
|
|
64
|
+
*/
|
|
65
|
+
fax?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AddressRequest
|
|
70
|
+
*/
|
|
71
|
+
mobile?: string;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the AddressRequest interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfAddressRequest(value: object): value is AddressRequest;
|
|
77
|
+
export declare function AddressRequestFromJSON(json: any): AddressRequest;
|
|
78
|
+
export declare function AddressRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressRequest;
|
|
79
|
+
export declare function AddressRequestToJSON(json: any): AddressRequest;
|
|
80
|
+
export declare function AddressRequestToJSONTyped(value?: AddressRequest | null, ignoreDiscriminator?: boolean): any;
|