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,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Prioritize API
|
|
6
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.0
|
|
9
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfResourceDTO = instanceOfResourceDTO;
|
|
17
|
+
exports.ResourceDTOFromJSON = ResourceDTOFromJSON;
|
|
18
|
+
exports.ResourceDTOFromJSONTyped = ResourceDTOFromJSONTyped;
|
|
19
|
+
exports.ResourceDTOToJSON = ResourceDTOToJSON;
|
|
20
|
+
exports.ResourceDTOToJSONTyped = ResourceDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ResourceDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfResourceDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ResourceDTOFromJSON(json) {
|
|
28
|
+
return ResourceDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ResourceDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
38
|
+
'stationary': json['stationary'] == null ? undefined : json['stationary'],
|
|
39
|
+
'remote': json['remote'] == null ? undefined : json['remote'],
|
|
40
|
+
'ip': json['ip'] == null ? undefined : json['ip'],
|
|
41
|
+
'port': json['port'] == null ? undefined : json['port'],
|
|
42
|
+
'busy': json['busy'] == null ? undefined : json['busy'],
|
|
43
|
+
'maxSlots': json['maxSlots'] == null ? undefined : json['maxSlots'],
|
|
44
|
+
'latitude': json['latitude'] == null ? undefined : json['latitude'],
|
|
45
|
+
'longitude': json['longitude'] == null ? undefined : json['longitude'],
|
|
46
|
+
'mqttResource': json['mqttResource'] == null ? undefined : json['mqttResource'],
|
|
47
|
+
'mqttUUID': json['mqttUUID'] == null ? undefined : json['mqttUUID'],
|
|
48
|
+
'mqttDataSendTopic': json['mqttDataSendTopic'] == null ? undefined : json['mqttDataSendTopic'],
|
|
49
|
+
'mqttDataReceiveTopic': json['mqttDataReceiveTopic'] == null ? undefined : json['mqttDataReceiveTopic'],
|
|
50
|
+
'mqttOnline': json['mqttOnline'] == null ? undefined : json['mqttOnline'],
|
|
51
|
+
'mqttLastPing': json['mqttLastPing'] == null ? undefined : (new Date(json['mqttLastPing'])),
|
|
52
|
+
'agent': json['agent'] == null ? undefined : json['agent'],
|
|
53
|
+
'departmentId': json['departmentId'] == null ? undefined : json['departmentId'],
|
|
54
|
+
'resourceGroupId': json['resourceGroupId'] == null ? undefined : json['resourceGroupId'],
|
|
55
|
+
'occupiedSlots': json['occupiedSlots'] == null ? undefined : json['occupiedSlots'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function ResourceDTOToJSON(json) {
|
|
59
|
+
return ResourceDTOToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function ResourceDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value['id'],
|
|
67
|
+
'name': value['name'],
|
|
68
|
+
'description': value['description'],
|
|
69
|
+
'stationary': value['stationary'],
|
|
70
|
+
'remote': value['remote'],
|
|
71
|
+
'ip': value['ip'],
|
|
72
|
+
'port': value['port'],
|
|
73
|
+
'busy': value['busy'],
|
|
74
|
+
'maxSlots': value['maxSlots'],
|
|
75
|
+
'latitude': value['latitude'],
|
|
76
|
+
'longitude': value['longitude'],
|
|
77
|
+
'mqttResource': value['mqttResource'],
|
|
78
|
+
'mqttUUID': value['mqttUUID'],
|
|
79
|
+
'mqttDataSendTopic': value['mqttDataSendTopic'],
|
|
80
|
+
'mqttDataReceiveTopic': value['mqttDataReceiveTopic'],
|
|
81
|
+
'mqttOnline': value['mqttOnline'],
|
|
82
|
+
'mqttLastPing': value['mqttLastPing'] == null ? undefined : ((value['mqttLastPing']).toISOString()),
|
|
83
|
+
'agent': value['agent'],
|
|
84
|
+
'departmentId': value['departmentId'],
|
|
85
|
+
'resourceGroupId': value['resourceGroupId'],
|
|
86
|
+
'occupiedSlots': value['occupiedSlots'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ResourceGroupDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceGroupDTO {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ResourceGroupDTO
|
|
22
|
+
*/
|
|
23
|
+
id?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ResourceGroupDTO
|
|
28
|
+
*/
|
|
29
|
+
name?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ResourceGroupDTO
|
|
34
|
+
*/
|
|
35
|
+
departmentId?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ResourceGroupDTO interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfResourceGroupDTO(value: object): value is ResourceGroupDTO;
|
|
41
|
+
export declare function ResourceGroupDTOFromJSON(json: any): ResourceGroupDTO;
|
|
42
|
+
export declare function ResourceGroupDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceGroupDTO;
|
|
43
|
+
export declare function ResourceGroupDTOToJSON(json: any): ResourceGroupDTO;
|
|
44
|
+
export declare function ResourceGroupDTOToJSONTyped(value?: ResourceGroupDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Prioritize API
|
|
6
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.0
|
|
9
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfResourceGroupDTO = instanceOfResourceGroupDTO;
|
|
17
|
+
exports.ResourceGroupDTOFromJSON = ResourceGroupDTOFromJSON;
|
|
18
|
+
exports.ResourceGroupDTOFromJSONTyped = ResourceGroupDTOFromJSONTyped;
|
|
19
|
+
exports.ResourceGroupDTOToJSON = ResourceGroupDTOToJSON;
|
|
20
|
+
exports.ResourceGroupDTOToJSONTyped = ResourceGroupDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ResourceGroupDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfResourceGroupDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ResourceGroupDTOFromJSON(json) {
|
|
28
|
+
return ResourceGroupDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ResourceGroupDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
+
'departmentId': json['departmentId'] == null ? undefined : json['departmentId'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ResourceGroupDTOToJSON(json) {
|
|
41
|
+
return ResourceGroupDTOToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ResourceGroupDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': value['id'],
|
|
49
|
+
'name': value['name'],
|
|
50
|
+
'departmentId': value['departmentId'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
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 ResourceRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ResourceRequest
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ResourceRequest
|
|
28
|
+
*/
|
|
29
|
+
description?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ResourceRequest
|
|
34
|
+
*/
|
|
35
|
+
ip?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ResourceRequest
|
|
40
|
+
*/
|
|
41
|
+
port?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ResourceRequest
|
|
46
|
+
*/
|
|
47
|
+
maxSlots?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof ResourceRequest
|
|
52
|
+
*/
|
|
53
|
+
stationary?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof ResourceRequest
|
|
58
|
+
*/
|
|
59
|
+
remote?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof ResourceRequest
|
|
64
|
+
*/
|
|
65
|
+
agent?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ResourceRequest
|
|
70
|
+
*/
|
|
71
|
+
latitude?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ResourceRequest
|
|
76
|
+
*/
|
|
77
|
+
longitude?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {boolean}
|
|
81
|
+
* @memberof ResourceRequest
|
|
82
|
+
*/
|
|
83
|
+
mqttResource?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof ResourceRequest
|
|
88
|
+
*/
|
|
89
|
+
mqttUUID?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof ResourceRequest
|
|
94
|
+
*/
|
|
95
|
+
mqttDataSendTopic?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof ResourceRequest
|
|
100
|
+
*/
|
|
101
|
+
mqttDataReceiveTopic?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {boolean}
|
|
105
|
+
* @memberof ResourceRequest
|
|
106
|
+
*/
|
|
107
|
+
mqttOnline?: boolean;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Check if a given object implements the ResourceRequest interface.
|
|
111
|
+
*/
|
|
112
|
+
export declare function instanceOfResourceRequest(value: object): value is ResourceRequest;
|
|
113
|
+
export declare function ResourceRequestFromJSON(json: any): ResourceRequest;
|
|
114
|
+
export declare function ResourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceRequest;
|
|
115
|
+
export declare function ResourceRequestToJSON(json: any): ResourceRequest;
|
|
116
|
+
export declare function ResourceRequestToJSONTyped(value?: ResourceRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Prioritize API
|
|
6
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.0
|
|
9
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfResourceRequest = instanceOfResourceRequest;
|
|
17
|
+
exports.ResourceRequestFromJSON = ResourceRequestFromJSON;
|
|
18
|
+
exports.ResourceRequestFromJSONTyped = ResourceRequestFromJSONTyped;
|
|
19
|
+
exports.ResourceRequestToJSON = ResourceRequestToJSON;
|
|
20
|
+
exports.ResourceRequestToJSONTyped = ResourceRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ResourceRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfResourceRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ResourceRequestFromJSON(json) {
|
|
28
|
+
return ResourceRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ResourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
36
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
37
|
+
'ip': json['ip'] == null ? undefined : json['ip'],
|
|
38
|
+
'port': json['port'] == null ? undefined : json['port'],
|
|
39
|
+
'maxSlots': json['maxSlots'] == null ? undefined : json['maxSlots'],
|
|
40
|
+
'stationary': json['stationary'] == null ? undefined : json['stationary'],
|
|
41
|
+
'remote': json['remote'] == null ? undefined : json['remote'],
|
|
42
|
+
'agent': json['agent'] == null ? undefined : json['agent'],
|
|
43
|
+
'latitude': json['latitude'] == null ? undefined : json['latitude'],
|
|
44
|
+
'longitude': json['longitude'] == null ? undefined : json['longitude'],
|
|
45
|
+
'mqttResource': json['mqttResource'] == null ? undefined : json['mqttResource'],
|
|
46
|
+
'mqttUUID': json['mqttUUID'] == null ? undefined : json['mqttUUID'],
|
|
47
|
+
'mqttDataSendTopic': json['mqttDataSendTopic'] == null ? undefined : json['mqttDataSendTopic'],
|
|
48
|
+
'mqttDataReceiveTopic': json['mqttDataReceiveTopic'] == null ? undefined : json['mqttDataReceiveTopic'],
|
|
49
|
+
'mqttOnline': json['mqttOnline'] == null ? undefined : json['mqttOnline'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function ResourceRequestToJSON(json) {
|
|
53
|
+
return ResourceRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ResourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'description': value['description'],
|
|
62
|
+
'ip': value['ip'],
|
|
63
|
+
'port': value['port'],
|
|
64
|
+
'maxSlots': value['maxSlots'],
|
|
65
|
+
'stationary': value['stationary'],
|
|
66
|
+
'remote': value['remote'],
|
|
67
|
+
'agent': value['agent'],
|
|
68
|
+
'latitude': value['latitude'],
|
|
69
|
+
'longitude': value['longitude'],
|
|
70
|
+
'mqttResource': value['mqttResource'],
|
|
71
|
+
'mqttUUID': value['mqttUUID'],
|
|
72
|
+
'mqttDataSendTopic': value['mqttDataSendTopic'],
|
|
73
|
+
'mqttDataReceiveTopic': value['mqttDataReceiveTopic'],
|
|
74
|
+
'mqttOnline': value['mqttOnline'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 ResourceReservationDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceReservationDTO {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ResourceReservationDTO
|
|
22
|
+
*/
|
|
23
|
+
id?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ResourceReservationDTO
|
|
28
|
+
*/
|
|
29
|
+
reservedBy?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof ResourceReservationDTO
|
|
34
|
+
*/
|
|
35
|
+
from?: Date;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof ResourceReservationDTO
|
|
40
|
+
*/
|
|
41
|
+
until?: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ResourceReservationDTO
|
|
46
|
+
*/
|
|
47
|
+
slotNumber?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the ResourceReservationDTO interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfResourceReservationDTO(value: object): value is ResourceReservationDTO;
|
|
53
|
+
export declare function ResourceReservationDTOFromJSON(json: any): ResourceReservationDTO;
|
|
54
|
+
export declare function ResourceReservationDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceReservationDTO;
|
|
55
|
+
export declare function ResourceReservationDTOToJSON(json: any): ResourceReservationDTO;
|
|
56
|
+
export declare function ResourceReservationDTOToJSONTyped(value?: ResourceReservationDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Prioritize API
|
|
6
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.0
|
|
9
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfResourceReservationDTO = instanceOfResourceReservationDTO;
|
|
17
|
+
exports.ResourceReservationDTOFromJSON = ResourceReservationDTOFromJSON;
|
|
18
|
+
exports.ResourceReservationDTOFromJSONTyped = ResourceReservationDTOFromJSONTyped;
|
|
19
|
+
exports.ResourceReservationDTOToJSON = ResourceReservationDTOToJSON;
|
|
20
|
+
exports.ResourceReservationDTOToJSONTyped = ResourceReservationDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ResourceReservationDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfResourceReservationDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ResourceReservationDTOFromJSON(json) {
|
|
28
|
+
return ResourceReservationDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ResourceReservationDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
36
|
+
'reservedBy': json['reservedBy'] == null ? undefined : json['reservedBy'],
|
|
37
|
+
'from': json['from'] == null ? undefined : (new Date(json['from'])),
|
|
38
|
+
'until': json['until'] == null ? undefined : (new Date(json['until'])),
|
|
39
|
+
'slotNumber': json['slotNumber'] == null ? undefined : json['slotNumber'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function ResourceReservationDTOToJSON(json) {
|
|
43
|
+
return ResourceReservationDTOToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function ResourceReservationDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'id': value['id'],
|
|
51
|
+
'reservedBy': value['reservedBy'],
|
|
52
|
+
'from': value['from'] == null ? undefined : ((value['from']).toISOString()),
|
|
53
|
+
'until': value['until'] == null ? undefined : ((value['until']).toISOString()),
|
|
54
|
+
'slotNumber': value['slotNumber'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 type { ResourceValueDTO } from './ResourceValueDTO';
|
|
13
|
+
import type { TelemetryRuleDTO } from './TelemetryRuleDTO';
|
|
14
|
+
import type { ResourceDTO } from './ResourceDTO';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ResourceStatusDTO
|
|
19
|
+
*/
|
|
20
|
+
export interface ResourceStatusDTO {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {ResourceDTO}
|
|
24
|
+
* @memberof ResourceStatusDTO
|
|
25
|
+
*/
|
|
26
|
+
resource?: ResourceDTO;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<ResourceValueDTO>}
|
|
30
|
+
* @memberof ResourceStatusDTO
|
|
31
|
+
*/
|
|
32
|
+
latestValues?: Array<ResourceValueDTO>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Array<TelemetryRuleDTO>}
|
|
36
|
+
* @memberof ResourceStatusDTO
|
|
37
|
+
*/
|
|
38
|
+
telemetryRules?: Array<TelemetryRuleDTO>;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the ResourceStatusDTO interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfResourceStatusDTO(value: object): value is ResourceStatusDTO;
|
|
44
|
+
export declare function ResourceStatusDTOFromJSON(json: any): ResourceStatusDTO;
|
|
45
|
+
export declare function ResourceStatusDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceStatusDTO;
|
|
46
|
+
export declare function ResourceStatusDTOToJSON(json: any): ResourceStatusDTO;
|
|
47
|
+
export declare function ResourceStatusDTOToJSONTyped(value?: ResourceStatusDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Prioritize API
|
|
6
|
+
* REST API of Prioritize, a resource, project and IoT orchestration platform. All endpoints live under /api/v1. From 1.0.0 on this REST surface is the stable public contract (SemVer); the Vaadin admin GUI and its @Route URLs are an implementation detail and NOT part of that promise. A few areas are marked \'experimental\' in their schema and may still change within the 1.x line.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.3.0
|
|
9
|
+
* Contact: peter.haller@prioritize-iot.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfResourceStatusDTO = instanceOfResourceStatusDTO;
|
|
17
|
+
exports.ResourceStatusDTOFromJSON = ResourceStatusDTOFromJSON;
|
|
18
|
+
exports.ResourceStatusDTOFromJSONTyped = ResourceStatusDTOFromJSONTyped;
|
|
19
|
+
exports.ResourceStatusDTOToJSON = ResourceStatusDTOToJSON;
|
|
20
|
+
exports.ResourceStatusDTOToJSONTyped = ResourceStatusDTOToJSONTyped;
|
|
21
|
+
const ResourceValueDTO_1 = require("./ResourceValueDTO");
|
|
22
|
+
const TelemetryRuleDTO_1 = require("./TelemetryRuleDTO");
|
|
23
|
+
const ResourceDTO_1 = require("./ResourceDTO");
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ResourceStatusDTO interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfResourceStatusDTO(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function ResourceStatusDTOFromJSON(json) {
|
|
31
|
+
return ResourceStatusDTOFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function ResourceStatusDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'resource': json['resource'] == null ? undefined : (0, ResourceDTO_1.ResourceDTOFromJSON)(json['resource']),
|
|
39
|
+
'latestValues': json['latestValues'] == null ? undefined : (json['latestValues'].map(ResourceValueDTO_1.ResourceValueDTOFromJSON)),
|
|
40
|
+
'telemetryRules': json['telemetryRules'] == null ? undefined : (json['telemetryRules'].map(TelemetryRuleDTO_1.TelemetryRuleDTOFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ResourceStatusDTOToJSON(json) {
|
|
44
|
+
return ResourceStatusDTOToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ResourceStatusDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'resource': (0, ResourceDTO_1.ResourceDTOToJSON)(value['resource']),
|
|
52
|
+
'latestValues': value['latestValues'] == null ? undefined : (value['latestValues'].map(ResourceValueDTO_1.ResourceValueDTOToJSON)),
|
|
53
|
+
'telemetryRules': value['telemetryRules'] == null ? undefined : (value['telemetryRules'].map(TelemetryRuleDTO_1.TelemetryRuleDTOToJSON)),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 ResourceValueDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface ResourceValueDTO {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ResourceValueDTO
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ResourceValueDTO
|
|
28
|
+
*/
|
|
29
|
+
value?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ResourceValueDTO interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfResourceValueDTO(value: object): value is ResourceValueDTO;
|
|
35
|
+
export declare function ResourceValueDTOFromJSON(json: any): ResourceValueDTO;
|
|
36
|
+
export declare function ResourceValueDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResourceValueDTO;
|
|
37
|
+
export declare function ResourceValueDTOToJSON(json: any): ResourceValueDTO;
|
|
38
|
+
export declare function ResourceValueDTOToJSONTyped(value?: ResourceValueDTO | null, ignoreDiscriminator?: boolean): any;
|