@gizone/rrs-client 4.1.0-alpha.113 → 4.1.0-alpha.115
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/.openapi-generator/FILES +46 -2
- package/api.ts +5 -1
- package/apis/device-api.ts +244 -0
- package/apis/iot-api.ts +15 -15
- package/apis/monitor-controller-api.ts +1260 -0
- package/apis/monitor-sort-controller-api.ts +499 -0
- package/apis/space-api.ts +25 -15
- package/apis/surveillance-api.ts +529 -982
- package/apis/{surveillance-roi-api.ts → surveillance-roi-controller-api.ts} +64 -64
- package/apis/surveillance-settings-api.ts +583 -0
- package/apis/work-order-api.ts +671 -0
- package/dist/api.d.ts +5 -1
- package/dist/api.js +5 -1
- package/dist/apis/device-api.d.ts +135 -0
- package/dist/apis/device-api.js +209 -0
- package/dist/apis/iot-api.d.ts +10 -10
- package/dist/apis/iot-api.js +11 -11
- package/dist/apis/monitor-controller-api.d.ts +659 -0
- package/dist/apis/monitor-controller-api.js +989 -0
- package/dist/apis/monitor-sort-controller-api.d.ts +259 -0
- package/dist/apis/monitor-sort-controller-api.js +416 -0
- package/dist/apis/space-api.d.ts +14 -7
- package/dist/apis/space-api.js +16 -11
- package/dist/apis/surveillance-api.d.ts +353 -541
- package/dist/apis/surveillance-api.js +332 -777
- package/dist/apis/{surveillance-roi-api.d.ts → surveillance-roi-controller-api.d.ts} +54 -54
- package/dist/apis/{surveillance-roi-api.js → surveillance-roi-controller-api.js} +36 -36
- package/dist/apis/surveillance-settings-api.d.ts +302 -0
- package/dist/apis/surveillance-settings-api.js +486 -0
- package/dist/apis/work-order-api.d.ts +354 -0
- package/dist/apis/work-order-api.js +503 -0
- package/dist/esm/api.d.ts +5 -1
- package/dist/esm/api.js +5 -1
- package/dist/esm/apis/device-api.d.ts +135 -0
- package/dist/esm/apis/device-api.js +202 -0
- package/dist/esm/apis/iot-api.d.ts +10 -10
- package/dist/esm/apis/iot-api.js +11 -11
- package/dist/esm/apis/monitor-controller-api.d.ts +659 -0
- package/dist/esm/apis/monitor-controller-api.js +982 -0
- package/dist/esm/apis/monitor-sort-controller-api.d.ts +259 -0
- package/dist/esm/apis/monitor-sort-controller-api.js +409 -0
- package/dist/esm/apis/space-api.d.ts +14 -7
- package/dist/esm/apis/space-api.js +16 -11
- package/dist/esm/apis/surveillance-api.d.ts +353 -541
- package/dist/esm/apis/surveillance-api.js +331 -776
- package/dist/esm/apis/{surveillance-roi-api.d.ts → surveillance-roi-controller-api.d.ts} +54 -54
- package/dist/esm/apis/{surveillance-roi-api.js → surveillance-roi-controller-api.js} +31 -31
- package/dist/esm/apis/surveillance-settings-api.d.ts +302 -0
- package/dist/esm/apis/surveillance-settings-api.js +479 -0
- package/dist/esm/apis/work-order-api.d.ts +354 -0
- package/dist/esm/apis/work-order-api.js +503 -0
- package/dist/esm/models/equipment-detail-dto.d.ts +8 -14
- package/dist/esm/models/equipment-point-edit-vo.d.ts +2 -8
- package/dist/esm/models/equipment-search-system-dto.d.ts +6 -12
- package/dist/esm/models/functional-area-enum.d.ts +26 -0
- package/dist/esm/models/functional-area-enum.js +27 -0
- package/dist/esm/models/get-user-wx200-response.d.ts +12 -12
- package/dist/esm/models/index.d.ts +41 -1
- package/dist/esm/models/index.js +41 -1
- package/dist/esm/models/installation-body-enum.d.ts +22 -0
- package/dist/esm/models/installation-body-enum.js +23 -0
- package/dist/esm/models/iot-device-status-enum.d.ts +22 -0
- package/dist/esm/models/iot-device-status-enum.js +23 -0
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/json-result-list-surveillance-settings-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-network-monitor-repair-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-network-monitor-repair-details-dto.js +14 -0
- package/dist/esm/models/json-result-page-dto-surveillance-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-page-dto-surveillance-details-dto.js +14 -0
- package/dist/esm/models/json-result-surveillance-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-surveillance-details-dto.js +14 -0
- package/dist/esm/models/json-result-surveillance-live-dto.d.ts +62 -0
- package/dist/esm/models/json-result-surveillance-live-dto.js +14 -0
- package/dist/esm/models/json-result-surveillance-settings-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-surveillance-settings-details-dto.js +14 -0
- package/dist/esm/models/json-result-violation-work-order-details-dto.d.ts +62 -0
- package/dist/esm/models/json-result-violation-work-order-details-dto.js +14 -0
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +87 -0
- package/dist/esm/models/network-monitor-repair-add-vo.js +14 -0
- package/dist/esm/models/network-monitor-repair-decision-vo.d.ts +42 -0
- package/dist/esm/models/network-monitor-repair-decision-vo.js +14 -0
- package/dist/esm/models/network-monitor-repair-details-dto.d.ts +164 -0
- package/dist/esm/models/network-monitor-repair-details-dto.js +20 -0
- package/dist/esm/models/network-repair-info.d.ts +36 -0
- package/dist/esm/models/network-repair-info.js +14 -0
- package/dist/esm/models/page-dto-surveillance-details-dto.d.ts +31 -0
- package/dist/esm/models/page-dto-surveillance-details-dto.js +14 -0
- package/dist/esm/models/park.d.ts +43 -0
- package/dist/esm/models/park.js +14 -0
- package/dist/esm/models/polling-surveillance-info.d.ts +30 -0
- package/dist/esm/models/polling-surveillance-info.js +14 -0
- package/dist/esm/models/process-network-monitor-repair-vo.d.ts +30 -0
- package/dist/esm/models/process-network-monitor-repair-vo.js +14 -0
- package/dist/esm/models/space-add-excel-dto.d.ts +6 -0
- package/dist/esm/models/space-add-vo.d.ts +7 -0
- package/dist/esm/models/space-detail-dto.d.ts +9 -2
- package/dist/esm/models/space-edit-vo.d.ts +7 -0
- package/dist/esm/models/space-industry-attribute.d.ts +25 -0
- package/dist/esm/models/space-industry-attribute.js +26 -0
- package/dist/esm/models/space-point-dto.d.ts +3 -21
- package/dist/esm/models/space-tree-dto.d.ts +26 -19
- package/dist/esm/models/space.d.ts +43 -0
- package/dist/esm/models/space.js +14 -0
- package/dist/esm/models/surveillance-details-dto.d.ts +124 -0
- package/dist/esm/models/surveillance-details-dto.js +14 -0
- package/dist/esm/models/surveillance-live-dto.d.ts +48 -0
- package/dist/esm/models/surveillance-live-dto.js +14 -0
- package/dist/esm/models/surveillance-settings-details-dto.d.ts +57 -0
- package/dist/esm/models/surveillance-settings-details-dto.js +14 -0
- package/dist/esm/models/surveillance-settings-polling-vo.d.ts +31 -0
- package/dist/esm/models/surveillance-settings-polling-vo.js +14 -0
- package/dist/esm/models/surveillance-update-vo.d.ts +62 -0
- package/dist/esm/models/surveillance-update-vo.js +14 -0
- package/dist/esm/models/surveillance.d.ts +49 -0
- package/dist/esm/models/surveillance.js +14 -0
- package/dist/esm/models/sync-device-unit-vo.d.ts +180 -0
- package/dist/esm/models/sync-device-unit-vo.js +14 -0
- package/dist/esm/models/sync-equipment-vo.d.ts +24 -0
- package/dist/esm/models/sys-user.d.ts +4 -4
- package/dist/esm/models/violation-center-attribute-enum.d.ts +21 -0
- package/dist/esm/models/violation-center-attribute-enum.js +22 -0
- package/dist/esm/models/violation-decision-vo.d.ts +68 -0
- package/dist/esm/models/violation-decision-vo.js +14 -0
- package/dist/esm/models/violation-issue-type-enum.d.ts +84 -0
- package/dist/esm/models/violation-issue-type-enum.js +85 -0
- package/dist/esm/models/violation-responsibility-role-enum.d.ts +21 -0
- package/dist/esm/models/violation-responsibility-role-enum.js +22 -0
- package/dist/esm/models/violation-work-order-add-vo.d.ts +87 -0
- package/dist/esm/models/violation-work-order-add-vo.js +14 -0
- package/dist/esm/models/violation-work-order-details-dto.d.ts +151 -0
- package/dist/esm/models/violation-work-order-details-dto.js +20 -0
- package/dist/esm/models/violation-work-order-info.d.ts +106 -0
- package/dist/esm/models/violation-work-order-info.js +14 -0
- package/dist/esm/models/work-order-approval-vo.d.ts +24 -0
- package/dist/esm/models/work-order-approval-vo.js +14 -0
- package/dist/esm/models/work-order-circulation-vo.d.ts +12 -0
- package/dist/esm/models/work-order-decision-vo.d.ts +32 -0
- package/dist/esm/models/work-order-decision-vo.js +14 -0
- package/dist/esm/models/work-order-ext-data.d.ts +32 -0
- package/dist/esm/models/work-order-ext-data.js +14 -0
- package/dist/esm/models/work-order-handler-dto.d.ts +61 -0
- package/dist/esm/models/work-order-handler-dto.js +14 -0
- package/dist/esm/models/work-order-internal-status-enum.d.ts +6 -0
- package/dist/esm/models/work-order-internal-status-enum.js +7 -1
- package/dist/esm/models/work-order-issue-type-enum.d.ts +10 -1
- package/dist/esm/models/work-order-issue-type-enum.js +11 -2
- package/dist/esm/models/work-order-settings-type-enum.d.ts +2 -7
- package/dist/esm/models/work-order-settings-type-enum.js +2 -7
- package/dist/esm/models/work-order-source-enum.d.ts +2 -0
- package/dist/esm/models/work-order-source-enum.js +3 -1
- package/dist/esm/models/{space-add-point-vo.d.ts → work-order-space-dto.d.ts} +14 -9
- package/dist/esm/models/work-order-space-dto.js +14 -0
- package/dist/esm/models/work-order-sponsor-dto.d.ts +48 -0
- package/dist/esm/models/work-order-sponsor-dto.js +14 -0
- package/dist/esm/models/work-order-surveillance-dto.d.ts +30 -0
- package/dist/esm/models/work-order-surveillance-dto.js +14 -0
- package/dist/esm/models/work-order-type-enum.d.ts +2 -0
- package/dist/esm/models/work-order-type-enum.js +3 -1
- package/dist/models/equipment-detail-dto.d.ts +8 -14
- package/dist/models/equipment-point-edit-vo.d.ts +2 -8
- package/dist/models/equipment-search-system-dto.d.ts +6 -12
- package/dist/models/functional-area-enum.d.ts +26 -0
- package/dist/models/functional-area-enum.js +30 -0
- package/dist/models/get-user-wx200-response.d.ts +12 -12
- package/dist/models/index.d.ts +41 -1
- package/dist/models/index.js +41 -1
- package/dist/models/installation-body-enum.d.ts +22 -0
- package/dist/models/installation-body-enum.js +26 -0
- package/dist/models/iot-device-status-enum.d.ts +22 -0
- package/dist/models/iot-device-status-enum.js +26 -0
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/json-result-list-surveillance-settings-details-dto.d.ts +62 -0
- package/dist/models/json-result-network-monitor-repair-details-dto.d.ts +62 -0
- package/dist/models/json-result-network-monitor-repair-details-dto.js +15 -0
- package/dist/models/json-result-page-dto-surveillance-details-dto.d.ts +62 -0
- package/dist/models/json-result-page-dto-surveillance-details-dto.js +15 -0
- package/dist/models/json-result-surveillance-details-dto.d.ts +62 -0
- package/dist/models/json-result-surveillance-details-dto.js +15 -0
- package/dist/models/json-result-surveillance-live-dto.d.ts +62 -0
- package/dist/models/json-result-surveillance-live-dto.js +15 -0
- package/dist/models/json-result-surveillance-settings-details-dto.d.ts +62 -0
- package/dist/models/json-result-surveillance-settings-details-dto.js +15 -0
- package/dist/models/json-result-violation-work-order-details-dto.d.ts +62 -0
- package/dist/models/json-result-violation-work-order-details-dto.js +15 -0
- package/dist/models/network-monitor-repair-add-vo.d.ts +87 -0
- package/dist/models/network-monitor-repair-add-vo.js +15 -0
- package/dist/models/network-monitor-repair-decision-vo.d.ts +42 -0
- package/dist/models/network-monitor-repair-decision-vo.js +15 -0
- package/dist/models/network-monitor-repair-details-dto.d.ts +164 -0
- package/dist/models/network-monitor-repair-details-dto.js +23 -0
- package/dist/models/network-repair-info.d.ts +36 -0
- package/dist/models/network-repair-info.js +15 -0
- package/dist/models/page-dto-surveillance-details-dto.d.ts +31 -0
- package/dist/models/page-dto-surveillance-details-dto.js +15 -0
- package/dist/models/park.d.ts +43 -0
- package/dist/models/park.js +15 -0
- package/dist/models/polling-surveillance-info.d.ts +30 -0
- package/dist/models/polling-surveillance-info.js +15 -0
- package/dist/models/process-network-monitor-repair-vo.d.ts +30 -0
- package/dist/models/process-network-monitor-repair-vo.js +15 -0
- package/dist/models/space-add-excel-dto.d.ts +6 -0
- package/dist/models/space-add-vo.d.ts +7 -0
- package/dist/models/space-detail-dto.d.ts +9 -2
- package/dist/models/space-edit-vo.d.ts +7 -0
- package/dist/models/space-industry-attribute.d.ts +25 -0
- package/dist/models/space-industry-attribute.js +29 -0
- package/dist/models/space-point-dto.d.ts +3 -21
- package/dist/models/space-tree-dto.d.ts +26 -19
- package/dist/models/space.d.ts +43 -0
- package/dist/models/space.js +15 -0
- package/dist/models/surveillance-details-dto.d.ts +124 -0
- package/dist/models/surveillance-details-dto.js +15 -0
- package/dist/models/surveillance-live-dto.d.ts +48 -0
- package/dist/models/surveillance-live-dto.js +15 -0
- package/dist/models/surveillance-settings-details-dto.d.ts +57 -0
- package/dist/models/surveillance-settings-details-dto.js +15 -0
- package/dist/models/surveillance-settings-polling-vo.d.ts +31 -0
- package/dist/models/surveillance-settings-polling-vo.js +15 -0
- package/dist/models/surveillance-update-vo.d.ts +62 -0
- package/dist/models/surveillance-update-vo.js +15 -0
- package/dist/models/surveillance.d.ts +49 -0
- package/dist/models/surveillance.js +15 -0
- package/dist/models/sync-device-unit-vo.d.ts +180 -0
- package/dist/models/sync-device-unit-vo.js +15 -0
- package/dist/models/sync-equipment-vo.d.ts +24 -0
- package/dist/models/sys-user.d.ts +4 -4
- package/dist/models/violation-center-attribute-enum.d.ts +21 -0
- package/dist/models/violation-center-attribute-enum.js +25 -0
- package/dist/models/violation-decision-vo.d.ts +68 -0
- package/dist/models/violation-decision-vo.js +15 -0
- package/dist/models/violation-issue-type-enum.d.ts +84 -0
- package/dist/models/violation-issue-type-enum.js +88 -0
- package/dist/models/violation-responsibility-role-enum.d.ts +21 -0
- package/dist/models/violation-responsibility-role-enum.js +25 -0
- package/dist/models/violation-work-order-add-vo.d.ts +87 -0
- package/dist/models/violation-work-order-add-vo.js +15 -0
- package/dist/models/violation-work-order-details-dto.d.ts +151 -0
- package/dist/models/violation-work-order-details-dto.js +23 -0
- package/dist/models/violation-work-order-info.d.ts +106 -0
- package/dist/models/violation-work-order-info.js +15 -0
- package/dist/models/work-order-approval-vo.d.ts +24 -0
- package/dist/models/work-order-approval-vo.js +15 -0
- package/dist/models/work-order-circulation-vo.d.ts +12 -0
- package/dist/models/work-order-decision-vo.d.ts +32 -0
- package/dist/models/work-order-decision-vo.js +15 -0
- package/dist/models/work-order-ext-data.d.ts +32 -0
- package/dist/models/work-order-ext-data.js +15 -0
- package/dist/models/work-order-handler-dto.d.ts +61 -0
- package/dist/models/work-order-handler-dto.js +15 -0
- package/dist/models/work-order-internal-status-enum.d.ts +6 -0
- package/dist/models/work-order-internal-status-enum.js +7 -1
- package/dist/models/work-order-issue-type-enum.d.ts +10 -1
- package/dist/models/work-order-issue-type-enum.js +11 -2
- package/dist/models/work-order-settings-type-enum.d.ts +2 -7
- package/dist/models/work-order-settings-type-enum.js +2 -7
- package/dist/models/work-order-source-enum.d.ts +2 -0
- package/dist/models/work-order-source-enum.js +3 -1
- package/dist/models/{space-add-point-vo.d.ts → work-order-space-dto.d.ts} +14 -9
- package/dist/models/work-order-space-dto.js +15 -0
- package/dist/models/work-order-sponsor-dto.d.ts +48 -0
- package/dist/models/work-order-sponsor-dto.js +15 -0
- package/dist/models/work-order-surveillance-dto.d.ts +30 -0
- package/dist/models/work-order-surveillance-dto.js +15 -0
- package/dist/models/work-order-type-enum.d.ts +2 -0
- package/dist/models/work-order-type-enum.js +3 -1
- package/models/equipment-detail-dto.ts +8 -14
- package/models/equipment-point-edit-vo.ts +2 -8
- package/models/equipment-search-system-dto.ts +6 -12
- package/models/functional-area-enum.ts +36 -0
- package/models/get-user-wx200-response.ts +12 -12
- package/models/index.ts +41 -1
- package/models/installation-body-enum.ts +32 -0
- package/models/iot-device-status-enum.ts +32 -0
- package/models/ipage-access-vo.ts +6 -6
- package/models/json-result-list-surveillance-settings-details-dto.ts +72 -0
- package/models/json-result-network-monitor-repair-details-dto.ts +72 -0
- package/models/json-result-page-dto-surveillance-details-dto.ts +72 -0
- package/models/json-result-surveillance-details-dto.ts +72 -0
- package/models/json-result-surveillance-live-dto.ts +72 -0
- package/models/json-result-surveillance-settings-details-dto.ts +72 -0
- package/models/json-result-violation-work-order-details-dto.ts +72 -0
- package/models/network-monitor-repair-add-vo.ts +101 -0
- package/models/network-monitor-repair-decision-vo.ts +48 -0
- package/models/network-monitor-repair-details-dto.ts +197 -0
- package/models/network-repair-info.ts +42 -0
- package/models/page-dto-surveillance-details-dto.ts +39 -0
- package/models/park.ts +53 -0
- package/models/polling-surveillance-info.ts +36 -0
- package/models/process-network-monitor-repair-vo.ts +36 -0
- package/models/space-add-excel-dto.ts +6 -0
- package/models/space-add-vo.ts +9 -0
- package/models/space-detail-dto.ts +11 -2
- package/models/space-edit-vo.ts +9 -0
- package/models/space-industry-attribute.ts +35 -0
- package/models/space-point-dto.ts +3 -21
- package/models/space-tree-dto.ts +28 -19
- package/models/space.ts +51 -0
- package/models/surveillance-details-dto.ts +140 -0
- package/models/surveillance-live-dto.ts +54 -0
- package/models/surveillance-settings-details-dto.ts +69 -0
- package/models/surveillance-settings-polling-vo.ts +39 -0
- package/models/surveillance-update-vo.ts +74 -0
- package/models/surveillance.ts +59 -0
- package/models/sync-device-unit-vo.ts +186 -0
- package/models/sync-equipment-vo.ts +24 -0
- package/models/sys-user.ts +4 -4
- package/models/violation-center-attribute-enum.ts +31 -0
- package/models/violation-decision-vo.ts +80 -0
- package/models/violation-issue-type-enum.ts +94 -0
- package/models/violation-responsibility-role-enum.ts +31 -0
- package/models/violation-work-order-add-vo.ts +101 -0
- package/models/violation-work-order-details-dto.ts +182 -0
- package/models/violation-work-order-info.ts +122 -0
- package/models/work-order-approval-vo.ts +30 -0
- package/models/work-order-circulation-vo.ts +12 -0
- package/models/work-order-decision-vo.ts +42 -0
- package/models/work-order-ext-data.ts +42 -0
- package/models/work-order-handler-dto.ts +71 -0
- package/models/work-order-internal-status-enum.ts +7 -1
- package/models/work-order-issue-type-enum.ts +11 -2
- package/models/work-order-settings-type-enum.ts +2 -7
- package/models/work-order-source-enum.ts +3 -1
- package/models/{space-add-point-vo.ts → work-order-space-dto.ts} +14 -11
- package/models/work-order-sponsor-dto.ts +54 -0
- package/models/work-order-surveillance-dto.ts +36 -0
- package/models/work-order-type-enum.ts +3 -1
- package/package.json +1 -1
- /package/dist/esm/models/{space-add-point-vo.js → json-result-list-surveillance-settings-details-dto.js} +0 -0
- /package/dist/models/{space-add-point-vo.js → json-result-list-surveillance-settings-details-dto.js} +0 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OpenAPI definition
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
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 { Configuration } from '../configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import type { DevicesStatusUpdateVo } from '../models';
|
|
16
|
+
import type { JsonResultVoid } from '../models';
|
|
17
|
+
import type { SyncDeviceUnitVo } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* DeviceApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @summary 设备状态更新
|
|
26
|
+
* @param {DevicesStatusUpdateVo} devicesStatusUpdateVo
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
devicesStatus: (devicesStatusUpdateVo: DevicesStatusUpdateVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary 同步设备部件(iot推送至gizone)
|
|
34
|
+
* @param {SyncDeviceUnitVo} syncDeviceUnitVo
|
|
35
|
+
* @param {*} [options] Override http request option.
|
|
36
|
+
* @throws {RequiredError}
|
|
37
|
+
*/
|
|
38
|
+
syncDeviceUnit: (syncDeviceUnitVo: SyncDeviceUnitVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* DeviceApi - functional programming interface
|
|
42
|
+
* @export
|
|
43
|
+
*/
|
|
44
|
+
export declare const DeviceApiFp: (configuration?: Configuration) => {
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @summary 设备状态更新
|
|
48
|
+
* @param {DevicesStatusUpdateVo} devicesStatusUpdateVo
|
|
49
|
+
* @param {*} [options] Override http request option.
|
|
50
|
+
* @throws {RequiredError}
|
|
51
|
+
*/
|
|
52
|
+
devicesStatus(devicesStatusUpdateVo: DevicesStatusUpdateVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @summary 同步设备部件(iot推送至gizone)
|
|
56
|
+
* @param {SyncDeviceUnitVo} syncDeviceUnitVo
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
syncDeviceUnit(syncDeviceUnitVo: SyncDeviceUnitVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* DeviceApi - factory interface
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
export declare const DeviceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @summary 设备状态更新
|
|
70
|
+
* @param {DeviceApiDevicesStatusRequest} requestParameters Request parameters.
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
*/
|
|
74
|
+
devicesStatus(requestParameters: DeviceApiDevicesStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @summary 同步设备部件(iot推送至gizone)
|
|
78
|
+
* @param {DeviceApiSyncDeviceUnitRequest} requestParameters Request parameters.
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
syncDeviceUnit(requestParameters: DeviceApiSyncDeviceUnitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Request parameters for devicesStatus operation in DeviceApi.
|
|
86
|
+
* @export
|
|
87
|
+
* @interface DeviceApiDevicesStatusRequest
|
|
88
|
+
*/
|
|
89
|
+
export interface DeviceApiDevicesStatusRequest {
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {DevicesStatusUpdateVo}
|
|
93
|
+
* @memberof DeviceApiDevicesStatus
|
|
94
|
+
*/
|
|
95
|
+
readonly devicesStatusUpdateVo: DevicesStatusUpdateVo;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Request parameters for syncDeviceUnit operation in DeviceApi.
|
|
99
|
+
* @export
|
|
100
|
+
* @interface DeviceApiSyncDeviceUnitRequest
|
|
101
|
+
*/
|
|
102
|
+
export interface DeviceApiSyncDeviceUnitRequest {
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {SyncDeviceUnitVo}
|
|
106
|
+
* @memberof DeviceApiSyncDeviceUnit
|
|
107
|
+
*/
|
|
108
|
+
readonly syncDeviceUnitVo: SyncDeviceUnitVo;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* DeviceApi - object-oriented interface
|
|
112
|
+
* @export
|
|
113
|
+
* @class DeviceApi
|
|
114
|
+
* @extends {BaseAPI}
|
|
115
|
+
*/
|
|
116
|
+
export declare class DeviceApi extends BaseAPI {
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @summary 设备状态更新
|
|
120
|
+
* @param {DeviceApiDevicesStatusRequest} requestParameters Request parameters.
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
* @memberof DeviceApi
|
|
124
|
+
*/
|
|
125
|
+
devicesStatus(requestParameters: DeviceApiDevicesStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @summary 同步设备部件(iot推送至gizone)
|
|
129
|
+
* @param {DeviceApiSyncDeviceUnitRequest} requestParameters Request parameters.
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
* @memberof DeviceApi
|
|
133
|
+
*/
|
|
134
|
+
syncDeviceUnit(requestParameters: DeviceApiSyncDeviceUnitRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
135
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OpenAPI definition
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v0
|
|
8
|
+
*
|
|
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 globalAxios from 'axios';
|
|
24
|
+
// Some imports not used depending on template conditions
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
29
|
+
/**
|
|
30
|
+
* DeviceApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const DeviceApiAxiosParamCreator = function (configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 设备状态更新
|
|
38
|
+
* @param {DevicesStatusUpdateVo} devicesStatusUpdateVo
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
devicesStatus: (devicesStatusUpdateVo_1, ...args_1) => __awaiter(this, [devicesStatusUpdateVo_1, ...args_1], void 0, function* (devicesStatusUpdateVo, options = {}) {
|
|
43
|
+
// verify required parameter 'devicesStatusUpdateVo' is not null or undefined
|
|
44
|
+
assertParamExists('devicesStatus', 'devicesStatusUpdateVo', devicesStatusUpdateVo);
|
|
45
|
+
const localVarPath = `/gizone/iot/device/status`;
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
if (configuration) {
|
|
50
|
+
baseOptions = configuration.baseOptions;
|
|
51
|
+
}
|
|
52
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
53
|
+
const localVarHeaderParameter = {};
|
|
54
|
+
const localVarQueryParameter = {};
|
|
55
|
+
// authentication tokenScheme required
|
|
56
|
+
// http bearer authentication required
|
|
57
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
58
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
59
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
60
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
61
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
62
|
+
localVarRequestOptions.data = serializeDataIfNeeded(devicesStatusUpdateVo, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @summary 同步设备部件(iot推送至gizone)
|
|
71
|
+
* @param {SyncDeviceUnitVo} syncDeviceUnitVo
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
syncDeviceUnit: (syncDeviceUnitVo_1, ...args_1) => __awaiter(this, [syncDeviceUnitVo_1, ...args_1], void 0, function* (syncDeviceUnitVo, options = {}) {
|
|
76
|
+
// verify required parameter 'syncDeviceUnitVo' is not null or undefined
|
|
77
|
+
assertParamExists('syncDeviceUnit', 'syncDeviceUnitVo', syncDeviceUnitVo);
|
|
78
|
+
const localVarPath = `/gizone/iot/device/unit/sync`;
|
|
79
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81
|
+
let baseOptions;
|
|
82
|
+
if (configuration) {
|
|
83
|
+
baseOptions = configuration.baseOptions;
|
|
84
|
+
}
|
|
85
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
86
|
+
const localVarHeaderParameter = {};
|
|
87
|
+
const localVarQueryParameter = {};
|
|
88
|
+
// authentication tokenScheme required
|
|
89
|
+
// http bearer authentication required
|
|
90
|
+
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
91
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
92
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
93
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
94
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
95
|
+
localVarRequestOptions.data = serializeDataIfNeeded(syncDeviceUnitVo, localVarRequestOptions, configuration);
|
|
96
|
+
return {
|
|
97
|
+
url: toPathString(localVarUrlObj),
|
|
98
|
+
options: localVarRequestOptions,
|
|
99
|
+
};
|
|
100
|
+
}),
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
/**
|
|
104
|
+
* DeviceApi - functional programming interface
|
|
105
|
+
* @export
|
|
106
|
+
*/
|
|
107
|
+
export const DeviceApiFp = function (configuration) {
|
|
108
|
+
const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration);
|
|
109
|
+
return {
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @summary 设备状态更新
|
|
113
|
+
* @param {DevicesStatusUpdateVo} devicesStatusUpdateVo
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
devicesStatus(devicesStatusUpdateVo, options) {
|
|
118
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
119
|
+
var _a, _b, _c;
|
|
120
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.devicesStatus(devicesStatusUpdateVo, options);
|
|
121
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
122
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DeviceApi.devicesStatus']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
123
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
124
|
+
});
|
|
125
|
+
},
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @summary 同步设备部件(iot推送至gizone)
|
|
129
|
+
* @param {SyncDeviceUnitVo} syncDeviceUnitVo
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
syncDeviceUnit(syncDeviceUnitVo, options) {
|
|
134
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
135
|
+
var _a, _b, _c;
|
|
136
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.syncDeviceUnit(syncDeviceUnitVo, options);
|
|
137
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
138
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DeviceApi.syncDeviceUnit']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
139
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
140
|
+
});
|
|
141
|
+
},
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
/**
|
|
145
|
+
* DeviceApi - factory interface
|
|
146
|
+
* @export
|
|
147
|
+
*/
|
|
148
|
+
export const DeviceApiFactory = function (configuration, basePath, axios) {
|
|
149
|
+
const localVarFp = DeviceApiFp(configuration);
|
|
150
|
+
return {
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @summary 设备状态更新
|
|
154
|
+
* @param {DeviceApiDevicesStatusRequest} requestParameters Request parameters.
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
devicesStatus(requestParameters, options) {
|
|
159
|
+
return localVarFp.devicesStatus(requestParameters.devicesStatusUpdateVo, options).then((request) => request(axios, basePath));
|
|
160
|
+
},
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @summary 同步设备部件(iot推送至gizone)
|
|
164
|
+
* @param {DeviceApiSyncDeviceUnitRequest} requestParameters Request parameters.
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
syncDeviceUnit(requestParameters, options) {
|
|
169
|
+
return localVarFp.syncDeviceUnit(requestParameters.syncDeviceUnitVo, options).then((request) => request(axios, basePath));
|
|
170
|
+
},
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* DeviceApi - object-oriented interface
|
|
175
|
+
* @export
|
|
176
|
+
* @class DeviceApi
|
|
177
|
+
* @extends {BaseAPI}
|
|
178
|
+
*/
|
|
179
|
+
export class DeviceApi extends BaseAPI {
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary 设备状态更新
|
|
183
|
+
* @param {DeviceApiDevicesStatusRequest} requestParameters Request parameters.
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
* @memberof DeviceApi
|
|
187
|
+
*/
|
|
188
|
+
devicesStatus(requestParameters, options) {
|
|
189
|
+
return DeviceApiFp(this.configuration).devicesStatus(requestParameters.devicesStatusUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
*
|
|
193
|
+
* @summary 同步设备部件(iot推送至gizone)
|
|
194
|
+
* @param {DeviceApiSyncDeviceUnitRequest} requestParameters Request parameters.
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
* @memberof DeviceApi
|
|
198
|
+
*/
|
|
199
|
+
syncDeviceUnit(requestParameters, options) {
|
|
200
|
+
return DeviceApiFp(this.configuration).syncDeviceUnit(requestParameters.syncDeviceUnitVo, options).then((request) => request(this.axios, this.basePath));
|
|
201
|
+
}
|
|
202
|
+
}
|
|
@@ -115,7 +115,7 @@ export declare const IotApiAxiosParamCreator: (configuration?: Configuration) =>
|
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
|
|
118
|
+
devicesStatus1: (devicesStatusUpdateVo: DevicesStatusUpdateVo, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
119
|
/**
|
|
120
120
|
*
|
|
121
121
|
* @summary 导出设备数据记录
|
|
@@ -408,7 +408,7 @@ export declare const IotApiFp: (configuration?: Configuration) => {
|
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
409
409
|
* @throws {RequiredError}
|
|
410
410
|
*/
|
|
411
|
-
|
|
411
|
+
devicesStatus1(devicesStatusUpdateVo: DevicesStatusUpdateVo, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
412
412
|
/**
|
|
413
413
|
*
|
|
414
414
|
* @summary 导出设备数据记录
|
|
@@ -696,11 +696,11 @@ export declare const IotApiFactory: (configuration?: Configuration, basePath?: s
|
|
|
696
696
|
/**
|
|
697
697
|
*
|
|
698
698
|
* @summary 设备状态更新
|
|
699
|
-
* @param {
|
|
699
|
+
* @param {IotApiDevicesStatus1Request} requestParameters Request parameters.
|
|
700
700
|
* @param {*} [options] Override http request option.
|
|
701
701
|
* @throws {RequiredError}
|
|
702
702
|
*/
|
|
703
|
-
|
|
703
|
+
devicesStatus1(requestParameters: IotApiDevicesStatus1Request, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
704
704
|
/**
|
|
705
705
|
*
|
|
706
706
|
* @summary 导出设备数据记录
|
|
@@ -1000,15 +1000,15 @@ export interface IotApiDevicesSequenceMaximumRequest {
|
|
|
1000
1000
|
readonly recordStatisticsVO: RecordStatisticsVO;
|
|
1001
1001
|
}
|
|
1002
1002
|
/**
|
|
1003
|
-
* Request parameters for
|
|
1003
|
+
* Request parameters for devicesStatus1 operation in IotApi.
|
|
1004
1004
|
* @export
|
|
1005
|
-
* @interface
|
|
1005
|
+
* @interface IotApiDevicesStatus1Request
|
|
1006
1006
|
*/
|
|
1007
|
-
export interface
|
|
1007
|
+
export interface IotApiDevicesStatus1Request {
|
|
1008
1008
|
/**
|
|
1009
1009
|
*
|
|
1010
1010
|
* @type {DevicesStatusUpdateVo}
|
|
1011
|
-
* @memberof
|
|
1011
|
+
* @memberof IotApiDevicesStatus1
|
|
1012
1012
|
*/
|
|
1013
1013
|
readonly devicesStatusUpdateVo: DevicesStatusUpdateVo;
|
|
1014
1014
|
}
|
|
@@ -1508,12 +1508,12 @@ export declare class IotApi extends BaseAPI {
|
|
|
1508
1508
|
/**
|
|
1509
1509
|
*
|
|
1510
1510
|
* @summary 设备状态更新
|
|
1511
|
-
* @param {
|
|
1511
|
+
* @param {IotApiDevicesStatus1Request} requestParameters Request parameters.
|
|
1512
1512
|
* @param {*} [options] Override http request option.
|
|
1513
1513
|
* @throws {RequiredError}
|
|
1514
1514
|
* @memberof IotApi
|
|
1515
1515
|
*/
|
|
1516
|
-
|
|
1516
|
+
devicesStatus1(requestParameters: IotApiDevicesStatus1Request, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any>>;
|
|
1517
1517
|
/**
|
|
1518
1518
|
*
|
|
1519
1519
|
* @summary 导出设备数据记录
|
package/dist/esm/apis/iot-api.js
CHANGED
|
@@ -311,9 +311,9 @@ export const IotApiAxiosParamCreator = function (configuration) {
|
|
|
311
311
|
* @param {*} [options] Override http request option.
|
|
312
312
|
* @throws {RequiredError}
|
|
313
313
|
*/
|
|
314
|
-
|
|
314
|
+
devicesStatus1: (devicesStatusUpdateVo_1, ...args_1) => __awaiter(this, [devicesStatusUpdateVo_1, ...args_1], void 0, function* (devicesStatusUpdateVo, options = {}) {
|
|
315
315
|
// verify required parameter 'devicesStatusUpdateVo' is not null or undefined
|
|
316
|
-
assertParamExists('
|
|
316
|
+
assertParamExists('devicesStatus1', 'devicesStatusUpdateVo', devicesStatusUpdateVo);
|
|
317
317
|
const localVarPath = `/gizone/internet/devices/status`;
|
|
318
318
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
319
319
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -1393,12 +1393,12 @@ export const IotApiFp = function (configuration) {
|
|
|
1393
1393
|
* @param {*} [options] Override http request option.
|
|
1394
1394
|
* @throws {RequiredError}
|
|
1395
1395
|
*/
|
|
1396
|
-
|
|
1396
|
+
devicesStatus1(devicesStatusUpdateVo, options) {
|
|
1397
1397
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1398
1398
|
var _a, _b, _c;
|
|
1399
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
1399
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.devicesStatus1(devicesStatusUpdateVo, options);
|
|
1400
1400
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1401
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['IotApi.
|
|
1401
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['IotApi.devicesStatus1']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1402
1402
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1403
1403
|
});
|
|
1404
1404
|
},
|
|
@@ -1908,12 +1908,12 @@ export const IotApiFactory = function (configuration, basePath, axios) {
|
|
|
1908
1908
|
/**
|
|
1909
1909
|
*
|
|
1910
1910
|
* @summary 设备状态更新
|
|
1911
|
-
* @param {
|
|
1911
|
+
* @param {IotApiDevicesStatus1Request} requestParameters Request parameters.
|
|
1912
1912
|
* @param {*} [options] Override http request option.
|
|
1913
1913
|
* @throws {RequiredError}
|
|
1914
1914
|
*/
|
|
1915
|
-
|
|
1916
|
-
return localVarFp.
|
|
1915
|
+
devicesStatus1(requestParameters, options) {
|
|
1916
|
+
return localVarFp.devicesStatus1(requestParameters.devicesStatusUpdateVo, options).then((request) => request(axios, basePath));
|
|
1917
1917
|
},
|
|
1918
1918
|
/**
|
|
1919
1919
|
*
|
|
@@ -2264,13 +2264,13 @@ export class IotApi extends BaseAPI {
|
|
|
2264
2264
|
/**
|
|
2265
2265
|
*
|
|
2266
2266
|
* @summary 设备状态更新
|
|
2267
|
-
* @param {
|
|
2267
|
+
* @param {IotApiDevicesStatus1Request} requestParameters Request parameters.
|
|
2268
2268
|
* @param {*} [options] Override http request option.
|
|
2269
2269
|
* @throws {RequiredError}
|
|
2270
2270
|
* @memberof IotApi
|
|
2271
2271
|
*/
|
|
2272
|
-
|
|
2273
|
-
return IotApiFp(this.configuration).
|
|
2272
|
+
devicesStatus1(requestParameters, options) {
|
|
2273
|
+
return IotApiFp(this.configuration).devicesStatus1(requestParameters.devicesStatusUpdateVo, options).then((request) => request(this.axios, this.basePath));
|
|
2274
2274
|
}
|
|
2275
2275
|
/**
|
|
2276
2276
|
*
|