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,73 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Prioritize API
|
|
5
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.0
|
|
8
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import type { ProjectGoalPropertyDocument } from './ProjectGoalPropertyDocument';
|
|
16
|
+
import {
|
|
17
|
+
instanceOfProjectGoalPropertyDocument,
|
|
18
|
+
ProjectGoalPropertyDocumentFromJSON,
|
|
19
|
+
ProjectGoalPropertyDocumentFromJSONTyped,
|
|
20
|
+
ProjectGoalPropertyDocumentToJSON,
|
|
21
|
+
} from './ProjectGoalPropertyDocument';
|
|
22
|
+
import type { ProjectGoalPropertyNumeric } from './ProjectGoalPropertyNumeric';
|
|
23
|
+
import {
|
|
24
|
+
instanceOfProjectGoalPropertyNumeric,
|
|
25
|
+
ProjectGoalPropertyNumericFromJSON,
|
|
26
|
+
ProjectGoalPropertyNumericFromJSONTyped,
|
|
27
|
+
ProjectGoalPropertyNumericToJSON,
|
|
28
|
+
} from './ProjectGoalPropertyNumeric';
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @type GoalRequestPropertiesInner
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export type GoalRequestPropertiesInner = ProjectGoalPropertyDocument | ProjectGoalPropertyNumeric;
|
|
36
|
+
|
|
37
|
+
export function GoalRequestPropertiesInnerFromJSON(json: any): GoalRequestPropertiesInner {
|
|
38
|
+
return GoalRequestPropertiesInnerFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function GoalRequestPropertiesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoalRequestPropertiesInner {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
if (instanceOfProjectGoalPropertyDocument(json)) {
|
|
46
|
+
return ProjectGoalPropertyDocumentFromJSONTyped(json, true);
|
|
47
|
+
}
|
|
48
|
+
if (instanceOfProjectGoalPropertyNumeric(json)) {
|
|
49
|
+
return ProjectGoalPropertyNumericFromJSONTyped(json, true);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
return {} as any;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function GoalRequestPropertiesInnerToJSON(json: any): any {
|
|
56
|
+
return GoalRequestPropertiesInnerToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function GoalRequestPropertiesInnerToJSONTyped(value?: GoalRequestPropertiesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (instanceOfProjectGoalPropertyDocument(value)) {
|
|
65
|
+
return ProjectGoalPropertyDocumentToJSON(value as ProjectGoalPropertyDocument);
|
|
66
|
+
}
|
|
67
|
+
if (instanceOfProjectGoalPropertyNumeric(value)) {
|
|
68
|
+
return ProjectGoalPropertyNumericToJSON(value as ProjectGoalPropertyNumeric);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return {};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Prioritize API
|
|
5
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.0
|
|
8
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface NfcUnitDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface NfcUnitDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof NfcUnitDTO
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof NfcUnitDTO
|
|
32
|
+
*/
|
|
33
|
+
uuid?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof NfcUnitDTO
|
|
38
|
+
*/
|
|
39
|
+
name?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof NfcUnitDTO
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof NfcUnitDTO
|
|
50
|
+
*/
|
|
51
|
+
type?: NfcUnitDTOTypeEnum;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof NfcUnitDTO
|
|
56
|
+
*/
|
|
57
|
+
payload?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof NfcUnitDTO
|
|
62
|
+
*/
|
|
63
|
+
sequenceNumber?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof NfcUnitDTO
|
|
68
|
+
*/
|
|
69
|
+
lastScanTime?: Date;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof NfcUnitDTO
|
|
74
|
+
*/
|
|
75
|
+
resourceId?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof NfcUnitDTO
|
|
80
|
+
*/
|
|
81
|
+
boundTaskId?: number;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export const NfcUnitDTOTypeEnum = {
|
|
89
|
+
Counter: 'COUNTER',
|
|
90
|
+
Checkpoint: 'CHECKPOINT',
|
|
91
|
+
Timetracker: 'TIMETRACKER',
|
|
92
|
+
Infopoint: 'INFOPOINT',
|
|
93
|
+
Other: 'OTHER'
|
|
94
|
+
} as const;
|
|
95
|
+
export type NfcUnitDTOTypeEnum = typeof NfcUnitDTOTypeEnum[keyof typeof NfcUnitDTOTypeEnum];
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Check if a given object implements the NfcUnitDTO interface.
|
|
100
|
+
*/
|
|
101
|
+
export function instanceOfNfcUnitDTO(value: object): value is NfcUnitDTO {
|
|
102
|
+
return true;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function NfcUnitDTOFromJSON(json: any): NfcUnitDTO {
|
|
106
|
+
return NfcUnitDTOFromJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function NfcUnitDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): NfcUnitDTO {
|
|
110
|
+
if (json == null) {
|
|
111
|
+
return json;
|
|
112
|
+
}
|
|
113
|
+
return {
|
|
114
|
+
|
|
115
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
116
|
+
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
117
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
118
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
119
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
120
|
+
'payload': json['payload'] == null ? undefined : json['payload'],
|
|
121
|
+
'sequenceNumber': json['sequenceNumber'] == null ? undefined : json['sequenceNumber'],
|
|
122
|
+
'lastScanTime': json['lastScanTime'] == null ? undefined : (new Date(json['lastScanTime'])),
|
|
123
|
+
'resourceId': json['resourceId'] == null ? undefined : json['resourceId'],
|
|
124
|
+
'boundTaskId': json['boundTaskId'] == null ? undefined : json['boundTaskId'],
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function NfcUnitDTOToJSON(json: any): NfcUnitDTO {
|
|
129
|
+
return NfcUnitDTOToJSONTyped(json, false);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function NfcUnitDTOToJSONTyped(value?: NfcUnitDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
133
|
+
if (value == null) {
|
|
134
|
+
return value;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
return {
|
|
138
|
+
|
|
139
|
+
'id': value['id'],
|
|
140
|
+
'uuid': value['uuid'],
|
|
141
|
+
'name': value['name'],
|
|
142
|
+
'description': value['description'],
|
|
143
|
+
'type': value['type'],
|
|
144
|
+
'payload': value['payload'],
|
|
145
|
+
'sequenceNumber': value['sequenceNumber'],
|
|
146
|
+
'lastScanTime': value['lastScanTime'] == null ? undefined : ((value['lastScanTime']).toISOString()),
|
|
147
|
+
'resourceId': value['resourceId'],
|
|
148
|
+
'boundTaskId': value['boundTaskId'],
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Prioritize API
|
|
5
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.0
|
|
8
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface NfcUnitRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface NfcUnitRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof NfcUnitRequest
|
|
26
|
+
*/
|
|
27
|
+
uuid?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof NfcUnitRequest
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof NfcUnitRequest
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof NfcUnitRequest
|
|
44
|
+
*/
|
|
45
|
+
type?: NfcUnitRequestTypeEnum;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof NfcUnitRequest
|
|
50
|
+
*/
|
|
51
|
+
payload?: string;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export const NfcUnitRequestTypeEnum = {
|
|
59
|
+
Counter: 'COUNTER',
|
|
60
|
+
Checkpoint: 'CHECKPOINT',
|
|
61
|
+
Timetracker: 'TIMETRACKER',
|
|
62
|
+
Infopoint: 'INFOPOINT',
|
|
63
|
+
Other: 'OTHER'
|
|
64
|
+
} as const;
|
|
65
|
+
export type NfcUnitRequestTypeEnum = typeof NfcUnitRequestTypeEnum[keyof typeof NfcUnitRequestTypeEnum];
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the NfcUnitRequest interface.
|
|
70
|
+
*/
|
|
71
|
+
export function instanceOfNfcUnitRequest(value: object): value is NfcUnitRequest {
|
|
72
|
+
return true;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function NfcUnitRequestFromJSON(json: any): NfcUnitRequest {
|
|
76
|
+
return NfcUnitRequestFromJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function NfcUnitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NfcUnitRequest {
|
|
80
|
+
if (json == null) {
|
|
81
|
+
return json;
|
|
82
|
+
}
|
|
83
|
+
return {
|
|
84
|
+
|
|
85
|
+
'uuid': json['uuid'] == null ? undefined : json['uuid'],
|
|
86
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
87
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
88
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
89
|
+
'payload': json['payload'] == null ? undefined : json['payload'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function NfcUnitRequestToJSON(json: any): NfcUnitRequest {
|
|
94
|
+
return NfcUnitRequestToJSONTyped(json, false);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function NfcUnitRequestToJSONTyped(value?: NfcUnitRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
98
|
+
if (value == null) {
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
|
|
104
|
+
'uuid': value['uuid'],
|
|
105
|
+
'name': value['name'],
|
|
106
|
+
'description': value['description'],
|
|
107
|
+
'type': value['type'],
|
|
108
|
+
'payload': value['payload'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Prioritize API
|
|
5
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.0
|
|
8
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProcessDefinitionDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface ProcessDefinitionDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ProcessDefinitionDTO
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ProcessDefinitionDTO
|
|
32
|
+
*/
|
|
33
|
+
processKey?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ProcessDefinitionDTO
|
|
38
|
+
*/
|
|
39
|
+
name?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ProcessDefinitionDTO
|
|
44
|
+
*/
|
|
45
|
+
documentInfoId?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof ProcessDefinitionDTO
|
|
50
|
+
*/
|
|
51
|
+
state?: ProcessDefinitionDTOStateEnum;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof ProcessDefinitionDTO
|
|
56
|
+
*/
|
|
57
|
+
deploymentId?: string;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof ProcessDefinitionDTO
|
|
62
|
+
*/
|
|
63
|
+
deployedVersion?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof ProcessDefinitionDTO
|
|
68
|
+
*/
|
|
69
|
+
deployedAt?: Date;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof ProcessDefinitionDTO
|
|
74
|
+
*/
|
|
75
|
+
deployedBy?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export const ProcessDefinitionDTOStateEnum = {
|
|
83
|
+
Draft: 'DRAFT',
|
|
84
|
+
Active: 'ACTIVE',
|
|
85
|
+
Suspended: 'SUSPENDED'
|
|
86
|
+
} as const;
|
|
87
|
+
export type ProcessDefinitionDTOStateEnum = typeof ProcessDefinitionDTOStateEnum[keyof typeof ProcessDefinitionDTOStateEnum];
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the ProcessDefinitionDTO interface.
|
|
92
|
+
*/
|
|
93
|
+
export function instanceOfProcessDefinitionDTO(value: object): value is ProcessDefinitionDTO {
|
|
94
|
+
return true;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export function ProcessDefinitionDTOFromJSON(json: any): ProcessDefinitionDTO {
|
|
98
|
+
return ProcessDefinitionDTOFromJSONTyped(json, false);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function ProcessDefinitionDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessDefinitionDTO {
|
|
102
|
+
if (json == null) {
|
|
103
|
+
return json;
|
|
104
|
+
}
|
|
105
|
+
return {
|
|
106
|
+
|
|
107
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
108
|
+
'processKey': json['processKey'] == null ? undefined : json['processKey'],
|
|
109
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
110
|
+
'documentInfoId': json['documentInfoId'] == null ? undefined : json['documentInfoId'],
|
|
111
|
+
'state': json['state'] == null ? undefined : json['state'],
|
|
112
|
+
'deploymentId': json['deploymentId'] == null ? undefined : json['deploymentId'],
|
|
113
|
+
'deployedVersion': json['deployedVersion'] == null ? undefined : json['deployedVersion'],
|
|
114
|
+
'deployedAt': json['deployedAt'] == null ? undefined : (new Date(json['deployedAt'])),
|
|
115
|
+
'deployedBy': json['deployedBy'] == null ? undefined : json['deployedBy'],
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function ProcessDefinitionDTOToJSON(json: any): ProcessDefinitionDTO {
|
|
120
|
+
return ProcessDefinitionDTOToJSONTyped(json, false);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function ProcessDefinitionDTOToJSONTyped(value?: ProcessDefinitionDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
124
|
+
if (value == null) {
|
|
125
|
+
return value;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
return {
|
|
129
|
+
|
|
130
|
+
'id': value['id'],
|
|
131
|
+
'processKey': value['processKey'],
|
|
132
|
+
'name': value['name'],
|
|
133
|
+
'documentInfoId': value['documentInfoId'],
|
|
134
|
+
'state': value['state'],
|
|
135
|
+
'deploymentId': value['deploymentId'],
|
|
136
|
+
'deployedVersion': value['deployedVersion'],
|
|
137
|
+
'deployedAt': value['deployedAt'] == null ? undefined : ((value['deployedAt']).toISOString()),
|
|
138
|
+
'deployedBy': value['deployedBy'],
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Prioritize API
|
|
5
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.3.0
|
|
8
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProcessInstanceDTO
|
|
20
|
+
*/
|
|
21
|
+
export interface ProcessInstanceDTO {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ProcessInstanceDTO
|
|
26
|
+
*/
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ProcessInstanceDTO
|
|
32
|
+
*/
|
|
33
|
+
processKey?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ProcessInstanceDTO
|
|
38
|
+
*/
|
|
39
|
+
definitionId?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ProcessInstanceDTO
|
|
44
|
+
*/
|
|
45
|
+
businessKey?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ProcessInstanceDTO
|
|
50
|
+
*/
|
|
51
|
+
projectId?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ProcessInstanceDTO
|
|
56
|
+
*/
|
|
57
|
+
taskId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof ProcessInstanceDTO
|
|
62
|
+
*/
|
|
63
|
+
running?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {Date}
|
|
67
|
+
* @memberof ProcessInstanceDTO
|
|
68
|
+
*/
|
|
69
|
+
startedAt?: Date;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof ProcessInstanceDTO
|
|
74
|
+
*/
|
|
75
|
+
startedBy?: string;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the ProcessInstanceDTO interface.
|
|
80
|
+
*/
|
|
81
|
+
export function instanceOfProcessInstanceDTO(value: object): value is ProcessInstanceDTO {
|
|
82
|
+
return true;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function ProcessInstanceDTOFromJSON(json: any): ProcessInstanceDTO {
|
|
86
|
+
return ProcessInstanceDTOFromJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function ProcessInstanceDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessInstanceDTO {
|
|
90
|
+
if (json == null) {
|
|
91
|
+
return json;
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
96
|
+
'processKey': json['processKey'] == null ? undefined : json['processKey'],
|
|
97
|
+
'definitionId': json['definitionId'] == null ? undefined : json['definitionId'],
|
|
98
|
+
'businessKey': json['businessKey'] == null ? undefined : json['businessKey'],
|
|
99
|
+
'projectId': json['projectId'] == null ? undefined : json['projectId'],
|
|
100
|
+
'taskId': json['taskId'] == null ? undefined : json['taskId'],
|
|
101
|
+
'running': json['running'] == null ? undefined : json['running'],
|
|
102
|
+
'startedAt': json['startedAt'] == null ? undefined : (new Date(json['startedAt'])),
|
|
103
|
+
'startedBy': json['startedBy'] == null ? undefined : json['startedBy'],
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function ProcessInstanceDTOToJSON(json: any): ProcessInstanceDTO {
|
|
108
|
+
return ProcessInstanceDTOToJSONTyped(json, false);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function ProcessInstanceDTOToJSONTyped(value?: ProcessInstanceDTO | null, ignoreDiscriminator: boolean = false): any {
|
|
112
|
+
if (value == null) {
|
|
113
|
+
return value;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
return {
|
|
117
|
+
|
|
118
|
+
'id': value['id'],
|
|
119
|
+
'processKey': value['processKey'],
|
|
120
|
+
'definitionId': value['definitionId'],
|
|
121
|
+
'businessKey': value['businessKey'],
|
|
122
|
+
'projectId': value['projectId'],
|
|
123
|
+
'taskId': value['taskId'],
|
|
124
|
+
'running': value['running'],
|
|
125
|
+
'startedAt': value['startedAt'] == null ? undefined : ((value['startedAt']).toISOString()),
|
|
126
|
+
'startedBy': value['startedBy'],
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|