@gizone/rrs-client 4.2.9-alpha.527 → 4.2.9-alpha.538
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 +15 -0
- package/api.ts +1 -0
- package/apis/device-api.ts +91 -0
- package/apis/energy-cost-controller-api.ts +994 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/apis/device-api.d.ts +47 -0
- package/dist/apis/device-api.js +70 -0
- package/dist/apis/energy-cost-controller-api.d.ts +542 -0
- package/dist/apis/energy-cost-controller-api.js +751 -0
- package/dist/esm/api.d.ts +1 -0
- package/dist/esm/api.js +1 -0
- package/dist/esm/apis/device-api.d.ts +47 -0
- package/dist/esm/apis/device-api.js +70 -0
- package/dist/esm/apis/energy-cost-controller-api.d.ts +542 -0
- package/dist/esm/apis/energy-cost-controller-api.js +744 -0
- package/dist/esm/models/energy-cost-add-record-dto.d.ts +160 -0
- package/dist/esm/models/energy-cost-add-record-dto.js +36 -0
- package/dist/esm/models/energy-cost-add-setting-dto.d.ts +60 -0
- package/dist/esm/models/energy-cost-add-setting-dto.js +23 -0
- package/dist/esm/models/energy-cost-month-setting-list-vo.d.ts +102 -0
- package/dist/esm/models/energy-cost-month-setting-list-vo.js +14 -0
- package/dist/esm/models/energy-cost-record-info-vo.d.ts +232 -0
- package/dist/esm/models/energy-cost-record-info-vo.js +36 -0
- package/dist/esm/models/energy-cost-scenarios-info-vo.d.ts +142 -0
- package/dist/esm/models/energy-cost-scenarios-info-vo.js +32 -0
- package/dist/esm/models/energy-cost-update-setting-dto.d.ts +60 -0
- package/dist/esm/models/energy-cost-update-setting-dto.js +23 -0
- package/dist/esm/models/index.d.ts +14 -0
- package/dist/esm/models/index.js +14 -0
- package/dist/esm/models/iot-device-unit-delete-dto.d.ts +42 -0
- package/dist/esm/models/iot-device-unit-delete-dto.js +14 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.d.ts +62 -0
- package/dist/esm/models/ipage-energy-cost-record-info-vo.js +14 -0
- package/dist/esm/models/item.d.ts +77 -0
- package/dist/esm/models/item.js +28 -0
- package/dist/esm/models/json-result-energy-cost-record-info-vo.d.ts +62 -0
- package/dist/esm/models/json-result-energy-cost-record-info-vo.js +14 -0
- package/dist/esm/models/json-result-ipage-energy-cost-record-info-vo.d.ts +62 -0
- package/dist/esm/models/json-result-ipage-energy-cost-record-info-vo.js +14 -0
- package/dist/esm/models/json-result-list-energy-cost-month-setting-list-vo.d.ts +62 -0
- package/dist/esm/models/json-result-list-energy-cost-month-setting-list-vo.js +14 -0
- package/dist/esm/models/json-result-map-string-object.d.ts +63 -0
- package/dist/esm/models/json-result-map-string-object.js +14 -0
- package/dist/esm/models/surveillance-batch-import-template-dto.d.ts +7 -0
- package/dist/esm/models/surveillance-entity.d.ts +171 -0
- package/dist/esm/models/surveillance-entity.js +14 -0
- package/dist/models/energy-cost-add-record-dto.d.ts +160 -0
- package/dist/models/energy-cost-add-record-dto.js +39 -0
- package/dist/models/energy-cost-add-setting-dto.d.ts +60 -0
- package/dist/models/energy-cost-add-setting-dto.js +26 -0
- package/dist/models/energy-cost-month-setting-list-vo.d.ts +102 -0
- package/dist/models/energy-cost-month-setting-list-vo.js +15 -0
- package/dist/models/energy-cost-record-info-vo.d.ts +232 -0
- package/dist/models/energy-cost-record-info-vo.js +39 -0
- package/dist/models/energy-cost-scenarios-info-vo.d.ts +142 -0
- package/dist/models/energy-cost-scenarios-info-vo.js +35 -0
- package/dist/models/energy-cost-update-setting-dto.d.ts +60 -0
- package/dist/models/energy-cost-update-setting-dto.js +26 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/dist/models/iot-device-unit-delete-dto.d.ts +42 -0
- package/dist/models/iot-device-unit-delete-dto.js +15 -0
- package/dist/models/ipage-energy-cost-record-info-vo.d.ts +62 -0
- package/dist/models/ipage-energy-cost-record-info-vo.js +15 -0
- package/dist/models/item.d.ts +77 -0
- package/dist/models/item.js +31 -0
- package/dist/models/json-result-energy-cost-record-info-vo.d.ts +62 -0
- package/dist/models/json-result-energy-cost-record-info-vo.js +15 -0
- package/dist/models/json-result-ipage-energy-cost-record-info-vo.d.ts +62 -0
- package/dist/models/json-result-ipage-energy-cost-record-info-vo.js +15 -0
- package/dist/models/json-result-list-energy-cost-month-setting-list-vo.d.ts +62 -0
- package/dist/models/json-result-list-energy-cost-month-setting-list-vo.js +15 -0
- package/dist/models/json-result-map-string-object.d.ts +63 -0
- package/dist/models/json-result-map-string-object.js +15 -0
- package/dist/models/surveillance-batch-import-template-dto.d.ts +7 -0
- package/dist/models/surveillance-entity.d.ts +171 -0
- package/dist/models/surveillance-entity.js +15 -0
- package/models/energy-cost-add-record-dto.ts +174 -0
- package/models/energy-cost-add-setting-dto.ts +70 -0
- package/models/energy-cost-month-setting-list-vo.ts +108 -0
- package/models/energy-cost-record-info-vo.ts +246 -0
- package/models/energy-cost-scenarios-info-vo.ts +153 -0
- package/models/energy-cost-update-setting-dto.ts +70 -0
- package/models/index.ts +14 -0
- package/models/iot-device-unit-delete-dto.ts +48 -0
- package/models/ipage-energy-cost-record-info-vo.ts +70 -0
- package/models/item.ts +87 -0
- package/models/json-result-energy-cost-record-info-vo.ts +72 -0
- package/models/json-result-ipage-energy-cost-record-info-vo.ts +72 -0
- package/models/json-result-list-energy-cost-month-setting-list-vo.ts +72 -0
- package/models/json-result-map-string-object.ts +69 -0
- package/models/surveillance-batch-import-template-dto.ts +9 -0
- package/models/surveillance-entity.ts +185 -0
- package/ossutil.log +1050 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './apis/common-api';
|
|
|
18
18
|
export * from './apis/dashboard-api';
|
|
19
19
|
export * from './apis/device-api';
|
|
20
20
|
export * from './apis/disaster-warning-standard-api';
|
|
21
|
+
export * from './apis/energy-cost-controller-api';
|
|
21
22
|
export * from './apis/equipment-api';
|
|
22
23
|
export * from './apis/excel-language-controller-api';
|
|
23
24
|
export * from './apis/hwork-api';
|
package/dist/api.js
CHANGED
|
@@ -36,6 +36,7 @@ __exportStar(require("./apis/common-api"), exports);
|
|
|
36
36
|
__exportStar(require("./apis/dashboard-api"), exports);
|
|
37
37
|
__exportStar(require("./apis/device-api"), exports);
|
|
38
38
|
__exportStar(require("./apis/disaster-warning-standard-api"), exports);
|
|
39
|
+
__exportStar(require("./apis/energy-cost-controller-api"), exports);
|
|
39
40
|
__exportStar(require("./apis/equipment-api"), exports);
|
|
40
41
|
__exportStar(require("./apis/excel-language-controller-api"), exports);
|
|
41
42
|
__exportStar(require("./apis/hwork-api"), exports);
|
|
@@ -13,6 +13,7 @@ import type { Configuration } from '../configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import { type RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import type { DevicesStatusUpdateVo } from '../models';
|
|
16
|
+
import type { IotDeviceUnitDeleteDTO } from '../models';
|
|
16
17
|
import type { JsonResultVoid } from '../models';
|
|
17
18
|
import type { SafetySmartFireRecordGizoneDTO } from '../models';
|
|
18
19
|
import type { SyncDeviceUnitVo } from '../models';
|
|
@@ -21,6 +22,14 @@ import type { SyncDeviceUnitVo } from '../models';
|
|
|
21
22
|
* @export
|
|
22
23
|
*/
|
|
23
24
|
export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @summary 删除设备部件
|
|
28
|
+
* @param {IotDeviceUnitDeleteDTO} iotDeviceUnitDeleteDTO
|
|
29
|
+
* @param {*} [options] Override http request option.
|
|
30
|
+
* @throws {RequiredError}
|
|
31
|
+
*/
|
|
32
|
+
_delete: (iotDeviceUnitDeleteDTO: IotDeviceUnitDeleteDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24
33
|
/**
|
|
25
34
|
*
|
|
26
35
|
* @summary 设备告警
|
|
@@ -51,6 +60,14 @@ export declare const DeviceApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
51
60
|
* @export
|
|
52
61
|
*/
|
|
53
62
|
export declare const DeviceApiFp: (configuration?: Configuration) => {
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @summary 删除设备部件
|
|
66
|
+
* @param {IotDeviceUnitDeleteDTO} iotDeviceUnitDeleteDTO
|
|
67
|
+
* @param {*} [options] Override http request option.
|
|
68
|
+
* @throws {RequiredError}
|
|
69
|
+
*/
|
|
70
|
+
_delete(iotDeviceUnitDeleteDTO: IotDeviceUnitDeleteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JsonResultVoid>>;
|
|
54
71
|
/**
|
|
55
72
|
*
|
|
56
73
|
* @summary 设备告警
|
|
@@ -81,6 +98,14 @@ export declare const DeviceApiFp: (configuration?: Configuration) => {
|
|
|
81
98
|
* @export
|
|
82
99
|
*/
|
|
83
100
|
export declare const DeviceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @summary 删除设备部件
|
|
104
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
105
|
+
* @param {*} [options] Override http request option.
|
|
106
|
+
* @throws {RequiredError}
|
|
107
|
+
*/
|
|
108
|
+
_delete(requestParameters: DeviceApiDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
84
109
|
/**
|
|
85
110
|
*
|
|
86
111
|
* @summary 设备告警
|
|
@@ -106,6 +131,19 @@ export declare const DeviceApiFactory: (configuration?: Configuration, basePath?
|
|
|
106
131
|
*/
|
|
107
132
|
syncDeviceUnit(requestParameters: DeviceApiSyncDeviceUnitRequest, options?: RawAxiosRequestConfig): AxiosPromise<JsonResultVoid>;
|
|
108
133
|
};
|
|
134
|
+
/**
|
|
135
|
+
* Request parameters for _delete operation in DeviceApi.
|
|
136
|
+
* @export
|
|
137
|
+
* @interface DeviceApiDeleteRequest
|
|
138
|
+
*/
|
|
139
|
+
export interface DeviceApiDeleteRequest {
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {IotDeviceUnitDeleteDTO}
|
|
143
|
+
* @memberof DeviceApiDelete
|
|
144
|
+
*/
|
|
145
|
+
readonly iotDeviceUnitDeleteDTO: IotDeviceUnitDeleteDTO;
|
|
146
|
+
}
|
|
109
147
|
/**
|
|
110
148
|
* Request parameters for deviceAlert operation in DeviceApi.
|
|
111
149
|
* @export
|
|
@@ -152,6 +190,15 @@ export interface DeviceApiSyncDeviceUnitRequest {
|
|
|
152
190
|
* @extends {BaseAPI}
|
|
153
191
|
*/
|
|
154
192
|
export declare class DeviceApi extends BaseAPI {
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
* @summary 删除设备部件
|
|
196
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
197
|
+
* @param {*} [options] Override http request option.
|
|
198
|
+
* @throws {RequiredError}
|
|
199
|
+
* @memberof DeviceApi
|
|
200
|
+
*/
|
|
201
|
+
_delete(requestParameters: DeviceApiDeleteRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JsonResultVoid, any, {}>>;
|
|
155
202
|
/**
|
|
156
203
|
*
|
|
157
204
|
* @summary 设备告警
|
package/dist/apis/device-api.js
CHANGED
|
@@ -35,6 +35,39 @@ const base_1 = require("../base");
|
|
|
35
35
|
*/
|
|
36
36
|
const DeviceApiAxiosParamCreator = function (configuration) {
|
|
37
37
|
return {
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @summary 删除设备部件
|
|
41
|
+
* @param {IotDeviceUnitDeleteDTO} iotDeviceUnitDeleteDTO
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
_delete: (iotDeviceUnitDeleteDTO_1, ...args_1) => __awaiter(this, [iotDeviceUnitDeleteDTO_1, ...args_1], void 0, function* (iotDeviceUnitDeleteDTO, options = {}) {
|
|
46
|
+
// verify required parameter 'iotDeviceUnitDeleteDTO' is not null or undefined
|
|
47
|
+
(0, common_1.assertParamExists)('_delete', 'iotDeviceUnitDeleteDTO', iotDeviceUnitDeleteDTO);
|
|
48
|
+
const localVarPath = `/gizone/iot/device/unit`;
|
|
49
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
50
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
51
|
+
let baseOptions;
|
|
52
|
+
if (configuration) {
|
|
53
|
+
baseOptions = configuration.baseOptions;
|
|
54
|
+
}
|
|
55
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
56
|
+
const localVarHeaderParameter = {};
|
|
57
|
+
const localVarQueryParameter = {};
|
|
58
|
+
// authentication tokenScheme required
|
|
59
|
+
// http bearer authentication required
|
|
60
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
61
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
65
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(iotDeviceUnitDeleteDTO, localVarRequestOptions, configuration);
|
|
66
|
+
return {
|
|
67
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
68
|
+
options: localVarRequestOptions,
|
|
69
|
+
};
|
|
70
|
+
}),
|
|
38
71
|
/**
|
|
39
72
|
*
|
|
40
73
|
* @summary 设备告警
|
|
@@ -144,6 +177,22 @@ exports.DeviceApiAxiosParamCreator = DeviceApiAxiosParamCreator;
|
|
|
144
177
|
const DeviceApiFp = function (configuration) {
|
|
145
178
|
const localVarAxiosParamCreator = (0, exports.DeviceApiAxiosParamCreator)(configuration);
|
|
146
179
|
return {
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @summary 删除设备部件
|
|
183
|
+
* @param {IotDeviceUnitDeleteDTO} iotDeviceUnitDeleteDTO
|
|
184
|
+
* @param {*} [options] Override http request option.
|
|
185
|
+
* @throws {RequiredError}
|
|
186
|
+
*/
|
|
187
|
+
_delete(iotDeviceUnitDeleteDTO, options) {
|
|
188
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
189
|
+
var _a, _b, _c;
|
|
190
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator._delete(iotDeviceUnitDeleteDTO, options);
|
|
191
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
192
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DeviceApi._delete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
193
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
194
|
+
});
|
|
195
|
+
},
|
|
147
196
|
/**
|
|
148
197
|
*
|
|
149
198
|
* @summary 设备告警
|
|
@@ -202,6 +251,16 @@ exports.DeviceApiFp = DeviceApiFp;
|
|
|
202
251
|
const DeviceApiFactory = function (configuration, basePath, axios) {
|
|
203
252
|
const localVarFp = (0, exports.DeviceApiFp)(configuration);
|
|
204
253
|
return {
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @summary 删除设备部件
|
|
257
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
258
|
+
* @param {*} [options] Override http request option.
|
|
259
|
+
* @throws {RequiredError}
|
|
260
|
+
*/
|
|
261
|
+
_delete(requestParameters, options) {
|
|
262
|
+
return localVarFp._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(axios, basePath));
|
|
263
|
+
},
|
|
205
264
|
/**
|
|
206
265
|
*
|
|
207
266
|
* @summary 设备告警
|
|
@@ -242,6 +301,17 @@ exports.DeviceApiFactory = DeviceApiFactory;
|
|
|
242
301
|
* @extends {BaseAPI}
|
|
243
302
|
*/
|
|
244
303
|
class DeviceApi extends base_1.BaseAPI {
|
|
304
|
+
/**
|
|
305
|
+
*
|
|
306
|
+
* @summary 删除设备部件
|
|
307
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
308
|
+
* @param {*} [options] Override http request option.
|
|
309
|
+
* @throws {RequiredError}
|
|
310
|
+
* @memberof DeviceApi
|
|
311
|
+
*/
|
|
312
|
+
_delete(requestParameters, options) {
|
|
313
|
+
return (0, exports.DeviceApiFp)(this.configuration)._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
314
|
+
}
|
|
245
315
|
/**
|
|
246
316
|
*
|
|
247
317
|
* @summary 设备告警
|