@gizone/rrs-client 4.1.0-alpha.112 → 4.1.0-alpha.113
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 +2 -46
- package/api.ts +1 -5
- package/apis/iot-api.ts +15 -15
- package/apis/space-api.ts +15 -25
- package/apis/surveillance-api.ts +983 -530
- package/apis/{surveillance-roi-controller-api.ts → surveillance-roi-api.ts} +64 -64
- package/apis/work-order-api.ts +0 -671
- package/dist/api.d.ts +1 -5
- package/dist/api.js +1 -5
- package/dist/apis/iot-api.d.ts +10 -10
- package/dist/apis/iot-api.js +11 -11
- package/dist/apis/space-api.d.ts +7 -14
- package/dist/apis/space-api.js +11 -16
- package/dist/apis/surveillance-api.d.ts +541 -353
- package/dist/apis/surveillance-api.js +777 -332
- package/dist/apis/{surveillance-roi-controller-api.d.ts → surveillance-roi-api.d.ts} +54 -54
- package/dist/apis/{surveillance-roi-controller-api.js → surveillance-roi-api.js} +36 -36
- package/dist/apis/work-order-api.d.ts +0 -354
- package/dist/apis/work-order-api.js +0 -503
- package/dist/esm/api.d.ts +1 -5
- package/dist/esm/api.js +1 -5
- package/dist/esm/apis/iot-api.d.ts +10 -10
- package/dist/esm/apis/iot-api.js +11 -11
- package/dist/esm/apis/space-api.d.ts +7 -14
- package/dist/esm/apis/space-api.js +11 -16
- package/dist/esm/apis/surveillance-api.d.ts +541 -353
- package/dist/esm/apis/surveillance-api.js +776 -331
- package/dist/esm/apis/{surveillance-roi-controller-api.d.ts → surveillance-roi-api.d.ts} +54 -54
- package/dist/esm/apis/{surveillance-roi-controller-api.js → surveillance-roi-api.js} +31 -31
- package/dist/esm/apis/work-order-api.d.ts +0 -354
- package/dist/esm/apis/work-order-api.js +0 -503
- package/dist/esm/models/equipment-detail-dto.d.ts +14 -8
- package/dist/esm/models/equipment-point-edit-vo.d.ts +8 -2
- package/dist/esm/models/equipment-search-system-dto.d.ts +12 -6
- package/dist/esm/models/get-user-wx200-response.d.ts +9 -9
- package/dist/esm/models/index.d.ts +1 -41
- package/dist/esm/models/index.js +1 -41
- package/dist/esm/models/ipage-access-vo.d.ts +6 -6
- package/dist/esm/models/space-add-excel-dto.d.ts +0 -6
- package/dist/esm/models/{work-order-space-dto.d.ts → space-add-point-vo.d.ts} +9 -14
- package/dist/esm/models/space-add-vo.d.ts +0 -7
- package/dist/esm/models/space-detail-dto.d.ts +2 -9
- package/dist/esm/models/space-edit-vo.d.ts +0 -7
- package/dist/esm/models/space-point-dto.d.ts +21 -3
- package/dist/esm/models/space-tree-dto.d.ts +19 -26
- package/dist/esm/models/sync-equipment-vo.d.ts +0 -24
- package/dist/esm/models/work-order-circulation-vo.d.ts +0 -12
- package/dist/esm/models/work-order-internal-status-enum.d.ts +0 -6
- package/dist/esm/models/work-order-internal-status-enum.js +1 -7
- package/dist/esm/models/work-order-issue-type-enum.d.ts +1 -10
- package/dist/esm/models/work-order-issue-type-enum.js +2 -11
- package/dist/esm/models/work-order-settings-type-enum.d.ts +7 -2
- package/dist/esm/models/work-order-settings-type-enum.js +7 -2
- package/dist/esm/models/work-order-source-enum.d.ts +0 -2
- package/dist/esm/models/work-order-source-enum.js +1 -3
- package/dist/esm/models/work-order-type-enum.d.ts +0 -2
- package/dist/esm/models/work-order-type-enum.js +1 -3
- package/dist/models/equipment-detail-dto.d.ts +14 -8
- package/dist/models/equipment-point-edit-vo.d.ts +8 -2
- package/dist/models/equipment-search-system-dto.d.ts +12 -6
- package/dist/models/get-user-wx200-response.d.ts +9 -9
- package/dist/models/index.d.ts +1 -41
- package/dist/models/index.js +1 -41
- package/dist/models/ipage-access-vo.d.ts +6 -6
- package/dist/models/space-add-excel-dto.d.ts +0 -6
- package/dist/models/{work-order-space-dto.d.ts → space-add-point-vo.d.ts} +9 -14
- package/dist/models/space-add-vo.d.ts +0 -7
- package/dist/models/space-detail-dto.d.ts +2 -9
- package/dist/models/space-edit-vo.d.ts +0 -7
- package/dist/models/space-point-dto.d.ts +21 -3
- package/dist/models/space-tree-dto.d.ts +19 -26
- package/dist/models/sync-equipment-vo.d.ts +0 -24
- package/dist/models/work-order-circulation-vo.d.ts +0 -12
- package/dist/models/work-order-internal-status-enum.d.ts +0 -6
- package/dist/models/work-order-internal-status-enum.js +1 -7
- package/dist/models/work-order-issue-type-enum.d.ts +1 -10
- package/dist/models/work-order-issue-type-enum.js +2 -11
- package/dist/models/work-order-settings-type-enum.d.ts +7 -2
- package/dist/models/work-order-settings-type-enum.js +7 -2
- package/dist/models/work-order-source-enum.d.ts +0 -2
- package/dist/models/work-order-source-enum.js +1 -3
- package/dist/models/work-order-type-enum.d.ts +0 -2
- package/dist/models/work-order-type-enum.js +1 -3
- package/models/equipment-detail-dto.ts +14 -8
- package/models/equipment-point-edit-vo.ts +8 -2
- package/models/equipment-search-system-dto.ts +12 -6
- package/models/get-user-wx200-response.ts +9 -9
- package/models/index.ts +1 -41
- package/models/ipage-access-vo.ts +6 -6
- package/models/space-add-excel-dto.ts +0 -6
- package/models/{work-order-space-dto.ts → space-add-point-vo.ts} +11 -14
- package/models/space-add-vo.ts +0 -9
- package/models/space-detail-dto.ts +2 -11
- package/models/space-edit-vo.ts +0 -9
- package/models/space-point-dto.ts +21 -3
- package/models/space-tree-dto.ts +19 -28
- package/models/sync-equipment-vo.ts +0 -24
- package/models/work-order-circulation-vo.ts +0 -12
- package/models/work-order-internal-status-enum.ts +1 -7
- package/models/work-order-issue-type-enum.ts +2 -11
- package/models/work-order-settings-type-enum.ts +7 -2
- package/models/work-order-source-enum.ts +1 -3
- package/models/work-order-type-enum.ts +1 -3
- package/package.json +1 -1
- package/apis/device-api.ts +0 -244
- package/apis/monitor-controller-api.ts +0 -1260
- package/apis/monitor-sort-controller-api.ts +0 -499
- package/apis/surveillance-settings-api.ts +0 -583
- package/dist/apis/device-api.d.ts +0 -135
- package/dist/apis/device-api.js +0 -209
- package/dist/apis/monitor-controller-api.d.ts +0 -659
- package/dist/apis/monitor-controller-api.js +0 -989
- package/dist/apis/monitor-sort-controller-api.d.ts +0 -259
- package/dist/apis/monitor-sort-controller-api.js +0 -416
- package/dist/apis/surveillance-settings-api.d.ts +0 -302
- package/dist/apis/surveillance-settings-api.js +0 -486
- package/dist/esm/apis/device-api.d.ts +0 -135
- package/dist/esm/apis/device-api.js +0 -202
- package/dist/esm/apis/monitor-controller-api.d.ts +0 -659
- package/dist/esm/apis/monitor-controller-api.js +0 -982
- package/dist/esm/apis/monitor-sort-controller-api.d.ts +0 -259
- package/dist/esm/apis/monitor-sort-controller-api.js +0 -409
- package/dist/esm/apis/surveillance-settings-api.d.ts +0 -302
- package/dist/esm/apis/surveillance-settings-api.js +0 -479
- package/dist/esm/models/functional-area-enum.d.ts +0 -26
- package/dist/esm/models/functional-area-enum.js +0 -27
- package/dist/esm/models/installation-body-enum.d.ts +0 -22
- package/dist/esm/models/installation-body-enum.js +0 -23
- package/dist/esm/models/iot-device-status-enum.d.ts +0 -22
- package/dist/esm/models/iot-device-status-enum.js +0 -23
- package/dist/esm/models/json-result-list-surveillance-settings-details-dto.d.ts +0 -62
- package/dist/esm/models/json-result-network-monitor-repair-details-dto.d.ts +0 -62
- package/dist/esm/models/json-result-network-monitor-repair-details-dto.js +0 -14
- package/dist/esm/models/json-result-page-dto-surveillance-details-dto.d.ts +0 -62
- package/dist/esm/models/json-result-page-dto-surveillance-details-dto.js +0 -14
- package/dist/esm/models/json-result-surveillance-details-dto.d.ts +0 -62
- package/dist/esm/models/json-result-surveillance-details-dto.js +0 -14
- package/dist/esm/models/json-result-surveillance-live-dto.d.ts +0 -62
- package/dist/esm/models/json-result-surveillance-live-dto.js +0 -14
- package/dist/esm/models/json-result-surveillance-settings-details-dto.d.ts +0 -62
- package/dist/esm/models/json-result-surveillance-settings-details-dto.js +0 -14
- package/dist/esm/models/json-result-violation-work-order-details-dto.d.ts +0 -62
- package/dist/esm/models/json-result-violation-work-order-details-dto.js +0 -14
- package/dist/esm/models/network-monitor-repair-add-vo.d.ts +0 -87
- package/dist/esm/models/network-monitor-repair-add-vo.js +0 -14
- package/dist/esm/models/network-monitor-repair-decision-vo.d.ts +0 -42
- package/dist/esm/models/network-monitor-repair-decision-vo.js +0 -14
- package/dist/esm/models/network-monitor-repair-details-dto.d.ts +0 -164
- package/dist/esm/models/network-monitor-repair-details-dto.js +0 -20
- package/dist/esm/models/network-repair-info.d.ts +0 -36
- package/dist/esm/models/network-repair-info.js +0 -14
- package/dist/esm/models/page-dto-surveillance-details-dto.d.ts +0 -31
- package/dist/esm/models/page-dto-surveillance-details-dto.js +0 -14
- package/dist/esm/models/park.d.ts +0 -43
- package/dist/esm/models/park.js +0 -14
- package/dist/esm/models/polling-surveillance-info.d.ts +0 -30
- package/dist/esm/models/polling-surveillance-info.js +0 -14
- package/dist/esm/models/process-network-monitor-repair-vo.d.ts +0 -30
- package/dist/esm/models/process-network-monitor-repair-vo.js +0 -14
- package/dist/esm/models/space-industry-attribute.d.ts +0 -25
- package/dist/esm/models/space-industry-attribute.js +0 -26
- package/dist/esm/models/space.d.ts +0 -43
- package/dist/esm/models/space.js +0 -14
- package/dist/esm/models/surveillance-details-dto.d.ts +0 -124
- package/dist/esm/models/surveillance-details-dto.js +0 -14
- package/dist/esm/models/surveillance-live-dto.d.ts +0 -48
- package/dist/esm/models/surveillance-live-dto.js +0 -14
- package/dist/esm/models/surveillance-settings-details-dto.d.ts +0 -57
- package/dist/esm/models/surveillance-settings-details-dto.js +0 -14
- package/dist/esm/models/surveillance-settings-polling-vo.d.ts +0 -31
- package/dist/esm/models/surveillance-settings-polling-vo.js +0 -14
- package/dist/esm/models/surveillance-update-vo.d.ts +0 -62
- package/dist/esm/models/surveillance-update-vo.js +0 -14
- package/dist/esm/models/surveillance.d.ts +0 -49
- package/dist/esm/models/surveillance.js +0 -14
- package/dist/esm/models/sync-device-unit-vo.d.ts +0 -180
- package/dist/esm/models/sync-device-unit-vo.js +0 -14
- package/dist/esm/models/violation-center-attribute-enum.d.ts +0 -21
- package/dist/esm/models/violation-center-attribute-enum.js +0 -22
- package/dist/esm/models/violation-decision-vo.d.ts +0 -68
- package/dist/esm/models/violation-decision-vo.js +0 -14
- package/dist/esm/models/violation-issue-type-enum.d.ts +0 -84
- package/dist/esm/models/violation-issue-type-enum.js +0 -85
- package/dist/esm/models/violation-responsibility-role-enum.d.ts +0 -21
- package/dist/esm/models/violation-responsibility-role-enum.js +0 -22
- package/dist/esm/models/violation-work-order-add-vo.d.ts +0 -87
- package/dist/esm/models/violation-work-order-add-vo.js +0 -14
- package/dist/esm/models/violation-work-order-details-dto.d.ts +0 -151
- package/dist/esm/models/violation-work-order-details-dto.js +0 -20
- package/dist/esm/models/violation-work-order-info.d.ts +0 -106
- package/dist/esm/models/violation-work-order-info.js +0 -14
- package/dist/esm/models/work-order-approval-vo.d.ts +0 -24
- package/dist/esm/models/work-order-approval-vo.js +0 -14
- package/dist/esm/models/work-order-decision-vo.d.ts +0 -32
- package/dist/esm/models/work-order-decision-vo.js +0 -14
- package/dist/esm/models/work-order-ext-data.d.ts +0 -32
- package/dist/esm/models/work-order-ext-data.js +0 -14
- package/dist/esm/models/work-order-handler-dto.d.ts +0 -61
- package/dist/esm/models/work-order-handler-dto.js +0 -14
- package/dist/esm/models/work-order-space-dto.js +0 -14
- package/dist/esm/models/work-order-sponsor-dto.d.ts +0 -48
- package/dist/esm/models/work-order-sponsor-dto.js +0 -14
- package/dist/esm/models/work-order-surveillance-dto.d.ts +0 -30
- package/dist/esm/models/work-order-surveillance-dto.js +0 -14
- package/dist/models/functional-area-enum.d.ts +0 -26
- package/dist/models/functional-area-enum.js +0 -30
- package/dist/models/installation-body-enum.d.ts +0 -22
- package/dist/models/installation-body-enum.js +0 -26
- package/dist/models/iot-device-status-enum.d.ts +0 -22
- package/dist/models/iot-device-status-enum.js +0 -26
- package/dist/models/json-result-list-surveillance-settings-details-dto.d.ts +0 -62
- package/dist/models/json-result-network-monitor-repair-details-dto.d.ts +0 -62
- package/dist/models/json-result-network-monitor-repair-details-dto.js +0 -15
- package/dist/models/json-result-page-dto-surveillance-details-dto.d.ts +0 -62
- package/dist/models/json-result-page-dto-surveillance-details-dto.js +0 -15
- package/dist/models/json-result-surveillance-details-dto.d.ts +0 -62
- package/dist/models/json-result-surveillance-details-dto.js +0 -15
- package/dist/models/json-result-surveillance-live-dto.d.ts +0 -62
- package/dist/models/json-result-surveillance-live-dto.js +0 -15
- package/dist/models/json-result-surveillance-settings-details-dto.d.ts +0 -62
- package/dist/models/json-result-surveillance-settings-details-dto.js +0 -15
- package/dist/models/json-result-violation-work-order-details-dto.d.ts +0 -62
- package/dist/models/json-result-violation-work-order-details-dto.js +0 -15
- package/dist/models/network-monitor-repair-add-vo.d.ts +0 -87
- package/dist/models/network-monitor-repair-add-vo.js +0 -15
- package/dist/models/network-monitor-repair-decision-vo.d.ts +0 -42
- package/dist/models/network-monitor-repair-decision-vo.js +0 -15
- package/dist/models/network-monitor-repair-details-dto.d.ts +0 -164
- package/dist/models/network-monitor-repair-details-dto.js +0 -23
- package/dist/models/network-repair-info.d.ts +0 -36
- package/dist/models/network-repair-info.js +0 -15
- package/dist/models/page-dto-surveillance-details-dto.d.ts +0 -31
- package/dist/models/page-dto-surveillance-details-dto.js +0 -15
- package/dist/models/park.d.ts +0 -43
- package/dist/models/park.js +0 -15
- package/dist/models/polling-surveillance-info.d.ts +0 -30
- package/dist/models/polling-surveillance-info.js +0 -15
- package/dist/models/process-network-monitor-repair-vo.d.ts +0 -30
- package/dist/models/process-network-monitor-repair-vo.js +0 -15
- package/dist/models/space-industry-attribute.d.ts +0 -25
- package/dist/models/space-industry-attribute.js +0 -29
- package/dist/models/space.d.ts +0 -43
- package/dist/models/space.js +0 -15
- package/dist/models/surveillance-details-dto.d.ts +0 -124
- package/dist/models/surveillance-details-dto.js +0 -15
- package/dist/models/surveillance-live-dto.d.ts +0 -48
- package/dist/models/surveillance-live-dto.js +0 -15
- package/dist/models/surveillance-settings-details-dto.d.ts +0 -57
- package/dist/models/surveillance-settings-details-dto.js +0 -15
- package/dist/models/surveillance-settings-polling-vo.d.ts +0 -31
- package/dist/models/surveillance-settings-polling-vo.js +0 -15
- package/dist/models/surveillance-update-vo.d.ts +0 -62
- package/dist/models/surveillance-update-vo.js +0 -15
- package/dist/models/surveillance.d.ts +0 -49
- package/dist/models/surveillance.js +0 -15
- package/dist/models/sync-device-unit-vo.d.ts +0 -180
- package/dist/models/sync-device-unit-vo.js +0 -15
- package/dist/models/violation-center-attribute-enum.d.ts +0 -21
- package/dist/models/violation-center-attribute-enum.js +0 -25
- package/dist/models/violation-decision-vo.d.ts +0 -68
- package/dist/models/violation-decision-vo.js +0 -15
- package/dist/models/violation-issue-type-enum.d.ts +0 -84
- package/dist/models/violation-issue-type-enum.js +0 -88
- package/dist/models/violation-responsibility-role-enum.d.ts +0 -21
- package/dist/models/violation-responsibility-role-enum.js +0 -25
- package/dist/models/violation-work-order-add-vo.d.ts +0 -87
- package/dist/models/violation-work-order-add-vo.js +0 -15
- package/dist/models/violation-work-order-details-dto.d.ts +0 -151
- package/dist/models/violation-work-order-details-dto.js +0 -23
- package/dist/models/violation-work-order-info.d.ts +0 -106
- package/dist/models/violation-work-order-info.js +0 -15
- package/dist/models/work-order-approval-vo.d.ts +0 -24
- package/dist/models/work-order-approval-vo.js +0 -15
- package/dist/models/work-order-decision-vo.d.ts +0 -32
- package/dist/models/work-order-decision-vo.js +0 -15
- package/dist/models/work-order-ext-data.d.ts +0 -32
- package/dist/models/work-order-ext-data.js +0 -15
- package/dist/models/work-order-handler-dto.d.ts +0 -61
- package/dist/models/work-order-handler-dto.js +0 -15
- package/dist/models/work-order-space-dto.js +0 -15
- package/dist/models/work-order-sponsor-dto.d.ts +0 -48
- package/dist/models/work-order-sponsor-dto.js +0 -15
- package/dist/models/work-order-surveillance-dto.d.ts +0 -30
- package/dist/models/work-order-surveillance-dto.js +0 -15
- package/models/functional-area-enum.ts +0 -36
- package/models/installation-body-enum.ts +0 -32
- package/models/iot-device-status-enum.ts +0 -32
- package/models/json-result-list-surveillance-settings-details-dto.ts +0 -72
- package/models/json-result-network-monitor-repair-details-dto.ts +0 -72
- package/models/json-result-page-dto-surveillance-details-dto.ts +0 -72
- package/models/json-result-surveillance-details-dto.ts +0 -72
- package/models/json-result-surveillance-live-dto.ts +0 -72
- package/models/json-result-surveillance-settings-details-dto.ts +0 -72
- package/models/json-result-violation-work-order-details-dto.ts +0 -72
- package/models/network-monitor-repair-add-vo.ts +0 -101
- package/models/network-monitor-repair-decision-vo.ts +0 -48
- package/models/network-monitor-repair-details-dto.ts +0 -197
- package/models/network-repair-info.ts +0 -42
- package/models/page-dto-surveillance-details-dto.ts +0 -39
- package/models/park.ts +0 -53
- package/models/polling-surveillance-info.ts +0 -36
- package/models/process-network-monitor-repair-vo.ts +0 -36
- package/models/space-industry-attribute.ts +0 -35
- package/models/space.ts +0 -51
- package/models/surveillance-details-dto.ts +0 -140
- package/models/surveillance-live-dto.ts +0 -54
- package/models/surveillance-settings-details-dto.ts +0 -69
- package/models/surveillance-settings-polling-vo.ts +0 -39
- package/models/surveillance-update-vo.ts +0 -74
- package/models/surveillance.ts +0 -59
- package/models/sync-device-unit-vo.ts +0 -186
- package/models/violation-center-attribute-enum.ts +0 -31
- package/models/violation-decision-vo.ts +0 -80
- package/models/violation-issue-type-enum.ts +0 -94
- package/models/violation-responsibility-role-enum.ts +0 -31
- package/models/violation-work-order-add-vo.ts +0 -101
- package/models/violation-work-order-details-dto.ts +0 -182
- package/models/violation-work-order-info.ts +0 -122
- package/models/work-order-approval-vo.ts +0 -30
- package/models/work-order-decision-vo.ts +0 -42
- package/models/work-order-ext-data.ts +0 -42
- package/models/work-order-handler-dto.ts +0 -71
- package/models/work-order-sponsor-dto.ts +0 -54
- package/models/work-order-surveillance-dto.ts +0 -36
- /package/dist/esm/models/{json-result-list-surveillance-settings-details-dto.js → space-add-point-vo.js} +0 -0
- /package/dist/models/{json-result-list-surveillance-settings-details-dto.js → space-add-point-vo.js} +0 -0
|
@@ -1,202 +0,0 @@
|
|
|
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
|
-
}
|