@gizone/rrs-client 4.2.9-alpha.527 → 4.2.9-alpha.537
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 +16 -0
- package/api.ts +1 -0
- package/apis/device-api.ts +91 -0
- package/apis/energy-cost-controller-api.ts +973 -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 +527 -0
- package/dist/apis/energy-cost-controller-api.js +737 -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 +527 -0
- package/dist/esm/apis/energy-cost-controller-api.js +730 -0
- package/dist/esm/models/energy-cost-add-record-dto.d.ts +138 -0
- package/dist/esm/models/energy-cost-add-record-dto.js +27 -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-confirm-record-dto.d.ts +42 -0
- package/dist/esm/models/energy-cost-confirm-record-dto.js +17 -0
- package/dist/esm/models/energy-cost-month-setting-list-vo.d.ts +96 -0
- package/dist/esm/models/energy-cost-month-setting-list-vo.js +23 -0
- package/dist/esm/models/energy-cost-record-info-vo.d.ts +192 -0
- package/dist/esm/models/energy-cost-record-info-vo.js +27 -0
- package/dist/esm/models/energy-cost-scenarios-info-vo.d.ts +132 -0
- package/dist/esm/models/energy-cost-scenarios-info-vo.js +23 -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 +15 -0
- package/dist/esm/models/index.js +15 -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 +55 -0
- package/dist/esm/models/item.js +19 -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 +138 -0
- package/dist/models/energy-cost-add-record-dto.js +30 -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-confirm-record-dto.d.ts +42 -0
- package/dist/models/energy-cost-confirm-record-dto.js +20 -0
- package/dist/models/energy-cost-month-setting-list-vo.d.ts +96 -0
- package/dist/models/energy-cost-month-setting-list-vo.js +26 -0
- package/dist/models/energy-cost-record-info-vo.d.ts +192 -0
- package/dist/models/energy-cost-record-info-vo.js +30 -0
- package/dist/models/energy-cost-scenarios-info-vo.d.ts +132 -0
- package/dist/models/energy-cost-scenarios-info-vo.js +26 -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 +15 -0
- package/dist/models/index.js +15 -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 +55 -0
- package/dist/models/item.js +22 -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 +151 -0
- package/models/energy-cost-add-setting-dto.ts +70 -0
- package/models/energy-cost-confirm-record-dto.ts +53 -0
- package/models/energy-cost-month-setting-list-vo.ts +106 -0
- package/models/energy-cost-record-info-vo.ts +205 -0
- package/models/energy-cost-scenarios-info-vo.ts +142 -0
- package/models/energy-cost-update-setting-dto.ts +70 -0
- package/models/index.ts +15 -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 +64 -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 +1047 -0
- package/package.json +1 -1
package/dist/esm/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/esm/api.js
CHANGED
|
@@ -20,6 +20,7 @@ export * from './apis/common-api';
|
|
|
20
20
|
export * from './apis/dashboard-api';
|
|
21
21
|
export * from './apis/device-api';
|
|
22
22
|
export * from './apis/disaster-warning-standard-api';
|
|
23
|
+
export * from './apis/energy-cost-controller-api';
|
|
23
24
|
export * from './apis/equipment-api';
|
|
24
25
|
export * from './apis/excel-language-controller-api';
|
|
25
26
|
export * from './apis/hwork-api';
|
|
@@ -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 设备告警
|
|
@@ -32,6 +32,39 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
32
32
|
*/
|
|
33
33
|
export const DeviceApiAxiosParamCreator = function (configuration) {
|
|
34
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary 删除设备部件
|
|
38
|
+
* @param {IotDeviceUnitDeleteDTO} iotDeviceUnitDeleteDTO
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
_delete: (iotDeviceUnitDeleteDTO_1, ...args_1) => __awaiter(this, [iotDeviceUnitDeleteDTO_1, ...args_1], void 0, function* (iotDeviceUnitDeleteDTO, options = {}) {
|
|
43
|
+
// verify required parameter 'iotDeviceUnitDeleteDTO' is not null or undefined
|
|
44
|
+
assertParamExists('_delete', 'iotDeviceUnitDeleteDTO', iotDeviceUnitDeleteDTO);
|
|
45
|
+
const localVarPath = `/gizone/iot/device/unit`;
|
|
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: 'DELETE' }, 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(iotDeviceUnitDeleteDTO, localVarRequestOptions, configuration);
|
|
63
|
+
return {
|
|
64
|
+
url: toPathString(localVarUrlObj),
|
|
65
|
+
options: localVarRequestOptions,
|
|
66
|
+
};
|
|
67
|
+
}),
|
|
35
68
|
/**
|
|
36
69
|
*
|
|
37
70
|
* @summary 设备告警
|
|
@@ -140,6 +173,22 @@ export const DeviceApiAxiosParamCreator = function (configuration) {
|
|
|
140
173
|
export const DeviceApiFp = function (configuration) {
|
|
141
174
|
const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration);
|
|
142
175
|
return {
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @summary 删除设备部件
|
|
179
|
+
* @param {IotDeviceUnitDeleteDTO} iotDeviceUnitDeleteDTO
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
_delete(iotDeviceUnitDeleteDTO, options) {
|
|
184
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
185
|
+
var _a, _b, _c;
|
|
186
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator._delete(iotDeviceUnitDeleteDTO, options);
|
|
187
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
188
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['DeviceApi._delete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
189
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
190
|
+
});
|
|
191
|
+
},
|
|
143
192
|
/**
|
|
144
193
|
*
|
|
145
194
|
* @summary 设备告警
|
|
@@ -197,6 +246,16 @@ export const DeviceApiFp = function (configuration) {
|
|
|
197
246
|
export const DeviceApiFactory = function (configuration, basePath, axios) {
|
|
198
247
|
const localVarFp = DeviceApiFp(configuration);
|
|
199
248
|
return {
|
|
249
|
+
/**
|
|
250
|
+
*
|
|
251
|
+
* @summary 删除设备部件
|
|
252
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
253
|
+
* @param {*} [options] Override http request option.
|
|
254
|
+
* @throws {RequiredError}
|
|
255
|
+
*/
|
|
256
|
+
_delete(requestParameters, options) {
|
|
257
|
+
return localVarFp._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(axios, basePath));
|
|
258
|
+
},
|
|
200
259
|
/**
|
|
201
260
|
*
|
|
202
261
|
* @summary 设备告警
|
|
@@ -236,6 +295,17 @@ export const DeviceApiFactory = function (configuration, basePath, axios) {
|
|
|
236
295
|
* @extends {BaseAPI}
|
|
237
296
|
*/
|
|
238
297
|
export class DeviceApi extends BaseAPI {
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @summary 删除设备部件
|
|
301
|
+
* @param {DeviceApiDeleteRequest} requestParameters Request parameters.
|
|
302
|
+
* @param {*} [options] Override http request option.
|
|
303
|
+
* @throws {RequiredError}
|
|
304
|
+
* @memberof DeviceApi
|
|
305
|
+
*/
|
|
306
|
+
_delete(requestParameters, options) {
|
|
307
|
+
return DeviceApiFp(this.configuration)._delete(requestParameters.iotDeviceUnitDeleteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
308
|
+
}
|
|
239
309
|
/**
|
|
240
310
|
*
|
|
241
311
|
* @summary 设备告警
|